/* ParentX public website — same palette and type as the app (see public/css/app.css). */
:root {
  --bg: #f4f1ea; --surface: #fffdf8; --surface-2: #ede8dd; --ink: #17201f; --ink-2: #3e4745; --muted: #5e6664;
  --line: #e2dccf; --accent: #1f4e4f; --accent-hover: #163a3b; --accent-ink: #fffdf8; --accent-soft: #dde8e4;
  --warm: #7f5716; --warm-strong: #b07a2a; --warm-soft: #f1e4cc; --ok: #2f5a38; --bad: #8f3727;
  --hero-bg: #1f4e4f; --hero-ink: #f4f1ea; --hero-muted: #cfe0dc; --hero-a: #8fc2bc; --hero-b: #e2b872;
  --radius: 18px; --radius-sm: 12px;
  --font: "Hanken Grotesk", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --font-display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121817; --surface: #1a2120; --surface-2: #222b29; --ink: #eef0ec; --ink-2: #cdd3cf; --muted: #9da7a3; --line: #2c3634;
    --accent: #8fc2bc; --accent-hover: #a9d3ce; --accent-ink: #0e1a19; --accent-soft: #1d3331; --warm: #e2b872; --warm-strong: #e2b872; --warm-soft: #33291a;
    --ok: #8cc79a; --bad: #ee9384; --hero-bg: #1d3331; --hero-ink: #eef0ec; --hero-muted: #b9cfca; color-scheme: dark;
  }
}
:root[data-theme="dark"] { --bg: #121817; --surface: #1a2120; --surface-2: #222b29; --ink: #eef0ec; --ink-2: #cdd3cf; --muted: #9da7a3; --line: #2c3634; --accent: #8fc2bc; --accent-hover: #a9d3ce; --accent-ink: #0e1a19; --accent-soft: #1d3331; --warm: #e2b872; --warm-strong: #e2b872; --warm-soft: #33291a; --ok: #8cc79a; --bad: #ee9384; --hero-bg: #1d3331; --hero-ink: #eef0ec; --hero-muted: #b9cfca; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .6rem; }
h1 { font-size: clamp(2.3rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.small { font-size: .88rem; } .muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.wordmark { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.03em; }
.wordmark i { color: var(--warm-strong); }
.top-nav { display: flex; gap: 22px; margin-left: auto; }
.top-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.top-nav a:hover { color: var(--accent); }
@media (max-width: 760px) { .top-nav { display: none; } #signin { margin-left: auto; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; background: var(--accent); color: var(--accent-ink); font: 600 1rem var(--font); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-hover); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { background: var(--surface-2); }
.btn.ghost { background: transparent; color: var(--accent); border-color: var(--accent); min-height: 40px; padding: 0 18px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.hero { background: var(--hero-bg); color: var(--hero-ink); padding: 72px 0 80px; }
.hero .lead { font-size: 1.2rem; color: var(--hero-muted); max-width: 34rem; }
.hero .muted { color: var(--hero-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--hero-a); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 1fr; } }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 16px; }
.hero .btn { background: var(--hero-b); color: #1b1407; }
.hero .btn:hover { background: #ecc98a; }
.hero .btn.secondary { background: transparent; color: var(--hero-ink); border-color: rgba(255,255,255,.35); }
.hero-card { background: var(--surface); color: var(--ink); border-radius: 24px; padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,.25); display: grid; gap: 12px; }
.mock-msg { border-radius: 14px; padding: 12px 14px; font-size: .95rem; }
.mock-msg.them { background: var(--surface-2); color: var(--muted); }
.mock-msg.delivered { background: var(--accent-soft); color: var(--ink); }
.mock-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; color: var(--muted); }
.mock-arrow { text-align: center; font-size: .8rem; color: var(--warm); font-weight: 600; }
.mock-arrow::before { content: '↓  '; }
.mock-row { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; } .dot.a { background: var(--accent); } .dot.b { background: var(--warm-strong); }

.band { background: var(--surface); border-bottom: 1px solid var(--line); padding: 44px 0; }
.three { display: grid; gap: 28px; } @media (min-width: 820px) { .three { grid-template-columns: repeat(3, 1fr); } }
.section { padding: 80px 0; } .section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; max-width: 780px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; }
.features { display: grid; gap: 16px; } @media (min-width: 680px) { .features { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }
.features article { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.features p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.two { display: grid; gap: 36px; } @media (min-width: 900px) { .two { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.note-card { background: var(--warm-soft); border-radius: var(--radius); padding: 24px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; float: right; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; color: var(--ink-2); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.grid2 { display: grid; gap: 0 16px; } @media (min-width: 620px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 14px; }
label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; }
input, select { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 12px; padding: 11px 13px; min-height: 48px; }
input:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; margin: 6px 0 16px; }
.consent input { width: 20px; min-height: 0; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; }
.err { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; }
.foot { padding: 32px 0 48px; border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
.foot a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.legal { padding: 56px 0 80px; } .legal h1 { font-size: 2.4rem; } .legal h2 { font-size: 1.4rem; margin: 32px 0 10px; }
.draft { background: var(--warm-soft); border-radius: 12px; padding: 12px 16px; font-size: .92rem; margin-bottom: 24px; }

/* Sound familiar */
.section-lead { color: var(--ink-2); max-width: 46rem; margin-bottom: 28px; }
.pairs { display: grid; gap: 14px; } @media (min-width: 720px) { .pairs { grid-template-columns: 1fr 1fr; } } @media (min-width: 1040px) { .pairs { grid-template-columns: repeat(3, 1fr); } }
.pair { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.pain { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--bad); margin-bottom: 10px; line-height: 1.3; }
.fix { color: var(--ink-2); font-size: .95rem; margin: 0; }
.fix b { color: var(--accent); }

/* Phone previews */
.key { display: inline-flex; align-items: center; gap: 6px; margin-right: 14px; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.phones { display: grid; gap: 28px; justify-items: center; } @media (min-width: 900px) { .phones { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.phone { margin: 0; width: 100%; max-width: 300px; }
.screen { background: var(--bg); border: 10px solid #17201f; border-radius: 34px; padding: 16px 12px 18px; min-height: 440px; box-shadow: 0 18px 40px rgba(0,0,0,.18); display: grid; gap: 10px; align-content: start; font-size: .85rem; }
:root[data-theme="dark"] .screen { border-color: #000; }
.phone figcaption { text-align: center; margin-top: 14px; font-size: .95rem; color: var(--ink-2); }
.ph-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 1.3rem; padding: 2px 4px 6px; }
.ph-top span + span { font-family: var(--font); font-size: .78rem; color: var(--muted); }
.ph-pill { background: var(--warm-soft); color: var(--warm) !important; border-radius: 999px; padding: 2px 8px; font-weight: 600; }
.ph-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.ph-row { display: flex; justify-content: space-between; gap: 8px; }
.ph-who { font-size: .78rem; margin-top: 3px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.ph-who::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.ph-who.a { color: var(--accent); } .ph-who.a::before { background: #1f4e4f; }
.ph-who.b { color: var(--warm); } .ph-who.b::before { background: #b07a2a; }
.ph-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.tag { font-size: .7rem; font-weight: 600; border-radius: 999px; padding: 2px 8px; }
.tag.ok { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.tag.warn { background: var(--warm-soft); color: var(--warm); }
.tag.info { background: var(--accent-soft); color: var(--accent); }
.ph-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: .72rem; }
.ph-cal span { color: var(--muted); font-weight: 600; padding-bottom: 2px; }
.ph-cal i { font-style: normal; border-radius: 6px; padding: 5px 0; }
.ph-cal i.a { background: #dde8e4; color: #1f4e4f; } .ph-cal i.b { background: #f1e4cc; color: #7f5716; }
.ph-cal i.mark { box-shadow: inset 0 0 0 2px var(--bad); font-weight: 700; }
.ph-msg { border-radius: 14px; padding: 9px 11px; max-width: 88%; line-height: 1.4; }
.ph-msg.a { background: #dde8e4; color: #17201f; border-left: 4px solid #1f4e4f; }
.ph-msg.b { background: #f1e4cc; color: #17201f; border-right: 4px solid #b07a2a; }
.ph-msg.mine { margin-left: auto; }
.ph-from { display: block; font-size: .7rem; font-weight: 700; opacity: .75; margin-bottom: 2px; }
.ph-note { font-size: .74rem; color: var(--muted); margin-top: 6px; }
.center { text-align: center; margin-top: 22px; }
.eyebrow.dark { color: var(--warm); }

/* ── Design pass (Claude, 1 Oct 2026) — overrides only; delete this block to revert ── */
/* Hero example: the struck-through original must still be readable */
.mock-msg.them { color: var(--ink-2); }
.mock-msg.them s { text-decoration-color: color-mix(in srgb, var(--bad) 70%, transparent); text-decoration-thickness: 1.5px; }
/* Legend on its own line, never wrapping mid-key */
.keys { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: -12px 0 28px; }
.keys .key { margin-right: 0; }
.swipe-hint { display: none; font-size: .85rem; color: var(--muted); }
/* Message bubbles: no side-stripe borders; a tail corner shows who sent it */
.ph-msg.a { border-left: 0; border-radius: 14px 14px 14px 4px; }
.ph-msg.b { border-right: 0; border-radius: 14px 14px 4px 14px; }
.ph-note { display: flex; gap: 6px; align-items: flex-start; }
.ph-note svg { flex: none; margin-top: 2px; }
/* Phones: lighter bezel */
.screen { border-width: 8px; box-shadow: 0 14px 34px rgba(23,32,31,.14); }
/* On phones, the three example screens become a swipeable row instead of a 1,500px stack */
@media (max-width: 899px) {
  .swipe-hint { display: inline; margin-left: auto; }
  .phones { grid-auto-flow: column; grid-auto-columns: 80%; justify-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin: 0 -20px; padding: 4px 20px 18px; gap: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .phones::-webkit-scrollbar { display: none; }
  .phone { max-width: none; scroll-snap-align: start; }
  .screen { min-height: 400px; }
}
/* Footer brand matches the header lockup */
.foot .brand .wordmark { font-size: 1.2rem; }

/* Safety wall */
.wall-visual { display: grid; gap: 12px; align-content: center; }
.wall-side, .wall-mid { border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 2px; text-align: center; justify-items: center; }
.wall-side { background: var(--surface); border: 1px solid var(--line); }
.wall-side small, .wall-mid small { color: var(--muted); font-size: .88rem; }
.wall-mid { background: var(--hero-bg); color: var(--hero-ink); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.wall-mid small { color: var(--hero-muted); }
.wall-mid span { font-size: 1.8rem; line-height: 1; }
.wall-mid b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
@media (min-width: 900px) { .wall-visual { grid-template-columns: 1fr 1.2fr 1fr; align-items: stretch; } .wall-side, .wall-mid { align-content: center; } }

/* Pricing */
.price-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 8px 0 22px; }
.seg { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 4px; }
.seg-btn { border: 0; background: transparent; font: 600 .95rem var(--font); color: var(--ink-2); padding: 9px 16px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.seg-btn[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.seg-btn .save { font-size: .75rem; color: var(--ok); margin-left: 4px; }
.cur select { width: auto; min-height: 40px; padding: 6px 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.plans { display: grid; gap: 16px; } @media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.plan { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; }
.plan.featured { border: 2px solid var(--accent); background: var(--surface); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.plan h3 { font-size: 1.5rem; margin: 0; }
.plan-for { color: var(--ink-2); font-size: .95rem; margin: 0; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 4px 0 6px; }
.price [data-price], .price .talk { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.price .talk { font-size: 1.8rem; }
.price .per { color: var(--muted); font-size: .9rem; }
.badge { position: absolute; top: -12px; left: 20px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan .ticks { gap: 8px; font-size: .95rem; }
.price-notes { margin: 22px 0 0; padding-left: 1.1rem; display: grid; gap: 4px; }
.who-sees { margin-top: 28px; }
.who-sees h3 { margin-bottom: 12px; }

/* Install guide */
.install-guide .lead { font-size: 1.1rem; }
.install-guide .card { margin: 14px 0; padding: 18px 20px; }
.guide-step h2 { display: flex; align-items: center; gap: 10px; margin-top: 0; }
.guide-step .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 1rem; }
.guide-h { margin-top: 28px; }
.guide-device summary { cursor: pointer; font-size: 1.05rem; padding: 4px 0; }
.guide-list { padding-left: 1.3rem; display: grid; gap: 12px; margin: 12px 0; font-size: 1.02rem; line-height: 1.55; }
.guide-faq { display: grid; gap: 10px; padding-left: 1.2rem; }
.install-guide .key { display: inline-block; margin-right: 0; padding: 1px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2, rgba(0,0,0,.04)); font-size: .92em; font-weight: 600; white-space: nowrap; }
.install-guide .ico { width: 1.15em; height: 1.15em; vertical-align: -0.2em; color: var(--accent); }
