/* ============================================================
   Repot marketing site — design system
   Brand: cream #FAF6F0 · terracotta (action) · sage (status)
   Display serif: Fraunces (variable, vendored)
   Light + dark themes via [data-theme] on <html>
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #faf6f0;
  --bg-raised: #ffffff;
  --bg-inset: #f3ede3;
  --ink: #26221e;
  --ink-soft: #57534e;
  --ink-faint: #8a837b;
  --line: #e9e2d7;
  --line-strong: #d9d0c2;

  --terracotta: #c1553d;
  --terracotta-strong: #a8432f;
  --terracotta-bright: #d96c44;
  --terracotta-soft: #fdf3ef;
  --terracotta-border: #f4c9b8;

  --sage: #4e7d66;
  --sage-deep: #345343;
  --sage-bright: #81b29a;
  --sage-soft: #f2f7f4;
  --sage-border: #c6dccf;

  --band-sage: #2b4437;      /* sage-900 band */
  --band-sage-ink: #e9f1ec;

  --shadow-phone: 0 2.8px 2.2px rgba(45, 30, 20, 0.02), 0 6.7px 5.3px rgba(45, 30, 20, 0.028),
    0 12.5px 10px rgba(45, 30, 20, 0.035), 0 22.3px 17.9px rgba(45, 30, 20, 0.042),
    0 41.8px 33.4px rgba(45, 30, 20, 0.05), 0 100px 80px rgba(45, 30, 20, 0.07);
  --shadow-card: 0 1px 2px rgba(45, 30, 20, 0.04), 0 8px 24px rgba(45, 30, 20, 0.06);
  --bezel: #221e1a;

  --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --maxw: 1140px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #12151a;
  --bg-raised: #1a1e25;
  --bg-inset: #0c0f13;
  --ink: #ece7df;
  --ink-soft: #b3aca2;
  --ink-faint: #7d766d;
  --line: #262b33;
  --line-strong: #333a45;

  --terracotta: #e8845c;
  --terracotta-strong: #eda98f;
  --terracotta-bright: #e8845c;
  --terracotta-soft: rgba(232, 132, 92, 0.10);
  --terracotta-border: rgba(232, 132, 92, 0.32);

  --sage: #81b29a;
  --sage-deep: #a7c9b6;
  --sage-bright: #81b29a;
  --sage-soft: rgba(129, 178, 154, 0.10);
  --sage-border: rgba(129, 178, 154, 0.28);

  --band-sage: #16201b;
  --band-sage-ink: #dbe7e0;

  --shadow-phone: 0 2.8px 2.2px rgba(0, 0, 0, 0.07), 0 6.7px 5.3px rgba(0, 0, 0, 0.1),
    0 12.5px 10px rgba(0, 0, 0, 0.12), 0 22.3px 17.9px rgba(0, 0, 0, 0.14),
    0 41.8px 33.4px rgba(0, 0, 0, 0.17), 0 100px 80px rgba(0, 0, 0, 0.22);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.28);
  --bezel: #2c313a;
  color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* No element may create horizontal scroll — `clip` (unlike `hidden`) also
   stops mobile Safari/Chrome expanding the layout viewport over overflow. */
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-strong); }
::selection { background: var(--terracotta); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.serif { font-family: var(--serif); }

h1, h2, h3 { font-family: var(--serif); font-weight: 560; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 480; color: var(--terracotta); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--sage);
  opacity: 0.65;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 26px; height: 1.5px; background: var(--sage); opacity: 0.65; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 58ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--terracotta);
  color: #fff;
  font-weight: 650; font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: none; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease;
  box-shadow: 0 4px 16px rgba(193, 85, 61, 0.28);
}
[data-theme="dark"] .btn { color: #16100c; box-shadow: 0 4px 20px rgba(232, 132, 92, 0.22); }
.btn:hover { transform: translateY(-2px); background: var(--terracotta-strong); color: #fff; box-shadow: 0 8px 26px rgba(193, 85, 61, 0.36); }
[data-theme="dark"] .btn:hover { color: #16100c; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ink); font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.4rem; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: transparent; cursor: pointer;
  transition: border-color 0.2s ease, transform 0.25s var(--ease), background 0.2s ease;
}
.btn-ghost:hover { border-color: var(--ink-faint); transform: translateY(-2px); color: var(--ink); background: var(--bg-raised); }

/* App Store badge */
.appstore-badge { display: inline-block; transition: transform 0.25s var(--ease), opacity 0.2s ease; }
.appstore-badge:hover { transform: translateY(-2px); opacity: 0.92; }
.appstore-badge svg { height: 52px; width: auto; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0.8rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center; gap: 1.75rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.65rem; color: var(--ink); }
.nav-brand:hover { color: var(--ink); }
.nav-brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-brand .word { font-family: var(--serif); font-weight: 620; font-size: 1.35rem; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav-links a { color: var(--ink-soft); font-size: 0.94rem; font-weight: 550; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: var(--bg);
  padding: 0.5rem 1.05rem; border-radius: 999px;
  font-size: 0.9rem; font-weight: 650;
  transition: transform 0.2s var(--ease), opacity 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); opacity: 0.88; color: var(--bg); }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: transparent;
  color: var(--ink-soft); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.3s var(--ease);
}
.theme-toggle:hover { border-color: var(--ink-faint); color: var(--ink); transform: rotate(15deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

.nav-burger { display: none; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-actions-desktop { display: none; }
  .nav-burger {
    display: inline-flex; margin-left: auto;
    width: 40px; height: 40px; align-items: center; justify-content: center;
    background: transparent; border: 1.5px solid var(--line-strong); border-radius: 999px;
    color: var(--ink); cursor: pointer;
  }
  .nav-mobile {
    display: none; flex-direction: column; gap: 0.25rem;
    padding: 0.75rem clamp(1.25rem, 4vw, 2.5rem) 1.25rem;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a { padding: 0.6rem 0; color: var(--ink); font-weight: 600; font-size: 1.05rem; }
}
@media (min-width: 821px) { .nav-mobile { display: none !important; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(7rem, 13vh, 10rem) 0 clamp(3rem, 7vw, 6rem);
  overflow: visible;
}
.hero-bg {
  /* Flush to the viewport horizontally + self-clipping: the oversized blur
     orbs inside must never widen the document (mobile horizontal-scroll bug). */
  position: absolute; inset: -20% 0 auto; height: 130%;
  overflow: hidden;
  pointer-events: none; z-index: -1;
}
.hero-bg .orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  transition: opacity 0.5s ease;
}
.orb-terra { width: 520px; height: 520px; right: -6%; top: 4%; background: radial-gradient(circle, rgba(232, 132, 92, 0.32), transparent 65%); }
.orb-sage { width: 620px; height: 620px; left: -12%; top: 26%; background: radial-gradient(circle, rgba(129, 178, 154, 0.30), transparent 65%); }
[data-theme="dark"] .hero-bg .orb { opacity: 0.28; }

.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-copy .eyebrow { color: var(--terracotta); }
.hero-copy .eyebrow::before { background: var(--terracotta); }
.hero-copy h1 { margin-bottom: 1.4rem; }
.hero-copy .lede { margin-bottom: 2.1rem; }
.hero-ctas { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.35rem;
  font-family: var(--mono); font-size: 0.8rem; color: var(--ink-faint);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-trust svg { width: 13px; height: 13px; color: var(--sage); }

.hero-phone { position: relative; display: flex; justify-content: center; }
.hero-phone .phone { width: min(360px, 78vw); rotate: 1.6deg; }
.hero-phone::after {
  content: ""; position: absolute; inset: auto 8% -8%; height: 40px;
  background: radial-gradient(ellipse, rgba(45, 30, 20, 0.16), transparent 70%);
  filter: blur(10px); z-index: -1;
}
[data-theme="dark"] .hero-phone::after { background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5), transparent 70%); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-copy .eyebrow::after { content: ""; width: 26px; height: 1.5px; background: var(--terracotta); opacity: 0.65; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-phone { margin-top: 2.5rem; }
}

/* ---------- phone bezel ---------- */
.phone {
  position: relative;
  background: var(--bezel);
  border-radius: clamp(38px, 11%, 52px);
  padding: clamp(8px, 2.4%, 11px);
  box-shadow: var(--shadow-phone);
  transition: box-shadow 0.35s ease, background-color 0.35s ease;
}
.phone-screen {
  border-radius: clamp(30px, 9%, 42px);
  overflow: hidden;
  background: var(--bg-inset);
  aspect-ratio: 440 / 956;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-screen .shot-dark { display: none; }
[data-theme="dark"] .phone-screen .shot-light { display: none; }
[data-theme="dark"] .phone-screen .shot-dark { display: block; }

/* ---------- stat strip ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.1rem 0;
  margin-top: clamp(2rem, 5vw, 4rem);
}
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  text-align: center;
}
.stat .n { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 560; color: var(--ink); line-height: 1.1; }
.stat .n em { font-style: italic; color: var(--terracotta); }
.stat .l { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.4rem; }
@media (max-width: 700px) { .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; } }

/* ---------- feature rows ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(3rem, 6vw, 5rem); text-align: center; }
.section-head .lede { margin: 1.1rem auto 0; }

.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
  padding: clamp(2.6rem, 6vw, 4.5rem) 0;
}
.feature .phone { width: min(330px, 74vw); margin: 0 auto; }
.feature-copy h3 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 560;
  margin-bottom: 1rem;
}
.feature-copy h3 em { font-style: italic; font-weight: 480; color: var(--terracotta); }
.feature-copy p { color: var(--ink-soft); margin-bottom: 0.9rem; max-width: 50ch; }
.feature-copy .points { list-style: none; margin-top: 1.3rem; display: grid; gap: 0.7rem; }
.feature-copy .points li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--ink-soft); font-size: 0.98rem; }
.feature-copy .points svg { width: 17px; height: 17px; flex: none; margin-top: 0.25rem; color: var(--sage); }
.feature-copy .points strong { color: var(--ink); font-weight: 650; }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 2.25rem; }
  .feature .feature-phone { order: -1; }
}

/* pill tag above feature titles */
.tag {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--terracotta);
  background: var(--terracotta-soft);
  border: 1px solid var(--terracotta-border);
  padding: 0.32rem 0.8rem; border-radius: 999px;
  margin-bottom: 1.05rem;
}
.tag.sage { color: var(--sage); background: var(--sage-soft); border-color: var(--sage-border); }

/* ---------- worm band ---------- */
.band {
  background: var(--band-sage);
  color: var(--band-sage-ink);
  border-radius: clamp(24px, 4vw, 44px);
  padding: clamp(2.75rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem);
  position: relative; overflow: hidden;
}
.band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 85% 0%, rgba(129, 178, 154, 0.16), transparent 60%);
  pointer-events: none;
}
.band .eyebrow { color: var(--sage-bright); }
.band .eyebrow::before { background: var(--sage-bright); }
.band h3 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 560; margin-bottom: 1rem; }
[data-theme="dark"] .band h3 { color: var(--ink); }
.band h3 em { font-style: italic; color: var(--sage-bright); }
.band p { color: color-mix(in srgb, var(--band-sage-ink) 82%, transparent); max-width: 52ch; }
.band .points li { color: color-mix(in srgb, var(--band-sage-ink) 82%, transparent); }
.band .points strong { color: #fff; }
[data-theme="dark"] .band .points strong { color: var(--ink); }
.band .points svg { color: var(--sage-bright); }
.band .feature { padding: 0; }

/* ---------- bento ---------- */
.bento {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.bento-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.25s ease, background-color 0.35s ease;
}
.bento-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.bento-card .ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sage-soft); color: var(--sage);
  border: 1px solid var(--sage-border);
  margin-bottom: 1rem;
}
.bento-card:nth-child(3n+2) .ico { background: var(--terracotta-soft); color: var(--terracotta); border-color: var(--terracotta-border); }
.bento-card .ico svg { width: 20px; height: 20px; }
.bento-card h4 { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.bento-card p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

/* ---------- video ---------- */
.video-wrap { display: grid; place-items: center; }
.video-phone {
  width: min(340px, 80vw);
  position: relative;
}
.video-phone .phone-screen { aspect-ratio: 886 / 1920; position: relative; }
.video-phone video { width: 100%; height: 100%; object-fit: cover; }
.video-phone iframe { width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
}
.video-play .pulse {
  width: 84px; height: 84px; border-radius: 50%;
  background: color-mix(in srgb, var(--terracotta) 92%, black);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 10px 34px rgba(193, 85, 61, 0.45);
  transition: transform 0.3s var(--ease);
}
.video-play:hover .pulse { transform: scale(1.08); }
.video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-caption { text-align: center; margin-top: 1.4rem; color: var(--ink-faint); font-size: 0.9rem; font-family: var(--mono); }

/* ---------- AI section ---------- */
.ai-modes { display: grid; gap: 0.9rem; margin-top: 1.5rem; }
.ai-mode {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.05rem 1.2rem;
  box-shadow: var(--shadow-card);
  transition: background-color 0.35s ease;
}
.ai-mode .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 0.5rem; flex: none; }
.ai-mode h5 { font-size: 0.98rem; font-weight: 700; color: var(--ink); }
.ai-mode p { font-size: 0.88rem; color: var(--ink-soft); margin: 0.15rem 0 0; }

/* ---------- pricing ---------- */
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.4rem;
  max-width: 880px; margin: 0 auto;
  align-items: stretch;
}
.price-card {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: 26px; padding: 2.2rem 2rem;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: background-color 0.35s ease;
}
.price-card.featured {
  border: 1.5px solid var(--terracotta-border);
  background:
    linear-gradient(var(--bg-raised), var(--bg-raised)) padding-box,
    linear-gradient(140deg, var(--terracotta), var(--sage-bright)) border-box;
  border: 2px solid transparent;
  position: relative;
}
.price-card .plan { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.8rem; }
.price-card .price { font-family: var(--serif); font-size: 2.9rem; font-weight: 560; line-height: 1; letter-spacing: -0.02em; }
.price-card .price small { font-family: var(--sans); font-size: 0.95rem; font-weight: 550; color: var(--ink-faint); letter-spacing: 0; }
.price-card .once {
  display: inline-block; margin-top: 0.65rem;
  font-size: 0.85rem; font-weight: 650; color: var(--terracotta);
}
.price-card ul { list-style: none; margin: 1.5rem 0 0; display: grid; gap: 0.65rem; flex: 1; }
.price-card li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.95rem; color: var(--ink-soft); }
.price-card li svg { width: 16px; height: 16px; flex: none; margin-top: 0.28rem; color: var(--sage); }
.price-card li strong { color: var(--ink); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--terracotta); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.32rem 0.95rem; border-radius: 999px; white-space: nowrap;
}
[data-theme="dark"] .price-badge { color: #16100c; }
.pricing-note { text-align: center; margin-top: 1.6rem; color: var(--ink-faint); font-size: 0.9rem; }
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- privacy band ---------- */
.privacy-band {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-inset);
  transition: background-color 0.35s ease;
}
.privacy-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  max-width: 880px; margin: 2.6rem auto 0;
  text-align: left;
}
.privacy-col h4 { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; margin-bottom: 0.35rem; display: flex; align-items: center; gap: 0.55rem; }
.privacy-col h4 svg { width: 18px; height: 18px; color: var(--sage); flex: none; }
.privacy-col p { font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 760px) { .privacy-cols { grid-template-columns: 1fr; } }

/* ---------- final CTA ---------- */
.final {
  text-align: center;
  padding: clamp(5rem, 11vw, 8.5rem) 0;
  position: relative; overflow: hidden;
}
.final .mark { width: 108px; height: 108px; margin: 0 auto 1.9rem; border-radius: 26px; box-shadow: var(--shadow-card); }
.final h2 { margin-bottom: 1.1rem; }
.final .lede { margin: 0 auto 2.3rem; }
.final-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
}
.final-bg .orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4; }
[data-theme="dark"] .final-bg .orb { opacity: 0.22; }

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 3rem 0 3.5rem;
  font-size: 0.92rem; color: var(--ink-faint);
}
.foot-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 0.6rem; color: var(--ink); font-family: var(--serif); font-weight: 620; font-size: 1.2rem; }
.foot-brand img { width: 30px; height: 30px; border-radius: 8px; }
.foot-tag { margin-top: 0.55rem; font-size: 0.85rem; font-style: italic; max-width: 34ch; }
.foot-links { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.foot-links .col { display: grid; gap: 0.45rem; }
.foot-links .h { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.3rem; }
.foot-links a { color: var(--ink-soft); font-size: 0.92rem; }
.foot-links a:hover { color: var(--terracotta); }
.foot-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.82rem; }

/* ---------- doc pages (privacy / support) ---------- */
.doc-hero {
  padding: clamp(7.5rem, 14vh, 10rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.doc-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 0.9rem; }
.doc-hero .lede { max-width: 62ch; }
.doc-hero .meta { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-faint); margin-top: 1.3rem; }

.doc-body { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.doc-grid { display: grid; grid-template-columns: 250px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .doc-grid { grid-template-columns: 1fr; } }

.doc-toc {
  position: sticky; top: 92px;
  border-left: 2px solid var(--line);
  padding-left: 1.1rem;
  display: grid; gap: 0.15rem;
  max-height: calc(100vh - 120px); overflow-y: auto;
}
.doc-toc .h { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-faint); margin: 0.9rem 0 0.35rem; }
.doc-toc .h:first-child { margin-top: 0; }
.doc-toc a { color: var(--ink-soft); font-size: 0.88rem; padding: 0.18rem 0; display: block; line-height: 1.4; }
.doc-toc a:hover { color: var(--terracotta); }
@media (max-width: 900px) {
  .doc-toc { position: static; border-left: none; padding: 1.25rem 1.4rem; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); max-height: none; }
}

.doc-content { max-width: 720px; }
.doc-content section { padding: 1.9rem 0 0.6rem; border-top: 1px solid var(--line); scroll-margin-top: 92px; }
.doc-content section:first-child { border-top: none; padding-top: 0; }
.doc-content h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 600; margin-bottom: 0.8rem; }
.doc-content h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin: 1.4rem 0 0.4rem; }
.doc-content p { margin-bottom: 0.85rem; color: var(--ink-soft); }
.doc-content strong { color: var(--ink); }
.doc-content ul, .doc-content ol { margin: 0.5rem 0 1rem 1.35rem; color: var(--ink-soft); }
.doc-content li { margin-bottom: 0.5rem; }
.doc-content li::marker { color: var(--terracotta); }
.doc-content code {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: 6px; padding: 0.08rem 0.4rem;
  font-family: var(--mono); font-size: 0.85em; color: var(--terracotta);
}

.callout {
  background: var(--sage-soft);
  border: 1px solid var(--sage-border);
  border-left: 3px solid var(--sage);
  border-radius: 0 14px 14px 0;
  padding: 1rem 1.2rem;
  margin: 1.4rem 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.callout strong { color: var(--sage-deep); }
.callout.terra {
  background: var(--terracotta-soft);
  border-color: var(--terracotta-border);
  border-left-color: var(--terracotta);
}
.callout.terra strong { color: var(--terracotta); }

.whenyou {
  display: inline-block;
  background: var(--terracotta-soft);
  border: 1px solid var(--terracotta-border);
  color: var(--terracotta);
  font-size: 0.82rem;
  padding: 0.34rem 0.8rem;
  border-radius: 999px;
  margin: 0.1rem 0 1rem;
}

/* FAQ accordion-ish */
.qa { border-top: 1px solid var(--line); padding: 1.05rem 0; }
.qa:first-of-type { border-top: none; }
.qa .q { font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.qa .a { color: var(--ink-soft); font-size: 0.95rem; }

.support-card {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-card); margin-top: 0.75rem;
}
.support-card .email {
  display: inline-block; margin: 0.5rem 0;
  font-size: 1.15rem; font-weight: 700; color: var(--terracotta);
}
.backtop { display: inline-block; margin-top: 0.8rem; font-size: 0.82rem; color: var(--terracotta); font-family: var(--mono); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn-ghost, .bento-card, .appstore-badge, .theme-toggle { transition: none; }
  * { animation: none !important; }
}

/* gentle float for the hero phone */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-phone .phone { animation: floaty 7s ease-in-out infinite; }
}
