/* ─── DISKSPACE HOMEPAGE (Plan Phase 7) ──────────────────────────────────────
 *
 * Light-mode token palette, hand-rolled (house style §8.3: no framework, no
 * external font — the site makes ZERO third-party requests, which is what the
 * privacy page promises. Google Fonts would add a third-party request and contradict it.)
 *
 * Signature colours are the product's own language:
 *   --grew   red    — folders that BECAME large (the problem)
 *   --shrank green  — space that came back
 */

:root {
  --bg: #f6f8fb;
  --bg-alt: #eef2f8;
  --card: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #7c8798;

  --accent: #1f6feb;
  --accent-dark: #1a5ed1;
  --accent-soft: #eaf1fd;
  --accent-border: #bcd3f7;

  --grew: #c1352b;
  --grew-soft: #fdeceb;
  --shrank: #14804a;
  --shrank-soft: #e7f6ed;
  --premium: #6f42c1;
  --premium-soft: #f2ecfc;

  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 16px 42px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.12);

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --max-width: 1180px;
  --nav-height: 68px;

  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system,
          "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100%;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

::selection { background: var(--accent-soft); }

/* Visible focus for keyboard users (a11y — plan P4-13 discipline applied to web). */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ─── NAV ────────────────────────────────────────────────────────────────── */

nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2.2rem);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.logo-mark {
  width: 34px; height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}
.logo-mark svg { width: 20px; height: 20px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
}

.nav-links a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-links a.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.nav-links a.nav-cta:hover { background: var(--accent-dark); color: #fff; }

/* ─── SLIDE SYSTEM ───────────────────────────────────────────────────────────
 * Desktop: full-viewport slides driven by site.js (house pattern).
 * Mobile / reduced-motion: plain document flow — nothing is hijacked.
 */

.slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: calc(var(--nav-height) + 2rem) clamp(1rem, 4vw, 2rem) 3rem;
  background: var(--bg);
}
.slide-alt { background: var(--bg-alt); }

body.slides-enabled { height: 100%; overflow: hidden; overscroll-behavior: none; }
body.slides-enabled .slide {
  position: fixed;
  inset: 0;
  z-index: 1;
  min-height: 0;
  overflow: hidden;
  transform: translateY(100%) translateZ(0);
  transition: transform 0.68s cubic-bezier(0.645, 0.045, 0.355, 1);
  backface-visibility: hidden;
  will-change: transform;
}
body.slides-enabled .slide.active { z-index: 2; transform: translateY(0) translateZ(0); }
body.slides-enabled .slide.above { transform: translateY(-100%) translateZ(0); }

.slide-nav {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 11px;
  z-index: 1000;
}
body.slides-enabled .slide-nav { display: flex; }

.slide-dot {
  width: 11px; height: 11px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  background: rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}
.slide-dot:hover { background: rgba(31, 111, 235, 0.6); transform: scale(1.15); }
.slide-dot.active { background: var(--accent); transform: scale(1.25); }

.shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────── */

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 680;
}

h3 { font-size: 1.08rem; font-weight: 650; letter-spacing: -0.01em; }

.gradient-text {
  background: linear-gradient(120deg, var(--accent) 0%, var(--premium) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: var(--text-soft);
  max-width: 56ch;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
}

.section-header { text-align: center; margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.section-header p { color: var(--text-soft); margin-top: 0.6rem; }

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.08em 0.4em;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(31, 111, 235, 0.26);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 12px 28px rgba(31, 111, 235, 0.32); }

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3.2rem);
  align-items: center;
}

#home .shell {
  max-width: 1360px;
}

#home .hero-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.38fr);
  gap: clamp(1rem, 2.8vw, 2.6rem);
  align-items: start;
}

.hero-content > * + * { margin-top: 1.1rem; }

#home .hero-content {
  max-width: 660px;
  padding-top: clamp(0.25rem, 0.8vw, 0.7rem);
  transform: none;
}

#home h1 {
  letter-spacing: 0;
}

#home h1 + .lede {
  margin-top: clamp(1.15rem, 2.2vw, 1.65rem);
}

#home .lede {
  max-width: 50ch;
  line-height: 1.68;
}

/* Only the loss figure carries colour; the other emphases stay quiet so the
   sentence reads as one thought instead of three competing shouts. */
#home .lede strong {
  color: var(--text);
  font-weight: 650;
}

#home .lede .lede-loss {
  color: var(--grew);
  padding: 0.02em 0.18em 0.08em;
  border-radius: 6px;
  background: var(--grew-soft);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-claim {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.3rem;
  padding: 0.95rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.96rem;
}

#home .hero-claim {
  gap: 0.55rem;
  max-width: 610px;
  margin-top: clamp(1.25rem, 2.4vw, 1.85rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#home .hero-claim::before {
  content: none;
}

/* Both rows share one left edge — the contrast is carried by tint and weight,
   not by nudging one card sideways. */
#home .hero-claim .claim-line {
  display: grid;
  grid-template-columns: 1.15rem 6.6rem minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-alt);
  box-shadow: none;
  line-height: 1.45;
}

#home .hero-claim .claim-line.is-us {
  border-color: var(--accent-border);
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-soft) 100%);
  box-shadow: 0 12px 28px rgba(31, 111, 235, 0.10);
}

#home .hero-claim .claim-mark {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--text-muted);
}

#home .hero-claim .is-us .claim-mark {
  color: var(--accent);
}

#home .hero-claim .claim-label {
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

#home .hero-claim .is-us .claim-label {
  color: var(--accent);
}
.hero-claim .claim-line { color: var(--text-soft); }
.hero-claim .claim-line strong { color: var(--text); }
.hero-claim .claim-line.is-us { color: var(--text); font-weight: 600; }

#home .hero-actions {
  margin-top: clamp(1.35rem, 2.5vw, 1.95rem);
  padding-top: 0;
}

#home .hero-actions .btn {
  min-height: 52px;
}

.hero-proof-card {
  width: 100%;
  max-width: 610px;
  height: auto;
  min-height: 0;
  margin-top: clamp(1.35rem, 2.7vw, 2rem);
  padding: clamp(0.8rem, 1.5vw, 1rem);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: 0.45rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(234, 241, 253, 0.72) 100%);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.065);
}

.proof-kicker {
  grid-column: 1 / -1;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.proof-title {
  max-width: 18ch;
  color: var(--text);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: 700;
  line-height: 1.18;
}

.proof-rows {
  display: grid;
  align-self: stretch;
  gap: 0.22rem;
}

.proof-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.22rem 0.52rem;
  border: 1px solid rgba(203, 213, 225, 0.78);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-soft);
  font-size: 0.82rem;
}

.proof-row strong {
  font-weight: 750;
  white-space: nowrap;
}

.proof-up { color: var(--grew); }
.proof-down { color: var(--shrank); }

@keyframes hero-appear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  #home h1,
  #home .lede,
  #home .hero-claim,
  #home .hero-actions,
  #home .hero-proof-card {
    animation: hero-appear 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  #home h1 { animation-delay: 0.02s; }
  #home .lede { animation-delay: 0.12s; }
  #home .hero-claim { animation-delay: 0.24s; }
  #home .hero-actions { animation-delay: 0.36s; }
  #home .hero-proof-card { animation-delay: 0.46s; }
}

/* ─── DELTA TREEMAP VISUAL (the product's signature) ─────────────────────── */

.visual-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1rem, 2.2vw, 1.5rem);
}

#home .visual-panel {
  align-self: start;
  padding: clamp(0.65rem, 1.35vw, 1rem);
  transform: translateX(clamp(0.6rem, 1.2vw, 1.1rem));
}

.visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

#home .visual-head {
  margin-bottom: 0.65rem;
}
.visual-title { font-size: 0.92rem; font-weight: 650; }
.visual-range { font-size: 0.8rem; color: var(--text-muted); font-family: var(--mono); }

.folder-table-shot {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}

.visual-panel > .treemap,
.visual-panel > .legend,
.visual-panel > .movers {
  display: none;
}

.treemap { width: 100%; height: auto; display: block; border-radius: var(--radius-md); overflow: hidden; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-soft);
}
.legend span { display: inline-flex; align-items: center; gap: 0.42rem; }
.legend i {
  width: 11px; height: 11px;
  border-radius: 3px;
  display: inline-block;
}
.legend .swatch-grew { background: var(--grew); }
.legend .swatch-shrank { background: var(--shrank); }
.legend .swatch-flat { background: var(--border-strong); }

/* Movers list under the treemap */
.movers { margin-top: 1rem; display: grid; gap: 0.4rem; }
.mover {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.7rem;
  border-radius: 9px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: 0.87rem;
}
.mover .badge {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 5px;
}
.mover.up .badge { background: var(--grew-soft); color: var(--grew); }
.mover.down .badge { background: var(--shrank-soft); color: var(--shrank); }
.mover .path { font-family: var(--mono); font-size: 0.8rem; color: var(--text-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mover .delta { font-weight: 650; font-variant-numeric: tabular-nums; }
.mover.up .delta { color: var(--grew); }
.mover.down .delta { color: var(--shrank); }

/* ─── CARD GRIDS ─────────────────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: clamp(0.8rem, 1.6vw, 1.1rem);
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feature-grid .card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem 0.85rem;
}
.feature-grid .card h3 {
  margin-bottom: 0;
}
.feature-grid .card p {
  grid-column: 1 / -1;
}
.feature-grid .card .card-icon {
  margin-bottom: 0;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(1.05rem, 2vw, 1.4rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent-border); }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--text-soft); font-size: 0.92rem; }
.card p + p { margin-top: 0.5rem; }

.card-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  font-family: var(--mono);
}
.card-icon.tone-grew { background: var(--grew-soft); border-color: #f3cdc9; color: var(--grew); }
.card-icon.tone-shrank { background: var(--shrank-soft); border-color: #bfe3ce; color: var(--shrank); }
.card-icon.tone-premium { background: var(--premium-soft); border-color: #d9c9f5; color: var(--premium); }

/* ─── STEPS ──────────────────────────────────────────────────────────────── */

.steps { display: grid; gap: clamp(0.9rem, 2vw, 1.3rem); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: step; }

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.3rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -15px; left: 1.3rem;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 16px rgba(31, 111, 235, 0.3);
}
.step h3 { margin: 0.35rem 0 0.45rem; }
.step p { color: var(--text-soft); font-size: 0.92rem; }

/* ─── PRICING / COMPARISON TABLE ─────────────────────────────────────────── */

.plan-grid { display: grid; gap: clamp(0.9rem, 2vw, 1.3rem); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: start; }

.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  box-shadow: var(--shadow-sm);
}
.plan.featured { border-color: var(--premium); box-shadow: var(--shadow-md); position: relative; }
.plan.featured::after {
  content: "Lifetime unlock";
  position: absolute;
  top: -12px; right: 1.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  background: var(--premium);
  color: #fff;
}
.plan-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.plan-name { font-size: 1.15rem; font-weight: 700; }
.plan-price { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; margin: 0.4rem 0 0.15rem; }
.plan-price small { font-size: 0.92rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
/* The list price beside a sale price. Muted and struck through, so the number
   that is actually charged stays the one the eye lands on. */
.plan-price .was { font-size: 1.05rem; font-weight: 600; color: var(--text-muted); text-decoration: line-through; margin-right: 0.45rem; letter-spacing: 0; }
.plan-save { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0; text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--premium); color: #fff; }
.plan-note { font-size: 0.86rem; color: var(--text-muted); }
.plan ul { list-style: none; margin: 1.1rem 0 1.3rem; display: grid; gap: 0.55rem; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 0.6rem; font-size: 0.92rem; color: var(--text-soft); }
.plan li b { color: var(--text); font-weight: 650; }
.plan li .tick { color: var(--shrank); font-weight: 700; }
.plan li .dash { color: var(--text-muted); }

.tablewrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; min-width: 520px; }
th, td { padding: 0.68rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
thead th { background: var(--bg-alt); font-weight: 650; font-size: 0.82rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-soft); }
tbody tr:last-child td { border-bottom: 0; }
td.center, th.center { text-align: center; }
.tick { color: var(--shrank); font-weight: 700; }
.dash { color: var(--text-muted); }
.pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 650;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
}
.pill-free { background: var(--shrank-soft); color: var(--shrank); }
.pill-premium { background: var(--premium-soft); color: var(--premium); }

/* ─── CALLOUTS ───────────────────────────────────────────────────────────── */

.note {
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  padding: 0.9rem 1.15rem;
  font-size: 0.92rem;
  color: var(--text);
}
.note strong { display: block; margin-bottom: 0.15rem; }
.note.good { background: var(--shrank-soft); border-color: #bfe3ce; }
.note.warn { background: #fff5da; border-color: #f0dda3; }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */

.faq-wrapper { display: grid; gap: 0.55rem; max-width: 860px; margin: 0 auto; width: 100%; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item.active { border-color: var(--accent-border); box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.97rem;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}
.faq-question:hover { color: var(--accent); }
.faq-question .chev {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  transition: transform 0.22s ease;
  color: var(--text-muted);
}
.faq-item.active .chev { transform: rotate(180deg); color: var(--accent); }

/* Progressive enhancement: without JS the .js class is never added, so every
 * answer stays visible and the page is fully readable. */
.faq-answer {
  display: block;
  padding: 0 1.15rem 1.05rem;
  color: var(--text-soft);
  font-size: 0.93rem;
}
.js .faq-answer { display: none; }
.js .faq-item.active .faq-answer { display: block; }
.faq-answer p + p { margin-top: 0.6rem; }
.faq-answer ul { margin: 0.55rem 0 0 1.15rem; display: grid; gap: 0.3rem; }

/* ─── POLICY PAGES ───────────────────────────────────────────────────────── */

.policy-grid { display: grid; gap: clamp(0.9rem, 2vw, 1.2rem); grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.policy-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.policy-card h2 { font-size: 1.05rem; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.55rem; }
.policy-card p { color: var(--text-soft); font-size: 0.92rem; }
.policy-card p + p { margin-top: 0.55rem; }
.section-icon {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 6px;
  padding: 0.12rem 0.45rem;
}
.policy-list { margin: 0.6rem 0 0 1.1rem; color: var(--text-soft); font-size: 0.9rem; display: grid; gap: 0.3rem; }

.effective-date {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

/* Scrollable slide body for long policy/FAQ content in slide mode.
 * min-height:0 is required — a flex item defaults to min-height:auto, which
 * would refuse to shrink and silently break the inner scroll. */
.slide-scroll {
  width: 100%;
  max-height: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.4rem;
}

/* ─── FOOTER / LEGAL ─────────────────────────────────────────────────────── */

.slide-legal {
  margin-top: auto;
  padding-top: 1.6rem;
  font-size: 0.79rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.55;
}
.slide-legal a { color: var(--text-soft); }

.page-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 2rem clamp(1rem, 4vw, 2rem);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.page-footer .footer-links { display: flex; flex-wrap: wrap; gap: 1.1rem; justify-content: center; margin-bottom: 0.8rem; }
.page-footer .footer-links a { color: var(--text-soft); text-decoration: none; font-weight: 500; }
.page-footer .footer-links a:hover { color: var(--accent); }

.scroll-hint {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.scroll-hint svg { width: 18px; height: 18px; animation: bob 1.9s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 940px) {
  .hero-layout,
  #home .hero-layout { grid-template-columns: 1fr; }
  #home .hero-content { display: block; padding-top: 0; padding-bottom: 0; transform: none; }
  #home .hero-actions { margin-top: 1.2rem; padding-top: 0; }
  #home .hero-proof-card {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }
  #home .proof-title { max-width: 28ch; }
  #home .visual-panel { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links a.nav-essential { display: inline; }
}

@media (max-width: 620px) {
  body { font-size: 15px; }
  .slide { padding-top: calc(var(--nav-height) + 1.4rem); }
  .feature-grid { grid-template-columns: 1fr; }
  /* Narrow: mark + label on the first line, the sentence wraps full width. */
  #home .hero-claim .claim-line {
    grid-template-columns: 1.15rem minmax(0, 1fr);
    gap: 0.25rem 0.55rem;
  }
  #home .hero-claim .claim-line > span:last-child { grid-column: 1 / -1; }
  .mover { grid-template-columns: auto 1fr; }
  .mover .delta { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

@media print {
  nav.site-nav, .slide-nav, .scroll-hint { display: none; }
  .slide { min-height: auto; page-break-inside: avoid; padding: 1rem 0; }
  body { background: #fff; }
}
