:root {
  color-scheme: light dark;
  --paper: #f3f0e9;
  --ink: #181b1e;
  --muted: #505859;
  --red: #c8293b;
  --red-text: #c8293b;
  --line: #d2d3cb;
  --green: #c1d8b7;
  --night: #101923;
  --white: #faf9f5;      /* always near-white: text on red/dark panels */
  --surface: #faf9f5;    /* card backgrounds (changes in dark mode) */
  --band: #e3e2db;
  --block-shadow: #dfe2d7;
  --ok-text: #2f5e3b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #11161c;
    --ink: #eceee9;
    --muted: #a7b1b6;
    --red-text: #ff6b7c;
    --line: #2d3741;
    --green: #15261c;
    --night: #0b1016;
    --surface: #18202a;
    --band: #161d25;
    --block-shadow: #070a0e;
    --ok-text: #8fd19e;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img { max-width: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 Arial, Helvetica, sans-serif; }
a { color: inherit; }
button, a { touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #bc263c; outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.06; }
p { margin-bottom: 20px; }
h1 { font-size: clamp(48px, 5.8vw, 84px); letter-spacing: -.06em; margin: 22px 0 24px; }
h2 { font-size: clamp(34px, 3.8vw, 54px); letter-spacing: -.045em; margin-bottom: 24px; }
h3 { font-size: 23px; letter-spacing: -.025em; margin-bottom: 14px; }
em { font-style: normal; color: var(--red-text); }

.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; left: 20px; top: -100px; z-index: 80; background: #181b1e; color: var(--white); padding: 12px 20px; }
.skip:focus { top: 15px; }

.header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 900; font-size: 26px; letter-spacing: .04em; line-height: 1; }
.brand img { border-radius: 11px; }
.brand small { display: block; font-size: 10px; letter-spacing: .3em; margin-top: 7px; color: var(--muted); }
nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
nav a { min-height: 44px; display: flex; align-items: center; text-decoration: none; font-size: 14px; font-weight: 600; }
nav a:hover, .text-link:hover { color: var(--red-text); }

.button { display: inline-flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 54px; padding: 13px 22px; background: var(--red); border: 1px solid transparent; color: var(--white); text-decoration: none; font-weight: 700; border-radius: 4px; line-height: 1.4; }
.button:hover { background: #a01e30; }
.button span, .text-link span { font-size: 22px; line-height: 1; }
.button.compact { font-size: 13px; min-height: 46px; padding: 10px 15px; gap: 14px; }
.button.dark { background: #181b1e; color: var(--white); border-color: #3a444d; }
.button.dark:hover { background: #323b35; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }

.hero { padding-block: 64px 72px; display: grid; grid-template-columns: 1.05fr 1.15fr; gap: 48px; align-items: center; }
.hero-copy { padding-block: 8px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; display: inline-block; flex-shrink: 0; }
.lead { font-size: 22px; line-height: 1.35; max-width: 460px; font-weight: 600; letter-spacing: -.025em; }
.intro { color: var(--muted); max-width: 460px; font-size: 17px; }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 28px 0; }
.availability { font-size: 12px; font-weight: 700; letter-spacing: .12em; margin: 24px 0 0; color: var(--muted); }
.availability span { margin-inline: 8px; }

.hero-showcase { display: grid; grid-template-columns: 0.78fr 1fr; gap: 22px; align-items: center; }
.hero-phone { text-align: center; }
.phone-bezel { background: #0d1218; border: 2px solid #2b3540; border-radius: 28px; padding: 9px; box-shadow: 0 22px 48px rgba(16, 25, 35, .24); }
.phone-bezel img { display: block; width: 100%; height: auto; border-radius: 20px; }
.phone-caption { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); margin: 12px 0 0; text-transform: uppercase; }

.hero-feature { background: var(--night); color: var(--white); padding: 26px; border-radius: 8px; box-shadow: 12px 12px 0 var(--block-shadow); }
.feature-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .12em; color: #c2cbd2; border-bottom: 1px solid #34414c; padding-bottom: 14px; }
.feature-symbol { font-size: 22px; }
.feature-heading { font-size: clamp(36px, 3.8vw, 52px); letter-spacing: -.05em; font-weight: 800; line-height: .98; margin: 22px 0; }
.feature-heading span { color: #c1d8b7; }
.guide-preview { background: #f3f0e9; color: #181b1e; padding: 20px; border-radius: 4px; }
.category { font-size: 11px; letter-spacing: .16em; color: #405445; font-weight: 700; }
.guide-preview h2 { font-size: 24px; letter-spacing: -.04em; line-height: 1.12; margin: 12px 0; }
.guide-preview p { font-size: 14px; line-height: 1.5; color: #505859; margin-bottom: 14px; }
.guide-open { color: #181b1e; border: 0; border-top: 1px solid #d2d3cb; border-radius: 0; padding: 12px 0 0; background: transparent; min-height: 44px; display: flex; justify-content: space-between; width: 100%; font-size: 13px; font-weight: 700; text-align: left; gap: 16px; }
.guide-open:hover { color: var(--red); }
.feature-note { font-size: 12px; line-height: 1.5; color: #bcc8d2; margin: 14px 0 0; }

.principles { background: #181b1e; color: var(--white); border-block: 1px solid #2d3741; }
.principles .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 22px; font-size: 12px; font-weight: 700; letter-spacing: .13em; }

.section { padding-block: 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 44px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 340px; color: var(--muted); margin-bottom: 4px; }

.screen-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.screen-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.screen-frame { background: #0d1218; border: 2px solid #26303a; border-radius: 20px; padding: 7px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.screen-frame img { display: block; width: 100%; height: auto; border-radius: 14px; }
.screen-mock { aspect-ratio: 9 / 18; width: 100%; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 18px 16px; text-align: left; color: var(--white); background: linear-gradient(165deg, #16212e, #0d1218); }
.screen-mock-quiet { background: linear-gradient(165deg, #2a1218, #0f1116); }
.screen-mock-map { background: linear-gradient(165deg, #132523, #0d1418); }
.screen-mock-chat { background: linear-gradient(165deg, #162033, #0d1218); }
.screen-mock-timer { background: linear-gradient(165deg, #231e14, #0e1116); }
.mock-badge { font-size: 9px; font-weight: 700; letter-spacing: .12em; color: #c1d8b7; border: 1px solid rgba(193, 216, 183, .35); padding: 4px 8px; border-radius: 999px; }
.mock-title { font-size: 20px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.mock-copy { font-size: 13px; line-height: 1.45; color: #cfd8df; margin: 0; }
.mock-pill { font-size: 11px; color: #f3f0e9; background: rgba(255, 255, 255, .08); border-radius: 6px; padding: 8px 10px; width: 100%; }
.mock-cta { font-size: 12px; font-weight: 700; background: var(--red); color: var(--white); padding: 10px 12px; border-radius: 6px; width: 100%; text-align: center; }
.screen-card figcaption { flex: 1; }
.screen-num { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--red-text); text-transform: uppercase; margin-bottom: 8px; }
.screen-card h3 { font-size: 19px; margin-bottom: 8px; }
.screen-card p { font-size: 14px; color: var(--muted); margin-bottom: 0; line-height: 1.5; }
.screen-zoom { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 4px; padding: 10px 14px; min-height: 44px; font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; width: 100%; }
.screen-zoom:hover { border-color: var(--ink); color: var(--red); }

.feed-section { background: var(--green); }
.feed-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.feed-layout > div > p:not(.eyebrow) { max-width: 480px; }
.section-lead { font-size: 22px; letter-spacing: -.025em; line-height: 1.4; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.topics span { border: 1px solid #60765d; padding: 5px 12px; border-radius: 3px; font-size: 13px; }
.editorial { border-left: 1px solid #8caa83; padding-left: 42px; }
.editorial blockquote { font-size: clamp(24px, 2.8vw, 36px); font-weight: 600; line-height: 1.25; letter-spacing: -.035em; margin: 24px 0; }
.editorial > p { font-size: 13px; }
.editorial cite { font-style: normal; font-weight: 700; }
.editorial hr { border: 0; border-top: 1px solid #8caa83; margin: 28px 0; }
.editorial h3 { font-size: 24px; }
.editorial h3 + p { font-size: 15px; }

.nova-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.nova-copy p { max-width: 520px; color: var(--muted); }
.nova-copy .section-lead { color: var(--ink); }
.helpline-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.helpline-pills a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); text-decoration: none; font-size: 13px; font-weight: 700; }
.helpline-pills a:hover { border-color: var(--ink); }
.helpline-pills a.urgent { background: var(--red); border-color: var(--red); color: var(--white); }
.nova-portrait { margin: 0; background: var(--night); color: var(--white); padding: 18px; border-radius: 12px; box-shadow: 12px 12px 0 var(--block-shadow); }
.nova-portrait img { display: block; width: 100%; height: auto; border-radius: 8px; }
.nova-portrait figcaption { font-size: 12px; color: #bcc8d2; margin-top: 12px; font-weight: 600; }

.practical-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.practical-grid article { padding-top: 28px; border-top: 1px solid var(--line); }
.practical-grid p { color: var(--muted); }
.index { font-size: 12px; letter-spacing: .15em; font-weight: 700; margin-bottom: 24px; display: block; color: var(--muted); }
.small { font-size: 13px; line-height: 1.6; }

.help-section { background: var(--night); color: var(--white); }
.help-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 38px 90px; }
.help-layout > div > p:not(.eyebrow) { color: #bcc8d2; max-width: 460px; }
.help-layout a:focus-visible { outline-color: #c1d8b7; }
.hold-demo { display: flex; align-items: center; gap: 22px; margin-top: 28px; padding: 18px; border: 1px solid #2b3844; border-radius: 14px; background: rgba(255, 255, 255, .03); }
.hold-btn { position: relative; width: 158px; min-height: 148px; flex-shrink: 0; border: 2px solid var(--red); border-radius: 20px; background: #1a2026; color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 14px 12px 16px; user-select: none; -webkit-user-select: none; transition: background .15s ease, border-color .15s ease; }
.hold-btn.holding { background: #2d141a; }
.hold-btn.done { border-color: #c1d8b7; background: #16261d; }
.hold-kicker { font-size: 9px; font-weight: 800; letter-spacing: .16em; color: #ff6b78; }
.hold-title { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--white); }
.hold-count { font-size: 36px; font-weight: 800; line-height: 1.05; margin-top: 2px; }
.hold-label { font-size: 11px; color: #bcc8d2; margin-bottom: 8px; }
.hold-bar { width: 100%; height: 6px; border-radius: 999px; background: #313b46; overflow: hidden; }
.hold-bar-fill { display: block; width: 0%; height: 100%; background: var(--red); border-radius: 999px; }
.hold-btn.done .hold-bar-fill { background: #c1d8b7; }
.hold-status { font-size: 13px; color: #cfd8df; margin: 0; line-height: 1.5; }
.hold-status b { color: var(--white); }

.help-steps { list-style: none; margin: 0; padding: 0; }
.help-steps li { display: flex; gap: 24px; border-top: 1px solid #34414c; padding-top: 24px; margin-bottom: 28px; }
.help-steps li > span { font-size: 12px; color: #a9c89b; }
.help-steps h3 { font-size: 21px; margin-bottom: 10px; }
.help-steps p { font-size: 14px; color: #bcc8d2; margin-bottom: 0; }
.emergency-note { grid-column: 1 / -1; border-top: 1px solid #34414c; padding-top: 28px; margin-bottom: 0; font-size: 13px; color: #bcc8d2; }
.emergency-note strong { color: var(--white); }

.faq-list { max-width: 920px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 23px 4px; cursor: pointer; font-size: 19px; font-weight: 600; line-height: 1.4; list-style: none; display: flex; justify-content: space-between; gap: 25px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-size: 25px; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 36px 4px 4px; color: var(--muted); max-width: 790px; }

.join-section { background: var(--band); }
.join-layout { display: flex; justify-content: space-between; align-items: center; gap: 55px; }
.join-layout p:not(.eyebrow) { color: var(--muted); max-width: 490px; margin-bottom: 0; }
.join-actions { display: flex; flex-direction: column; align-items: start; gap: 18px; }

.footer { padding-block: 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer p { font-size: 12px; color: var(--muted); margin: 16px 0 0; }
.footer nav { align-items: start; justify-content: end; gap: 10px 25px; flex-wrap: wrap; }
.footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; margin: 0; font-size: 11px; }

dialog { width: min(760px, calc(100% - 24px)); max-height: 90dvh; padding: 0; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: #101923c9; }
.dialog-top { position: sticky; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 12px 20px; z-index: 1; }
.dialog-top > span { font-size: 11px; letter-spacing: .12em; font-weight: 700; }
.dialog-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.dialog-top button { min-height: 44px; border: 1px solid var(--line); background: transparent; padding: 8px 14px; border-radius: 3px; font-weight: 700; font-size: 13px; }
.dialog-top button:hover { border-color: var(--ink); }
.guide-article { padding: 32px; }
.guide-article h2 { font-size: clamp(30px, 5vw, 44px); }
.guide-article h3 { font-size: 21px; margin-top: 32px; }
.guide-article p { line-height: 1.8; }
.guide-byline { font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 22px; }

.screen-dialog { width: min(560px, calc(100% - 24px)); }
.screen-dialog-body { padding: 24px; }
.screen-dialog-body .screen-card { border: 0; background: transparent; padding: 0; }
.screen-dialog-body .screen-card:hover { transform: none; box-shadow: none; }
.screen-dialog-body .screen-card:hover .screen-frame img { transform: none; }
.screen-dialog-body .screen-frame { max-width: 340px; margin-inline: auto; width: 100%; }
.noscript { padding-block: 20px; font-size: 13px; }

/* Unified tester & download page components */
.tester-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.copy-box { margin-top: 22px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.copy-box p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copy-btn { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 700; }
.copy-btn:hover { border-color: var(--ink); color: var(--red); }
.copy-status { font-size: 13px; font-weight: 600; color: var(--ok-text); }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 16px; margin-bottom: 0; }
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.step-num { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: var(--white); font-size: 14px; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 14px; }
.step-card h3 { font-size: 19px; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--muted); margin-bottom: 0; }
.tester-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.tester-list li { margin-bottom: 10px; }
.tester-list b { color: var(--ink); }
.download-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 32px; }
.download-panel .button { width: 100%; margin: 12px 0 10px; }
.button.secondary { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.button.secondary:hover { border-color: var(--ink); background: var(--band); }
.file-meta { font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 14px; }
.urgent-link { color: var(--red); font-weight: 700; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .header { flex-wrap: wrap; }
  .header nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 48px; }
  .screen-gallery, .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feed-layout, .help-layout, .nova-layout { gap: 40px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .header { gap: 14px; padding-block: 18px; }
  .brand { font-size: 22px; }
  .header .compact { font-size: 12px; padding: 10px 12px; gap: 10px; }
  /* Every nav pill stays fully on screen: they wrap into tidy rows, nothing hides off the edge. */
  .header nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
  .header nav a { font-size: 14px; white-space: nowrap; padding-inline: 12px; border: 1px solid var(--line); border-radius: 999px; min-height: 40px; }
  .header nav a.nav-key { border-color: var(--red); color: var(--red-text); }
  .header .compact { width: 100%; }
  .hero { padding-block: 32px 48px; }
  .hero-showcase, .tester-phones { grid-template-columns: 1fr; gap: 24px; }
  .hero-phone { max-width: 260px; margin-inline: auto; }
  .actions { gap: 12px 24px; }
  .actions .button { width: 100%; }
  .principles .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 11px; letter-spacing: .08em; }
  .faq summary { font-size: 17px; }
  .section { padding-block: 56px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 16px; }
  .screen-gallery, .steps-grid, .feed-layout, .practical-grid, .help-layout, .nova-layout { grid-template-columns: 1fr; gap: 28px; }
  .editorial { padding-left: 0; border-left: 0; border-top: 1px solid #8caa83; padding-top: 28px; }
  .hold-demo { flex-direction: column; text-align: center; }
  .emergency-note { grid-column: auto; }
  .join-layout { display: block; }
  .join-actions { margin-top: 28px; }
  .footer { grid-template-columns: 1fr; gap: 20px; }
  .footer nav { justify-content: start; }
  .footer .legal { grid-column: auto; }
  .guide-article, .screen-dialog-body { padding: 20px; }
}

/* Closed-circle promise (hero) */
.promise { font-size: 22px; line-height: 1.35; max-width: 500px; font-weight: 700; letter-spacing: -.025em; margin-bottom: 14px; }
.promise b { color: var(--red-text); }
.promise-ticks { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.promise-ticks li { font-size: 13px; font-weight: 700; border: 1px solid var(--line); background: var(--surface); padding: 6px 12px; border-radius: 999px; }
.promise-ticks li::before { content: '✓ '; color: var(--red-text); }
.button.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.ghost:hover { background: var(--ink); color: var(--paper); }

/* Parents and carers band */
.parents-band { background: var(--night); color: var(--white); }
.parents-band .eyebrow { color: #c1d8b7; }
.parents-band h2 em { color: #ff6b7c; }
.parent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 8px; }
.parent-card { background: #16202b; border: 1px solid #2b3844; border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.parent-card h3 { font-size: 21px; margin: 0; }
.parent-card p { font-size: 14px; color: #bcc8d2; margin: 0; line-height: 1.55; }
.parent-card .index { color: #c1d8b7; margin-bottom: 4px; }
.parent-card .text-link { margin-top: auto; color: var(--white); }
.parent-band-foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 34px; }
.parent-band-foot .small { color: #bcc8d2; margin: 0; max-width: 560px; }
.age-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.age-modes span { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid #3a4652; }
.age-modes span b { color: #ff6b7c; }

/* Receiver illustration (code-true: uses the receiver's own labels) */
.receiver-mock { background: #06080d; border: 1px solid #2b3844; border-radius: 12px; padding: 16px; color: #e9eef2; font-size: 13px; }
.receiver-mock .rm-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10px; font-weight: 800; letter-spacing: .1em; border-bottom: 1px solid #222c36; padding-bottom: 10px; margin-bottom: 12px; }
.receiver-mock .rm-top b { color: #ff6b7c; }
.receiver-mock .rm-000 { background: var(--red); color: #fff; border-radius: 4px; padding: 3px 8px; font-size: 10px; }
.receiver-mock .rm-alarm { border: 1px solid #7a1f2c; background: #1d0d12; border-radius: 8px; padding: 12px; }
.receiver-mock .rm-alarm strong { display: block; font-size: 15px; margin-bottom: 4px; }
.receiver-mock .rm-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.receiver-mock .rm-pills span { font-size: 11px; border: 1px solid #2f3b47; border-radius: 999px; padding: 3px 8px; color: #c9d2d8; }
.receiver-mock .rm-map { height: 86px; border-radius: 6px; background: repeating-linear-gradient(45deg, #142028 0 10px, #17252e 10px 20px); position: relative; margin-bottom: 10px; }
.receiver-mock .rm-map::after { content: ''; position: absolute; left: 52%; top: 38%; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(200, 41, 59, .25); }
.receiver-mock .rm-onit { display: block; text-align: center; background: #1f9d55; color: #fff; font-weight: 900; letter-spacing: .06em; border-radius: 6px; padding: 10px; }
.receiver-mock + .small { margin-top: 10px; color: #bcc8d2; }

/* Simple content pages (parents, safety, contact) */
.page-hero { padding-block: 56px 24px; }
.page-hero .lead { max-width: 640px; }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 56px; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: var(--muted); }
.prose li { margin-bottom: 10px; }
.prose strong, .prose b { color: var(--ink); }
.callout { border-left: 4px solid var(--red); background: var(--surface); padding: 18px 22px; border-radius: 4px; margin: 24px 0; }
.callout p:last-child { margin-bottom: 0; }
.status-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 3px 8px; border-radius: 3px; vertical-align: middle; }
.status-tag.live { background: #1f6b3a; color: #fff; }
.status-tag.planned { background: var(--band); color: var(--ink); border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; margin: 18px 0; }
.compare th, .compare td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 1100px) { .parent-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .parent-grid { grid-template-columns: 1fr; }
  .promise { font-size: 20px; }
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 10px 6px; }
}

button.text-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.feed-phones { margin-top: 26px; }
.feed-phones .phone-caption { color: inherit; opacity: .82; }

/* Scroll progress hairline */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, #ff5d7d, #74d4e8, #4ade80);
  transform-origin: left center;
  transform: scaleX(var(--scroll, 0));
  pointer-events: none;
}

/* Hero phone subtle breathing glow & 3D tilt */
@keyframes phoneGlow {
  0%, 100% { box-shadow: 0 22px 48px rgba(16, 25, 35, .28), 0 0 0 1px rgba(116, 212, 232, .12); }
  50% { box-shadow: 0 26px 56px rgba(255, 93, 125, .18), 0 0 28px rgba(116, 212, 232, .18); }
}
.hero-phone .phone-bezel {
  animation: phoneGlow 5.5s ease-in-out infinite;
  transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
  will-change: transform;
}

/* Scroll reveal choreography (activated smoothly when JS marks elements) */
.reveal-pending {
  opacity: 0;
  transform: translateY(18px);
}
.reveal-done {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .58s cubic-bezier(.22, 1, .36, 1), transform .58s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

/* Smooth card & button micro-interactions */
.screen-card { transition: transform .24s cubic-bezier(.22, 1, .36, 1), box-shadow .24s ease, border-color .24s ease; }
.screen-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(16, 25, 35, .10); }
.screen-card:hover .screen-frame img { transform: scale(1.015); transition: transform .35s ease; }

/* Interactive Healthy Feed small-steps preview */
.habits-demo {
  margin-top: 18px; padding: 14px 16px; border-radius: 14px;
  background: rgba(15, 32, 23, .08); border: 1px solid #8caa83;
}
.habits-demo.is-complete {
  background: rgba(22, 163, 74, .12); border-color: #16a34a;
}
.habits-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.habits-head strong { font-variant-numeric: tabular-nums; color: #0f3a24; }
.habits-bar { height: 7px; border-radius: 999px; background: rgba(15, 32, 23, .12); overflow: hidden; margin-bottom: 12px; }
.habits-bar-fill { display: block; height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, #16a34a, #22c55e); transition: width .32s cubic-bezier(.22, 1, .36, 1); }
.habits-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.habit-chip {
  padding: 6px 12px; border-radius: 999px; border: 1px solid #5f8057; background: transparent;
  color: inherit; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.habit-chip:active { transform: scale(.96); }
.habit-chip[aria-pressed="true"] { background: #14532d; border-color: #14532d; color: #ffffff; }

/* Interactive Nova Shy prompt preview */
.nova-demo {
  margin-top: 22px; padding: 16px; border-radius: 16px;
  background: rgba(116, 212, 232, .06); border: 1px solid rgba(116, 212, 232, .22);
}
.nova-demo-label { font-size: 12px; letter-spacing: .1em; font-weight: 700; color: var(--muted); margin: 0 0 10px; }
.nova-prompts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.nova-prompt {
  min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.nova-prompt:hover { border-color: #2a8fa3; }
.nova-prompt.is-active { background: #0f5866; border-color: #0f5866; color: #ffffff; font-weight: 600; }
.nova-section .nova-copy .nova-reply { margin: 0; max-width: none; font-size: 15px; line-height: 1.55; color: var(--ink); transition: opacity .22s ease; }

@media (prefers-color-scheme: dark) {
  .habits-demo { background: rgba(255, 255, 255, .04); }
  .habits-head strong { color: #9be0ad; }
  .habits-bar { background: rgba(255, 255, 255, .1); }
  .habit-chip[aria-pressed="true"] { background: #1f7a43; border-color: #1f7a43; }
  .topics span { border-color: #4b6650; }
  .nova-prompt.is-active { background: #74d4e8; border-color: #74d4e8; color: #0b1016; }
  .button.secondary:hover { background: #222c37; }
  .share-option:hover, .share-option:focus-visible { color: var(--red-text); }
  .phone-bezel { border-color: #3a4652; }
  .screen-card:hover { box-shadow: 0 18px 36px rgba(0, 0, 0, .45); }
  a:focus-visible, button:focus-visible, summary:focus-visible { outline-color: #ff8a97; }
}

/* Always-there urgent help + quick exit bar (every product page) */
.safety-bar { position: sticky; top: 0; z-index: 50; background: #181b1e; color: #faf9f5; border-bottom: 1px solid #2d3741; font-size: 14px; }
.safety-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding-block: 6px; }
.safety-bar p { margin: 0; line-height: 1.35; }
.safety-bar a { color: #faf9f5; font-weight: 700; }
.safety-bar .safety-call { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 12px; margin-left: 6px; border-radius: 4px; background: var(--red); text-decoration: none; }
.safety-bar .safety-more { color: #c9d2d8; }
.safety-bar .safety-more a { white-space: nowrap; }
.quick-exit { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 14px; border: 2px solid #faf9f5; border-radius: 4px; background: transparent; text-decoration: none; font-size: 14px; font-weight: 800; letter-spacing: .02em; }
.quick-exit:hover { background: #faf9f5; color: #181b1e !important; }
.safety-bar a:focus-visible { outline-color: #ffb3bc; outline-offset: 2px; }
@media (max-width: 860px) {
  .safety-bar .safety-more { display: none; }
}
@media (max-width: 380px) {
  .safety-bar { font-size: 13px; }
  .safety-bar .safety-lead { display: none; }
}

/* Windows high-contrast / forced colours: keep key controls visible */
@media (forced-colors: active) {
  .button, .copy-btn, .screen-zoom, .quick-exit, .safety-call, .hold-btn, .nova-prompt, .habit-chip, .share-option, .share-copy { border: 2px solid ButtonText; }
  .hold-bar-fill, .habits-bar-fill { background: Highlight; forced-color-adjust: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-phone .phone-bezel { animation: none; transition: none; }
  .reveal-pending, .reveal-done { opacity: 1; transform: none; transition: none; }
  .screen-card, .screen-card:hover, .screen-card:hover .screen-frame img { transform: none; transition: none; }
  .habits-bar-fill, .habit-chip, .nova-prompt, .nova-reply { transition: none; }
}

/* In-page share panel (replaces the OS share sheet) */
.share-dialog { width: min(440px, calc(100% - 32px)); }
.share-body { padding: 20px; }
.share-label { display: block; font-size: 11px; letter-spacing: .12em; font-weight: 700; color: var(--muted); margin: 0 0 8px; text-transform: uppercase; }
.share-copy-row { display: flex; gap: 8px; }
.share-input { flex: 1; min-width: 0; min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; }
.share-input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.share-copy { min-height: 48px; padding: 0 16px; border: 0; border-radius: 4px; background: var(--red); color: var(--white); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.share-copy:hover { background: #a91f30; }
.share-status { min-height: 20px; margin: 8px 0 14px; font-size: 13px; font-weight: 600; color: var(--ok-text); }
.share-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.share-option { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.share-option:last-child:nth-child(odd) { grid-column: 1 / -1; }
.share-option:hover, .share-option:focus-visible { border-color: var(--ink); color: var(--red); }
.share-note { margin: 16px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.dialog-top .share-close { font-size: 14px; }
