:root {
  --navy: #07132d;
  --navy-2: #101f49;
  --ink: #10203b;
  --muted: #58677f;
  --paper: #f8fbff;
  --white: #fff;
  --blue: #3677ff;
  --cyan: #55dff1;
  --yellow: #ffd84d;
  --violet: #8c65ff;
  --green: #40c99a;
  --line: #dce6f3;
  --radius: 26px;
  --shadow: 0 26px 70px rgba(24, 48, 92, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-rounded, "Avenir Next", "Segoe UI", "Noto Sans", "Noto Sans JP", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 12px; color: white; background: var(--navy); }
.skip-link:focus { top: 16px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: white;
}
.nav-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 900; text-decoration: none; letter-spacing: -.4px; }
.brand-star { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 12px; color: var(--navy); background: var(--yellow); box-shadow: 0 0 28px rgba(255, 216, 77, .45); }
.nav-links, .language-links { display: flex; align-items: center; gap: 20px; }
.nav-links a, .language-links a { text-decoration: none; font-size: 14px; font-weight: 750; opacity: .84; }
.nav-links a:hover, .language-links a:hover, .language-links a[aria-current="page"] { opacity: 1; color: var(--yellow); }
.nav-play { padding: 9px 17px; border: 1px solid rgba(255,255,255,.26); border-radius: 999px; background: rgba(255,255,255,.1); }

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 74% 42%, rgba(70, 97, 255, .34), transparent 24%),
    radial-gradient(circle at 12% 80%, rgba(137, 70, 255, .22), transparent 24%),
    linear-gradient(145deg, #050b1e 0%, #0b1739 56%, #111b43 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; border: 1px solid rgba(135, 166, 255, .16); border-radius: 50%; }
.hero::before { width: 520px; height: 520px; right: -150px; top: 60px; box-shadow: 0 0 0 72px rgba(68, 93, 191, .045), 0 0 0 144px rgba(68, 93, 191, .035); }
.hero::after { width: 280px; height: 280px; left: -150px; bottom: -110px; box-shadow: 0 0 0 58px rgba(113, 73, 220, .06); }
.hero-grid { position: relative; z-index: 2; min-height: 760px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 70px; padding-top: 104px; padding-bottom: 70px; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(43px, 6.4vw, 82px); line-height: 1.04; letter-spacing: -.055em; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero-lead { max-width: 660px; margin: 26px 0 0; color: #c7d5ef; font-size: clamp(17px, 2vw, 21px); line-height: 1.75; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border: 1px solid transparent; border-radius: 16px; font-weight: 850; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: var(--yellow); box-shadow: 0 13px 32px rgba(255, 216, 77, .24); }
.button-secondary { color: white; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 15px 22px; margin: 24px 0 0; padding: 0; color: #9fb2d6; font-size: 13px; list-style: none; }
.hero-proof li::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }
.cosmos { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.orbit { position: absolute; width: 85%; height: 85%; border: 1px solid rgba(118, 160, 255, .3); border-radius: 50%; box-shadow: 0 0 0 42px rgba(68, 99, 215, .07), 0 0 0 84px rgba(68, 99, 215, .035); }
.orbit::before { content: ""; position: absolute; inset: 11%; border: 1px dashed rgba(255, 216, 77, .36); border-radius: 50%; }
.piko-star { position: relative; z-index: 3; font-size: clamp(112px, 17vw, 190px); filter: drop-shadow(0 20px 40px rgba(255, 206, 48, .24)); transform: rotate(-5deg); }
.float-card { position: absolute; z-index: 4; min-width: 135px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; color: #eaf1ff; background: rgba(9, 22, 55, .78); box-shadow: 0 18px 45px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
.float-card b { display: block; color: white; font-size: 14px; }
.float-card span { color: #91a8d3; font-size: 12px; }
.card-a { left: -3%; top: 21%; }
.card-b { right: -4%; top: 54%; }
.card-c { left: 9%; bottom: 4%; }
.section { padding: 100px 0; }
.section-tight { padding: 76px 0; }
.section-intro { max-width: 760px; margin-bottom: 42px; }
.section-intro.center { margin-inline: auto; text-align: center; }
.section-label { margin: 0 0 11px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.section h2 { margin: 0; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.15; letter-spacing: -.035em; }
.section-intro > p:last-child { margin: 17px 0 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { padding: 28px 25px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 12px 40px rgba(27, 55, 100, .055); }
.feature-icon { display: grid; width: 50px; height: 50px; margin-bottom: 24px; place-items: center; border-radius: 16px; font-size: 25px; background: #edf3ff; }
.feature:nth-child(2) .feature-icon { background: #effcf7; }
.feature:nth-child(3) .feature-icon { background: #fff7d7; }
.feature:nth-child(4) .feature-icon { background: #f3efff; }
.feature h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.35; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.compass-section { color: white; background: linear-gradient(145deg, #07142f, #111d48); }
.compass-grid { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: 80px; }
.compass-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(113, 155, 255, .25); border-radius: 50%; box-shadow: inset 0 0 80px rgba(65, 92, 205, .12), 0 0 0 34px rgba(72, 99, 208, .045); }
.compass-visual::before { content: ""; position: absolute; inset: 15%; border: 1px dashed rgba(85, 223, 241, .32); border-radius: 50%; }
.needle { position: relative; z-index: 2; width: 0; height: 0; border-right: 34px solid transparent; border-bottom: 118px solid var(--yellow); border-left: 34px solid transparent; filter: drop-shadow(0 10px 22px rgba(255,216,77,.22)); transform: rotate(25deg); }
.needle::after { content: ""; position: absolute; top: 118px; left: -34px; border-top: 118px solid var(--violet); border-right: 34px solid transparent; border-left: 34px solid transparent; }
.compass-copy .section-label { color: var(--cyan); }
.compass-copy h2 { font-size: clamp(34px, 4.4vw, 55px); }
.compass-copy > p { color: #c1cdea; }
.competencies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0 0; }
.competency { padding: 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.055); }
.competency b { display: block; color: var(--yellow); font-size: 14px; line-height: 1.35; }
.competency span { display: block; margin-top: 5px; color: #aebddd; font-size: 12px; line-height: 1.5; }
.independence-note { margin-top: 24px; padding-left: 15px; border-left: 3px solid var(--cyan); color: #8fa3cc !important; font-size: 13px; }

.world-panel { position: relative; overflow: hidden; padding: 52px; border-radius: 34px; color: white; background: linear-gradient(125deg, #2359d4, #6240c8); box-shadow: var(--shadow); }
.world-panel::after { content: "🌍"; position: absolute; right: 20px; bottom: -78px; font-size: 250px; opacity: .12; transform: rotate(-12deg); }
.world-copy { position: relative; z-index: 2; max-width: 780px; }
.world-copy h2 { font-size: clamp(35px, 4.8vw, 56px); }
.world-copy p { max-width: 720px; color: #e0e7ff; }
.path-list { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.path-list li { padding: 9px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.1); font-size: 13px; font-weight: 750; }
.curriculum-note { position: relative; z-index: 2; margin: 18px 0 0; color: #c6d0f5; font-size: 12px; }

.equity-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.equity-art { position: relative; min-height: 450px; display: grid; align-content: center; gap: 14px; padding: 45px; border-radius: 34px; color: white; background: var(--navy); box-shadow: var(--shadow); }
.equity-art::before { content: ""; position: absolute; width: 180px; height: 180px; right: -35px; top: -35px; border-radius: 50%; background: radial-gradient(circle at 32% 32%, var(--cyan), var(--blue)); opacity: .7; }
.access-card { position: relative; z-index: 2; display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: rgba(255,255,255,.07); backdrop-filter: blur(10px); }
.access-card span { display: grid; min-width: 43px; height: 43px; place-items: center; border-radius: 13px; background: rgba(255,255,255,.12); }
.access-card b { display: block; font-size: 14px; }
.access-card small { display: block; color: #aabadd; }
.equity-copy h2 { font-size: clamp(35px, 4.5vw, 54px); }
.equity-copy > p { color: var(--muted); font-size: 17px; }
.plain-list { display: grid; gap: 13px; margin: 26px 0 0; padding: 0; list-style: none; }
.plain-list li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; }
.plain-list li::before { content: "✓"; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; color: #087051; background: #dff8ee; font-weight: 900; }

.games-band { background: #edf4ff; }
.game-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.game-item { display: flex; gap: 16px; align-items: center; min-height: 92px; padding: 18px; border: 1px solid #d9e4f5; border-radius: 21px; background: white; }
.game-item span { font-size: 31px; }
.game-item b { display: block; line-height: 1.3; }
.game-item small { color: var(--muted); }
.faq { max-width: 870px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 22px 42px 22px 0; cursor: pointer; font-size: 18px; font-weight: 800; }
.faq details p { margin: -5px 0 24px; color: var(--muted); }
.final-cta { overflow: hidden; color: white; text-align: center; background: linear-gradient(120deg, #0a1633, #233e91); }
.final-cta .wrap { position: relative; }
.final-cta h2 { max-width: 790px; margin-inline: auto; }
.final-cta p { color: #c4d1ec; font-size: 18px; }
.final-cta .actions { justify-content: center; }
.site-footer { padding: 35px 0; color: #66758c; background: white; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blue); }

@media (max-width: 960px) {
  .nav-links > a:not(.nav-play) { display: none; }
  .hero-grid, .compass-grid, .equity-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 130px; gap: 24px; }
  .cosmos { width: min(520px, 88vw); margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .compass-visual { width: min(430px, 82vw); margin-inline: auto; }
  .world-panel { padding: 42px; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .site-nav .language-links { gap: 10px; }
  .language-links a { font-size: 12px; }
  .nav-play { display: none; }
  .hero, .hero-grid { min-height: auto; }
  .hero-grid { padding-top: 116px; padding-bottom: 64px; }
  .hero h1 { font-size: clamp(41px, 13vw, 61px); }
  .hero-lead { font-size: 17px; }
  .actions .button { width: 100%; }
  .cosmos { margin-top: 20px; }
  .float-card { min-width: 118px; padding: 10px 12px; }
  .card-a { left: 0; }
  .card-b { right: 0; }
  .section { padding: 74px 0; }
  .feature-grid, .game-list, .competencies { grid-template-columns: 1fr; }
  .feature { padding: 24px 22px; }
  .world-panel, .equity-art { padding: 30px 24px; border-radius: 26px; }
  .world-panel::after { font-size: 180px; }
  .equity-art { min-height: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
