/* avennd.com. Tokens match apps/mobile/src/theme.ts so the site and the app
   feel like one product. Monochrome on purpose: no red (the app keeps red
   for real problems), no gradients except the card's chip. */

@font-face { font-family: "Instrument Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/instrument-sans-400.45bfc0bf7c.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/instrument-sans-500.fb1ee606fe.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/instrument-sans-600.4a20cd172b.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/instrument-sans-700.638e2cec53.woff2") format("woff2"); }

:root {
  --ink: #000000;
  --slate: #2F3B4C;
  --muted: #6E6E73;
  --faint: #A1A1A6;
  --line: #E6E6E8;
  --wash: #F3F3F4;
  --bg: #FFFFFF;
  --s1: #000000; --s2: #2F3B4C; --s3: #4A5566; --s4: #68717F; --s5: #8A919B; --s6: #AEB3BA; --s7: #CDD0D4;
  --wrap: 1200px;
  --gutter: 40px;
  --gap-section: 120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 19px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: var(--gap-section); }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.fine { color: var(--faint); font-size: 15px; margin-top: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--bg); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* Type. Hero 88 / section 48 on desktop, smaller on phones. */
h1 { font-size: 88px; line-height: 1; letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: 48px; line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; margin-bottom: 40px; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 600; margin-bottom: 8px; }
.label { color: var(--slate); font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 21px; margin-top: -16px; margin-bottom: 40px; max-width: 760px; }
.center .lead, .lead.narrow { margin-left: auto; margin-right: auto; }
.kicker { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin-top: 40px; }
.kicker.center { font-weight: 500; }

/* Buttons: black pills like the app's Continue. */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions.center { justify-content: center; }
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: var(--bg); border: 1px solid var(--ink);
  font-size: 17px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.pill:hover { background: var(--slate); border-color: var(--slate); }
.pill-light { background: var(--bg); color: var(--ink); border-color: var(--line); }
.pill-light:hover { background: var(--wash); border-color: var(--line); }
.pill-white { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.pill-white:hover { background: var(--wash); border-color: var(--wash); }
.pill-small { height: 44px; padding: 0 20px; font-size: 15px; }

/* Legal pages: readable long text. */
.legal h2 { font-size: 26px; letter-spacing: -0.01em; margin: 48px 0 12px; }
.legal h3 { font-size: 19px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: var(--ink); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }

/* Waitlist form: plain HTML, no JavaScript. The honeypot field is off
   screen: people never see it, bots fill it in. */
.waitlist { display: grid; gap: 12px; max-width: 520px; margin-bottom: 8px; }
.waitlist label { font-size: 17px; font-weight: 600; }
.waitlist input {
  height: 56px; padding: 0 20px; border-radius: 16px; border: 1px solid var(--line);
  font: inherit; font-size: 17px; color: var(--ink); background: var(--bg);
}
.waitlist input:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.waitlist .pill { cursor: pointer; font-family: inherit; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Test-site banner (dev only). */
.env-banner { background: var(--wash); color: var(--slate); text-align: center; font-size: 15px; font-weight: 600; padding: 8px 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.8) blur(12px); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.logo-small { font-size: 20px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.nav a:not(.pill) { text-decoration: none; }
.nav a:not(.pill):hover { color: var(--slate); text-decoration: underline; text-underline-offset: 4px; }
.menu { display: none; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding-top: 48px; }
.hero .lead { margin-top: 28px; }
.hero-art { position: relative; display: flex; justify-content: flex-end; padding-bottom: 88px; }
.hero-art .phone { width: 360px; }
.hero-card { position: absolute; left: 0; bottom: 0; width: 342px; transform: rotate(-6deg); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.10)); }

/* Grids and cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { border: 1px solid var(--line); border-radius: 24px; padding: 32px; background: var(--bg); }
.card-wash { background: var(--wash); border-color: var(--wash); padding: 40px; }
.card a { font-weight: 600; }
.moment { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.swap .card { padding: 40px; }
.swap h3 { margin-bottom: 12px; }
.swap li { padding: 14px 0; border-top: 1px solid var(--line); }
.swap li:first-child { border-top: 0; }

.steps .step-num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--wash); align-items: center; justify-content: center; font-size: 17px; font-weight: 600; margin-bottom: 20px; }

.person { padding: 24px 24px 32px; }
.person-phone { display: flex; justify-content: center; margin-bottom: 28px; }
.person-phone .phone { width: 220px; }

/* The family plan strip: proportion, not categories. */
.strip { display: flex; gap: 2px; overflow: hidden; }
.strip span:nth-child(1) { flex: 30; background: var(--s1); }
.strip span:nth-child(2) { flex: 20; background: var(--s2); }
.strip span:nth-child(3) { flex: 15; background: var(--s3); }
.strip span:nth-child(4) { flex: 10; background: var(--s4); }
.strip span:nth-child(5) { flex: 8; background: var(--s5); }
.strip span:nth-child(6) { flex: 7; background: var(--s6); }
.strip span:nth-child(7) { flex: 10; background: var(--s7); }
.strip-big { height: 56px; border-radius: 16px; }
.strip-legend { display: flex; gap: 2px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.strip-legend li:nth-child(1) { flex: 30; } .strip-legend li:nth-child(2) { flex: 20; } .strip-legend li:nth-child(3) { flex: 15; }
.strip-legend li:nth-child(4) { flex: 10; } .strip-legend li:nth-child(5) { flex: 8; } .strip-legend li:nth-child(6) { flex: 7; }
.strip-legend li:nth-child(7) { flex: 10; }
.strip-legend li::before { content: ""; display: none; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.strip-legend .s1::before { background: var(--s1); } .strip-legend .s2::before { background: var(--s2); }
.strip-legend .s3::before { background: var(--s3); } .strip-legend .s4::before { background: var(--s4); }
.strip-legend .s5::before { background: var(--s5); } .strip-legend .s6::before { background: var(--s6); }
.strip-legend .s7::before { background: var(--s7); }
@media (prefers-reduced-motion: no-preference) {
  .strip-big span { transform-origin: left; animation: grow 0.9s ease-out both; }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Drawn app screens. Sizes are in container units, so a phone of any
   width keeps the app's proportions (designed at 360 px wide). */
.phone { container-type: inline-size; aspect-ratio: 360 / 740; border: 10px solid var(--ink); border-radius: 48px; background: var(--bg); overflow: hidden; }
.person-phone .phone { border-width: 7px; border-radius: 34px; }
.screen { position: relative; height: 100%; padding: 15cqw 6cqw 0; font-size: 3.9cqw; }
.screen.center { text-align: center; }
.status { position: absolute; top: 4cqw; left: 7cqw; font-size: 3.6cqw; font-weight: 600; }
.island { position: absolute; top: 3cqw; left: 50%; width: 28cqw; height: 7.5cqw; margin-left: -14cqw; border-radius: 99px; background: var(--ink); }
.ph-caption { color: var(--muted); font-size: 3.4cqw; margin-bottom: 1cqw; }
.ph-head { font-size: 8.3cqw; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 5cqw; }
.ph-muted { color: var(--muted); font-size: 3.6cqw; }
.ph-section { font-size: 5.3cqw; font-weight: 600; margin: 6cqw 0 2cqw; text-align: left; }
.ph-chore { display: flex; align-items: flex-start; gap: 3cqw; padding: 2.6cqw 0; border-bottom: 1px solid var(--line); text-align: left; }
.ph-chore > span:first-child { flex: 1; display: grid; gap: 0.6cqw; justify-items: start; }
.ph-chore b { font-weight: 600; }
.ph-amt { font-weight: 600; }
/* Chore status, like chores/ui.tsx StatusPill: quiet, solid once approved (green in the app). */
.ph-pill { font-style: normal; font-weight: 600; font-size: 2.9cqw; border-radius: 99px; padding: 0.7cqw 2.6cqw; background: var(--wash); color: var(--muted); flex: none; }
.ph-pill.ok { background: var(--ink); color: var(--bg); }
/* The small black buttons under a row: Done on a chore, Ask a parent on a decline. */
.ph-done { font-style: normal; font-weight: 600; font-size: 3.3cqw; background: var(--ink); color: var(--bg); border-radius: 99px; padding: 1.8cqw 4cqw; margin-top: 1.4cqw; }
/* Red in the app; the site stays monochrome (docs/marketing-site.md). */
.ph-chore .ph-alert { color: var(--slate); line-height: 1.35; }
.ph-button { margin-top: 5cqw; height: 12.2cqw; border-radius: 99px; background: var(--ink); color: var(--bg); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ph-hero { font-size: 14cqw; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin: 1cqw 0; }
.ph-text { font-size: 3.6cqw; line-height: 1.4; margin-top: 3cqw; }
.ph-chip { display: inline-block; background: var(--ink); color: var(--bg); font-size: 3.4cqw; font-weight: 600; border-radius: 99px; padding: 1.4cqw 3.4cqw; margin-bottom: 3cqw; }
.ph-money { display: flex; gap: 3cqw; padding: 3.6cqw 4cqw; border-radius: 4cqw; background: var(--wash); }
.ph-money div { flex: 1; display: grid; gap: 0.5cqw; }
.ph-money small { color: var(--muted); font-size: 3.2cqw; }
.ph-money b { font-size: 6.2cqw; font-weight: 700; }
.ph-money + .ph-button { margin-top: 3cqw; }
.ph-person { display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw 0; border-bottom: 1px solid var(--line); }
.ph-person > span:nth-child(2) { flex: 1; display: grid; }
.ph-person b { font-weight: 600; }
.ph-person small, .ph-chore small { color: var(--muted); font-size: 3.2cqw; display: block; font-weight: 400; }
.ph-person em { font-style: normal; font-weight: 600; font-size: 3.4cqw; }
.ph-person > span:first-child:not(.ph-avatar) { flex: 1; display: grid; }
/* Home's start, now and goal (Journey.tsx). */
.ph-tight { margin-top: 1cqw; }
.ph-bars { display: grid; gap: 1.2cqw; margin: 5cqw 0 6cqw; }
.ph-row { display: flex; justify-content: space-between; font-size: 3.6cqw; }
.ph-row-goal { font-weight: 600; }
.ph-track { height: 2.4cqw; border-radius: 99px; background: var(--wash); overflow: hidden; margin-bottom: 1.6cqw; }
.ph-track i { display: block; height: 100%; border-radius: 99px; background: var(--slate); opacity: 0.55; }
.ph-track-goal i { background: var(--ink); opacity: 1; width: 100%; }
.ph-start i { width: 30%; }
.ph-now i { width: 60%; }
.ph-mid { font-size: 9cqw; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.ph-honest { background: var(--wash); border-radius: 4cqw; padding: 3.6cqw 4cqw; margin-bottom: 3cqw; font-size: 3.4cqw; line-height: 1.4; display: grid; gap: 1cqw; }
.ph-honest b { font-weight: 600; }
/* Like Journey.tsx: "Recommendations", the count and a chevron; the top one's title, larger. */
.ph-rec-head { display: flex; align-items: center; gap: 2cqw; color: var(--ink); }
.ph-rec-head b { flex: 1; }
.ph-chev { color: var(--faint); font-size: 5cqw; line-height: 1; }
.ph-rec-title { font-size: 3.9cqw; }
/* Home's "6 of 10 on plan": "on plan" smaller and grey (heroOnPlan), and the same on each row (onPlan), with the + that opens it. */
.ph-hero-unit { font-size: 5.5cqw; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.ph-row small { color: var(--muted); font-size: 3cqw; font-weight: 400; }
.ph-row i { font-style: normal; color: var(--muted); font-weight: 600; margin-left: 2cqw; }
.ph-link-tight { margin-top: 0.4cqw; }
.ph-plain { border-bottom: 0; border-top: 1px solid var(--line); }
.ph-count { min-width: 5.4cqw; height: 5.4cqw; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 3cqw; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.ph-link { font-weight: 600; text-decoration: underline; margin-top: 4cqw; font-size: 3.6cqw; }
.ph-avatar { width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 3.8cqw; display: flex; align-items: center; justify-content: center; flex: none; }
.ph-declined s { color: var(--faint); font-weight: 600; }
.ph-pick { border: 0.45cqw solid var(--line); border-radius: 4.5cqw; padding: 3.4cqw 4cqw; margin-top: 2.4cqw; }
.ph-pick-on { border: 0.6cqw solid var(--ink); margin-top: 5cqw; }
.ph-pick-head { display: flex; align-items: center; gap: 2.6cqw; }
.ph-pick-head b { flex: 1; font-weight: 600; }
.ph-pick-head > span:last-child:not(.dot) { flex: 1; display: grid; gap: 0.4cqw; }
.ph-pick-head small { color: var(--muted); font-size: 3.2cqw; }
.ph-pick-on .ph-pick-head b { font-size: 4.8cqw; }
.ph-pick-head em { font-style: normal; background: var(--ink); color: var(--bg); font-size: 3cqw; font-weight: 600; border-radius: 99px; padding: 0.8cqw 2.6cqw; }
.dot { width: 5.2cqw; height: 5.2cqw; border-radius: 50%; border: 0.45cqw solid var(--faint); flex: none; }
.dot.on { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 1cqw var(--bg); }
.ph-small { font-size: 3.5cqw; line-height: 1.4; margin: 2cqw 0 1cqw; }
.ph-check { font-size: 3.3cqw; line-height: 1.35; padding-left: 5cqw; margin-top: 1.4cqw; position: relative; }
.ph-check::before { content: ""; position: absolute; left: 0.4cqw; top: 0.6cqw; width: 2.4cqw; height: 1.3cqw; border-left: 0.5cqw solid var(--ink); border-bottom: 0.5cqw solid var(--ink); transform: rotate(-45deg); }
.ph-or { margin-top: 4cqw; font-weight: 600; }
.ph-pick + .ph-button { margin-top: 4cqw; }
.ph-fine { color: var(--muted); font-size: 2.9cqw; line-height: 1.35; text-align: center; margin-top: 2.6cqw; }
/* The other parent's lock screen: avennd's notes on a quiet wash. */
.phone-lock .screen { background: var(--wash); }
.ph-date { font-size: 4.2cqw; font-weight: 600; margin-top: 6cqw; }
.ph-clock { font-size: 22cqw; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 8cqw; }
.ph-note { display: flex; align-items: flex-start; gap: 2.6cqw; text-align: left; background: var(--bg); border-radius: 5cqw; padding: 3.4cqw; margin-bottom: 2.4cqw; font-size: 3.4cqw; }
.ph-note > span:nth-child(2) { flex: 1; display: grid; gap: 0.4cqw; }
.ph-note b { font-weight: 600; }
.ph-note small { color: var(--muted); font-size: 3.2cqw; }
.ph-note i { font-style: normal; color: var(--muted); font-size: 2.9cqw; }
.ph-app { width: 8cqw; height: 8cqw; border-radius: 2cqw; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex: none; }
.ph-app img { width: 5cqw; height: 5cqw; }

/* Pay/Request (apps/mobile/src/pay/PayScreen.tsx and src/people). */
.ph-back { width: 9.5cqw; height: 9.5cqw; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 5cqw; margin-bottom: 4cqw; }
.ph-segs { display: flex; background: var(--wash); border-radius: 99px; padding: 1cqw; margin-bottom: 4cqw; }
.ph-segs span { flex: 1; text-align: center; font-weight: 600; font-size: 3.4cqw; color: var(--muted); padding: 2.2cqw 0; border-radius: 99px; }
.ph-segs .on { background: var(--bg); color: var(--ink); }
.ph-label { font-size: 3.4cqw; font-weight: 600; margin-bottom: 1.4cqw; }
.ph-field { border: 0.45cqw solid var(--line); border-radius: 3.4cqw; padding: 3cqw 3.4cqw; color: var(--faint); font-size: 3.6cqw; margin-bottom: 3cqw; }
.ph-req { display: flex; align-items: center; gap: 2.6cqw; background: var(--wash); border-radius: 4cqw; padding: 3.2cqw 3.6cqw; margin-bottom: 2cqw; font-size: 3.3cqw; }
.ph-req > span { flex: 1; display: grid; gap: 0.6cqw; }
.ph-req b { font-weight: 600; }
.ph-req small { color: var(--muted); font-size: 3.1cqw; }
.ph-req em { font-style: normal; font-weight: 600; background: var(--ink); color: var(--bg); border-radius: 99px; padding: 1.4cqw 3.4cqw; font-size: 3.1cqw; }
.ph-req i { font-style: normal; color: var(--muted); font-size: 3cqw; }
.ph-sub { font-size: 4.2cqw; font-weight: 600; margin: 3.6cqw 0 0.6cqw; }
.ph-avatar-light { background: var(--wash); color: var(--ink); }
.ph-avatar-big { width: 18cqw; height: 18cqw; font-size: 7cqw; margin: 0 auto 2cqw; }
.ph-left { text-align: left; margin-top: 0; }
.ph-avatar-mid { width: 15cqw; height: 15cqw; font-size: 6cqw; }
.ph-title { font-size: 7.2cqw; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 3.4cqw; }
.ph-who { display: flex; align-items: center; gap: 3cqw; background: var(--wash); border-radius: 4cqw; padding: 3.4cqw; margin-bottom: 3.4cqw; }
.ph-who > span:last-child { display: grid; gap: 0.5cqw; }
.ph-who b { font-weight: 600; font-size: 4cqw; }
.ph-who small { color: var(--muted); font-size: 3.1cqw; }
.ph-quiet { text-align: center; font-weight: 600; color: var(--muted); margin-top: 3cqw; font-size: 3.5cqw; }
.ph-outline { margin-top: 3cqw; height: 11cqw; border-radius: 99px; border: 0.5cqw solid var(--ink); font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 3.6cqw; }
.ph-qr { width: 52cqw; margin: 3cqw auto; padding: 4cqw; border: 1px solid var(--line); border-radius: 5cqw; background: var(--bg); }
.ph-qr img { width: 100%; height: auto; }
.ph-name { font-size: 5.4cqw; font-weight: 700; letter-spacing: -0.01em; }
/* Card rules and a kid's page (src/controls/ControlsScreen.tsx, screens/FamilyLive.tsx). */
.ph-preset { border: 0.45cqw solid var(--line); border-radius: 3.4cqw; padding: 2.6cqw 3.4cqw; margin-bottom: 1.8cqw; display: grid; gap: 0.6cqw; font-size: 3.2cqw; }
.ph-preset b { font-weight: 600; font-size: 3.6cqw; }
.ph-preset small { color: var(--muted); font-size: 3cqw; line-height: 1.35; }
.ph-preset.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ph-preset.on small { color: #D6D9DE; }
.ph-limit { display: flex; justify-content: space-between; align-items: center; padding: 1.8cqw 0; font-size: 3.6cqw; }
.ph-limit span:last-child { border: 0.45cqw solid var(--line); border-radius: 2.4cqw; padding: 1cqw 3cqw; min-width: 16cqw; text-align: right; font-weight: 500; }
.ph-toggle { display: flex; align-items: center; gap: 3cqw; padding: 2.6cqw 0; border-bottom: 1px solid var(--line); }
.ph-toggle > span:first-child { flex: 1; display: grid; gap: 0.6cqw; }
.ph-toggle small { color: var(--muted); font-size: 3.1cqw; line-height: 1.35; }
.ph-switch { width: 12cqw; height: 7.2cqw; border-radius: 99px; background: var(--line); position: relative; flex: none; }
.ph-switch::after { content: ""; position: absolute; top: 0.6cqw; left: 0.6cqw; width: 6cqw; height: 6cqw; border-radius: 50%; background: var(--bg); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.ph-switch.on { background: var(--slate); }
.ph-switch.on::after { left: auto; right: 0.6cqw; }
.ph-link-row { display: flex; align-items: center; padding: 2.6cqw 0; border-bottom: 1px solid var(--line); }
.ph-link-row > span { flex: 1; display: grid; gap: 0.6cqw; }
.ph-link-row b { font-weight: 600; }
.ph-link-row small { color: var(--muted); font-size: 3.1cqw; }
.ph-link-row::after { content: "›"; color: var(--faint); font-size: 5cqw; }
.ph-kid-head { display: flex; align-items: center; gap: 3cqw; margin-bottom: 3cqw; }
.ph-kid-head > span:last-child { display: grid; gap: 0.6cqw; }
.ph-kid-head b { font-size: 7cqw; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.ph-kid-head small { color: var(--muted); font-size: 3.1cqw; }
.ph-days { display: flex; gap: 1.2cqw; margin: 1.4cqw 0 2cqw; }
.ph-days span { width: 7cqw; height: 7cqw; border-radius: 50%; background: var(--wash); color: var(--muted); font-size: 3cqw; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ph-days .on { background: var(--ink); color: var(--bg); }
.phone-row { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.phone-row .phone { width: 300px; }
.phone-row figure { margin: 0; display: grid; gap: 16px; justify-items: center; max-width: 300px; }
.phone-row figcaption { color: var(--muted); font-size: 16px; text-align: center; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.page-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.page-hero .phone { width: 340px; justify-self: end; }
.more-link { display: inline-block; margin-top: 24px; font-weight: 600; }
.section-tight { margin-top: 56px; }

/* The app's top bar (App.tsx): the mark, a page's name or a back button
   on the left; the bell and your initial on the right. */
.ph-top { display: flex; align-items: center; gap: 2.6cqw; min-height: 11cqw; margin: -3cqw 0 3cqw; }
.ph-top .ph-mark { width: 9cqw; height: 9cqw; }
.ph-top .ph-back { margin: 0; }
.ph-top-title { font-size: 7cqw; font-weight: 700; letter-spacing: -0.02em; }
.ph-spacer { flex: 1; }
.ph-bell { display: flex; }
.ph-bell svg { width: 6cqw; height: 6cqw; }
.ph-me { width: 8cqw; height: 8cqw; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 3.4cqw; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ph-lock { color: var(--muted); font-size: 3.4cqw; font-weight: 500; }
/* The app's floating Liquid Glass tab bar, with the page fading out under it. */
.ph-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 30cqw; background: linear-gradient(rgba(255, 255, 255, 0), var(--bg) 45%); }
.ph-tabbar { position: absolute; left: 4cqw; right: 4cqw; bottom: 4cqw; display: flex; padding: 1.4cqw; border-radius: 99px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line); box-shadow: 0 2cqw 6cqw rgba(0, 0, 0, 0.08); }
.ph-tabbar span { flex: 1; display: grid; justify-items: center; gap: 0.6cqw; font-size: 2.4cqw; font-weight: 600; padding: 1.4cqw 0; border-radius: 99px; white-space: nowrap; }
.ph-tabbar svg { width: 5.8cqw; height: 5.8cqw; }
.on-home .t-home, .on-pay .t-pay, .on-more .t-more { background: var(--wash); }

/* Recommendations (NotesScreen.tsx): bordered cards with a ✕, the action and Got it. */
.ph-rec-section { display: flex; justify-content: space-between; align-items: baseline; margin: 4cqw 0 2cqw; }
.ph-rec-section span { color: var(--muted); font-size: 3cqw; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.ph-rec-section b { color: var(--slate); font-size: 3.4cqw; font-weight: 600; }
.ph-rec { border: 0.4cqw solid var(--line); border-radius: 4cqw; padding: 3.4cqw; margin-bottom: 2cqw; font-size: 3.4cqw; line-height: 1.4; display: grid; gap: 0.8cqw; }
.ph-rec-top { display: flex; align-items: baseline; gap: 2cqw; }
.ph-rec-top b { flex: 1; font-weight: 600; font-size: 3.6cqw; }
.ph-x { color: var(--faint); font-weight: 600; font-size: 3.2cqw; }
.ph-ago { color: var(--muted); font-size: 3cqw; }
.ph-note-row { grid-template-columns: auto 1fr; align-items: start; gap: 2cqw; }
.ph-note-row > div { display: grid; gap: 0.8cqw; }
.ph-emoji { font-size: 5cqw; line-height: 1.2; }
.ph-rec-actions { display: flex; gap: 2cqw; margin-top: 1.4cqw; }
.ph-rec-actions em, .ph-rec-actions i { font-style: normal; font-weight: 600; font-size: 3.1cqw; border-radius: 99px; padding: 1.6cqw 3.2cqw; }
.ph-rec-actions em { background: var(--ink); color: var(--bg); }
.ph-rec-actions i { background: var(--wash); color: var(--muted); }

/* How it works: the steps beside the "build your plan" screen. */
.how { display: grid; grid-template-columns: 1fr 320px; gap: 80px; align-items: center; }
.how .steps { display: grid; gap: 40px; }
.how .phone { width: 320px; }

/* The card section */
.band { background: var(--wash); margin-top: var(--gap-section); padding-bottom: var(--gap-section); }
.big-card { width: 520px; margin: 16px auto 0; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.08)); }

/* Comparison table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 17px; }
.compare th, .compare td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: center; font-weight: 400; }
.compare thead th { color: var(--muted); font-size: 15px; }
.compare thead th.us { color: var(--ink); font-weight: 700; font-size: 17px; }
.compare tbody th { text-align: left; color: var(--ink); }
.compare .us { background: var(--wash); }
.yes { width: 20px; height: 20px; vertical-align: middle; color: var(--ink); }
.no { color: var(--faint); }

/* Price panel */
.dark-panel { background: var(--ink); color: var(--bg); border-radius: 32px; padding: 80px 40px; }
.dark-panel .label, .dark-panel .lead, .dark-panel .fine { color: var(--faint); }
.dark-panel .lead b { color: var(--bg); font-weight: 600; }
.dark-panel h2 { color: var(--bg); }
.closing h2 { font-size: 64px; letter-spacing: -0.03em; max-width: 820px; margin: 0 auto 32px; }
.closing { padding-bottom: var(--gap-section); }

/* Inner pages */
.page { padding-top: 64px; padding-bottom: var(--gap-section); }
.narrow-page { max-width: calc(800px + 2 * var(--gutter)); }
.page-title { font-size: 64px; letter-spacing: -0.03em; margin-bottom: 24px; }
.page .lead { margin-top: 0; }
.sub { font-size: 36px; margin: 80px 0 24px; }
.options { margin-bottom: 32px; }
.option { position: relative; border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.option-picked { border: 2px solid var(--ink); padding: 27px; }
.option-price { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.chip { position: absolute; top: 24px; right: 24px; background: var(--wash); border-radius: 99px; padding: 6px 14px; font-size: 15px; font-weight: 600; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; }
.checks .yes { margin-top: 3px; flex: none; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 21px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 680px; }
.faq details a { color: var(--ink); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-row .muted { font-size: 15px; margin-top: 10px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.site-footer .fine { font-size: 13px; margin-top: 32px; }

/* Tablet: 810–1199 */
@media (max-width: 1199px) {
  :root { --gutter: 32px; --gap-section: 100px; }
  h1 { font-size: 64px; }
  .hero-art .phone { width: 320px; }
  .hero-card { width: 280px; }
  .person-phone .phone { width: 180px; }
  .big-card { width: 440px; }
  .how { grid-template-columns: 1fr 280px; gap: 48px; }
  .how .phone { width: 280px; }
  .page-hero .phone { width: 300px; }
  .phone-row .phone { width: 260px; }
}

/* Phone: below 810 */
@media (max-width: 809px) {
  :root { --gutter: 24px; --gap-section: 72px; }
  body { font-size: 17px; }
  h1 { font-size: 52px; }
  h2 { font-size: 34px; margin-bottom: 28px; }
  .lead { font-size: 18px; margin-top: -8px; }
  .kicker { font-size: 19px; }
  .header-row { height: 64px; }
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }
  .menu-panel { position: absolute; right: 0; top: 52px; width: min(320px, calc(100vw - 48px)); background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 12px; display: grid; gap: 4px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); }
  .menu-panel a:not(.pill) { padding: 12px; text-decoration: none; font-size: 17px; border-radius: 12px; }
  .menu-panel a:not(.pill):hover { background: var(--wash); }
  .menu-panel .pill { margin-top: 8px; }
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 48px; }
  .actions:not(.center) { flex-direction: column; }
  .actions:not(.center) .pill { width: 100%; }
  .hero-art { justify-content: center; padding-bottom: 32px; }
  .hero-art .phone { width: 280px; }
  .hero-card { width: 230px; left: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-3 { gap: 32px; }
  .how { grid-template-columns: 1fr; gap: 48px; }
  .how .phone { width: 280px; margin: 0 auto; }
  .feature-list { grid-template-columns: 1fr; }
  .page-hero { grid-template-columns: 1fr; }
  .page-hero .phone { width: 280px; justify-self: center; }
  .phone-row .phone { width: 260px; }
  .person-phone .phone { width: 220px; }
  .card-wash { padding: 28px; }
  .moment { font-size: 19px; }
  .swap .card { padding: 28px; }
  .strip-big { height: 40px; border-radius: 12px; }
  .strip-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 15px; }
  .strip-legend li::before { display: inline-block; }
  .big-card { width: 300px; }
  .compare th:first-child { position: sticky; left: 0; background: var(--bg); z-index: 1; }
  .dark-panel { padding: 56px 24px; border-radius: 24px; }
  .closing h2 { font-size: 40px; }
  .page { padding-top: 32px; }
  .page-title { font-size: 40px; }
  .sub { font-size: 28px; margin-top: 56px; }
  .chip { position: static; display: inline-block; margin-bottom: 12px; }
  .faq summary { font-size: 18px; }
}
