:root {
  --navy: #19375f;
  --blue: #4f7dbd;
  --blue-dark: #3565a6;
  --ink: #1d2939;
  --muted: #5f6b7a;
  --paper: #fbfcff;
  --line: #d7e1ef;
  --yellow: #fff2bd;
  --mint: #dff3e8;
  --purple: #eee8ff;
  --coral: #ffe0d5;
  --radius: 28px;
  --shadow: 0 22px 60px rgba(25, 55, 95, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-rounded, "Segoe UI", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 20; background: #fff; padding: 12px 16px; border-radius: 12px; }
.skip-link:focus { top: 12px; }

.site-header {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  min-height: 70px;
  padding: 10px 12px 10px 18px;
  display: flex;
  align-items: center;
  gap: 26px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(215,225,239,.9);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(25,55,95,.07);
  position: sticky;
  top: 12px;
  z-index: 10;
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 850; font-size: 1.2rem; letter-spacing: -.02em; }
.brand img { border-radius: 50%; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: #41516a; font-weight: 650; font-size: .95rem; }
.nav a:hover, .nav a:focus-visible { color: var(--blue-dark); }
.language-switch { display: flex; background: #edf3fb; padding: 4px; border-radius: 14px; }
.language-switch button { border: 0; background: transparent; color: #49607c; padding: 8px 11px; border-radius: 10px; font-weight: 750; cursor: pointer; }
.language-switch button.active { background: #fff; color: var(--navy); box-shadow: 0 3px 9px rgba(25,55,95,.12); }

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 34px;
  padding: 70px 14px 64px;
}
.hero-copy { max-width: 650px; }
.eyebrow { margin: 0 0 14px; color: var(--blue-dark); font-size: .82rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 5.9rem); letter-spacing: -.065em; margin-bottom: 24px; max-width: 760px; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.045em; margin-bottom: 18px; }
h3 { font-size: 1.55rem; letter-spacing: -.025em; margin-bottom: 10px; }
.hero-lead { color: #4b5a70; font-size: clamp(1.08rem, 2vw, 1.3rem); max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 20px; border-radius: 15px; text-decoration: none; font-weight: 800; }
.button.primary { color: #fff; background: var(--blue); box-shadow: 0 12px 24px rgba(79,125,189,.25); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { color: var(--navy); background: #fff; border: 1px solid var(--line); }
.trust-row { padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.trust-row li { padding: 8px 11px; border-radius: 999px; background: #eef4fb; color: #425674; font-size: .86rem; font-weight: 750; }
.trust-row li::before { content: "✓"; color: #32805b; margin-right: 6px; }

.hero-art { position: relative; min-height: 570px; display: grid; place-items: end center; overflow: hidden; border-radius: 42% 42% 34px 34px; background: linear-gradient(145deg, #eaf3ff 0%, #fff2bd 58%, #ffe0d5 100%); box-shadow: var(--shadow); }
.hero-image-frame { width: 100%; height: 100%; position: absolute; inset: 0; overflow: hidden; }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 13% center; }
.idea-chip { position: absolute; left: 24px; bottom: 24px; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.94); color: var(--navy); font-weight: 850; box-shadow: 0 10px 24px rgba(25,55,95,.18); }
.spark { position: absolute; z-index: 2; color: #fff; font-size: 2rem; text-shadow: 0 3px 20px rgba(25,55,95,.25); }
.spark-one { top: 52px; right: 54px; }
.spark-two { top: 112px; left: 36px; font-size: 1.2rem; }

.section { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 92px 0; }
.section-heading { max-width: 780px; margin-bottom: 36px; }
.section-heading > p:last-child, .stage-copy > p:last-child, .about-copy p, .download-card p { color: var(--muted); font-size: 1.06rem; }
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mode-card { min-height: 280px; padding: 30px; border-radius: var(--radius); border: 1px solid rgba(25,55,95,.07); }
.mode-card p { color: #526173; margin-bottom: 0; }
.mode-card.understand { background: var(--yellow); }
.mode-card.practise { background: var(--mint); }
.mode-card.create { background: var(--purple); }
.mode-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: rgba(255,255,255,.72); font-size: 1.8rem; margin-bottom: 36px; }

.stage-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: start; }
.stage-list { display: grid; gap: 12px; }
.stage-list div { display: grid; grid-template-columns: 190px 1fr; gap: 22px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.stage-list strong { color: var(--navy); }
.stage-list span { color: var(--muted); }

.parent-panel { padding: clamp(30px, 6vw, 64px); border-radius: 34px; background: var(--navy); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.parent-panel .eyebrow { color: #b9d8ff; }
.parent-panel h2 { color: #fff; }
.parent-panel p { color: #dce9f8; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding: 14px 16px 14px 48px; border-radius: 16px; background: rgba(255,255,255,.09); }
.check-list li::before { content: "✓"; position: absolute; left: 17px; color: #9fe0bd; font-weight: 900; }

.about-section { display: grid; grid-template-columns: 1.12fr .88fr; gap: 54px; align-items: center; }
.about-photo { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.about-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.beta-note { padding: 14px 16px; background: var(--yellow); border-radius: 14px; color: #66551d !important; font-size: .92rem !important; font-weight: 700; }

.download-section { padding-bottom: 110px; }
.download-card { padding: clamp(32px, 6vw, 66px); border-radius: 34px; background: linear-gradient(135deg, #eaf3ff, #f3edff 55%, #fff1d7); display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.download-card > div:first-child { max-width: 660px; }
.store-buttons { display: grid; gap: 12px; min-width: 240px; }
.store-button { min-height: 66px; border: 1px solid rgba(25,55,95,.18); border-radius: 16px; background: rgba(255,255,255,.78); color: #526173; display: flex; align-items: center; gap: 12px; padding: 10px 18px; text-align: left; opacity: .78; }
.store-button > span:first-child { font-size: 1.45rem; }
.store-button span:last-child { display: grid; }
.store-button small { font-size: .72rem; }
.store-button strong { font-size: 1.02rem; }

.site-footer { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 44px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 14px 30px; align-items: start; }
.footer-brand { display: grid; }
.footer-brand strong { color: var(--navy); font-size: 1.2rem; }
.footer-brand span, .footer-note { color: var(--muted); font-size: .87rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.site-footer nav a { color: #435875; font-size: .9rem; }
.footer-note { grid-column: 1 / -1; margin: 8px 0 0; }
.footer-credit { grid-column: 1 / -1; margin: 0; color: #657185; font-size: .84rem; }
.footer-credit a { color: var(--blue-dark); font-weight: 750; }

:focus-visible { outline: 3px solid #f5a623; outline-offset: 3px; }

@media (max-width: 860px) {
  .nav { display: none; }
  .site-header { gap: 10px; }
  .language-switch { margin-left: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 50px; }
  .hero-art { min-height: 560px; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-card { min-height: auto; }
  .mode-icon { margin-bottom: 24px; }
  .stage-section, .parent-panel, .about-section { grid-template-columns: 1fr; gap: 34px; }
  .stage-list div { grid-template-columns: 1fr; gap: 6px; }
  .about-photo { order: 2; }
  .download-card { align-items: stretch; flex-direction: column; }
  .store-buttons { min-width: 0; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .site-header { width: calc(100% - 20px); margin-top: 10px; padding-left: 10px; border-radius: 18px; }
  .brand span { display: none; }
  .language-switch button { padding: 7px 9px; font-size: .84rem; }
  .hero, .section, .site-footer { width: calc(100% - 28px); }
  .hero { padding: 42px 0 48px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  h2 { font-size: 2.2rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-art { min-height: 470px; border-radius: 34px; }
  .hero-image-frame img { object-position: 10% center; }
  .section { padding: 66px 0; }
  .mode-card { padding: 25px; }
  .parent-panel { border-radius: 26px; padding: 28px 22px; }
  .about-photo img { aspect-ratio: 1 / 1; object-position: center; }
  .download-card { border-radius: 26px; padding: 30px 22px; }
  .store-buttons { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Policy and support pages */
.policy-shell { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 70px 0 110px; }
.policy-hero { padding: clamp(30px, 6vw, 58px); border-radius: 32px; background: linear-gradient(135deg, #eaf3ff, #f3edff 58%, #fff1d7); margin-bottom: 28px; }
.policy-hero h1 { font-size: clamp(2.5rem, 6vw, 4.7rem); margin-bottom: 16px; }
.policy-hero p:last-child { margin: 0; color: var(--muted); font-size: 1.08rem; }
.draft-banner { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 24px; padding: 15px 18px; border: 1px solid #e7cd6d; border-radius: 16px; background: var(--yellow); color: #65551d; font-weight: 700; }
.policy-content { padding: clamp(24px, 5vw, 46px); border: 1px solid var(--line); border-radius: 28px; background: #fff; }
.policy-content h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin-top: 44px; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content h3 { margin-top: 28px; font-size: 1.2rem; }
.policy-content p, .policy-content li { color: #4e5e72; }
.policy-content li + li { margin-top: 9px; }
.policy-content ul, .policy-content ol { padding-left: 1.35rem; }
.policy-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.policy-meta span { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.78); color: #445979; font-size: .82rem; font-weight: 750; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.policy-nav a { padding: 9px 12px; border-radius: 12px; background: #edf3fb; color: var(--navy); font-weight: 700; text-decoration: none; }
.notice-card { margin: 24px 0; padding: 20px; border-left: 5px solid var(--blue); border-radius: 16px; background: #eef4fb; }
.notice-card.warning { border-color: #e09a51; background: #fff2e8; }
.contact-placeholder { padding: 20px; border-radius: 18px; background: var(--mint); color: #285d44; }
[hidden] { display: none !important; }
@media (max-width: 520px) {
  .policy-shell { width: calc(100% - 28px); padding-top: 48px; }
  .policy-hero, .policy-content { border-radius: 24px; }
}
