/* Kodiaca public website. Self-hosted fonts only: no third-party requests. */
:root {
  --night: #0B0E24; --ink: #121633; --navy: #1E2347; --navy-2: #2A3163;
  --honey: #F4A62A; --honey-2: #FFC861; --honey-dark: #B86E00;
  --cream: #FFF8EE; --paper: #FFFCF7; --white: #fff;
  --fur: #8A5A3B; --tan: #F6D9B0; --line: #ECE3D3; --teal: #1F8A80; --violet: #7B6CF6;
  --muted: #5A6080; --on-dark: #E6E8F7; --on-dark-muted: #A9AFD4;
  --radius: 22px; --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(18, 22, 51, .04), 0 12px 32px -8px rgba(18, 22, 51, .12);
  --shadow-lg: 0 30px 80px -20px rgba(6, 8, 30, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: "Inter", system-ui, sans-serif; color: var(--ink); background: var(--paper);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2 { text-wrap: balance; }
h1, h2, h3, h4, .logo span { font-family: "Baloo 2", "Inter", sans-serif; line-height: 1.08; margin: 0 0 14px; color: inherit; }
h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; letter-spacing: -1.5px; }
h2 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; letter-spacing: -1px; }
h3 { font-size: 23px; font-weight: 700; letter-spacing: -.2px; }
p { margin: 0 0 14px; }
a { color: var(--navy); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--honey); color: var(--ink); padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
section { padding: 104px 0; position: relative; }
.tint { background: var(--cream); }
.band { background: var(--white); }
.dark { background: var(--ink); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: var(--on-dark-muted); }

/* glows (decorative light behind dark sections) */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; z-index: -1; pointer-events: none; }
.g1 { width: 560px; height: 560px; background: #F4A62A; top: -220px; right: -120px; opacity: .28; }
.g2 { width: 520px; height: 520px; background: #5B4BE0; bottom: -260px; left: -180px; opacity: .35; }
.g3 { width: 600px; height: 600px; background: #5B4BE0; top: -280px; left: 30%; opacity: .3; }
.g4 { width: 520px; height: 520px; background: #F4A62A; bottom: -280px; right: -140px; opacity: .22; }
.g5 { width: 700px; height: 360px; background: #F4A62A; top: 40%; left: 50%; transform: translate(-50%, -50%); opacity: .2; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 999px;
  background: var(--navy); color: #fff; font: inherit; font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn:hover { transform: translateY(-1px); background: var(--navy-2); }
.btn:active { transform: translateY(0); }
.btn.big { padding: 15px 28px; font-size: 18px; min-height: 54px; }
.btn.honey { background: linear-gradient(180deg, var(--honey-2), var(--honey)); color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(244, 166, 42, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.honey:hover { box-shadow: 0 16px 36px -10px rgba(244, 166, 42, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }
.btn.glass:hover { background: rgba(255, 255, 255, .16); }
.btn.outline, .btn.secondary { background: transparent; color: var(--navy); border: 1.5px solid rgba(30, 35, 71, .25); }
.btn.outline:hover, .btn.secondary:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: rgba(30, 35, 71, .06); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 252, 247, .72); backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s; }
.nav.scrolled { border-bottom-color: var(--line); background: rgba(255, 252, 247, .9); box-shadow: 0 8px 30px -18px rgba(18, 22, 51, .25); }
.nav-in { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); }
.logo span { font-size: 30px; font-weight: 800; margin: 0; letter-spacing: -.6px; }
.logo.light { color: #fff; }
.nav nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.nav nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav nav a:hover { color: var(--navy); background: rgba(30, 35, 71, .06); }
.nav-cta { display: flex; gap: 6px; margin-left: auto; }

/* eyebrow / kickers */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 14px; font-weight: 700;
  letter-spacing: .3px; color: var(--honey-2); background: rgba(244, 166, 42, .1); border: 1px solid rgba(244, 166, 42, .3); margin-bottom: 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 0 4px rgba(244, 166, 42, .2); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(244, 166, 42, 0); } }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--honey-dark); margin-bottom: 14px; }
.kicker.light { color: var(--honey-2); }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head p { font-size: 19px; }

/* hero */
.hero { padding: 96px 0 72px; background: radial-gradient(1200px 600px at 80% -10%, #262C63 0%, transparent 60%), var(--ink); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--honey-2), var(--honey) 60%, #FF8A3D);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; color: var(--on-dark-muted) !important; max-width: 580px; }
.cta-row { margin-top: 30px; }
.trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--on-dark-muted); }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(31, 138, 128, .25)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%2366E0D2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.trust strong { color: #fff; }

.hero-art { position: relative; padding: 34px 10px 72px; }
.window { background: linear-gradient(180deg, #1B2150, #161B42); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s var(--ease); }
.hero-art:hover .window { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF6159; } .win-bar i:nth-child(2) { background: #FFBD2E; } .win-bar i:nth-child(3) { background: #28C941; }
.win-bar span { margin-left: 10px; font-size: 12.5px; color: var(--on-dark-muted); font-weight: 600; }
.win-body { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; padding: 18px; }
.mock-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; align-content: start; }
.mock-grid .c { aspect-ratio: 1; border-radius: 8px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; font-size: 18px; transition: background .3s; }
.mock-grid .c.trail { background: rgba(244, 166, 42, .18); }
.mock-grid .c.wall { background: rgba(123, 108, 246, .35); }
.mock-code { background: #0E1230; border-radius: 12px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, .06); }
.tag-sm { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 6px; }
.mock-code pre { margin: 0; font: 500 13.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #E6E8F7; white-space: pre; overflow: hidden; }
.mock-code .k { color: #C792EA; } .mock-code .f { color: #82AAFF; } .mock-code .n { color: #F78C6C; } .mock-code .s { color: #C3E88D; }
.mock-out { margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, .12); font: 600 13px ui-monospace, Menlo, monospace; color: #C3E88D; }
.mock-out .ok { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #1F8A80; color: #fff; font-size: 11px; margin-right: 6px; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px;
  padding: 10px 14px; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .5); font-size: 14px; animation: bob 6s ease-in-out infinite; max-width: 250px; }
.chip strong { display: block; line-height: 1.2; } .chip small { color: var(--muted); font-size: 12.5px; line-height: 1.35; display: block; }
.chip-ico { font-size: 26px; flex: none; } img.chip-ico { width: 34px; height: 34px; }
.chip .stars { color: var(--honey); font-size: 20px; letter-spacing: 2px; }
.c1 { left: -26px; bottom: 0; } .c2 { right: -14px; top: -2px; animation-delay: -2s; } .c3 { right: 18px; bottom: -4px; animation-delay: -4s; flex-direction: column; align-items: flex-start; gap: 0; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 72px 0 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
  background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px); }
.stats div { padding: 24px 28px; border-left: 1px solid rgba(255, 255, 255, .08); }
.stats div:first-child { border-left: 0; }
.stats dt { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 600; }
.stats dd { margin: 4px 0 0; font: 800 44px/1 "Baloo 2", sans-serif; color: #fff; letter-spacing: -1px; }

/* about / full form */
.about-sec { padding-bottom: 24px; }
.about-sec + .paths-sec { padding-top: 72px; }
.about-sec .sec-head { margin-bottom: 44px; }
.lead-dark { font-size: 21px; color: var(--ink); }
.lead-dark strong { background: linear-gradient(transparent 62%, rgba(244, 166, 42, .35) 0); }
.acronym { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; max-width: 1160px; counter-reset: none; }
.acronym li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 12px 20px; background: var(--white); border: 1px solid var(--line);
  border-radius: 22px; box-shadow: var(--shadow); text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.acronym li:hover { transform: translateY(-6px); border-color: rgba(244, 166, 42, .5); box-shadow: 0 24px 48px -20px rgba(18, 22, 51, .3); }
.acronym b { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; font: 800 36px/1 "Baloo 2", sans-serif;
  color: var(--ink); background: linear-gradient(180deg, var(--honey-2), var(--honey)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 20px -10px rgba(184, 110, 0, .6); }
.acronym li:nth-child(even) b { background: var(--ink); color: var(--honey-2); box-shadow: 0 10px 20px -10px rgba(18, 22, 51, .6); }
.acronym span { font: 800 19px/1.1 "Baloo 2", sans-serif; color: var(--navy); }
.acronym small { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.acronym .joiner { background: transparent; border-style: dashed; box-shadow: none; }
.acronym .joiner b { background: var(--cream); color: var(--honey-dark); box-shadow: none; border: 2px dashed rgba(244, 166, 42, .55); }
.about-story { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; max-width: 980px; margin: 48px auto 0; padding: 40px 48px;
  background: var(--ink); color: var(--on-dark); border-radius: 30px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-story::before { content: ""; position: absolute; width: 360px; height: 360px; left: -120px; top: -140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 166, 42, .28), transparent 65%); }
.story-art { position: relative; width: 176px; height: 176px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.story-art img { filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .4)); }
.story-copy { position: relative; }
.story-copy .kicker { margin-bottom: 8px; }
.story-copy h3 { font-size: 32px; color: #fff; margin-bottom: 12px; }
.story-copy p { margin: 0; color: var(--on-dark-muted); }
.traits { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.traits li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px; font-weight: 600; font-size: 15px; color: #fff;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.story-copy .story-tag { margin-top: 20px; font: 800 24px/1 "Baloo 2", sans-serif; color: var(--honey-2); }

/* teachers */
.teachers { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.t-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.t-points li { display: flex; gap: 16px; align-items: flex-start; }
.t-points .ico { font-size: 22px; width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.t-points strong { display: block; color: var(--ink); }
.t-points div { color: var(--muted); font-size: 16px; line-height: 1.55; }
.teach-join { margin: 28px 0 0; font-weight: 600; }
.teach-join a { color: var(--honey-dark); }
.class-mock { position: relative; background: var(--ink); color: var(--on-dark); border-radius: 26px; padding: 22px; box-shadow: var(--shadow-lg); }
.cm-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--on-dark-muted); font-weight: 600; margin-bottom: 16px; }
.live { display: inline-flex; align-items: center; gap: 8px; color: #fff; background: rgba(255, 97, 89, .16); border: 1px solid rgba(255, 97, 89, .4); padding: 4px 12px; border-radius: 999px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #FF6159; animation: pulse 2s infinite; box-shadow: 0 0 0 4px rgba(255, 97, 89, .2); }
.cm-stage { display: grid; grid-template-columns: 120px 1fr; gap: 14px; }
.cm-teacher { display: grid; place-items: center; align-content: center; gap: 6px; border-radius: 18px; background: linear-gradient(160deg, #2A3163, #1B2150); border: 1px solid rgba(255, 255, 255, .1); }
.cm-teacher span { font-size: 54px; line-height: 1; }
.cm-teacher small { font-size: 12px; color: var(--on-dark-muted); font-weight: 600; }
.cm-board { background: #0E1230; border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 16px; display: grid; gap: 6px; }
.cm-board strong { color: #fff; font-size: 16px; }
.cm-board code { font: 500 13.5px ui-monospace, Menlo, monospace; color: #82AAFF; }
.cm-kids { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 14px 0; }
.cm-kids span { aspect-ratio: 1; display: grid; place-items: center; font-size: 26px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.cm-progress { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 14px 16px; display: grid; gap: 10px; }
.cm-row { display: grid; grid-template-columns: 84px 1fr 48px; gap: 12px; align-items: center; font-size: 14px; }
.cm-row b { color: var(--honey-2); font-size: 13px; text-align: right; }
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--honey), var(--honey-2)); }
.cm-note { position: absolute; right: 18px; bottom: -28px; margin: 0; font-size: 12px; color: var(--muted); }

/* learning paths */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.path { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); overflow: hidden; }
.path::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--honey); }
.path.p2::before { background: var(--teal); } .path.p3::before { background: var(--violet); }
.path:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -24px rgba(18, 22, 51, .28); }
.path-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.path-emoji { font-size: 34px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: var(--cream); }
.path-emoji img { width: 46px; height: 46px; }
.path-age { font-size: 13px; font-weight: 700; color: var(--muted); background: var(--cream); padding: 5px 12px; border-radius: 999px; }
.path h3 { font-size: 28px; }
.path h3 small { display: block; font-family: "Inter", sans-serif; font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.mini { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.mini li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--cream); color: var(--navy); }
.path .curr { font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin: 0; }

/* courses (filled by site.js) */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px; margin: 0 auto 28px; width: max-content; max-width: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 0; background: transparent; color: var(--muted); border-radius: 999px; padding: 9px 18px; min-height: 42px;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background .2s, color .2s; }
.tabs button:hover { color: var(--navy); }
.tabs { align-items: center; }
.tabs-label { flex: none; padding: 0 10px 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--honey-dark); }
.tabs button { min-width: 44px; padding: 9px 14px; font-size: 16px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.course-list { display: grid; gap: 22px; }
.course { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.course-top { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pill { display: inline-block; background: var(--tan); color: var(--fur); font-weight: 700; padding: 5px 12px; border-radius: 999px; font-size: 13.5px; }
.course h3 { font-size: 30px; margin: 10px 0 8px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.course-meta span { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--cream); color: var(--navy); }
.course .curr { font-size: 14px; background: linear-gradient(90deg, var(--cream), #fff); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 16px 0 0; }
.lessons { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 22px; }
.lesson { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start;
  transition: border-color .2s, transform .2s var(--ease); }
.lesson:hover { border-color: var(--honey); transform: translateY(-2px); }
.lesson[hidden] { display: none; }
.lesson .e { font-size: 24px; line-height: 1.2; }
.lesson strong { font-size: 15px; line-height: 1.3; display: block; }
.lesson small { color: var(--muted); display: block; font-size: 13px; line-height: 1.35; margin-top: 2px; }
.more { margin-top: 18px; text-align: center; }

/* how it works: bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.tile.t-wide { grid-column: span 2; }
.tile.t-honey { background: linear-gradient(160deg, #FFE7B8, #FFD48A); border-color: #F7D08A; }
.tile.t-dark { grid-column: span 2; background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.tile.t-dark h3 { color: #fff; } .tile.t-dark p { color: var(--on-dark-muted); }
.num { display: inline-block; font: 800 15px/1 "Baloo 2", sans-serif; letter-spacing: 1px; color: var(--honey-dark); margin-bottom: 14px; }
.t-dark .num { color: var(--honey-2); }
.types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.types span { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }
.bubble { margin-top: 10px; background: #fff; border-radius: 18px 18px 18px 4px; padding: 12px 16px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow); max-width: 320px; }
.meter { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 18px; max-width: 460px; }
.meter span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--honey), var(--honey-2)); }
.meter-l { display: block; margin-top: 8px; font-size: 13px; color: var(--on-dark-muted); }

/* batches */
.batches-sec .sec-head p { color: var(--on-dark-muted); }
.currency { display: flex; width: max-content; margin: -12px auto 28px; padding: 4px; gap: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.currency button { border: 0; background: transparent; color: var(--on-dark-muted); font: inherit; font-weight: 700; font-size: 14px;
  padding: 8px 16px; min-height: 40px; border-radius: 999px; cursor: pointer; }
.currency button[aria-pressed="true"] { background: var(--honey-2); color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.plan { position: relative; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: 26px; padding: 34px;
  backdrop-filter: blur(10px); display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; }
.plan:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .25); }
.plan.featured { background: linear-gradient(180deg, rgba(244, 166, 42, .14), rgba(255, 255, 255, .04)); border-color: rgba(244, 166, 42, .45); }
.plan-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.plan-head h3 { margin: 0; font-size: 28px; } .plan-head p { margin: 2px 0 0; font-weight: 600; }
.plan-ico { font-size: 28px; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: -4px 0 24px; }
.price-now { font-size: 40px; font-weight: 800; color: #fff; line-height: 1; }
.price-per { font-weight: 600; color: var(--on-dark-muted); }
.price-was { color: var(--on-dark-muted); }
.price-off { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--honey-2); padding: 3px 10px; border-radius: 99px; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(244, 166, 42, .2)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.3l3 3 6-6.3' fill='none' stroke='%23FFC861' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.plan-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.plan-foot strong { color: #fff; font-size: 20px; }
.fine { text-align: center; max-width: 720px; margin: 36px auto 0; font-size: 15px; }

/* curriculum */
.curr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.curr-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.curr-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.curr-head h3 { margin: 0; line-height: 1.2; }
.curr-card .curr-head .curr-sub { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.flag { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--cream); }
.flag svg { display: block; width: 40px; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.curr-card p { color: var(--muted); margin: 0; }

/* parents */
.parents { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.parents > div:first-child { position: sticky; top: 110px; }
.safe { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.safe li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
.safe .ico { font-size: 22px; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--cream); }

/* trial */
.trial { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.trial-copy .checks { margin-top: 24px; }
.trial-brand { display: flex; align-items: center; gap: 18px; margin-top: 34px; padding: 20px 24px; border-radius: 22px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.trial-brand img { flex: none; width: 96px; height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.trial-brand strong { display: block; font: 800 34px/1 "Baloo 2", sans-serif; color: #fff; letter-spacing: -.6px; }
.trial-brand span { display: block; margin-top: 4px; color: var(--honey-2); font-weight: 600; }
.trial-tools { margin-top: 22px; }
/* tool icons */
.tech-label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 12px; }
.tech { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tech li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 8px 10px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.tech svg { width: 24px; height: 24px; flex: none; padding: 3px; border-radius: 50%; background: #fff; box-sizing: content-box; }
.tech-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; margin-top: 28px; text-align: center; }
.tech-row .tech-label { margin: 0; }
.tech-row .tech { justify-content: center; }
.tag-ico { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }
.glass-card { background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 26px; padding: 32px; box-shadow: var(--shadow-lg); }
.card { background: var(--cream); border-radius: var(--radius); padding: 26px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  min-height: 48px; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--honey); background: #fff; box-shadow: 0 0 0 4px rgba(244, 166, 42, .2); }
.opt { color: var(--muted); font-weight: 400; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14.5px !important; color: var(--muted); }
.check input { flex: none; width: 18px; height: 18px; min-height: auto; margin: 3px 0 0; accent-color: var(--navy); }
.form input:not([type="checkbox"]):not([type="radio"]), .form select { height: 52px; box-sizing: border-box; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--cream); border-radius: 999px; }
.seg label { display: flex; gap: 8px; align-items: center; justify-content: center; border-radius: 999px; padding: 9px 12px; cursor: pointer; font-size: 15px; transition: background .2s; }
.seg label:has(input:checked) { background: #fff; box-shadow: var(--shadow); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg label { position: relative; color: var(--muted); }
.seg label:has(input:checked) { color: var(--ink); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--honey); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
#trial-msg { margin: 0; }
#trial-msg.ok { color: var(--teal); font-weight: 700; } #trial-msg.err { color: #b42318; font-weight: 700; }

/* faq */
details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; margin: 10px 0; transition: box-shadow .25s, border-color .25s; }
details[open] { box-shadow: var(--shadow); border-color: #E3D6BF; }
summary { cursor: pointer; font-weight: 700; font-size: 17.5px; list-style: none; padding: 16px 36px 16px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--cream)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v10M7 12h10' stroke='%231E2347' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat;
  transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--muted); }

/* final cta */
.final { padding: 110px 0; text-align: center; }
.final-logo { display: block; margin: 0 auto 18px; width: 120px; height: 120px; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .35)); }
.tile-logo { position: absolute; top: 22px; right: 22px; width: 68px; height: 68px; padding: 8px; box-sizing: border-box; background: #fff; border-radius: 20px; box-shadow: 0 10px 22px -10px rgba(184, 110, 0, .55); }
.wordmark { display: inline-flex; align-items: baseline; text-decoration: none; color: #fff; font: 800 38px/1 "Baloo 2", sans-serif; letter-spacing: -.6px; }
.wordmark img { width: .95em; height: .95em; margin: 0 1px; transform: translateY(.14em); }
.final-in h2 { font-size: clamp(36px, 5vw, 60px); }
.final-in p { font-size: 19px; margin-bottom: 30px; }

/* footer */
.footer { background: var(--night); color: var(--on-dark-muted); padding: 72px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer p { max-width: 360px; font-size: 15px; }
.tagline { font: 800 22px/1.2 "Baloo 2", sans-serif; color: var(--honey-2); margin: 14px 0 6px; }
.fullform { font-size: 13px !important; letter-spacing: .4px; color: #fff; opacity: .7; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col h4 { font-family: "Inter", sans-serif; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: #fff; margin: 0 0 4px; }
.foot-col a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.copy { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: #7E85B0; }

/* reveal on scroll (only when JS has marked the page ready; reduced-motion users see everything at once) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .chip, .dot { animation: none; }
  .window { transform: none !important; }
}

@media (max-width: 1080px) {
  .nav nav { display: none; }
}
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .hero { padding: 64px 0 56px; }
  .hero-in, .teachers, .parents, .trial, .curr-grid, .plans { grid-template-columns: 1fr; }
  .acronym { display: flex; flex-wrap: wrap; justify-content: center; }
  .acronym li { width: calc(25% - 11px); }
  .about-story { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 36px 28px; gap: 24px; }
  .traits { justify-content: center; }
  .hero-art { max-width: 560px; margin: 0 auto; }
  .paths { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.t-wide, .tile.t-dark { grid-column: span 2; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .parents > div:first-child { position: static; }
}
@media (max-width: 600px) {
  .tabs { flex-wrap: wrap; justify-content: center; gap: 2px; border-radius: 24px; padding: 8px; }
  .tabs-label { width: 100%; text-align: center; padding: 2px 0 6px; }
  .tabs button { min-width: 36px; padding: 8px 0; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .nav-in { gap: 10px; min-height: 62px; }
  .logo span { font-size: 24px; }
  .logo img { width: 40px; height: auto; }
  .nav-cta .ghost { display: none; }
  .btn.big { width: 100%; }
  .win-body { grid-template-columns: 1fr; }
  .mock-grid { max-width: 220px; }
  .hero-art { padding: 40px 0 76px; }
  .chip { max-width: 230px; padding: 8px 12px; }
  .chip.c2 { right: 0; top: 0; } .chip.c1 { left: 0; bottom: 0; } .chip.c3 { display: none; }
  .window { transform: none; }
  .bento { grid-template-columns: 1fr; }
  .tile.t-wide, .tile.t-dark { grid-column: auto; }
  .two { grid-template-columns: 1fr; }
  .stats dd { font-size: 36px; }
  .stats div { padding: 18px; }
  .course { padding: 22px; }
  .glass-card, .plan, .curr-card, .path, .tile { padding: 24px; }
  .acronym { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .acronym li { width: auto; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; text-align: left; padding: 12px 16px; border-radius: 16px; }
  .acronym b { grid-row: 1 / 3; width: 48px; height: 48px; font-size: 28px; border-radius: 14px; }
  .acronym span { font-size: 18px; } .acronym small { font-size: 13.5px; }
  .about-story { padding: 30px 20px; border-radius: 24px; }
  .story-art { width: 140px; height: 140px; } .story-art img { width: 104px; height: 104px; }
  .story-copy h3 { font-size: 26px; }
  .cm-stage { grid-template-columns: 1fr; }
  .cm-teacher { padding: 14px; grid-auto-flow: column; justify-content: start; gap: 12px; }
  .cm-teacher span { font-size: 36px; }
  .cm-kids span { font-size: 20px; }
  .foot-in { grid-template-columns: 1fr; }
}
