:root {
  --ink: #14122a;
  --ink-deep: #08091d;
  --panel: #211a44;
  --violet: #6d28d9;
  --cyan: #22d3ee;
  --amber: #fbbf24;
  --mist: #f5f3ff;
  --paper: #fbfaff;
  --text: #201b35;
  --muted: #69627f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: white;
  font-family: Inter, Avenir, "Segoe UI", Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 99; transform: translateY(-140%); background: var(--cyan); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.brand img { width: 180px; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #ddd8f4; font-size: 14px; font-weight: 750; }
.nav-links > a:not(.nav-access) { transition: color .2s ease; }
.nav-links > a:not(.nav-access):hover { color: var(--cyan); }
.nav-access { border: 1px solid rgba(34,211,238,.5); border-radius: 999px; padding: 11px 17px; color: var(--cyan); transition: background .2s ease, color .2s ease; }
.nav-access:hover { background: var(--cyan); color: var(--ink); }

.hero { min-height: 720px; height: 100svh; position: relative; display: grid; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,27,.99) 0%, rgba(10,10,34,.9) 34%, rgba(10,10,34,.18) 74%), linear-gradient(0deg, rgba(20,18,42,.72), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 70px; }
.eyebrow, .section-kicker { color: var(--cyan); font: 800 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .19em; }
.hero h1 { max-width: 780px; margin: 22px 0; font-size: clamp(54px, 7vw, 92px); line-height: .96; letter-spacing: -.058em; font-weight: 900; }
h1 em, h2 em { color: var(--cyan); font-style: normal; }
.hero p { max-width: 590px; margin: 0; color: #d5d1e9; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 23px; border-radius: 12px; font-size: 15px; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.primary { background: var(--cyan); color: #081226; box-shadow: 0 12px 40px rgba(34,211,238,.23); }
.primary:hover { box-shadow: 0 16px 48px rgba(34,211,238,.34); }
.secondary { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.secondary:hover { border-color: rgba(255,255,255,.5); }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 30px; color: #aaa4c8; font-size: 13px; }
.hero-note strong { color: white; }
.hero-note span { width: 3px; height: 3px; border-radius: 50%; background: var(--cyan); }

.light-section { background: var(--paper); color: var(--text); }
.manifesto { padding: 120px 0 110px; }
.manifesto-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 100px; align-items: start; }
.dark-kicker { color: var(--violet); }
.manifesto h2, .section-heading h2, .nova-copy h2, .families-heading h2, .faq-heading h2, .access-section h2, .contact-card h2 {
  margin: 18px 0 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.048em;
  font-weight: 900;
}
.manifesto-copy { padding-top: 28px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.manifesto-copy p { margin: 0 0 16px; }
.manifesto-copy .lead { color: var(--text); font-size: 24px; line-height: 1.45; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid #dcd8e8; }
.pillars article { padding: 34px 34px 0 0; min-height: 190px; border-right: 1px solid #dcd8e8; }
.pillars article + article { padding-left: 34px; }
.pillars article:last-child { border-right: 0; }
.pillar-number { font: 800 12px ui-monospace, monospace; color: var(--violet); letter-spacing: .13em; }
.pillars h3 { font-size: 28px; margin: 22px 0 10px; letter-spacing: -.03em; }
.pillars p { color: var(--muted); margin: 0; line-height: 1.6; }

.program-section { padding: 125px 0 140px; background: var(--ink); position: relative; overflow: hidden; }
.program-section::before { content: ''; position: absolute; width: 560px; height: 560px; right: -220px; top: 80px; border: 1px solid rgba(34,211,238,.12); border-radius: 50%; box-shadow: 0 0 0 80px rgba(109,40,217,.035), 0 0 0 160px rgba(34,211,238,.025); }
.section-heading { display: grid; grid-template-columns: 1.15fr .65fr; gap: 100px; align-items: end; position: relative; z-index: 1; }
.section-heading h2 { color: white; }
.section-heading > p { color: #aaa4c8; font-size: 18px; line-height: 1.65; margin: 0 0 4px; }
.episode-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 62px; position: relative; z-index: 1; }
.episode-card { grid-column: span 4; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 20px; background: rgba(255,255,255,.045); min-height: 405px; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.episode-card:hover { transform: translateY(-6px); border-color: rgba(34,211,238,.42); background: rgba(255,255,255,.07); }
.episode-card:nth-child(7) { grid-column: 5 / span 4; }
.episode-image-wrap { position: relative; height: 208px; overflow: hidden; background: #08091d; }
.episode-image-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,18,42,.66), transparent 55%); }
.episode-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.episode-card:hover img { transform: scale(1.035); }
.episode-badge { position: absolute; left: 18px; bottom: 16px; z-index: 2; padding: 7px 9px; border: 1px solid rgba(34,211,238,.35); border-radius: 7px; color: var(--cyan); background: rgba(8,9,29,.78); backdrop-filter: blur(8px); font: 800 10px ui-monospace, monospace; letter-spacing: .12em; }
.episode-body { padding: 24px; }
.episode-body h3 { margin: 0 0 7px; font-size: 22px; letter-spacing: -.025em; }
.episode-subtitle { color: var(--cyan); margin: 0 0 18px; font-size: 13px; font-weight: 750; }
.episode-result { color: #aaa4c8; margin: 0; line-height: 1.55; font-size: 14px; }

.nova-section { position: relative; padding: 105px 0; background: #090a22; overflow: hidden; border-top: 1px solid rgba(255,255,255,.07); }
.nova-glow { position: absolute; width: 560px; height: 560px; left: 3%; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(109,40,217,.28), transparent 66%); filter: blur(15px); }
.nova-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; }
.nova-visual { min-height: 520px; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: 50%; }
.nova-visual img { width: 118%; max-width: none; position: relative; z-index: 2; mix-blend-mode: screen; }
.orbit { position: absolute; border: 1px solid rgba(34,211,238,.16); border-radius: 50%; }
.orbit-one { width: 420px; height: 420px; }
.orbit-two { width: 520px; height: 520px; border-color: rgba(109,40,217,.16); }
.nova-copy h2 { color: white; font-size: clamp(42px, 4.7vw, 66px); }
.nova-copy > p { color: #bbb5d4; font-size: 19px; line-height: 1.65; margin: 28px 0 30px; }
.nova-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; color: #e5e1f4; }
.nova-list li { display: flex; gap: 13px; line-height: 1.45; }
.nova-list span { color: var(--cyan); font-weight: 900; }

.experience { padding: 120px 0; }
.dark-heading h2 { color: var(--text); }
.dark-heading h2 em { color: var(--violet); }
.dark-heading > p { color: var(--muted); }
.experience-flow { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 65px; border-block: 1px solid #dcd8e8; }
.flow-step { min-height: 150px; padding: 28px 22px; border-right: 1px solid #dcd8e8; display: flex; flex-direction: column; justify-content: space-between; }
.flow-step:last-child { border-right: 0; }
.flow-step span { color: var(--violet); font: 800 11px ui-monospace, monospace; letter-spacing: .13em; }
.flow-step strong { font-size: 21px; letter-spacing: -.02em; }

.families-section { padding: 125px 0; background: linear-gradient(135deg, #191535, #0d102d); }
.families-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.families-heading > p { color: #bcb6d4; font-size: 18px; line-height: 1.65; max-width: 540px; margin: 26px 0 0; }
.safety-panel { border: 1px solid rgba(255,255,255,.12); border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.04); }
.safety-row { display: grid; grid-template-columns: 54px 1fr; gap: 8px; padding: 26px; border-bottom: 1px solid rgba(255,255,255,.09); }
.safety-row:last-child { border-bottom: 0; }
.safety-row > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(34,211,238,.08); color: var(--cyan); font-size: 19px; }
.safety-row strong { font-size: 18px; }
.safety-row p { margin: 8px 0 0; color: #aaa4c8; line-height: 1.55; font-size: 14px; }

.faq-section { padding: 120px 0; }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 100px; }
.faq-heading h2 { color: var(--text); font-size: clamp(40px, 4.5vw, 62px); }
.faq-list { border-top: 1px solid #d6d2e2; }
.faq-list details { border-bottom: 1px solid #d6d2e2; }
.faq-list summary { list-style: none; cursor: pointer; padding: 25px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 19px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { width: 31px; height: 31px; flex: 0 0 31px; border: 1px solid #c8c2dc; border-radius: 50%; display: grid; place-items: center; color: var(--violet); font-size: 21px; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); line-height: 1.65; margin: -5px 45px 24px 0; }

.access-section { position: relative; padding: 105px 0; background: linear-gradient(120deg, #5120af 0%, #24175c 56%, #10122f 100%); overflow: hidden; }
.access-rings { position: absolute; width: 460px; height: 460px; right: -110px; top: -170px; border: 1px solid rgba(34,211,238,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(34,211,238,.035), 0 0 0 140px rgba(255,255,255,.025); }
.access-grid { display: grid; grid-template-columns: 1.18fr .62fr; gap: 100px; align-items: center; position: relative; }
.access-section h2 { font-size: clamp(42px, 5vw, 66px); }
.access-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.large-button { min-height: 58px; }
.access-actions small { color: #bcb6d4; line-height: 1.5; text-align: center; margin-top: 3px; }

.contact-section { padding: 95px 0; }
.contact-card { background: white; border: 1px solid #ded9ea; border-radius: 24px; padding: 58px; display: grid; grid-template-columns: 1fr .8fr; gap: 80px; align-items: center; position: relative; overflow: hidden; box-shadow: 0 25px 80px rgba(32,27,53,.08); }
.contact-card::after { content: ''; position: absolute; width: 210px; height: 210px; left: -85px; bottom: -95px; background: radial-gradient(circle, rgba(109,40,217,.16), transparent 68%); }
.contact-mark { width: 56px; height: 56px; object-fit: cover; object-position: left; border-radius: 14px; margin-bottom: 28px; }
.contact-card h2 { color: var(--text); font-size: clamp(40px, 4.7vw, 62px); }
.contact-copy p { color: var(--muted); font-size: 18px; line-height: 1.65; margin: 0 0 28px; }
.dark-button { background: var(--ink); color: white; }
.dark-button:hover { box-shadow: 0 14px 35px rgba(20,18,42,.2); }
.contact-copy small { display: block; margin-top: 15px; color: #827b96; }
.contact-form { display: grid; gap: 17px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; color: var(--text); font-size: 14px; font-weight: 750; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #cfc9dc; border-radius: 10px; background: #fbfaff; color: var(--text); padding: 12px 13px; font: inherit; font-weight: 500; outline: none; }
.contact-form textarea { resize: vertical; min-height: 105px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(109,40,217,.12); }
.contact-form .form-consent { display: flex; grid-template-columns: none; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 500; line-height: 1.45; }
.contact-form .form-consent input { width: 17px; height: 17px; margin-top: 1px; flex: 0 0 auto; accent-color: var(--violet); }
.contact-form .form-consent a { color: #5520be; text-decoration: underline; }
.contact-form .dark-button { border: 0; cursor: pointer; justify-self: start; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

footer { background: #08091d; padding: 58px 0 28px; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; }
.footer-main img { width: 170px; }
.footer-main p { color: #aaa4c8; text-align: center; }
.footer-links { display: flex; justify-content: flex-end; gap: 22px; color: #cbc6df; font-size: 13px; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; color: #726c8f; font-size: 12px; border-top: 1px solid rgba(255,255,255,.09); margin-top: 40px; padding-top: 24px; }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-nav { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.legal-back { color: #d9d4ec; font-weight: 800; font-size: 14px; }
.legal-back:hover { color: var(--cyan); }
.legal-hero { background: radial-gradient(circle at 82% 10%, rgba(34,211,238,.16), transparent 28%), linear-gradient(130deg, #0b0c25, #21144d); padding: 92px 0 82px; }
.legal-hero-inner { max-width: 900px; }
.legal-hero h1 { margin: 18px 0; font-size: clamp(48px, 7vw, 82px); line-height: 1; letter-spacing: -.055em; }
.legal-hero p { max-width: 720px; margin: 0; color: #c4bfd8; font-size: 19px; line-height: 1.65; }
.legal-body { padding: 72px 0 100px; }
.legal-document { max-width: 900px; }
.legal-document section { padding: 10px 0 32px; border-bottom: 1px solid #ded9e9; }
.legal-document h2 { margin: 22px 0 14px; color: var(--text); font-size: 28px; letter-spacing: -.025em; }
.legal-document p, .legal-document li, .legal-document dd { color: #5f5873; font-size: 16px; line-height: 1.75; }
.legal-document a { color: #5723ba; text-decoration: underline; text-underline-offset: 3px; }
.legal-data { display: grid; gap: 0; margin: 18px 0 0; border: 1px solid #ded9e9; border-radius: 14px; overflow: hidden; }
.legal-data div { display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 14px 18px; border-bottom: 1px solid #e8e4ef; }
.legal-data div:last-child { border-bottom: 0; }
.legal-data dt { color: var(--text); font-weight: 850; }
.legal-data dd { margin: 0; }
.legal-table { margin: 20px 0; border: 1px solid #ded9e9; border-radius: 14px; overflow: hidden; }
.legal-table-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 16px 18px; border-bottom: 1px solid #e8e4ef; }
.legal-table-row:last-child { border-bottom: 0; }
.legal-table-head { background: #f0edfa; color: var(--text); }
.legal-updated { margin-top: 34px; font-size: 14px !important; }

@media (max-width: 980px) {
  .nav-links a:not(.nav-access) { display: none; }
  .manifesto-grid, .section-heading, .nova-grid, .families-grid, .faq-grid, .access-grid, .contact-card { grid-template-columns: 1fr; gap: 45px; }
  .episode-card { grid-column: span 6; }
  .episode-card:nth-child(7) { grid-column: 4 / span 6; }
  .nova-grid { gap: 20px; }
  .nova-visual { min-height: 400px; max-width: 650px; margin-inline: auto; }
  .families-grid { gap: 60px; }
  .faq-grid { gap: 50px; }
  .access-actions { max-width: 500px; }
  .contact-card { padding: 48px; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 30px, 1180px); }
  .nav { height: 72px; }
  .brand img { width: 144px; }
  .nav-access { padding: 9px 12px; font-size: 12px; }
  .hero { min-height: 740px; height: 100svh; }
  .hero-bg { object-position: 63% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(7,8,27,.99) 22%, rgba(7,8,27,.76) 62%, rgba(7,8,27,.38)); }
  .hero-content { align-self: end; padding: 0 0 54px; }
  .hero h1 { font-size: clamp(48px, 15vw, 66px); max-width: 610px; }
  .hero p { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-note { flex-wrap: wrap; }
  .manifesto, .program-section, .experience, .families-section, .faq-section { padding: 82px 0; }
  .manifesto h2, .section-heading h2, .nova-copy h2, .families-heading h2, .faq-heading h2, .access-section h2, .contact-card h2 { font-size: 42px; }
  .manifesto-grid { gap: 20px; }
  .manifesto-copy .lead { font-size: 21px; }
  .pillars { grid-template-columns: 1fr; margin-top: 45px; }
  .pillars article, .pillars article + article { padding: 27px 0; border-right: 0; border-bottom: 1px solid #dcd8e8; min-height: auto; }
  .pillars article:last-child { border-bottom: 0; }
  .section-heading { gap: 24px; }
  .episode-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .episode-card, .episode-card:nth-child(7) { grid-column: 1; min-height: 0; }
  .episode-image-wrap { height: 190px; }
  .nova-section { padding: 70px 0 85px; }
  .nova-visual { min-height: 310px; margin-inline: -15px; }
  .nova-visual img { width: 125%; }
  .orbit-one { width: 280px; height: 280px; }
  .orbit-two { width: 350px; height: 350px; }
  .experience-flow { grid-template-columns: 1fr; }
  .flow-step { min-height: 92px; padding: 20px; border-right: 0; border-bottom: 1px solid #dcd8e8; flex-direction: row; align-items: center; }
  .flow-step:last-child { border-bottom: 0; }
  .safety-row { grid-template-columns: 44px 1fr; padding: 21px 18px; }
  .access-section { padding: 80px 0; }
  .access-grid { gap: 36px; }
  .contact-section { padding: 70px 0; }
  .contact-card { padding: 34px 24px; gap: 35px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .footer-main img { margin-inline: auto; }
  .footer-links { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 9px; text-align: center; }
  .legal-nav { height: 72px; }
  .legal-hero { padding: 68px 0 58px; }
  .legal-hero h1 { font-size: 48px; }
  .legal-body { padding: 50px 0 75px; }
  .legal-data div, .legal-table-row { grid-template-columns: 1fr; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
