/* Self-hosted fonts (latin + latin-ext). No requests to Google. */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-latin-ext-749a30.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-latin-1ab1ad.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-latin-ext-749a30.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-latin-1ab1ad.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/inter-latin-ext-749a30.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/inter-latin-1ab1ad.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-tight-latin-ext-8a39ba.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-tight-latin-6c70c7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-tight-latin-ext-8a39ba.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/inter-tight-latin-6c70c7.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-latin-ext-1483a6.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/jetbrains-mono-latin-559371.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/playfair-display-latin-ext-2f2aad.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/playfair-display-latin-652516.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #000000;
  --lift: #0b0e14;
  --line: #292d30;
  --white: #ffffff;
  --bone: #f0f0f0;
  --ash: #a1a4a5;
  --iron: #8b9097;
  --violet: #9281f7;
  --violet-glow: #baa7ff;
  --violet-grad: linear-gradient(135deg, #9281f7 0%, #9a54dc 100%);
  --green: #3ad389;
  --amber: #ffca16;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-sm: 6px;
  --r-lg: 16px;
  --max: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--bone); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(146, 129, 247, .35); color: var(--white); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.82); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border-bottom: 1px solid transparent; transition: border-color .15s ease-out; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 28px; width: auto; }
.brand .academy { font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--violet-glow); border: 1px solid rgba(186,167,255,.4); border-radius: var(--r-sm); padding: 5px 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav-links a:not(.btn) { color: var(--bone); transition: color .15s ease-out; }
.nav-links a:not(.btn):hover { color: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: transparent; color: var(--white); font: 500 14px/1 var(--sans); transition: border-color .15s ease-out, background-color .15s ease-out; white-space: nowrap; cursor: pointer; }
.btn:hover { border-color: rgba(255,255,255,.6); }
.btn.solid { background: var(--white); color: var(--black); border-color: var(--white); }
.btn.solid:hover { background: var(--bone); }
.btn.sm { padding: 8px 14px; }
.chev { display: inline-block; transition: transform .15s ease-out; }
a:hover .chev, button:hover .chev { transform: translateX(3px); }

/* Type */
.eyebrow { font: 400 12px/1.33 var(--mono); color: var(--ash); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
h1, h2, h3 { color: var(--white); margin: 0; font-weight: 400; font-family: var(--serif); }
.display { font-size: clamp(44px, 7.4vw, 92px); line-height: 1.02; letter-spacing: -0.01em; }
.h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.1; letter-spacing: -0.01em; }
.h3 { font-size: 24px; line-height: 1.3; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ash); max-width: 640px; margin: 0; }
.muted { color: var(--ash); }

/* Sections */
section { padding: 96px 0; scroll-margin-top: 64px; }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head .lead { margin-top: 20px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Hero */
.hero { padding: 104px 0 88px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9999px; padding: 6px 12px; font-size: 13px; color: var(--bone); margin-bottom: 32px; transition: border-color .15s ease-out; }
.pill:hover { border-color: rgba(255,255,255,.5); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.pill .chev { color: var(--violet-glow); }
.hero .display { max-width: 980px; }
.hero .lead { margin: 28px 0 36px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); }
.stat { padding: 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .big { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--white); }
.stat p { margin: 10px 0 0; color: var(--ash); font-size: 14px; }

.fade { opacity: 0; transform: translateY(14px); animation: fadeUp .7s ease-out forwards; }
.fade.d1 { animation-delay: .08s; } .fade.d2 { animation-delay: .16s; } .fade.d3 { animation-delay: .24s; } .fade.d4 { animation-delay: .32s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade, .reveal { opacity: 1; transform: none; animation: none; transition: none; } }

/* Path */
.levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; background: var(--black); }
.level .num { font: 400 12px var(--mono); color: var(--violet-glow); letter-spacing: .08em; margin: 0 0 28px; }
.level h3 { margin-bottom: 10px; }
.level p { margin: 0; color: var(--ash); font-size: 15px; }
.level ul { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--bone); display: grid; gap: 6px; }
.champion { margin-top: 16px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 32px; }
.champion .tag-violet { font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; background: var(--violet-glow); color: var(--black); border-radius: var(--r-sm); padding: 4px 10px; }
.champion p { margin: 0; color: var(--bone); }

/* Courses */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { background: transparent; border: 1px solid var(--line); color: var(--ash); border-radius: 9999px; padding: 8px 14px; font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; transition: border-color .15s ease-out, color .15s ease-out; }
.filters button:hover { color: var(--white); }
.filters button[aria-pressed="true"] { color: var(--white); border-color: rgba(255,255,255,.6); }
.courses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.course { display: flex; flex-direction: column; transition: border-color .15s ease-out; }
.course:hover { border-color: #3a3f43; }
.course[hidden] { display: none; }
.course-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.course-num { font: 400 12px var(--mono); color: var(--ash); text-transform: uppercase; letter-spacing: .08em; }
.soon { display: inline-flex; align-items: center; gap: 6px; font: 400 12px var(--mono); color: var(--amber); border: 1px solid rgba(255,202,22,.45); border-radius: var(--r-sm); padding: 3px 8px; white-space: nowrap; }
.soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.course h3 { margin-bottom: 10px; }
.course .desc { color: var(--ash); margin: 0 0 20px; }
.course ul { margin: 0 0 24px; padding-left: 18px; color: var(--bone); font-size: 15px; display: grid; gap: 6px; }
.course ul li::marker { color: var(--violet-glow); }
.meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 3px 8px; font: 400 12px var(--mono); color: var(--ash); }
.course .notify { margin-top: 20px; font-size: 14px; color: var(--bone); display: inline-flex; gap: 6px; align-items: center; }
.course .notify:hover { color: var(--white); }

/* Formats + why */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.icon { width: 40px; height: 40px; border-radius: 12px; background: var(--violet-grad); display: grid; place-items: center; font: 400 14px var(--mono); color: #fff; margin-bottom: 24px; box-shadow: rgba(176,199,217,.145) 0 0 0 1px; }
.grid-4 h3, .grid-3 h3 { margin-bottom: 10px; }
.grid-4 p, .grid-3 p { margin: 0; color: var(--ash); font-size: 15px; }
.fit { margin-top: 16px !important; font: 400 12px var(--mono) !important; color: var(--bone) !important; text-transform: uppercase; letter-spacing: .06em; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 18px var(--mono); color: var(--ash); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--ash); max-width: 720px; }

/* Signup */
.signup .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 4px; }
.points li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); color: var(--bone); }
.points li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.mail { color: var(--violet-glow); }
.form-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; background: linear-gradient(rgb(14,14,18), rgb(3,3,3)); }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; color: var(--bone); padding: 0; }
.opt { color: var(--iron); font-size: 12px; margin-left: 6px; }
.form input[type=text], .form input[type=email], .form select { width: 100%; background: var(--black); color: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font: 400 15px var(--sans); transition: border-color .15s ease-out; }
.form input:focus, .form select:focus { outline: none; border-color: var(--violet); }
.form .invalid { border-color: #ff9592 !important; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font: 500 14px var(--sans); color: var(--ash); cursor: pointer; transition: border-color .15s ease-out, color .15s ease-out; }
.seg input:checked + span { border-color: rgba(255,255,255,.6); color: var(--white); }
.seg input:focus-visible + span { border-color: var(--violet); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--bone); cursor: pointer; }
.check input { margin: 3px 0 0; accent-color: var(--violet); width: 16px; height: 16px; flex: none; }
.consent { color: var(--ash); }
.consent.invalid-text { color: #ff9592; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; font-size: 15px; padding: 13px 20px; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 0; font-size: 14px; min-height: 1.5em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #ff9592; }
.form-note { margin: 0; font-size: 13px; color: var(--iron); }
.form-note a { color: var(--bone); text-decoration: underline; text-underline-offset: 2px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 13px; color: var(--iron); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 960px) {
  .levels, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .signup .wrap { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 640px) {
  section { padding: 72px 0; }
  .hero { padding: 72px 0 64px; }
  .levels, .grid-4, .courses, .checks { grid-template-columns: 1fr; }
  .card, .form-card { padding: 24px; }
  .nav .wrap { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { height: 20px; }
  .brand .academy { font-size: 10px; padding: 4px 6px; }
  .nav .btn.sm { padding: 7px 10px; font-size: 13px; }
}
