:root {
  --bg: #F1F7F6;
  --card: #FFFFFF;
  --ink: #132A30;
  --sub: #55666B;
  --line: #DCE8E6;
  --primary: #0F766E;
  --primary-dark: #115E59;
  --gold: #F59E0B;
  --gold-soft: #FEF3C7;
  --green: #16A34A;
  --green-soft: #DCFCE7;
  --radius: 20px;
  --shadow: 0 6px 24px rgba(19, 42, 48, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--primary-dark); }

img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(243, 245, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: var(--sub); font-weight: 800; text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--primary-dark); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 900; text-decoration: none; font-size: 16px; border: 0; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark small { display: block; font-size: 11px; font-weight: 700; opacity: 0.75; line-height: 1.1; }
.btn-dark span { line-height: 1.15; text-align: left; }
.btn-dark .icon { font-size: 26px; }
.btn[aria-disabled="true"] { cursor: default; }

/* ── Hero ── */
.hero { padding: 64px 0 56px; background: linear-gradient(135deg, #11998E 0%, #0C4062 100%); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.5vw, 58px); line-height: 1.05; margin: 0 0 18px; font-weight: 900; letter-spacing: -0.5px; }
.hero h1 em { font-style: normal; color: #FDE68A; }
.hero p.lead { font-size: 19px; color: #DDF3EF; margin: 0 0 28px; max-width: 34ch; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 14px; font-size: 14px; color: #DDF3EF; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 800; }

/* ── Phone mockup ── */
.phone { width: 300px; margin: 0 auto; background: #0B1F24; border-radius: 44px; padding: 12px; box-shadow: 0 30px 60px rgba(15, 19, 48, 0.45); }
.screen { background: var(--bg); border-radius: 34px; padding: 18px 14px; color: var(--ink); font-size: 13px; overflow: hidden; }
.s-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.s-ava { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: var(--shadow); }
.s-name { font-weight: 900; font-size: 16px; }
.s-level { color: var(--sub); font-weight: 700; font-size: 11px; }
.s-bar { height: 6px; background: var(--line); border-radius: 3px; margin-top: 4px; }
.s-bar > i { display: block; height: 100%; width: 62%; background: var(--gold); border-radius: 3px; }
.s-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.s-tile { border-radius: 14px; padding: 10px; box-shadow: var(--shadow); }
.s-tile b { display: block; font-size: 22px; font-weight: 900; }
.s-tile span { color: var(--sub); font-weight: 800; font-size: 11px; }
.s-next { background: var(--primary); color: #fff; border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; }
.s-next small { color: #DDF3EF; font-weight: 900; letter-spacing: 1px; font-size: 10px; }
.s-next b { display: block; font-size: 15px; }
.s-game { border-radius: 14px; padding: 10px; color: #fff; font-weight: 900; min-height: 64px; display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; }
.s-game .e { font-size: 20px; }

/* ── Sections ── */
section { padding: 72px 0; }
.eyebrow { color: var(--primary); font-weight: 900; letter-spacing: 1.5px; font-size: 13px; text-transform: uppercase; margin: 0 0 8px; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 14px; font-weight: 900; }
.section-lead { color: var(--sub); font-size: 18px; max-width: 60ch; margin: 0 0 36px; }

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin: 6px 0 6px; font-size: 19px; font-weight: 900; }
.card p { margin: 0; color: var(--sub); font-size: 16px; }
.card .e { font-size: 34px; line-height: 1; }

.world { text-align: center; padding: 18px 12px; }
.world .e { font-size: 30px; }
.world h3 { font-size: 15px; margin-top: 8px; }

.game { color: #fff; }
.game p { color: rgba(255, 255, 255, 0.88); }

.ages .card { border-top: 6px solid var(--primary); }
.ages .card:nth-child(2) { border-top-color: var(--gold); }
.ages .card:nth-child(3) { border-top-color: var(--green); }
.ages ul { margin: 10px 0 0; padding-left: 18px; color: var(--sub); }

.alt { background: #fff; }

.parents { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; background: var(--green-soft); border-radius: 14px; padding: 14px 16px; font-weight: 700; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 900; }

.cta { text-align: center; background: linear-gradient(135deg, #11998E 0%, #0C4062 100%); color: #fff; border-radius: 28px; padding: 56px 24px; }
.cta p { color: #DDF3EF; font-size: 18px; margin: 0 0 26px; }
.cta .badges { justify-content: center; }

/* ── Doc pages (privacy, support) ── */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 6px; font-weight: 900; line-height: 1.1; }
.doc .updated { color: var(--sub); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc p, .doc li { color: #2C4A50; }
.doc ul { padding-left: 22px; }
.callout { background: var(--gold-soft); border-radius: 16px; padding: 18px 20px; font-weight: 700; }

details { background: #fff; border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow); margin-bottom: 12px; }
details summary { font-weight: 900; cursor: pointer; font-size: 17px; }
details p { margin: 10px 0 0; }

/* ── Footer ── */
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; color: var(--sub); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--sub); font-weight: 800; text-decoration: none; }
footer a:hover { color: var(--primary-dark); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero .wrap, .parents { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav-links { gap: 14px; }
  .nav-links .hide-sm { display: none; }
  .hero { padding: 44px 0; }
  section { padding: 52px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .phone { width: 270px; }
}
