@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fredoka:wght@500;600;700&display=swap');

:root {
  --ink: #17213a;
  --muted: #67718a;
  --navy: #101832;
  --navy-2: #182347;
  --cream: #fbfaf6;
  --paper: #ffffff;
  --gold: #ffcc66;
  --coral: #ff7e70;
  --cyan: #65d7dc;
  --violet: #826df4;
  --green: #59c994;
  --line: #e6e7ee;
  --shadow: 0 18px 50px rgba(26, 34, 62, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
[hidden] { display:none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.5;
}
button, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 50; background: var(--gold); color: var(--navy); padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  gap: 36px;
  color: #fff;
  background: rgba(16, 24, 50, .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { font-family: "Fredoka", system-ui, sans-serif; letter-spacing: .03em; }
.brand small { margin-top: 3px; color: #b8c1d9; text-transform: uppercase; letter-spacing: .19em; font-size: .62rem; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--gold); }
.brand-mark svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.brand-mark circle { fill: currentColor; stroke: none; }
.site-header nav { display: flex; gap: 24px; margin-right: auto; }
.site-header nav a { text-decoration: none; color: #cdd4e4; font-size: .91rem; font-weight: 600; }
.site-header nav a:hover { color: #fff; }
.nav-source-button { border:0; padding:0; color:#cdd4e4; background:transparent; font-size:.91rem; font-weight:600; }
.nav-source-button:hover { color:#fff; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.privacy-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #dce1ed; padding: 7px 10px; border-radius: 999px; font-size: .76rem; }
.privacy-badge span { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(89,201,148,.15); }
.icon-button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); background: transparent; color: #fff; font-weight: 700; }

.hero {
  min-height: 690px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  align-items: center;
  gap: 4vw;
  padding: 76px 5vw 88px;
  color: #fff;
  background:
    radial-gradient(circle at 73% 28%, rgba(101,215,220,.2), transparent 21%),
    radial-gradient(circle at 18% 8%, rgba(130,109,244,.25), transparent 28%),
    linear-gradient(150deg, #111934 8%, #182549 62%, #0f1830 100%);
}
.hero::after { content:""; position:absolute; inset:auto 0 0; height: 100px; background: linear-gradient(to top, rgba(7,12,26,.25), transparent); pointer-events:none; }
.hero-brand-art { position:absolute; right:-7%; top:2%; width:min(58vw,780px); opacity:.075; filter:saturate(1.2); mix-blend-mode:screen; transform:rotate(2deg); pointer-events:none; }
.hero-copy, .hero-preview { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.dark { color: #6857d8; }
.hero h1 { margin: 0; max-width: 720px; font: 700 clamp(3.2rem, 6vw, 5.9rem)/.96 "Fredoka", sans-serif; letter-spacing: -.045em; }
.hero h1 span { color: var(--gold); }
.hero-text { max-width: 690px; margin: 26px 0 30px; color: #cbd3e7; font-size: clamp(1rem, 1.35vw, 1.18rem); }
.profile-stage {
  position:relative;
  max-width:900px;
  margin-bottom:20px;
}
.character-stage { min-height:360px; display:grid; place-items:center; padding:12px clamp(18px,4vw,72px) 0; overflow:hidden; background:linear-gradient(155deg,#101832 0%,#172750 72%,#182549 100%); border-bottom:1px solid rgba(255,255,255,.08); }
.age-band-peek { position:relative; width:min(100%,1220px); margin:0 auto; pointer-events:none; filter:drop-shadow(0 15px 24px rgba(3,8,25,.24)); animation:friends-arrive .45s ease-out both; }
.age-band-peek img { display:block; width:100%; height:auto; max-height:360px; object-fit:contain; object-position:center bottom; }
.elementary-peek { width:min(100%,1160px); }
.middle-peek { width:min(100%,1220px); }
.senior-peek { width:min(100%,1240px); }
.elementary-mode .character-stage { background:linear-gradient(155deg,#111934 0%,#22234e 72%,#182549 100%); }
.middle-mode .character-stage { background:linear-gradient(150deg,#0b1832 0%,#14294e 72%,#181638 100%); }
.senior-mode .character-stage { background:linear-gradient(150deg,#07101f 0%,#151b35 72%,#241429 100%); }
.profile-stage .setup-row, .elementary-grade-deck, .middle-grade-deck, .senior-grade-deck { position:relative; }
.setup-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin-bottom: 20px; }
.elementary-grade-deck, .middle-grade-deck, .senior-grade-deck { width:max-content; max-width:100%; display:flex; align-items:center; gap:11px; margin:2px 0 18px; padding:8px 10px 8px 14px; border:1px solid rgba(255,255,255,.18); border-radius:16px; background:rgba(7,13,31,.78); box-shadow:0 12px 32px rgba(3,8,25,.24); backdrop-filter:blur(12px); }
.elementary-grade-deck > span, .middle-grade-deck > span, .senior-grade-deck > span { color:#c9d2e7; font-size:.64rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.elementary-grade-deck > div, .middle-grade-deck > div, .senior-grade-deck > div { display:flex; gap:6px; }
.elementary-grade-deck button, .middle-grade-deck button, .senior-grade-deck button { min-width:34px; height:34px; padding:0 9px; border:1px solid rgba(255,255,255,.18); border-radius:10px; color:#fff; background:rgba(255,255,255,.08); font:800 .8rem "Fredoka",sans-serif; }
.elementary-grade-deck button:nth-child(1) { --grade-color:#ff7e70; }
.elementary-grade-deck button:nth-child(2) { --grade-color:#ffb95f; }
.elementary-grade-deck button:nth-child(3) { --grade-color:#59c994; }
.elementary-grade-deck button:nth-child(4) { --grade-color:#65d7dc; }
.elementary-grade-deck button:nth-child(5) { --grade-color:#826df4; }
.elementary-grade-deck button.active { color:var(--navy); background:var(--grade-color); border-color:var(--grade-color); box-shadow:0 0 0 3px rgba(255,255,255,.12); }
.middle-grade-deck button { --grade-color:var(--cyan); }
.middle-grade-deck button:nth-child(even) { --grade-color:#9b8cff; }
.senior-grade-deck button { --grade-color:var(--gold); }
.senior-grade-deck button:nth-child(even) { --grade-color:#ff8e62; }
.middle-grade-deck button.active, .senior-grade-deck button.active { color:var(--navy); background:var(--grade-color); border-color:var(--grade-color); box-shadow:0 0 0 3px rgba(255,255,255,.12); }
.elementary-mode .hero { background:radial-gradient(circle at 70% 30%,rgba(101,215,220,.25),transparent 22%),radial-gradient(circle at 18% 12%,rgba(255,126,112,.2),transparent 26%),linear-gradient(150deg,#111934 8%,#22234e 62%,#0f1830 100%); }
.middle-mode .hero { background:radial-gradient(circle at 72% 25%,rgba(101,215,220,.24),transparent 24%),radial-gradient(circle at 12% 18%,rgba(130,109,244,.32),transparent 27%),linear-gradient(145deg,#0b1832 8%,#14294e 58%,#181638 100%); }
.senior-mode .hero { background:radial-gradient(circle at 76% 28%,rgba(255,142,98,.21),transparent 24%),radial-gradient(circle at 14% 18%,rgba(44,188,230,.2),transparent 27%),linear-gradient(145deg,#07101f 8%,#151b35 58%,#241429 100%); }
@keyframes friends-arrive { from { opacity:0; transform:translateY(15px) scale(.98); } to { opacity:1; transform:none; } }
.segmented-control, .select-control { min-height: 62px; margin:0; padding: 8px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.07); }
.segmented-control { display: flex; gap: 4px; }
.segmented-control legend { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.segmented-control button { border:0; border-radius: 9px; padding: 0 17px; background: transparent; color: #aeb8cf; font-weight: 700; }
.segmented-control button.active { color: var(--navy); background: #fff; }
.select-control { min-width: 98px; display: grid; align-content: center; padding-inline: 15px; }
.state-control { min-width: 175px; }
.pathway-control { min-width: 190px; }
.select-control span { color: #9ca8c4; text-transform: uppercase; font-size: .58rem; letter-spacing: .12em; }
.select-control select { min-width: 0; color: #fff; border:0; background: transparent; font-weight: 700; outline:0; }
.select-control select option { color: var(--ink); }
.primary-button, .secondary-button { border: 0; border-radius: 12px; padding: 14px 18px; font-weight: 800; transition: .2s transform, .2s box-shadow; }
.primary-button { color: var(--navy); background: var(--gold); box-shadow: 0 8px 28px rgba(255,204,102,.2); }
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }
.primary-button span { margin-left: 9px; }

.hero-preview { justify-self: end; width: min(100%, 390px); padding: 25px; border: 1px solid rgba(255,255,255,.17); border-radius: 28px; background: rgba(255,255,255,.09); box-shadow: 0 24px 80px rgba(3,8,25,.35); backdrop-filter: blur(16px); }
.preview-topline { display:flex; justify-content:space-between; align-items:center; font: 600 .82rem "Fredoka", sans-serif; }
.live-dot { color: #a9f0cc; font: 600 .68rem "DM Sans", sans-serif; }
.live-dot::before { content:""; display:inline-block; width:7px; height:7px; margin-right:6px; border-radius:50%; background:var(--green); }
.preview-meter { height: 8px; margin: 16px 0 18px; background: rgba(255,255,255,.1); border-radius:999px; overflow:hidden; }
.preview-meter span { display:block; height:100%; width:50%; border-radius:inherit; background:linear-gradient(90deg,var(--gold),var(--coral)); transition:width .3s; }
.preview-stat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.preview-stat-grid div { display:grid; padding:14px 10px; background:rgba(255,255,255,.06); border-radius:14px; }
.preview-stat-grid strong { font:700 1.5rem "Fredoka",sans-serif; }
.preview-stat-grid span { color:#aeb8cf; font-size:.66rem; }
.mini-schedule { display:grid; gap:7px; margin:18px 0 12px; }
.mini-course { display:grid; grid-template-columns:10px 1fr auto; gap:10px; align-items:center; padding:9px 11px; border-radius:10px; background:rgba(8,14,33,.24); font-size:.73rem; }
.mini-course i { width:8px; height:8px; border-radius:50%; background:var(--cyan); }
.mini-course small { color:#aeb8cf; }
.preview-note { margin:12px 0 0; color:#909cb8; font-size:.65rem; text-align:center; }
.hero-orbit { position:absolute; border:1px solid rgba(255,255,255,.07); border-radius:50%; pointer-events:none; }
.orbit-one { width:520px; height:520px; right:-110px; top:40px; }
.orbit-two { width:710px; height:710px; right:-195px; top:-55px; }

.alpha-section { padding:84px 6vw 94px; background:linear-gradient(180deg,#f7f6ff 0%,#fbfaf6 100%); }
.alpha-heading { max-width:1380px; margin:0 auto 30px; display:flex; align-items:end; justify-content:space-between; gap:40px; }
.alpha-heading > div:first-child { max-width:760px; }
.alpha-heading h2 { margin:0; font:700 clamp(2.2rem,4vw,3.7rem)/1 "Fredoka",sans-serif; letter-spacing:-.035em; }
.alpha-heading p:not(.eyebrow) { margin:16px 0 0; color:var(--muted); font-size:1rem; }
.alpha-progress { flex:none; display:flex; align-items:center; gap:14px; min-width:260px; padding:14px 17px; border:1px solid #dedcf1; border-radius:20px; background:#fff; box-shadow:0 12px 30px rgba(28,34,60,.08); }
.alpha-progress > div:last-child { display:grid; gap:2px; }
.alpha-progress > div:last-child strong { font:700 1rem "Fredoka",sans-serif; }
.alpha-progress > div:last-child span { color:var(--muted); font-size:.78rem; }
.alpha-ring { --alpha-load:0%; width:64px; height:64px; flex:none; display:grid; place-content:center; text-align:center; border-radius:50%; background:radial-gradient(circle at center,#fff 56%,transparent 58%),conic-gradient(var(--violet) var(--alpha-load),#ecebf4 0); }
.alpha-ring strong { font:700 .95rem "Fredoka",sans-serif; }
.alpha-ring span { color:var(--muted); font-size:.55rem; }
.alpha-layout { max-width:1380px; margin:auto; display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:24px; align-items:start; }
.alpha-routine { display:grid; gap:12px; }
.alpha-step { display:grid; grid-template-columns:52px minmax(0,1fr) auto; align-items:center; gap:16px; padding:17px 18px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 8px 24px rgba(28,34,60,.05); }
.alpha-step.complete { border-color:#a8dfc5; background:linear-gradient(135deg,#fff,#f2fff8); }
.alpha-step-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; background:#f0edff; font-size:1.35rem; }
.alpha-step.break-step .alpha-step-icon { background:#e7fbf5; }
.alpha-step h3 { margin:0 0 3px; font:700 1.05rem "Fredoka",sans-serif; }
.alpha-step p { margin:0; color:var(--muted); font-size:.82rem; }
.alpha-step-meta { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.alpha-step-meta span { padding:4px 7px; border-radius:999px; color:#6255bd; background:#f2efff; font-size:.64rem; font-weight:800; }
.alpha-step-action { min-width:106px; border:1px solid #d8d6e6; border-radius:11px; padding:10px 12px; color:var(--ink); background:#fff; font-weight:800; }
.alpha-step.complete .alpha-step-action { color:#17683f; border-color:#a8dfc5; background:#e8faef; }
.alpha-parent-card { position:sticky; top:96px; padding:24px; border-radius:22px; color:#fff; background:linear-gradient(155deg,#172347,#101832); box-shadow:var(--shadow); }
.alpha-label { color:var(--gold); font-size:.68rem; font-weight:800; letter-spacing:.15em; text-transform:uppercase; }
.alpha-parent-card h3 { margin:9px 0 7px; font:700 1.45rem "Fredoka",sans-serif; }
.alpha-parent-card > p { margin:0 0 18px; color:#bec7dc; font-size:.86rem; }
.alpha-summary { display:grid; gap:7px; margin-bottom:18px; }
.alpha-summary div { display:flex; justify-content:space-between; gap:12px; padding:9px 10px; border-radius:10px; background:rgba(255,255,255,.07); font-size:.72rem; }
.alpha-summary span:last-child { color:#b7c0d5; }
.alpha-parent-card .secondary-button { width:100%; color:var(--navy); background:var(--gold); }
.alpha-reset { width:100%; margin-top:13px; color:#c3cbe0; }

.builder-section { padding: 94px 6vw 110px; }
.section-heading { max-width: 1380px; margin: 0 auto 32px; display:flex; justify-content:space-between; align-items:end; gap:40px; }
.section-heading h2, .readiness-copy h2 { margin:0; font:700 clamp(2.2rem,4vw,3.6rem)/1 "Fredoka",sans-serif; letter-spacing:-.03em; }
.section-heading > p { max-width:560px; margin:0; color:var(--muted); }
.builder-shell { max-width:1380px; margin:auto; display:grid; grid-template-columns: minmax(0,1fr) 390px; gap:24px; align-items:start; }
.catalog-panel, .path-panel { border:1px solid var(--line); border-radius:var(--radius); background:var(--paper); box-shadow:var(--shadow); }
.catalog-panel { padding:20px; }
.tab-list { display:inline-flex; flex-wrap:wrap; gap:5px; padding:5px; border-radius:12px; background:#f2f2f7; }
.tab-list button { border:0; padding:10px 15px; border-radius:9px; color:var(--muted); background:transparent; font-weight:700; font-size:.85rem; }
.tab-list button[aria-selected="true"] { color:var(--ink); background:#fff; box-shadow:0 3px 12px rgba(25,32,56,.08); }
.catalog-intro { display:flex; justify-content:space-between; align-items:end; gap:24px; padding:24px 4px 18px; }
.catalog-intro h3, .path-heading h3 { margin:0 0 3px; font:700 1.3rem "Fredoka",sans-serif; }
.catalog-intro p { margin:0; color:var(--muted); font-size:.88rem; }
.count-pill { flex:none; padding:6px 10px; border-radius:999px; color:#6857d8; background:#f0edff; font-size:.72rem; font-weight:800; }
.catalog-tools { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:-4px 4px 18px; padding:10px; border-radius:13px; background:#f6f6f9; }
.filter-row { display:flex; flex-wrap:wrap; gap:6px; }
.filter-chip { border:1px solid transparent; border-radius:999px; padding:7px 10px; color:var(--muted); background:#fff; font-size:.68rem; font-weight:800; }
.filter-chip.active { color:#fff; background:var(--violet); }
.bundle-button { flex:none; border:0; border-radius:10px; padding:9px 11px; color:#fff; background:var(--ink); font-size:.7rem; font-weight:800; }
.course-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.course-card { position:relative; display:grid; grid-template-columns:46px 1fr auto; gap:12px; align-items:start; padding:16px; border:1px solid var(--line); border-radius:16px; background:#fff; transition:.2s border-color,.2s transform,.2s box-shadow; }
.course-card:hover { transform:translateY(-2px); border-color:#cbc7e9; box-shadow:0 10px 24px rgba(28,34,60,.08); }
.course-card.recommended { border-color:#bdb4ff; background:linear-gradient(145deg,#fff,#faf8ff); }
.course-card.locked { background:#fafafa; }
.course-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:13px; font-size:1.35rem; background:#eef8f8; }
.course-card h4 { margin:1px 0 4px; font:700 1rem "Fredoka",sans-serif; }
.recommend-chip { display:inline-block; margin:0 0 5px; color:#6652d7; font-size:.58rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.course-card p { margin:0; color:var(--muted); font-size:.75rem; line-height:1.35; }
.course-meta { display:flex; flex-wrap:wrap; gap:5px; margin-top:10px; }
.course-meta span { border-radius:999px; padding:4px 7px; background:#f2f3f7; color:#5f6880; font-size:.61rem; font-weight:700; }
.course-action { align-self:center; width:34px; height:34px; display:grid; place-items:center; border:1px solid var(--line); border-radius:50%; background:#fff; color:var(--ink); font-weight:800; }
.course-action.added { color:#fff; background:var(--violet); border-color:var(--violet); }
.course-action:disabled { color:#aeb2bf; background:#f1f1f4; cursor:not-allowed; }
.details-button { grid-column:2 / span 2; justify-self:start; border:0; padding:0; color:#6857d8; background:transparent; font-size:.7rem; font-weight:800; }

.path-panel { position:sticky; top:96px; padding:22px; color:#fff; background:var(--navy); border-color:transparent; }
.path-heading { display:flex; justify-content:space-between; gap:15px; }
.path-heading h3 { color:#fff; }
.pathway-badge { display:inline-block; margin-top:5px; padding:4px 8px; border-radius:999px; color:#d5cef9; background:rgba(130,109,244,.18); font-size:.6rem; font-weight:800; }
.text-button { border:0; padding:4px; align-self:start; color:#aeb8cf; background:transparent; font-size:.76rem; }
.path-summary { display:grid; grid-template-columns:82px 1fr; gap:16px; align-items:center; margin:20px 0; padding:16px; border:1px solid rgba(255,255,255,.09); border-radius:16px; background:rgba(255,255,255,.05); }
.donut { width:76px; height:76px; display:grid; place-items:center; align-content:center; border-radius:50%; background:radial-gradient(circle at center,var(--navy) 52%,transparent 54%),conic-gradient(var(--gold) var(--load,50%),rgba(255,255,255,.12) 0); }
.donut span { font:700 1.3rem/1 "Fredoka",sans-serif; }
.donut small { color:#aeb8cf; font-size:.56rem; }
.path-summary strong { font:700 .96rem "Fredoka",sans-serif; }
.path-summary p { margin:4px 0 0; color:#9faac3; font-size:.72rem; }
.selected-list { display:grid; gap:7px; max-height:345px; overflow:auto; padding-right:3px; }
.selected-item { display:grid; grid-template-columns:28px 1fr auto; gap:9px; align-items:center; padding:10px; border-radius:11px; background:rgba(255,255,255,.055); }
.selected-item .item-icon { width:28px; height:28px; display:grid; place-items:center; border-radius:8px; background:rgba(255,255,255,.08); font-size:.84rem; }
.selected-item strong { display:block; font-size:.75rem; }
.selected-item small { color:#98a4bf; font-size:.62rem; }
.selected-item button { border:0; color:#9ba6bd; background:transparent; font-size:1rem; }
.core-lock { color:#72809f; font-size:.72rem; }
.approval-box { margin-top:14px; padding:12px; border:1px solid rgba(255,204,102,.3); border-radius:12px; background:rgba(255,204,102,.08); }
.approval-box label { display:flex; gap:10px; align-items:start; cursor:pointer; }
.approval-box input { margin-top:4px; accent-color:var(--gold); }
.approval-box span { display:grid; }
.approval-box strong { color:#ffe2a2; font-size:.75rem; }
.approval-box small { color:#aeb8cf; font-size:.62rem; }
.secondary-button { width:100%; margin-top:16px; color:var(--navy); background:#fff; }
.local-note { margin:9px 0 0; color:#76829f; text-align:center; font-size:.61rem; }

.course-grid.ideas-mode { display:block; }
.ideas-board { display:grid; grid-template-columns:minmax(250px,.72fr) minmax(320px,1.28fr); gap:18px; }
.idea-form, .idea-stream { min-width:0; padding:18px; border:1px solid var(--line); border-radius:17px; background:#fbfbfd; }
.idea-form h4, .idea-stream h4 { margin:0 0 5px; font:700 1.1rem "Fredoka",sans-serif; }
.idea-form > p, .idea-stream > p { margin:0 0 15px; color:var(--muted); font-size:.75rem; }
.idea-form form { display:grid; gap:10px; }
.idea-form label { display:grid; gap:5px; color:#59637a; font-size:.68rem; font-weight:800; }
.idea-form input, .idea-form select, .idea-form textarea { width:100%; border:1px solid #dfe1e9; border-radius:10px; padding:10px 11px; color:var(--ink); background:#fff; outline:none; }
.idea-form textarea { min-height:92px; resize:vertical; }
.idea-form input:focus, .idea-form select:focus, .idea-form textarea:focus { border-color:var(--violet); box-shadow:0 0 0 3px rgba(130,109,244,.12); }
.idea-submit { border:0; border-radius:11px; padding:11px; color:#fff; background:var(--violet); font-weight:800; }
.idea-submit:disabled { color:#8f96a8; background:#e7e8ee; cursor:not-allowed; }
.form-lock { display:flex; gap:9px; align-items:flex-start; padding:11px; border-radius:11px; color:#6f5f20; background:#fff7da; font-size:.7rem; }
.idea-list { display:grid; gap:9px; }
.idea-card { display:grid; grid-template-columns:56px 1fr; gap:12px; padding:13px; border:1px solid var(--line); border-radius:13px; background:#fff; }
.vote-button { align-self:start; display:grid; place-items:center; gap:1px; min-height:53px; border:1px solid #dedee8; border-radius:11px; color:#596078; background:#f7f7fa; font-size:.67rem; font-weight:900; }
.vote-button::before { content:"▲"; color:#8371ee; font-size:.75rem; }
.vote-button.voted { color:#fff; background:var(--violet); border-color:var(--violet); }
.vote-button.voted::before { color:#fff; }
.vote-button:disabled { opacity:.62; cursor:not-allowed; }
.idea-card-head { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin-bottom:4px; }
.idea-card h5 { margin:0; font:700 .89rem "Fredoka",sans-serif; }
.idea-type { padding:3px 6px; border-radius:999px; color:#6857d8; background:#efecff; font-size:.55rem; font-weight:800; }
.idea-seed { color:#8b92a3; font-size:.56rem; }
.idea-card p { margin:0; color:var(--muted); font-size:.7rem; }
.idea-privacy { grid-column:1/-1; margin:0; color:#8e94a4; text-align:center; font-size:.62rem; }

.readiness-section { display:grid; grid-template-columns:1fr 1fr; gap:7vw; align-items:center; padding:100px 8vw; color:#fff; background:linear-gradient(150deg,#5e50c8,#7a63e6 50%,#4c43a9); }
.readiness-copy > p:not(.eyebrow) { max-width:690px; color:#dedbfa; }
.scope-note { display:grid; gap:5px; margin:25px 0; padding:15px 17px; border-left:3px solid var(--gold); background:rgba(17,24,50,.16); border-radius:0 12px 12px 0; }
.scope-note strong { color:var(--gold); font-size:.78rem; }
.scope-note span { color:#e5e2ff; font-size:.78rem; }
.state-snapshot { max-width:520px; padding:15px 17px; border:1px solid rgba(255,255,255,.15); border-radius:14px; background:rgba(255,255,255,.06); }
.state-snapshot span { color:#c5c0ef; text-transform:uppercase; letter-spacing:.12em; font-size:.6rem; }
.state-snapshot strong { display:block; margin:4px 0; font:700 1rem "Fredoka",sans-serif; }
.state-snapshot p { margin:0; color:#d4cff7; font-size:.72rem; }
.authority-link { display:inline-block; margin-top:9px; color:var(--gold); font-size:.68rem; font-weight:800; }
.checklist-card { max-width:600px; padding:26px; border-radius:24px; color:var(--ink); background:#fff; box-shadow:0 26px 70px rgba(20,14,76,.3); }
.checklist-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:17px; }
.checklist-head > div:first-child { display:grid; }
.checklist-head span { color:var(--muted); font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; }
.checklist-head strong { font:700 1.35rem "Fredoka",sans-serif; }
.ring { width:56px; height:56px; display:grid; place-items:center; border-radius:50%; background:radial-gradient(circle at center,#fff 55%,transparent 57%),conic-gradient(var(--green) var(--cat-progress,0%),#ececf3 0); }
.ring span { color:var(--ink); font-size:.68rem; letter-spacing:0; }
.checklist { display:grid; gap:5px; }
.check-item { display:flex; gap:11px; align-items:flex-start; padding:11px 10px; border-radius:11px; }
.check-item:hover { background:#f7f7fa; }
.check-item input { width:18px; height:18px; margin-top:2px; accent-color:var(--violet); }
.check-item span { display:grid; }
.check-item strong { font-size:.8rem; }
.check-item small { color:var(--muted); font-size:.66rem; }
.secondary-button.light { border:1px solid var(--line); background:#f7f7fa; }
.updated-note { margin:10px 0 0; color:#999faf; text-align:center; font-size:.59rem; }

footer { min-height:110px; padding:28px 6vw; display:flex; align-items:center; justify-content:space-between; gap:28px; color:#b9c2d8; background:#0b1126; font-size:.75rem; }
.footer-brand { color:#fff; }
.footer-brand .brand-mark { width:25px; height:25px; }
.footer-source-button { border:0; padding:0; color:var(--gold); background:transparent; font-weight:800; }

dialog { width:min(92vw,520px); padding:28px; border:0; border-radius:24px; color:var(--ink); box-shadow:0 24px 100px rgba(12,17,38,.4); }
dialog::backdrop { background:rgba(8,12,28,.7); backdrop-filter:blur(4px); }
.dialog-close { position:absolute; right:18px; top:14px; border:0; background:transparent; color:var(--muted); font-size:1.7rem; }
.dialog-icon { width:54px; height:54px; display:grid; place-items:center; border-radius:15px; background:#eff7f7; font-size:1.7rem; }
dialog h2 { margin:5px 0 10px; font:700 2rem "Fredoka",sans-serif; }
dialog > p:not(.eyebrow) { color:var(--muted); }
.dialog-details { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin:20px 0; }
.dialog-details div { padding:11px; border-radius:11px; background:#f5f5f8; }
.dialog-details span { display:block; color:var(--muted); font-size:.61rem; text-transform:uppercase; letter-spacing:.08em; }
.dialog-details strong { font-size:.78rem; }
.course-modules { grid-column:1/-1; }
.course-modules ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 20px; margin:9px 0 0; padding-left:18px; color:#505b72; font-size:.73rem; }
.course-source { grid-column:1/-1; display:grid; padding:11px; border:1px solid #ded9ff; border-radius:11px; color:#5546be; background:#f7f5ff; text-decoration:none; }
.course-caution { grid-column:1/-1; color:#675b38; background:#fff7da !important; }
.source-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:20px 0; }
.source-list a { display:grid; gap:2px; padding:11px; border:1px solid var(--line); border-radius:11px; color:var(--ink); background:#f8f8fb; text-decoration:none; }
.source-list a:hover { border-color:#bdb4ff; }
.source-list strong { font-size:.75rem; }
.source-list span { color:#6857d8; font-size:.65rem; }
.source-scope { margin-bottom:0; color:var(--ink); background:#fff8e2; }
.source-scope span { color:#615c4e; }
.toast { position:fixed; left:50%; bottom:24px; z-index:40; transform:translate(-50%,90px); opacity:0; padding:11px 16px; border-radius:11px; color:#fff; background:#11182f; box-shadow:var(--shadow); font-size:.79rem; transition:.25s; }
.toast.show { transform:translate(-50%,0); opacity:1; }

body.focus-mode { font-size:18px; }
body.focus-mode .course-card p, body.focus-mode .course-meta, body.focus-mode .preview-note, body.focus-mode .updated-note { display:none; }
body.focus-mode .course-grid { grid-template-columns:1fr; }

@media (max-width: 1050px) {
  .site-header nav { display:none; }
  .hero { grid-template-columns:1fr; gap:45px; padding-top:70px; }
  .hero-preview { justify-self:start; }
  .builder-shell { grid-template-columns:1fr; }
  .alpha-layout { grid-template-columns:1fr; }
  .alpha-parent-card { position:relative; top:0; }
  .path-panel { position:relative; top:0; }
  .readiness-section { grid-template-columns:1fr; }
}
@media (max-width: 700px) {
  .site-header { padding:0 18px; min-height:68px; }
  .privacy-badge { display:none; }
  .hero { min-height:auto; padding:64px 20px 72px; }
  .hero h1 { font-size:clamp(2.75rem,14vw,4.2rem); }
  .character-stage { min-height:170px; padding:8px 10px 0; }
  .age-band-peek { width:min(100%,650px); }
  .age-band-peek img { max-height:180px; }
  .setup-row { display:grid; grid-template-columns:1fr 1fr; }
  .segmented-control { grid-column:span 2; }
  .segmented-control button { flex:1; }
  .state-control { min-width:0; }
  .pathway-control { min-width:0; grid-column:span 2; }
  .elementary-grade-deck, .middle-grade-deck, .senior-grade-deck { width:100%; justify-content:space-between; }
  .elementary-grade-deck > span, .middle-grade-deck > span, .senior-grade-deck > span { max-width:105px; }
  .section-heading { display:block; }
  .alpha-section { padding:68px 16px 76px; }
  .alpha-heading { display:block; }
  .alpha-progress { margin-top:22px; min-width:0; }
  .alpha-step { grid-template-columns:44px 1fr; }
  .alpha-step-action { grid-column:1 / -1; width:100%; }
  .section-heading > p { margin-top:14px; }
  .builder-section { padding:70px 16px; }
  .course-grid { grid-template-columns:1fr; }
  .catalog-intro { align-items:start; }
  .builder-shell { gap:16px; }
  .catalog-panel, .path-panel { border-radius:19px; }
  .tab-list { width:100%; }
  .tab-list button { flex:1; padding-inline:8px; }
  .catalog-tools { align-items:stretch; flex-direction:column; }
  .bundle-button { width:100%; }
  .ideas-board { grid-template-columns:1fr; }
  .readiness-section { padding:74px 20px; }
  footer { align-items:flex-start; flex-direction:column; }
  footer p { margin:0; }
  .source-list { grid-template-columns:1fr; }
  .course-modules ul { grid-template-columns:1fr; }
}
