/* ==========================================================================
   Bidets: Smart Toilet Fit — bidets.app
   Shared stylesheet for /, /support, /privacy, /terms
   --------------------------------------------------------------------------
   1. Tokens
   2. Reset + base
   3. Layout primitives
   4. Header / nav
   5. Buttons, pills, links
   6. Hero
   7. iPhone frame + in-app report UI
   8. Cards: stats, principles, steps
   9. Report preview module
  10. Stance band
  11. FAQ / disclosure
  12. Prose pages (support, privacy, terms)
  13. Footer
  14. Responsive
  15. Motion + print
   ========================================================================== */

/* -------------------------------------------------------------- 1. Tokens */
:root {
  /* brand */
  --porcelain: #f7f3ec;
  --navy: #0b2840;
  --wave: #176b87;
  --aqua: #2dd4bf;
  --coral: #ff6b6b;
  --ink: #0e1e28;
  --mist: #ecf7f7;

  /* roles */
  --bg: var(--porcelain);
  --surface: #fffdf9;
  --surface-2: #fbf8f2;
  --fg: var(--ink);
  --fg-strong: var(--navy);
  --muted: #5a6b78;
  --border: rgba(11, 40, 64, 0.1);
  --border-strong: rgba(11, 40, 64, 0.16);
  --accent: var(--wave);

  /* status */
  --ok-fg: #0e6a5b;
  --ok-bg: rgba(45, 212, 191, 0.16);
  --check-fg: #135a72;
  --check-bg: var(--mist);
  --no-fg: #b93e36;
  --no-bg: rgba(255, 107, 107, 0.14);

  /* type */
  --font-display: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN",
    "Nunito", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  /* shape */
  --r-panel: 30px;
  --r-card: 26px;
  --r-row: 16px;
  --r-chip: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 40, 64, 0.05);
  --shadow-card: 0 1px 2px rgba(11, 40, 64, 0.05),
    0 12px 32px rgba(11, 40, 64, 0.07);
  --shadow-lift: 0 2px 4px rgba(11, 40, 64, 0.06),
    0 24px 56px rgba(11, 40, 64, 0.12);

  /* rhythm */
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --maxw: 1180px;
}

/* ------------------------------------------------------- 2. Reset + base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--fg-strong);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(38px, 5.6vw, 62px);
}
h2 {
  font-size: clamp(28px, 3.4vw, 40px);
}
h3 {
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h4 {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

p {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--navy);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

strong {
  font-weight: 600;
  color: var(--fg-strong);
}

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

::selection {
  background: var(--aqua);
  color: var(--navy);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-chip);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.16s ease;
}
.skip-link:focus-visible {
  top: 14px;
  color: #fff;
}

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

/* --------------------------------------------- 3. Layout primitives */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(52px, 6vw, 80px);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--wave);
  margin: 0 0 14px;
}

.lede {
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  max-width: 62ch;
}

.section-head {
  max-width: 60ch;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head p {
  margin-top: 16px;
}

.divider {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}

/* ------------------------------------------------------ 4. Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--porcelain) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--fg-strong);
  border-radius: 14px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-name span {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--r-chip);
  color: var(--fg-strong);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.15s ease;
}
.nav-links a:hover {
  background: rgba(11, 40, 64, 0.06);
}
.nav-links a[aria-current="page"] {
  background: var(--mist);
  color: var(--navy);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

/* ---------------------------------------------------- Private report page */
.report-main {
  min-height: 70vh;
  padding-block: clamp(44px, 7vw, 88px);
}

.report-wrap {
  max-width: 900px;
}

.report-close {
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.report-loading,
.report-error {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 80px 24px;
  text-align: center;
}

.report-loading[hidden],
.report-error[hidden],
#report-content[hidden] {
  display: none;
}

.report-spinner {
  width: 38px;
  height: 38px;
  border: 4px solid var(--border-strong);
  border-top-color: var(--wave);
  border-radius: 50%;
  animation: report-spin 0.8s linear infinite;
}

@keyframes report-spin { to { transform: rotate(360deg); } }

.report-hero,
.report-panel,
.report-product,
.report-disclosure {
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 32px;
  align-items: end;
  padding: clamp(28px, 5vw, 52px);
  background: linear-gradient(145deg, var(--navy), var(--wave));
  color: #fff;
}

.report-hero h1,
.report-hero .lede,
.report-hero .eyebrow {
  color: #fff;
}

.report-hero code {
  color: var(--aqua);
}

.report-counts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.report-count {
  padding: 11px;
  border-radius: 13px;
  background: rgba(255,255,255,0.12);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.report-count--fits { color: #8ff5d9; }
.report-count--tight { color: #ffd19b; }
.report-count--wontFit { color: #ffb1b1; }

.report-panel {
  margin-top: 20px;
  padding: clamp(24px, 4vw, 38px);
}

.report-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.report-models-head {
  margin: clamp(48px, 7vw, 76px) 0 24px;
}

.report-measurements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
  margin: 24px 0 0;
}

.report-measurement-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.report-measurement-row dt { color: var(--muted); }
.report-measurement-row dd { margin: 0; color: var(--navy); font-weight: 700; text-align: right; }

.report-confirmation {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--mist);
  color: var(--check-fg);
  font-weight: 600;
}

.report-confirmation--confirmed {
  background: var(--ok-bg);
  color: var(--ok-fg);
}

.report-products {
  display: grid;
  gap: 18px;
}

.report-product {
  padding: clamp(22px, 4vw, 32px);
  border-left: 6px solid var(--wave);
}

.report-product--fits { border-left-color: var(--aqua); }
.report-product--tight { border-left-color: #f0a33a; }
.report-product--wontFit { border-left-color: var(--coral); }

.report-product-top,
.report-product-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.report-brand,
.report-key-title {
  color: var(--wave);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.report-price { margin-top: 4px; color: var(--muted); font-weight: 600; }

.report-verdict {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: var(--r-chip);
  background: var(--check-bg);
  color: var(--check-fg);
  font-size: 14px;
  font-weight: 800;
}

.report-verdict--fits { background: var(--ok-bg); color: var(--ok-fg); }
.report-verdict--tight { background: #fff0df; color: #a65c00; }
.report-verdict--wontFit { background: var(--no-bg); color: var(--no-fg); }

.report-key {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--mist);
}

.report-key--fail { background: var(--no-bg); }
.report-key--fail .report-key-title,
.report-key--fail .report-key-message { color: var(--no-fg); }
.report-key--pass { background: var(--ok-bg); }
.report-key-message { margin-top: 4px; color: var(--navy); font-weight: 600; }

.report-details { margin-top: 18px; }
.report-details summary { color: var(--wave); font-weight: 700; cursor: pointer; }
.report-criteria { display: grid; gap: 11px; margin-top: 14px; list-style: none; }
.criterion { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--border-strong); }
.criterion span { color: var(--muted); font-size: 14px; }
.criterion--pass { border-left-color: var(--aqua); }
.criterion--fail { border-left-color: var(--coral); }
.criterion--tight, .criterion--attention { border-left-color: #f0a33a; }

.report-product-footer {
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.report-product-footer small { color: var(--muted); }
.report-merchant { padding: 10px 17px; font-size: 14px; }
.report-locked { color: var(--muted); font-size: 13px; font-weight: 600; text-align: right; }

.report-disclosure {
  margin-top: 32px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--mist);
}
.report-disclosure h2 { font-size: 24px; }
.report-disclosure p { margin-top: 12px; color: var(--muted); }
.report-footer { margin-top: 0; }

@media (max-width: 680px) {
  .report-hero { grid-template-columns: 1fr; }
  .report-measurements { grid-template-columns: 1fr; }
  .report-section-head, .report-product-top, .report-product-footer { align-items: stretch; flex-direction: column; }
  .report-verdict { align-self: flex-start; }
  .report-locked { text-align: left; }
  .report-print { width: 100%; }
}

@media print {
  .site-header, .site-footer, .report-print, .report-merchant { display: none !important; }
  .report-main { padding: 0; }
  .report-hero { background: #fff; color: var(--ink); border: 0; box-shadow: none; padding: 0 0 24px; }
  .report-hero h1, .report-hero .lede, .report-hero .eyebrow { color: var(--ink); }
  .report-panel, .report-product, .report-disclosure { box-shadow: none; break-inside: avoid; }
}

/* -------------------------------------------- 5. Buttons, pills, links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--r-chip);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:active {
  transform: translateY(2px);
}

.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-card);
}
.btn--primary:hover {
  background: #12374f;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--fg-strong);
}
.btn--ghost:hover {
  background: rgba(11, 40, 64, 0.05);
  color: var(--fg-strong);
}

/* Inert "coming soon" — deliberately not a link and not an App Store badge. */
.btn--pending {
  background: var(--navy);
  color: #fff;
  cursor: default;
  box-shadow: var(--shadow-card);
}
.btn--pending:active {
  transform: none;
}
.btn--pending svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.cta-note {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.trust-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 11px;
  border-radius: var(--r-chip);
  background: var(--mist);
  color: var(--check-fg);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.trust-tag svg {
  width: 16px;
  height: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-chip);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pill--ok {
  background: var(--ok-bg);
  color: var(--ok-fg);
}
.pill--check {
  background: var(--check-bg);
  color: var(--check-fg);
}
.pill--no {
  background: var(--no-bg);
  color: var(--no-fg);
}
.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}

/* ---------------------------------------------------------- 6. Hero */
.hero {
  padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero .lede {
  font-size: clamp(18px, 1.7vw, 21px);
  color: #3d4f5c;
  max-width: 34ch;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-trust {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  display: grid;
  place-items: center;
  position: relative;
}

/* --------------------------------- 7. iPhone frame + in-app report UI */
/* ASSET SWAP: to use a real App Store capture, replace `.phone-screen`'s
   children with <img src="/assets/screenshot-report.png" alt="…"> — the frame,
   island and home indicator stay as-is. */
.phone {
  width: 328px;
  max-width: 100%;
  aspect-ratio: 328 / 690;
  background: linear-gradient(168deg, #16344c, #071c2e);
  border-radius: 52px;
  padding: 11px;
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(11, 40, 64, 0.5) inset;
  position: relative;
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 42px;
  background: var(--porcelain);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-island {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 27px;
  border-radius: var(--r-chip);
  background: #05131f;
  z-index: 3;
}

.ios-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.ios-status svg {
  height: 12px;
}

.app-bar {
  padding: 16px 20px 12px;
}
.app-bar .app-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--wave);
}
.app-bar h2 {
  font-size: 25px;
  letter-spacing: -0.02em;
  margin-top: 3px;
}

.app-body {
  flex: 1;
  overflow: hidden;
  padding: 0 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.verdict {
  background: var(--navy);
  color: #fff;
  border-radius: 22px;
  padding: 16px 18px;
}
.verdict-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.verdict-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(236, 247, 247, 0.62);
}
.verdict-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.015em;
  margin-top: 8px;
}
.verdict-sub {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(236, 247, 247, 0.72);
  margin-top: 6px;
}
.verdict-bar {
  display: flex;
  gap: 4px;
  margin-top: 14px;
}
.verdict-bar i {
  height: 5px;
  flex: 1;
  border-radius: 3px;
  background: rgba(236, 247, 247, 0.22);
}
.verdict-bar i.is-ok {
  background: var(--aqua);
}
.verdict-bar i.is-check {
  background: #58a6bd;
}
.verdict-bar i.is-no {
  background: var(--coral);
}

.app-list {
  background: var(--surface);
  border-radius: 22px;
  border: 1px solid var(--border);
  overflow: hidden;
  flex: 1;
}
.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--border);
}
.app-row:last-child {
  border-bottom: 0;
}
.app-row-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fg-strong);
  letter-spacing: -0.005em;
}
.app-row-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-top: 1px;
}
.app-row .pill {
  font-size: 11px;
  padding: 4px 9px;
}

.app-tabbar {
  display: flex;
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  padding: 8px 6px 6px;
}
.app-tab {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.app-tab svg {
  width: 20px;
  height: 20px;
}
.app-tab.is-active {
  color: var(--wave);
}

.home-indicator {
  height: 5px;
  width: 118px;
  border-radius: 3px;
  background: rgba(11, 40, 64, 0.28);
  margin: 0 auto 8px;
}

.phone-caption {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ------------------------------------ 8. Cards: stats, principles, steps */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 clamp(56px, 7vw, 96px);
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: var(--shadow-sm);
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.stat-value small {
  font-size: 0.46em;
  letter-spacing: -0.01em;
  margin-left: 4px;
  color: var(--wave);
}
.stat-label {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.45;
}

.card-grid {
  display: grid;
  gap: 16px;
}
.card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-sm);
}
.card h3 {
  margin-bottom: 10px;
}
.card p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--mist);
  color: var(--wave);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card-icon svg {
  width: 21px;
  height: 21px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(24px, 2.8vw, 32px);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--wave);
  display: block;
  margin-bottom: 16px;
}
.step h3 {
  margin-bottom: 10px;
}
.step p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}
.step-list {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 8px;
}
.step-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}
.step-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--aqua);
}

/* -------------------------------------------- 9. Report preview module */
.report {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.report-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(22px, 2.8vw, 30px);
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.report-head h3 {
  margin-bottom: 6px;
}
.report-head p {
  font-size: 14px;
  color: var(--muted);
}
.report-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-rows {
  list-style: none;
}
.report-rows > li {
  border-bottom: 1px solid var(--border);
}
.report-rows > li:last-child {
  border-bottom: 0;
}

.check-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding: 18px clamp(20px, 2.8vw, 30px);
  background: transparent;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.14s ease;
}
.check-toggle:hover {
  background: var(--surface-2);
}
.check-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
}
.check-values {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
  letter-spacing: 0.01em;
}
.check-chevron {
  width: 22px;
  height: 22px;
  color: var(--muted);
  transition: transform 0.2s ease;
}
.check-toggle[aria-expanded="true"] .check-chevron {
  transform: rotate(180deg);
}

.check-detail {
  padding: 0 clamp(20px, 2.8vw, 30px) 24px;
  display: grid;
  gap: 14px;
  max-width: 78ch;
}
.check-detail[hidden] {
  display: none;
}
.check-detail p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.6;
}
.check-math {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.math-chip {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  padding: 7px 13px;
  border-radius: var(--r-chip);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--fg-strong);
  font-variant-numeric: tabular-nums;
}
.check-source {
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.check-source svg {
  width: 15px;
  height: 15px;
  color: var(--wave);
  flex: 0 0 auto;
}

.report-foot {
  padding: clamp(20px, 2.6vw, 26px) clamp(20px, 2.8vw, 30px);
  background: var(--mist);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--check-fg);
  line-height: 1.5;
}
.report-foot svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* ------------------------------------------------------ 10. Stance band */
.stance {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-panel);
  padding: clamp(36px, 5vw, 68px);
}
.stance h2 {
  color: #fff;
  font-size: clamp(27px, 3.6vw, 44px);
  max-width: 18ch;
}
.stance-body {
  margin-top: clamp(26px, 3vw, 38px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.stance-body p {
  color: rgba(236, 247, 247, 0.8);
  font-size: 16.5px;
  line-height: 1.62;
  max-width: 52ch;
}
.stance-body p + p {
  margin: 0;
}
.stance .eyebrow {
  color: var(--aqua);
}
.stance-rule {
  height: 1px;
  background: rgba(236, 247, 247, 0.18);
  border: 0;
  margin: clamp(26px, 3vw, 38px) 0 0;
}
.stance-note {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(236, 247, 247, 0.72);
}
.stance-note b {
  color: var(--coral);
  font-weight: 600;
}

/* --------------------------------------------- 11. FAQ / disclosure */
.faq {
  display: grid;
  gap: 12px;
}
.faq--inset {
  margin-top: 20px;
}

.qa {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.qa > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px clamp(20px, 2.4vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
}
.qa > summary::-webkit-details-marker {
  display: none;
}
.qa > summary::after {
  content: "";
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  border-right: 2px solid var(--wave);
  border-bottom: 2px solid var(--wave);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.2s ease;
}
.qa[open] > summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}
.qa-body {
  padding: 0 clamp(20px, 2.4vw, 28px) 24px;
  max-width: 74ch;
}
.qa-body p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}
.qa-body p + p {
  margin-top: 12px;
}
.qa-body ul {
  margin-top: 12px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}
.qa-body li + li {
  margin-top: 6px;
}

/* ------------------------------------------------- 12. Prose pages */
.page-head {
  padding-block: clamp(48px, 6vw, 84px) clamp(28px, 3.5vw, 44px);
}
.page-head h1 {
  font-size: clamp(34px, 4.6vw, 54px);
}
.page-head .lede {
  margin-top: 18px;
}
.page-meta {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.prose-layout {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  padding-bottom: var(--section-y);
}

.toc {
  position: sticky;
  top: 92px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.toc h2 {
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.toc ol {
  list-style: none;
  display: grid;
  gap: 2px;
  counter-reset: toc;
}
.toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--fg-strong);
  text-decoration: none;
  line-height: 1.35;
}
.toc a:hover {
  background: var(--mist);
  color: var(--navy);
}

.prose > section + section {
  margin-top: clamp(34px, 4vw, 52px);
}
.prose h2 {
  font-size: clamp(22px, 2.3vw, 28px);
  scroll-margin-top: 92px;
}
.prose h3 {
  margin-top: 26px;
}
.prose p,
.prose li {
  color: #3d4f5c;
  font-size: 16.5px;
  line-height: 1.68;
  max-width: 68ch;
}
.prose p + p {
  margin-top: 14px;
}
.prose h2 + p,
.prose h3 + p {
  margin-top: 14px;
}
.prose ul,
.prose ol {
  margin-top: 14px;
  padding-left: 22px;
  display: grid;
  gap: 9px;
}
.prose ul {
  list-style: none;
  padding-left: 0;
}
.prose ul > li {
  position: relative;
  padding-left: 26px;
}
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--aqua);
}

.callout {
  border-radius: var(--r-card);
  padding: clamp(20px, 2.4vw, 28px);
  margin-top: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.callout--info {
  background: var(--mist);
  border-color: rgba(23, 107, 135, 0.18);
}
.callout--caution {
  background: var(--no-bg);
  border-color: rgba(255, 107, 107, 0.28);
}
.callout h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.callout p,
.callout li {
  font-size: 15.5px;
  line-height: 1.6;
  color: #35485a;
  max-width: 66ch;
}

.contact-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-panel);
  padding: clamp(28px, 3.6vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.contact-card h2 {
  color: #fff;
  font-size: clamp(24px, 2.8vw, 32px);
}
.contact-card p {
  color: rgba(236, 247, 247, 0.78);
  font-size: 16px;
  margin-top: 10px;
  max-width: 46ch;
}
.contact-card .btn {
  background: var(--aqua);
  color: var(--navy);
}
.contact-card .btn:hover {
  background: #4ee0cd;
}

.email-link {
  font-family: var(--font-mono);
  font-size: 0.95em;
  letter-spacing: 0.01em;
  word-break: break-word;
}

/* ------------------------------------------------------- 13. Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  padding-block: clamp(44px, 5vw, 64px) 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 34ch;
  line-height: 1.55;
}
.footer-col h2 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 9px;
}
.footer-col a {
  font-size: 15px;
  color: var(--fg-strong);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--wave);
  text-decoration: underline;
}
.footer-bottom {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ------------------------------------ 13b. Coming-soon CTA block */
/* The CTA and brand mark use the production 1024px Bidets app icon. */
.cta-block {
  display: grid;
  justify-items: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  padding: clamp(36px, 5vw, 64px);
  box-shadow: var(--shadow-card);
}
.cta-icon {
  width: clamp(84px, 9vw, 104px);
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 26px;
}
.cta-block h2 {
  max-width: 17ch;
}
.cta-block .lede {
  margin-top: 16px;
  max-width: 48ch;
}
.cta-block .hero-actions {
  justify-content: center;
  margin-top: 30px;
}

/* --------------------------------------------------- 14. Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
  }
  .hero-copy {
    max-width: 640px;
  }
  .hero .lede {
    max-width: 46ch;
  }
  .card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .prose-layout {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
  }
  .toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: var(--gutter);
    left: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-card);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    padding: 13px 16px;
    font-size: 16px;
    min-height: 46px;
  }
  .nav {
    position: relative;
  }
  .card-grid--3,
  .card-grid--2 {
    grid-template-columns: 1fr;
  }
  .stance-body {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16.5px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stat {
    display: flex;
    align-items: baseline;
    gap: 16px;
  }
  .stat-value {
    font-size: 32px;
  }
  .stat-label {
    margin-top: 0;
  }
  .card-grid--4 {
    grid-template-columns: 1fr;
  }
  .check-toggle {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 10px;
  }
  .check-toggle .pill {
    grid-column: 1;
    justify-self: start;
  }
  .check-chevron {
    grid-row: 1;
    grid-column: 2;
  }
  .report-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-card .btn {
    width: 100%;
  }
  .toc ol {
    grid-template-columns: 1fr;
  }
  .brand-name span {
    display: none;
  }
  .phone {
    width: min(300px, 82vw);
  }
}

@media (max-width: 400px) {
  .hero-actions .btn {
    width: 100%;
  }
}

/* ------------------------------------------------ 15. Motion + print */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .phone,
  .toc,
  .btn {
    display: none !important;
  }
  body {
    background: #fff;
    font-size: 11pt;
  }
  .check-detail[hidden] {
    display: grid !important;
  }
  .prose-layout {
    grid-template-columns: 1fr;
  }
}
