/* JDSD Enterprise, landing page v3: the Free Lead Leak Audit, previewed.
   World: a midnight instrument under one key light from the top left, in a dark and a light
   theme. Solid Gear Orange marks the action, the visitor's loss and the recommended package;
   orange tints carry loss data, blue tints carry structure, green/red/amber mark answers only.
   One face: Schibsted Grotesk. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Raw theme values (-d dark, -l light). Components read only the resolved tokens. */
  --ground-d: #0b0f17;
  --ground-l: #eaedf2;
  --band-d: #0e1320;
  --band-l: #e2e6ed;
  --panel-d: #131a27;
  --panel-l: #f9fafc;
  --raised-d: #1b2435;
  --raised-l: #eceff4;
  --line-d: #263247;
  --line-l: #d5dbe4;
  --line-2-d: #34425c;
  --line-2-l: #bfc7d4;
  --ink-d: #eef2f8;
  --ink-l: #141416;
  --sub-d: #9aa4b5;
  --sub-l: #4f5868;
  --mute-d: #8591a3;
  --mute-l: #566072;
  --hot-text-d: #ff851b;
  --hot-text-l: #a24a00;
  --hot-fig-d: #ff851b;
  --hot-fig-l: #c2570a;
  --ok-d: #5bd19a;
  --ok-l: #15803d;
  --warn-d: #f2c14e;
  --warn-l: #b54708;
  --bad-d: #f47c70;
  --bad-l: #b42318;
  --struct-d: #7e98c6;
  --struct-l: #5e77a3;
  --struct-soft-d: #2a3a56;
  --struct-soft-l: #cfd8e6;
  --scroll-thumb-d: #3e4c66;
  --scroll-thumb-l: #b3bccb;
  --pool-d: #141c2c;
  --pool-l: #f9fafc;

  --ground: light-dark(var(--ground-l), var(--ground-d));
  --band: light-dark(var(--band-l), var(--band-d));
  --panel: light-dark(var(--panel-l), var(--panel-d));
  --raised: light-dark(var(--raised-l), var(--raised-d));
  --line: light-dark(var(--line-l), var(--line-d));
  --line-2: light-dark(var(--line-2-l), var(--line-2-d));
  --ink: light-dark(var(--ink-l), var(--ink-d));
  --sub: light-dark(var(--sub-l), var(--sub-d));
  --mute: light-dark(var(--mute-l), var(--mute-d));
  --hot-text: light-dark(var(--hot-text-l), var(--hot-text-d));
  /* Large loss figures only (3:1 at display size): reads as orange, not brown, on light. */
  --hot-fig: light-dark(var(--hot-fig-l), var(--hot-fig-d));
  --hot-sh-1: light-dark(rgb(140 60 0 / 0.26), rgb(0 0 0 / 0.45));
  --hot-sh-2: light-dark(rgb(150 64 0 / 0.5), rgb(0 0 0 / 0.72));
  --ok: light-dark(var(--ok-l), var(--ok-d));
  --warn: light-dark(var(--warn-l), var(--warn-d));
  --bad: light-dark(var(--bad-l), var(--bad-d));
  --struct: light-dark(var(--struct-l), var(--struct-d));
  --struct-soft: light-dark(var(--struct-soft-l), var(--struct-soft-d));
  --scroll-thumb: light-dark(var(--scroll-thumb-l), var(--scroll-thumb-d));
  --pool: light-dark(var(--pool-l), var(--pool-d));
  --focus: var(--hot-text);

  /* The same in both themes */
  --hot: #ff851b;
  --hot-hi: #ff9a42;
  --hot-lo: #e9730d;
  --on-hot: #000000;
  --on-hot-sub: #2a1906;
  --on-hot-label: #1f1206;
  --paper: #ffffff;
  --paper-ink: #141416;
  --paper-sub: #55555c;
  --paper-line: #e2e2e6;
  --paper-line-2: #b9b9be;
  --paper-soft: #f6f6f8;
  --hot-ink: #a24a00;
  --device: #0b0b0c;
  --device-side: #1f232a;
  --device-edge: #2c313a;
  /* the isometric drawings: shade for faces turned from the light, cast shadows, lit edges */
  --iso-shade: light-dark(rgb(52 62 82), #000);
  --iso-sh: light-dark(rgb(30 40 60 / 0.2), rgb(0 0 0 / 0.62));
  --iso-lit: light-dark(#fff, rgb(255 255 255 / 0.26));

  /* One key light, top left. Surfaces are lit on their top edge and drop their shadow down
     and to the right. Four steps: ground, panel (e1), raised (e2), floating (e3). */
  --lit: light-dark(rgb(255 255 255 / 0.9), rgb(255 255 255 / 0.065));
  --sh-1: light-dark(rgb(16 24 40 / 0.07), rgb(0 0 0 / 0.42));
  --sh-2: light-dark(rgb(16 24 40 / 0.15), rgb(1 4 12 / 0.82));
  --e1: inset 0 1px 0 var(--lit), 0 1px 2px var(--sh-1), 3px 14px 32px -18px var(--sh-2);
  --e2: inset 0 1px 0 var(--lit), 0 2px 4px -1px var(--sh-1), 6px 26px 52px -24px var(--sh-2);
  --e3: inset 0 1px 0 var(--lit), 0 4px 10px -2px var(--sh-1), 12px 40px 80px -30px var(--sh-2);
  --well: inset 0 1px 2px var(--sh-1);

  --font: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --r-panel: 22px;
  --r-card: 16px;
  --r-ctl: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --top-h: 64px;

  /* Follows the device until the visitor picks; the head script sets data-theme. */
  color-scheme: light dark;
  interpolate-size: allow-keywords;
}
:root[data-theme="dark"] {
  color-scheme: dark;
}
:root[data-theme="light"] {
  color-scheme: light;
}
/* Browsers without light-dark() keep the dark theme and lose the switch. */
@supports not (color: light-dark(#000, #fff)) {
  :root {
    color-scheme: dark;
    --ground: var(--ground-d);
    --band: var(--band-d);
    --panel: var(--panel-d);
    --raised: var(--raised-d);
    --line: var(--line-d);
    --line-2: var(--line-2-d);
    --ink: var(--ink-d);
    --sub: var(--sub-d);
    --mute: var(--mute-d);
    --hot-text: var(--hot-text-d);
    --hot-fig: var(--hot-fig-d);
    --hot-sh-1: rgb(0 0 0 / 0.45);
    --hot-sh-2: rgb(0 0 0 / 0.72);
    --ok: var(--ok-d);
    --warn: var(--warn-d);
    --bad: var(--bad-d);
    --struct: var(--struct-d);
    --struct-soft: var(--struct-soft-d);
    --scroll-thumb: var(--scroll-thumb-d);
    --pool: var(--pool-d);
    --lit: rgb(255 255 255 / 0.065);
    --sh-1: rgb(0 0 0 / 0.42);
    --sh-2: rgb(1 4 12 / 0.82);
  }
  .theme-toggle {
    display: none !important;
  }
}

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

[hidden] {
  display: none !important;
}

html {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--top-h) + 16px);
  scrollbar-color: var(--scroll-thumb) var(--ground);
  accent-color: var(--hot);
  caret-color: var(--hot-text);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  padding: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

::selection {
  background: var(--hot);
  color: var(--on-hot);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}

p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

kbd {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mute);
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 0 6px;
  line-height: 1.5;
}

.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;
}

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--ground);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 1280px);
  margin-inline: auto;
}

.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hot-text {
  color: var(--hot-text);
}

.fine {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--mute);
}

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.5;
  color: var(--sub);
  max-width: 60ch;
  text-wrap: pretty;
}

/* ---------------- logo (kit lockup ratios at a 28px mark) ---------------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 5.6px;
  color: var(--ink);
  text-decoration: none;
}
.logo svg {
  flex: none;
}
.logo span {
  font-size: 25.6px;
  font-weight: 640;
  letter-spacing: 0.012em;
  line-height: 1;
  padding-bottom: 3.1px;
  white-space: nowrap;
}
.logo i {
  font-style: normal;
  color: var(--hot);
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn .i {
  width: 1.2em;
  height: 1.2em;
}
/* The action key: lit from the top like every surface, a warm near-black label instead of
   pure black, and a soft shadow that lifts on hover and presses on click. */
.btn-hot {
  background-color: var(--hot);
  background-image: linear-gradient(180deg, var(--hot-hi), var(--hot) 60%);
  border-color: rgb(196 92 0 / 0.32);
  color: var(--on-hot-label);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4), 0 1px 2px var(--hot-sh-1), 4px 12px 26px -12px var(--hot-sh-2);
}
.btn-hot:hover {
  background-color: var(--hot-hi);
  background-image: linear-gradient(180deg, #ffab5e, var(--hot-hi) 60%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.45), 0 2px 4px var(--hot-sh-1), 6px 18px 34px -14px var(--hot-sh-2);
}
.btn-hot:active {
  background-color: var(--hot-lo);
  background-image: none;
  transform: translateY(1px);
  box-shadow: inset 0 1px 3px rgb(110 45 0 / 0.35);
}
.btn-hot:focus-visible {
  outline-color: var(--ink);
}
.btn-line {
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-line:hover {
  border-color: var(--ink);
}
.btn-quiet {
  color: var(--sub);
  padding-inline: 12px;
}
.btn-quiet:hover {
  color: var(--ink);
}
.btn-ink {
  background: var(--ground);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1), 0 2px 4px -1px rgb(74 30 0 / 0.35), 6px 18px 32px -18px rgb(74 30 0 / 0.55);
}
.btn-ink:hover {
  background: var(--raised);
}
.btn-ink:focus-visible {
  outline-color: var(--ground);
}
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9375rem;
}
.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1.0625rem;
}
.btn-xl {
  min-height: 64px;
  padding: 0 32px;
  font-size: 1.125rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: none;
}
.link-arrow .i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-out);
}
.link-arrow:hover {
  text-decoration: underline;
}
.link-arrow:hover .i {
  transform: translateX(2px);
}

/* ---------------- header ---------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ground);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.top.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 28px -20px var(--sh-2);
}
.top-act {
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--panel);
  box-shadow: var(--e1);
  color: var(--sub);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.25s var(--ease-out);
}
.theme-toggle::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
}
.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.theme-toggle:active {
  transform: translateY(1px);
}
.tt {
  display: inline-grid;
  place-items: center;
}
.tt .i {
  width: 19px;
  height: 19px;
}
.tt-dark {
  display: none;
}
:root[data-theme="dark"] .tt-light {
  display: none;
}
:root[data-theme="dark"] .tt-dark {
  display: inline-grid;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tt-light {
    display: none;
  }
  :root:not([data-theme="light"]) .tt-dark {
    display: inline-grid;
  }
}
html:not(.js) .theme-toggle {
  display: none;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.32s;
  animation-timing-function: var(--ease-out);
}
.top-in {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  height: var(--top-h);
}
.top-in > .logo {
  justify-self: start;
}
.top-act {
  justify-self: end;
}
.top-page {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-left: 22px;
  margin-left: 4px;
  border-left: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--mute);
  white-space: nowrap;
  overflow: hidden;
}
.top-page b {
  color: var(--ink);
  font-weight: 600;
}
/* The section links sit in a recessed track; the current section's link carries a lit pill that
   slides between them as the page scrolls. */
.top-nav {
  position: relative;
  display: flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in oklab, var(--ground), var(--band) 60%);
  box-shadow: var(--well);
}
.top-nav a {
  position: relative;
  z-index: 1;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--sub);
  text-decoration: none;
  transition: color 0.25s;
}
.top-nav a:hover,
.top-nav a[aria-current] {
  color: var(--ink);
}
.tn-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  box-shadow: var(--e1);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out), opacity 0.3s;
}
.top-nav.has-pill .tn-pill {
  opacity: 1;
}
/* Once a self-check answer exists, the estimate rides in the header on every section. */
.top-leak {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 14px;
  margin-right: 4px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.8125rem;
  line-height: 1.2;
  color: var(--sub);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s;
}
.top-leak b {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--hot-text);
  font-variant-numeric: tabular-nums;
}
.top-leak:hover {
  border-color: var(--ink);
}
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0.6;
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes grow-progress {
      to {
        transform: scaleX(1);
      }
    }
    .progress {
      animation: grow-progress auto linear both;
      animation-timeline: scroll(root);
    }
  }
}

/* ---------------- hero ---------------- */
.hero {
  background: radial-gradient(110% 80% at 6% 0%, var(--pool), transparent 62%);
  padding-top: clamp(28px, 4.2vh, 52px);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.hero-h {
  font-size: clamp(2.5rem, 0.9rem + 5.2vw, 5.25rem);
  line-height: 0.97;
  letter-spacing: -0.038em;
  max-width: 14.5em;
}
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 56px;
  margin-top: clamp(20px, 3vh, 32px);
}
.hero-lede {
  max-width: 34ch;
}
.hero-act {
  display: grid;
  justify-items: start;
  gap: 14px;
}
.terms {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--sub);
}
.terms li + li::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 10px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--mute);
}
.live-now {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 18px;
  font-size: 0.875rem;
  color: var(--mute);
}
.live-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.live-now a {
  color: var(--ink);
}
.nowrap {
  white-space: nowrap;
}

/* ---------------- panels ---------------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--e1);
}
.panel-bar,
.con-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
}
.panel-title {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sub);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 2px 9px;
  white-space: nowrap;
}
.panel-meta {
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--sub);
  white-space: nowrap;
}
.panel-meta b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ---------------- fields ---------------- */
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  color: var(--sub);
}
.field-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.field label {
  font-size: 0.875rem;
  color: var(--sub);
}
.field output {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hint {
  font-size: 0.8125rem;
  color: var(--mute);
}
.money {
  display: flex;
  align-items: center;
  height: 50px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-ctl);
  background: var(--ground);
  box-shadow: var(--well);
  transition: border-color 0.2s;
}
.money:focus-within {
  border-color: var(--ink);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.money span {
  padding: 0 4px 0 14px;
  font-weight: 600;
  color: var(--sub);
}
.money input,
.field-inline input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0 12px 0 4px;
}
.money input:focus {
  outline: none;
}
.money-sm {
  height: 40px;
  width: 140px;
}
.money-sm input {
  font-size: 1rem;
  text-align: right;
}

.range {
  --track: 6px;
  --thumb: 22px;
  --fill: var(--ink);
  --p: 50%;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: var(--track);
  border-radius: 999px;
  background: linear-gradient(to right, var(--fill) var(--p), var(--line-2) var(--p));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--thumb);
  height: var(--thumb);
  margin-top: calc((var(--track) - var(--thumb)) / 2);
  border-radius: 50%;
  background: var(--ink);
  border: 4px solid var(--ground);
  box-shadow: 0 0 0 1px var(--ink);
}
.range::-moz-range-track {
  height: var(--track);
  border-radius: 999px;
  background: var(--line-2);
}
.range::-moz-range-progress {
  height: var(--track);
  border-radius: 999px;
  background: var(--fill);
}
.range::-moz-range-thumb {
  width: var(--thumb);
  height: var(--thumb);
  border-radius: 50%;
  background: var(--ink);
  border: 4px solid var(--ground);
  box-shadow: 0 0 0 1px var(--ink);
}
.range:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
.range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: -4px;
  font-size: 0.75rem;
  color: var(--mute);
}

/* segmented radio */
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--r-ctl);
  background: var(--ground);
  box-shadow: var(--well);
}
.seg-opt {
  position: relative;
}
.seg-opt input,
.ans input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.seg-opt span {
  display: block;
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sub);
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.seg-opt:hover span {
  color: var(--ink);
}
.seg-opt input:checked + span {
  background: var(--ink);
  color: var(--ground);
  box-shadow: 0 1px 2px var(--sh-1);
}
/* Answers carry their function colour: Yes green, No red, Not sure amber. */
.seg-opt input[value="yes"]:checked + span {
  --fn: var(--ok);
}
.seg-opt input[value="no"]:checked + span {
  --fn: var(--bad);
}
.seg-opt input[value="unsure"]:checked + span {
  --fn: var(--warn);
}
.seg-opt input[data-answer]:checked + span {
  background: color-mix(in oklab, var(--fn) 18%, var(--panel));
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--fn), 0 1px 2px var(--sh-1);
}
.seg-opt input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.seg-sm span {
  padding: 6px 11px;
  font-size: 0.8125rem;
}

/* ---------------- hero preview ---------------- */
.preview {
  margin-top: clamp(24px, 3.6vh, 40px);
}
.pv-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.55fr) minmax(250px, 1fr);
}
.pv-grid > * {
  padding: 20px 24px;
  min-width: 0;
}
.pv-grid > * + * {
  border-left: 1px solid var(--line);
}
.pv-numbers {
  display: grid;
  align-content: start;
  gap: 18px;
}
.pv-checks {
  margin: 0;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  padding-block: 8px;
}
.qrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 10px 0;
}
.qrow + .qrow {
  border-top: 1px solid var(--line);
}
.qrow-text {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.35;
  max-width: 30ch;
}
.qrow-n {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--sub);
  transform: translateY(-1px);
}
.qrow.is-answered .qrow-n {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ground);
}
.qrow .qrow-n[data-state="yes"] {
  background: var(--ok);
  border-color: var(--ok);
}
.qrow .qrow-n[data-state="no"] {
  background: var(--bad);
  border-color: var(--bad);
}
.qrow .qrow-n[data-state="unsure"] {
  background: var(--warn);
  border-color: var(--warn);
}
.qrow .qrow-n[data-state] {
  color: var(--ground);
}
.pv-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.pv-label {
  font-size: 0.875rem;
  color: var(--sub);
}
.figure {
  font-size: clamp(2.5rem, 1.7rem + 2.2vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}
.figure small {
  margin-left: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--sub);
}
.figure.hot {
  color: var(--hot-fig);
}
.pv-sub {
  font-size: 0.875rem;
  color: var(--sub);
  min-height: 1.4em;
}
.pv-result .link-arrow {
  margin-top: 10px;
}
.pv-foot {
  padding: 11px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--mute);
}
.pv-foot a {
  color: var(--sub);
}

/* ---------------- sections ---------------- */
.sec {
  padding-block: clamp(56px, 6.5vw, 104px);
}
/* Alternate sections sit on a lifted band, lit from the top left. */
.band {
  background: linear-gradient(168deg, var(--pool), transparent 46%) var(--band);
  border-block: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
}
.proof-dss {
  padding-top: clamp(64px, 7vw, 112px);
}
/* the proof stages stand in a pool of the key light */
.proof-dss,
.proof-jaya {
  background: radial-gradient(75% 48% at 34% 52%, var(--pool), transparent 72%);
}
.sec-head {
  max-width: 780px;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.sec-head h2 {
  font-size: clamp(2rem, 1.1rem + 3vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
.sec-head-split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px 56px;
  align-items: end;
}
.sec-head-split h2 {
  margin-bottom: 0;
}
.who {
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.9375rem;
}
.who span {
  font-weight: 400;
  color: var(--mute);
}
.who span::before {
  content: "\00b7";
  margin: 0 8px;
}

/* ---------------- console ---------------- */
.con-dots {
  display: flex;
  gap: 4px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.con-dots li {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--line-2);
  transition: background-color 0.3s;
}
.con-dots li.is-done {
  background: var(--sub);
}
.con-dots li.is-current {
  background: var(--ink);
}
.con-bar .panel-meta {
  margin-left: 16px;
}
.con-body {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 300px;
  min-height: 460px;
}
.con-rail {
  border-right: 1px solid var(--line);
  padding: 12px;
}
.con-rail ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}
.rail-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: none;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--sub);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.rail-item:hover {
  background: var(--raised);
  color: var(--ink);
}
.rail-item.is-current {
  background: var(--raised);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

/* answer state glyph */
.st {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: background-color 0.2s, border-color 0.2s;
}
.st .i {
  display: none;
  width: 14px;
  height: 14px;
  stroke-width: 2.25;
}
.st[data-state="yes"] {
  border-color: var(--ok);
}
.st[data-state="yes"] .st-yes {
  display: block;
  color: var(--ok);
}
.st[data-state="no"] {
  background: var(--bad);
  border-color: var(--bad);
}
.st[data-state="no"] .st-no {
  display: block;
  color: var(--ground);
}
.st[data-state="unsure"] {
  border-style: dashed;
  border-color: var(--warn);
}
.st[data-state="unsure"] .st-unsure {
  display: block;
  color: var(--warn);
}

.con-stage {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  min-width: 0;
}
.q-deck {
  flex: 1;
  display: grid;
  gap: 40px;
}
.qcard {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.js .qcard {
  display: none;
}
.js .qcard.is-current {
  display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .js .qcard.is-current {
    animation: q-in 0.42s var(--ease-out) both;
  }
  .js [data-dir="back"] .qcard.is-current {
    animation-name: q-in-back;
  }
  @keyframes q-in {
    from {
      opacity: 0;
      transform: translateX(22px);
    }
  }
  @keyframes q-in-back {
    from {
      opacity: 0;
      transform: translateX(-22px);
    }
  }
}
.q-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  color: var(--sub);
}
.sev {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 1px 9px;
  color: var(--mute);
  white-space: nowrap;
}
.sev-high {
  color: var(--ink);
  border-color: var(--sub);
}
.sev-medium {
  color: var(--sub);
}
.q-text {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 14px;
  font-size: clamp(1.375rem, 1.05rem + 1.1vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.25;
  max-width: 30ch;
  text-wrap: balance;
}
.q-why {
  clear: both;
  max-width: 54ch;
  margin-bottom: 28px;
  color: var(--sub);
}
.answers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 580px;
}
.ans {
  position: relative;
}
.ans-yes {
  --fn: var(--ok);
}
.ans-no {
  --fn: var(--bad);
}
.ans-unsure {
  --fn: var(--warn);
}
/* A key: lit top edge and a 3px skirt below; chosen, it travels 2px down onto a 1px skirt. */
.ans-face {
  --skirt: var(--line-2);
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  line-height: 1.3;
  background: var(--raised);
  box-shadow: inset 0 1px 0 var(--lit), 0 3px 0 var(--skirt), 4px 14px 24px -12px var(--sh-2);
  font-weight: 600;
  font-size: 1.0625rem;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.ans-face > .i {
  color: var(--sub);
  transition: color 0.2s;
}
.ans-face kbd {
  margin-left: auto;
}
.ans:hover .ans-face {
  border-color: color-mix(in oklab, var(--fn) 55%, var(--line-2));
}
.ans:hover .ans-face > .i {
  color: var(--fn);
}
.ans input:active + .ans-face {
  transform: translateY(2px);
  box-shadow: inset 0 1px 0 var(--lit), 0 1px 0 var(--skirt), 2px 6px 12px -8px var(--sh-2);
}
.ans input:checked + .ans-face {
  --skirt: color-mix(in oklab, var(--fn) 55%, var(--line-2));
  transform: translateY(2px);
  border-color: var(--fn);
  background: color-mix(in oklab, var(--fn) 16%, var(--panel));
  box-shadow: inset 0 2px 4px var(--sh-1), 0 1px 0 var(--skirt);
}
.ans input:checked + .ans-face > .i {
  color: var(--fn);
}
.ans input:checked + .ans-face kbd {
  color: var(--ink);
  border-color: var(--fn);
}
.ans input:focus-visible + .ans-face {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.q-fix {
  max-width: 58ch;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  font-size: 0.875rem;
  color: var(--sub);
}
.q-fix span {
  color: var(--mute);
}
.q-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.q-keys {
  margin-inline: auto;
  font-size: 0.8125rem;
  color: var(--mute);
}
.q-nav [data-show-result] {
  min-height: 42px;
}
.no-js .q-nav,
html:not(.js) .q-nav {
  display: none;
}

/* result */
.result {
  outline: none;
}
@media (prefers-reduced-motion: no-preference) {
  .result:not([hidden]) {
    animation: q-in 0.45s var(--ease-out) both;
  }
}
.result-head h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  letter-spacing: -0.025em;
}
.result-sum {
  margin-top: 8px;
  color: var(--sub);
  max-width: 60ch;
}
.leaks {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.leaks li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px 24px;
  padding: 16px 0 16px 32px;
  border-bottom: 1px solid var(--line);
}
.lk-title {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 10px;
  margin-left: -32px;
  font-weight: 600;
}
.lk-col p:first-child {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mute);
  margin-bottom: 2px;
}
.lk-col p + p {
  font-size: 0.9375rem;
  color: var(--sub);
}
.lk-col-build p + p {
  color: var(--ink);
}
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 12px;
}

/* readout */
.con-readout {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px;
  border-left: 1px solid var(--line);
  min-width: 0;
}
.ro-label {
  font-size: 0.8125rem;
  color: var(--sub);
  margin-bottom: 4px;
}
.ro-big {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.ro-big small {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--sub);
  margin-left: 4px;
}
.meter {
  height: 6px;
  margin: 12px 0 8px;
  border-radius: 3px;
  background: var(--line-2);
  overflow: hidden;
}
.meter span {
  display: block;
  height: 100%;
  background: color-mix(in oklab, var(--hot) 82%, var(--ink));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--ease-out);
}
.ro-note {
  font-size: 0.8125rem;
  color: var(--mute);
}
.ro-mid {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.ro-money .figure {
  font-size: clamp(2.25rem, 1.8rem + 1vw, 2.75rem);
  margin-bottom: 6px;
}
.ro-inputs {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.field-inline {
  grid-template-columns: 1fr auto;
  align-items: center;
}
.field-inline label {
  font-size: 0.8125rem;
}
.field-inline > input {
  width: 110px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--ground);
  box-shadow: var(--well);
  font-size: 1rem;
  text-align: right;
  padding: 0 10px;
}
.field-inline > input:focus {
  border-color: var(--ink);
}
.how summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sub);
  list-style: none;
}
.how summary::-webkit-details-marker {
  display: none;
}
.how summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease-out);
}
.how[open] summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}
.how summary:hover {
  color: var(--ink);
}
.how-body {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  font-size: 0.8125rem;
  color: var(--sub);
}
.how-body b {
  color: var(--ink);
  font-weight: 600;
}
.con-strip {
  display: none;
}

/* ---------------- device frames ---------------- */
.browser {
  margin: 0;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: clip;
  background: var(--panel);
  box-shadow: var(--e2);
}
.b-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.b-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}
.b-bar span {
  margin: 0 auto;
  padding: 3px 14px;
  border-radius: 8px;
  background: var(--ground);
  border: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--sub);
  transform: translateX(-21px);
}
.browser img {
  width: 100%;
  height: auto;
}
.phone {
  margin: 0;
  width: clamp(170px, 17vw, 236px);
  aspect-ratio: 9 / 19.2;
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: 34px;
  background: var(--device);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), var(--e3);
  view-timeline: --phone block;
}
.phone-screen {
  height: 100%;
  border-radius: 26px;
  overflow: clip;
  background: #f4f7f1;
  container-type: size;
}
.phone-scroll {
  width: 100%;
  height: auto;
}
/* DSS's floating WhatsApp button, pinned where the real site fixes it (20px in from the bottom right
   of a 375px-wide screen) while the page scrolls beneath it */
.phone-fab {
  position: absolute;
  z-index: 1;
  right: 5.33cqw;
  bottom: 5.33cqw;
  width: 13.33cqw;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.28);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes phone-scroll {
      to {
        transform: translateY(calc(-100% + 100cqh));
      }
    }
    .phone-scroll {
      animation: phone-scroll linear both;
      animation-timeline: --phone;
      animation-range: cover 18% cover 82%;
    }
    @keyframes frame-in {
      from {
        clip-path: inset(0 0 26% 0 round 14px);
        transform: translateY(24px);
      }
    }
    .browser,
    .paper-sheet {
      animation: frame-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}

/* ---------------- DSS proof ---------------- */
.dss-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0;
}
.dss-stage .browser {
  grid-column: 1;
  grid-row: 1;
  margin-right: clamp(-120px, -7vw, -60px);
}
.dss-stage .phone {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
  transform: translateY(72px);
}
.lead-card {
  position: absolute;
  z-index: 3;
  left: clamp(16px, 4%, 48px);
  bottom: -64px;
  width: 290px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  background: var(--panel);
  box-shadow: var(--e3);
}
.lc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.lc-from {
  font-weight: 600;
  font-size: 0.9375rem;
}
.lc-score {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ground);
}
.lc-rows {
  margin: 0;
}
.lc-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
}
.lc-rows dt {
  color: var(--mute);
}
.lc-rows dd {
  margin: 0;
  text-align: right;
}
.lc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  margin-top: 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
.lc-btn .i {
  width: 16px;
  height: 16px;
}
.lead-card figcaption {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--mute);
}
.dss-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 64px;
  margin-top: clamp(112px, 10vw, 144px);
  align-items: start;
}
.facts {
  margin: 0;
  padding: 0;
  list-style: none;
}
.facts li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.facts li .i {
  margin-top: 3px;
}
.facts .facts-link {
  display: block;
}
.psi {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--e1);
}
.psi-head {
  font-weight: 600;
  margin-bottom: 18px;
}
.psi-board {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.psi-board li {
  display: grid;
  gap: 10px;
}
.psi-v {
  font-size: clamp(2.5rem, 1.8rem + 2vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.psi-l {
  font-size: 0.8125rem;
  color: var(--sub);
}
.psi-bar {
  height: 3px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.psi-bar span {
  display: block;
  height: 100%;
  background: var(--ink);
  transform: scaleX(calc(var(--v) / 100));
  transform-origin: 0 50%;
}
.psi-pc {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--sub);
}
.psi-pc b {
  color: var(--ink);
  font-size: 1.125rem;
}
.psi .fine {
  margin-top: 10px;
}

/* ---------------- fixes ---------------- */
.fx-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sub);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ground);
}
.chip b {
  font-variant-numeric: tabular-nums;
}
.fx-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.fx {
  border-bottom: 1px solid var(--line);
}
.fx-sum {
  display: grid;
  grid-template-columns: 22px minmax(0, 0.95fr) minmax(0, 1.25fr) 14px;
  align-items: start;
  gap: 8px 24px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.fx-sum::-webkit-details-marker {
  display: none;
}
.fx-sum .st {
  margin-top: 1px;
}
.fx-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.fx h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.35;
}
.fx-free {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--sub);
}
.fx-k {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mute);
  margin-bottom: 2px;
}
.fx-chev {
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-right: 1.5px solid var(--sub);
  border-bottom: 1.5px solid var(--sub);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease-out);
}
.fx details[open] .fx-chev {
  transform: rotate(225deg) translate(-2px, -2px);
}
.fx-sum:hover h3 {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.fx-body {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 8px 24px;
  margin-left: 46px;
  margin-right: 38px;
  padding: 0 0 20px;
}
.fx-why {
  font-size: 0.9375rem;
  color: var(--sub);
}
.fx-build {
  font-size: 0.9375rem;
}
.fx.is-leak h3 {
  color: var(--ink);
}
.fx-list[data-filter="mine"] .fx:not(.is-leak) {
  display: none;
}
.fx-empty {
  padding: 24px 0;
  color: var(--sub);
}

/* ---------------- Jaya proof ---------------- */
.jaya-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: 40px 56px;
  align-items: start;
}
.jaya-big {
  margin-bottom: 18px;
  font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}
.ads {
  margin-top: clamp(56px, 6vw, 88px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.ads-head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px 56px;
  align-items: end;
}
.ads-head .display-line {
  font-size: clamp(2.25rem, 1.1rem + 3.6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.ads-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 56px;
  margin-top: 32px;
  align-items: start;
}
.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.ledger th,
.ledger td {
  text-align: left;
  vertical-align: top;
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--line);
}
.ledger thead th {
  padding-top: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mute);
}
.ledger tbody th {
  font-weight: 600;
  white-space: nowrap;
}
.ledger tbody th span,
.ledger td span {
  display: block;
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--mute);
  white-space: normal;
}
.ledger td span {
  margin-top: 4px;
  color: var(--sub);
}
.ledger td b {
  font-weight: 600;
}
.num {
  white-space: nowrap;
  font-weight: 600;
}
.chart {
  margin: 0;
}
.chart-plot {
  position: relative;
}
.chart svg {
  width: 100%;
  height: auto;
  overflow: visible;
  touch-action: pan-y;
}
.c-t {
  fill: var(--sub);
  font-size: 14px;
  font-weight: 600;
}
.c-x {
  fill: var(--mute);
  font-size: 12.5px;
}
.c-peak {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.c-base {
  stroke: var(--line-2);
  stroke-width: 1;
}
.c-bar {
  transition: opacity 0.2s;
}
/* Clicks carry the orange tint, listing actions the structural blue. */
.c-bar-1,
.c-key-1 {
  fill: color-mix(in oklab, var(--hot) 86%, var(--panel));
}
.c-bar-2,
.c-key-2 {
  fill: var(--struct);
}
.c-hit {
  fill: transparent;
  cursor: crosshair;
}
.chart.is-hover .c-bar:not(.is-on) {
  opacity: 0.3;
}
.c-tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--e3);
  font-size: 0.8125rem;
  line-height: 1.45;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -100%);
}
.c-tip b {
  display: block;
  font-weight: 600;
}
.c-tip span {
  color: var(--sub);
}
.chart figcaption {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--mute);
}
.chart-table summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sub);
  list-style: none;
}
.chart-table summary::-webkit-details-marker {
  display: none;
}
.chart-table summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease-out);
}
.chart-table[open] summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}
.chart-table summary:hover {
  color: var(--ink);
}
.chart-table table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}
.chart-table th,
.chart-table td {
  padding: 5px 8px 5px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.chart-table td {
  text-align: right;
}

/* ---------------- the real audit ---------------- */
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: start;
}
.how-copy h2 {
  font-size: clamp(2rem, 1.1rem + 3vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
.steps {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.step-n {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 600;
}
.steps h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 4px 0 4px;
}
.steps p {
  font-size: 0.9375rem;
  color: var(--sub);
}
.paper {
  margin: 0;
  position: sticky;
  top: calc(var(--top-h) + 32px);
}
.paper-sheet {
  background: var(--paper);
  color: var(--paper-ink);
  box-shadow: inset 0 0 0 1px rgb(16 24 40 / 0.06), var(--e2);
  border-radius: 6px;
  padding: clamp(22px, 3vw, 40px);
  font-size: 13px;
  line-height: 1.5;
}
.paper-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--hot);
}
.logo-paper {
  color: var(--paper-ink);
}
.logo-paper svg {
  width: 22px;
  height: 22px;
}
.logo-paper span {
  font-size: 20px;
  padding-bottom: 2.5px;
}
.paper-meta {
  display: grid;
  text-align: right;
  font-size: 12px;
  color: var(--paper-sub);
}
.paper-meta b {
  font-size: 13px;
  color: var(--paper-ink);
}
.paper-h {
  margin: 20px 0 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.paper-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.paper-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--paper-line);
}
.paper-list b {
  display: block;
  font-size: 13.5px;
  line-height: 1.35;
  margin-bottom: 3px;
}
.p-sev {
  height: fit-content;
  padding: 2px 0;
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--paper-sub);
}
.p-high {
  border-color: var(--hot-ink);
  color: var(--hot-ink);
}
.p-ev,
.p-fix {
  display: block;
  font-size: 12px;
}
.p-ev {
  color: var(--paper-sub);
}
.p-fix {
  margin-top: 3px;
}
.paper-est {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--paper-soft);
  font-size: 12.5px;
}
.p-tag {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--hot-ink);
}
.paper figcaption {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--mute);
}

/* ---------------- offer ---------------- */
.your-leak {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 20px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--panel);
  box-shadow: var(--e1);
}
.your-leak p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  color: var(--sub);
  font-size: 0.9375rem;
}
.yl-k {
  font-weight: 600;
  color: var(--ink);
}
.your-leak b {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.your-leak b.is-empty {
  color: var(--mute);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.tier {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--panel);
  box-shadow: var(--e1);
}
/* The recommended package sits highest. */
.tier-rec {
  border: 2px solid var(--hot);
  padding: 27px;
  box-shadow: var(--e3);
  transform: translateY(-12px);
}
.tier-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.tier h3 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--hot);
  color: var(--on-hot);
  font-size: 0.75rem;
  font-weight: 700;
}
.tier-line {
  margin: 4px 0 20px;
  color: var(--sub);
}
.price {
  font-size: clamp(2rem, 1.1rem + 1.6vw, 3rem);
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}
.from {
  margin-right: 8px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--sub);
}
.tier-vs {
  min-height: 2.9em;
  margin: 12px 0 18px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--sub);
}
.tier-vs b {
  color: var(--ink);
  font-weight: 600;
}
.tier-inc {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-bottom: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sub);
}
.tier-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tier-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: center;
  padding: 5px 0;
}
.tier-list .i {
  width: 18px;
  height: 18px;
}
.tier-route {
  margin: 18px 0 8px;
  font-size: 0.875rem;
  color: var(--sub);
}
.tier-terms {
  margin-bottom: 22px;
  font-size: 0.8125rem;
  color: var(--mute);
}
.tier-cta {
  margin-top: auto;
  width: 100%;
}
.stack {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 16px 48px;
  margin-top: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--panel);
  box-shadow: var(--e1);
}
.stack-head h3 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.stack-total {
  color: var(--sub);
}
.stack-total b {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.stack-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.stack-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.stack-list li:first-child {
  padding-top: 0;
}
.stack-list b {
  display: block;
  font-weight: 600;
}
.stack-list span:not(.num) {
  display: block;
  font-size: 0.9375rem;
  color: var(--sub);
}
.stack .fine {
  grid-column: 2;
}
/* Terms are ruled, not boxed: cards are for what you buy (tiers, the bonus stack). */
.promises {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  margin-top: clamp(40px, 4.5vw, 64px);
  border-top: 1px solid var(--line);
}
.promise {
  padding: 26px 28px 4px;
}
.promise:first-child {
  padding-left: 0;
}
.promise + .promise {
  border-left: 1px solid var(--line);
}
.promise h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 10px;
}
.promise-main h3 {
  font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.promise p {
  max-width: 62ch;
  font-size: 0.9375rem;
  color: var(--sub);
}
.promise .fine {
  margin-top: 10px;
}
.care {
  margin-top: clamp(48px, 5vw, 72px);
}
.care-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-bottom: 18px;
}
.care-head h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.care-head .fine {
  max-width: 62ch;
}
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.care-plan {
  padding: 22px 24px 0;
}
.care-plan:first-child {
  padding-left: 0;
}
.care-plan + .care-plan {
  border-left: 1px solid var(--line);
}
.care-name {
  font-weight: 600;
}
.care-price {
  margin: 2px 0 12px;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.care-price small {
  margin-left: 4px;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--sub);
}
.care-plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.care-plan li {
  position: relative;
  padding: 4px 0 4px 16px;
  font-size: 0.9375rem;
  color: var(--sub);
}
.care-plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 7px;
  height: 1px;
  background: var(--mute);
}

/* ---------------- side offers ---------------- */
.side-list {
  display: grid;
  gap: 16px;
}
.side {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  background: var(--panel);
  box-shadow: var(--e1);
  overflow: clip;
}
.side-copy {
  padding: clamp(24px, 3vw, 40px);
}
.side h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  letter-spacing: -0.028em;
}
.side-line {
  margin: 6px 0 14px;
  font-size: 1.125rem;
  font-weight: 500;
}
.side-copy > p:not(.side-line) {
  color: var(--sub);
}
.side-terms {
  margin: 22px 0 26px;
  display: grid;
  gap: 12px;
}
.side-terms dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mute);
}
.side-terms dd {
  margin: 0;
  font-size: 0.9375rem;
}
.side-proof {
  display: flex;
  align-items: center;
  padding: clamp(24px, 3vw, 40px);
  border-left: 1px solid var(--line);
  background: var(--ground);
  box-shadow: inset 0 2px 6px var(--sh-1);
}
.pipe {
  margin: 0;
  width: 100%;
}
/* The Explomo quote line: the hero's isometric track, with arches that light as the file passes. */
.pp-box {
  position: relative;
  aspect-ratio: 440 / 330;
  max-width: 460px;
  margin: 0 auto;
}
.pp-box svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pp-head {
  fill: var(--raised);
  transition: fill 0.3s;
}
.pp-cell {
  fill: var(--line-2);
}
.pp-cell-n {
  fill: var(--struct-soft);
}
.pp-st.is-on .pp-wbody .f-l {
  stroke: var(--hot-fig);
}
.pp-st.is-on .pp-head {
  fill: color-mix(in oklab, var(--hot) 30%, var(--panel));
}
.pp-plate {
  --b: var(--panel);
}
.pp-plate .f-t {
  stroke: var(--struct);
  stroke-width: 1.2;
}
.pp-plate.is-on {
  --b: color-mix(in oklab, var(--hot) 18%, var(--panel));
}
.pp-plate.is-on .f-t {
  stroke: var(--hot-fig);
}
/* Arches are solid frames; each lights as the file passes under it. */
.pp-arch {
  --b: color-mix(in oklab, var(--line-2), var(--sub) 22%);
  --lift: 22%;
}
.pp-arch.is-on {
  --b: var(--hot-fig);
}
.pp-pdf {
  fill: var(--paper);
  stroke: var(--paper-line-2);
  stroke-linejoin: round;
}
.pp-pdf-edge {
  fill: var(--paper-line);
  stroke: var(--paper-line-2);
  stroke-linejoin: round;
}
.pp-lh {
  fill: var(--paper-line-2);
  transition: fill 0.3s;
}
.pp-st.is-on .pp-lh {
  fill: var(--hot);
}
.pp-tx {
  fill: var(--paper-line-2);
}
.pp-tb {
  fill: var(--paper-soft);
  stroke: var(--paper-line);
}
.pp-ph {
  fill: color-mix(in oklab, var(--struct) 35%, var(--paper));
}
/* The file: a sheet that is read, filled in, checked and given photos on its way to the PDF. */
.pp-file {
  transition: opacity 0.25s;
}
.pp-file.is-done {
  opacity: 0;
}
.pp-f {
  fill: var(--paper);
  stroke: var(--paper-line-2);
  stroke-width: 0.6;
}
.pp-f-sh {
  fill: var(--iso-sh);
  opacity: 0.6;
}
.pp-f-hd {
  fill: var(--paper-line-2);
}
.pp-f-cells rect:not(.pp-f-hd) {
  fill: var(--paper-line);
  transition: fill 0.25s;
}
.pp-file[data-s="1"] .pp-f-cells rect:not(.pp-f-hd) {
  fill: color-mix(in oklab, var(--struct) 45%, var(--paper));
}
.pp-f-cells,
.pp-f-quote,
.pp-f-tick,
.pp-f-photo {
  transition: opacity 0.25s;
}
.pp-f-quote,
.pp-f-tick,
.pp-f-photo {
  opacity: 0;
}
.pp-file:is([data-s="2"], [data-s="3"], [data-s="4"], [data-s="5"]) .pp-f-cells {
  opacity: 0;
}
.pp-file:is([data-s="2"], [data-s="3"], [data-s="4"], [data-s="5"]) .pp-f-quote,
.pp-file:is([data-s="3"], [data-s="4"], [data-s="5"]) .pp-f-tick,
.pp-file:is([data-s="4"], [data-s="5"]) .pp-f-photo {
  opacity: 1;
}
.pp-f-lh {
  fill: var(--hot);
}
.pp-f-tx {
  fill: var(--paper-line-2);
}
.pp-f-tb {
  fill: var(--paper-soft);
  stroke: var(--paper-line);
  stroke-width: 0.5;
}
.pp-f-tick {
  fill: none;
  stroke: var(--paper-ink);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pp-f-photo rect {
  fill: color-mix(in oklab, var(--struct) 45%, var(--paper));
}
.pp-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pp-n,
.pipe-steps b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--panel);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--sub);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.pp-n {
  position: absolute;
  margin: -27px 0 0 -11px;
  box-shadow: var(--e1);
}
.pp-n.is-on,
.pipe-steps li.is-on b {
  background: color-mix(in oklab, var(--hot) 16%, var(--panel));
  border-color: var(--hot-fig);
  color: var(--hot-text);
}
.pipe-steps {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 10px 20px;
}
.pipe-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--sub);
  transition: color 0.3s;
}
.pipe-steps b {
  flex: none;
}
.pipe-steps li.is-on {
  color: var(--ink);
}
@media (max-width: 520px) {
  .pipe-steps {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 8px;
  }
}
.pipe-time {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--sub);
}
.pipe-time b {
  color: var(--ink);
}
.pipe figcaption {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--mute);
}
.ads-mini {
  width: 100%;
}
.ads-mini-k {
  margin-bottom: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sub);
}
.ads-mini ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.ads-mini li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.ads-mini li b {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.ads-mini li span {
  font-size: 0.9375rem;
  color: var(--sub);
}
.ads-mini .fine a {
  color: var(--sub);
}

/* ---------------- FAQ ---------------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px 64px;
  align-items: start;
}
.faq-grid .sec-head {
  position: sticky;
  top: calc(var(--top-h) + 32px);
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary i {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6.25px;
  width: 14px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--sub);
  transition: transform 0.3s var(--ease-out);
}
.faq summary i::after {
  transform: rotate(90deg);
}
.faq details[open] summary i::after {
  transform: rotate(0deg);
}
.faq summary:hover i::before,
.faq summary:hover i::after {
  background: var(--ink);
}
.faq details p {
  max-width: 62ch;
  padding-bottom: 24px;
  color: var(--sub);
}
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content {
    block-size: 0;
    overflow-y: clip;
    transition: block-size 0.35s var(--ease-out), content-visibility 0.35s allow-discrete;
  }
  .faq details[open]::details-content {
    block-size: auto;
  }
}

/* ---------------- close (the kit's orange action block) ---------------- */
.close {
  color-scheme: dark;
  background: var(--hot);
  color: var(--on-hot);
  padding-block: clamp(80px, 9vw, 140px);
}
.close-in {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px 64px;
  align-items: center;
}
.logo-on-hot {
  color: var(--on-hot);
}
.logo-on-hot i {
  color: var(--paper);
}
.close h2 {
  margin: 28px 0 18px;
  font-size: clamp(2.5rem, 1.2rem + 4.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.close-lede {
  max-width: 50ch;
  margin-bottom: 30px;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.5;
  color: var(--on-hot-sub);
}
.close-fine {
  margin-top: 18px;
  font-size: 0.9375rem;
  color: var(--on-hot-sub);
}
.close-fine b,
.close-fine a {
  color: var(--on-hot);
  font-weight: 700;
}
.close ::selection {
  background: var(--ground);
  color: var(--hot);
}
.close :focus-visible {
  outline-color: var(--ground);
}
.qr-card {
  justify-self: end;
  width: min(100%, 340px);
  margin: 0;
  padding: 24px;
  border-radius: 28px;
  background: var(--ground);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 3px 8px -2px rgb(74 30 0 / 0.35), 14px 36px 64px -26px rgb(74 30 0 / 0.6);
}
.qr {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.qr-card figcaption {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--sub);
}
.qr-card figcaption b {
  display: block;
  color: var(--ink);
}

/* ---------------- footer ---------------- */
.foot {
  padding: 56px 0 64px;
  border-top: 1px solid var(--line);
}
.foot-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 32px 64px;
}
.foot-brand p {
  margin-top: 12px;
  color: var(--sub);
}
.foot-dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
  margin: 0;
}
.foot-dl dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mute);
}
.foot-dl dd {
  margin: 2px 0 0;
  font-size: 0.9375rem;
}
.foot-note {
  grid-column: 1 / -1;
  max-width: 90ch;
}

/* ---------------- mobile dock ---------------- */
.dock {
  display: none;
}

/* ---------------- responsive ---------------- */
@media (max-width: 1180px) {
  .top-page {
    display: none;
  }
  .top-in {
    grid-template-columns: auto 1fr auto;
  }
  .top-nav {
    justify-content: flex-end;
  }
  .con-body {
    grid-template-columns: 220px minmax(0, 1fr) 270px;
  }
}

@media (max-width: 1080px) {
  .pv-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .pv-checks {
    grid-column: 1 / -1;
    grid-row: 2;
    border-left: 0 !important;
    border-top: 1px solid var(--line) !important;
  }
  .con-body {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .con-rail {
    display: none;
  }
}

@media (max-width: 960px) {
  .top-nav {
    display: none;
  }
  .top-in {
    grid-template-columns: 1fr auto;
  }
  .sec-head-split,
  .dss-facts,
  .jaya-grid,
  .ads-head,
  .ads-grid,
  .how-grid,
  .promises,
  .side,
  .faq-grid,
  .close-in,
  .stack {
    grid-template-columns: minmax(0, 1fr);
  }
  .stack .fine {
    grid-column: auto;
  }
  .promise,
  .promise:first-child {
    padding: 22px 0;
  }
  .promise + .promise {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .paper,
  .faq-grid .sec-head {
    position: static;
  }
  .side-proof {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .tiers {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
  .qr-card {
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .hero-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .con-body {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .con-readout {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .con-strip {
    position: sticky;
    bottom: 0;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 var(--r-panel) var(--r-panel);
    background: var(--ground);
    font-size: 0.875rem;
    color: var(--sub);
  }
  .con-strip b {
    color: var(--ink);
    font-weight: 700;
  }
  .con-strip .hot-text b {
    color: var(--hot-text);
  }
  .con-dots li {
    width: 14px;
  }
  .q-keys {
    display: none;
  }
  .q-nav {
    flex-wrap: wrap;
  }
  .q-nav [data-next] {
    margin-left: auto;
  }
  .q-nav [data-show-result] {
    width: 100%;
  }
  .answers {
    grid-template-columns: minmax(0, 1fr);
  }
  .ans-face {
    height: 56px;
  }
  .ans-face kbd {
    display: none;
  }
  .leaks li {
    grid-template-columns: minmax(0, 1fr);
  }
  .dss-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }
  .dss-stage .browser {
    grid-column: 1 / -1;
    margin-right: 0;
  }
  .dss-stage .phone {
    grid-column: 1;
    grid-row: 2;
    transform: none;
    width: 100%;
    max-width: 210px;
    justify-self: center;
  }
  .lead-card {
    position: static;
    grid-column: 2;
    grid-row: 2;
    width: auto;
    padding: 14px;
    align-self: center;
  }
  .lc-rows div {
    flex-direction: column;
    gap: 0;
  }
  .lc-rows dd {
    text-align: left;
  }
  .dss-facts {
    margin-top: 40px;
  }
  .care-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .care-plan,
  .care-plan:first-child {
    padding: 18px 0;
  }
  .care-plan + .care-plan {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .qr-card {
    display: none;
  }
  .foot-in,
  .foot-dl {
    grid-template-columns: minmax(0, 1fr);
  }
  .foot {
    padding-bottom: 112px;
  }
  .dock {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: color-mix(in oklab, var(--panel) 97%, transparent);
    box-shadow: var(--e3);
    transform: translateY(calc(100% + 24px));
    transition: transform 0.4s var(--ease-out);
  }
  .dock.is-on {
    transform: none;
  }
  .dock .btn {
    flex: 1;
    min-height: 48px;
    padding-inline: 16px;
  }
  .dock-fig {
    display: grid;
    padding-right: 14px;
    text-align: right;
    line-height: 1.15;
  }
  .dock-fig b {
    font-size: 0.9375rem;
    font-weight: 700;
    white-space: nowrap;
  }
  .dock-fig small {
    font-size: 0.6875rem;
    color: var(--sub);
    white-space: nowrap;
  }
  .lk-title {
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
  }
  .lk-title .st {
    margin-top: 1px;
  }
  .lk-title .sev {
    grid-column: 2;
    justify-self: start;
  }
  .fx-sum {
    grid-template-columns: 22px minmax(0, 1fr) 14px;
  }
  .fx-free {
    grid-column: 2;
    grid-row: 2;
  }
  .fx-chev {
    grid-column: 3;
    grid-row: 1;
  }
  .fx-body {
    grid-template-columns: minmax(0, 1fr);
    margin-right: 0;
  }
  .psi-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }
  .ads-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .close .btn-xl {
    width: 100%;
    padding: 0 18px;
    font-size: 1.0625rem;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .terms {
    flex-direction: column;
    gap: 2px;
  }
  .terms li::before,
  .terms li + li::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0 10px 0 2px;
    vertical-align: middle;
    border-radius: 50%;
    background: var(--mute);
  }
  .pv-numbers .field label {
    font-size: 0.8125rem;
    white-space: nowrap;
  }
  .pv-numbers .field output {
    font-size: 1.25rem;
  }
  .c-t {
    font-size: 23px;
  }
  .c-x {
    font-size: 21px;
  }
  .c-peak {
    font-size: 22px;
  }
  .paper-head {
    flex-direction: column;
  }
  .paper-meta {
    text-align: left;
  }
  .paper-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .p-sev {
    width: 72px;
  }
  .pv-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pv-grid > * + * {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .pv-numbers {
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
  }
  .pv-numbers .hint,
  .pv-numbers .range-scale {
    display: none;
  }
  .pv-checks {
    grid-row: 2;
  }
  .pv-result {
    grid-row: 3;
  }
  .qrow {
    flex-direction: column;
    align-items: stretch;
  }
  .qrow-text {
    max-width: none;
  }
  .qrow .seg {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .qrow .seg-opt span {
    text-align: center;
    padding-inline: 6px;
  }
  .panel-bar {
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .panel-bar .panel-meta {
    margin-left: 0;
    width: 100%;
    order: 3;
  }
  .con-bar .panel-title {
    display: none;
  }
  .con-bar .tag {
    display: none;
  }
  .con-bar .con-dots {
    margin-left: 0;
  }
  .con-bar .panel-meta {
    margin-left: auto;
  }
  .ledger thead {
    display: none;
  }
  .ledger,
  .ledger tbody,
  .ledger tr,
  .ledger th,
  .ledger td {
    display: block;
  }
  .ledger tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .ledger th,
  .ledger td {
    padding: 2px 0;
    border: 0;
  }
  .ledger tbody th {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .ledger tbody th span {
    display: inline;
  }
  .ads-mini li {
    grid-template-columns: 76px 1fr;
  }
  .ads-mini li b {
    font-size: 1.5rem;
  }
  .btn-xl {
    width: 100%;
    text-align: center;
  }
  .hero-act .btn-lg {
    width: 100%;
  }
  .side .btn {
    width: 100%;
  }
  .result-actions .btn-hot {
    flex: 1 1 100%;
  }
  .result-actions .btn-line {
    flex: 1 1 auto;
  }
}

@media (max-width: 480px) {
  .top-cta {
    width: 44px;
    min-height: 44px;
    padding: 0;
  }
  .top-cta span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .top-cta .i {
    width: 22px;
    height: 22px;
  }
  .theme-toggle {
    width: 44px;
    height: 44px;
  }
  .con-body .con-stage {
    padding: 22px 18px;
  }
  .con-readout {
    padding: 22px 18px;
  }
  .lc-long {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .seg-opt input:checked + span,
  .ans input:checked + .ans-face,
  .chip[aria-pressed="true"] {
    outline: 2px solid CanvasText;
  }
}

.tier-vs:empty {
  min-height: 0;
  margin: 0 0 14px;
}

/* ================= depth pass: owned graphics ================= */
/* Pricing: each package's route. Blue structure; orange on the recommended package. */
.tier-a,
.tier-b {
  display: contents;
}
.route {
  margin: 18px 0 8px;
}
.route svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.route .tier-route {
  margin: 10px 0 0;
}
.rt-line {
  fill: none;
  stroke: var(--struct);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rt-back {
  stroke-dasharray: 2 4;
}
.rt-arrow {
  fill: var(--struct);
}
.rt-node {
  fill: var(--raised);
  stroke: var(--line-2);
  stroke-width: 1;
}
.rt-main {
  fill: var(--panel);
  stroke: var(--struct);
}
.rt-t {
  fill: var(--ink);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
}
.rt-s {
  fill: var(--mute);
  font-family: var(--font);
  font-size: 11.5px;
}
.tier-rec .rt-line {
  stroke: var(--hot-fig);
}
.tier-rec .rt-arrow {
  fill: var(--hot-fig);
}
.tier-rec .rt-main {
  stroke: var(--hot-fig);
}
.tier-rec .rt-wa {
  fill: var(--hot);
  stroke: var(--hot-lo);
}
.tier-rec .rt-wa-t {
  fill: var(--on-hot-label);
}

/* Bonus stack: one bar split by the real values, in orange tints. */
.stack-bar {
  display: flex;
  gap: 3px;
  height: 12px;
  margin-top: 20px;
  border-radius: 6px;
  overflow: clip;
}
.stack-bar span {
  flex: var(--v) 1 0;
}
.sw {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 10px;
  border-radius: 3px;
}
.sb-0 {
  background: var(--hot);
}
.sb-1 {
  background: color-mix(in oklab, var(--hot) 68%, var(--panel));
}
.sb-2 {
  background: color-mix(in oklab, var(--hot) 44%, var(--panel));
}
.sb-3 {
  background: color-mix(in oklab, var(--hot) 24%, var(--panel));
}

/* The real audit: the report is a physical sheet with a second page behind it. */
.paper-stack {
  position: relative;
}
.paper-stack::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: #eceef2;
  box-shadow: inset 0 0 0 1px rgb(16 24 40 / 0.07), var(--e1);
  transform: translate(14px, 16px) rotate(1.4deg);
}
.paper-stack .paper-sheet {
  position: relative;
}

/* Tilt and layer depth on wide screens only; phones keep flat, scroll-driven depth. */
@property --sep {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}
@property --tx {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}
@property --ty {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}
@media (min-width: 961px) {
  /* DSS: browser, phone and lead card as a layered stack, lit from the top left. */
  .dss-stage {
    transform-style: preserve-3d;
    transform: perspective(2200px) rotateX(calc(2deg + var(--tx))) rotateY(calc(-5deg + var(--ty)));
    transition: --tx 0.7s var(--ease-out), --ty 0.7s var(--ease-out);
  }
  .dss-stage .phone {
    translate: 0 0 calc(var(--sep) * 70px);
  }
  .dss-stage .lead-card {
    translate: 0 0 calc(var(--sep) * 130px);
  }
  /* Jaya: its browser turns the other way. */
  .jaya-grid {
    perspective: 2200px;
  }
  .qr-card {
    transform: perspective(1200px) rotateX(var(--tx)) rotateY(var(--ty));
    transition: --tx 0.7s var(--ease-out), --ty 0.7s var(--ease-out);
  }
  .jaya-grid .browser {
    rotate: y 5deg;
    transform-origin: 100% 50%;
  }
  .paper {
    perspective: 1800px;
  }
  .paper {
    transition: --tx 0.7s var(--ease-out), --ty 0.7s var(--ease-out);
  }
  .paper-stack {
    transform: rotateY(calc(-8deg + var(--ty))) rotateX(calc(3deg + var(--tx)));
    transform-origin: 40% 50%;
  }
}
@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes dss-sep {
      from {
        --sep: 0.1;
      }
      to {
        --sep: 1;
      }
    }
    .dss-stage {
      animation: dss-sep linear both;
      animation-timeline: view();
      animation-range: entry 15% cover 45%;
    }
  }
}

/* Tablet: a package reads as one row, details on the right, instead of a narrow column. */
@media (min-width: 641px) and (max-width: 960px) {
  .tiers {
    max-width: none;
  }
  .tier {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-rows: auto 1fr;
    column-gap: 36px;
  }
  .tier-a {
    display: block;
    grid-column: 1;
    grid-row: 1;
  }
  .tier-b {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .tier-cta {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
  }
  .tier-rec {
    transform: none;
  }
  .tier-b .tier-terms {
    margin-bottom: 0;
  }
}

/* ================= hero scene: the enquiry line ================= */
/* Copy left, scene right on wide screens; on phones the scene sits between the button and the
   preview. The box is reserved by its aspect ratio, so nothing moves when it draws. */
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: 24px 40px;
}
.hero-top .hero-h {
  font-size: clamp(2.5rem, 1rem + 3.6vw, 4.5rem);
}
.hero-copy .hero-row {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.hero-copy .terms {
  display: grid;
  gap: 2px;
}
.hero-copy .terms li::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 10px 0 2px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--mute);
}
.hero-top + .preview {
  margin-top: clamp(24px, 3vw, 40px);
}
.scene {
  margin: 0;
}
.sc-box {
  position: relative;
  aspect-ratio: 560 / 440;
  transform-style: preserve-3d;
  transform: perspective(1600px) rotateX(var(--tx)) rotateY(var(--ty));
  transition: --tx 0.7s var(--ease-out), --ty 0.7s var(--ease-out);
}
.sc-box svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sc-note {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--mute);
  text-align: right;
}

/* drawing */
/* Isometric boxes, lit from the top left: the left face carries the base colour (--b), the top is
   lifted toward white and the right face falls into shade. */
.ibox .f-l {
  fill: var(--b, var(--panel));
}
.ibox .f-t {
  fill: color-mix(in oklab, var(--b, var(--panel)), #fff var(--lift, 16%));
}
.ibox .f-r {
  fill: color-mix(in oklab, var(--b, var(--panel)), var(--iso-shade) 30%);
}
.ibox polygon {
  stroke-linejoin: round;
  transition: fill 0.3s, stroke 0.3s;
}
.sc-grid {
  stroke: var(--line);
  stroke-width: 1;
}
.sc-shadow {
  fill: var(--iso-sh);
}
.sc-shadow-lo {
  opacity: 0.45;
}
.sc-body polygon {
  stroke: var(--line-2);
  stroke-width: 0.9;
}
.sc-lit {
  stroke: var(--iso-lit);
  stroke-width: 1.2;
  stroke-linecap: round;
}
.sc-scr {
  fill: var(--ground);
}
.sc-site .sc-bar {
  fill: var(--raised);
}
.sc-site circle {
  fill: var(--line-2);
}
.sc-url {
  fill: var(--line);
}
.sc-blk {
  fill: var(--sub);
}
.sc-blk2 {
  fill: var(--line-2);
}
.sc-img {
  fill: var(--struct-soft);
}
.sc-cta {
  fill: var(--hot);
}
.sc-bed {
  fill: var(--raised);
  stroke: var(--line);
}
.sc-bed-side {
  fill: color-mix(in oklab, var(--raised), var(--iso-shade) 38%);
}
.sc-sleeper {
  stroke: var(--line-2);
  stroke-width: 1.3;
}
.sc-rail {
  stroke: var(--struct);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.sc-branch {
  fill: var(--band);
  stroke: var(--line);
  transition: fill 0.4s;
}
.sc-brail {
  stroke: var(--line-2);
  stroke-width: 1.3;
  transition: stroke 0.4s;
}
.sc-plate {
  --b: var(--panel);
}
.sc-plate .f-t {
  stroke: var(--struct);
  stroke-width: 1.2;
}
.sc-post {
  stroke: var(--line-2);
  stroke-width: 1.4;
}
/* Gates: a framed leaf with a brace on a hinge post (app.js swings it). "No" opens it toward the tray
   and lights the branch; "Not sure" opens it halfway. */
.sc-gpost {
  stroke: var(--line-2);
  stroke-width: 2.2;
  stroke-linecap: round;
}
.sc-leaf {
  fill: color-mix(in oklab, var(--raised) 90%, transparent);
  stroke: var(--struct);
  stroke-width: 1.3;
  stroke-linejoin: round;
  transition: fill 0.35s, stroke 0.35s;
}
.sc-brace {
  stroke: var(--struct);
  stroke-width: 1;
  stroke-linecap: round;
  opacity: 0.6;
  transition: stroke 0.35s;
}
.sc-leaf-top {
  stroke: var(--struct);
  stroke-width: 2.4;
  stroke-linecap: round;
  transition: stroke 0.35s;
}
.sc-jn[data-state="no"] .sc-leaf {
  fill: color-mix(in oklab, var(--hot) 22%, var(--panel));
}
.sc-jn[data-state="unsure"] .sc-leaf {
  fill: color-mix(in oklab, var(--hot) 11%, var(--panel));
}
.sc-jn:is([data-state="no"], [data-state="unsure"]) :is(.sc-leaf, .sc-brace, .sc-leaf-top) {
  stroke: var(--hot-fig);
}
.sc-jn[data-state="no"] .sc-branch {
  fill: color-mix(in oklab, var(--hot) 24%, var(--panel));
}
.sc-jn[data-state="unsure"] .sc-branch {
  fill: color-mix(in oklab, var(--hot) 12%, var(--panel));
}
.sc-jn[data-state="no"] .sc-brail,
.sc-jn[data-state="unsure"] .sc-brail {
  stroke: var(--hot-fig);
}
/* The lost tray: a machined well with neutral outer walls; only its inside carries the loss tint. */
.sc-tray-floor {
  fill: color-mix(in oklab, var(--hot) 13%, var(--ground));
}
.sc-tray-in {
  fill: color-mix(in oklab, var(--hot) 10%, var(--panel));
}
.sc-tray-in2 {
  fill: color-mix(in oklab, var(--hot) 8%, color-mix(in oklab, var(--panel), var(--iso-shade) 24%));
}
.sc-tray-rim,
.sc-tray-front,
.sc-tray-side {
  stroke: var(--line-2);
  stroke-width: 0.9;
  stroke-linejoin: round;
}
.sc-tray-rim {
  fill: color-mix(in oklab, var(--panel), #fff 16%);
}
.sc-tray-front {
  fill: var(--panel);
}
.sc-tray-side {
  fill: color-mix(in oklab, var(--panel), var(--iso-shade) 30%);
}
.sc-rim {
  fill: none;
  stroke: color-mix(in oklab, var(--hot-fig) 80%, transparent);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
/* Capsules (enquiries): small blocks that turn their long side to the direction of travel. */
.sc-cap {
  --b: var(--struct);
  --lift: 24%;
}
.sc-cap .cy,
.sc-cap.is-y .cx {
  display: none;
}
.sc-cap.is-y .cy {
  display: inline;
}
.sc-cap.is-lost {
  --b: var(--hot);
}
@media (prefers-reduced-motion: no-preference) {
  .sc-caps > .sc-cap,
  .ad-caps > .sc-cap {
    animation: cap-in 0.35s var(--ease-out);
  }
  @keyframes cap-in {
    from {
      opacity: 0;
    }
  }
}
/* The phone: a rounded body with depth; each arriving enquiry slides a message into the thread. */
.sc-dev {
  fill: var(--device);
  stroke: var(--device-edge);
  stroke-width: 1;
}
.sc-dev-side {
  fill: var(--device-side);
}
.sc-screen {
  fill: var(--panel);
}
.sc-wa-head {
  fill: var(--raised);
}
.sc-avatar,
.sc-name {
  fill: var(--line-2);
}
.sc-bub {
  fill: var(--raised);
  transition: transform 0.45s var(--ease-out), fill 0.45s;
}
.sc-bub.no-t {
  transition: none;
}
.sc-bub-me {
  fill: color-mix(in oklab, var(--struct) 30%, var(--panel));
}
.sc-bub-new {
  fill: color-mix(in oklab, var(--hot) 30%, var(--panel));
}
.sc-ping {
  fill: var(--hot);
  transform-box: fill-box;
  transform-origin: center;
}
.sc-phone.is-ping .sc-ping {
  animation: ping 0.5s var(--ease-out);
}
@keyframes ping {
  40% {
    transform: scale(1.7);
  }
}

/* labels float a little above the drawing */
.sc-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: translateZ(36px);
}
.sc-l {
  position: absolute;
  display: grid;
  gap: 1px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  white-space: nowrap;
}
.sc-l > span {
  font-weight: 400;
  color: var(--sub);
}
.sc-l b {
  font-weight: 700;
  color: var(--ink);
}
.sc-l-site {
  transform: translate(10px, -50%);
}
.sc-l-phone {
  text-align: right;
  transform: translate(-100%, calc(-100% - 12px));
}
/* the key for the moving blocks: a block-coloured chip, slanted like the line, beside "Leads" */
.sc-l-lead {
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translate(calc(-100% - 4px), -4px);
}
.sc-key {
  width: 13px;
  height: 7px;
  border-radius: 2px;
  background: var(--struct);
  transform: skewY(30deg);
}
.sc-l-tray {
  transform: translate(-40%, 14px);
}
.sc-l-tray b {
  color: var(--hot-fig);
}
.sc-n {
  position: absolute;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: -26px 0 0 -12px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--panel);
  box-shadow: var(--e1);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sub);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.sc-n[data-state="yes"] {
  background: var(--ok);
  border-color: var(--ok);
  color: var(--ground);
}
.sc-n[data-state="no"] {
  background: var(--bad);
  border-color: var(--bad);
  color: var(--ground);
}
.sc-n[data-state="unsure"] {
  background: var(--warn);
  border-color: var(--warn);
  color: var(--ground);
}

@media (max-width: 960px) {
  .hero-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-top .hero-h {
    font-size: clamp(2.5rem, 0.9rem + 5.2vw, 4.5rem);
  }
  .scene {
    width: 100%;
    max-width: 600px;
    justify-self: center;
  }
}
@media (max-width: 480px) {
  .sc-l {
    font-size: 0.75rem;
  }
  .sc-n {
    width: 20px;
    height: 20px;
    margin: -22px 0 0 -10px;
    font-size: 0.6875rem;
  }
}

/* Narrow phones: the two preview inputs stack, so their labels never run together. */
@media (max-width: 420px) {
  .pv-numbers {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

/* The second page of the report sits below the sheet; keep the caption clear of it. */
.paper figcaption {
  margin-top: 30px;
}

/* ================= Lead Engine: the ads line ================= */
/* Three platforms feed one line through a tracking check to your WhatsApp; the check names the ad
   behind each enquiry as it passes. Same projection and parts as the hero. */
.adl {
  margin: 0 0 24px;
}
.ad-box {
  position: relative;
  aspect-ratio: 380 / 280;
  max-width: 440px;
  margin: 0 auto;
}
.ad-box svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ad-scr {
  fill: var(--panel);
}
.ad-arch.is-on {
  --b: var(--struct);
}
.ad-l-src {
  transform: translate(-50%, calc(-100% - 7px));
}
.ad-l-check {
  transform: translate(12px, calc(-100% - 2px));
}
.ad-l-check b {
  display: inline-block;
}
.ad-l-check b.is-new {
  animation: src-in 0.35s var(--ease-out);
}
@keyframes src-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
.ad-l-phone {
  text-align: right;
  transform: translate(calc(-100% - 8px), -2px);
}
.adl .sc-note {
  text-align: right;
}

/* ================= pricing: an enquiry runs each package's route ================= */
.rt-mp {
  fill: none;
  stroke: none;
}
.rt-dot {
  fill: var(--struct);
}
.tier-rec .rt-dot {
  fill: var(--hot-fig);
}
.rt-node {
  transition: stroke 0.3s;
}
.rt-node.is-hit {
  stroke: var(--ink);
}
.tier-rec .rt-wa.is-hit {
  stroke: var(--on-hot-label);
}

/* ================= proof figures measure themselves in ================= */
/* The PageSpeed bars, the bonus stack and the Jaya weeks grow to their values once, when most of the
   figure is on screen (app.js adds .is-in), and then stay drawn. Full value without JS and under
   reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal]:not(.is-in) .psi-bar span,
  .js [data-reveal]:not(.is-in) .stack-bar span {
    transform: scaleX(0);
  }
  .js [data-reveal]:not(.is-in) .c-bar {
    transform: scaleY(0);
  }
  .js .psi-bar span {
    transition: transform 1.1s var(--ease-out) calc(0.1s + var(--n, 0) * 0.09s);
  }
  .js .psi-board li:nth-child(2) {
    --n: 1;
  }
  .js .psi-board li:nth-child(3) {
    --n: 2;
  }
  .js .psi-board li:nth-child(4) {
    --n: 3;
  }
  .js .stack-bar span {
    transform-origin: 0 50%;
    transition: transform 0.9s var(--ease-out) calc(0.1s + var(--n, 0) * 0.1s);
  }
  .js .stack-bar span:nth-child(2) {
    --n: 1;
  }
  .js .stack-bar span:nth-child(3) {
    --n: 2;
  }
  .js .stack-bar span:nth-child(4) {
    --n: 3;
  }
  .js .c-bar {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    transition: transform 0.85s var(--ease-out) calc(0.08s + var(--i) * 0.045s), opacity 0.2s;
  }
}

/* ================= polish pass, 2026-11-13 ================= */

/* ---- header: on desktop the bar lifts off the page into a floating panel once scrolled ---- */
.top {
  transition: background-color 0.35s, border-color 0.3s, box-shadow 0.3s;
}
.top-in::before {
  content: "";
  position: absolute;
  inset: 8px -14px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  box-shadow: var(--e3);
  opacity: 0;
  scale: 0.99 0.94;
  transition: opacity 0.35s var(--ease-out), scale 0.45s var(--ease-out);
  pointer-events: none;
}
@media (min-width: 961px) {
  .top.is-scrolled {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    pointer-events: none;
  }
  .top.is-scrolled .top-in > * {
    pointer-events: auto;
  }
  .top.is-scrolled .top-in::before {
    opacity: 1;
    scale: 1;
  }
  .top.is-scrolled .top-nav {
    background: color-mix(in oklab, var(--ground), var(--panel) 30%);
  }
  /* reading progress becomes a hairline along the floating panel's base */
  .top.is-scrolled .progress {
    left: calc((100% - min(100% - 2 * var(--gutter), 1280px)) / 2 + 18px);
    right: calc((100% - min(100% - 2 * var(--gutter), 1280px)) / 2 + 18px);
    bottom: 9px;
    opacity: 0.3;
  }
}
@media (max-width: 1180px) and (min-width: 961px) {
  .top-in {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }
  .top-leak {
    display: none;
  }
}
@media (max-width: 960px) {
  .top-leak {
    display: none;
  }
}

/* ---- hero: an example run until the visitor answers ---- */
.scene {
  position: relative;
}
.sc-mode {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  pointer-events: none;
}
.sc-mode .tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 11px 3px 9px;
  background: var(--panel);
  box-shadow: var(--e1);
}
.sc-mode .tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}
.scene.is-example .sc-mode .tag::before {
  background: var(--struct);
}
@media (prefers-reduced-motion: no-preference) {
  .scene.is-example .sc-mode .tag::before {
    animation: mode-beat 2.6s ease-in-out infinite;
  }
  @keyframes mode-beat {
    50% {
      opacity: 0.25;
    }
  }
}
/* with the visitor's own answers, a check not yet answered shows as open-ended */
.scene:not(.is-example) .sc-n:not([data-state]) {
  border-style: dashed;
  box-shadow: none;
}

/* ---- self-check: the line beside the questions, and a readout that opens step by step ---- */
.cline {
  margin: -8px -14px 0;
}
.cl-box {
  position: relative;
}
.cl-box svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.cline .sc-note {
  margin-top: 0;
  text-align: left;
  padding-inline: 4px;
}
.cline .sc-leaf {
  stroke-width: 0.9;
}
.cline .sc-brace {
  stroke-width: 0.7;
}
.cline .sc-leaf-top {
  stroke-width: 1.6;
}
.cline .sc-gpost {
  stroke-width: 1.5;
}
.cline .sc-rail {
  stroke-width: 1.2;
}
.cline .sc-sleeper,
.cline .sc-brail {
  stroke-width: 1;
}
.cline .sc-body polygon,
.cline .sc-tray-rim,
.cline .sc-tray-front,
.cline .sc-tray-side {
  stroke-width: 0.7;
}
.cl-plate .f-t {
  transition: stroke 0.3s, stroke-width 0.3s;
}
.cline .sc-jn[data-state="yes"] .cl-plate .f-t {
  stroke: var(--ok);
}
.cline .sc-jn[data-state="no"] .cl-plate .f-t {
  stroke: var(--bad);
}
.cline .sc-jn[data-state="unsure"] .cl-plate .f-t {
  stroke: var(--warn);
}
/* the check on screen now */
.cline .sc-jn.is-current .cl-plate {
  --b: var(--raised);
}
.cline .sc-jn.is-current .cl-plate .f-t {
  stroke: var(--ink);
  stroke-width: 1.6;
}
.con-readout {
  gap: 20px;
}
.ro-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--mute);
}
.ro-score .meter {
  margin-bottom: 0;
}
.ro-wait {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--sub);
}
.ro-wait b {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.ro-figs {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.55s var(--ease-out), opacity 0.45s var(--ease-out);
}
.ro-figs > div {
  display: grid;
  gap: 20px;
  min-height: 0;
  overflow: hidden;
}
.ro-est.is-on .ro-figs {
  grid-template-rows: 1fr;
  opacity: 1;
}
.ro-est.is-on .ro-wait {
  display: none;
}
.ro-nums {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.ro-nums > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 12px;
  cursor: pointer;
  list-style: none;
}
.ro-nums > summary::-webkit-details-marker {
  display: none;
}
.ro-nums-k {
  font-size: 0.875rem;
  font-weight: 600;
}
.ro-nums-v {
  grid-column: 1;
  font-size: 0.8125rem;
  color: var(--sub);
}
.ro-nums > summary::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 1.5px solid var(--sub);
  border-bottom: 1.5px solid var(--sub);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease-out);
}
.ro-nums[open] > summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}
.ro-nums > summary:hover .ro-nums-k {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
.ro-nums .ro-inputs {
  padding-top: 16px;
  border-top: 0;
}

/* ---- DSS stage: a finished browser, a real phone, a lead that arrives ---- */
.b-bar {
  height: 40px;
  background: color-mix(in oklab, var(--panel), var(--raised) 55%);
}
.b-bar i {
  width: 9px;
  height: 9px;
  background: color-mix(in oklab, var(--line-2), var(--sub) 18%);
}
.b-bar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: min(40%, 320px);
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: var(--well);
}
.b-bar span .i {
  width: 12px;
  height: 12px;
  stroke-width: 2;
  color: var(--mute);
}
.phone {
  position: relative;
  padding: 7px;
  border-color: var(--device-edge);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.05), inset 0 1px 0 rgb(255 255 255 / 0.18), var(--e3);
}
/* volume keys on the left edge, the side key on the right */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: var(--device-edge);
}
.phone::before {
  left: -3px;
  top: 20%;
  height: 30px;
  box-shadow: 0 40px 0 var(--device-edge);
}
.phone::after {
  right: -3px;
  top: 25%;
  height: 52px;
}
.phone-screen {
  position: relative;
  border-radius: 27px;
}
.phone-screen::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 7px;
  left: 50%;
  width: 30%;
  height: 16px;
  border-radius: 999px;
  background: #000;
  translate: -50% 0;
}
.lead-card {
  padding: 14px 16px 14px;
  border-radius: 18px;
}
.lc-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  margin-bottom: 12px;
}
.lc-ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--raised);
  box-shadow: var(--e1);
  color: var(--ink);
}
.lc-ic .i {
  width: 18px;
  height: 18px;
}
.lc-from {
  display: grid;
  line-height: 1.25;
}
.lc-from small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--mute);
}
.lc-btn {
  background: var(--raised);
  box-shadow: inset 0 1px 0 var(--lit), 0 1px 2px var(--sh-1);
}
@media (prefers-reduced-motion: no-preference) {
  .js .dss-stage .lead-card {
    transition: opacity 0.6s var(--ease-out) 0.5s, transform 0.9s var(--ease-out) 0.5s;
  }
  .js .dss-stage:not(.is-in) .lead-card {
    opacity: 0;
    transform: translateY(22px);
  }
}

/* ---- Jaya: the direct order, step by step ---- */
.jaya-side {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.jflow-k {
  margin: 6px 0 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sub);
}
.jflow {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.jflow li {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding-bottom: 8px;
}
.jflow li:last-child {
  padding-bottom: 0;
}
/* the path between steps runs from one plinth down to the next */
.jflow li::before {
  content: "";
  position: absolute;
  left: 42px;
  top: 80px;
  bottom: -2px;
  width: 1px;
  background: var(--line-2);
}
.jflow li:last-child::before {
  display: none;
}
.jf-ico {
  position: relative;
  width: 84px;
}
.jf-svg {
  display: block;
  width: 84px;
  height: auto;
  overflow: visible;
}
.jf-n {
  position: absolute;
  left: 0;
  top: 4px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--panel);
  box-shadow: var(--e1);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--sub);
}
/* the objects: neutral bodies, ink detail, one hot mark per step (the scan, the pick, the pin) */
.jf-svg .ibox polygon {
  stroke: var(--line-2);
  stroke-width: 0.6;
}
.jf-plinth {
  --b: var(--panel);
}
.jf-plinth .f-t {
  transition: stroke 0.3s;
}
.jf-stand,
.jf-dev,
.jf-house {
  --b: var(--raised);
}
.jf-mod,
.jf-ink {
  fill: var(--ink);
}
.jf-line,
.jf-dot {
  fill: var(--line-2);
}
.jf-scan,
.jf-head {
  fill: var(--hot-fig);
}
.jf-scan {
  opacity: 0;
}
.jf-scr {
  fill: var(--ground);
}
.jf-order,
.jf-cardb {
  --b: var(--struct);
}
.jf-svg .jf-order polygon,
.jf-svg .jf-cardb polygon {
  stroke: color-mix(in oklab, var(--struct), var(--iso-shade) 30%);
}
.jf-stripe {
  stroke: color-mix(in oklab, var(--struct), var(--iso-shade) 45%);
  stroke-width: 1.4;
}
.jf-chip {
  fill: var(--iso-lit);
}
.jf-tick circle {
  fill: var(--ink);
}
.jf-tick path {
  fill: none;
  stroke: var(--ground);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.jf-tick {
  transform-box: fill-box;
  transform-origin: center;
}
.jf-route {
  fill: none;
  stroke: var(--sub);
  stroke-width: 1.1;
  stroke-dasharray: 2 2.2;
  stroke-linecap: round;
}
.jf-roof {
  fill: color-mix(in oklab, var(--raised), #fff 14%);
  stroke: var(--line-2);
  stroke-width: 0.6;
  stroke-linejoin: round;
}
.jf-gable {
  fill: color-mix(in oklab, var(--raised), var(--iso-shade) 30%);
  stroke: var(--line-2);
  stroke-width: 0.6;
  stroke-linejoin: round;
}
.jf-door {
  fill: var(--ink);
}
.jf-stem {
  stroke: var(--ink);
  stroke-width: 1.1;
  stroke-linecap: round;
}
.jf-head {
  stroke: var(--ground);
  stroke-width: 0.8;
}
.jf-pin {
  transform: translate(var(--d2));
}
/* CSS loops marked data-run play only while on screen (app.js sets .is-run) */
.js [data-run]:not(.is-run),
.js [data-run]:not(.is-run) * {
  animation-play-state: paused !important;
}
.jflow b {
  display: block;
  padding-top: 5px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
}
.jflow li span:not(.jf-n) {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  color: var(--sub);
}
@media (prefers-reduced-motion: no-preference) {
  /* an order walks the steps: each node lights in turn and its object acts the step out, on one
     5.6s clock offset by step, while the list is on screen */
  .js .jflow :is(.jf-n, .jf-plinth .f-t, .jf-scan, .jf-pick, .jf-drop, .jf-card, .jf-tick, .jf-pin) {
    animation: 5.6s var(--ease-out) infinite backwards;
    animation-delay: calc(var(--n) * 1.15s);
  }
  .js .jflow .jf-n {
    animation-name: jf-lit;
  }
  .js .jflow .jf-plinth .f-t {
    animation-name: jf-plinth;
  }
  .js .jflow .jf-scan {
    animation-name: jf-scan;
  }
  .js .jflow .jf-pick {
    animation-name: jf-pick;
  }
  .js .jflow .jf-drop {
    animation-name: jf-drop;
  }
  .js .jflow .jf-card {
    animation-name: jf-card;
  }
  .js .jflow .jf-tick {
    animation-name: jf-tick;
  }
  .js .jflow .jf-pin {
    animation-name: jf-pin;
    animation-timing-function: linear;
  }
  @keyframes jf-plinth {
    0%,
    24% {
      stroke: var(--ink);
    }
    36%,
    100% {
      stroke: var(--line-2);
    }
  }
  @keyframes jf-scan {
    0% {
      transform: translateY(0);
      opacity: 1;
    }
    20% {
      transform: translateY(20px);
      opacity: 1;
    }
    26%,
    100% {
      transform: translateY(20px);
      opacity: 0;
    }
  }
  @keyframes jf-pick {
    0%,
    5% {
      fill: var(--line-2);
    }
    9%,
    24% {
      fill: var(--hot-fig);
    }
    34%,
    100% {
      fill: var(--line-2);
    }
  }
  @keyframes jf-drop {
    0%,
    8% {
      transform: translateY(-14px);
      opacity: 0;
    }
    17%,
    86% {
      transform: none;
      opacity: 1;
    }
    95%,
    100% {
      transform: none;
      opacity: 0;
    }
  }
  @keyframes jf-card {
    0% {
      transform: none;
    }
    9% {
      transform: translate(6px, -5px);
    }
    15% {
      transform: translate(9px, -3px);
    }
    26%,
    100% {
      transform: none;
    }
  }
  @keyframes jf-tick {
    0%,
    14% {
      transform: scale(0.4);
      opacity: 0;
    }
    20%,
    86% {
      transform: none;
      opacity: 1;
    }
    95%,
    100% {
      transform: none;
      opacity: 0;
    }
  }
  @keyframes jf-pin {
    0% {
      transform: none;
      opacity: 1;
    }
    11% {
      transform: translate(var(--d1));
    }
    22%,
    86% {
      transform: translate(var(--d2));
      opacity: 1;
    }
    95% {
      transform: translate(var(--d2));
      opacity: 0;
    }
    100% {
      transform: none;
      opacity: 0;
    }
  }
  @keyframes jf-lit {
    0%,
    24% {
      border-color: var(--ink);
      background: var(--ink);
      color: var(--ground);
    }
    36%,
    100% {
      border-color: var(--line-2);
      background: var(--panel);
      color: var(--sub);
    }
  }
}

/* ---- the two side offers: terms as a spec sheet, the action anchored at the foot ---- */
.side-copy {
  display: flex;
  flex-direction: column;
}
.side-copy > .btn {
  align-self: flex-start;
  margin-top: auto;
}
.side-terms {
  margin: 26px 0 32px;
  gap: 0;
  border-top: 1px solid var(--line);
}
.side-terms > div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.side-terms dt {
  padding-top: 2px;
  font-size: 0.8125rem;
}
@media (max-width: 520px) {
  .side-terms > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}
/* Explomo: the step being done is the one orange thing; steps already done settle into structure blue */
.pp-arch.is-on {
  --b: color-mix(in oklab, var(--struct) 62%, var(--panel));
}
.pp-arch.is-now {
  --b: var(--hot-fig);
}
.pp-plate.is-on {
  --b: color-mix(in oklab, var(--struct) 14%, var(--panel));
}
.pp-plate.is-on .f-t {
  stroke: var(--struct);
}
.pp-plate.is-now {
  --b: color-mix(in oklab, var(--hot) 18%, var(--panel));
}
.pp-plate.is-now .f-t {
  stroke: var(--hot-fig);
}
.pp-st.is-on:not(.is-now) .pp-wbody .f-l {
  stroke: var(--struct);
}
.pp-st.is-on:not(.is-now) .pp-head {
  fill: color-mix(in oklab, var(--struct) 30%, var(--panel));
}
.pp-n.is-on,
.pipe-steps li.is-on b {
  background: var(--panel);
  border-color: var(--struct);
  color: var(--ink);
}
.pp-n.is-now,
.pipe-steps li.is-now b {
  background: color-mix(in oklab, var(--hot) 16%, var(--panel));
  border-color: var(--hot-fig);
  color: var(--hot-text);
}
.pipe-steps li.is-now {
  font-weight: 600;
}
/* the keyboard hint steps aside when "See my result" needs the room */
@media (max-width: 1499px) {
  .q-nav:has([data-show-result]:not([hidden])) .q-keys {
    display: none;
  }
}

/* ================= phone pass, 2026-11-14 ================= */
/* The sheet under the audit report sat 14px right and turned 1.4deg; on a phone that reached 8px past
   the screen and the browser zoomed the whole page out to fit. Phones get a shallower stack. */
@media (max-width: 640px) {
  .paper-stack::before {
    transform: translate(5px, 10px) rotate(0.5deg);
  }
  /* the sample report's smallest labels stay readable on a phone */
  .p-sev,
  .p-tag {
    font-size: 12px;
  }
  /* the footer's company line breaks before the SSM number instead of after a dangling dot */
  .foot-dl .sep {
    display: none;
  }
  .foot-dl dd > .nowrap {
    display: block;
  }
}
/* The header on narrow phones: with the nav hidden it is two columns, and the 25.6px wordmark plus the
   two actions overran a 360px screen by 9px (the WhatsApp button hung off the edge). Tighter gap, and the
   wordmark steps down on the narrowest screens. */
@media (max-width: 960px) {
  .top-in {
    gap: 12px;
  }
}
@media (max-width: 380px) {
  .top .logo span {
    font-size: 22px;
  }
}
@media (max-width: 340px) {
  /* the hero action stays one line on a 320px screen */
  .btn-lg {
    padding-inline: 16px;
    font-size: 0.9375rem;
  }
  .top .logo span {
    font-size: 19px;
  }
  .top .logo svg {
    width: 24px;
    height: 24px;
  }
}
/* DSS on a phone: half the width left the example enquiry about 35px for its title, so "Bulk quote
   request" broke over three lines under the HOT tag. The phone keeps a fixed column; the card takes
   the rest, drops the icon and sets HOT on its own row above the title. */
@media (max-width: 480px) {
  .dss-stage {
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 12px;
  }
  .dss-stage .phone {
    max-width: 148px;
  }
  .dss-stage .lead-card {
    padding: 13px 12px;
  }
  .lc-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .lc-ic {
    display: none;
  }
  .lc-score {
    order: -1;
    justify-self: start;
  }
  .lc-from {
    font-size: 0.9375rem;
  }
}
/* Touch: every control is at least 44px to the finger. Buttons grow; inline links and small toggles
   keep their look and get a larger invisible hit area. */
@media (pointer: coarse) {
  .seg-opt span {
    padding-block: 11px;
  }
  .seg-sm span {
    padding-block: 11px;
  }
  .chip {
    min-height: 44px;
  }
  .how summary,
  .chart-table summary {
    min-height: 44px;
  }
  .link-arrow,
  .top .logo,
  .foot .logo,
  .foot-dl a,
  .foot-note a {
    position: relative;
  }
  .link-arrow::after,
  .top .logo::after,
  .foot .logo::after,
  .foot-dl a::after,
  .foot-note a::after {
    content: "";
    position: absolute;
    inset: -12px -6px;
  }
}

/* ================= secondary pages: privacy policy, 404 ================= */
.doc-page .top {
  position: sticky;
}
.doc-page .top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.doc {
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 46rem);
  column-gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.doc-head {
  grid-column: 1 / -1;
  max-width: 46rem;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.doc h1,
.doc .doc-h1 {
  font-size: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.doc-meta {
  margin-top: 14px;
  font-size: 0.875rem;
  color: var(--mute);
}
.doc-meta a,
.doc-body a,
.foot-note a {
  color: var(--ink);
  text-underline-offset: 3px;
}
.doc-toc {
  position: sticky;
  top: calc(var(--top-h) + 24px);
  font-size: 0.875rem;
}
.doc-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--line);
}
.doc-toc a {
  display: block;
  padding: 5px 0 5px 14px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  color: var(--sub);
  text-decoration: none;
}
.doc-toc a:hover {
  color: var(--ink);
  border-left-color: var(--ink);
}
.doc-body {
  grid-column: 2;
  max-width: 68ch;
}
.doc-sec {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--top-h) + 16px);
}
.doc-sec h2 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.doc-sec p,
.doc-sec li {
  color: var(--sub);
}
.doc-sec p + p,
.doc-sec ul + p,
.doc-sec ol + p {
  margin-top: 10px;
}
.doc-sec ul,
.doc-sec ol {
  margin: 0;
  padding-left: 1.25em;
  display: grid;
  gap: 6px;
}
.doc-sec b {
  color: var(--ink);
  font-weight: 600;
}
.doc-sec code {
  font-size: 0.9em;
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--raised);
  color: var(--ink);
}
#delete,
#bm-padam {
  margin-top: 8px;
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--panel);
  box-shadow: var(--e1);
}
#delete + .doc-sec,
#bm-padam + .doc-sec {
  margin-top: 24px;
}
.doc-note {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--mute);
}
.doc-lang {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 46rem);
  column-gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line-2);
  scroll-margin-top: var(--top-h);
}
.doc-lang .doc-head {
  grid-column: 1 / -1;
}
.doc-404 {
  display: block;
  min-height: 52vh;
}
.doc-404 h1 {
  max-width: 14em;
}
.doc-404 .lede {
  max-width: 44ch;
}
.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 860px) {
  .doc,
  .doc-lang {
    grid-template-columns: minmax(0, 1fr);
  }
  .doc-toc {
    position: static;
    margin-bottom: 8px;
  }
  .doc-body {
    grid-column: 1;
  }
}
@media (max-width: 480px) {
  .doc-actions .btn {
    width: 100%;
  }
  #delete,
  #bm-padam {
    padding: 20px 18px;
  }
}
