:root {
  color-scheme: dark;
  --ink: #f7f9fc;
  --muted: #aab7c9;
  --navy: #0a1525;
  --navy-2: #0b1729;
  --navy-3: #101f34;
  --line: rgba(255,255,255,.12);
  --green: #55d56f;
  --fire: #ff7a2f;
  --water: #31a9ff;
  --air: #d9efff;
  --earth: #73cc68;
  --gold: #ffc85a;
  --paper: #f7f9fc;
  --paper-ink: #1c2a3b;
  --shadow: 0 26px 70px rgba(0,0,0,.28);
  --radius: 24px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--navy); color: var(--ink); font-size: 16px; line-height: 1.68; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
button, input, summary { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 8px; }
.skip-link { position: fixed; z-index: 200; top: 10px; left: 10px; transform: translateY(-150%); background: #fff; color: #08111f; padding: .7rem 1rem; border-radius: 10px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 .65rem; color: #a9e7b5; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; }
h1 { margin: 0; font-size: clamp(2.7rem, 6vw, 5.7rem); }
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.25rem; }
.lede { max-width: 710px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.26rem); }
.section { padding: clamp(5.2rem, 9vw, 8.4rem) 0; }
.section-heading { display: grid; gap: 1rem; margin-bottom: 2.7rem; }
.section-heading p { margin: 0; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.05rem; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: #f5f8fc; color: #07111f; font-weight: 800; text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.22); transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(0,0,0,.28); }
.button.secondary { background: transparent; color: var(--ink); box-shadow: none; }
.status-pill { display: inline-flex; min-height: 40px; align-items: center; padding: .45rem .8rem; border: 1px solid rgba(117,219,134,.35); border-radius: 999px; background: rgba(61,126,77,.16); color: #c9f5d1; font-size: .85rem; font-weight: 800; white-space: nowrap; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--line); background: rgba(6,14,26,.93); backdrop-filter: blur(14px); }
.site-header::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: linear-gradient(90deg,var(--fire) 0 25%,var(--water) 25% 50%,var(--air) 50% 75%,var(--earth) 75%); content: ""; opacity: .72; }
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 1.2rem; }
.brand-crop { flex: 0 0 auto; width: 194px; height: 64px; }
.brand-crop img { width: 100%; height: 100%; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.desktop-nav a { color: #d8e0ec; font-size: .87rem; font-weight: 700; text-decoration: none; }
.desktop-nav a:hover { color: #fff; }
.header-action { margin-left: .2rem; }
.nav-menu { display: none; margin-left: auto; }
.nav-menu > summary { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; list-style: none; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.menu-lines, .menu-lines::before, .menu-lines::after { width: 19px; height: 2px; border-radius: 2px; background: #fff; content: ""; }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.mobile-panel { position: fixed; top: 75px; right: 12px; left: 12px; display: grid; gap: .15rem; padding: .75rem; border: 1px solid var(--line); border-radius: 18px; background: #0b1728; box-shadow: var(--shadow); }
.mobile-panel a { padding: .72rem .8rem; border-radius: 10px; color: #e9eef6; font-weight: 750; text-decoration: none; }
.mobile-panel a:hover { background: rgba(255,255,255,.07); }

.hero { position: relative; min-height: min(820px, calc(100svh - 74px)); display: grid; align-items: end; isolation: isolate; background: var(--navy); }
.hero::before { display: none; }
.hero-content { padding: clamp(6rem,12vw,10rem) 0 clamp(5rem,9vw,7.5rem); }
.hero-copy { max-width: 730px; }
.hero-copy h1 { max-width: 690px; text-wrap: balance; }
.hero-copy .lede { margin: 1.4rem 0 1.1rem; color: #e3e9f1; }
.hero-proof { margin: 0 0 2rem; color: #c2efd0; font-weight: 800; letter-spacing: .02em; }
.element-ribbon { display: grid; grid-template-columns: repeat(4,1fr); height: 6px; }
.element-ribbon span:nth-child(1) { background: var(--fire); }
.element-ribbon span:nth-child(2) { background: var(--water); }
.element-ribbon span:nth-child(3) { background: var(--air); }
.element-ribbon span:nth-child(4) { background: var(--earth); }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.15rem; counter-reset: step; }
.step { position: relative; min-height: 255px; padding: 1.65rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018)); }
.step::before { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 2.2rem; border: 1px solid rgba(255,255,255,.18); border-radius: 15px; background: #111f33; color: #fff; font-weight: 850; counter-increment: step; content: "0" counter(step); }
.step:nth-child(1)::before { box-shadow: inset 0 -3px 0 var(--fire); }
.step:nth-child(2)::before { box-shadow: inset 0 -3px 0 var(--water); }
.step:nth-child(3)::before { box-shadow: inset 0 -3px 0 var(--earth); }
.step h3 { margin: 0 0 .7rem; }
.step p { margin: 0; color: var(--muted); }
.approval-note { margin: 1.4rem 0 0; padding: 1rem 1.15rem; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(255,200,90,.08); color: #f6e9c4; }

.guardian-section { position: relative; background: var(--navy); }
.guardian-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.guardian-card { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: #f8fafc; color: #182538; box-shadow: 0 24px 54px rgba(0,0,0,.19); }
.guardian-art { aspect-ratio: 1/1; background: #fff; overflow: hidden; }
.guardian-art img { width: 100%; height: 100%; object-fit: cover; }
.guardian-info { min-height: 112px; padding: 1.15rem 1.2rem 1.25rem; border-top: 5px solid var(--accent); }
.guardian-info h3 { margin: 0 0 .25rem; }
.guardian-info p { margin: 0; color: #536174; }
.guardian-card.fire { --accent: var(--fire); }
.guardian-card.water { --accent: var(--water); }
.guardian-card.air { --accent: #b7dcf5; }
.guardian-card.earth { --accent: var(--earth); }
.guardian-growth { max-width: 820px; margin: 2rem auto 0; color: var(--muted); text-align: center; }

.parent-section { background: var(--navy); }
.capability-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: .85rem; }
.capability { display: flex; gap: .8rem; align-items: flex-start; padding: 1.05rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.035); color: #dfe7f1; }
.capability::before { flex: 0 0 24px; color: #8be09a; font-weight: 900; content: "✓"; }
.screen-time-panel { position: relative; overflow: hidden; padding: clamp(1.5rem,4vw,2.5rem); border: 1px solid rgba(49,169,255,.32); border-radius: 26px; background: linear-gradient(120deg,rgba(49,169,255,.12),rgba(115,204,104,.07)); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.screen-time-panel::after { position: absolute; top: -50px; right: -35px; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; content: ""; }
.screen-time-panel h2 { max-width: 700px; font-size: clamp(1.7rem,3vw,2.45rem); }
.screen-time-panel p { max-width: 850px; margin: 1rem 0 0; color: #d6e6f2; font-size: 1.08rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,5.8rem); align-items: center; }
.trust-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 24px; background: #0d1c30; }
.trust-card ul { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.trust-card li { padding: .85rem 1rem; border-radius: 13px; background: rgba(255,255,255,.045); }
.text-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.text-links a { padding: .5rem .72rem; border: 1px solid var(--line); border-radius: 10px; font-weight: 750; text-decoration: none; }
.topic-cloud { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1.8rem; }
.topic-cloud span { padding: .5rem .72rem; border: 1px solid var(--line); border-radius: 999px; color: #ced8e6; background: rgba(255,255,255,.035); font-size: .9rem; }
.final-cta { position: relative; overflow: hidden; padding: clamp(2rem,6vw,4.2rem); border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(120deg,#10213a,#0a1728); text-align: center; }
.final-cta::before { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(255,122,47,.08),rgba(49,169,255,.08),rgba(115,204,104,.08)); content: ""; }
.final-cta > * { position: relative; }
.final-cta h2 { margin-bottom: 1.2rem; }

.site-footer { padding: 3rem 0 2rem; border-top: 1px solid var(--line); background: #050c17; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }
.footer-brand { width: 230px; height: 84px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem 1.2rem; }
.footer-links a { color: #d4deea; }
.footer-note { margin: 1.3rem 0 0; color: #95a4b7; font-size: .9rem; }
.copyright { margin: 2rem 0 0; padding-top: 1.3rem; border-top: 1px solid var(--line); color: #7f8ea2; font-size: .85rem; }

.document-page { background: #091422; }
.doc-hero { padding: 4.5rem 0 2rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg,#0c1b2e,#091422); }
.doc-hero h1 { font-size: clamp(2.2rem,5vw,4rem); }
.doc-hero p { max-width: 700px; margin: .8rem 0 0; color: var(--muted); }
.doc-layout { display: grid; grid-template-columns: 245px minmax(0,820px); justify-content: center; gap: clamp(2rem,5vw,4rem); padding: 3rem 0 6rem; }
.toc { align-self: start; position: sticky; top: 106px; max-height: calc(100vh - 128px); overflow: auto; padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: #0d1b2d; }
.toc::before { display: block; margin-bottom: .75rem; color: #fff; font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; content: "On this page"; }
.toc-toggle { display: none; }
.toc ul { display: grid; gap: .38rem; margin: 0; padding: 0; list-style: none; }
.toc ul ul { margin: .25rem 0 .25rem .65rem; padding-left: .7rem; border-left: 1px solid rgba(255,255,255,.1); }
.toc a { display: block; padding: .36rem .45rem; border-radius: 8px; color: #b9c6d6; font-size: .82rem; line-height: 1.35; text-decoration: none; }
.toc a:hover { background: rgba(255,255,255,.06); color: #fff; }
.legal-content { min-width: 0; padding: clamp(1.35rem,4vw,3.5rem); border-radius: 26px; background: var(--paper); color: var(--paper-ink); box-shadow: var(--shadow); }
.legal-content > p:first-child { margin-top: 0; color: #17863b; font-size: 1.1rem; }
.legal-content > p:first-child strong { font-size: clamp(1.85rem,4vw,2.8rem); line-height: 1.12; }
.legal-content h1 { margin: 3rem 0 1rem; padding-top: .4rem; color: #17863b; font-size: clamp(1.45rem,2.4vw,2rem); }
.legal-content h2 { margin: 2rem 0 .65rem; color: #1c2a3b; font-size: 1.22rem; line-height: 1.3; }
.legal-content p { margin: .7rem 0; }
.legal-content ul, .legal-content ol { padding-left: 1.35rem; }
.legal-content li { margin: .45rem 0; padding-left: .15rem; }
.legal-content a { color: #006fb9; overflow-wrap: anywhere; }
.legal-content table { width: 100%; margin: 1.4rem 0; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid #d8e0e9; border-radius: 12px; font-size: .94rem; }
.legal-content th, .legal-content td { padding: .8rem; border-right: 1px solid #d8e0e9; border-bottom: 1px solid #d8e0e9; text-align: left; vertical-align: top; }
.legal-content tr:last-child > * { border-bottom: 0; }
.legal-content tr > *:last-child { border-right: 0; }
.legal-content th { background: #edf2f7; }
.legal-content blockquote { margin: 1.4rem 0; padding: 1rem 1.1rem; border-left: 4px solid var(--fire); border-radius: 0 12px 12px 0; background: #fff1e9; }
.legal-content blockquote p { margin: 0; }
.terms-content > p:nth-child(2) strong { display: block; margin-top: -.4rem; color: #192638; font-size: clamp(2.4rem,5vw,4rem); }
.terms-content > p:nth-child(3) { color: #667488; font-size: 1.08rem; }
.terms-content > p:first-child,
.support-content > p:first-child { color: #667488; font-size: 1.08rem; }

.support-tools { margin-bottom: 1.5rem; padding: 1rem; border: 1px solid #d8e0e9; border-radius: 16px; background: #eef4f8; }
.support-tools label { display: block; margin-bottom: .45rem; color: #24364a; font-size: .88rem; font-weight: 800; }
.support-tools input { width: 100%; min-height: 48px; padding: .7rem .85rem; border: 1px solid #aebdcb; border-radius: 11px; background: #fff; color: #132236; }
.support-tools p { margin: .45rem 0 0; color: #5b6a7c; font-size: .84rem; }
.faq-item { margin: .75rem 0; border: 1px solid #dbe3ea; border-radius: 14px; background: #fff; }
.faq-item summary { position: relative; cursor: pointer; list-style: none; padding: 1rem 3.2rem 1rem 1.1rem; color: #19293c; font-weight: 820; line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 50%; right: 1.1rem; transform: translateY(-50%); color: #188b42; font-size: 1.35rem; content: "+"; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 1.1rem 1.1rem; border-top: 1px solid #edf1f4; }
.faq-answer > :first-child { margin-top: 1rem; }
.faq-answer > :last-child { margin-bottom: 0; }
.faq-section-empty { display: none; }
.support-content > h1 { margin-top: 3.3rem; padding-bottom: .6rem; border-bottom: 1px solid #dbe3ea; }
.support-contact { margin-top: 2rem; padding: 1.5rem; border: 1px solid #c9d8e5; border-radius: 18px; background: linear-gradient(120deg,#edf7ff,#eef9f0); }

@media (max-width: 980px) {
  .desktop-nav, .header-action { display: none; }
  .nav-menu { display: block; }
  .guardian-grid { grid-template-columns: repeat(2,1fr); }
  .doc-layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .toc.toc-enhanced { padding: 0; overflow: hidden; }
  .toc.toc-enhanced::before { display: none; }
  .toc-toggle { width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border: 0; background: transparent; color: #fff; font-weight: 820; text-align: left; cursor: pointer; }
  .toc-chevron { width: .72rem; height: .72rem; flex: 0 0 auto; border-right: 2px solid #b9c6d6; border-bottom: 2px solid #b9c6d6; transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; }
  .toc-toggle[aria-expanded="true"] .toc-chevron { transform: rotate(225deg) translate(-2px,-2px); }
  .toc.toc-enhanced > ul { display: none; padding: 0 1rem 1rem; }
  .toc.toc-enhanced.toc-open > ul { display: grid; }
  .page-support .toc.toc-enhanced > ul > li > ul { display: none; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px,var(--max)); }
  .header-inner { min-height: 70px; }
  .brand-crop { width: 174px; height: 64px; }
  .footer-brand { width: 220px; height: 81px; }
  .hero { min-height: 720px; }
  .hero-content { padding-bottom: 4.6rem; }
  .steps, .capability-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step::before { margin-bottom: 1.25rem; }
  .footer-links { justify-content: flex-start; }
  .doc-hero { padding-top: 3rem; }
  .doc-layout { padding-top: 1.3rem; }
  .legal-content { border-radius: 18px; }
}

@media (max-width: 520px) {
  .guardian-grid { grid-template-columns: 1fr; }
  .guardian-card { max-width: 390px; margin-inline: auto; }
  .status-pill { font-size: .78rem; }
  .legal-content { padding: 1.2rem; }
  .legal-content table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
