:root {
  color-scheme: dark;
  --night: #0b1029;
  --night-soft: #141b3d;
  --panel: #1a2249;
  --paper: #f7f4ea;
  --ink: #11162f;
  --white: #fffdf7;
  --muted: #b9c1dc;
  --cyan: #77e6da;
  --cyan-deep: #31bdb3;
  --sun: #ffd96b;
  --coral: #ff8d78;
  --violet: #a99cff;
  --line: rgba(255, 255, 255, 0.14);
  --max: 1220px;
  --radius-lg: 34px;
  --radius-md: 22px;
  font-family: Inter, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--white); background: var(--night); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 4px solid var(--sun); outline-offset: 4px; border-radius: 8px; }
.skip-link { position: fixed; z-index: 200; top: 10px; left: 10px; padding: 10px 16px; color: var(--ink); background: var(--sun); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 20; display: grid; grid-template-columns: auto 1fr; width: min(calc(100% - 48px), var(--max)); min-height: 92px; margin: 0 auto; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); }
.wordmark { display: flex; align-items: center; gap: 12px; font-size: 19px; letter-spacing: .12em; }
.wordmark > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; color: var(--night); background: var(--cyan); font-weight: 950; box-shadow: 0 6px 0 #248d8a; }
.site-header nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 38px); color: var(--muted); font-weight: 730; }
.site-header nav a:hover { color: var(--white); }

main { overflow: hidden; }
.hero { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; width: min(calc(100% - 48px), var(--max)); min-height: 710px; margin: 0 auto; align-items: center; gap: 60px; padding: 82px 0 104px; }
.hero::before { position: absolute; z-index: -1; width: 620px; height: 620px; right: -290px; top: 0; content: ""; border: 1px solid rgba(119, 230, 218, .17); border-radius: 50%; box-shadow: 0 0 140px rgba(119, 230, 218, .06), inset 0 0 100px rgba(169, 156, 255, .05); }
.kicker { margin: 0 0 16px; color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-size: clamp(52px, 6.6vw, 92px); line-height: .94; letter-spacing: -.064em; }
h1 span { color: var(--sun); }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.6; }
.audience-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.primary-action, .secondary-action { display: grid; grid-template-columns: 36px 1fr; min-width: 235px; min-height: 80px; align-content: center; column-gap: 10px; padding: 14px 20px; border-radius: 19px; transition: transform 160ms ease, box-shadow 160ms ease; }
.primary-action { color: var(--night); background: var(--cyan); box-shadow: 0 7px 0 #258f8c; }
.secondary-action { border: 1px solid var(--line); background: rgba(255,255,255,.055); }
.primary-action:hover, .secondary-action:hover { transform: translateY(-3px); }
.primary-action > span, .secondary-action > span { grid-row: 1 / span 2; align-self: center; font-size: 22px; }
.primary-action b, .secondary-action b { font-size: 16px; }
.primary-action small, .secondary-action small { color: inherit; opacity: .72; }
.hero-note { margin: 20px 0 0; color: #8791b1; font-size: 13px; }

.hero-world { position: relative; min-height: 520px; isolation: isolate; }
.orbit { position: absolute; z-index: -1; inset: 50%; border: 1px solid rgba(119,230,218,.23); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 350px; height: 350px; }
.orbit-two { width: 510px; height: 510px; border-color: rgba(169,156,255,.16); }
.portal-core { position: absolute; top: 50%; left: 50%; display: grid; width: 170px; height: 170px; place-items: center; border-radius: 42% 58% 58% 42% / 52% 45% 55% 48%; color: var(--night); background: radial-gradient(circle at 32% 28%, #fff, var(--cyan) 32%, #42aaa8 72%); box-shadow: 0 0 75px rgba(119,230,218,.36), inset -18px -22px 40px rgba(7,32,55,.2); transform: translate(-50%,-50%) rotate(-8deg); }
.portal-core b { font-size: 70px; transform: rotate(8deg); }
.portal-core i { position: absolute; width: 205px; height: 55px; border: 6px solid var(--sun); border-top-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(22deg); }
.world-card { position: absolute; width: 218px; min-height: 118px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 19px; background: rgba(26,34,73,.91); box-shadow: 0 18px 50px rgba(0,0,0,.26); backdrop-filter: blur(12px); }
.world-card::before { position: absolute; width: 8px; height: 8px; content: ""; border-radius: 50%; background: var(--sun); box-shadow: 0 0 17px var(--sun); }
.world-card small { display: block; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.world-card b { display: block; margin-top: 7px; font-size: 17px; }
.world-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.card-words { top: 18px; left: 18px; transform: rotate(-3deg); }
.card-words::before { right: -66px; bottom: 19px; }
.card-answers { top: 114px; right: -16px; transform: rotate(2deg); }
.card-answers::before { left: -52px; bottom: 13px; background: var(--violet); box-shadow: 0 0 17px var(--violet); }
.card-support { right: 42px; bottom: 20px; transform: rotate(-2deg); }
.card-support::before { left: -54px; top: 18px; background: var(--coral); box-shadow: 0 0 17px var(--coral); }

.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); width: min(calc(100% - 48px), var(--max)); margin: 0 auto 94px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-row span { display: flex; min-height: 78px; align-items: center; gap: 13px; padding: 14px 17px; border-right: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 760; }
.trust-row span:last-child { border-right: 0; }
.trust-row b { color: var(--cyan); font-size: 10px; letter-spacing: .12em; }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 110px 0; }
.section-heading { display: grid; grid-template-columns: 1fr .65fr; align-items: end; gap: 70px; margin-bottom: 48px; }
.section-heading h2, .parent-intro h2, .closing h2 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -.055em; }
.section-heading > p { max-width: 490px; margin: 0 0 8px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.feature-grid { display: grid; grid-template-columns: 1.22fr .89fr .89fr; gap: 18px; }
.feature-card { position: relative; display: flex; min-height: 360px; flex-direction: column; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--night-soft); }
.feature-card.featured { min-height: 470px; border-color: rgba(119,230,218,.34); background: linear-gradient(145deg,#183855,#13203f); }
.feature-card:hover { border-color: rgba(119,230,218,.45); }
.feature-index { align-self: flex-end; color: #737c9b; font-size: 12px; font-weight: 900; }
.feature-card > small { margin-top: auto; color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.feature-card h3 { margin: 12px 0 0; font-size: clamp(25px, 2.4vw, 34px); line-height: 1.06; letter-spacing: -.035em; }
.feature-card p { margin: 17px 0 0; color: var(--muted); }
.feature-card em { margin-top: 24px; color: var(--sun); font-style: normal; font-weight: 800; }
.guide-art { position: absolute; top: 32px; left: 42px; display: grid; width: 210px; height: 210px; place-items: center; border: 1px solid rgba(119,230,218,.25); border-radius: 50%; }
.guide-art i { position: absolute; width: 120px; height: 48px; border-radius: 65% 35% 45% 55%; background: var(--sun); box-shadow: -30px 8px 30px rgba(255,217,107,.22); transform: rotate(-11deg); }
.guide-art i::after { position: absolute; width: 30px; height: 23px; top: -14px; right: 34px; content: ""; border-radius: 50% 50% 30% 30%; background: var(--cyan); }
.guide-art b { position: absolute; right: 9px; color: var(--cyan); font-size: 56px; }

.parents-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.parent-intro { align-self: center; }
.parent-intro h2 span { color: var(--coral); }
.parent-intro > p:not(.kicker) { max-width: 490px; margin: 26px 0; color: var(--muted); font-size: 18px; }
.parent-intro > a { color: var(--cyan); font-weight: 850; }
.parent-route { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.parent-route li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; padding: 25px 10px; border-bottom: 1px solid var(--line); }
.parent-route li > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; color: var(--night); background: var(--sun); font-weight: 900; }
.parent-route b { font-size: 19px; }
.parent-route p { margin: 4px 0 0; color: var(--muted); }

.library-section { padding-bottom: 80px; }
.compact-heading { margin-bottom: 35px; }
.library-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.library-card { display: grid; grid-template-columns: 65px 1fr; gap: 20px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.025); }
.library-card:hover { border-color: rgba(119,230,218,.45); transform: translateY(-2px); }
.library-card > span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 18px; color: var(--night); background: var(--cyan); font-size: 25px; font-weight: 950; }
.library-card:nth-child(2) > span { background: var(--violet); }
.library-card:nth-child(3) > span { background: var(--coral); }
.library-card:nth-child(4) > span { background: var(--sun); }
.library-grid small { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.library-grid h3 { margin: 5px 0 0; font-size: 23px; }
.library-grid p { margin: 8px 0 0; color: var(--muted); }

.help-section { display: grid; grid-template-columns: .92fr 1.08fr; gap: 80px; align-items: start; padding-top: 130px; }
.help-section h2 { margin: 0; font-size: clamp(39px, 4.5vw, 62px); line-height: 1.02; letter-spacing: -.05em; }
.help-actions { border-top: 1px solid var(--line); }
.help-actions a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 27px 4px; border-bottom: 1px solid var(--line); }
.help-actions a:hover span { color: var(--sun); }
.help-actions b { font-size: 18px; }
.help-actions span { color: var(--cyan); font-size: 13px; font-weight: 800; }

.closing { display: grid; grid-template-columns: 140px 1fr auto; width: min(calc(100% - 48px), var(--max)); margin: 80px auto 0; align-items: center; gap: 36px; padding: 58px; border: 1px solid rgba(119,230,218,.28); border-radius: 40px; background: linear-gradient(135deg,#172a4d,#152043); }
.closing-mark { display: grid; width: 118px; height: 118px; place-items: center; border-radius: 39px; color: var(--night); background: var(--cyan); font-size: 68px; font-weight: 950; box-shadow: 0 10px 0 #2c9892; }
.compact-action { min-width: 220px; }

footer { display: grid; grid-template-columns: auto 1fr auto; width: min(calc(100% - 48px), var(--max)); margin: 110px auto 0; align-items: start; gap: 32px; padding: 40px 0 55px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-brand { color: var(--white); font-weight: 950; letter-spacing: .12em; }
footer p { margin: 0; }
footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 21px; font-size: 13px; font-weight: 750; }
footer nav a:hover { color: var(--white); }
footer small { grid-column: 2 / 4; max-width: 770px; color: #7f88a7; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto 1fr; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 65px; }
  .hero-world { min-height: 460px; }
  .trust-row { grid-template-columns: repeat(2,1fr); }
  .trust-row span:nth-child(2) { border-right: 0; }
  .trust-row span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card.featured { grid-column: 1 / -1; }
  .parents-section, .help-section { grid-template-columns: 1fr; gap: 48px; }
  .closing { grid-template-columns: 110px 1fr; }
  .closing-mark { width: 95px; height: 95px; }
  .closing .compact-action { grid-column: 2; justify-self: start; }
}

@media (max-width: 680px) {
  .site-header { width: min(calc(100% - 28px), var(--max)); min-height: 76px; }
  .wordmark > span { width: 36px; height: 36px; border-radius: 12px; }
  .wordmark b { font-size: 15px; }
  .hero, .section, .trust-row, .closing, footer { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: auto; gap: 12px; padding: 58px 0 75px; }
  h1 { font-size: clamp(48px, 15vw, 65px); }
  .audience-actions { display: grid; }
  .primary-action, .secondary-action { width: 100%; }
  .hero-world { min-height: 410px; margin-top: 30px; transform: scale(.88); }
  .card-words { left: -20px; }
  .card-answers { right: -35px; }
  .card-support { right: 6px; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-row span { min-height: 62px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-row span:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading h2, .parent-intro h2, .closing h2 { font-size: clamp(39px, 12vw, 54px); }
  .feature-grid, .library-grid { grid-template-columns: 1fr; }
  .feature-card.featured { min-height: 500px; }
  .guide-art { left: 50%; transform: translateX(-50%); }
  .library-card { grid-template-columns: 54px 1fr; padding: 21px 17px; }
  .library-card > span { width: 50px; height: 50px; }
  .help-actions a { align-items: flex-start; flex-direction: column; gap: 6px; }
  .closing { grid-template-columns: 1fr; padding: 35px 25px; }
  .closing-mark { width: 80px; height: 80px; font-size: 48px; }
  .closing .compact-action { grid-column: 1; width: 100%; }
  footer { grid-template-columns: 1fr; }
  footer nav { justify-content: flex-start; }
  footer small { grid-column: 1; }
}

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