:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #152d4e;
  background: #fff;
  line-height: 1.5;
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p, ol { margin: 0; }
a { color: #164b9b; text-underline-offset: .21em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #d15c00; outline-offset: 4px; }
.wrap { width: min(68rem, calc(100% - 4rem)); margin-inline: auto; }
.skip { position: absolute; top: .25rem; left: .25rem; transform: translateY(-160%); z-index: 2; background: white; padding: .6rem; }
.skip:focus { transform: none; }
.mast { border-bottom: 1px solid #dce5f0; background: #fff; }
.bar, .navlinks, .brand, .foot { display: flex; align-items: center; }
.bar, .foot { justify-content: space-between; gap: 1rem; }
.bar { min-height: 4.7rem; }
.brand { gap: .55rem; font-size: 1.14rem; font-weight: 700; color: #18355f; letter-spacing: -.025em; }
.navlinks { gap: 1.6rem; font-size: .92rem; }
.bar a, .button, .text-link { text-decoration: none; }
.bar a:hover, .text-link:hover { text-decoration: underline; }
.messenger { font-weight: 600; }
.messenger span { margin-left: .15rem; }
.hero { border-bottom: 1px solid #dce5f0; background: radial-gradient(ellipse at 83% 60%, #dceaff, transparent 51%), linear-gradient(110deg, #fcfdff, #f0f7ff); }
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6.1rem); }
h1 { font-size: clamp(2.65rem, 5.3vw, 4.75rem); line-height: 1.05; letter-spacing: -.055em; font-weight: 700; }
h1 span { color: #2057a8; }
.intro > p { max-width: 35rem; color: #415878; font-size: clamp(1.04rem, 1.65vw, 1.2rem); margin: 1.25rem 0 1.75rem; }
.button { display: inline-flex; gap: 1.1rem; align-items: center; border: 1px solid #1952ac; background: #1f56b0; color: #fff; font-weight: 650; padding: .73rem 1.15rem; border-radius: .55rem; }
.button:hover { background: #163e80; text-decoration: none; }
.example { width: min(100%, 23.5rem); justify-self: center; }
.result-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 1.1rem; padding: 1.35rem 1.65rem 1.6rem; color: #fff; background: linear-gradient(125deg, #102f62, #2059aa 75%, #3879c4); box-shadow: 0 12px 28px -14px #143d7880; }
.result-card::after, .result-card::before { content: ""; z-index: -1; position: absolute; width: 21rem; height: 21rem; top: 32%; left: 42%; border: 1px solid #ffffff40; border-radius: 50%; }
.result-card::after { width: 18rem; height: 18rem; top: 46%; left: 58%; }
.card-top { display: flex; align-items: center; gap: .65rem; padding-bottom: .85rem; border-bottom: 1px solid #ffffff45; font-size: .92rem; font-weight: 620; }
.card-top img { background: #f2f7ff; border-radius: .6rem; padding: .16rem; width: 2.35rem; height: 2.35rem; }
.sample-label { color: #daeaff; margin-top: 1.15rem; font-size: .84rem; }
.sample-age { font-size: 3.45rem; font-weight: 620; letter-spacing: -.055em; line-height: 1.1; }
.sample-directory { color: #ecf5ff; font-size: 1rem; }
figcaption { font-size: .88rem; line-height: 1.5; color: #425875; margin-top: .85rem; }
h2 { font-size: clamp(1.65rem, 3.3vw, 2.4rem); letter-spacing: -.042em; line-height: 1.16; }
.process { padding-block: clamp(2.5rem, 5.8vw, 4.4rem); scroll-margin-top: 1.5rem; }
.steps { padding: 0; margin-top: 1.95rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid #cbd9ea; padding-top: 1.1rem; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; min-width: 1.8rem; height: 1.8rem; margin-bottom: .65rem; border-radius: 50%; background: #e8f1fe; color: #174a90; font-weight: 700; font-size: .9rem; }
h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -.02em; margin-bottom: .45rem; }
.steps p, .answers p { color: #475b74; line-height: 1.6; }
.steps strong { font-weight: 620; color: #304868; }
.questions { display: grid; grid-template-columns: 1fr 1.65fr; gap: 2rem; border-top: 1px solid #dce5ef; padding-block: clamp(2.3rem, 4.5vw, 3.9rem); }
details { border-bottom: 1px solid #dce5ef; }
summary { cursor: pointer; padding: .85rem 0; font-weight: 650; }
summary::marker { color: #3966a4; }
.answers details:first-child summary { padding-top: .15rem; }
.answers p { margin: 0 0 1rem; }
.text-link { display: inline-block; font-weight: 650; margin-top: 1.1rem; }
footer { background: #f5f8fc; border-top: 1px solid #dae3ee; }
.foot { padding-block: 1.4rem; color: #51657d; font-size: .9rem; }
@media (max-width: 46rem) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .example { justify-self: start; }
  .result-card { padding: 1.1rem 1.4rem; }
  .steps { grid-template-columns: 1fr; gap: 1.2rem; margin-top: 1.4rem; }
  .steps li { position: relative; padding-left: 2.5rem; }
  .steps li::before { position: absolute; left: 0; top: 1.05rem; }
  .questions { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 34rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .bar { flex-wrap: wrap; padding-block: .75rem; gap: .4rem .9rem; }
  .brand { font-size: 1.02rem; }
  .brand img { width: 1.9rem; height: 1.9rem; }
  .navlinks { gap: .75rem; font-size: .85rem; }
  .hero-grid { padding-block: 2.65rem; }
  .foot { flex-wrap: wrap; }
}
