/* Vibetest — B4 "Combined": the owner's picks from the three Sunroom variations, as one page.
   B3 Bands is the base (header, hero, colour bands, "what we look for", fit, wizard pages);
   B2 Split supplies the step timeline, the report layout, the founder strip and the closing card;
   B1 Classic supplies the price card. Headlines are Plus Jakarta Sans — the owner asked for a
   more classic face than the chunky display font the variations used.

   Every heading, numeral, price and the wordmark read var(--display), so the headline face is
   changed in exactly one place. */

:root {
  --cream: #fbf6ee;
  --surface: #fffdf9;
  --ink: #2a2521;
  --ink-2: #6b6158;
  --line: #eadfcf;
  --line-strong: #dccdb8;

  --coral: #c94c30;          /* buttons and the CTA band: white text passes AA (4.6:1) */
  --coral-bright: #d9573a;   /* decorative only */
  --coral-deep: #ad3f27;
  --accent-ink: #8f3320;     /* text on tints */

  --peach: #fbe4d8;
  --peach-line: #efc7b3;
  --sage: #e6eddf;
  --sage-ink: #3d5a31;
  --butter: #f7ebc4;
  --butter-ink: #6b5310;
  --sky: #e1ebf5;
  --sky-ink: #2f5675;
  --green: #3d6b30;          /* the "it worked" colour on the test-starting page: white text passes AA */
  --green-ink: #243a1d;

  --crit: #9b1c1c;
  --high: #c2410c;
  --med: #a16207;
  --low: #3f6d8f;
  --info: #6b6158;

  --display: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --shadow: 0 1px 2px rgba(74, 48, 28, 0.06), 0 12px 30px -14px rgba(74, 48, 28, 0.22);
  --shadow-lg: 0 2px 4px rgba(74, 48, 28, 0.05), 0 28px 60px -24px rgba(74, 48, 28, 0.32);

  --sheet: 48px;             /* how far each band overlaps the one before, and its corner radius */
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1px 7px;
}

:focus-visible { outline: 3px solid rgba(201, 76, 48, 0.45); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 32px; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-xs { width: 16px; height: 16px; }

/* ---------- bands ---------- */

/* Each band after the first slides up over the one before it by --sheet, with rounded top
   corners, so the page reads as coloured sheets laid on top of each other. Positioned siblings
   paint in document order, so later bands sit on top without any z-index bookkeeping. */
.band { position: relative; padding-block: 112px calc(112px + var(--sheet)); }
.band + .band, .site-footer.over-band { margin-top: calc(-1 * var(--sheet)); border-radius: var(--sheet) var(--sheet) 0 0; }
.band-peach { background: var(--peach); }
.band-sage { background: var(--sage); }
.band-cream { background: var(--cream); }
.band-sky { background: var(--sky); }
.band-butter { background: var(--butter); }
.band-coral { background: var(--coral); color: #fff; }
.band-surface { background: var(--surface); }
/* cream and surface are close in value, so a low-contrast band keeps a hairline on its rounded
   top edge — otherwise the "sheet" edge disappears. */
.band-hairline { box-shadow: 0 -1px 0 var(--line); }
/* One band can hold several sections on the same ground. */
.stack-sec + .stack-sec { margin-top: 128px; }

.band-head { max-width: 760px; margin-bottom: 56px; }
.band-head.center { margin-inline: auto; text-align: center; }
.kicker { font-weight: 700; font-size: 14px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent-ink); }
.band h2 { margin-top: 12px; font-size: clamp(36px, 4.4vw, 60px); letter-spacing: -0.03em; line-height: 1.02; }
.band-lead { margin-top: 18px; font-size: 20px; color: #574d45; }

/* ---------- header ---------- */

.site-header { padding-block: 22px; background: var(--peach); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 44px; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 36px; height: 36px; display: block; flex: none; }
.logo-word { font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: -0.04em; line-height: 1; }
.logo-light, .logo-light:hover { color: #fff; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav-link:hover { color: var(--coral); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: 16px; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: var(--coral); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 20px -10px rgba(201, 76, 48, 0.7);
}
.btn-primary:hover { background: var(--coral-deep); color: #fff; }
.btn-green { background: var(--green); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 20px -10px rgba(36, 58, 29, 0.6); }
.btn-green:hover { background: #2f5525; color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn-secondary:hover { color: var(--ink); border-color: var(--ink-2); }
.btn.is-disabled { opacity: 0.42; cursor: not-allowed; box-shadow: none; }
.btn.is-disabled:hover { background: var(--coral); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 17px; }

/* ---------- URL form ---------- */

.url-form { max-width: 580px; margin-top: 36px; }
.url-field {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 6px 6px 22px;
  background: var(--surface);
  border: 1.5px solid var(--peach-line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.url-field:focus-within { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(217, 87, 58, 0.16), var(--shadow); }
.url-field .icon { color: var(--ink-2); }
.url-field .btn .icon { color: inherit; }
.url-field input {
  flex: 1; min-width: 0; height: 52px; padding: 0 6px;
  border: 0; outline: none; background: transparent;
  font-family: var(--body); font-size: 18px; color: var(--ink);
}
.url-field input::placeholder { color: #9a8e83; }
.url-field .btn { min-height: 52px; padding: 0 26px; }
.form-note { margin-top: 14px; font-size: 15px; color: #6a5a50; }

/* ---------- hero ---------- */

.hero { padding-top: 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 64px; align-items: start; }
.eyebrow {
  grid-column: 1 / -1; justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 8px;
  background: var(--surface); border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--ink-2);
}
.eyebrow-disc { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sage); color: var(--sage-ink); }
.hero h1 {
  grid-column: 1 / -1;
  margin-top: 28px;
  font-size: clamp(50px, 7.2vw, 104px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: initial;
}
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; color: var(--green); }
/* Plus Jakarta Sans sets its full stop with a wide left side-bearing; at display sizes that reads
   as a gap ("safe ."). Pull the closing stop of display headings back in. */
.kern-dot { margin-left: -0.07em; }
/* Same story for the apostrophe: a wide right side-bearing opens a gap ("Let’ s") at display sizes. */
.ap { margin-right: -0.075em; }
.hero-copy { grid-column: 1; margin-top: 40px; }
.hero-sub { max-width: 34em; font-size: 20px; line-height: 1.55; color: #574d45; }

/* hero illustration + price, pulled up beside the short last line of the headline */

.hero-art { grid-column: 2; grid-row: 3; position: relative; margin-top: -84px; padding: 24px 0 36px; }
.browser { position: relative; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.bdot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.browser-url {
  display: inline-flex; align-items: center; gap: 7px; flex: 1; min-width: 0;
  height: 30px; margin-left: 12px; padding: 0 12px;
  background: var(--cream); border-radius: 999px;
  font-family: var(--mono); font-size: 13px; color: var(--ink-2); white-space: nowrap;
}
.browser-url .icon { color: var(--sage-ink); }
.browser-body { display: grid; gap: 20px; padding: 24px 24px 30px; }
.fake-hero { display: grid; gap: 10px; justify-items: start; }
.fake-line { display: block; height: 12px; border-radius: 999px; background: #f1e8db; }
.fake-line.big { height: 20px; background: #e9dccb; }
.w70 { width: 70%; }
.w55 { width: 55%; }
.w40 { width: 40%; }
.fake-btn { display: block; width: 104px; height: 32px; margin-top: 6px; border-radius: 999px; background: var(--coral-bright); }
.fake-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { display: block; height: 72px; border-radius: 16px; }
.tile-peach { background: var(--peach); }
.tile-sky { background: var(--sky); }
.tile-butter { background: var(--butter); }

.price-sticker {
  position: absolute; right: -22px; top: -56px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 152px; height: 152px; border-radius: 50%;
  background: var(--coral); color: #fff; text-align: center;
  box-shadow: 0 18px 30px -14px rgba(143, 51, 32, 0.6);
  rotate: -8deg;
  animation: wobble 5s ease-in-out infinite;
}
.price-sticker::before {
  content: ""; position: absolute; inset: 8px; border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.55);
}
.sticker-big { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 0.9; letter-spacing: -0.04em; }
.sticker-small { margin-top: 6px; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }

@keyframes wobble {
  0%, 100% { rotate: -8deg; }
  50% { rotate: -4deg; }
}

.ticket {
  position: absolute; left: -36px; bottom: 6px; z-index: 2;
  display: inline-flex; align-items: center;
  background: var(--surface); border-radius: 18px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}
.ticket-price { display: inline-flex; align-items: baseline; gap: 8px; padding: 12px 18px; }
.ticket-now { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -0.04em; }
.ticket-was { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink-2); text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
.ticket-unit { padding: 12px 18px; border-left: 2px dashed var(--line-strong); font-weight: 700; font-size: 14px; color: var(--ink-2); }

/* ---------- tints ---------- */

.disc-sage { background: var(--sage); color: var(--sage-ink); }
.disc-sky { background: var(--sky); color: var(--sky-ink); }
.disc-peach { background: var(--peach); color: var(--accent-ink); }
.disc-butter { background: var(--butter); color: var(--butter-ink); }
.disc-white { background: var(--surface); color: var(--sage-ink); }
.sticker-disc { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; }

/* ---------- how it works (sage band, B2's timeline) ---------- */

.timeline-h { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.tstep-rail { display: flex; align-items: center; gap: 14px; }
.tnum {
  display: grid; place-items: center; flex: none;
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid var(--coral); color: var(--coral); background: var(--surface);
  font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em;
}
.tline { flex: 1; height: 2px; background: #bccdaf; border-radius: 2px; }
.tstep h3 { margin-top: 24px; font-size: 25px; letter-spacing: -0.025em; line-height: 1.15; }
.tstep p { margin-top: 10px; max-width: 32ch; color: #43503c; }
.steps-after {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 56px; padding: 10px 22px 10px 10px;
  background: rgba(255, 253, 249, 0.72); border-radius: 999px;
  font-weight: 700; font-size: 17px; color: var(--sage-ink);
}

/* ---------- what we look for (cream) ---------- */

.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.check {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow);
}
.icon-disc { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; }
.check h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.check p { margin-top: 6px; color: var(--ink-2); }

/* ---------- what you get back (surface band, B2's layout) ---------- */

.report-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.report-copy .band-lead { font-size: 19px; color: var(--ink-2); }
.report-points { display: grid; gap: 12px; margin-top: 28px; }
.report-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.report-points .sticker-disc { width: 28px; height: 28px; }

.report-stack { position: relative; }
.report-stack::before {
  content: ""; position: absolute; inset: 18px -14px -14px 18px;
  background: var(--sky); border-radius: 30px;
}
.report-card {
  position: relative; padding: 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.report-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sample-tag {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px;
  border-radius: 999px; border: 1.5px dashed var(--line-strong);
  font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
}
.report-target { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 15px; color: var(--ink); }
.report-target .icon { color: var(--ink-2); }
.report-label { margin-top: 28px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.sev-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.sev { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 16px; }
.sev-count { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.03em; }
.sev-name { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.sev-crit { background: #f6e3e0; } .sev-crit .sev-count { color: var(--crit); }
.sev-high { background: #fbe3d3; } .sev-high .sev-count { color: var(--high); }
.sev-med { background: var(--butter); } .sev-med .sev-count { color: var(--med); }
.sev-low { background: var(--sky); } .sev-low .sev-count { color: var(--low); }
.sev-info { background: #f1ebe2; } .sev-info .sev-count { color: var(--info); }
.sev-none { opacity: 0.62; }

.finding { margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fffaf3; }
.finding-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px;
  border-radius: 999px; font-weight: 700; font-size: 13px;
}
.pill-high { background: #fbe3d3; color: #9a3412; }
.finding h3 { margin-top: 12px; font-family: var(--body); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; line-height: 1.3; }
.finding > p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.fix { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--sage); color: #33472a; font-size: 16px; }
.fix .icon { margin-top: 1px; color: var(--sage-ink); }

/* ---------- pricing (B1's price card) ---------- */

.deal-pill {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px;
  background: var(--coral); color: #fff; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
}
.price-card {
  max-width: 560px; margin: 0 auto; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow-lg);
}
.price-top { padding: 36px 32px 30px; background: var(--peach); text-align: center; }
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 16px; margin-top: 18px; }
.price-now { font-family: var(--display); font-weight: 800; font-size: 100px; letter-spacing: -0.032em; line-height: 0.9; color: var(--ink); }
.price-was {
  font-family: var(--display); font-weight: 700; font-size: 32px; letter-spacing: -0.02em; color: var(--ink-2);
  text-decoration-thickness: 3px; text-decoration-color: var(--coral-bright);
}
.price-per { margin-top: 12px; font-weight: 700; color: var(--accent-ink); }
.price-body { padding: 30px 36px 32px; }
.price-list { display: grid; gap: 14px; }
.price-list li { display: flex; align-items: flex-start; gap: 14px; font-weight: 600; }
.price-list .sticker-disc { width: 28px; height: 28px; margin-top: -1px; }
.price-body .btn { width: 100%; margin-top: 30px; }
.price-note { margin-top: 14px; font-size: 15px; color: var(--ink-2); text-align: center; }

/* ---------- fit (B3) + founder (B2's strip) ---------- */

.fit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fit-card { padding: 38px; border-radius: 30px; }
.fit-yes { background: var(--sage); }
.fit-no { background: var(--surface); border: 2px dashed var(--line-strong); }
.fit-card h3 { display: flex; align-items: center; gap: 14px; font-size: 30px; letter-spacing: -0.025em; }
.fit-card h3 .icon-disc { width: 48px; height: 48px; }
.fit-yes h3 .icon-disc { background: var(--surface); color: var(--sage-ink); }
.fit-no h3 .icon-disc { background: #f1ebe2; color: var(--ink-2); }
.fit-list { display: grid; gap: 14px; margin-top: 26px; }
.fit-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; }
.fit-list .icon { margin-top: 3px; }
.fit-yes .fit-list .icon { color: var(--sage-ink); }
.fit-no .fit-list .icon { color: var(--ink-2); }
.fit-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 17px; color: var(--ink-2); }

.founder { display: flex; align-items: center; gap: 24px; max-width: 900px; margin: 72px auto 0; }
/* The founder strip's badge: a little shield in nerd glasses, drawn in the Lucide line style
   (its outline is Lucide's shield). Tilted like the hero sticker, so it reads as fun, not formal. */
.founder-badge {
  display: grid; place-items: center; flex: none;
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--butter); box-shadow: 0 0 0 3px var(--surface), var(--shadow);
  rotate: -8deg;
}
.founder-badge svg { width: 46px; height: 46px; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.founder-badge .nerd-shield { stroke: var(--ink); }
.founder-badge .nerd-glasses { stroke: var(--coral); }
.founder-quote { flex: 1; font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2.1vw, 26px); line-height: 1.3; letter-spacing: -0.02em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--accent-ink); text-decoration: none; white-space: nowrap; }
.text-link:hover { color: var(--coral); }

/* ---------- closing CTA (B2's split card) ---------- */

.cta-band {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center;
  padding: 64px 56px; background: var(--peach); border-radius: 36px;
}
.cta-band h2 { margin-top: 0; font-size: clamp(34px, 4vw, 54px); }
.cta-sub { margin-top: 14px; font-size: 18px; color: #5e4a3f; }
.cta-band .url-form { margin-top: 0; max-width: none; }
.cta-price { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-weight: 700; font-size: 16px; color: var(--ink); }
.cta-price s { color: #7d6558; font-weight: 600; }
.cta-actions { display: grid; justify-items: start; }
.mini-off { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; background: var(--surface); color: var(--accent-ink); font-weight: 800; font-size: 13px; }

/* ---------- footer ---------- */

.site-footer { position: relative; padding-block: 52px 44px; background: var(--cream); }
.site-footer.over-band { box-shadow: 0 -1px 0 var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.logo-sm .logo-mark { width: 30px; height: 30px; }
.logo-sm .logo-word { font-size: 21px; }
.footer-trust { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.footer-trust .icon { color: var(--sage-ink); }
.footer-links { display: flex; align-items: center; gap: 22px; font-size: 15px; color: var(--ink-2); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.footer-links a:hover { color: var(--coral); }

/* ---------- wizard: peach top band ---------- */

.wiz-top { background: var(--peach); border-radius: 0 0 var(--sheet) var(--sheet); padding-bottom: 40px; }
.wiz-top-green { background: #dde9d3; }
.wiz-header { padding-block: 20px; }
.wiz-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.wiz-header .exit { justify-self: end; }
.step-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 16px;
  border-radius: 999px; background: var(--surface);
  font-weight: 700; font-size: 14px; color: var(--ink-2);
}
.step-pill.is-done { color: var(--sage-ink); }
.exit { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; color: #5e4a3f; font-weight: 600; text-decoration: none; }
.exit:hover { color: var(--ink); }

.segs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 920px; margin: 24px auto 0; padding-inline: 24px; }
.seg {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 8px 16px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center;
}
.seg-n { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; font-size: 14px; font-weight: 800; }
.seg.is-done { background: var(--sage); color: var(--sage-ink); }
.seg.is-done .seg-n { background: var(--surface); }
.seg.is-current { background: var(--coral); color: #fff; box-shadow: 0 12px 22px -12px rgba(143, 51, 32, 0.7); }
.seg.is-current .seg-n { background: #fff; color: var(--coral); }
.seg.is-next { border-color: var(--peach-line); color: #7a5a4a; }
.seg.is-next .seg-n { border: 2px solid var(--peach-line); }

.wiz { max-width: 720px; margin: 0 auto; padding: 48px 24px 40px; }

.recap { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; }
.recap-row { display: flex; align-items: center; gap: 16px; padding: 16px 18px; }
.recap-row + .recap-row { border-top: 1px solid var(--line); }
.recap .icon-disc { width: 44px; height: 44px; }
.recap-text { flex: 1; min-width: 0; }
.recap-site { font-family: var(--mono); font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.recap-title { font-weight: 700; font-size: 16px; }
.recap-status { font-size: 15px; color: var(--sage-ink); font-weight: 600; }
.recap-status code { background: var(--sage); border-color: transparent; }
.recap-change { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-weight: 700; font-size: 15px; }

.wiz h1 { margin-top: 40px; font-size: clamp(36px, 5vw, 54px); letter-spacing: -0.035em; }
.wiz h1 .hl { color: var(--coral); overflow-wrap: anywhere; }
.wiz-lead { margin-top: 16px; font-size: 18px; color: var(--ink-2); }

.record-card { margin-top: 28px; padding: 8px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.record { margin: 0; }
.record-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 14px; padding-block: 16px; }
.record-row + .record-row { border-top: 1px solid var(--line); }
.record-row dt { font-weight: 700; font-size: 15px; color: var(--ink-2); }
.record-row dd { display: flex; align-items: center; gap: 10px; margin: 0; min-width: 0; }
.mono-pill {
  flex: 1; min-width: 0;
  display: flex; align-items: center; min-height: 44px; padding: 8px 16px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  font-family: var(--mono); font-size: 16px; color: var(--ink); overflow-wrap: anywhere;
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  min-height: 44px; padding: 0 16px;
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer;
}
.copy-btn:hover { border-color: var(--coral); color: var(--accent-ink); }
.mono-plain { flex: 0 0 auto; }
.record-foot { display: flex; justify-content: flex-end; padding-block: 14px 16px; border-top: 1px solid var(--line); }

.howto { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.howto-label { font-weight: 600; font-size: 15px; color: var(--ink-2); margin-right: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none;
}
.chip:hover { border-color: var(--coral); color: var(--accent-ink); }

.status {
  display: flex; align-items: center; gap: 16px;
  margin-top: 28px; padding: 18px 18px 18px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
}
/* A slow, quiet spinner — the check is routine, so nothing here should read as a warning. */
.spinner {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid #d6e2cc; border-top-color: var(--sage-ink);
  animation: spin 1.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.status-body { flex: 1; min-width: 0; }
.status-title { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.015em; line-height: 1.3; }
.status-meta { margin-top: 2px; font-size: 14px; color: var(--ink-2); }

.why { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.why summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 0 20px;
  font-weight: 700; cursor: pointer; list-style: none;
}
.why summary::-webkit-details-marker { display: none; }
.why summary .icon { color: var(--ink-2); }
.why[open] summary .icon { rotate: 180deg; }
.why p { padding: 0 20px 18px; color: var(--ink-2); }

.wiz-actions { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.continue-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.continue-hint { font-size: 14px; color: var(--ink-2); text-align: right; }

.wiz-footer { padding-block: 32px 40px; text-align: center; }
.wiz-footer .footer-trust { justify-content: center; }

/* ---------- pay ---------- */

.form-block { margin-top: 28px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.form-block h2 { font-size: 24px; letter-spacing: -0.02em; }
/* minmax(0,1fr) + width:100% on the input: an <input> otherwise brings its ~20-character intrinsic
   width as a min-content floor, and the expiry/CVC pair pushes past a phone screen. */
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 20px; min-width: 0; }
.field-label { font-weight: 700; font-size: 15px; }
.field-label .opt { font-weight: 500; color: var(--ink-2); }
.input {
  display: flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 18px;
  background: var(--cream); border: 1.5px solid var(--line-strong); border-radius: 18px;
}
.input .icon { color: var(--ink-2); }
.input input {
  flex: 1; min-width: 0; width: 100%; height: 52px; padding: 0;
  border: 0; outline: none; background: transparent;
  font-family: var(--body); font-size: 17px; color: var(--ink);
}
/* A fixed domain after the input: the report link can only be emailed to someone at the site under test. */
.input-suffix { flex: none; align-self: stretch; display: flex; align-items: center; padding-left: 14px; border-left: 1.5px solid var(--line-strong); font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.input input.mono { font-family: var(--mono); font-size: 16px; letter-spacing: 0.02em; }
.input.is-valid { background: #f5f8f1; border-color: #a9c49a; }
.valid { display: inline-flex; align-items: center; gap: 6px; flex: none; font-weight: 700; font-size: 14px; color: var(--sage-ink); white-space: nowrap; }
.valid .sticker-disc { width: 24px; height: 24px; }
.field-help { font-size: 15px; color: var(--ink-2); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.check-row { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; cursor: pointer; }
.checks-block .check-row + .check-row { margin-top: 0; padding-top: 12px; border-top: 0; }
.check-row input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--coral); }

.secure-line { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.secure-line .icon { margin-top: 2px; color: var(--sage-ink); }
.tbd { font-family: var(--mono); font-size: 14px; background: var(--butter); color: var(--butter-ink); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }

/* The order summary as a till receipt: mono line items, a dashed rule, a scalloped tear at the
   bottom. The scallops are a repeating half-disc in the receipt's own colour; drop-shadow (not
   box-shadow) so the shadow follows the scallops too. */
.receipt {
  position: relative; margin-top: 36px; padding: 28px 30px 30px;
  background: var(--surface); border-radius: 24px 24px 0 0;
  filter: drop-shadow(0 16px 20px rgba(74, 48, 28, 0.13)) drop-shadow(0 1px 1px rgba(74, 48, 28, 0.08));
}
.receipt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
  background: radial-gradient(circle at 12px 0, var(--surface) 12px, transparent 12.5px) 0 0 / 24px 12px repeat-x;
}
.receipt-kicker { font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.receipt-item { margin-top: 12px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.receipt-site { font-family: var(--mono); font-size: 15px; color: var(--ink-2); }
.r-lines { margin-top: 18px; font-family: var(--mono); font-size: 15px; }
.r-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 6px; }
.r-row s { text-decoration-color: var(--coral); text-decoration-thickness: 2px; color: var(--ink-2); }
.r-discount { color: var(--sage-ink); font-weight: 500; }
.r-total { margin-top: 12px; padding-top: 16px; border-top: 2px dashed var(--line-strong); font-weight: 500; font-size: 17px; }
.r-total .r-amount { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.04em; line-height: 1; }

.pay-actions { margin-top: 44px; }
.pay-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

/* ---------- done: coral top band ---------- */

.done-hero { max-width: 760px; margin: 0 auto; padding: 36px 24px 104px; text-align: center; }
.done-mark {
  position: relative; display: grid; place-items: center;
  width: 104px; height: 104px; margin: 0 auto; border-radius: 50%;
  background: #fff; color: var(--green);
}
.done-mark .icon { width: 48px; height: 48px; stroke-width: 2.4; }
.confetti { position: absolute; display: block; border-radius: 50%; }
.c1 { width: 16px; height: 16px; background: var(--butter); left: -18px; top: 10px; }
.c2 { width: 11px; height: 11px; background: var(--peach); right: -14px; top: 2px; }
.c3 { width: 13px; height: 13px; background: var(--sky); right: -22px; bottom: 16px; }
.done-hero h1 { margin-top: 30px; color: var(--green-ink); font-size: clamp(48px, 7vw, 96px); letter-spacing: -0.032em; line-height: 0.96; }
.done-lead { max-width: 30em; margin: 20px auto 0; font-size: 20px; color: #3f5436; }
.done-lead strong { font-weight: 700; }

.done { max-width: 760px; margin: 0 auto; padding: 0 24px 24px; text-align: center; }
.link-card { position: relative; margin-top: -80px; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow-lg); text-align: left; }
.link-label { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
.link-field {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 6px 6px 6px 20px;
  background: var(--cream); border: 1.5px solid var(--line-strong); border-radius: 999px;
}
.link-value {
  flex: 1; min-width: 0; font-family: var(--mono); font-size: 15px; color: var(--ink); line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: none; border: 0; padding: 0;
}
.link-save { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.receipt-line { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 16px; color: var(--ink-2); }
.receipt-line .icon { color: var(--green); }
.receipt-line strong { color: var(--ink); font-weight: 600; }
.done .link-label, .done .home-link { color: var(--green); }
.done .home-link:hover { color: var(--green-ink); }

.home-link { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; margin-top: 28px; font-weight: 700; text-decoration: none; }

/* ---------- about ---------- */

.about-hero { padding-top: 56px; }
.about-hero h1 { max-width: 14ch; margin-top: 16px; font-size: clamp(52px, 7.8vw, 112px); letter-spacing: -0.032em; line-height: 0.94; }
.about-hero .hero-sub { margin-top: 30px; }

.story { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.story-body { display: grid; gap: 20px; font-size: 20px; line-height: 1.6; }
.story-body p:first-child { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.1vw, 27px); line-height: 1.3; letter-spacing: -0.02em; }

.founder-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow-lg); }
.photo {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 4 / 3; max-width: 100%;
  background: var(--sage); border-radius: 22px;
}
.photo-mono { font-family: var(--display); font-weight: 800; font-size: 88px; letter-spacing: -0.04em; color: #9fb68f; line-height: 1; }
.photo-tag {
  position: absolute; left: 14px; top: 14px;
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px;
  background: var(--surface); border-radius: 999px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
}
.founder-meta { padding: 20px 10px 8px; }
.founder-name { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.03em; line-height: 1.1; }
.founder-role { margin-top: 4px; font-weight: 700; color: var(--accent-ink); }
.founder-cred { margin-top: 10px; color: var(--ink-2); }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.principle { padding: 34px 30px 38px; background: var(--surface); border-radius: 30px; box-shadow: 0 2px 4px rgba(107, 83, 16, 0.05), 0 26px 50px -26px rgba(107, 83, 16, 0.38); }
.principle h3 { margin-top: 26px; font-size: 30px; letter-spacing: -0.025em; }
.principle p { margin-top: 10px; color: #4e463f; }

/* ---------- round 3: AI fix prompt, test-logins step, done extras ---------- */

.finding-count { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.ai-fix { margin-top: 12px; padding: 16px 16px 14px; border-radius: 16px; background: var(--sky); color: #24445d; }
.ai-fix-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ai-fix-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--sky-ink); }
.ai-fix .copy-btn { background: var(--surface); }
.ai-prompt {
  margin-top: 12px; padding: 12px 14px;
  background: var(--surface); border: 1px solid #c9d9e8; border-radius: 12px;
  font-family: var(--mono); font-size: 14px; line-height: 1.6; color: var(--ink);
}
.ai-fix-caption { margin-top: 10px; font-size: 14px; color: var(--sky-ink); }

.opt-tag {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px;
  border-radius: 999px; background: var(--butter); color: var(--butter-ink);
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
}
.opt-tag + h1 { margin-top: 16px; }

.warn {
  display: flex; align-items: flex-start; gap: 18px;
  margin-top: 30px; padding: 26px 28px;
  background: var(--peach); border: 2px solid #f2c2ab; border-radius: 26px;
}
.warn-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--coral); color: #fff; }
.warn-title { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.warn-text { margin-top: 8px; font-size: 17px; color: #5e3a2c; }

.add-account { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.add-account .field-help { flex: 1; min-width: 220px; }

.actions-right { display: flex; align-items: center; gap: 20px; }
.skip-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { grid-column: 1; }
  .hero-art { grid-column: 1; grid-row: auto; width: 100%; max-width: 460px; margin: 72px auto 0; }
  .timeline-h, .principles { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tline { display: none; }
  .report-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .report-copy { order: -1; }
  .cta-band { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 56px 40px; }
  .checks, .fit-grid { grid-template-columns: minmax(0, 1fr); }
  .story { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}

@media (max-width: 640px) {
  :root { --sheet: 32px; }
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .nav { gap: 12px; }
  .nav-link { display: none; }
  .btn { padding: 0 18px; }
  .logo-word { font-size: 22px; }
  .logo-mark { width: 32px; height: 32px; }

  .band { padding-block: 72px calc(72px + var(--sheet)); }
  .band-head { margin-bottom: 36px; }
  .band-lead { font-size: 18px; }

  .hero { padding-top: 24px; }
  .eyebrow { font-size: 14px; }
  .hero h1 { font-size: 44px; line-height: 1; }
  .hero-sub { font-size: 18px; }
  .url-field { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; border-radius: 28px; }
  .url-field .icon { display: none; }
  .url-field input { height: 50px; padding: 0 14px; }
  .url-field .btn { width: 100%; }

  .hero-art { margin-top: 84px; padding-bottom: 44px; }
  .browser-body { padding: 18px; gap: 16px; }
  .tile { height: 48px; border-radius: 12px; }
  .price-sticker { right: 2px; top: -64px; width: 116px; height: 116px; }
  .sticker-big { font-size: 34px; }
  .sticker-small { font-size: 11px; }
  .ticket { left: 0; bottom: 0; }
  .ticket-price { padding: 10px 14px; }
  .ticket-now { font-size: 26px; }
  .ticket-unit { padding: 10px 14px; }

  .tstep h3 { margin-top: 16px; }
  .steps-after { margin-top: 40px; font-size: 16px; border-radius: 22px; }
  .stack-sec + .stack-sec { margin-top: 88px; }
  .check { padding: 24px; gap: 16px; }
  .icon-disc { width: 48px; height: 48px; }
  .report-card { padding: 20px; border-radius: 26px; }
  .report-stack::before { inset: 10px 0 -10px 10px; }
  .sev-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sev-count { font-size: 32px; }

  .price-now { font-size: 80px; }
  .price-top { padding: 30px 20px 26px; }
  .price-body { padding: 26px 22px 26px; }
  .fit-card { padding: 26px; }
  .fit-card h3 { font-size: 26px; }
  .founder { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 56px; }
  .cta-band { padding: 44px 20px; border-radius: 28px; }
  .cta-sub { font-size: 17px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  .wiz-header-inner { grid-template-columns: auto 1fr auto; }
  .wiz-header .step-pill { justify-self: center; }
  .exit .exit-word { display: none; }
  .segs { gap: 6px; padding-inline: 16px; }
  .segs { gap: 5px; padding-inline: 12px; }
  .seg { flex-direction: column; gap: 4px; min-height: 64px; padding: 8px 4px; border-radius: 20px; font-size: 12px; }
  .seg-n { width: 24px; height: 24px; font-size: 12px; }
  .wiz { padding-top: 36px; }
  .record-card { padding: 4px 16px; }
  .record-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .status { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .status .btn { width: 100%; }
  .wiz-actions { flex-direction: column-reverse; align-items: stretch; }
  .wiz-actions .btn { width: 100%; }
  .continue-wrap, .pay-wrap { align-items: stretch; }
  .continue-hint { text-align: center; }
  .form-block { padding: 22px 18px; }
  .field-row { gap: 10px; }
  .input { padding: 0 14px; }
  .valid .valid-word { display: none; }
  .receipt { padding: 24px 20px 26px; }
  .btn-lg { padding: 0 20px; font-size: 16px; }

  .done-hero { padding: 24px 20px 96px; }
  .done-lead { font-size: 18px; }
  .done { padding-inline: 20px; }
  .link-card { padding: 20px; }
  .link-field { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; border-radius: 22px; }
  .link-field .btn { width: 100%; }
  .link-value { white-space: normal; overflow-wrap: anywhere; }

  .about-hero { padding-top: 32px; }
  .about-hero h1 { font-size: 50px; }

  .finding-count { margin-left: 0; width: 100%; }
  .warn { flex-direction: column; gap: 14px; padding: 22px 20px; }
  .warn-title { font-size: 21px; }
  .actions-right { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .skip-link { justify-content: center; }
  .add-account .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .price-sticker, .spinner { animation: none; }
}

/* ---------- report pages ---------- */

.nowrap { white-space: nowrap; }
/* report.html (the finished report) and report-pending.html (what the private link shows while the
   test is still running). The chrome stays calm — sky for the report, the done page's green while
   testing — so the only urgent colours on the page are the severity ones. */

.rep-band { background: var(--sky); padding-bottom: 120px; }
.rep-pdf { justify-self: end; }
.rep-hero { padding-top: 28px; }
.rep-hero .kicker { color: var(--sky-ink); }
.rep-hero h1 {
  margin-top: 10px; font-size: clamp(38px, 5.4vw, 72px); letter-spacing: -0.03em; line-height: 1;
  overflow-wrap: anywhere;
}
.rep-meta { margin-top: 14px; font-size: 17px; color: #3e5a70; }

.rep { max-width: 880px; margin: 0 auto; padding: 0 24px 24px; }
.rep-summary {
  position: relative; margin-top: -88px; padding: 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow-lg);
}
.rep-summary-text { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.35; letter-spacing: -0.015em; }
.rep-summary .sev-list { margin-top: 22px; }
.rep-note {
  display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 12px 16px;
  border-radius: 16px; background: var(--butter); color: #5a4a1c; font-size: 16px;
}
.rep-note .icon { color: var(--butter-ink); }

.rep-sec { margin-top: 72px; }
.rep-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rep-sec h2 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.025em; line-height: 1.1; }
.rep-finding { background: var(--surface); }
.rep-finding code { font-size: 0.88em; background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 0 5px; }

.pill-med { background: var(--butter); color: var(--butter-ink); }
.pill-low { background: var(--sky); color: var(--sky-ink); }

.rows { display: grid; gap: 10px; margin-top: 24px; }
.row-item { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.row-item summary {
  display: flex; align-items: center; gap: 14px;
  min-height: 60px; padding: 8px 20px;
  cursor: pointer; list-style: none;
}
.row-item summary::-webkit-details-marker { display: none; }
.row-item summary .pill { flex: none; }
.row-title { flex: 1; min-width: 0; font-weight: 700; font-size: 17px; }
.row-item summary .icon { flex: none; color: var(--ink-2); }
.row-item[open] summary .icon { rotate: 180deg; }
.row-body { padding: 0 20px 20px; }
.row-body > p { color: var(--ink-2); font-size: 16px; }
.row-body .fix { margin-top: 12px; }
.ai-fix-compact .ai-prompt { margin-top: 10px; }

.info-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin-top: 20px;
  padding: 8px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
}
.info-list li { display: flex; align-items: center; gap: 12px; min-height: 52px; font-size: 16px; border-bottom: 1px solid var(--line); }
.info-list li:nth-last-child(-n + 2) { border-bottom: 0; }
.info-list .icon { flex: none; color: var(--sky-ink); }

.rep-sec.fit-grid .fit-card h3 { font-size: 26px; }

.rep-again {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 72px; padding: 36px 40px; border-radius: 30px; background: var(--peach);
}
.rep-again h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.025em; }

.rep-footer { display: grid; justify-items: center; gap: 6px; }
.rep-id { font-family: var(--mono); font-size: 14px; color: var(--ink-2); }

/* report-pending.html */
.rp-hero { max-width: 760px; margin: 0 auto; padding: 36px 24px 112px; text-align: center; }
.rp-hero h1 { color: var(--green-ink); font-size: clamp(36px, 5.4vw, 68px); letter-spacing: -0.03em; line-height: 1.02; }
.rp-site { display: block; overflow-wrap: anywhere; }
.indeterminate {
  position: relative; max-width: 420px; height: 6px; margin: 30px auto 0;
  overflow: hidden; border-radius: 999px; background: #c6d8b8;
}
/* A slow sweep. Frozen (reduced motion, or a static export) it reads as a partly filled bar. */
.indeterminate-bar {
  position: absolute; top: 0; bottom: 0; left: 0; width: 38%;
  border-radius: 999px; background: var(--green);
  animation: sweep 2.8s ease-in-out infinite;
}
@keyframes sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(270%); }
}

.rp { max-width: 640px; margin: 0 auto; padding: 0 24px 24px; text-align: center; }
.stages-card {
  position: relative; margin-top: -72px; padding: 10px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg);
  text-align: left;
}
.stage { display: flex; align-items: center; gap: 14px; min-height: 60px; }
.stage + .stage { border-top: 1px solid var(--line); }
.stage-icon { display: grid; place-items: center; flex: none; width: 26px; height: 26px; }
.stage-name { flex: 1; min-width: 0; font-weight: 600; font-size: 17px; }
.stage-meta { flex: none; font-size: 14px; color: var(--ink-2); }
.stage.is-done .stage-icon { color: var(--green); }
.stage.is-now .stage-name { font-weight: 700; }
.stage.is-now .stage-meta { color: var(--green); font-weight: 600; }
.stage.is-wait .stage-icon { color: #b9ab9a; }
.stage.is-wait .stage-name { color: var(--ink-2); font-weight: 500; }
.rp-email { margin-top: 28px; }

/* the done page's report link is clickable (it opens report-pending.html in this preview) */
a.link-value { text-decoration: none; }
a.link-value:hover { color: var(--green); text-decoration: underline; }

@media (max-width: 640px) {
  .rep-band { padding-bottom: 104px; }
  .rep-pdf { min-width: 44px; padding: 0 12px; }
  .rep-pdf-word { display: none; }
  .rep { padding-inline: 20px; }
  .rep-summary { padding: 20px; border-radius: 26px; }
  .rep-sec { margin-top: 56px; }
  .rep-sec-head .btn { width: 100%; }
  .row-item summary { padding: 8px 16px; gap: 10px; }
  .row-body { padding: 0 16px 16px; }
  .info-list { grid-template-columns: minmax(0, 1fr); padding: 4px 18px; }
  .info-list li:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .info-list li:last-child { border-bottom: 0; }
  .rep-again { padding: 26px; }
  .rep-again .btn { width: 100%; }
  .rp-hero { padding: 24px 20px 100px; }
  .rp { padding-inline: 20px; }
  .stages-card { padding: 6px 18px; }
  .stage-meta { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .indeterminate-bar { animation: none; transform: translateX(60%); }
}

/* policy pages (terms / privacy / cookies / authorisation to test) */
.policy-wrap { max-width: 860px; }
.policy-updated { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.policy-content { max-width: 860px; }
.policy-content h2 { margin-top: 40px; font-size: 24px; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p, .policy-content li { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.policy-content .inshort { font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.policy-content a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.policy-content p { margin: 10px 0; }
.policy-content ul { list-style: disc; padding-left: 28px; margin: 10px 0; }
.policy-content li { margin: 4px 0; }
.policy-content table { border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.policy-content th, .policy-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.policy-content th { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; background: var(--cream); }
.policy-legal-links { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.policy-legal-links a { color: var(--ink); font-weight: 600; margin: 0 7px; white-space: nowrap; }
.policy-legal-links a:hover { color: var(--coral); }
.wiz-footer .policy-legal-links { text-align: center; }
