/* Layout: Apple-like single column of generous sections; hero = copy left, tilted phone mockups right. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #10231c;
  --ink-soft: #4a5f57;
  --emerald: #0b7a56;
  --emerald-deep: #07402e;
  --mint: #e7f5ef;
  --mint-strong: #c9eadc;
  --paper: #ffffff;
  --line: #dbe8e2;
  --field-border: #7f938b;
  --coral: #e2574c;
  --coral-soft: #fde8e6;
  --amber: #b26a00;
  --amber-soft: #fff1d6;
  --sky: #2f6fb3;
  --sky-soft: #e3effb;
  --violet: #6b4fc4;
  --violet-soft: #efeafd;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 22px;
  --shadow: 0 30px 60px -20px rgb(7 64 46 / 0.28), 0 10px 20px -10px rgb(7 64 46 / 0.18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: var(--emerald); }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.container-narrow { max-width: 760px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: 999px;
  background: var(--emerald); color: var(--paper);
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 8px 20px -8px rgb(11 122 86 / 0.6);
}
.btn:hover { background: var(--emerald-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--emerald-deep); box-shadow: inset 0 0 0 1.5px var(--mint-strong); }
.btn-ghost:hover { background: var(--mint); }
.btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; background: var(--emerald); }
.btn-small { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgb(16 35 28 / 0.06);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.0625rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand-mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--emerald); color: var(--paper);
}
.site-header nav { margin-left: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, var(--mint-strong), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, var(--mint), transparent 70%),
    var(--paper);
  padding-block: 72px 96px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy { min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: .875rem; font-weight: 600; color: var(--emerald-deep);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
.hero h1 { margin-top: 20px; font-size: clamp(2.5rem, 5.6vw, 4.25rem); font-weight: 800; letter-spacing: -0.025em; }
.accent { color: var(--emerald); }
.lead { margin-top: 22px; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: .875rem; color: var(--ink-soft); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: var(--mint-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2307402e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Phone mockups */
.hero-stage { position: relative; margin: 0; height: 600px; min-width: 0; }
.phone {
  position: absolute; width: 264px; aspect-ratio: 9 / 18.5;
  background: var(--paper); border-radius: 42px; padding: 10px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgb(16 35 28 / 0.06);
}
.screen {
  position: relative; height: 100%; border-radius: 33px; overflow: hidden;
  background: #f6faf8; padding: 34px 16px 16px; font-size: 12px; line-height: 1.4;
}
.screen::before { /* camera notch */
  content: ""; position: absolute; top: 10px; left: 50%; width: 76px; height: 18px;
  transform: translateX(-50%); border-radius: 999px; background: var(--ink);
}
.phone-main { left: 22%; top: 30px; z-index: 3; transform: rotate(-6deg); }
.phone-back { left: 56%; top: 90px; z-index: 2; transform: rotate(7deg) scale(.92); }
.phone-child { left: -4%; top: 150px; z-index: 1; transform: rotate(-14deg) scale(.82); }

.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-hello { color: var(--ink-soft); font-size: 11px; }
.app-title { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.avatar, .child-avatar {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--mint-strong); color: var(--emerald-deep); font-weight: 700;
}
.child-card {
  display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px;
  border-radius: 18px; background: var(--emerald); color: var(--paper);
}
.child-card .child-avatar { background: rgb(255 255 255 / 0.2); color: var(--paper); }
.child-name { font-weight: 700; font-size: 13px; }
.child-meta { opacity: .85; font-size: 11px; }
.status-dot { margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: #8ff0c5; box-shadow: 0 0 0 4px rgb(143 240 197 / 0.3); }
.app-section { margin-top: 14px; margin-bottom: 8px; font-weight: 700; font-size: 12px; }
.alert-list { display: grid; gap: 8px; }
.alert-item {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px;
  background: var(--paper); border-radius: 14px; box-shadow: 0 1px 0 var(--line);
}
.alert-icon {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px;
  font-weight: 800; font-size: 13px;
}
.alert-title { font-weight: 600; font-size: 11.5px; }
.alert-meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--ink-soft); font-size: 10px; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-weight: 600; font-size: 10px; }
.tag-coral { background: var(--coral-soft); color: #a3332a; }
.tag-amber { background: var(--amber-soft); color: #7a4800; }
.tag-sky { background: var(--sky-soft); color: #1f4f82; }
.tone-coral { background: var(--coral-soft); color: var(--coral); }
.tone-amber { background: var(--amber-soft); color: var(--amber); }
.tone-sky { background: var(--sky-soft); color: var(--sky); }
.tone-violet { background: var(--violet-soft); color: var(--violet); }
.tabbar {
  position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-around;
  padding: 12px; border-radius: 18px; background: var(--paper); box-shadow: 0 1px 0 var(--line);
}
.tab { width: 18px; height: 18px; border-radius: 6px; background: var(--line); }
.tab.is-active { background: var(--emerald); }

.app-back { color: var(--emerald); font-weight: 600; margin-bottom: 12px; }
.detail-title { margin-top: 8px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.quote-card { margin-top: 12px; padding: 12px; border-radius: 14px; background: var(--paper); display: grid; gap: 4px; }
.quote-blur { color: var(--line); letter-spacing: -1px; user-select: none; }
.quote-hit { padding: 4px 6px; border-radius: 6px; background: var(--amber-soft); color: #5c3600; font-weight: 600; }
.tips { display: grid; gap: 6px; }
.tips li { position: relative; padding-left: 16px; }
.tips li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); }
.fake-btn {
  display: block; margin-top: 14px; padding: 10px; border-radius: 999px; text-align: center;
  background: var(--emerald); color: var(--paper); font-weight: 700;
}
.detail-note { margin-top: 8px; text-align: center; color: var(--ink-soft); font-size: 10px; }

.screen-child {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; background: linear-gradient(180deg, var(--mint) 0%, var(--paper) 100%);
}
.shield { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--emerald); color: var(--paper); }
.child-head { font-weight: 800; font-size: 15px; }
.child-text { color: var(--ink-soft); }
.help-chip { margin-top: 6px; padding: 8px 14px; border-radius: 14px; background: var(--paper); box-shadow: 0 1px 0 var(--line); }

.toast {
  position: absolute; z-index: 4; right: 0; top: 0;
  display: flex; gap: 10px; align-items: center; width: 250px; padding: 12px 14px;
  border-radius: 18px; background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow); font-size: 13px; line-height: 1.35;
}
.toast-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--emerald); color: var(--paper); }
.toast-title { font-weight: 700; }
.toast-text { color: var(--ink-soft); }

/* Sections */
.section { padding-block: 112px; }
.section-tint { background: var(--mint); }
.section-dark { background: var(--emerald-deep); color: #e9f7f1; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--emerald); margin-bottom: 14px; }
.eyebrow-light { color: #8ff0c5; }
.section h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
.section-lead { margin-top: 20px; font-size: 1.1875rem; color: var(--ink-soft); }
.section-dark .section-lead { color: #b9d9cc; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { padding: 28px; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; margin-bottom: 20px; }
.card h3 { font-size: 1.1875rem; font-weight: 700; }
.card p { margin-top: 10px; color: var(--ink-soft); font-size: 1rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.step { padding: 32px; border-radius: var(--radius); background: var(--paper); min-width: 0; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--emerald); color: var(--paper); font-weight: 800; font-size: 1.125rem; margin-bottom: 20px;
}
.step h3 { font-size: 1.375rem; font-weight: 700; }
.step p { margin-top: 10px; color: var(--ink-soft); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 28px; border-radius: var(--radius); background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); min-width: 0; }
.stat dt { font-size: .9375rem; color: #b9d9cc; font-weight: 600; }
.stat dd { margin-top: 6px; font-size: 1.25rem; font-weight: 700; color: var(--paper); }
.stat-num { font-size: clamp(2.75rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #8ff0c5; font-variant-numeric: tabular-nums; }
.stat-num-word { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.stat .stat-note { font-size: .9375rem; font-weight: 400; color: #b9d9cc; }

.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.principle { padding: 32px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.principle h3 { font-size: 1.375rem; font-weight: 700; }
.principle h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--emerald); margin-bottom: 16px; }
.principle p { margin-top: 10px; color: var(--ink-soft); }

.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--paper); padding: 4px 24px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative;
  font-weight: 700; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--emerald); border-bottom: 2px solid var(--emerald);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding-bottom: 20px; color: var(--ink-soft); }

/* Waitlist */
.signup {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
  padding: 56px; border-radius: 32px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--paper) 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}
.signup-copy { min-width: 0; }
.signup-copy p:not(.eyebrow) { margin-top: 18px; color: var(--ink-soft); font-size: 1.125rem; }
.signup-form { display: grid; gap: 20px; min-width: 0; padding: 28px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field legend { font-weight: 600; font-size: .9375rem; padding: 0; }
.optional { color: var(--ink-soft); font-weight: 400; }
.field-hint { color: var(--ink-soft); font-size: .875rem; }
.field input[type="email"] {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--field-border); font: 400 1rem var(--font); color: var(--ink); background: var(--paper);
}
.field input[type="email"]:focus { outline: 2px solid transparent; border-color: var(--emerald); box-shadow: 0 0 0 4px var(--mint-strong); }
.field input[type="email"]:focus-visible { outline: 3px solid var(--emerald); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: var(--coral); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; font-size: .9375rem; font-weight: 600;
  background: var(--mint); color: var(--emerald-deep); border: 1.5px solid transparent;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.chip input:checked + span { background: var(--emerald); color: var(--paper); }
.chip input:checked + span::before { content: "✓ "; }
.chip input:focus-visible + span { outline: 3px solid var(--emerald); outline-offset: 3px; }
.consent { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--emerald); }
.consent label { font-weight: 400; font-size: .875rem; color: var(--ink-soft); }
.consent .field-error { grid-column: 1 / -1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: #b0362d; font-size: .875rem; font-weight: 600; }
.form-success:empty { display: block; padding: 0; }
.form-success:focus { outline: none; }
.form-success {
  padding: 14px 16px; border-radius: 14px; background: var(--mint); color: var(--emerald-deep); font-weight: 600;
}

/* Help lines */
.section-help { padding-block: 0 112px; }
.help { padding: 40px; border-radius: 28px; background: var(--sky-soft); }
.help h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.help > p { margin-top: 10px; color: var(--ink-soft); }
.help-lines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.help-lines li { display: grid; gap: 4px; padding: 20px; border-radius: 18px; background: var(--paper); min-width: 0; }
.help-lines a { color: var(--sky); text-decoration: none; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.help-lines span { color: var(--ink-soft); font-size: .9375rem; }

/* Legal page */
.legal h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; }
.legal-meta { margin-top: 12px; color: var(--ink-soft); }
.legal h2 { margin-top: 40px; font-size: 1.375rem; font-weight: 700; }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.25em; }

/* Result pages */
.result { display: grid; gap: 16px; }
.result h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; }
.result p { color: var(--ink-soft); font-size: 1.125rem; }
.result p:last-child { margin-top: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; font-size: .9375rem; color: var(--ink-soft); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.brand-footer { font-size: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; min-width: 0; }
.footer-links a { color: var(--ink-soft); overflow-wrap: anywhere; }
.footer-note { margin-left: auto; }

/* Motion: content is fully visible without it; it only adds entrance and ambient movement. */
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(11 122 86 / 0.45); } 50% { box-shadow: 0 0 0 6px rgb(11 122 86 / 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes phone-in-main { from { opacity: 0; transform: translateY(80px) rotate(-2deg); } }
@keyframes phone-in-back { from { opacity: 0; transform: translateY(90px) rotate(14deg) scale(.92); } }
@keyframes phone-in-child { from { opacity: 0; transform: translateY(90px) rotate(-22deg) scale(.82); } }
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(-16px); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(-14px) scale(.96); } }

@media (prefers-reduced-motion: no-preference) {
  html:focus-within { scroll-behavior: smooth; }
  .pill-dot { animation: pulse 2.4s ease-in-out 3; }
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }

  .phone-main { animation: phone-in-main 1.1s var(--ease) .2s both, float 7s ease-in-out 1.4s 2; }
  .phone-back { animation: phone-in-back 1.1s var(--ease) .35s both, float 8s ease-in-out 1.6s 2; }
  .phone-child { animation: phone-in-child 1.1s var(--ease) .5s both, float 9s ease-in-out 1.8s 2; }
  .alert-item { animation: slide-in .6s var(--ease) both; }
  .alert-item:nth-child(1) { animation-delay: 1.1s; }
  .alert-item:nth-child(2) { animation-delay: 1.25s; }
  .alert-item:nth-child(3) { animation-delay: 1.4s; }
  .toast { animation: toast-in .8s var(--ease) 1.8s both; }

  /* Scroll-driven reveal where supported; elsewhere sections are simply static. */
  @supports (animation-timeline: view()) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
  .btn:active { transform: scale(.98); }
}

/* Responsive */
@media (min-width: 901px) and (max-width: 1240px) {
  .phone-main { left: 14%; }
  .phone-back { left: 46%; }
  .phone-child { left: -10%; }
  .toast { right: 4%; }
}
@media (max-width: 1040px) {
  .card-grid, .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding-block: 48px 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-stage { height: 640px; max-width: 520px; width: 100%; margin-inline: auto; }
  .phone-main { left: 50%; margin-left: -132px; }
  .phone-back { left: auto; right: -6%; }
  .phone-child { left: -8%; }
  .toast { right: auto; left: 50%; margin-left: -125px; top: -6px; }
  .steps, .signup { grid-template-columns: 1fr; }
  .help-lines { grid-template-columns: repeat(2, 1fr); }
  .signup { padding: 32px 24px; gap: 28px; }
  .section { padding-block: 80px; }
  .section-help { padding-block: 0 80px; }
  .site-header nav { display: none; }
  .site-header .btn { margin-left: auto; }
}
@media (max-width: 600px) {
  .card-grid, .stats, .principles, .help-lines { grid-template-columns: 1fr; }
  .phone-back, .phone-child { opacity: .9; }
  .phone-back { right: -18%; }
  .phone-child { left: -20%; }
  .signup { padding: 24px 16px; }
  .signup-form { padding: 20px; }
  .help { padding: 28px 20px; }
  .footer-note { margin-left: 0; }
  .section-head { margin-bottom: 36px; }
}

@media (forced-colors: active) {
  .hero-stage { display: none; }
  .chip input:checked + span { outline: 2px solid CanvasText; }
  .field input[type="email"]:focus { outline-color: Highlight; }
}

@media print {
  .reveal, .hero-copy > *, .phone, .toast, .alert-item { animation: none !important; }
  .site-header { position: static; }
  .hero-stage, .skip-link { display: none; }
}

@media (max-width: 360px) {
  .header-inner { gap: 12px; }
  .site-header .brand { gap: 8px; font-size: 1rem; white-space: nowrap; }
  .site-header .btn-small { padding: 8px 14px; white-space: nowrap; }
}
