:root {
  --navy: #1e3a5f; --navy-d: #152a46; --teal: #00d4ff;
  --bg: #ffffff; --bg-alt: #f5f7fa; --text: #0f1419; --muted: #4f5b6b; --border: #dde3ec; --card: #ffffff;
  --ok: #12a150; --bad: #d92d3a; --r: 12px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1419; --bg-alt: #141b23; --text: #f2f5f9; --muted: #a3afbf; --border: #2a3544; --card: #18202a; --ok: #34d27b; --bad: #ff6470; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.sample-link { color: #fff; text-underline-offset: 4px; font-weight: 600; }
.sample-next { margin-top: 14px; width: 100%; }
#sample { scroll-margin-top: 90px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 10; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.logo { font-weight: 800; font-size: 20px; letter-spacing: -.02em; text-decoration: none; color: var(--navy); }
.logo span { color: var(--teal); }
@media (prefers-color-scheme: dark) { .logo { color: #fff; } }

.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav nav a:hover { color: var(--text); }
@media (max-width: 760px) { .nav nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--r); background: var(--teal); color: var(--navy-d) !important; font-weight: 800; border: 0; cursor: pointer; text-decoration: none; font-size: 16px; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0, 212, 255, .35); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--text) !important; border: 1.5px solid var(--border); }
.btn-ghost:hover { box-shadow: none; border-color: var(--teal); }
.btn-light { background: #fff; }

.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-d) 100%); color: #fff; padding: 72px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 48px 0 64px; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 700; color: var(--teal); margin: 0 0 12px; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 18px; font-weight: 850; }
.lead { font-size: 19px; color: rgba(255, 255, 255, .84); max-width: 520px; margin: 0 0 28px; }
.waitlist { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.waitlist input { flex: 1 1 220px; min-height: 48px; padding: 0 16px; border-radius: var(--r); border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 16px; }
.waitlist input::placeholder { color: rgba(255, 255, 255, .55); }
.form-msg { flex-basis: 100%; margin: 4px 0 0; min-height: 22px; font-size: 14px; font-weight: 600; }
.form-msg.ok { color: #7dffb0; } .form-msg.err { color: #ffb3ba; }
.fine { font-size: 13px; color: rgba(255, 255, 255, .65); margin: 10px 0 24px; max-width: 520px; }
.fine.center { text-align: center; color: var(--muted); margin-top: 28px; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; }
.badge-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: var(--navy); font-size: 13px; }

.phone-wrap { display: flex; justify-content: center; }
.phone { width: min(340px, 100%); background: var(--bg); color: var(--text); border-radius: 36px; padding: 22px 18px 18px; border: 8px solid #0b1522; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 2px rgba(255, 255, 255, .06); transform: rotate(2deg); }
.phone-bar { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 14px; }
.tag { font-size: 11px; background: var(--bg-alt); color: var(--muted); padding: 3px 9px; border-radius: 8px; }
.meter { height: 8px; border-radius: 8px; background: var(--bg-alt); margin: 12px 0 16px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy), var(--teal)); transition: width .5s; }
.q { font-size: 16px; font-weight: 700; line-height: 1.4; margin: 0 0 14px; }
.opts { display: grid; gap: 8px; }
.opts button { display: flex; gap: 10px; align-items: center; text-align: left; font: inherit; font-size: 14px; color: var(--text); background: var(--card); border: 1.5px solid var(--border); border-radius: 12px; padding: 11px 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.opts button:hover:not(:disabled) { border-color: var(--teal); }
.opts button b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-alt); flex: none; font-size: 12px; }
.opts button:disabled { cursor: default; opacity: .6; }
.opts button.right { border-color: var(--ok); opacity: 1; background: color-mix(in srgb, var(--ok) 10%, var(--card)); }
.opts button.wrong { border-color: var(--bad); opacity: 1; background: color-mix(in srgb, var(--bad) 10%, var(--card)); }
.explain { margin-top: 12px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--border); font-size: 13px; line-height: 1.5; }
.hint { text-align: center; font-size: 12px; color: var(--muted); margin: 12px 0 0; }

.stats { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px 0; text-align: center; }
.stats strong { display: block; font-size: 32px; letter-spacing: -.02em; color: var(--navy); }
@media (prefers-color-scheme: dark) { .stats strong { color: var(--teal); } }
.stats span { color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.025em; line-height: 1.12; margin: 0 0 12px; text-align: center; }
.sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 44px; font-size: 18px; }
.sub.left { text-align: left; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px; border-top: 4px solid var(--teal); }
.card h3 { margin: 14px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--teal); font-size: 17px; }

.domains { list-style: none; counter-reset: d; padding: 0; margin: 0 auto; max-width: 820px; display: grid; gap: 14px; }
.domains li { counter-increment: d; position: relative; background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--teal); border-radius: var(--r); padding: 18px 20px 18px 64px; display: grid; gap: 2px; }
.domains li::before { content: counter(d); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px; }
.domains span { color: var(--muted); font-size: 15px; }
.domains em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--navy); }
@media (prefers-color-scheme: dark) { .domains em { color: var(--teal); } }

.instructor { display: flex; gap: 32px; align-items: center; max-width: 820px; }
.instructor h2 { text-align: left; }
.avatar { flex: none; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; font-size: 36px; font-weight: 800; }
@media (max-width: 600px) { .instructor { flex-direction: column; text-align: center; } .instructor h2, .sub.left { text-align: center; } }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 24px; justify-content: center; margin-top: 40px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--teal); box-shadow: 0 16px 50px rgba(0, 212, 255, .15); }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 44px; font-weight: 850; letter-spacing: -.03em; margin: 8px 0 16px; }
.price small { font-size: 16px; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 28px; position: relative; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.ribbon { position: absolute; top: -13px; right: 24px; margin: 0; background: var(--teal); color: var(--navy-d); font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }

details { border-bottom: 1px solid var(--border); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--teal); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }

.cta { background: linear-gradient(160deg, var(--navy), var(--navy-d)); color: #fff; text-align: center; padding: 72px 0; }
.cta h2 { color: #fff; } .cta p { color: rgba(255, 255, 255, .8); margin: 0 0 24px; font-size: 18px; }

footer { padding: 36px 0; border-top: 1px solid var(--border); }
.foot { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.foot p { margin: 0; max-width: 640px; }

/* legal pages */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 8px; color: var(--text); }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { text-align: left; font-size: 22px; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--text); text-decoration-color: var(--teal); text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--muted); }
.legal th { color: var(--text); }
.draft { border: 2px dashed #f59e0b; background: color-mix(in srgb, #f59e0b 12%, var(--bg)); color: var(--text); border-radius: var(--r); padding: 14px 16px; margin: 0 0 28px; font-size: 14px; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
