/* Shared structure, type and shapes. The colour option (site/themes/<id>/theme.css, appended after this file) sets the
   colour tokens only. */
:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #1daa61;
  --accent-hi: #21c06d;
  --accent-fg: #ffffff;
  --card: #f5f5f7;
  --card-fg: var(--fg);
  --head-bg: rgba(255,255,255,.85);
  --head-fg: var(--fg);
  --head-line: rgba(0,0,0,.08);
  --foot-bg: var(--bg-2);
  --mark-bg: var(--accent);
  --mark-fg: #ffffff;
  --radius: 18px;
  --btn-radius: 999px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: var(--font);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 var(--font); color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
.mark-bg { fill: var(--mark-bg); }
.mark-fg { fill: var(--mark-fg); }
.draft { background: #ffd60a; color: #1d1d1f; text-align: center; font: 600 13px/1.4 var(--font); padding: 6px 12px; position: relative; z-index: 60; }

/* 18+ gate: covers the page until the visitor confirms (gate.js). */
.gate { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px; overflow: auto; background: rgba(8, 9, 11, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.age-ok .gate { display: none; }
html:not(.age-ok) body { overflow: hidden; }
.gate-card { max-width: 460px; width: 100%; background: #16191e; color: #f5f5f7; border-radius: 24px; padding: 36px 32px 28px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.gate-card .mark { width: 52px; height: 52px; margin: 0 auto 18px; }
.gate-age { display: none; }
.gate-card h2 { margin: 0 0 12px; font: 700 28px/1.15 var(--display); letter-spacing: -.02em; }
.gate-card p { margin: 0 0 12px; color: #c7c7cc; }
.gate-card .small { font-size: 14px; color: #8e8e93; }
.gate-actions { display: grid; gap: 10px; margin-top: 22px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: var(--btn-radius); border: 0; font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--btn-bg, var(--accent)); color: var(--accent-fg); }
.btn.primary:hover { background: var(--btn-hi, var(--accent-hi)); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(20px, calc((100% - var(--max)) / 2)); background: var(--head-bg); color: var(--head-fg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--head-line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.02em; }
.brand .mark { width: 30px; height: 30px; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a:not(.btn) { text-decoration: none; opacity: .72; }
.top nav a:not(.btn):hover { opacity: 1; }

/* Shared home pieces */
.wrap { max-width: var(--max); margin: 0 auto; }
.section { padding: 96px 20px; }
.adult-line { font-size: 14px; opacity: .75; margin: 18px 0 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* The sample chat: WhatsApp for Android, dark mode. */
.phone { text-align: left; justify-self: center; width: 320px; max-width: 100%; border-radius: 44px; padding: 11px; background: #1c1f24; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 100px rgba(0,0,0,.45); font-family: Roboto, -apple-system, "Segoe UI", sans-serif; --wa-bg: #0b141a; --wa-head: #1f2c34; --wa-head-fg: #e9edef; --wa-sub: #8fa3ad; --wa-in: #202c33; --wa-out: #005c4b; --wa-text: #e9edef; --wa-time: #8fa3ad; --wa-time-out: #9fd4c7; --wa-chip: #182229; --wa-compose: #1f2c34; }
.screen { border-radius: 34px; overflow: hidden; background: var(--wa-bg); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 16px 14px 11px; background: var(--wa-head); color: var(--wa-head-fg); }
.chat-head .back { font-size: 18px; opacity: .9; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #f6c3a4 0 22%, transparent 23%), linear-gradient(160deg, #6b3a4f, #c86a8c); flex: none; }
.chat-head b { display: block; font-size: 15px; }
.chat-head small { display: block; font-size: 12px; color: var(--wa-sub); }
.thread { display: flex; flex-direction: column; gap: 6px; padding: 12px 10px 10px; min-height: 410px; font-size: 14.5px; line-height: 1.38; }
.chip { align-self: center; font-size: 11.5px; color: var(--wa-time); background: var(--wa-chip); padding: 4px 10px; border-radius: 8px; margin: 2px 0 6px; box-shadow: 0 1px .5px rgba(0,0,0,.08); }
.b { max-width: 82%; padding: 6px 9px 6px; border-radius: 9px; color: var(--wa-text); position: relative; box-shadow: 0 1px .5px rgba(0,0,0,.13); }
.b small { float: right; margin: 6px 0 -4px 10px; font-size: 10.5px; color: var(--wa-time); }
.b.in { align-self: flex-start; background: var(--wa-in); border-top-left-radius: 2px; }
.b.out { align-self: flex-end; background: var(--wa-out); border-top-right-radius: 2px; }
.b.out small { color: var(--wa-time-out); }
.b.out small::after { content: " \2713\2713"; color: #53bdeb; letter-spacing: -2px; }
.b.photo { padding: 3px; width: 196px; }
.blur { height: 180px; border-radius: 7px; background: radial-gradient(circle at 35% 30%, #f3b28d 0 18%, transparent 40%), radial-gradient(circle at 70% 70%, #6a4b7e 0 25%, transparent 55%), linear-gradient(160deg, #d68b6f, #3b2a4a); filter: blur(10px); transform: scale(1.04); }
.photo-wrap { position: relative; overflow: hidden; border-radius: 7px; }
.photo-tag { position: absolute; inset: auto 8px 8px 8px; text-align: center; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(0,0,0,.45); border-radius: 8px; padding: 7px; }
.typing { align-self: flex-start; display: flex; gap: 4px; background: var(--wa-in); border-radius: 9px; padding: 10px 12px; box-shadow: 0 1px .5px rgba(0,0,0,.13); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--wa-time); opacity: .7; }
.compose { text-decoration: none; display: flex; align-items: center; gap: 8px; padding: 6px 8px 14px; background: var(--wa-bg); }
.compose span { flex: 1; background: var(--wa-compose); color: var(--wa-time); border-radius: 22px; padding: 10px 14px; font-size: 14px; }
.compose b { width: 40px; height: 40px; border-radius: 50%; background: #00a884; flex: none; }

/* Privacy promises */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.promise div { border-top: 1px solid var(--line); padding-top: 18px; }
.promise b { display: block; font-size: 17px; margin-bottom: 4px; }
.promise span { color: var(--muted); font-size: 15px; }

/* Pricing */
.page-head { text-align: center; padding: 80px 20px 44px; }
.page-head h1 { font: 700 clamp(38px, 5.5vw, 60px)/1.05 var(--display); letter-spacing: -.03em; margin: 0 0 14px; }
.page-head p { color: var(--muted); font-size: 20px; margin: 0 auto; max-width: 38ch; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 20px; padding: 0 20px; }
.plan { border-radius: 24px; padding: 34px 30px; background: var(--card); color: var(--card-fg); display: flex; flex-direction: column; }
.plan h2 { margin: 0; font: 700 24px/1.2 var(--display); }
.price { font: 700 54px/1 var(--display); letter-spacing: -.04em; margin: 14px 0 0; }
.price span { font: 500 17px/1 var(--font); letter-spacing: 0; opacity: .65; }
.alt-price { opacity: .7; margin: 8px 0 22px; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid rgba(128,128,128,.22); font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.terms-box { max-width: 820px; margin: 52px auto 0; padding: 0 20px 80px; color: var(--muted); font-size: 15px; }
.terms-box h3 { color: var(--fg); font-size: 17px; margin: 28px 0 6px; }
.terms-box p { margin: 0 0 10px; }

/* Legal pages */
.doc { max-width: 720px; margin: 0 auto; padding: 72px 20px 80px; }
.doc h1 { font: 700 clamp(34px, 5vw, 50px)/1.08 var(--display); letter-spacing: -.025em; margin: 0 0 10px; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.doc .summary { background: var(--bg-2); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 40px; }
.doc .summary p { margin: 0 0 8px; }
.doc .summary ul { margin: 0; padding-left: 20px; }
.doc .summary li { margin: 4px 0; }
.doc h2 { font: 700 25px/1.25 var(--display); letter-spacing: -.01em; margin: 44px 0 10px; }
.doc h3 { font-size: 18px; margin: 28px 0 6px; }
.doc p, .doc li { opacity: .92; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; }
.doc .callout { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 24px 0; }
.doc .help { background: #0e1013; color: #f5f5f7; border-radius: var(--radius); padding: 24px; margin: 0 0 36px; }
.doc .help p, .doc .help li { color: #e5e5ea; opacity: 1; }
.doc .help a, .doc .help strong { color: #fff; }

/* Footer */
.foot { background: var(--foot-bg); border-top: 1px solid var(--line); padding: 36px max(20px, calc((100% - var(--max)) / 2)) 44px; font-size: 13px; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; }
.foot-links a { color: var(--fg); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-note, .foot-addr { margin: 0 0 6px; max-width: 760px; }
.foot a { color: var(--fg); }

@media (max-width: 860px) {
  .section { padding: 72px 20px; }
  .promise { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: minmax(0, 440px); }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .top nav { gap: 14px; }
  .top nav a[href="/support/"] { display: none; }
  .promise { grid-template-columns: 1fr; }
  .doc { padding-top: 48px; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .doc td { border: 0; padding: 2px 0; }
  .doc td:first-child { font-weight: 600; }
  .gate-card { padding: 30px 22px 24px; }
}
.section .adult-line { font-size: 14px; margin-top: 18px; }
.page-head .page-kicker { margin-left: auto; margin-right: auto; }

/* Fonts we ship (Geist and Geist Mono, SIL Open Font License; see fonts/README.md). */
@font-face { font-family: "Geist"; src: url(/site/fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/site/fonts/geist-mono.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

/* Home layout, the same in every variant: city at night behind, the copy on the left, the chats as the hero. */
.avatar { object-fit: cover; }
.hero { position: relative; overflow: hidden; padding: 76px 20px 104px; background: var(--bg) url(/site/img/night.jpg) center / cover no-repeat; color: var(--fg); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 42%, color-mix(in srgb, var(--bg) 45%, transparent) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
.hero-in { position: relative; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 460px; align-items: center; gap: 64px; }
.eyebrow, .label { font: var(--label-font); letter-spacing: var(--label-track); text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.hero h1 { font: var(--h1-font); letter-spacing: var(--h1-track); text-transform: var(--h1-case, none); margin: 0 0 26px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); margin: 0 0 32px; max-width: 34ch; }
.chats { position: relative; }
.chats .phone { margin: 0; padding: 0; background: transparent; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255,255,255,.09), 0 40px 110px rgba(0,0,0,.6); }
.chats .screen { border-radius: 22px; background: var(--wa-bg) radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.5px) 0 0 / 22px 22px; }
.chat-main { width: 440px; justify-self: end; }
.chat-main .thread { min-height: 0; padding: 14px 14px 10px; gap: 7px; font-size: 15.5px; }
.chat-main .chat-head .avatar { width: 40px; height: 40px; }
.chat-side { position: relative; width: 300px; margin: 18px 0 0 -72px; z-index: 2; }
.chat-side .thread { min-height: 0; padding: 10px 10px 12px; font-size: 14px; }
.chat-side .chat-head { padding: 12px 12px 9px; }
.chat-side .chat-head small { color: #25d366; }
.ai-tag { margin-left: auto; font: 700 11px/1 var(--font); letter-spacing: .08em; color: #0b141a; background: #e9edef; border-radius: 6px; padding: 5px 7px; }
.chats .compose { padding: 8px 12px 16px; background: transparent; }
.chats .compose:hover span { color: #e9edef; }

.section h2 { font: var(--h2-font); letter-spacing: var(--h2-track); text-transform: var(--h2-case, none); margin: 0 0 44px; }
.cast-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 18px; }
.person img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--radius) - 6px); margin-bottom: 14px; }
.person b { display: block; font: var(--h3-font); margin-bottom: 4px; }
.person span { color: var(--muted); font-size: 15px; }
.person:hover { border-color: var(--accent); }
.cast-note { color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.step-list li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 28px 0; border-top: 1px solid var(--line); }
.step-list span { font: var(--num-font); color: var(--accent); }
.step-list h3 { margin: 0 0 8px; font: var(--h3-font); }
.step-list p { margin: 0; color: var(--muted); }
.private { background: var(--bg-2); }
.close { text-align: center; }
.close h2 { margin-bottom: 14px; }
.close p { color: var(--muted); font-size: 19px; margin: 0 0 28px; }

@media (max-width: 960px) {
  .hero { padding: 44px 16px 64px; background-position: 65% center; }
  .hero::before { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 70%, transparent), color-mix(in srgb, var(--bg) 92%, transparent) 45%, var(--bg)); }
  /* On a phone the chat comes right under the headline: the messages are the pitch. */
  .hero-in { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .eyebrow { order: 1; }
  .hero h1 { order: 2; margin-bottom: 28px; }
  .chats { order: 3; width: 100%; max-width: 460px; justify-self: center; margin-bottom: 32px; padding-bottom: 0; }
  .chat-main { width: 100%; }
  .chat-side { position: relative; left: auto; bottom: auto; width: 86%; margin: -28px 0 0 auto; }
  .lede { order: 4; }
  .hero .cta { order: 5; }
  .hero .adult-line { order: 6; }
  .cast-row { grid-template-columns: 1fr 1fr; }
  .step-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .chat-main .thread { font-size: 15px; }
  .cast-row { gap: 12px; }
  .person { padding: 10px 10px 14px; }
  .person span { font-size: 14px; }
  .step-list li { grid-template-columns: 48px 1fr; }
}

/* Look A (Sam's pick, Nov 23): Geist throughout, heavy and tight headlines. Colours come from the theme file. */
:root {
  --radius: 16px;
  --btn-radius: 12px;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --display: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --label-font: 600 13px/1 var(--font);
  --label-track: .14em;
  --h1-font: 800 clamp(50px, 5.4vw, 78px)/.98 var(--display);
  --h1-track: -.045em;
  --h2-font: 750 clamp(36px, 4.6vw, 58px)/1.02 var(--display);
  --h2-track: -.035em;
  --h3-font: 650 20px/1.25 var(--display);
  --num-font: 500 15px/1.6 var(--font);
}
.brand span { font-weight: 750; font-size: 21px; letter-spacing: -.04em; }
.btn { font-weight: 650; }
.hero h1 { text-shadow: 0 2px 40px rgba(0,0,0,.5); }

.gate { background: radial-gradient(ellipse at 50% 25%, var(--glow), rgba(8,9,11,.97) 60%); }
.gate-card { background: var(--bg-2); color: var(--fg); border: 1px solid var(--line); border-radius: 20px; }
.gate-card h2 { font-weight: 800; font-size: 34px; letter-spacing: -.04em; }
.gate-card p { color: var(--gate-text); }

.page-head .page-kicker { font: var(--label-font); letter-spacing: var(--label-track); text-transform: uppercase; color: var(--accent); margin: 0 auto 16px; }
.page-head h1 { font-weight: 800; letter-spacing: -.045em; }
.plan { border: 1px solid var(--line); }
.plan.plus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan.free .btn { background: var(--fg); color: var(--bg); }

/* The brand line (GEN-1208): the name's two words carry the accent, like Sam's 'TEXTS you BACK'. */
.hero h1 em, .page-head h1 em { font-style: normal; color: var(--accent); }
.foot-tag { margin: 0 0 14px; font-weight: 600; color: var(--fg); }

/* Look A in signal red (Sam's pick): warm black with one signal red, like a tail light in the rain. Colour tokens only; type and shapes are in assets/style.css. */
:root {
  --bg: #0d0b0b;
  --bg-2: #171313;
  --fg: #f5f0ee;
  --muted: #ab9f9c;
  --line: #2e2625;
  --accent: #ff3b2f;
  --accent-hi: #ff5a4f;
  --accent-fg: #ffffff;
  --card: #171313;
  --head-bg: color-mix(in srgb, #0d0b0b 84%, transparent);
  --head-line: rgba(255,255,255,.07);
  --foot-bg: #080606;
  --mark-bg: #ff3b2f;
  --mark-fg: #ffffff;
  --glow: rgba(255,59,47,.14);
  --btn-bg: #e0241b; /* white text 4.7:1 */
  --btn-hi: #c81e16;
  --gate-text: #cfc6c3;
}
