/* Perspectives site stylesheet — tokens and system follow DIRECTION.md & COPY.md */
:root {
  --bg: #FFF8F0; --card: #FFFDFB; --ink: #2D2A26; --muted: #7A7067; --line: #ECE4DA;
  --accent: #2D2A26; --accent-ink: #FFF8F0;
  --tint-a: #FFF0E6;                 /* hero wash, pricing band, closing band */
  --deep: #2D2A26; --deep-ink: #FFF8F0; --gold: #F2B56B;   /* safety band only */
  --band: #FFF0E6; --band-ink: #2D2A26;

  /* the seven friends — the only chroma on the page */
  --f-empath: #C3A6D8; --f-advocate: #E8913A; --f-anchor: #7BA0B8; --f-diplomat: #7BAF7E;
  --f-overthinker: #C4956A; --f-spark: #E88B8B; --f-ember: #C0392B;
  --fi-empath: #6E4F8A; --fi-advocate: #9A5A14; --fi-anchor: #3F6680; --fi-diplomat: #3F6F43;
  --fi-overthinker: #7A5530; --fi-spark: #A6403F; --fi-ember: #A32E22;
  --live: var(--f-spark);

  /* type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-weight: 500; --display-track: -0.02em;

  /* system: 4 radii, 3 shadows, 1 gap */
  --r-s: 6px; --r-m: 14px; --r-l: 24px; --r-pill: 999px;
  --sh-rgb: 45 42 38;
  --shadow-s: 0 1px 2px rgb(var(--sh-rgb) / .05), 0 4px 12px rgb(var(--sh-rgb) / .06);
  --shadow:   0 1px 2px rgb(var(--sh-rgb) / .05), 0 12px 32px rgb(var(--sh-rgb) / .10);
  --shadow-l: 0 24px 64px rgb(var(--sh-rgb) / .18);
  --gap: clamp(64px, 9vw, 128px);
  --maxw: 1136px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --frame: #1F1B18; --rim: transparent;
  --grain-opacity: .03;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1E1B18; --card: #272320; --ink: #F5EDE3; --muted: #B5AAA0; --line: #3A332D;
    --accent: #F5EDE3; --accent-ink: #1E1B18;
    --tint-a: #2E2521; --deep: #12100E; --band: #2E2521; --band-ink: #F5EDE3;
    --fi-empath: #C3A6D8; --fi-advocate: #E8913A; --fi-anchor: #7BA0B8; --fi-diplomat: #7BAF7E;
    --fi-overthinker: #C4956A; --fi-spark: #E88B8B; --fi-ember: #E8695D;
    --sh-rgb: 0 0 0; --frame: #0B0A09; --rim: rgb(255 255 255 / .10);
    --grain-opacity: .05;
  }
}

/* Base friend color utility classes (replaces inline styles) */
.friend-empath { --c: var(--f-empath); --ci: var(--fi-empath); }
.friend-advocate { --c: var(--f-advocate); --ci: var(--fi-advocate); }
.friend-anchor { --c: var(--f-anchor); --ci: var(--fi-anchor); }
.friend-diplomat { --c: var(--f-diplomat); --ci: var(--fi-diplomat); }
.friend-overthinker { --c: var(--f-overthinker); --ci: var(--fi-overthinker); }
.friend-spark { --c: var(--f-spark); --ci: var(--fi-spark); }
.friend-ember { --c: var(--f-ember); --ci: var(--fi-ember); }

/* Base reset & surfaces */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--muted) transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 var(--font-body); caret-color: var(--accent); accent-color: var(--accent); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
main { overflow-x: clip; }

/* The app's paper grain */
body::before { content: ""; position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: var(--grain-opacity); background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 256px 256px; }
::selection { background: color-mix(in srgb, var(--f-spark) 35%, transparent); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: .16em; text-decoration-thickness: 1.5px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--r-s); }
.wrap { width: min(var(--maxw), 100% - 32px); margin-inline: auto; }
section { margin-top: var(--gap); }

/* Type scale */
h1, h2, h3, .statement { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-track); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; }
h1 em { font-style: italic; font-weight: 400; }
.statement { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; }
h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; margin-bottom: 40px; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 52ch; text-wrap: balance; }
.small, .detail { font-size: 15px; line-height: 1.5; color: var(--muted); }
h1 .line { display: block; }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); font: 700 17px/1 var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s var(--ease), background-color .12s var(--ease), box-shadow .12s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--accent-ink); opacity: 1; }
.btn-primary:hover { box-shadow: var(--shadow-s); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { margin-top: 14px; font-size: 15px; color: var(--muted); text-wrap: balance; opacity: 1; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(1.3) blur(12px); backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { font: var(--display-weight) 24px/1 var(--font-display); letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand .i { position: relative; }
.brand .i::after { content: ""; position: absolute; left: 50%; top: .02em; width: .16em; height: .16em; border-radius: 50%; background: var(--f-spark); transform: translateX(-50%); }
.nav-links { display: flex; gap: 22px; margin-right: auto; }
.nav-links a, .login { white-space: nowrap; color: var(--ink); text-decoration: none; font-size: 16px; }
.nav-links a:hover, .login:hover { text-decoration: underline; }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* Orbs — the friends' presence */
.orb { position: relative; display: inline-block; width: 48px; height: 48px; flex: none; border-radius: 48% 52% 46% 54% / 52% 46% 54% 48%; background: radial-gradient(circle at 36% 32%, color-mix(in srgb, var(--c) 55%, white) 0%, var(--c) 48%, color-mix(in srgb, var(--c) 80%, var(--bg)) 100%); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 14%, transparent); }
.orb::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); opacity: .22; mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { .orb::after { mix-blend-mode: soft-light; opacity: .4; } }

/* Hero + scene (phones only) */
.hero { margin-top: 0; padding-top: clamp(48px, 7vw, 88px); text-align: center; }
.hero .lead, .hero .fine { margin-inline: auto; }
.hero .lead { margin-top: 28px; }
.hero .ctas { justify-content: center; margin-top: 36px; }
.scene { position: relative; margin: clamp(56px, 7vw, 88px) auto 0; max-width: 1040px; padding: 0 0 40px; aspect-ratio: 1040 / 730; }
.scene::after { content: ""; position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.scene .phone-front { position: absolute; z-index: 2; top: 0; left: 50%; width: 30%; transform: translateX(-50%); opacity: 1; }
.scene .phone-back { position: absolute; z-index: 1; width: 27%; top: 44px; opacity: 1; }
.scene .phone-l { left: 16%; transform: rotate(-6deg); }
.scene .phone-r { right: 16%; transform: rotate(6deg); }
.glow { position: absolute; z-index: 0; border-radius: 50%; background: radial-gradient(circle at 40% 40%, var(--c), transparent 70%); filter: blur(40px); opacity: .55; pointer-events: none; }
.glow-spark { --c: var(--f-spark); width: 260px; height: 260px; right: 20%; top: -10%; }
.glow-diplomat { --c: var(--f-diplomat); width: 220px; height: 220px; left: 6%; top: 18%; }
.glow-anchor { --c: var(--f-anchor); width: 240px; height: 240px; right: 4%; top: 44%; }
.glow-overthinker { --c: var(--f-overthinker); width: 200px; height: 200px; left: 14%; top: 60%; }
@media (prefers-color-scheme: dark) { .glow { opacity: .5; } }
.sticker { position: absolute; z-index: 5; left: 9%; top: 0; padding: 10px 16px; border-radius: var(--r-m); background: var(--tint-a); color: var(--ink); font: 700 15px/1.2 var(--font-body); box-shadow: var(--shadow-s); transform: rotate(-2deg); white-space: nowrap; opacity: 1; }

/* Phone frames — one bezel everywhere. Crops keep 24px top corners. */
.phone, .how-crop { background: #2D2A26; box-shadow: var(--shadow-l), 0 0 0 1px rgb(45 42 38 / .08); overflow: hidden; border-radius: 34px; padding: 8px; }
.phone img { border-radius: 26px; width: 100%; height: auto; display: block; }

/* Signature demo */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > :first-child { position: sticky; top: 96px; }
.chips { display: flex; flex-direction: column; gap: 10px; margin: 28px 0 0; }
.chip { min-height: 44px; text-align: left; padding: 11px 18px; border-radius: var(--r-m); border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.4; cursor: pointer; transition: background-color .12s var(--ease), border-color .12s var(--ease), transform .12s var(--ease); }
.chip:hover { border-color: var(--muted); }
.chip:active { transform: scale(.99); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.demo .ctas { margin-top: 20px; }
.caption { margin-top: 20px; max-width: 40ch; }
.page { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 36px); }
.thread { min-height: 560px; }
.conv[hidden] { display: none; }
.you { position: relative; background: var(--tint-a); border-radius: var(--r-m); padding: 22px 24px 22px 44px; margin: 0 0 20px; }
.you::before { content: "\201C"; position: absolute; left: 18px; top: 8px; font: 400 34px/1 var(--font-display); color: var(--muted); opacity: .5; }
.you, .reply, .reply > div, .reply .orb { opacity: 1; transform: none; }
.you p { margin: 0; font: italic 400 20px/1.5 var(--font-display); color: var(--ink); max-width: none; }
.round { display: flex; align-items: center; gap: 14px; padding: 0 6px 0 2px; margin-bottom: 8px; color: var(--muted); font: 700 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.round .rule { flex: 1; height: 1px; background: var(--line); }
.round .dots { display: flex; gap: 8px; }
.round .d { width: 12px; height: 12px; border-radius: 45% 55% 50% 50%; background: var(--c); opacity: 1; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.replies { list-style: none; margin: 0; padding: 0; }
.reply { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; padding: 18px 16px 18px 14px; border-radius: var(--r-m); background: color-mix(in srgb, var(--c) 7%, transparent); }
.reply + .reply { margin-top: 8px; }
.reply .name { display: block; font: 700 16px/1.2 var(--font-body); color: var(--ci); }
.reply .tag { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
.reply p { margin: 8px 0 0; max-width: 58ch; color: var(--ink); font-size: 18px; line-height: 1.6; }

/* Demo animation states */
.playing .you { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.playing .you.is-in { opacity: 1; transform: none; }
.playing .round .d { opacity: .28; }
.playing .round .d.lit { opacity: 1; transform: scale(1.15); }
.playing .reply { background: transparent; transition: background-color .6s var(--ease); }
.playing .reply .orb { transform: scale(0); opacity: 0; transition: transform .6s var(--ease), opacity .4s var(--ease); }
.playing .reply.is-in .orb { transform: scale(1); opacity: .6; animation: breathe 1.4s ease-in-out infinite; }
.playing .reply.is-text { background: color-mix(in srgb, var(--c) 7%, transparent); }
.playing .reply.is-text .orb { opacity: 1; animation: none; }
.playing .reply > div { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.playing .reply.is-text > div { opacity: 1; transform: none; }
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.07; } }

/* Section 4: Problem turn */
.problem { text-align: center; }
.problem .pain { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.25; margin-bottom: 48px; }
.problem .pain .line { display: block; }
.problem-stats { display: flex; flex-direction: column; align-items: center; padding: 36px 0; border-block: 1px solid var(--line); max-width: 900px; margin: 0 auto 36px; }
.stat-num { font-family: var(--font-display); font-size: clamp(48px, 6vw, 68px); font-weight: var(--display-weight); line-height: 1; margin-bottom: 8px; }
.stat-desc { color: var(--muted); font-size: 16px; line-height: 1.4; margin: 0 auto; max-width: 46ch; }
.friend-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; margin-top: 28px; }
.friend-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--ink); font: 600 15px/1.2 var(--font-body); text-decoration: none; white-space: nowrap; }
.friend-chip:hover { border-color: var(--ink); }
.friend-chip .orb-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); display: inline-block; flex: none; }
.problem-statement { font-size: 22px; font-weight: 600; margin: 24px auto 0; }

/* Section 5: How it works */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how-card { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 32px 24px 24px; display: flex; flex-direction: column; }
.how-num { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; font: 700 15px/1 var(--font-body); margin-bottom: 18px; }
.how-card h3 { margin-bottom: 10px; }
.how-card p { color: var(--muted); font-size: 16px; line-height: 1.5; margin-bottom: 24px; flex: 1; }
.how-crop { border-radius: 24px 24px 0 0; max-height: 280px; }
.how-crop img { border-radius: 16px 16px 0 0; width: 100%; height: auto; object-fit: cover; display: block; }
.crop-home img { object-position: top; }
.crop-council img { object-position: 0 20%; }
.crop-summary img { object-position: 0 45%; }

/* Section 6: Features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; margin-bottom: 16px; }
.feature .detail { margin-top: 20px; }
.feature-phone { position: relative; display: grid; max-width: 340px; margin: 0 auto; aspect-ratio: 340 / 520; border-radius: 24px 24px 0 0; padding: 8px 8px 0; }
.feature-phone img { grid-area: 1 / 1; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: top center; border-radius: 16px 16px 0 0; }
.feature:not(.feature-reverse) .feature-phone img { object-position: center bottom; }
.feature-phone::after { content: ""; grid-area: 1 / 1; align-self: end; z-index: 2; height: 30%; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }

/* Friends ledger (§6A) */
.friends { grid-template-columns: 5fr 7fr; align-items: start; }
.roster { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.roster li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; padding: 18px 14px; margin: 0 -14px; border-bottom: 1px solid var(--line); border-radius: var(--r-m); transition: background-color .2s var(--ease); }
.roster li:hover { background: color-mix(in srgb, var(--c) 8%, transparent); }
.roster .orb { margin-top: 2px; }
.roster .who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.roster b { font: var(--display-weight) 24px/1.2 var(--font-display); letter-spacing: -0.01em; }
.roster .how { color: var(--muted); font-size: 16px; }
.roster q { display: block; margin-top: 6px; font: italic 400 19px/1.45 var(--font-display); color: var(--ci); max-width: 44ch; }
.roster q::before { content: "\201C"; } .roster q::after { content: "\201D"; }

/* Feature D: Safety band */
.safety-band { background: var(--deep); color: var(--deep-ink); border-radius: var(--r-l); padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px); margin-top: var(--gap); }
.safety-band h3 { color: var(--deep-ink); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; margin-bottom: 18px; }
.safety-band p { color: color-mix(in srgb, var(--deep-ink) 85%, transparent); font-size: 19px; max-width: 58ch; }
.safety-band .detail { color: color-mix(in srgb, var(--deep-ink) 65%, transparent); font-size: 16px; }
.safety-rule { height: 1px; background: var(--gold); margin: 28px 0; width: 64px; }

/* Section 7: Pricing band */
.pricing-band { background: var(--tint-a); border-radius: var(--r-l); padding: clamp(40px, 7vw, 72px) 24px; text-align: center; }
.pricing-band .statement { margin-bottom: 10px; }
.pricing-band .lead { margin: 0 auto 36px; }
.plan-card { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow); max-width: 440px; margin: 0 auto; padding: 40px 32px; text-align: left; }
.plan-name { font: 600 15px/1.4 var(--font-body); color: var(--muted); text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.plan-price { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 56px; line-height: 1; margin-bottom: 24px; color: var(--ink); }
.plan-includes { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.plan-includes li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.4; }
.plan-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.plan-note { margin: 16px 0 24px; }
.plan-card .btn { width: 100%; }

/* Section 8: Who it's for */
.audience-card { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 36px 32px; max-width: 760px; margin-inline: 0; }
.audience-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.audience-list li { display: flex; align-items: flex-start; gap: 16px; font-size: 19px; line-height: 1.5; }
.audience-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); margin-top: 11px; flex: none; }
.audience-not { max-width: 760px; margin: 20px 0 0; text-align: left; padding-left: 32px; }

/* Section 9: Private by design */
.privacy-card { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 24px 32px; max-width: 760px; margin-inline: 0; }
.privacy-row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.privacy-row:last-child { border-bottom: none; }
.privacy-term { font-weight: 700; color: var(--ink); display: block; margin-bottom: 4px; font-size: 18px; }
.privacy-desc { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: none; }
.privacy-link { display: inline-block; margin-top: 24px; font-weight: 700; }

/* Section 10: FAQ */
.faq-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.faq-wrap > h2 { position: sticky; top: 96px; }
.faq-list { display: flex; flex-direction: column; gap: 0; background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow-s); overflow: hidden; }
.faq-item { background: transparent; border-radius: 0; box-shadow: none; border: none; border-top: 1px solid var(--line); overflow: hidden; }
.faq-item:first-child { border-top: none; }
.faq-item summary { padding: 20px 24px; font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s var(--ease); margin-left: 14px; flex: none; }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p { padding: 0 24px 20px; color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; }

/* Section 10b: Coming next */
.coming-card { background: var(--card); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 28px; max-width: 840px; margin: 0 auto; }
.coming-header { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.coming-header h3 { font-size: 20px; margin: 0; }
.badge { display: inline-block; padding: 4px 12px; border-radius: var(--r-pill); background: var(--tint-a); color: var(--ink); font: 600 13px/1.2 var(--font-body); white-space: nowrap; }
.coming-card p { font-size: 17px; margin-bottom: 12px; }

/* Section 11: Closing band */
.closing-band { position: relative; overflow: hidden; background: var(--tint-a); border-radius: var(--r-l); padding: 72px 24px; text-align: center; }
.closing-band .statement { margin-bottom: 0; position: relative; z-index: 2; }
.closing-band .ctas { margin-top: 28px; justify-content: center; }
.closing-band .btn { position: relative; z-index: 2; }
.closing-orbs { position: absolute; inset: 0; pointer-events: none; opacity: .4; z-index: 1; }

/* Section 12: Footer */
.site-footer { margin-top: var(--gap); border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.footer-brand .brand { font-size: 22px; display: inline-block; margin-bottom: 10px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 32ch; }
.footer-col h4 { font: 600 15px/1.4 var(--font-body); text-transform: none; letter-spacing: 0; color: var(--muted); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 14px; }
.footer-bottom p { margin: 0; max-width: none; }

/* Legal pages (/privacy, /terms) */
.legal { max-width: 720px; margin: 0 auto; padding-top: clamp(40px, 6vw, 72px); padding-bottom: 80px; }
.legal-header { margin-bottom: 48px; border-bottom: 1px solid var(--line); padding-bottom: 32px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 12px; }
.legal .updated { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.legal .intro { font-size: 20px; line-height: 1.5; color: var(--ink); }
.legal section { margin-top: 40px; }
.legal h2 { font-size: 24px; margin-bottom: 16px; }
.legal h3 { font-size: 20px; margin-bottom: 12px; }
.legal ul { margin: 0 0 24px; padding-left: 24px; }
.legal li { margin-bottom: 12px; line-height: 1.6; }
.legal p { font-size: 17px; line-height: 1.6; margin-bottom: 18px; max-width: none; }

/* 404 page */
.error-page { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 16px; }
.error-page h1 { font-size: clamp(36px, 5.5vw, 64px); margin-bottom: 16px; }
.error-page p { font-size: 20px; color: var(--muted); margin-bottom: 32px; }

/* Open Graph layout */
.og-card { width: 1200px; height: 630px; overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative; }
.og-wrap { width: 100%; height: 100%; padding: 80px 100px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.og-glow-1 { top: -20px; right: 100px; width: 360px; height: 360px; }
.og-glow-2 { bottom: 40px; right: 280px; width: 300px; height: 300px; }
.og-glow-3 { top: 60px; left: 80px; width: 280px; height: 280px; }
.og-glow-4 { bottom: -20px; left: 240px; width: 260px; height: 260px; }
.og-content { position: relative; z-index: 2; max-width: 800px; }
.og-brand { font-size: 34px; margin-bottom: 24px; }
.og-title { font-size: 72px; line-height: 1.05; margin-bottom: 20px; text-wrap: balance; }
.og-title em { font-style: italic; font-weight: 400; }
.og-tagline { font-size: 26px; color: var(--muted); margin-bottom: 32px; max-width: 44ch; }
.og-badge { display: inline-block; padding: 10px 20px; border-radius: var(--r-m); background: var(--tint-a); color: var(--ink); font: 700 18px/1.2 var(--font-body); box-shadow: var(--shadow-s); transform: rotate(-2deg); }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .lead { animation: rise .6s var(--ease) both; }
  .hero .lead { animation-delay: .06s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
  .glow { animation: ambient 6s ease-in-out infinite; }
  .glow-diplomat { animation-delay: -1.5s; }
  .glow-anchor { animation-delay: -3s; }
  .glow-overthinker { animation-delay: -4.5s; }
  @keyframes ambient { 0%, 100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.08); opacity: .62; } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Responsive */
@media (max-width: 900px) {
  .split, .feature, .friends, .faq-wrap { grid-template-columns: 1fr; }
  .split > :first-child, .faq-wrap > h2 { position: static; }
  .how-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .nav .wrap { gap: 14px; }
  .login { margin-left: auto; font-size: 15px; }
  .brand { font-size: 21px; }
  .nav .btn { padding: 0 14px; font-size: 14px; }
  h1 { font-size: 44px; }
  h1 em { display: block; }
  .hero .ctas { flex-direction: column; align-items: stretch; }
  .scene { max-width: none; padding: 0; margin-top: 40px; aspect-ratio: 100 / 156; }
  .scene .phone-back, .sticker, .glow-overthinker, .glow-anchor { display: none; }
  .scene .phone-front { width: 72%; }
  .demo.split { display: flex; flex-direction: column; }
  .demo.split > :first-child { display: contents; }
  .demo h2, .demo .lead { order: 1; }
  .demo .chips { order: 2; }
  .demo .thread { order: 3; min-height: 0; }
  .demo .ctas { order: 4; }
  .demo .caption { order: 5; }
  .demo .page { padding: 20px; }
  .coming-header { flex-direction: column; align-items: flex-start; }
  .glow-spark { right: 0; top: 4%; width: 200px; height: 200px; }
  .glow-diplomat { left: 0; top: 48%; }
  .you { padding: 18px 18px 18px 38px; }
  .you p { font-size: 20px; }
  .reply { grid-template-columns: 36px 1fr; gap: 12px; padding: 14px 12px; }
  .reply .orb { width: 36px; height: 36px; }
  .caption { max-width: none; }
  .roster li { grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 10px; margin: 0 -10px; }
  .roster .orb { width: 40px; height: 40px; }
  .roster b { font-size: 22px; }
  .roster q { font-size: 18px; }
  .feature-reverse { display: flex; flex-direction: column-reverse; }
  .footer-top { grid-template-columns: 1fr; }
}
