:root {
  color-scheme: dark;
  --background: #14111b;
  --panel: #1d1826;
  --edge: #3c324a;
  --text: #f9f5fc;
  --muted: #ccc2d7;
  --accent: #d3b9ff;
  --rose: #eea8c4;
  --ink: #231433;
  --gutter: clamp(16px, 2.7vw, 56px);
  font: 100%/1.6 "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box }
body { margin: 0; color: var(--text); background: var(--background) }
a { color: inherit; text-decoration: none }
img { display: block; max-width: 100% }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px }
.skip { position: fixed; top: .7rem; left: .7rem; z-index: 3; padding: .6rem 1rem; background: var(--accent); color: var(--ink); transform: translateY(-160%) }
.skip:focus { transform: none }
.shell { width: calc(100% - 2 * var(--gutter)); margin-inline: auto }
.top { border-bottom: 1px solid var(--edge) }
.nav, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: .85rem 1.5rem; min-height: 76px }
.brand { display: inline-flex; gap: .72rem; align-items: center; font-weight: 750; white-space: nowrap }
.mark { display: inline-grid; place-items: center; width: 37px; aspect-ratio: 1; background: var(--accent); color: var(--ink); border-radius: 9px; font-size: .86rem; font-weight: 900; letter-spacing: -.08em }
.nav nav, .footer nav { display: flex; align-items: center; gap: clamp(.85rem, 3vw, 2.2rem); flex-wrap: wrap }
.nav nav a, .footer nav a { color: var(--muted); font-size: .92rem }
.nav nav a:hover, .footer nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .25em }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: .62rem 1rem; border: 1px solid transparent; border-radius: 8px; text-align: center; font-weight: 700; font-size: .92rem; line-height: 1.35 }
.button-primary { background: var(--accent); color: var(--ink) }
.button-primary:hover { background: #e4d1ff }
.button-outline { border-color: #675579; background: #252032 }
.button-outline:hover { background: #342741; border-color: var(--accent) }
h1, h2, h3, figure, blockquote { margin: 0 }
h1, h2, h3 { line-height: 1.12; text-wrap: balance }
p { margin: 0; color: var(--muted) }
h1 { font-size: clamp(2.9rem, 6.05vw, 6.1rem); line-height: 1; letter-spacing: -.065em }
h1 em { font-style: normal; color: var(--accent) }
h2 { font-size: clamp(2rem, 3.75vw, 3.8rem); letter-spacing: -.055em }
h3 { font-size: clamp(1.07rem, 1.65vw, 1.4rem); letter-spacing: -.015em }
.eyebrow { color: var(--accent); font-weight: 680; letter-spacing: .035em; font-size: .88rem; margin-bottom: .85rem }
.eyebrow span { display: inline-block; vertical-align: middle; width: 21px; height: 2px; margin-right: .4rem; border-radius: 2px; background: var(--rose) }
.hero {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center;
  width: 100%; gap: clamp(1.6rem, 5vw, 5rem);
  padding: clamp(2.5rem, 5.5vw, 5.6rem) var(--gutter);
  background: radial-gradient(ellipse at 12% 24%, #30203d 0%, transparent 57%),
    linear-gradient(110deg, #1c1527, var(--background) 72%);
}
.hero-copy .lede { max-width: 51ch; margin-top: 1.3rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem) }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.45rem }
.hero-note { max-width: 57ch; margin-top: 1.15rem; padding-inline-start: .7rem; border-inline-start: 2px solid var(--rose); font-size: .92rem }
.hero-media { overflow: hidden; min-width: 0; border: 1px solid #60435f; border-radius: 18px; background: #221523; box-shadow: 0 18px 55px #0604096b }
.hero-media img { width: 100%; height: auto; aspect-ratio: 3 / 2; max-height: 34rem; object-fit: cover }
.section { padding-block: clamp(2rem, 4.9vw, 4.7rem); border-top: 1px solid var(--edge); scroll-margin-top: 1rem }
.section-head { display: flex; gap: 1.1rem 2rem; align-items: end; justify-content: space-between; margin-bottom: 1.45rem }
.section-head > p { max-width: 43ch }
.program { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem }
.topic { padding: clamp(1rem, 2vw, 1.65rem); background: var(--panel); border: 1px solid var(--edge); border-radius: 12px }
.topic:nth-child(n+4) .month { color: var(--rose) }
.month { display: inline-block; margin-bottom: .6rem; color: var(--accent); font-size: .88rem; font-weight: 700 }
.topic p { margin-top: .65rem }
.topic p, .format-intro p, .check h2 + p { max-width: 66ch }
.format, .check, .faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(1.4rem, 5vw, 5rem); align-items: start }
.format-intro p, .check h2 + p { margin-top: 1rem }
.steps { margin: 0; padding: 0; list-style: none }
.steps li { display: grid; grid-template-columns: 6rem 1fr; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--edge) }
.steps li:first-child { padding-top: 0 }
.steps li > span { color: var(--accent); font-weight: 700; white-space: nowrap }
.steps p { margin-top: .35rem }
.check { align-items: center; padding: clamp(1.15rem, 3.5vw, 3.5rem); border: 1px solid #5b4267; border-radius: 16px; background: linear-gradient(118deg, #261b36, #201828 77%) }
.check .button { margin-top: 1.2rem }
.check-example { padding: clamp(1rem, 2.5vw, 1.9rem); border-inline-start: 2px solid var(--rose); background: #15101da0 }
.check-example h3 { margin-bottom: .65rem; color: var(--rose) }
.check-example blockquote { color: var(--text); font-size: clamp(1.05rem, 1.6vw, 1.33rem); line-height: 1.55 }
.faq { grid-template-columns: minmax(0, .62fr) minmax(0, 1fr) }
.faq-list { border: 1px solid var(--edge); border-radius: 12px; background: var(--panel) }
details + details { border-top: 1px solid var(--edge) }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; cursor: pointer; list-style: none; font-weight: 680 }
summary::-webkit-details-marker { display: none }
summary::after { content: ""; flex: 0 0 .45rem; height: .45rem; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); margin-right: .25rem }
details[open] summary::after { transform: rotate(225deg) }
details p { padding: 0 1rem 1rem }
.footer { border-top: 1px solid var(--edge) }
.footer-inner { padding-block: 1rem; flex-wrap: wrap }
@media (max-width: 1020px) {
  .hero { gap: 1.8rem }
  .program { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 720px) {
  .hero, .format, .check, .faq { grid-template-columns: minmax(0, 1fr) }
  .nav { flex-wrap: wrap; padding-block: .75rem }
  .nav nav { order: 1; flex-basis: 100%; padding-top: .1rem }
  .section-head { flex-direction: column; align-items: start }
  .hero-media img { max-height: 25rem }
}
@media (max-width: 470px) {
  .program { grid-template-columns: minmax(0, 1fr) }
  .actions .button { width: 100% }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth }
  .button { transition: background-color .18s ease, border-color .18s ease }
}
