:root {
  color-scheme: light;
  --paper: #f5f5ee;
  --white: #fffef9;
  --ink: #162f28;
  --muted: #4b6158;
  --forest: #174337;
  --dark: #11392f;
  --lime: #e4eca8;
  --line: #d8ded2;
  --mint: #e5eee2;
  --sand: #f1ead5;
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
img { display: block; }
:focus-visible { outline: 3px solid #a3530c; outline-offset: 4px; }
section[id] { scroll-margin-top: 1.25rem; }

.shell { width: min(1180px, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; inset: .5rem auto auto .5rem; padding: .6rem 1rem; background: var(--white); transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner, .header nav, .brand, .footer-inner { display: flex; align-items: center; }
.header-inner, .footer-inner { justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 76px; }
.brand { gap: .65rem; font-size: 1.2rem; font-weight: 760; letter-spacing: -.052em; text-decoration: none; white-space: nowrap; }
.brand-accent { color: #315c4c; margin-left: .11em; }
.header nav { gap: clamp(1rem, 3.3vw, 2.65rem); }
.nav-link { font-size: .89rem; font-weight: 550; text-decoration: none; color: var(--muted); }
.nav-link:hover { color: var(--forest); text-decoration: underline; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  padding: .65rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 720;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.button span, .text-link span { flex: none; font-size: 1.05em; }
.button.primary { background: var(--forest); color: var(--white); }
.button.primary:hover { background: #255e4e; }
.button.outline { border-color: #6f887b; color: var(--forest); }
.button.outline:hover { background: var(--mint); border-color: var(--forest); }
.header-button { min-height: 41px; padding: .55rem .8rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; width: fit-content; font-size: .9rem; font-weight: 700; color: var(--forest); }
.text-link:hover { color: #326c57; }

.hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(2rem, 5.8vw, 5.6rem); padding-block: clamp(3rem, 7vw, 6.25rem); }
.eyebrow { display: flex; align-items: center; gap: .58rem; font-size: .72rem; line-height: 1.25; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.signal { display: inline-block; flex: 0 0 auto; width: .52rem; height: .52rem; border-radius: 50%; background: currentColor; }
.hero-copy > .eyebrow { color: #3d6b54; margin-bottom: 1.05rem; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.062em; line-height: .99; text-wrap: balance; }
h1 { font-size: clamp(3.6rem, 6.65vw, 6.6rem); }
h1 em { color: #28614c; font-weight: 400; }
.lede { max-width: 44ch; margin-top: 1.3rem; color: var(--muted); font-size: clamp(1rem, 1.65vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.4rem; margin-top: 1.7rem; }

.preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 20px;
  display: grid;
  gap: clamp(.9rem, 2vw, 1.4rem);
  padding: clamp(1.1rem, 2.7vw, 1.9rem);
  background-color: var(--dark);
  background-image: linear-gradient(#edf8df0d 1px, transparent 1px), linear-gradient(90deg, #edf8df0d 1px, transparent 1px);
  background-size: 26px 26px;
  box-shadow: 0 16px 32px #16362b19;
  color: #f2f8ed;
}
.orbital { position: absolute; z-index: -1; width: min(100%, 440px); right: -12%; top: -30%; stroke: #d6efbc35; }
.electron { fill: var(--lime); }
.preview-top, .exam-top { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.preview-top .eyebrow, figcaption .signal { color: var(--lime); }
.sample-tag { border: 1px solid #b0c7b76b; border-radius: 99px; padding: .22rem .62rem; font-size: .72rem; }
.exam-sheet { border-radius: 13px; background: var(--white); padding: clamp(.85rem, 2vw, 1.25rem); color: var(--ink); }
.exam-top { padding: .12rem .15rem .9rem; }
.exam-top .eyebrow { color: #406f58; font-size: .63rem; }
.exam-top p { margin-top: .25rem; font-size: clamp(1rem, 1.7vw, 1.31rem); font-weight: 750; letter-spacing: -.032em; }
.exam-top svg { flex: none; color: #38624f; }
.exam-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.exam-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem; min-height: 58px; padding: .55rem .13rem; border-bottom: 1px solid var(--line); line-height: 1.18; }
.exam-list li:last-child { border-bottom: 0; padding-bottom: .15rem; }
.exam-list strong { display: block; font-size: .86rem; }
.exam-list small { display: block; margin-top: .22rem; font-size: .71rem; color: var(--muted); }
.exam-number { display: grid; place-items: center; width: 2.16rem; height: 2.16rem; border-radius: 7px; font-size: .76rem; font-weight: 760; }
.bio, .mint { background: var(--mint); }
.fis { background: #e7ecf6; }
.chi, .sand { background: var(--sand); }
.exam-arrow { color: #547365; }
figcaption { display: flex; align-items: center; gap: .55rem; font-size: .79rem; }

.section { padding-block: clamp(2.9rem, 6vw, 5.25rem); }
.access { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: .7rem 2rem; margin-bottom: 1.5rem; }
.section-heading > p, .feature-intro > p:last-child, .access-card > p, .faq-list p { color: var(--muted); max-width: 45ch; }
.section-label { margin-bottom: .8rem; color: #426d55; }
.section-label > span { width: 1.1rem; height: 1px; background: currentColor; }
h2 { font-size: clamp(2.45rem, 4.7vw, 4rem); }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.access-card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 15px; background: var(--white); padding: clamp(1.15rem, 3vw, 1.8rem); }
.access-top { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.tile { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 9px; color: var(--forest); }
.tile svg { width: 23px; height: 23px; }
.step { color: #4f675b; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
h3 { font-size: clamp(1.22rem, 2.15vw, 1.57rem); letter-spacing: -.04em; line-height: 1.2; }
.access-card > p { margin: .5rem 0 1.15rem; flex: 1; }
.access-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; margin-top: 1rem; padding: .8rem 1rem; border-left: 3px solid #72957a; background: #e9eee2; color: var(--muted); font-size: .88rem; }
.access-note strong { color: var(--ink); }

.features { background: #e8ede2; border-block: 1px solid var(--line); }
.features-inner, .faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.6rem, 5.4vw, 5rem); }
.feature-intro > p:last-child { margin-top: 1rem; }
.feature-list { border-top: 1px solid #c8d2c3; }
.feature-list > div { display: grid; grid-template-columns: 2.1rem 1fr; gap: .6rem 1rem; border-bottom: 1px solid #c8d2c3; padding: 1rem 0; }
.feature-index { color: #4d6d59; font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.feature-list dt { font-size: 1.08rem; line-height: 1.2; font-weight: 750; }
.feature-list dd { margin-top: .3rem; color: var(--muted); font-size: .94rem; max-width: 52ch; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 55px; padding: .7rem 0; cursor: pointer; font-weight: 700; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--forest); font-size: 1.25rem; flex: none; }
details[open] summary::after { content: "−"; }
.faq-list p { padding-bottom: .9rem; }
.footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { min-height: 83px; padding-block: .7rem; }
.footer .brand { font-size: 1.04rem; }
.footer p { font-size: .85rem; color: var(--muted); }

@media (max-width: 850px) {
  .shell { width: calc(100% - 3rem); }
  .hero { gap: 1.6rem; }
  h1 { font-size: clamp(2.9rem, 7.7vw, 4.5rem); }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 63px; }
  .header nav .nav-link { display: none; }
  .hero, .section-heading, .features-inner, .faq { grid-template-columns: 1fr; }
  .hero { padding-block: 2.4rem; }
  h1 { font-size: clamp(2.85rem, 11vw, 4.55rem); }
  .hero-actions { margin-top: 1.3rem; }
  .access-grid { grid-template-columns: 1fr; }
  .preview { border-radius: 15px; }
  .footer-inner { flex-wrap: wrap; }
  .footer p { order: 1; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
