:root {
  --navy: #061b2f;
  --navy-2: #0a2942;
  --navy-3: #103a54;
  --ivory: #f4efe3;
  --paper: #fffdf7;
  --ink: #10273a;
  --muted: #5f6d75;
  --line: #c9c4b7;
  --teal: #18c7c8;
  --teal-dark: #007f82;
  --warning: #9a5b10;
  --risk: #a0342f;
  --positive: #087a62;
  --focus: #f2b84b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1240px;
  --header-height: 78px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.is-busy { overflow: hidden; }

button, input, select, textarea { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

img { display: block; max-width: 100%; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: var(--navy);
  color: #effbfa;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.site-brand { width: 178px; align-self: center; }
.site-brand img { width: 178px; height: auto; }

.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { text-decoration: none; color: #c7d3db; font-size: .88rem; }
.site-header nav a:hover { color: #fff; }

.trial-label {
  justify-self: end;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #96acb9;
}

.landing-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(24,199,200,.15), transparent 34%),
    var(--navy);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  width: min(58vw, 820px);
  aspect-ratio: 1;
  right: -22vw;
  top: -34%;
  border: 1px solid rgba(24,199,200,.28);
  border-radius: 50%;
  box-shadow: 0 0 0 84px rgba(24,199,200,.025), 0 0 0 168px rgba(24,199,200,.018);
}

.hero-inner {
  position: relative;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .82fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  padding: clamp(40px, 7vh, 84px) 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow-dark { color: var(--teal-dark); }

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 5.6vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .96;
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 28px;
  color: #c9d8df;
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
}

.hero-form { max-width: 650px; }
.hero-form > label { display: block; margin-bottom: 8px; font-size: .86rem; font-weight: 700; }
.hero-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }

input, select, textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #9ea8a8;
  border-radius: 3px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
}

textarea { resize: vertical; min-height: 128px; }

.hero-form input {
  min-height: 56px;
  border: 1px solid rgba(255,255,255,.52);
  border-right: 0;
  border-radius: 3px 0 0 3px;
  background: rgba(3,19,33,.8);
  color: #fff;
}

.hero-form input::placeholder { color: #7e99a8; }
.hero-input-row .button { border-radius: 0 3px 3px 0; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 12px 20px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.button-primary { background: var(--teal); color: #032834; }
.button-primary:hover { background: #55ded9; }
.button-secondary { border-color: #839095; background: transparent; color: var(--ink); }

.microcopy, .inline-status { margin: 8px 0 0; color: #9fb1bc; font-size: .8rem; }
.inline-status:not(:empty) { color: #fff; }

.diagnostic-specimen {
  position: relative;
  margin: 0;
  padding: clamp(26px, 4vw, 48px);
  color: var(--ink);
  background: var(--paper);
  border-top: 6px solid var(--teal);
  box-shadow: 22px 24px 0 rgba(7,39,59,.68);
  transform: rotate(1deg);
}

.diagnostic-specimen figcaption {
  color: var(--teal-dark);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.specimen-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 38px; }
.specimen-heading span, .specimen-grid dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.specimen-heading strong { font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.8rem); font-weight: 500; }
.specimen-rule { height: 1px; margin: 18px 0; background: var(--line); }
.specimen-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.specimen-grid div { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--line); }
.specimen-grid div:nth-child(2) { padding-left: 18px; border-left: 1px solid var(--line); }
.specimen-grid .specimen-reading { grid-column: 1 / -1; }
.specimen-grid dd { margin: 6px 0 0; font-weight: 720; }
.diagnostic-specimen > p { margin: 18px 0 0; color: var(--muted); font-size: .84rem; }

.analysis-workspace {
  width: min(calc(100% - 48px), var(--max));
  margin: 80px auto;
  display: grid;
  grid-template-columns: minmax(250px, .68fr) minmax(0, 1.55fr);
  border-top: 1px solid #918e85;
  border-bottom: 1px solid #918e85;
}

.workspace-rail { padding: 52px 54px 52px 0; border-right: 1px solid #918e85; }
.workspace-rail h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.9rem); font-weight: 500; line-height: 1.04; }
.progress-list { list-style: none; margin: 48px 0 0; padding: 0; }
.progress-list li { display: flex; gap: 14px; align-items: center; min-height: 48px; color: #778087; border-bottom: 1px solid #d6d0c4; }
.progress-list li span { font-family: var(--serif); }
.progress-list li.is-current { color: var(--ink); font-weight: 750; }
.progress-list li.is-complete { color: var(--positive); }
.workspace-note { margin: 34px 0 0; color: var(--muted); font-size: .84rem; }

.workspace-main { position: relative; min-width: 0; padding: 54px 0 54px clamp(36px, 6vw, 84px); }
.workspace-status { min-height: 26px; margin-bottom: 12px; color: var(--teal-dark); font-weight: 650; }
.workspace-status.is-error, .route-status.is-error { color: var(--risk); }
.flow-step { animation: step-in 300ms ease both; }
.step-number, .result-index { margin: 0 0 12px; color: var(--teal-dark); font-family: var(--serif); font-size: 1rem; }
.flow-step h3, .result-header h2, .explain-section h2, .responsibility-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.5vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.02;
}
.step-intro { max-width: 720px; color: var(--muted); font-size: 1.05rem; }

fieldset { min-width: 0; margin: 32px 0 0; padding: 0; border: 0; }
legend, .field-block > label, .contact-grid > label { display: block; margin-bottom: 10px; font-weight: 750; }
.field-block { margin-top: 30px; }
.field-block label span { color: var(--muted); font-weight: 500; }

.choice-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #92998f; }
.choice-row button { min-height: 54px; border: 0; border-right: 1px solid #92998f; padding: 11px 14px; background: transparent; color: var(--ink); cursor: pointer; }
.choice-row button:last-child { border-right: 0; }
.choice-row button[aria-pressed="true"] { background: var(--navy); color: #fff; }

.field-note { margin: 8px 0 0; color: var(--muted); font-size: .84rem; }
.sector-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.selected-sectors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.selected-sectors button { min-height: 40px; border: 1px solid #7e8a88; padding: 7px 11px; background: transparent; color: var(--ink); cursor: pointer; }
.selected-sectors button::after { content: " ×"; color: var(--risk); }

.captcha-block { min-height: 1px; margin-top: 20px; }
.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 34px; }
.text-button { min-height: 44px; border: 0; padding: 8px 0; color: var(--ink); background: transparent; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }

.class-options { margin-top: 28px; border-top: 1px solid #8f938c; }
.class-option {
  width: 100%;
  min-height: 112px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border: 0;
  border-bottom: 1px solid #8f938c;
  padding: 18px 8px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.class-option:hover { background: rgba(255,255,255,.45); }
.class-option[aria-checked="true"] { background: var(--paper); }
.class-number { font-family: var(--serif); font-size: 2.1rem; }
.class-copy strong, .class-copy span { display: block; }
.class-copy span { margin-top: 4px; color: var(--muted); font-size: .86rem; }
.class-role { color: var(--teal-dark); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.coverage-limit { color: var(--muted); font-size: .86rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.contact-grid label:last-child { grid-column: 1 / -1; }
.contact-grid small { display: block; margin-top: 6px; color: var(--muted); font-weight: 400; }
.consent-row { position: relative; display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; }
.consent-row input[type="checkbox"] {
  position: absolute;
  width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
.consent-control {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 2px solid #64f1ef;
  border-radius: 6px;
  background: #f5fbff;
  box-shadow: 0 0 0 4px rgba(100, 241, 239, .14);
  transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.consent-control::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 8px;
  width: 7px;
  height: 13px;
  border: solid #020a16;
  border-width: 0 3px 3px 0;
  opacity: 0;
  transform: rotate(45deg) scale(.7);
  transition: opacity 120ms ease, transform 140ms ease;
}
.consent-row input[type="checkbox"]:checked + .consent-control {
  background: #64f1ef;
  box-shadow: 0 0 0 4px rgba(100, 241, 239, .24);
  transform: scale(1.04);
}
.consent-row input[type="checkbox"]:checked + .consent-control::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}
.consent-row input[type="checkbox"]:focus-visible + .consent-control {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.result-section {
  padding: 90px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  border-top: 8px solid var(--teal);
}
.result-header { max-width: 900px; }
.result-header > p:last-child { max-width: 700px; color: var(--muted); font-size: 1.07rem; }
.result-reading { margin-top: 60px; border-top: 1px solid #96968d; }
.result-block { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; padding: 38px 0; border-bottom: 1px solid #b5b1a7; }
.result-block h3 { margin: 0 0 16px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; }
.result-primary-class { margin: 0; font-size: 1.3rem; font-weight: 750; }
.result-complementary { margin-top: 8px; color: var(--muted); }

.signal-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 20px 0; border-top: 1px solid #aaa69c; border-bottom: 1px solid #aaa69c; }
.signal-strip div { padding: 22px; border-right: 1px solid #aaa69c; }
.signal-strip div:last-child { border-right: 0; }
.signal-strip dt { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .09em; }
.signal-strip dd { margin: 5px 0 0; font-family: var(--serif); font-size: 2.1rem; }
.interpretation-note { color: var(--muted); font-size: .84rem; }
.warning-list { margin: 20px 0; padding: 16px 18px; border-left: 4px solid var(--warning); background: #fff1da; color: #6d410b; }
.warning-list ul { margin: 8px 0 0; padding-left: 20px; }
.evidence-details { margin-top: 22px; }
.evidence-details summary { min-height: 44px; display: flex; align-items: center; font-weight: 750; cursor: pointer; }
.evidence-columns { display: grid; gap: 28px; margin-top: 18px; }
.evidence-columns h4 { margin: 0 0 8px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .82rem; }
th, td { padding: 10px; border-bottom: 1px solid #d7d2c8; text-align: left; vertical-align: top; }
th { color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.result-verdict { background: var(--navy); color: #fff; margin: 0 -28px; padding-inline: 28px; border-bottom: 0; }
.result-verdict .result-index { color: var(--teal); }
.verdict-label { display: inline-block; margin: 0 0 14px; color: var(--teal); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.result-verdict p:last-child { max-width: 760px; color: #d1dce1; font-size: 1.08rem; }

.route-decision { margin-top: 72px; }
.route-heading { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 20px; }
.route-heading h3 { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 500; line-height: 1; }
.route-heading p:last-child { color: var(--muted); }
.route-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border: 1px solid #878b84; }
.route-tabs button { min-height: 74px; border: 0; border-right: 1px solid #878b84; padding: 14px; background: transparent; color: var(--ink); font-weight: 750; cursor: pointer; }
.route-tabs button:last-child { border-right: 0; }
.route-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.route-tabs button.is-recommended::after { content: "Recomendada"; display: block; margin-top: 4px; color: var(--teal-dark); font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }
.route-tabs button[aria-selected="true"].is-recommended::after { color: var(--teal); }
.route-panel { padding: clamp(28px, 5vw, 64px); background: #ede6d8; }
.route-panel h4 { max-width: 820px; margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.4rem); font-weight: 500; line-height: 1.08; }
.route-panel > section > p:not(.route-kicker):not(.route-status) { max-width: 780px; }
.route-kicker { color: var(--teal-dark); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.process-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 34px; max-width: 950px; padding-left: 24px; }
.process-list li { padding: 10px 4px; border-bottom: 1px solid #c8c0b1; }
.official-costs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; border-top: 1px solid #938f86; border-bottom: 1px solid #938f86; }
.official-costs p { margin: 0; padding: 18px; border-right: 1px solid #938f86; }
.official-costs p:nth-child(3) { border-right: 0; }
.official-costs small { grid-column: 1 / -1; padding: 10px 18px; color: var(--muted); border-top: 1px solid #c8c0b1; }
.legal-limit, .nonfavorable-warning { max-width: 900px; margin-top: 24px; padding: 16px 18px; border-left: 4px solid var(--warning); background: #fff7e9; }
.nonfavorable-warning { color: #762e29; border-left-color: var(--risk); }
.official-links { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.official-links > a:last-child { color: var(--teal-dark); font-weight: 700; }
.route-panel .button { margin-top: 18px; }
.route-status { min-height: 24px; color: var(--muted); }

.quote-panel { margin-top: 30px; border-top: 1px solid #83877f; }
.quote-topline { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid #83877f; }
.quote-topline strong { font-family: var(--serif); font-size: 2.5rem; font-weight: 500; }
.quote-groups { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #83877f; }
.quote-groups section { padding: 24px 28px 24px 0; }
.quote-groups section + section { padding-left: 28px; border-left: 1px solid #83877f; }
.quote-groups h5 { margin: 0; font-size: 1rem; }
.quote-groups section > strong { display: block; margin: 8px 0 14px; font-family: var(--serif); font-size: 1.8rem; }
.quote-line { display: flex; justify-content: space-between; gap: 18px; padding: 7px 0; color: var(--muted); font-size: .84rem; }
.future-fee { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid #c0baae; }
.scope-list { padding-left: 22px; }
.checkout-consent { max-width: 850px; }
.restart-button { min-height: 44px; display: block; margin: 42px auto 0; border: 0; border-bottom: 1px solid currentColor; color: var(--ink); background: transparent; cursor: pointer; }

.explain-section, .responsibility-section {
  width: min(calc(100% - 48px), var(--max));
  margin: 100px auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
  gap: clamp(50px, 9vw, 130px);
}
.explain-section ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid #92948d; }
.explain-section li { display: grid; grid-template-columns: 50px 170px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid #b9b5ab; }
.explain-section li span { color: var(--teal-dark); font-family: var(--serif); }
.explain-section li p { margin: 0; color: var(--muted); }
.responsibility-section { padding-top: 80px; border-top: 1px solid #98958c; }
.responsibility-section dl { margin: 0; }
.responsibility-section dl div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid #b9b5ab; }
.responsibility-section dt { font-weight: 800; }
.responsibility-section dd { margin: 0; color: var(--muted); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 30px;
  padding: 44px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--navy);
  color: #c7d3db;
  font-size: .84rem;
}
.site-footer strong { color: #fff; font-family: var(--serif); font-size: 1.8rem; }
.site-footer p { margin: 6px 0 0; }
.site-footer > p { justify-self: end; text-align: right; }

.loading-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6,27,47,.93);
  color: #fff;
}
.loading-overlay > div { text-align: center; }
.loading-mark { width: 56px; height: 56px; display: block; margin: 0 auto 18px; border: 3px solid rgba(255,255,255,.25); border-top-color: var(--teal); border-radius: 50%; animation: spin 700ms linear infinite; }
.noscript-message { padding: 20px; background: #fff2ce; text-align: center; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes step-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.hero-copy, .diagnostic-specimen { animation: hero-enter 520ms ease both; }
.diagnostic-specimen { animation-delay: 100ms; }

@media (max-width: 900px) {
  :root { --header-height: 70px; }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 18px; }
  .site-header nav { display: none; }
  .site-brand, .site-brand img { width: 150px; }
  .hero-inner { grid-template-columns: 1fr; gap: 42px; width: min(calc(100% - 36px), 720px); }
  .hero-copy h1 { font-size: clamp(2.8rem, 9vw, 5rem); }
  .diagnostic-specimen { max-width: 620px; }
  .analysis-workspace { grid-template-columns: 1fr; margin-block: 54px; }
  .workspace-rail { padding: 34px 0; border-right: 0; border-bottom: 1px solid #918e85; }
  .workspace-rail h2 { font-size: 2.5rem; }
  .progress-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; }
  .progress-list li { justify-content: center; border-bottom: 0; border-right: 1px solid #d6d0c4; font-size: .75rem; }
  .progress-list li:last-child { border-right: 0; }
  .workspace-note { display: none; }
  .workspace-main { padding: 36px 0; }
  .route-tabs { grid-template-columns: 1fr; }
  .route-tabs button { border-right: 0; border-bottom: 1px solid #878b84; }
  .route-tabs button:last-child { border-bottom: 0; }
  .explain-section, .responsibility-section { grid-template-columns: 1fr; gap: 38px; margin-block: 70px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > p { grid-column: 1 / -1; justify-self: start; text-align: left; }
}

@media (max-width: 620px) {
  .site-header { height: 64px; }
  .trial-label { font-size: .6rem; }
  .site-brand, .site-brand img { width: 130px; }
  .landing-hero { min-height: calc(100svh - 64px); }
  .hero-inner { width: min(calc(100% - 32px), 520px); gap: 28px; padding: 24px 0 36px; }
  .eyebrow { margin-bottom: 10px; font-size: .65rem; }
  .hero-copy h1 { font-size: clamp(2.3rem, 11.2vw, 3.35rem); line-height: .98; }
  .hero-lead { margin: 16px 0; font-size: .96rem; line-height: 1.42; }
  .hero-input-row { grid-template-columns: 1fr; gap: 8px; }
  .hero-form input, .hero-input-row .button { border: 1px solid rgba(255,255,255,.52); border-radius: 3px; }
  .diagnostic-specimen { padding: 20px; box-shadow: 10px 12px 0 rgba(7,39,59,.68); }
  .specimen-heading { margin-top: 18px; }
  .specimen-grid div { padding-block: 10px; }
  .diagnostic-specimen > p { display: none; }
  .analysis-workspace { width: calc(100% - 32px); }
  .workspace-rail h2 { font-size: 2rem; }
  .progress-list li { flex-direction: column; gap: 2px; min-height: 56px; font-size: .65rem; }
  .workspace-main { padding-top: 28px; }
  .flow-step h3 { font-size: 2.15rem; }
  .choice-row { grid-template-columns: 1fr; }
  .choice-row button { border-right: 0; border-bottom: 1px solid #92998f; }
  .choice-row button:last-child { border-bottom: 0; }
  .sector-row { grid-template-columns: 1fr; }
  .step-actions { align-items: stretch; flex-direction: column-reverse; }
  .step-actions .button { width: 100%; }
  .class-option { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .class-role { grid-column: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid label:last-child { grid-column: auto; }
  .result-section { padding: 58px 16px; }
  .result-block, .route-heading { grid-template-columns: 40px minmax(0, 1fr); gap: 8px; }
  .result-verdict { margin-inline: -8px; padding-inline: 8px; }
  .signal-strip { grid-template-columns: 1fr; }
  .signal-strip div { display: flex; justify-content: space-between; align-items: center; border-right: 0; border-bottom: 1px solid #aaa69c; }
  .signal-strip div:last-child { border-bottom: 0; }
  .signal-strip dd { font-size: 1.7rem; }
  .route-panel { padding: 26px 18px; }
  .process-list { grid-template-columns: 1fr; }
  .official-costs, .quote-groups { grid-template-columns: 1fr; }
  .official-costs p { border-right: 0; border-bottom: 1px solid #938f86; }
  .official-costs p:nth-child(3) { border-bottom: 0; }
  .quote-groups section { padding: 20px 0; }
  .quote-groups section + section { padding-left: 0; border-left: 0; border-top: 1px solid #83877f; }
  .official-links, .future-fee { align-items: stretch; flex-direction: column; }
  .explain-section, .responsibility-section { width: calc(100% - 32px); }
  .explain-section li { grid-template-columns: 38px 1fr; }
  .explain-section li p { grid-column: 2; }
  .responsibility-section dl div { grid-template-columns: 1fr; gap: 5px; }
  .site-footer { grid-template-columns: 1fr; padding-inline: 18px; }
  .site-footer > p { grid-column: auto; }
}

@media (max-height: 760px) and (min-width: 901px) {
  .hero-inner { padding-block: 32px; }
  .hero-copy h1 { font-size: clamp(3rem, 5vw, 4.7rem); }
  .hero-lead { margin-block: 18px; }
  .diagnostic-specimen { padding: 30px; }
  .specimen-heading { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Marqia's dark, compact product language. */
:root {
  --navy: #020a16;
  --navy-2: #07182d;
  --navy-3: #0b223c;
  --ivory: #020a16;
  --paper: #f8fbfd;
  --ink: #10273a;
  --muted: #607181;
  --line: rgba(184, 215, 230, .2);
  --teal: #10c8c8;
  --teal-dark: #078a91;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1220px;
}

body {
  color: #f5fbff;
  background:
    radial-gradient(860px 520px at 88% -8%, rgba(16, 200, 200, .18), transparent 62%),
    radial-gradient(760px 520px at 0% 18%, rgba(52, 112, 170, .18), transparent 60%),
    linear-gradient(180deg, #020a16 0%, #06142a 58%, #020a16 100%);
  background-attachment: fixed;
}

.site-header {
  height: 82px;
  grid-template-columns: 1fr auto auto;
  background: rgba(2, 10, 22, .9);
  border-bottom-color: rgba(184, 215, 230, .18);
  backdrop-filter: blur(16px);
}

.site-brand { width: 190px; }
.site-logo-lockup {
  display: flex;
  align-items: center;
  gap: 3%;
  width: 190px;
  line-height: 0;
}
.site-logo-isotype,
.site-logo-name {
  position: relative;
  display: block;
  overflow: hidden;
}
.site-logo-isotype { flex: 0 0 19%; aspect-ratio: 1524 / 1383; }
.site-logo-name {
  flex: 0 0 78%;
  aspect-ratio: 1151 / 265;
  /* The source artwork includes a tagline below the wordmark. Keep the Q tail. */
  clip-path: polygon(0 0, 100% 0, 100% 77%, 68% 77%, 68% 100%, 64% 100%, 64% 77%, 0 77%);
}
.site-logo-isotype img,
.site-logo-name img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  height: auto;
  object-fit: contain;
}
.site-logo-isotype img { width: 136.9%; transform: translate(-13.5%, -16.8%); }
.site-logo-name img { width: 181.15%; transform: translate(-22.4%, -39.4%); }

.site-header nav a { color: rgba(245, 251, 255, .76); }
.trial-label { color: #64f1ef; }

.landing-hero {
  min-height: calc(100svh - 82px);
  background: transparent;
  overflow: visible;
}

.hero-orbit { display: none; }

.hero-inner {
  width: min(calc(100% - 48px), var(--max));
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, .78fr);
  gap: clamp(42px, 7vw, 92px);
  margin: 28px auto;
  padding: clamp(42px, 6vw, 76px);
  border: 1px solid rgba(184, 215, 230, .15);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 200, 200, .15), transparent 38%),
    linear-gradient(135deg, #020a16 0%, #06142a 58%, #063a4a 100%);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .42);
}

.hero-frame-spark {
  position: absolute;
  z-index: 5;
  top: -5px;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 5px 2px #fff,
    0 0 13px 5px rgba(100, 241, 239, .95),
    0 0 28px 10px rgba(16, 200, 200, .48);
  opacity: 0;
  pointer-events: none;
}

.hero-inner.is-spark-running {
  animation: hero-frame-flash 1500ms ease-out both;
}

.hero-inner.is-spark-running .hero-frame-spark {
  animation: hero-frame-spark 1500ms linear both;
}

.hero-inner.is-spark-reduced {
  border-color: rgba(100, 241, 239, .9);
  box-shadow: 0 0 0 2px rgba(100, 241, 239, .26), 0 34px 80px rgba(0, 0, 0, .42);
}

@keyframes hero-frame-spark {
  0% { top: -5px; left: -5px; opacity: 0; }
  3% { opacity: 1; }
  30% { top: -5px; left: calc(100% - 5px); opacity: 1; }
  50% { top: calc(100% - 5px); left: calc(100% - 5px); opacity: 1; }
  80% { top: calc(100% - 5px); left: -5px; opacity: 1; }
  97% { opacity: 1; }
  100% { top: -5px; left: -5px; opacity: 0; }
}

@keyframes hero-frame-flash {
  0%, 100% { border-color: rgba(184, 215, 230, .15); }
  16%, 82% { border-color: rgba(100, 241, 239, .44); }
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 5.2vw, 5.35rem);
  letter-spacing: -.035em;
  line-height: .98;
}

.hero-lead { max-width: 610px; color: rgba(214, 231, 242, .8); }
.hero-trustline {
  max-width: 650px;
  margin: 12px 0 0;
  color: #9fb3c3;
  font-size: .78rem;
  line-height: 1.5;
}
.hero-form > label { color: #f5fbff; }

.hero-form input {
  border-color: rgba(184, 215, 230, .28);
  border-right: 0;
  background: rgba(2, 10, 22, .62);
}

.button { border-radius: 8px; }
.button-primary {
  background: linear-gradient(135deg, #64f1ef 0%, #10c8c8 100%);
  color: #021018;
  box-shadow: 0 14px 28px rgba(16, 200, 200, .2);
}
.button-primary:hover { background: linear-gradient(135deg, #8af7f5 0%, #23d6d6 100%); }

.diagnostic-specimen {
  padding: clamp(26px, 3.5vw, 42px);
  color: #f5fbff;
  border: 1px solid rgba(184, 215, 230, .22);
  border-top: 6px solid var(--teal);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(16, 200, 200, .12), transparent 44%),
    rgba(7, 24, 45, .96);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .34);
  transform: none;
}

.diagnostic-specimen figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #64f1ef;
}
.diagnostic-specimen figcaption span:last-child { color: #8298aa; }
.specimen-heading span, .specimen-grid dt { color: #9fb3c3; }
.specimen-rule, .specimen-grid div { border-color: rgba(184, 215, 230, .18); }
.specimen-grid .specimen-brand { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
.specimen-grid div:nth-child(2) { padding-left: 0; border-left: 0; }
.specimen-grid div:nth-child(3) { padding-left: 18px; border-left: 1px solid rgba(184, 215, 230, .18); }
.diagnostic-specimen > p { color: rgba(214, 231, 242, .72); }

.analysis-workspace {
  margin: 80px auto;
  color: #f5fbff;
  border: 1px solid rgba(184, 215, 230, .18);
  border-radius: 8px;
  background: rgba(7, 24, 45, .94);
  box-shadow: 0 28px 68px rgba(0, 0, 0, .36);
  overflow: hidden;
}

.workspace-rail {
  padding: 52px;
  border-right-color: rgba(184, 215, 230, .18);
  background: rgba(2, 10, 22, .42);
}
.workspace-main { padding: 54px clamp(34px, 5vw, 70px); }
.workspace-note, .step-intro, .field-note, .contact-grid small, .coverage-limit { color: #9fb3c3; }
.progress-list li { color: #7890a4; border-color: rgba(184, 215, 230, .14); }
.progress-list li.is-current { color: #f5fbff; }
.progress-list li.is-complete { color: #64f1ef; }

.flow-step { scroll-margin-top: 96px; }
.context-stage { min-height: 430px; padding-top: clamp(30px, 5vw, 52px); animation: step-in 280ms ease both; }
.context-kicker { margin: 0 0 12px; color: #64f1ef; font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.context-stage h3 { max-width: 760px; }
.context-stage .step-intro { margin: 18px 0 0; }
.context-combined-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 18px;
  margin-top: 32px;
}
.context-question {
  min-width: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(184, 215, 230, .2);
}
.context-question h4,
.context-sector h4 {
  margin: 0;
  color: #f5fbff;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.context-sector h4 span { color: #7890a4; font-weight: 650; }
.context-sector { grid-column: 1 / -1; }
.context-choice-row { margin-top: 34px; }
.context-combined-grid .context-choice-row { margin-top: 14px; }
.context-choice-row button {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  text-align: left;
  font-weight: 750;
}
.context-choice-row button::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid #7890a4;
  border-radius: 50%;
}
.context-choice-row button[aria-pressed="true"]::after {
  border-color: #64f1ef;
  background: #64f1ef;
  box-shadow: inset 0 0 0 4px #0a2942;
}
.context-field-block { max-width: 760px; margin-top: 30px; }
.context-stage .step-actions { margin-top: 40px; }

.analysis-workspace input,
.analysis-workspace select,
.analysis-workspace textarea {
  border-color: rgba(184, 215, 230, .24);
  border-radius: 8px;
  background: rgba(2, 10, 22, .62);
  color: #f5fbff;
}
.analysis-workspace select { color-scheme: dark; }
.analysis-workspace textarea::placeholder,
.analysis-workspace input::placeholder { color: #7890a4; }

.phone-field { grid-column: 1 / -1; }
.phone-field-label { display: block; margin-bottom: 10px; font-weight: 750; }
.phone-input-row {
  display: grid;
  grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
  gap: 10px;
}

.choice-row { gap: 10px; border: 0; }
.choice-row button {
  border: 1px solid rgba(184, 215, 230, .22);
  border-radius: 8px;
  background: rgba(2, 10, 22, .48);
  color: #d6e7f2;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.choice-row button:last-child { border-right: 1px solid rgba(184, 215, 230, .22); }
.choice-row button:hover { transform: translateY(-2px); border-color: rgba(100, 241, 239, .58); }
.choice-row button[aria-pressed="true"] {
  border-color: #64f1ef;
  background: rgba(16, 200, 200, .16);
  color: #f5fbff;
  box-shadow: inset 0 0 0 1px rgba(100, 241, 239, .2);
}
.button-secondary { border-color: rgba(184, 215, 230, .3); color: #f5fbff; }
.selected-sectors button { border-color: rgba(100, 241, 239, .36); border-radius: 999px; color: #dff; }
.text-button { color: #d6e7f2; }

.class-options { border-color: rgba(184, 215, 230, .25); }
.class-option { color: #f5fbff; border-color: rgba(184, 215, 230, .2); }
.class-option:hover { background: rgba(16, 200, 200, .08); }
.class-option[aria-checked="true"] { background: rgba(16, 200, 200, .14); }
.class-copy span { color: #9fb3c3; }
.class-role { color: #64f1ef; }

.consent-row-prominent {
  width: fit-content;
  max-width: 100%;
  align-items: center;
  color: #f5fbff;
  cursor: pointer;
}
.consent-row-prominent > span { display: block; line-height: 1.45; }
.consent-row-prominent a { color: #fff; text-underline-offset: 3px; }
body.has-result .landing-hero { display: none; }
body.has-result .result-section { margin-top: 0; }

/* Brand story and decision FAQ: editorial proof, not another card grid. */
.origin-section,
.faq-section {
  width: min(calc(100% - 48px), var(--max));
  margin: clamp(78px, 10vw, 132px) auto;
}

.origin-section {
  display: grid;
  grid-template-columns: minmax(230px, .56fr) minmax(0, 1.44fr);
  overflow: hidden;
  border: 1px solid rgba(184, 215, 230, .18);
  border-top: 6px solid var(--teal);
  border-radius: 8px;
  background:
    radial-gradient(circle at 5% 8%, rgba(16, 200, 200, .16), transparent 32%),
    rgba(7, 24, 45, .95);
  box-shadow: 0 30px 76px rgba(0, 0, 0, .34);
}

.origin-rail {
  position: relative;
  isolation: isolate;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(38px, 5vw, 68px);
  overflow: hidden;
  border-right: 1px solid rgba(184, 215, 230, .18);
  background:
    linear-gradient(155deg, rgba(16, 200, 200, .12), transparent 48%),
    rgba(2, 10, 22, .62);
}

.origin-rail-heading {
  display: grid;
  gap: 13px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(184, 215, 230, .18);
}

.origin-rail-heading .eyebrow { margin: 0; }
.origin-rail-heading > span {
  color: #7890a4;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.origin-tenure {
  display: grid;
  gap: 18px;
  margin: auto 0;
  padding: clamp(64px, 8vw, 104px) 0;
}

.origin-tenure-figure {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 0;
}

.origin-tenure-figure strong {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(7rem, 12vw, 10.5rem);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: .68;
  text-shadow: 0 0 42px rgba(16, 200, 200, .14);
}

.origin-tenure-figure span {
  margin-bottom: 2px;
  color: #64f1ef;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.origin-tenure-copy {
  max-width: 13ch;
  margin: 0;
  color: #f5fbff;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.06;
}

.origin-experience-line {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(184, 215, 230, .18);
}

.origin-experience-line > span {
  position: relative;
  display: block;
  height: 1px;
  background: #64f1ef;
}

.origin-experience-line > span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #64f1ef;
  transform: translateY(-50%);
}

.origin-experience-line p {
  margin: 0;
  color: #8fa8ba;
  font-size: .72rem;
  line-height: 1.45;
}

.origin-copy { padding: clamp(42px, 7vw, 88px); }

.origin-copy h2,
.faq-heading h2 {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(2.65rem, 5.3vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .98;
  text-wrap: balance;
}

.origin-lead {
  max-width: 780px;
  margin: 28px 0 0;
  color: #d6e7f2;
  font-size: clamp(1.05rem, 1.65vw, 1.28rem);
}

.origin-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(38px, 6vw, 64px);
  border-top: 1px solid rgba(184, 215, 230, .24);
  border-bottom: 1px solid rgba(184, 215, 230, .24);
}

.origin-principles > div { padding: 28px 30px 30px 0; }
.origin-principles > div + div {
  padding-left: 30px;
  border-left: 1px solid rgba(184, 215, 230, .2);
}

.origin-principles span {
  color: #64f1ef;
  font-family: var(--serif);
  font-size: 1rem;
}

.origin-principles h3 {
  margin: 16px 0 8px;
  color: #fff;
  font-size: 1.05rem;
}

.origin-principles p,
.origin-conclusion,
.faq-heading > p,
.faq-list p {
  color: #9fb3c3;
}

.origin-principles p { margin: 0; font-size: .92rem; }
.origin-conclusion { max-width: 780px; margin: 30px 0 0; }
.origin-cta { margin-top: 28px; }

.faq-section { scroll-margin-top: 102px; }

.faq-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .58fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: end;
  padding-bottom: clamp(34px, 5vw, 54px);
  border-bottom: 1px solid rgba(184, 215, 230, .28);
}

.faq-heading h2 { max-width: 850px; }
.faq-heading > p { max-width: 360px; margin: 0 0 6px; font-size: 1.02rem; }
.faq-list { border-bottom: 1px solid rgba(184, 215, 230, .28); }

.faq-list details {
  border-top: 1px solid rgba(184, 215, 230, .18);
}

.faq-list details:first-child { border-top: 0; }

.faq-list summary {
  position: relative;
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 22px 64px 22px 0;
  color: #f5fbff;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 750;
  list-style: none;
  cursor: pointer;
  transition: color 160ms ease, padding-left 160ms ease;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(100, 241, 239, .4);
  border-radius: 50%;
  color: #64f1ef;
  font-size: 1.35rem;
  font-weight: 400;
  transform: translateY(-50%);
  transition: color 160ms ease, background 160ms ease, transform 180ms ease;
}

.faq-list summary:hover { color: #64f1ef; padding-left: 8px; }
.faq-list details[open] summary::after {
  color: #021018;
  background: #64f1ef;
  transform: translateY(-50%) rotate(45deg);
}

.faq-list p {
  max-width: 920px;
  margin: -4px 0 0;
  padding: 0 64px 30px 0;
  font-size: .96rem;
}

@media (max-width: 900px) {
  .origin-section { grid-template-columns: 1fr; }
  .origin-rail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(184, 215, 230, .18);
  }
  .origin-rail-heading { align-self: stretch; }
  .origin-tenure { margin: 0; padding: 0; }
  .origin-tenure-figure { justify-content: flex-end; }
  .origin-tenure-figure strong { font-size: clamp(5.5rem, 18vw, 8rem); }
  .origin-tenure-copy { max-width: none; text-align: right; font-size: 1.1rem; }
  .origin-experience-line { grid-column: 1 / -1; }
  .faq-heading { grid-template-columns: 1fr; }
  .faq-heading > p { max-width: 620px; }
}

@media (max-width: 620px) {
  .site-header nav a:nth-child(2) { display: none; }
  .origin-section,
  .faq-section { width: calc(100% - 24px); margin-block: 64px; }
  .origin-rail { grid-template-columns: 1fr; padding: 30px 22px; }
  .origin-rail .eyebrow { max-width: 13ch; }
  .origin-tenure { width: 100%; padding: 22px 0 6px; text-align: center; }
  .origin-tenure-figure { justify-content: center; }
  .origin-tenure-copy { text-align: center; }
  .origin-tenure-figure strong { font-size: 5.25rem; }
  .origin-tenure-figure span { font-size: .66rem; }
  .origin-copy { padding: 38px 22px 42px; }
  .origin-copy h2,
  .faq-heading h2 { font-size: clamp(2.35rem, 11vw, 3.2rem); }
  .origin-principles { grid-template-columns: 1fr; }
  .origin-principles > div { padding: 24px 0; }
  .origin-principles > div + div { padding-left: 0; border-top: 1px solid rgba(184, 215, 230, .2); border-left: 0; }
  .faq-heading { gap: 22px; }
  .faq-list summary { min-height: 74px; padding-right: 50px; }
  .faq-list p { padding-right: 10px; }
}

/* Result surface: the same dark, precise visual language as the diagnostic. */
.result-section {
  width: min(calc(100% - 48px), var(--max));
  margin: 72px auto;
  padding: 0;
  overflow: hidden;
  color: #f5fbff;
  border: 1px solid rgba(184, 215, 230, .2);
  border-top: 6px solid var(--teal);
  border-radius: 8px;
  background: rgba(7, 24, 45, .97);
  box-shadow: 0 30px 76px rgba(0, 0, 0, .38);
}

.result-header {
  max-width: none;
  padding: clamp(42px, 6vw, 72px) clamp(24px, 6vw, 76px);
  border-bottom: 1px solid rgba(184, 215, 230, .18);
  background:
    radial-gradient(circle at 92% 8%, rgba(16, 200, 200, .2), transparent 35%),
    linear-gradient(135deg, rgba(16, 200, 200, .09), transparent 42%);
}

.result-section .eyebrow-dark,
.result-section .result-index { color: #64f1ef; }
.result-header h2 { max-width: 900px; color: #f5fbff; font-size: clamp(2.7rem, 5.4vw, 5.3rem); }
.result-header > p:last-child { max-width: 720px; margin: 22px 0 0; color: #b8ccda; }

.result-reading { margin: 0; padding: 0 clamp(24px, 6vw, 76px); border-top: 0; }
.result-block {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  padding: clamp(34px, 5vw, 58px) 0;
  border-color: rgba(184, 215, 230, .18);
}
.result-block h3 { color: #f5fbff; }
.result-primary-class { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.result-complementary,
.interpretation-note,
.route-heading p:last-child,
.route-status,
.quote-line { color: #9fb3c3; }

.signal-strip { border-color: rgba(184, 215, 230, .24); }
.signal-strip div { border-color: rgba(184, 215, 230, .2); }
.signal-strip dt { color: #8fa8ba; }
.signal-strip dd { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.warning-list { color: #ffe1ac; border-left-color: #f2b84b; background: rgba(154, 91, 16, .18); }
.evidence-details summary { color: #64f1ef; }
.evidence-columns h4 { color: #f5fbff; }
.result-section th { color: #8fa8ba; }
.result-section th,
.result-section td { border-color: rgba(184, 215, 230, .16); }

.result-verdict {
  margin: 0 calc(clamp(24px, 6vw, 76px) * -1);
  padding-inline: clamp(24px, 6vw, 76px);
  color: #f5fbff;
  border-bottom: 1px solid rgba(100, 241, 239, .24);
  background: linear-gradient(112deg, rgba(16, 200, 200, .22), rgba(16, 200, 200, .06));
}
.result-verdict .result-index,
.verdict-label { color: #64f1ef; }
.result-verdict p:last-child { color: #d6e7f2; }
.result-section[data-tone="positive"] .result-verdict { background: linear-gradient(112deg, rgba(8, 122, 98, .38), rgba(8, 122, 98, .08)); }
.result-section[data-tone="risk"] .result-verdict { background: linear-gradient(112deg, rgba(160, 52, 47, .35), rgba(160, 52, 47, .08)); }

.route-decision { margin: 0; padding: clamp(46px, 7vw, 80px) clamp(24px, 6vw, 76px); }
.route-heading { grid-template-columns: 64px minmax(0, 1fr); gap: 24px; }
.route-heading h3 { color: #f5fbff; }
.route-legal-signature {
  width: min(100%, 780px);
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
@media (min-width: 820px) {
  .route-legal-signature { width: min(calc(100% + 88px), 780px); }
}
.route-legal-signature p { margin: 0; color: #9fb3c3; font-size: .9rem; }
.route-legal-logo {
  width: 132px;
  display: block;
  line-height: 0;
  transition: transform 160ms ease;
}
.route-legal-logo:hover { transform: translateY(-2px); }
.route-legal-logo > span {
  position: relative;
  width: 100%;
  aspect-ratio: 494 / 245;
  display: block;
  overflow: hidden;
}
.route-legal-logo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 140%;
  max-width: none;
  height: auto;
  transform: translate(-14.2%, -22.8%);
  transition: filter 160ms ease;
}
.route-legal-logo:hover img { filter: drop-shadow(0 0 10px rgba(100, 241, 239, .22)); }
.route-tabs { border-color: rgba(184, 215, 230, .28); }
.route-tabs button { color: #d6e7f2; border-color: rgba(184, 215, 230, .22); background: rgba(2, 10, 22, .42); }
.route-tabs button:hover { color: #fff; background: rgba(16, 200, 200, .1); }
.route-tabs button[aria-selected="true"] { color: #021018; background: #64f1ef; }
.route-tabs button.is-recommended::after { color: #64f1ef; }
.route-tabs button[aria-selected="true"].is-recommended::after { color: #074f56; }

.route-panel { color: #f5fbff; border: 1px solid rgba(184, 215, 230, .18); border-top: 0; background: rgba(2, 10, 22, .62); }
.route-panel h4 { color: #fff; }
.route-kicker { color: #64f1ef; }
.process-map {
  max-width: 960px;
  margin: 34px 0 12px;
  padding: 20px 20px 14px;
  border: 1px solid rgba(184, 215, 230, .18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(16, 200, 200, .1), rgba(2, 10, 22, .55));
}
.process-map svg { display: block; width: 100%; height: auto; }
.process-map-line {
  fill: none;
  stroke: rgba(100, 241, 239, .45);
  stroke-width: 2;
  stroke-dasharray: 2 2;
}
.process-map circle { fill: #07182d; stroke: #64f1ef; stroke-width: 2; }
.process-map g path { fill: none; stroke: #f5fbff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.process-map figcaption { margin-top: 4px; color: #9fb3c3; font-size: .8rem; }
.process-list { counter-reset: process; list-style: none; padding-left: 0; }
.process-list li {
  position: relative;
  min-height: 92px;
  padding: 16px 8px 16px 48px;
}
.process-list li::before {
  counter-increment: process;
  content: counter(process, decimal-leading-zero);
  position: absolute;
  left: 4px;
  top: 16px;
  color: #64f1ef;
  font-family: var(--serif);
  font-size: 1.05rem;
}
.process-list li,
.official-costs,
.official-costs p,
.official-costs small,
.quote-panel,
.quote-topline,
.quote-groups,
.quote-groups section + section,
.future-fee { border-color: rgba(184, 215, 230, .18); }
.official-costs small { color: #9fb3c3; }
.legal-limit,
.nonfavorable-warning { color: #ffe1ac; border-left-color: #f2b84b; background: rgba(154, 91, 16, .16); }
.nonfavorable-warning { color: #ffd0cc; border-left-color: #e5746d; background: rgba(160, 52, 47, .16); }
.official-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.official-sources span { width: 100%; color: #9fb3c3; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.official-sources a { color: #64f1ef; font-weight: 700; text-underline-offset: 4px; }
.quote-topline strong,
.quote-groups section > strong { color: #fff; }
.professional-price { display: grid; gap: 5px; margin: 10px 0 16px; }
.regular-price,
.discount-price { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; color: #9fb3c3; font-size: .86rem; }
.regular-price strong { color: #d6e7f2; font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; }
.discount-price { color: #64f1ef; }
.discount-price strong { color: #64f1ef; font-size: 1.05rem; font-weight: 750; }
.promotional-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; color: #64f1ef; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.promotional-price strong { color: #fff; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; letter-spacing: -.02em; }
.restart-button { color: #d6e7f2; }

.result-section:not([hidden]) .result-header { animation: result-rise 460ms ease both; }
.result-section:not([hidden]) .result-reading { animation: result-rise 460ms 90ms ease both; }
.result-section:not([hidden]) .route-decision { animation: result-rise 460ms 160ms ease both; }

.explain-section, .responsibility-section { color: #f5fbff; }
.explain-section ol, .explain-section li, .responsibility-section, .responsibility-section dl div { border-color: rgba(184, 215, 230, .18); }
.explain-section li p, .responsibility-section dd { color: #9fb3c3; }

.loading-overlay {
  z-index: 1000;
  background:
    radial-gradient(circle at 50% 38%, rgba(16, 200, 200, .12), transparent 34%),
    rgba(2, 10, 22, .94);
  backdrop-filter: blur(16px);
}
.loading-panel {
  width: min(calc(100% - 36px), 620px);
  padding: 24px 18px;
  text-align: center;
}
.loading-brand {
  position: relative;
  width: min(82vw, 520px);
  aspect-ratio: 4 / 1;
  margin: 0 auto 34px;
  overflow: hidden;
}
.loading-logo {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
  transform: translateY(-50%);
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, .3));
}
.loading-logo-shine {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(112deg, transparent 34%, rgba(255,255,255,.2) 44%, #fff 50%, rgba(255,255,255,.2) 56%, transparent 66%);
  background-repeat: no-repeat;
  background-size: 210% 100%;
  background-position: -140% 0;
  -webkit-mask-image: url("../images/logos/png/Marqia_logo%2002.png");
  mask-image: url("../images/logos/png/Marqia_logo%2002.png");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% auto;
  mask-size: 100% auto;
  animation: loading-logo-shine 2.15s ease-in-out infinite;
}
@supports ((-webkit-mask-image: linear-gradient(#000, #000)) or (mask-image: linear-gradient(#000, #000))) {
  .loading-logo-shine { display: block; }
}
.loading-progress {
  display: block;
  width: min(100%, 390px);
  height: 3px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(184, 215, 230, .15);
}
.loading-progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #64f1ef, transparent);
  animation: loading-sweep 1.25s ease-in-out infinite;
}
.loading-panel p { margin: 22px 0 4px; font-size: 1.05rem; font-weight: 700; }
.loading-panel small { color: #9fb3c3; }
.loading-mark { display: none; }

@keyframes loading-sweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(340%); }
}

@keyframes loading-logo-shine {
  from { background-position: -140% 0; }
  to { background-position: 160% 0; }
}

@keyframes result-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-rise {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}
.hero-copy, .diagnostic-specimen { animation: hero-rise 480ms ease both; }

@media (max-width: 900px) {
  .site-header { height: 70px; grid-template-columns: 1fr auto; }
  .site-brand, .site-logo-lockup { width: 170px; }
  .landing-hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding: 42px; }
  .workspace-rail { padding: 34px; border-right: 0; border-bottom-color: rgba(184, 215, 230, .18); }
  .workspace-main { padding: 38px 34px; }
  .result-section { width: calc(100% - 32px); }
}

@media (max-width: 620px) {
  .site-header { height: 64px; }
  .site-brand, .site-logo-lockup { width: 148px; }
  .hero-inner { width: calc(100% - 24px); margin: 12px auto 32px; padding: 30px 20px 24px; gap: 26px; }
  .hero-copy h1 { font-size: clamp(2.45rem, 11.5vw, 3.4rem); }
  .diagnostic-specimen { padding: 20px; box-shadow: 0 18px 42px rgba(0, 0, 0, .34); }
  .diagnostic-specimen figcaption { font-size: .56rem; }
  .analysis-workspace { width: calc(100% - 16px); margin: 18px auto 48px; border-radius: 16px; }
  .workspace-rail { padding: 20px 18px 16px; }
  .workspace-rail .eyebrow { margin-bottom: 5px; }
  .workspace-rail h2 { font-size: 1.55rem; line-height: 1.08; }
  .progress-list { gap: 5px; margin-top: 16px; }
  .progress-list li { min-height: 42px; padding: 5px 2px; border: 1px solid rgba(184, 215, 230, .12); border-radius: 7px; font-size: .58rem; line-height: 1.15; }
  .progress-list li:last-child { border-right: 1px solid rgba(184, 215, 230, .12); }
  .progress-list li.is-current { border-color: rgba(100, 241, 239, .45); background: rgba(16, 200, 200, .1); }
  .workspace-main { padding: 22px 18px 28px; }
  .workspace-status { min-height: 20px; margin-bottom: 7px; font-size: .84rem; }
  .flow-step { scroll-margin-top: 74px; }
  .context-stage { min-height: 0; padding-top: 26px; }
  .context-kicker { margin-bottom: 8px; font-size: .64rem; }
  .context-stage h3 { font-size: clamp(2rem, 10vw, 2.65rem); line-height: 1.02; }
  .context-stage .step-intro { margin-top: 14px; font-size: .94rem; }
  .context-combined-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 26px; }
  .context-sector { grid-column: auto; }
  .context-choice-row { gap: 9px; margin-top: 24px; }
  .context-combined-grid .context-choice-row { margin-top: 12px; }
  .context-choice-row button { min-height: 64px; padding: 13px 15px; }
  .context-field-block { margin-top: 24px; }
  .context-stage textarea { min-height: 164px; }
  .context-stage .step-actions { gap: 10px; margin-top: 28px; }
  .context-stage .step-actions .button { min-height: 54px; }
  .context-stage .text-button { width: 100%; text-align: center; }
  .choice-row { grid-template-columns: 1fr; }
  .choice-row button, .choice-row button:last-child { border: 1px solid rgba(184, 215, 230, .22); }
  .phone-input-row { grid-template-columns: 1fr; }
  .result-section { width: calc(100% - 24px); margin-block: 40px; }
  .result-header { padding: 38px 20px; }
  .result-header h2 { font-size: clamp(2.4rem, 12vw, 3.25rem); }
  .result-reading { padding-inline: 20px; }
  .result-block,
  .route-heading { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
  .result-verdict { margin-inline: -20px; padding-inline: 20px; }
  .route-decision { padding: 44px 20px; }
  .route-legal-signature p { font-size: .86rem; }
  .route-legal-logo { width: 120px; }
  .route-panel { padding: 26px 18px; }
  .process-map { margin-inline: -2px; padding: 12px 10px 9px; }
  .process-map figcaption { margin-top: 8px; }
  .signal-strip { grid-template-columns: 1fr; }
  .signal-strip div { border-right: 0; border-bottom: 1px solid rgba(184, 215, 230, .18); }
  .signal-strip div:last-child { border-bottom: 0; }
  .evidence-columns,
  .evidence-columns > div { min-width: 0; }
  .table-scroll { overflow: visible; }
  .evidence-details table,
  .evidence-details tbody,
  .evidence-details tr,
  .evidence-details td { display: block; width: 100%; }
  .evidence-details thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .evidence-details tbody tr {
    padding: 10px 0;
    border-bottom: 1px solid rgba(184, 215, 230, .16);
  }
  .evidence-details tbody td {
    display: grid;
    grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr);
    gap: 12px;
    padding: 7px 0;
    border: 0;
    overflow-wrap: anywhere;
  }
  .evidence-details tbody td::before {
    content: attr(data-label);
    color: #8fa8ba;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .evidence-details tbody td.table-empty {
    display: block;
    padding: 8px 0;
    color: #d6e7f2;
  }
  .evidence-details tbody td.table-empty::before { content: none; }
  .loading-panel { padding: 18px 0; }
  .loading-brand { width: min(88vw, 430px); margin-bottom: 28px; }
}

.site-footer-brand { min-width: 0; }
.site-footer-logo {
  position: relative;
  display: block;
  width: min(100%, 290px);
  aspect-ratio: 3.55 / 1;
  overflow: hidden;
  line-height: 0;
}
.site-footer-logo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 124%;
  max-width: none;
  height: auto;
  transform: translate(-9.7%, -31%);
}
.site-footer { align-items: center; }
.site-footer > a { justify-self: center; text-underline-offset: 4px; }
.site-footer-service { display: grid; justify-items: center; justify-self: end; text-align: center; }
.site-footer-service p { margin: 0 0 2px; color: rgba(255, 255, 255, .7); font-weight: 500; }
.site-footer-service a { display: inline-flex; line-height: 0; }
.site-footer-service img { width: auto; height: 64px; }

@media (max-width: 900px) {
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer-service { grid-column: 1 / -1; justify-self: start; justify-items: start; text-align: left; }
}

@media (max-width: 620px) {
  .site-footer { grid-template-columns: 1fr; gap: 24px; }
  .site-footer > a { justify-self: start; }
}

/* Privacy document: the landing language adapted to long-form reading. */
.privacy-page { background-attachment: fixed; }
.privacy-main {
  width: min(calc(100% - 48px), 1120px);
  margin: 28px auto 90px;
  overflow: hidden;
  border: 1px solid rgba(184, 215, 230, .18);
  border-top: 6px solid var(--teal);
  border-radius: 8px;
  background: rgba(7, 24, 45, .96);
  box-shadow: 0 30px 76px rgba(0, 0, 0, .38);
}
.privacy-hero {
  padding: clamp(48px, 8vw, 88px) clamp(24px, 8vw, 92px);
  border-bottom: 1px solid rgba(184, 215, 230, .18);
  background:
    radial-gradient(circle at 92% 8%, rgba(16, 200, 200, .2), transparent 34%),
    linear-gradient(135deg, rgba(16, 200, 200, .1), transparent 46%);
}
.privacy-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .96;
}
.privacy-hero > p:not(.eyebrow):not(.privacy-updated) { max-width: 680px; margin: 24px 0 0; color: #b8ccda; font-size: 1.08rem; }
.privacy-updated { margin: 30px 0 0; color: #64f1ef; font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.privacy-document { width: min(calc(100% - 48px), 820px); margin: 0 auto; padding: 58px 0 82px; }
.privacy-intro { margin: 0 0 42px; color: #d8e7f0; font-family: var(--serif); font-size: clamp(1.28rem, 2.2vw, 1.7rem); line-height: 1.5; }
.privacy-document section { padding: 34px 0; border-top: 1px solid rgba(184, 215, 230, .18); }
.privacy-document h2 { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; margin: 0 0 20px; color: #fff; font-family: var(--serif); font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 500; line-height: 1.15; }
.privacy-document h2 span { color: #64f1ef; font-size: 1rem; line-height: 1.8; }
.privacy-document p,
.privacy-document li { color: #b8ccda; }
.privacy-document p { max-width: 74ch; }
.privacy-document li + li { margin-top: 8px; }
.privacy-document a { color: #64f1ef; text-underline-offset: 4px; }
.privacy-footer { align-items: center; }
.privacy-footer > a { justify-self: center; text-underline-offset: 4px; }
.privacy-footer-cta { justify-self: end !important; color: #64f1ef; font-weight: 750; text-decoration: none; }

@media (max-width: 900px) {
  .privacy-main { width: calc(100% - 32px); margin-top: 16px; }
  .privacy-footer { grid-template-columns: 1fr auto; }
  .privacy-footer-cta { grid-column: 1 / -1; justify-self: start !important; }
}

@media (max-width: 620px) {
  .privacy-main { width: calc(100% - 24px); margin-top: 12px; margin-bottom: 48px; }
  .privacy-hero { padding: 42px 20px; }
  .privacy-document { width: calc(100% - 40px); padding: 42px 0 58px; }
  .privacy-document h2 { grid-template-columns: 34px minmax(0, 1fr); gap: 6px; }
  .privacy-footer { grid-template-columns: 1fr; }
}
