/* Onomara — site styles
   Brand: Ink #0E1526 · Paper #FAFAF7 · Signal Blue #2B5CFF · Mist #E8ECF3
   Type: Sora (headings) · Inter (body) */

:root {
  --ink: #0E1526;
  --paper: #FAFAF7;
  --blue: #2B5CFF;
  --mist: #E8ECF3;

  --ink-soft: #3B4459;      /* body copy on paper */
  --ink-muted: #5A6378;     /* captions, fine print */
  --line: #D6DCE7;
  --blue-dark: #1E45D6;     /* hover / pressed */
  --blue-tint: #EDF1FF;
  --paper-dim: #C9CFDB;     /* secondary text on ink */
  --white: #FFFFFF;

  --font-head: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 1px 2px rgba(14, 21, 38, .06), 0 8px 24px rgba(14, 21, 38, .07);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--paper); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 148px; height: 40px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav summary {
  font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none;
  padding: 8px 12px; border-radius: var(--radius-sm); cursor: pointer;
}
.nav a:hover, .nav summary:hover { background: var(--mist); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--blue); }
.nav .btn { margin-left: 8px; color: var(--white); }
.nav .btn:hover { background: var(--blue-dark); color: var(--white); }

.dd { position: relative; }
.dd summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.dd summary::-webkit-details-marker { display: none; }
.dd summary::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.dd[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.dd-panel {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px; display: grid;
}
.dd-panel a { display: block; padding: 10px 12px; }
.dd-panel a span { display: block; font-size: .82rem; font-weight: 400; color: var(--ink-muted); }

.menu { display: none; }
.menu summary {
  list-style: none; cursor: pointer; font-weight: 600; color: var(--ink);
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 72px;
  background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 8px var(--gutter) 20px; max-height: calc(100vh - 72px); overflow-y: auto;
}
.menu-panel a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--mist); }
.menu-panel .menu-label { margin: 16px 0 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); }
.menu-panel .btn { margin-top: 18px; width: 100%; border-bottom: 0; color: var(--white); }

@media (max-width: 920px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--blue); color: var(--white);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 15px 24px; border-radius: 999px; border: 0; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--blue-dark); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--mist); color: var(--ink); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--white); color: var(--ink); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.cta-note { font-size: .9rem; color: var(--ink-muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: var(--paper-dim); }
.section-ink h2, .section-ink h3, .section-ink strong { color: var(--paper); }
.section-ink a:not(.btn) { color: #9DB4FF; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(43, 92, 255, .16); }
.section-ink .eyebrow { color: #9DB4FF; }

.lede { font-size: clamp(1.1rem, 1.8vw, 1.25rem); color: var(--ink-soft); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { font-size: 1.1rem; }

.big-line {
  font-family: var(--font-head); font-weight: 600; color: var(--ink); letter-spacing: -0.015em;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.3; margin: 0 0 1em;
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .lede { margin-top: 20px; }
.hero-simple h1 { max-width: 20ch; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.constellation { position: absolute; pointer-events: none; color: var(--ink); opacity: .07; }
.hero .constellation { width: min(620px, 80vw); right: -140px; top: -120px; }

/* ---------- Then / Now ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.compare-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.compare-card h3 { font-size: 1rem; margin-bottom: 14px; }
.compare-card .tag { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: 6px; }
.now-answer { background: var(--paper); border-radius: 12px; padding: 14px; font-size: .92rem; color: var(--ink); }
.now-answer ol { margin: 8px 0 0; padding-left: 20px; }
.now-answer li { margin: 4px 0; }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  position: relative;
}
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-family: var(--font-head); font-weight: 600; margin-bottom: 18px;
}
.step:last-child .step-num { background: var(--blue); }
.step p:last-child { margin-bottom: 0; }
.step .free { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-left: 8px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* Long-form steps (How It Works) */
.stage { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line); }
.stage:first-of-type { border-top: 0; }
.stage-num { font-family: var(--font-head); font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 600; line-height: 1; color: var(--mist); -webkit-text-stroke: 1.5px var(--ink); }
.stage .badge { margin-bottom: 14px; }
@media (max-width: 640px) { .stage { grid-template-columns: 1fr; gap: 8px; } }

.badge {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: var(--blue-tint); color: var(--blue-dark);
}
.badge-ink { background: var(--ink); color: var(--paper); }

/* ---------- Lists ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14.5 7' fill='none' stroke='%232B5CFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.section-ink .checks li::before { background-color: rgba(157, 180, 255, .16); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--ink); }
.section-mist .chips li { border-color: transparent; }

.quotes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.quotes li {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px;
  padding: 12px 16px; font-size: .98rem; color: var(--ink);
}
.quotes li::before { content: "\201C"; color: var(--blue); font-family: var(--font-head); font-weight: 600; margin-right: 2px; }
.quotes li::after { content: "\201D"; color: var(--blue); font-family: var(--font-head); font-weight: 600; margin-left: 1px; }

/* ---------- Tracks ---------- */
.tracks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; counter-reset: track; }
.track {
  counter-increment: track; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column;
}
.track::before {
  content: "0" counter(track); font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--blue);
  margin-bottom: 18px; display: block;
}
.track h3 { font-size: 1.05rem; margin-bottom: 8px; }
.track p { font-size: .95rem; margin: 0; }
.track .meter { margin-top: auto; padding-top: 18px; }
.meter-bar { height: 6px; border-radius: 3px; background: var(--mist); overflow: hidden; }
.meter-bar i { display: block; height: 100%; width: 100%; background: repeating-linear-gradient(90deg, #CBD3E2 0 6px, transparent 6px 10px); }
.meter-label { font-size: .75rem; color: var(--ink-muted); margin-top: 6px; display: flex; justify-content: space-between; }

/* ---------- Cards / grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p:last-child { margin-bottom: 0; }

.industry-card {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink-soft);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
}
.industry-card:hover { border-color: var(--blue); color: var(--ink-soft); transform: translateY(-3px); box-shadow: var(--shadow); }
.industry-card h3 { margin: 0; font-size: 1.1rem; }
.industry-card span { font-size: .93rem; }
.industry-card .go { margin-top: 10px; font-weight: 600; color: var(--blue); font-size: .92rem; }
.industry-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--mist); display: grid; place-items: center; margin-bottom: 10px; color: var(--ink); }
.industry-icon svg { width: 22px; height: 22px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3.5vw, 36px); display: flex; flex-direction: column; }
.price-card.featured { background: var(--ink); color: var(--paper-dim); border-color: var(--ink); }
.price-card.featured h3, .price-card.featured strong, .price-card.featured .price { color: var(--paper); }
.price-card.featured .badge { background: var(--blue); color: var(--white); }
.price-card h3 { font-size: 1.3rem; margin: 12px 0 6px; }
.price { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; margin: 18px 0 4px; }
.price small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: inherit; opacity: .7; }
.price-sub { font-size: .95rem; margin-bottom: 18px; }
.price-lines { list-style: none; padding: 16px 0 0; margin: 0 0 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .95rem; }
.price-card.featured .price-lines { border-top-color: rgba(255, 255, 255, .14); }
.price-lines li { display: flex; justify-content: space-between; gap: 16px; }
.price-lines li span:last-child { font-weight: 600; color: var(--ink); text-align: right; }
.price-grid > * { min-width: 0; }
.price-card.featured .price-lines li span:last-child { color: var(--paper); }
.price-card .btn { margin-top: auto; align-self: flex-start; }
.save { display: inline-block; background: #E4F6EC; color: #11623A; font-weight: 600; font-size: .85rem; padding: 4px 10px; border-radius: 999px; }
.price-card.featured .save { background: rgba(124, 226, 168, .16); color: #9BE8BC; }
.math { font-size: .9rem; color: var(--ink-muted); }

.scope-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.scope-table th, .scope-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--mist); vertical-align: top; }
.scope-table thead th { font-family: var(--font-head); font-size: .85rem; letter-spacing: .04em; color: var(--ink); background: var(--mist); }
.scope-table td:nth-child(n+2), .scope-table th:nth-child(n+2) { text-align: center; width: 90px; }
.scope-table .yes { color: var(--blue); font-weight: 700; }
.scope-table .no { color: #A5ADBD; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }

.terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.terms li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; font-size: .95rem; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6v10M6 11h10' stroke='%230E1526' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/22px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq h3 { display: contents; font: inherit; color: inherit; }

/* ---------- Honesty note ---------- */
.honesty {
  border-left: 3px solid var(--blue); background: var(--white); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; font-size: .9rem; color: var(--ink-muted); margin: 0;
}
.honesty strong { color: var(--ink); }
.section-mist .honesty { background: var(--paper); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--paper-dim); border-radius: 24px; padding: clamp(36px, 6vw, 64px); position: relative; overflow: hidden; }
.cta-band h2 { color: var(--paper); max-width: 18ch; }
.cta-band p { max-width: 560px; }
.cta-band .constellation { color: var(--paper); opacity: .09; width: 420px; right: -100px; bottom: -160px; }
.cta-band .cta-note { color: var(--paper-dim); }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .88rem; color: var(--ink-muted); padding-top: 24px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line); }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
label, legend { display: block; font-weight: 600; color: var(--ink); font-size: .97rem; margin-bottom: 6px; }
.req { color: var(--blue); }
.opt { font-weight: 400; color: var(--ink-muted); font-size: .88rem; }
.help { display: block; font-size: .86rem; color: var(--ink-muted); margin-top: 6px; line-height: 1.45; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230E1526' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43, 92, 255, .15); background-color: var(--white); }
fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-block; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  font-weight: 500; font-size: .95rem; color: var(--ink); cursor: pointer; background: var(--paper);
  transition: border-color .15s ease, background-color .15s ease;
}
.choice input:checked + span { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-dark); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-size: .95rem; }
.form-status.error { color: #A3261A; }
.form-done { text-align: left; }
.form-done h3 { font-size: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper-dim); padding: clamp(56px, 8vw, 88px) 0 32px; font-size: .95rem; position: relative; overflow: hidden; }
.site-footer a { color: var(--paper-dim); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); margin-bottom: 18px; }
.footer-logo svg { width: 40px; height: 40px; }
.footer-logo span { font-family: var(--font-head); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--paper); }
.footer-tag { font-family: var(--font-head); color: var(--paper); font-size: 1.05rem; max-width: 26ch; line-height: 1.4; }
.site-footer h2 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #9DB4FF; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Motion (only when JS is on and the visitor allows motion) ---------- */
.motion .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.motion .reveal.is-in { opacity: 1; transform: none; }
.motion [data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  [data-parallax] { transform: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .constellation { display: none; }
  body { background: #fff; }
}

@media (min-width: 1080px) { .tracks { grid-template-columns: repeat(5, 1fr); } }

/* =====================================================================
   PAGE LAYOUTS (Round 2) — original design language, quieter polish.
   Each page type differs in structure, not in decoration.
   ===================================================================== */

/* Typography polish */
h1 { line-height: 1.08; letter-spacing: -0.028em; }
h2 { letter-spacing: -0.022em; }
.lede { line-height: 1.6; }
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); }
.hero h1 { max-width: 15ch; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero .lede { margin-top: 18px; }
.hero .cta-row { margin-top: 26px; }

/* ---------- Home: static illustration of an AI answer ---------- */
.answer-box {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 1px 2px rgba(14, 21, 38, .04), 0 20px 50px rgba(14, 21, 38, .08);
  padding: 22px 24px 20px; max-width: 440px; margin-left: auto; width: 100%;
}
.ab-tag { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 14px; }
.ab-q { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem; line-height: 1.35; margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--mist); }
.ab-q small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.ab-label { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.ab-label svg { width: 13px; height: 13px; }
.ab-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.ab-caption { margin: 14px 0 0; font-size: .82rem; color: var(--ink-muted); }
.answer-box .quotes li { box-shadow: none; }

/* ---------- How it works: path + timeline ---------- */
.path { list-style: none; padding: 0; margin: clamp(32px, 5vw, 48px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; max-width: 860px; }
.path::before { content: ""; position: absolute; top: 23px; left: 16%; right: 16%; height: 1.5px; background: var(--line); }
.path li { position: relative; text-align: center; padding: 0 8px; }
.path a { text-decoration: none; color: inherit; display: block; }
.path .pn {
  width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 1.5px solid var(--ink); font-family: var(--font-head); font-weight: 600; color: var(--ink); position: relative;
}
.path li:nth-child(2) .pn { border-style: dashed; border-color: var(--ink-muted); }
.path li:last-child .pn { background: var(--ink); color: var(--paper); }
.path strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.path span { font-size: .86rem; color: var(--ink-muted); }
@media (max-width: 640px) {
  .path { grid-template-columns: 1fr; gap: 16px; }
  .path::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 1.5px; height: auto; }
  .path li { padding: 0; text-align: left; }
  .path a { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; align-items: center; }
  .path .pn { margin: 0; grid-row: span 2; }
}

.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 80px; width: 1.5px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 48px 1fr; gap: clamp(18px, 3vw, 32px); padding-bottom: clamp(24px, 3.5vw, 40px); position: relative; }
.tl-node {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--paper); border: 1.5px solid var(--ink); font-family: var(--font-head); font-weight: 600; color: var(--ink);
}
.tl-item.optional .tl-node { border-style: dashed; border-color: var(--ink-muted); color: var(--ink-muted); }
.tl-item:last-child .tl-node { background: var(--ink); color: var(--paper); }
.tl-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); min-width: 0; }
.tl-card h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 14px; }
.tl-card > :last-child { margin-bottom: 0; }
/* Step 3 checklist: two even columns, one consistent rhythm */
.checks.tl-cols { grid-template-columns: 1fr 1fr; gap: 16px 32px; align-items: start; margin: 8px 0 24px; }
.checks.tl-cols li { line-height: 1.55; }
@media (max-width: 760px) { .checks.tl-cols { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 520px) {
  .timeline::before { left: 19px; }
  .tl-item { grid-template-columns: 40px 1fr; gap: 14px; }
  .tl-node { width: 40px; height: 40px; font-size: .95rem; }
}

/* ---------- Pricing: centred header + plan table ---------- */
.ledger-hero { text-align: center; padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 48px); }
.ledger-hero h1 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.ledger-hero .lede { margin: 18px auto 0; }
.ledger-facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding: 0; margin: 24px 0 0; font-size: .92rem; color: var(--ink-soft); }
.ledger-facts li { display: inline-flex; align-items: center; gap: 8px; }
.ledger-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-muted); }
.plan-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; min-width: 640px; }
.plan-table th, .plan-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--mist); }
.plan-table tr:last-child td, .plan-table tr:last-child th { border-bottom: 0; }
.plan-table th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink-soft); }
.plan-table thead th { font-family: var(--font-head); color: var(--ink); font-size: .95rem; font-weight: 600; vertical-align: bottom; }
.plan-table thead th small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .75rem; color: var(--ink-muted); }
.plan-table td { color: var(--ink); font-weight: 600; }
.plan-table .col-geo { background: rgba(43, 92, 255, .04); }
.plan-table .dash { color: #A5ADBD; font-weight: 400; }

/* ---------- FAQ: topic list + grouped answers ---------- */
.help-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.help-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.help-layout > * { min-width: 0; }
.help-nav { position: sticky; top: 100px; }
.help-nav p { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 10px; }
.help-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1.5px solid var(--line); }
.help-nav a { display: block; padding: 7px 14px; margin-left: -1.5px; border-left: 1.5px solid transparent; color: var(--ink-soft); text-decoration: none; font-size: .95rem; }
.help-nav a:hover { color: var(--ink); border-left-color: var(--ink); }
.help-nav .help-cta { margin-top: 24px; font-size: .9rem; color: var(--ink-muted); }
.help-nav .help-cta a { display: inline; padding: 0; border: 0; margin: 0; color: var(--blue); }
.help-group { margin-bottom: clamp(36px, 5vw, 56px); scroll-margin-top: 96px; }
.help-group > h2 { font-size: 1.3rem; margin-bottom: 16px; }
@media (max-width: 880px) {
  .help-layout { grid-template-columns: 1fr; }
  .help-nav { position: static; }
  .help-nav ul { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .help-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0; background: var(--white); }
  .help-nav .help-cta { display: none; }
}

/* ---------- Industry pages ---------- */
.hub-hero { padding: 0 0 clamp(56px, 8vw, 96px); position: relative; overflow: hidden; }
.hub-hero .crumbs { padding: 24px 0 clamp(24px, 4vw, 40px); }
.hub-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hub-grid > * { min-width: 0; }
.hub-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 20ch; }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; background: var(--mist); color: var(--ink); display: grid; place-items: center; margin-bottom: 20px; }
.icon-badge svg { width: 26px; height: 26px; }
@media (max-width: 880px) { .hub-grid { grid-template-columns: 1fr; } }
.disclosure { font-size: .9rem; font-style: italic; color: var(--ink-muted); border-left: 2px solid var(--line); padding: 4px 0 4px 16px; margin: 24px 0 0; max-width: 720px; }

/* ---------- Referrals: centred header + two plain cards ---------- */
.ref-hero { text-align: center; padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.ref-hero h1 { max-width: 22ch; margin: 0 auto; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.ref-hero .lede { margin: 18px auto 0; }
.ref-hero .cta-row { justify-content: center; }
.ref-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 680px; margin: clamp(28px, 4vw, 40px) auto 0; text-align: left; }
.ref-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.ref-card .who { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.ref-card .amt { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.03em; color: var(--ink); line-height: 1.05; }
.ref-card .what { display: block; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 640px) { .ref-pair { grid-template-columns: 1fr; } }

.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.flow li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.flow .fn { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--font-head); font-weight: 600; margin-bottom: 16px; }
.flow p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } }

/* ---------- Free audit: one page, one form ---------- */
.audit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.audit-grid > * { min-width: 0; }
.audit-grid h1 { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 16ch; }
.audit-aside { padding-top: 8px; }
@media (max-width: 880px) { .audit-grid { grid-template-columns: 1fr; } }

figure.answer-box { margin: 0 0 0 auto; }
/* Keep page content above the decorative constellation */
.hero > .wrap, .hub-hero > .wrap, .ref-hero > .wrap, .section-ink > .wrap, .cta-band > * { position: relative; z-index: 1; }
.cta-band > .constellation { position: absolute; z-index: 0; }

/* ---------- Round 3: demo AI answers (static samples, not interactive) ---------- */
.ab-text { font-size: .92rem; color: var(--ink); margin: 0 0 4px; line-height: 1.5; }
.ab-outro { margin: 12px 0 0; color: var(--ink-soft); }
.ab-list { margin: 10px 0 0; gap: 6px; }
.ab-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 10px; background: var(--paper); font-size: .88rem; line-height: 1.45; color: var(--ink-soft); }
.ab-list i { font-style: normal; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.ab-list b { display: block; color: var(--ink); font-weight: 600; font-size: .93rem; }
.compare-wrap { margin: 0; }
.compare-wrap .ab-caption { margin-top: 12px; }
.mini-q { font-size: .82rem; color: var(--ink-muted); margin: -6px 0 12px; }
.serp { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .86rem; line-height: 1.35; }
.serp li { color: #3456C9; padding-bottom: 9px; border-bottom: 1px solid var(--mist); cursor: default; }
.serp-more { font-size: .8rem; color: var(--ink-muted); margin: 8px 0 0; }
.now-answer { line-height: 1.5; }
.now-answer li { font-weight: 600; }

/* Pricing: three plans in a row */
.price-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .price-grid-3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Hero: top-align so the taller sample answer never pushes the CTAs down */
.hero .hero-grid { align-items: start; }
.hero .hero-grid > div:first-child { padding-top: clamp(0px, 2vw, 28px); }

/* =====================================================================
   Round 5: opt-in checkbox, legal pages, sample report
   ===================================================================== */

/* Opt-in checkbox (unchecked by default) */
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-weight: 400; font-size: .95rem; color: var(--ink-soft); cursor: pointer; margin: 0; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); cursor: pointer; }
.optin { padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }

/* Legal pages */
.legal-hero { padding-bottom: clamp(24px, 4vw, 40px); }
.legal-meta { color: var(--ink-muted); font-size: .95rem; margin: 0; }
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.3rem; margin: 2.2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .5em 0; }
.legal-short { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }

/* Sample report */
.sample-banner { background: #FFF7E6; border-bottom: 1px solid #F3DDAE; color: #5C3D00; font-size: .93rem; padding: 12px 0; }
.sample-banner strong { color: #5C3D00; }
.report-hero { padding-bottom: clamp(28px, 4vw, 44px); }
.report-meta { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 40px; margin: 22px 0 0; }
.report-meta dt { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.report-meta dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }
.tagf { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8A5A00; background: #FFF1D6; border-radius: 999px; padding: 2px 8px; vertical-align: 2px; margin-left: 4px; }
@media (max-width: 880px) { .report-meta { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .report-meta { grid-template-columns: 1fr; } }

.low { color: #B42318; } .mid { color: #B54708; } .ok { color: #067647; }

.score-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); display: grid; grid-template-columns: auto 1fr; gap: 12px clamp(24px, 4vw, 48px); align-items: center; }
.score-label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.score-big { font-family: var(--font-head); font-weight: 600; font-size: clamp(3.4rem, 8vw, 5rem); line-height: 1; letter-spacing: -0.04em; color: var(--ink); margin: 6px 0 0; }
.score-big span { font-size: .35em; color: var(--ink-muted); letter-spacing: 0; }
.score-verdict { font-size: 1.12rem; color: var(--ink); margin: 0 0 12px; }
.score-gap { background: #FFF7E6; border-left: 3px solid #E0A526; padding: 10px 14px; border-radius: 0 8px 8px 0; margin: 0; font-size: .97rem; }
.mini-tracks { grid-column: 1 / -1; list-style: none; padding: 20px 0 0; margin: 8px 0 0; border-top: 1px solid var(--mist); display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mini-tracks a { display: block; text-decoration: none; text-align: center; padding: 12px 8px; border-radius: 12px; background: var(--paper); border: 1px solid transparent; }
.mini-tracks a:hover { border-color: var(--line); }
.mt-score { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.7rem; line-height: 1.1; }
.mt-name { display: block; font-size: .8rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.3; }
@media (max-width: 760px) { .score-card { grid-template-columns: 1fr; } .mini-tracks { grid-template-columns: repeat(2, 1fr); } }

.report-track { scroll-margin-top: 80px; }
.track-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 10px; }
.track-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.track-no { flex-basis: 100%; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.track-score { font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; }
.track-score small { font-size: .55em; color: var(--ink-muted); }
.track-verdict { font-size: 1.1rem; color: var(--ink); max-width: 720px; }

.platform-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 24px; }
.platform-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.platform-card h3 { font-size: 1rem; margin: 0; }
.pc-stats { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; color: var(--ink-soft); }
.pc-stats b { color: var(--ink); font-family: var(--font-head); }
.platform-card .meter-bar i { background: var(--blue); }
.platform-card blockquote { margin: 0; padding-left: 12px; border-left: 2px solid var(--line); font-size: .86rem; font-style: italic; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 1080px) { .platform-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .platform-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .platform-grid { grid-template-columns: 1fr; } }

.report-split { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 48px); margin-top: 44px; align-items: start; }
.report-split > * { min-width: 0; }
@media (max-width: 880px) { .report-split { grid-template-columns: 1fr; } }
.q-table, .r-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; }
.q-table { min-width: 620px; }
.q-table th, .q-table td, .r-table th, .r-table td { padding: 11px 12px; border-bottom: 1px solid var(--mist); text-align: center; }
.q-table tr:last-child > *, .r-table tr:last-child > * { border-bottom: 0; }
.q-table th[scope="row"], .r-table th[scope="row"] { text-align: left; font-weight: 500; color: var(--ink); }
.q-table thead th, .r-table thead th { font-size: .78rem; font-weight: 600; color: var(--ink-muted); }
.r-table td { font-weight: 600; color: var(--ink); }
.yn { display: inline-block; font-size: .75rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.yn.yes { background: #E7F6EC; color: #067647; }
.yn.no { background: var(--mist); color: var(--ink-muted); }
.source-list { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--ink); }

.component-list, .sov-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.component-list li, .sov-list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.section-mist .component-list li { border-color: transparent; }
.cl-name, .sov-name { color: var(--ink); font-weight: 500; }
.cl-score, .sov-val { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
.component-list .meter-bar, .sov-bar { grid-column: 1 / -1; }
.component-list .meter-bar i { background: var(--ink-muted); }
.sov-bar { height: 8px; border-radius: 4px; background: var(--mist); overflow: hidden; }
.sov-bar i { display: block; height: 100%; background: #9AA6BD; }
.sov-list li.me { border-color: var(--blue); }
.sov-list li.me .sov-bar i { background: var(--blue); }

.plan-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.plan-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.plan-list p { margin: 8px 0 0 40px; font-size: .95rem; }
.pl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pl-head h3 { margin: 0; font-size: 1.05rem; flex: 1 1 220px; }
.pl-no { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: .85rem; flex: none; }
.pl-status { font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.s-in-place { background: #E7F6EC; color: #067647; }
.s-partly-done { background: #FFF1D6; color: #8A5A00; }
.s-not-started { background: var(--mist); color: var(--ink-soft); }
.pl-track { font-size: .78rem; color: var(--blue-dark); font-weight: 600; }
@media (max-width: 520px) { .plan-list p { margin-left: 0; } }
.q-table th[scope="row"] { min-width: 230px; }

/* Sample report: give the question table the full width */
.report-split { grid-template-columns: 1fr; gap: 36px; }
.q-table th[scope="row"] { min-width: 280px; }
.source-list { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
@media (max-width: 760px) { .source-list { grid-template-columns: 1fr; } }

/* Contrast: blue labels on mist backgrounds need the darker blue (>= 4.5:1) */
.section-mist .eyebrow, .section-mist .track-no, .section-mist .pl-track { color: var(--blue-dark); }
.section-mist .eyebrow::before { background: var(--blue-dark); }

/* =====================================================================
   Background emblem (Round 6, variant 2 — "scroll progress").
   The logo's node ring, fixed and oversized on the right, rotated a quarter
   turn so the blue node stays on-screen. It drifts up slightly as you scroll,
   and its dots light up one by one, clockwise from the blue node, as you read.
   CSS only (opacity/transform); still for prefers-reduced-motion and in
   browsers without CSS scroll timelines.
   ===================================================================== */
.bg-emblem {
  position: fixed; z-index: -1; pointer-events: none;
  --sz: min(118vh, 88vw); /* cap by width so tall screens don't put it behind the text */
  width: var(--sz); height: var(--sz); right: calc(var(--sz) * -0.39); top: 50%;
  translate: 0 -50%;
  rotate: -90deg; /* puts the logo's blue node upper-left, inside the visible area */
  color: var(--ink);
}
.bg-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .08; }
.bd {
  position: absolute; left: var(--x); top: var(--y);
  width: 5.2%; height: 5.2%; margin: -2.6% 0 0 -2.6%;
  border-radius: 50%; background: rgba(14, 21, 38, .10);
}
.bd::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--blue); opacity: 0; will-change: opacity;
}
.bd-key::after { opacity: .45; }

/* Let the emblem show through the Mist sections; Paper / Mist rhythm stays */
.section-mist { background: rgba(232, 236, 243, .62); }

@supports (animation-timeline: scroll()) {
  @keyframes bd-on { from { opacity: 0; } to { opacity: .32; } }
  @keyframes bg-drift { from { translate: 0 -50%; } to { translate: 0 calc(-50% - 48px); } }
  .bg-emblem { animation: bg-drift linear both; animation-timeline: scroll(root block); }
  .bd:not(.bd-key)::after {
    animation: bd-on linear both;
    animation-timeline: scroll(root block);
    animation-range: calc(var(--s) * 4.5%) calc(var(--s) * 4.5% + 6%);
  }
}

/* Small screens: further off-canvas and fainter */
@media (max-width: 760px) {
  .bg-emblem { width: 150vw; height: 150vw; right: -78vw; opacity: .7; }
}

/* Reduced motion: still emblem, a fixed handful of dots lit */
@media (prefers-reduced-motion: reduce) {
  .bg-emblem { animation: none !important; translate: 0 -50% !important; }
  .bd::after { animation: none !important; }
  .bd:nth-of-type(4n+2)::after { opacity: .24 !important; }
}

@media print { .bg-emblem { display: none; } }

/* Audit page modes (Round 7): GEO / SEO / bundle. GEO shows without JS. */
.audit-page [data-for] { display: none; }
.audit-page[data-audit="geo"] [data-for~="geo"],
.audit-page[data-audit="seo"] [data-for~="seo"],
.audit-page[data-audit="bundle"] [data-for~="bundle"] { display: revert; }
.audit-type { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--mist); }
