/* ════════════════════════════════════════════════════════════
   Moments · keepmoments.app
   Light cream surface, multi-pastel cards, heavy sans-serif
   display. Mirrors the app's iOS-18-era visual language.
   CSP-strict: no inline styles, no inline scripts.
   ════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────── */

:root {
  /* Surface */
  --bg:           #f5f3ee;
  --bg-soft:      #faf9f6;
  --card:         #ffffff;
  --card-shadow:  0 1px 0 rgba(15, 15, 15, 0.04), 0 18px 40px -22px rgba(15, 15, 15, 0.16);
  --card-shadow-lg: 0 2px 0 rgba(15, 15, 15, 0.04), 0 30px 60px -30px rgba(15, 15, 15, 0.22);

  /* Pastel surfaces (match the app's stat pills + cards) */
  --pastel-pink:  #fbe6e9;
  --pastel-pink-2:#f6d5dc;
  --pastel-blue:  #e3eef7;
  --pastel-blue-2:#cfdff0;
  --pastel-green: #e6f0e0;
  --pastel-green-2:#d4e6c8;
  --pastel-cream: #f7e7d0;
  --pastel-cream-2:#f1d6b6;
  --pastel-lav:   #ebe5f1;

  /* Ink */
  --ink:          #18171a;
  --ink-2:        #5b5660;
  --ink-3:        #98929e;
  --ink-4:        #c6c0cc;

  /* Accents from the app */
  --blue:         #4f8cc4;
  --blue-2:       #356ea5;
  --amber:        #b56b2a;
  --amber-2:      #8c4e15;
  --amber-soft:   rgba(181, 107, 42, 0.12);
  --green:        #6b9a55;

  /* Lines */
  --line:         rgba(20, 18, 16, 0.07);
  --line-2:       rgba(20, 18, 16, 0.12);

  /* Type */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Helvetica Neue", sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Helvetica Neue", sans-serif;

  /* Layout */
  --max:          1180px;
  --gutter:       28px;

  /* Radii (large + soft, like iOS 18) */
  --r-xl:         32px;
  --r-lg:         24px;
  --r-md:         18px;
  --r-sm:         12px;

  color-scheme: light;
}

/* ── Reset ──────────────────────────────────────────────── */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "ss01";
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--amber); color: #fff; }

/* Highlight word (matches the blue "Wole" / amber "Weekly Mirror" feel) */
.hl {
  background: linear-gradient(180deg, var(--blue), var(--blue-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

/* ── Header ─────────────────────────────────────────────── */

.head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.head-nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 500;
}
.head-nav a { transition: color 160ms ease; }
.head-nav a:hover { color: var(--ink); }

/* ── Pill buttons (the app's signature CTA shape) ───────── */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background 180ms ease, color 180ms ease,
              border-color 180ms ease, transform 180ms ease,
              box-shadow 180ms ease;
  white-space: nowrap;
}

.pill-ink {
  background: var(--ink);
  color: #fff;
}
.pill-ink:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.38);
}

.pill-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line-2);
}
.pill-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--ink-3);
}

.pill-lg {
  padding: 14px 24px;
  font-size: 15.5px;
}

.pill-block {
  width: 100%;
}

.arrow {
  display: inline-block;
  transition: transform 200ms ease;
}
.pill:hover .arrow { transform: translateX(3px); }

.apple-logo {
  display: inline-block;
  margin-right: 2px;
  margin-top: -2px;
  flex-shrink: 0;
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-wash {
  position: absolute;
  inset: -80px -120px auto -120px;
  height: 720px;
  background:
    radial-gradient(60% 70% at 20% 20%, var(--pastel-pink) 0%, transparent 60%),
    radial-gradient(60% 70% at 80% 25%, var(--pastel-blue) 0%, transparent 60%),
    radial-gradient(60% 70% at 50% 70%, var(--pastel-green) 0%, transparent 60%);
  filter: blur(40px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px var(--gutter) 56px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 32px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 20px -12px rgba(0,0,0,0.1);
}
.eyebrow-pill {
  padding: 3px 9px;
  background: linear-gradient(180deg, var(--blue), var(--blue-2));
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  border-radius: 999px;
}

.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.97;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 28px;
}

.lede {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 auto 36px;
  font-weight: 400;
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── App preview stage ──────────────────────────────────── */

.stage {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--gutter) 96px;
  display: flex;
  justify-content: center;
}

.stage-shadow {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 80px;
  background: radial-gradient(closest-side, rgba(15, 15, 15, 0.22), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}

.device {
  position: relative;
  z-index: 1;
  width: 360px;
  aspect-ratio: 9 / 19;
  filter: drop-shadow(0 40px 60px rgba(20, 16, 12, 0.16));
}

.device-shell {
  position: absolute;
  inset: 0;
  border-radius: 56px;
  background: linear-gradient(180deg, #2b2825 0%, #1a1714 100%);
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.10) inset,
    0 1px 0 rgba(255, 255, 255, 0.20) inset;
}
.device-notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 108px; height: 28px;
  background: #0c0a08;
  border-radius: 18px;
  z-index: 2;
}
.device-screen {
  position: absolute;
  inset: 8px;
  border-radius: 50px;
  background: var(--bg);
  overflow: hidden;
  padding: 48px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-bar {
  position: absolute;
  top: 18px; left: 0; right: 0;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  z-index: 1;
}
.phone-icons { display: inline-flex; gap: 4px; }
.phone-dot   { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-2); }

.phone-app {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  position: relative;
}

/* Phone — hero gradient card */
.phone-hero {
  position: relative;
  background: var(--card);
  border-radius: 22px;
  padding: 14px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 18px -10px rgba(0,0,0,0.1);
}
.phone-hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 15% 20%, var(--pastel-pink) 0%, transparent 60%),
    radial-gradient(60% 60% at 85% 30%, var(--pastel-blue) 0%, transparent 60%),
    radial-gradient(60% 60% at 50% 90%, var(--pastel-green) 0%, transparent 60%);
  opacity: 0.85;
  pointer-events: none;
}
.phone-hero > *:not(.phone-hero-wash) { position: relative; z-index: 1; }

.phone-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.phone-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9b8a9, #8a7060);
  box-shadow: 0 0 0 2px var(--blue), 0 0 0 3px var(--card);
}
.phone-hero-actions {
  display: inline-flex;
  gap: 5px;
}
.phone-icon-btn {
  width: 26px; height: 26px;
  background: var(--card);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  color: var(--blue);
}
.phone-icon-btn-bell { color: var(--green); }

.phone-greet {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.1;
}
.phone-name {
  background: linear-gradient(180deg, var(--blue), var(--blue-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.phone-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.phone-chip {
  padding: 3px 8px;
  font-size: 9px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.phone-chip-blue {
  background: linear-gradient(180deg, var(--blue), var(--blue-2));
  color: #fff;
}
.phone-date { font-size: 11px; color: var(--ink-2); font-weight: 600; }
.phone-chip-voice {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--card);
  padding: 3px 8px 3px 5px;
  border-radius: 999px;
  font-size: 9px;
  color: var(--ink-2);
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.phone-wave-mini {
  display: inline-flex;
  align-items: center;
  gap: 1.5px;
  height: 12px;
}
.phone-wave-mini span {
  width: 1.8px;
  background: linear-gradient(180deg, var(--blue), #3a9bcf);
  border-radius: 1px;
}
.phone-wave-mini span:nth-child(1) { height: 40%; }
.phone-wave-mini span:nth-child(2) { height: 80%; }
.phone-wave-mini span:nth-child(3) { height: 60%; }
.phone-wave-mini span:nth-child(4) { height: 100%; }
.phone-wave-mini span:nth-child(5) { height: 50%; }

.phone-quote {
  background: var(--card);
  border-radius: 14px;
  padding: 9px 11px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.phone-cap {
  display: block;
  font-size: 9px;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 4px;
}
.phone-quote p {
  font-size: 11.5px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

/* Weekly Mirror card */
.phone-mirror {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 6px 14px -8px rgba(0,0,0,0.08);
}
.phone-mirror-badge {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--pastel-cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.phone-mirror-body { flex: 1; min-width: 0; }
.phone-mirror-head {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  color: var(--amber);
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}
.phone-new {
  color: var(--amber);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.phone-mirror-sub {
  font-size: 10px;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: 4px;
}
.phone-mirror-text {
  font-size: 10.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}
.phone-mirror-arrow {
  color: var(--amber);
  font-size: 14px;
  flex-shrink: 0;
}

/* Two-up cards */
.phone-twoup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.phone-card {
  position: relative;
  padding: 12px;
  border-radius: 16px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.phone-card-pink { background: var(--pastel-pink); }
.phone-card-blue { background: var(--pastel-blue); }
.phone-card-cap {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.phone-card-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 2px;
}
.phone-card-sub {
  font-size: 9px;
  color: var(--ink-2);
  font-weight: 500;
}
.phone-mic {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 26px; height: 26px;
  background: var(--card);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.phone-lib-icon {
  width: 24px; height: 24px;
  background: var(--card);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-bottom: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.phone-week {
  display: flex;
  gap: 2px;
  margin-top: auto;
}
.phone-week span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(79, 140, 196, 0.25);
}
.phone-week span.on {
  background: var(--blue);
}

/* Tab bar */
.phone-tabs {
  margin-top: auto;
  background: var(--card);
  border-radius: 999px;
  padding: 6px 4px;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.04);
  font-size: 9px;
  font-weight: 600;
  color: var(--ink-3);
}
.phone-tab {
  padding: 4px 6px;
}
.phone-tab.active {
  color: var(--ink);
  position: relative;
}

/* ── Feature grid ───────────────────────────────────────── */

.features {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--gutter) 96px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: 10px;
  max-width: 60ch;
  font-weight: 400;
}
.section-head.centered .section-lede {
  margin-left: auto;
  margin-right: auto;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feat {
  position: relative;
  padding: 26px;
  border-radius: var(--r-lg);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 240ms ease, box-shadow 240ms ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 12px 24px -16px rgba(15, 15, 15, 0.1);
}
.feat:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 30px 50px -22px rgba(15, 15, 15, 0.18);
}

.feat-pink  { background: var(--pastel-pink); }
.feat-blue  { background: var(--pastel-blue); }
.feat-green { background: var(--pastel-green); }
.feat-cream { background: var(--pastel-cream); }

.feat-badge {
  width: 44px; height: 44px;
  background: var(--card);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  margin-bottom: 8px;
}

.feat h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.feat p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
}

/* ── Privacy ────────────────────────────────────────────── */

.privacy {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--gutter) 96px;
}

.priv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.privacy .section-lede + .section-lede { margin-top: 14px; }

.priv-points {
  display: grid;
  gap: 14px;
}
.priv-point {
  position: relative;
  background: var(--card);
  border-radius: var(--r-md);
  padding: 20px 22px;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 10px 22px -16px rgba(15, 15, 15, 0.12);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.priv-point:hover {
  transform: translateX(4px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 22px 36px -20px rgba(15, 15, 15, 0.18);
}
.priv-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 6px;
}
.priv-point h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16.5px;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 4px;
}
.priv-point p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
}

/* ── Pricing ────────────────────────────────────────────── */

.pricing {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--gutter) 96px;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}

.plan {
  position: relative;
  background: var(--card);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.plan:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-lg);
}

.plan-yearly {
  background: linear-gradient(180deg, var(--pastel-cream) 0%, var(--card) 70%);
  border-color: rgba(181, 107, 42, 0.25);
}

.plan header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.plan-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, var(--amber), var(--amber-2));
  padding: 4px 10px;
  border-radius: 999px;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
}
.plan-label-muted { visibility: hidden; }

.plan h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan-amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.plan-period {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-3);
}

.plan-sub {
  font-size: 13.5px;
  color: var(--amber);
  font-weight: 600;
}
.plan-sub strong { font-weight: 800; }

.plan-list {
  display: grid;
  gap: 11px;
  margin: 4px 0 6px;
}
.plan-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.4;
}
.plan-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--amber-soft);
  border: 1px solid rgba(181, 107, 42, 0.3);
}
.plan-list li::after {
  content: '';
  position: absolute;
  left: 4px; top: 8px;
  width: 7px; height: 4px;
  border-left: 1.6px solid var(--amber);
  border-bottom: 1.6px solid var(--amber);
  transform: rotate(-45deg);
}

/* ── Closer ─────────────────────────────────────────────── */

.closer {
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px;
}
.closer-wash {
  position: absolute;
  inset: -100px -120px;
  background:
    radial-gradient(60% 50% at 30% 50%, var(--pastel-pink) 0%, transparent 65%),
    radial-gradient(60% 50% at 70% 50%, var(--pastel-blue) 0%, transparent 65%),
    radial-gradient(50% 40% at 50% 80%, var(--pastel-cream) 0%, transparent 65%);
  filter: blur(40px);
  opacity: 0.85;
  pointer-events: none;
}

.closer-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.closer-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 22px;
}

.closer-sub {
  font-size: 17px;
  color: var(--ink-2);
  margin-bottom: 32px;
  font-weight: 400;
}

/* ── Article (Privacy / Support / Terms) ───────────────── */

.article {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 96px;
}

.article-head {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.article-head .kicker { margin-bottom: 18px; }

.article-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 20px;
}

.article-lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 22px;
  font-weight: 400;
}

.article-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 500;
}
.article-updated::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.article-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 72px;
  max-width: 1080px;
  margin: 0 auto;
}

.article-toc {
  position: sticky;
  top: 24px;
  align-self: start;
}
.toc-head {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.article-toc a {
  display: block;
  padding: 7px 0 7px 14px;
  font-size: 13.5px;
  color: var(--ink-2);
  border-left: 1px solid var(--line);
  transition: color 160ms ease, border-color 160ms ease;
  font-weight: 500;
  line-height: 1.4;
}
.article-toc a:hover {
  color: var(--ink);
  border-left-color: var(--ink-3);
}

.prose {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}

.prose > p:first-child {
  font-size: 19px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 28px;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 64px 0 18px;
  scroll-margin-top: 24px;
  line-height: 1.15;
}
.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 36px 0 10px;
  line-height: 1.3;
}

.prose p { margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

.prose ul,
.prose ol {
  margin: 0 0 22px;
  padding-left: 0;
  list-style: none;
}

.prose ul li,
.prose ol li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  line-height: 1.55;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber-soft);
  border: 1.5px solid var(--amber);
}
.prose ol {
  counter-reset: ol;
}
.prose ol li {
  counter-increment: ol;
}
.prose ol li::before {
  content: counter(ol, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.04em;
}

.prose a {
  color: var(--blue-2);
  font-weight: 500;
  border-bottom: 1px solid rgba(79, 140, 196, 0.32);
  transition: color 160ms ease, border-color 160ms ease;
}
.prose a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose em { font-style: italic; color: var(--ink); }

/* Callout cards for emphasized passages */
.prose .callout {
  display: block;
  background: var(--pastel-cream);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid rgba(181, 107, 42, 0.18);
}
.prose .callout p { margin: 0; font-size: inherit; color: inherit; }
.prose .callout p + p { margin-top: 12px; }
.prose .callout strong { color: var(--amber-2); }

.prose .callout-blue { background: var(--pastel-blue); border-color: rgba(79, 140, 196, 0.22); }
.prose .callout-blue strong { color: var(--blue-2); }

.prose .callout-green { background: var(--pastel-green); border-color: rgba(107, 154, 85, 0.22); }
.prose .callout-green strong { color: var(--green); }

/* Definition-style data lists used in Terms */
.prose dl {
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: 140px 1fr;
  row-gap: 14px;
  column-gap: 24px;
}
.prose dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.02em;
  padding-top: 2px;
}
.prose dd { margin: 0; color: var(--ink); }

/* Article responsive */
@media (max-width: 960px) {
  .article-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article-toc {
    position: static;
    padding: 18px 20px;
    background: var(--card);
    border-radius: var(--r-md);
    border: 1px solid var(--line);
  }
  .article-toc a {
    border-left: none;
    padding: 6px 0;
  }
  .article-toc a:hover {
    border-left: none;
  }
  .prose dl { grid-template-columns: 1fr; row-gap: 4px; }
  .prose dt { padding-top: 0; }
  .prose dd { padding-bottom: 8px; }
}

@media (max-width: 640px) {
  .article { padding: 40px var(--gutter) 64px; }
  .article-head { margin-bottom: 48px; padding-bottom: 40px; }
}

/* ── Footer ─────────────────────────────────────────────── */

.foot {
  background: var(--card);
  border-top: 1px solid var(--line);
}

.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 60px;
}
.foot-brand .brand { font-size: 17px; }
.foot-mute {
  font-size: 13.5px;
  color: var(--ink-3);
  max-width: 30ch;
  margin-top: 10px;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.foot-col h5 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.foot-col a {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ink-2);
  transition: color 140ms ease;
}
.foot-col a:hover { color: var(--ink); }

.foot-bar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 960px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .priv-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .head-nav { display: none; }

  .hero-inner { padding: 48px var(--gutter) 32px; }
  .stage { padding: 8px var(--gutter) 64px; }
  .device { width: 300px; }

  .features  { padding: 16px var(--gutter) 64px; }
  .privacy   { padding: 8px var(--gutter) 64px; }
  .pricing   { padding: 24px var(--gutter) 64px; }
  .closer    { padding: 72px 0 80px; }

  .plans { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px var(--gutter) 32px; }
}

@media (max-width: 520px) {
  .feat-grid { grid-template-columns: 1fr; }
  .device { width: 280px; }
  .display { font-size: clamp(44px, 12vw, 64px); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols .foot-col:nth-child(3) { grid-column: 1 / -1; }
}

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