/*
  Clearlytix. Stylesheet.
  Website developed by pressific.com Emily Park, Dileep C. Kaluaratchie and Tech Generation Ltd.

  Palette and type follow the client's brand board: near-white ground (#F8FAFC),
  indigo primary, cyan accent, violet highlight, emerald success, Inter for
  everything. The page is meant to read like a report on paper, so surfaces are
  white sheets on a pale ground and colour arrives as data: rails, chips,
  gradients and the report mock in the hero. Every colour used as TEXT below is
  the deeper "-ink" cut, contrast-checked against the ground at AA or better.
*/

:root {
  --paper:     #F8FAFC;
  --paper-2:   #F1F5F9;
  --paper-3:   #E8EEF6;
  --sheet:     #FFFFFF;
  --line:      #E2E8F0;
  --line-2:    #CBD5E1;

  --ink:       #0F172A;   /* 16.7:1 on paper */
  --ink-2:     #334155;   /* 9.6:1 */
  --muted:     #5B6B84;   /* 5.4:1: safe for body copy */
  --faint:     #8A97AB;   /* 3.3:1: large labels only */

  /* Brand fills. Vibrant on purpose; never used for small text. */
  --indigo:    #6366F1;
  --blue:      #2563EB;
  --cyan:      #06B6D4;
  --violet:    #A855F7;
  --green:     #10B981;
  --amber:     #F59E0B;
  --red:       #EF4444;

  /* The same hues cut deep enough to be text on the ground. */
  --indigo-ink: #4338CA;  /* 7.5:1 */
  --cyan-ink:   #0E7490;  /* 5.9:1 */
  --violet-ink: #7E22CE;  /* 7.1:1 */
  --green-ink:  #047857;  /* 5.6:1 */
  --amber-ink:  #B45309;  /* 5.2:1 */
  --red-ink:    #B91C1C;  /* 6.5:1 */

  --grad:      linear-gradient(135deg, #2563EB 0%, #6366F1 48%, #A855F7 100%);
  --grad-text: linear-gradient(90deg, #2563EB 0%, #6366F1 45%, #A855F7 100%);
  --grad-deep: linear-gradient(135deg, #3730A3 0%, #4338CA 45%, #6D28D9 100%);

  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.05), 0 4px 14px rgba(15,23,42,.05);
  --shadow-md: 0 2px 4px rgba(15,23,42,.05), 0 18px 48px rgba(79,110,247,.12);
  --shadow-lg: 0 8px 20px rgba(15,23,42,.06), 0 40px 90px rgba(79,110,247,.18);

  --maxw:   1200px;
  --gutter: max(20px, 5vw);
  --band:   120px;
  --ease:   cubic-bezier(.22,.61,.36,1);
  --ease-out-quint: cubic-bezier(.22,1,.36,1);
}
@media (max-width: 900px) { :root { --band: 84px; --gutter: 20px; } }

*, *::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);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}
@media (max-width: 700px) { body { font-size: 17px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--indigo-ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: #C7D2FE; color: var(--ink); }

.shell { width: min(calc(100% - 2 * var(--gutter)), var(--maxw)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0; font-weight: 600; font-size: 15px; z-index: 200; }
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------------ type -- */
h1, h2, h3, .display { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(42px, 6vw, 84px); }
h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.04; }
h3 { font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.02em; line-height: 1.22; font-weight: 700; }
p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--ink); }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo-ink);
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--grad); }
.eyebrow--plain::before { display: none; }

/* Short, one-idea-per-line copy. The brief is written that way; the rhythm is the voice. */
.lines { margin: 0 0 1.3em; padding: 0; list-style: none; max-width: 56ch; }
.lines > li, .lines > span { display: block; margin-bottom: .32em; }
.beats { list-style: none; margin: 0 0 1.2em; padding: 0; max-width: 40ch; font-weight: 600; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.beats li { margin-bottom: .45em; }
.statement { font-weight: 800; letter-spacing: -0.03em; font-size: clamp(26px, 3vw, 44px); line-height: 1.1; max-width: 26ch; margin: 0; }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(99,102,241,.28); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(99,102,241,.36); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--sheet); border-color: var(--ink); }
.btn--lg { padding: 18px 28px; font-size: 18px; }
.btn--white { background: #fff; color: var(--indigo-ink); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(15,23,42,.18); }

/* ---------------------------------------------------------------- header -- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(248,250,252,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(248,250,252,.92); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { font-weight: 800; font-size: 24px; letter-spacing: -0.045em; line-height: 1; }
.brand__tix { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { display: inline-block; padding: 9px 12px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: background-color .25s var(--ease), color .25s var(--ease); }
.site-nav__list a:hover { background: var(--paper-3); color: var(--ink); }
.site-nav__cta { display: flex; gap: 10px; }
.site-nav__cta .btn { padding: 11px 18px; font-size: 15px; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 10px; background: var(--sheet); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.nav-toggle__bar { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle__bar::before { top: -6px; } .nav-toggle__bar::after { top: 6px; }
@media (max-width: 1060px) {
  .site-nav__list a { padding: 9px 9px; font-size: 14px; }
  .site-nav__cta .btn--ghost { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 18px; padding: 18px var(--gutter) 26px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 2px; }
  .site-nav__list a { display: block; font-size: 18px; padding: 12px 10px; }
  .site-nav__cta { flex-direction: column; }
  .site-nav__cta .btn { justify-content: center; }
  .site-nav__cta .btn--ghost { display: inline-flex; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }
}

/* ------------------------------------------------------------------ hero -- */
.hero { position: relative; padding: clamp(48px, 7vw, 104px) 0 clamp(56px, 7vw, 110px); overflow: clip; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 120%; pointer-events: none; z-index: 0; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; left: -8vw; top: -6vw; background: radial-gradient(circle, rgba(99,102,241,.55), transparent 62%); }
.aurora span:nth-child(2) { width: 40vw; height: 40vw; right: -6vw; top: -10vw; background: radial-gradient(circle, rgba(168,85,247,.5), transparent 62%); }
.aurora span:nth-child(3) { width: 32vw; height: 32vw; right: 22vw; bottom: -10vw; background: radial-gradient(circle, rgba(6,182,212,.45), transparent 62%); }
.aurora span:nth-child(4) { width: 22vw; height: 22vw; left: 30vw; bottom: -8vw; background: radial-gradient(circle, rgba(16,185,129,.35), transparent 62%); }
.hero__copy { position: relative; z-index: 1; }
.hero .lead { margin: 26px 0 26px; }
.hero__nos { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 34px; padding: 0; }
.hero__nos li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--sheet); border: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.hero__nos svg { width: 16px; height: 16px; color: var(--red-ink); flex: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__promise { margin: 34px 0 0; max-width: none; font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -0.015em; color: var(--ink); }
.hero__promise span { display: inline-block; }
.hero__promise { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.hero__promise span:nth-child(2) { color: var(--indigo-ink); }
.hero__promise span:nth-child(3) { color: var(--violet-ink); }

/* Word-split headline. From-states live under .js only. */
.js [data-split] .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .word-inner { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform .9s var(--ease-out-quint), opacity .6s var(--ease); transition-delay: calc(var(--w, 0) * 60ms); }
.js [data-split].is-in .word-inner { transform: none; opacity: 1; }

/* The report mock: a white sheet, angled slightly, sitting on the aurora. */
.hero__visual { position: relative; z-index: 1; perspective: 1400px; }
.report { position: relative; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px 24px 24px; transform: rotateY(-7deg) rotateX(3deg); transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .js .report { animation: report-float 9s ease-in-out infinite; }
  @keyframes report-float { 0%,100% { transform: rotateY(-7deg) rotateX(3deg) translateY(0); } 50% { transform: rotateY(-7deg) rotateX(3deg) translateY(-10px); } }
}
.report__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.report__kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo-ink); }
.report__range { white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--muted); padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; }
.report__title { margin: 14px 0 4px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.report__sub { font-size: 13px; color: var(--muted); margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 14px; }
.kpi { padding: 12px 12px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
.kpi__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.kpi__value { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.kpi__delta { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--green-ink); }
.kpi__delta svg { width: 12px; height: 12px; }
.chart { position: relative; height: 96px; margin: 4px 0 16px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart__line { fill: none; stroke: url(#chart-grad); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart__fill { fill: url(#chart-fill); opacity: 0; transition: opacity .9s var(--ease) .9s; }
.js .chart__line { stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 2.2s var(--ease-out-quint) .35s; }
.js .is-in .chart__line, .chart--static .chart__line { stroke-dashoffset: 0; }
.is-in .chart__fill { opacity: 1; }
.chart__dot { fill: #fff; stroke: var(--violet); stroke-width: 3; }
.finding { position: relative; padding: 14px 16px 14px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--sheet); }
.finding::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 4px; border-radius: 3px; background: var(--amber); }
.finding--bad::before { background: var(--red); }
.finding--good::before { background: var(--green); }
.finding--info::before { background: var(--indigo); }
.finding__tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--amber-ink); margin-bottom: 6px; }
.finding--bad .finding__tag { color: var(--red-ink); }
.finding--good .finding__tag { color: var(--green-ink); }
.finding--info .finding__tag { color: var(--indigo-ink); }
.finding__text { font-weight: 700; font-size: 15px; line-height: 1.35; letter-spacing: -0.01em; margin: 0; }
.finding__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: 12px; color: var(--muted); font-weight: 600; }
.conf { display: inline-flex; align-items: center; gap: 4px; }
.conf i { width: 14px; height: 6px; border-radius: 3px; background: var(--line-2); }
.conf i.on { background: var(--indigo); }
.finding__next { color: var(--indigo-ink); }
.report__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.report__foot b { color: var(--ink); font-weight: 700; }
/* Floating chips that sit off the sheet's edge. */
.float { position: absolute; z-index: 2; background: var(--sheet); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 12px 14px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.float--a { right: -18px; top: 52px; }
.float--b { left: -26px; top: 46%; }
.float__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(16,185,129,.18); }
.float__dot--amber { background: var(--amber); box-shadow: 0 0 0 5px rgba(245,158,11,.18); }
.js .float { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease-out-quint); }
.js .float--a { transition-delay: 1.1s; } .js .float--b { transition-delay: 1.4s; }
.js .is-in .float { opacity: 1; transform: none; }
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .report { transform: none; }
  .js .report { animation: none; }
  .float--a { right: 8px; } .float--b { left: 8px; }
}
@media (max-width: 560px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(3) { display: none; }
  .float { display: none; }
  .report { padding: 18px 16px; }
}

/* --------------------------------------------------------------- sections -- */
.section { padding: var(--band) 0; position: relative; }
.section--tight { padding-top: calc(var(--band) * .6); }
.section--paper { background: var(--paper-2); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section__head .lead { margin-top: 22px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.section__head--center .eyebrow { justify-content: center; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
.split > .sticky { position: sticky; top: 108px; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } .split > .sticky { position: static; } }

/* Answers: five sources converge into one report. */
.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.source { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 20px 22px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.source__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.source__icon svg { width: 24px; height: 24px; }
.source__icon--blue { background: linear-gradient(135deg, #2563EB, #6366F1); }
.source__icon--violet { background: linear-gradient(135deg, #7C3AED, #A855F7); }
.source__icon--cyan { background: linear-gradient(135deg, #0891B2, #06B6D4); }
.source__icon--green { background: linear-gradient(135deg, #059669, #10B981); }
.source__icon--amber { background: linear-gradient(135deg, #D97706, #F59E0B); }
.source__icon--indigo { background: var(--grad); }
.source h3 { font-size: 18px; margin-bottom: 4px; }
.source p { color: var(--muted); font-size: 16.5px; margin: 0; }
.converge { position: relative; margin-top: 26px; padding: 28px 30px; border-radius: var(--r-lg); background: var(--ink); color: #fff; overflow: hidden; }
.converge::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(168,85,247,.6), transparent 65%); filter: blur(30px); }
.converge::after { content: ""; position: absolute; inset: -50% auto auto -10%; width: 50%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.6), transparent 65%); filter: blur(30px); }
.converge p { position: relative; margin: 0; font-weight: 800; letter-spacing: -0.03em; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; color: #fff; max-width: none; }
.converge p span { color: #C7D2FE; }
.answers__q { font-weight: 800; letter-spacing: -0.03em; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; padding: 22px 26px; border-left: 4px solid; border-image: var(--grad) 1; background: var(--sheet); border-radius: 0 var(--r-md) var(--r-md) 0; margin: 26px 0; box-shadow: var(--shadow-sm); }

/* Blood test panel */
.panel { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 64px); box-shadow: var(--shadow-sm); }
.panel--tint { background: linear-gradient(180deg, #FFFFFF 0%, #F5F3FF 100%); }
.bloodtest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.bloodtest .statement { font-size: clamp(24px, 2.6vw, 38px); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--ink-2); font-weight: 500; }
.checklist svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--green-ink); }
.verdict { margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.verdict .statement { font-size: clamp(24px, 2.6vw, 38px); }
@media (max-width: 900px) { .bloodtest, .verdict { grid-template-columns: 1fr; } .checklist { grid-template-columns: 1fr; } }

/* How it works: numbered steps + photo */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 18px; }
.step { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 22px 24px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.step::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.step h3 { margin-bottom: 6px; font-size: 20px; }
.step p { color: var(--muted); font-size: 16.5px; margin: 0; }
.figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-3); box-shadow: var(--shadow-md); }
.figure--tl { border-top-left-radius: 96px; }
.figure--br { border-bottom-right-radius: 96px; }
.figure--tr { border-top-right-radius: 96px; }
.figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.figure--tall img { aspect-ratio: 3 / 4; }
.js .figure { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js .figure.reveal { clip-path: inset(6% 8% 6% 8% round var(--r-lg)); transition: clip-path 1.2s var(--ease-out-quint), opacity .8s var(--ease), transform 1.2s var(--ease-out-quint); }
.js .figure.reveal.is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.figure figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.figure figcaption .float__dot { width: 8px; height: 8px; }
.note { margin-top: 20px; padding: 16px 20px; border-radius: var(--r-md); background: var(--paper-2); color: var(--ink-2); font-size: 16px; display: flex; gap: 12px; align-items: flex-start; }
.note svg { width: 22px; height: 22px; flex: none; color: var(--indigo-ink); margin-top: 2px; }

/* Data cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; padding: 26px 26px 28px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out-quint), box-shadow .5s var(--ease); overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; color: #fff; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16.5px; margin: 0; }
.card__rail { position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.pills li { padding: 9px 14px; border-radius: 999px; background: var(--sheet); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.pills li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); margin-right: 9px; vertical-align: 1px; }
.building { margin-top: 32px; padding: 26px 28px; border-radius: var(--r-lg); background: var(--sheet); border: 1px dashed var(--line-2); }
.building p { color: var(--ink-2); font-size: 17px; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* Report card, not a dashboard: flow beside stacked sheets */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: flow; position: relative; }
.flow::before { content: ""; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(180deg, #2563EB, #6366F1, #A855F7); border-radius: 2px; }
.flow li { counter-increment: flow; position: relative; padding: 10px 0 10px 64px; font-weight: 700; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -0.02em; line-height: 1.3; }
.flow li::before { content: ""; position: absolute; left: 12px; top: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--sheet); border: 3px solid var(--indigo); box-shadow: 0 0 0 5px var(--paper); }
.flow li:last-child::before { background: var(--indigo); }
.sheets { position: relative; margin: 36px 36px 0 0; }
.sheet { position: relative; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 26px; }
.sheet--2, .sheet--3 { position: absolute; inset: 0; }
.sheet--2 { transform: translate(18px, -18px) scale(.98); z-index: -1; opacity: .8; }
.sheet--3 { transform: translate(36px, -36px) scale(.96); z-index: -2; opacity: .55; }
@media (max-width: 900px) { .sheets { margin: 24px 20px 0 0; } .sheet--2 { transform: translate(10px, -10px) scale(.98); } .sheet--3 { transform: translate(20px, -20px) scale(.96); } }
.sheet .kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo-ink); }
.sheet__h { font-weight: 800; letter-spacing: -0.03em; font-size: 22px; margin: 10px 0 14px; }
.sheet__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.sheet__row:last-child { border-bottom: 1px solid var(--line); }
.sheet__num { font-size: 12px; color: var(--muted); font-weight: 700; width: 24px; }
.sheet__row span:nth-child(2) { flex: 1; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--good { color: var(--green-ink); background: #D1FAE5; }
.status--check { color: var(--amber-ink); background: #FEF3C7; }
.status--bad { color: var(--red-ink); background: #FEE2E2; }
.status--na { color: var(--muted); background: var(--paper-2); }
.fivemin { margin-top: 32px; font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); font-weight: 500; max-width: 46ch; }
.fivemin b { color: var(--ink); }

/* Every number needs context */
.context { text-align: center; }
.context .eyebrow { display: flex; justify-content: center; margin-bottom: 28px; }
.context .eyebrow--plain::before { display: none; }
.bignum { margin: 0; font-weight: 800; letter-spacing: -0.05em; line-height: .95; font-size: clamp(84px, 14vw, 200px); font-variant-numeric: tabular-nums; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }
.bignum + .bignum__unit { display: block; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin-top: 8px; }
.context__q { margin: 30px auto 10px; font-weight: 800; letter-spacing: -0.03em; font-size: clamp(26px, 3vw, 40px); }
.context__p { margin-inline: auto; color: var(--muted); }
.compares { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 30px auto 0; padding: 0; }
.compares li { padding: 12px 18px; border-radius: 999px; background: var(--sheet); border: 1px solid var(--line); font-weight: 600; font-size: 15.5px; box-shadow: var(--shadow-sm); }
.context__sentence { margin: 44px auto 0; max-width: 780px; padding: 30px 34px; border-radius: var(--r-lg); background: var(--sheet); border: 1px solid var(--line); box-shadow: var(--shadow-md); text-align: left; }
.context__sentence .before { color: var(--muted); font-size: 16px; margin-bottom: 14px; text-decoration: line-through; text-decoration-color: var(--red); }
.context__sentence .after { font-weight: 700; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; letter-spacing: -0.02em; max-width: none; }
.up { color: var(--green-ink); white-space: nowrap; }
.up svg { width: .8em; height: .8em; vertical-align: -0.05em; margin-right: 2px; }
.context__now { margin: 22px auto 0; font-weight: 700; color: var(--ink); }

/* Findings grid */
.findings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.findings .finding { padding: 22px 22px 22px 26px; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.findings .finding__text { font-size: 18px; line-height: 1.35; }
.anatomy { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.anatomy__item { padding: 24px; border-radius: var(--r-md); background: var(--sheet); border: 1px solid var(--line); }
.anatomy__item .num { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--indigo-ink); text-transform: uppercase; margin-bottom: 12px; display: block; }
.anatomy__item h3 { font-size: 19px; margin-bottom: 6px; }
.anatomy__item p { color: var(--muted); font-size: 16px; margin: 0; }
.anatomy__foot { margin-top: 26px; font-weight: 600; color: var(--ink-2); font-size: 18px; }
@media (max-width: 1000px) { .findings { grid-template-columns: 1fr 1fr; } .anatomy { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .findings, .anatomy { grid-template-columns: 1fr; } }

/* Is the problem my website? */
.reaction { margin: 26px 0; padding: 22px 26px; border-radius: var(--r-md); background: var(--sheet); border: 1px solid var(--line); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; box-shadow: var(--shadow-sm); }
.reaction small { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.sep { margin: 26px 0 0; font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; line-height: 1.3; }
.sep .w { background: #DBEAFE; color: var(--indigo-ink); padding: 0 .3em; border-radius: 8px; }
.sep .o { background: #FEF3C7; color: var(--amber-ink); padding: 0 .3em; border-radius: 8px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 18px 22px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.check h3 { font-size: 18px; margin-bottom: 2px; }
.check p { color: var(--muted); font-size: 15.5px; margin: 0; }
.check .status { flex: none; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.legend p { margin: 0; font-size: 15px; color: var(--muted); flex: 0 0 100%; max-width: none; }
@media (max-width: 560px) { .check { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* Sometimes the website is fine */
.outside { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.outside .lines { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); font-weight: 500; }
.outside .lines li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); margin-right: 14px; vertical-align: 1px; }
.callout { padding: 28px 30px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.callout p { color: #fff; }
.callout .statement { font-size: clamp(22px, 2.4vw, 32px); color: #fff; max-width: none; }
.callout .muted { color: #CBD5E1; margin-top: 14px; font-size: 17px; }
@media (max-width: 900px) { .outside { grid-template-columns: 1fr; } }

/* Pages winning and losing */
.movers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.mover { display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; box-shadow: var(--shadow-sm); }
.mover__arrow { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; }
.mover__arrow svg { width: 20px; height: 20px; }
.mover--up .mover__arrow { background: #D1FAE5; color: var(--green-ink); }
.mover--down .mover__arrow { background: #FEE2E2; color: var(--red-ink); }
.mover--flag .mover__arrow { background: #FEF3C7; color: var(--amber-ink); }
.mover--star .mover__arrow { background: #E0E7FF; color: var(--indigo-ink); }
.instead { margin-top: 36px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.instead > p { margin: 0; padding: 22px 26px; border-radius: var(--r-md); font-weight: 700; font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -0.02em; line-height: 1.3; max-width: none; }
.instead__from { background: var(--paper-2); color: var(--muted); }
.instead__to { background: var(--sheet); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.instead__arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; }
.instead__arrow svg { width: 20px; height: 20px; }
.instead small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--faint); margin-bottom: 8px; }
@media (max-width: 900px) { .movers { grid-template-columns: 1fr 1fr; } .instead { grid-template-columns: 1fr; } .instead__arrow { transform: rotate(90deg); justify-self: center; } }
@media (max-width: 560px) { .movers { grid-template-columns: 1fr; } }

/* Backlinks + speed duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo .panel { padding: clamp(26px, 3vw, 44px); display: flex; flex-direction: column; }
.duo .eyebrow { margin-bottom: 16px; }
.duo h2 { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 18px; }
.duo .lines { color: var(--ink-2); font-size: 17px; }
.duo .statement { font-size: clamp(20px, 1.9vw, 26px); margin-top: auto; padding-top: 18px; }
.duo .figure { margin: 22px 0 0; }
.duo .figure img { aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

/* PDF report */
.toc { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px 28px; box-shadow: var(--shadow-md); }
.toc .kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo-ink); }
.toc__title { font-weight: 800; letter-spacing: -0.03em; font-size: 24px; margin: 10px 0 16px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-size: 12px; font-weight: 700; color: var(--indigo-ink); font-variant-numeric: tabular-nums; }
.toc li::after { content: ""; flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }
.sendto { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sendto li { padding: 14px 18px; border-radius: var(--r-sm); background: var(--sheet); border: 1px solid var(--line); font-weight: 600; font-size: 16.5px; display: flex; align-items: center; gap: 10px; }
.sendto svg { width: 20px; height: 20px; color: var(--indigo-ink); flex: none; }
.nos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: 17px; }
.nos li { display: flex; gap: 10px; align-items: flex-start; }
.nos svg { width: 20px; height: 20px; color: var(--red-ink); flex: none; margin-top: 3px; }
@media (max-width: 560px) { .sendto { grid-template-columns: 1fr; } }

/* History strip */
.history { margin-top: 36px; }
.months { display: grid; grid-template-columns: repeat(13, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.months li { aspect-ratio: 1 / 1.6; border-radius: 8px; background: var(--grad); opacity: calc(.28 + var(--i, 0) * .055); transform-origin: bottom; }
.js .months li { transform: scaleY(0); transition: transform .7s var(--ease-out-quint); transition-delay: calc(var(--i, 0) * 45ms); }
.js .is-in .months li { transform: none; }
.months__labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Why: seven points */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.why li { padding: 24px 26px; border-radius: var(--r-md); background: var(--sheet); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.why li svg { width: 26px; height: 26px; color: var(--green-ink); margin-bottom: 12px; }
.why h3 { font-size: 19px; margin-bottom: 6px; }
.why p { color: var(--muted); font-size: 16px; margin: 0; }
.why li:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 26px 1fr; column-gap: 18px; align-items: start; }
.why li:last-child svg { grid-row: 1 / span 2; margin: 2px 0 0; }
.why li:last-child h3, .why li:last-child p { grid-column: 2; }
@media (max-width: 620px) { .why li:last-child { display: block; } }
.why__lead { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); margin-bottom: 40px; align-items: end; }
.why__lead .lines { color: var(--ink-2); font-size: 18px; }
@media (max-width: 1000px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .why__lead { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .why { grid-template-columns: 1fr; } }

/* Spectrum */
.spectrum { margin: 96px 0 34px; position: relative; }
.spectrum__bar { height: 14px; border-radius: 999px; background: linear-gradient(90deg, #CBD5E1 0%, #6366F1 50%, #0F172A 100%); position: relative; }
.spectrum__marks { position: relative; }
.spectrum__mark { position: absolute; bottom: 8px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); text-align: center; white-space: nowrap; }
.spectrum__mark::after { content: ""; width: 2px; height: 24px; background: var(--line-2); border-radius: 2px; }
.spectrum__mark--here { color: var(--indigo-ink); font-size: 18px; letter-spacing: -0.02em; }
.spectrum__mark--l { left: 0 !important; transform: none; justify-items: start; text-align: left; }
.spectrum__mark--r { left: auto !important; right: 0; transform: none; justify-items: end; text-align: right; }
.spectrum__mark--here::after { height: 30px; width: 3px; background: var(--indigo); }
.spectrum__mark--here .brand__name { font-size: 22px; }
.spectrum__labels { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.gap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.gap .lines { color: var(--ink-2); font-size: 18px; }
@media (max-width: 900px) { .gap { grid-template-columns: 1fr; } .spectrum { margin-top: 80px; } .spectrum__mark { white-space: normal; max-width: 34%; font-size: 13px; } }

/* Pricing */
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.plan { display: flex; flex-direction: column; padding: 26px 22px 24px; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out-quint), box-shadow .5s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan__name { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--indigo-ink); margin: 0 0 14px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin: 0 0 6px; }
.plan__amount { font-size: clamp(34px, 3vw, 44px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__per { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan__from { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 4px; align-self: center; }
.plan__sites { margin: 0 0 22px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.plan__sites b { font-size: 20px; letter-spacing: -0.02em; }
.plan .btn { margin-top: auto; justify-content: center; padding: 12px 10px; font-size: 14px; gap: 6px; white-space: nowrap; }
.plan .btn svg { width: 15px; height: 15px; }
.plan--custom { background: var(--grad-deep); border-color: transparent; color: #fff; }
.plan--custom .plan__name { color: #C7D2FE; }
.plan--custom .plan__per, .plan--custom .plan__from { color: #C7D2FE; }
.plan--custom .plan__sites { color: #E0E7FF; border-top-color: rgba(255,255,255,.22); }
.plan--custom .plan__sites b, .plan--custom .plan__amount { color: #fff; }
@media (max-width: 1100px) { .plans { grid-template-columns: 1fr 1fr; } .plan--custom { grid-column: 1 / -1; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* Who it is for: photo personas */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.person { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sheet); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-out-quint), box-shadow .5s var(--ease); }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.person img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease-out-quint); }
.person:hover img { transform: scale(1.04); }
.person__body { padding: 20px 22px 24px; }
.person h3 { font-size: 20px; margin-bottom: 6px; }
.person p { color: var(--muted); font-size: 16px; margin: 0; }
.person__rail { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; }
@media (max-width: 1000px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .people { grid-template-columns: 1fr; } }

/* One sentence */
.one { text-align: center; }
.one .statement { margin-inline: auto; max-width: 30ch; font-size: clamp(26px, 3.4vw, 50px); }
.one .statement .grad-text { display: inline; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; font-weight: 700; font-size: 18px; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .35s var(--ease), background-color .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--paper-2); }
.faq__a { padding: 0 22px 22px; color: var(--ink-2); font-size: 17px; }
.faq__a p { margin-bottom: .8em; }
.faq__a p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }

/* Final call to action */
.cta { padding: 0 0 var(--band); }
.cta__panel { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--grad-deep); color: #fff; padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px); text-align: center; }
.cta__panel::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -20%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(6,182,212,.55), transparent 65%); filter: blur(40px); }
.cta__panel::after { content: ""; position: absolute; width: 50%; aspect-ratio: 1; left: -15%; bottom: -45%; border-radius: 50%; background: radial-gradient(circle, rgba(168,85,247,.7), transparent 65%); filter: blur(40px); }
.cta__panel > * { position: relative; }
.cta h2 { color: #fff; margin-inline: auto; }
.cta .lines { margin: 26px auto 0; color: #E0E7FF; font-size: clamp(18px, 1.6vw, 22px); text-align: center; }
.cta .lines b { color: #fff; }
.cta__actions { margin-top: 36px; display: flex; justify-content: center; }
.cta__tag { margin: 30px auto 0; font-weight: 700; color: #fff; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -0.01em; }

/* ---------------------------------------------------------------- footer -- */
.footer { border-top: 1px solid var(--line); background: var(--sheet); }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 80px); padding: 64px 0 48px; }
.footer__tagline { margin: 18px 0 24px; color: var(--muted); font-weight: 600; font-size: 17px; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__heading { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__nav a { text-decoration: none; color: var(--ink-2); font-size: 16px; font-weight: 500; }
.footer__nav a:hover { color: var(--indigo-ink); }
.footer__base { padding: 22px 0 34px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 14px; color: var(--muted); }
.footer__base p { margin: 0; max-width: none; }
.footer__legal { display: flex; gap: 10px; align-items: center; }
.footer__legal a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.footer__legal a:hover { color: var(--indigo-ink); }
.footer__credit { width: 100%; }
.footer__credit a { color: var(--ink-2); font-weight: 600; }
@media (max-width: 900px) { .footer__inner { grid-template-columns: 1fr; } .footer__nav { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__nav { grid-template-columns: 1fr; } }

/* Legal pages (terms / privacy / accessibility). */
.legal { max-width: 760px; margin: 0 auto; padding: 5rem var(--gutter) 5rem; line-height: 1.7; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .5rem; }
.legal h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 2.4rem 0 .7rem; }
.legal p, .legal li { color: var(--ink-2); max-width: none; }
.legal a { color: var(--indigo-ink); }
.legal .legal__meta { color: var(--muted); font-size: .95rem; margin-bottom: 2rem; }
.legal .legal__note, .legal .legal__promo { border: 1px solid var(--line); background: var(--sheet); border-radius: var(--r-md); padding: 1.1rem 1.4rem; margin: 2rem 0; color: var(--ink-2); font-size: .95rem; box-shadow: var(--shadow-sm); }
.legal .legal__promo a { font-weight: 700; }

/* --------------------------------------------------------------- reveals -- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform 1s var(--ease-out-quint); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .9s var(--ease-out-quint); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js [data-stagger] > *, .js [data-split] .word-inner, .js .float, .js .months li { opacity: 1; transform: none; }
  .js .chart__line { stroke-dashoffset: 0; }
  .js .figure.reveal { clip-path: inset(0 0 0 0 round var(--r-lg)); }
}
