:root {
  --bg: #0a1020;
  --surface: #111a2e;
  --card: #16213a;
  --card-hover: #1b2846;
  --border: #253556;
  --text: #eef2f8;
  --muted: #a3b1c8;
  --dim: #7686a3;
  --blue: #3b82f6;
  --blue-deep: #2563eb;
  --gold: #f5b83d;
  --gold-deep: #e09b14;
  --green: #34d399;
  --radius: 18px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.18; color: #fff; letter-spacing: -0.01em; }
p { color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.dev-note {
  background: #3b2a06; color: #fde68a; border: 1px dashed #b7791f;
  padding: 10px 14px; border-radius: 10px; font-size: 0.85rem; margin: 12px 0;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 16, 32, 0.9); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, #1e3a8a, var(--blue));
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: var(--gold);
}
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: #fff; }
.nav-links { display: flex; gap: 22px; font-size: 0.92rem; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; height: auto; padding-top: 10px; row-gap: 6px; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 10px; white-space: nowrap; }
}
@media (max-width: 420px) { .brand-name { font-size: .92rem; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 0.97rem; padding: 13px 22px; border-radius: 12px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #111827; box-shadow: 0 6px 22px rgba(245, 184, 61, .25); }
.btn-ghost { background: rgba(255,255,255,.04); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; border-radius: 9px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.eyebrow {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); background: rgba(245, 184, 61, .1); border: 1px solid rgba(245, 184, 61, .28);
  padding: 4px 10px; border-radius: 999px;
}
.pill { display: inline-block; font-size: 0.78rem; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 10px 0 12px; }

/* Hero */
.hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -200px 0 auto; height: 520px; pointer-events: none;
  background: radial-gradient(circle at 50% 30%, rgba(37, 99, 235, .2), transparent 65%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 14px 0 16px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 1.1rem; max-width: 560px; margin-bottom: 26px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 0.85rem; color: var(--dim); margin-top: 10px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

.phone {
  width: min(300px, 80vw); margin: 0 auto; aspect-ratio: 9/16; border-radius: 34px; overflow: hidden;
  border: 6px solid var(--border); background: #000; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 40px rgba(59,130,246,.18);
  position: relative;
}
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; }
.phone .caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 14px; font-size: .84rem; color: #e5ecf6;
  background: linear-gradient(to top, rgba(0,0,0,.92), transparent); text-decoration: none;
}

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card .num { font-family: var(--display); color: var(--gold); font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
a.card { text-decoration: none; display: block; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--blue); transform: translateY(-3px); }
.card .more { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 600; font-size: .9rem; }
.method-note { max-width: 760px; margin: 28px auto 0; font-size: .92rem; text-align: center; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-deep); color: #fff; font-weight: 700; margin-bottom: 12px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }

/* Lesson cards */
.lesson-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.lesson-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.lesson-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.lesson-card img { aspect-ratio: 9/14; object-fit: cover; width: 100%; background: #0d1426; }
.lesson-card .body { padding: 14px 16px 16px; }
.lesson-card h3 { font-size: 1rem; margin-bottom: 6px; }
.lesson-card .meta { font-size: .78rem; color: var(--dim); }

/* Topic cards on home */
.topic-card { display: flex; flex-direction: column; }
.topic-thumbs { display: flex; gap: 6px; margin-top: 16px; }
.topic-thumbs img { width: 33%; aspect-ratio: 9/14; object-fit: cover; border-radius: 8px; }
.soon { font-size: .82rem; color: var(--gold); margin-top: 12px; }

/* Forms */
.signup { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.signup label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.signup input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: #fff; font: inherit; margin-bottom: 12px; }
.signup .fine { font-size: .8rem; color: var(--dim); margin-top: 10px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.check-list { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.check-list li { padding-left: 28px; position: relative; color: #d3dbe8; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; color: #fff; }
details p { margin-top: 10px; }

/* Lesson page */
.crumbs { font-size: .85rem; color: var(--dim); margin: 22px 0 10px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.lesson-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 10px 0 12px; }
.lesson-layout { display: grid; grid-template-columns: 330px 1fr; gap: 40px; align-items: start; margin-top: 26px; }
.player { position: sticky; top: 86px; }
@media (max-width: 860px) {
  .lesson-layout { grid-template-columns: 1fr; }
  .player { position: static; max-width: 280px; margin: 0 auto; }
}
.player .phone { width: 100%; }
.yt-lite { position: relative; cursor: pointer; border: 0; padding: 0; width: 100%; height: 100%; background: #000; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; }
.yt-lite span { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(245,184,61,.95); color: #111; display: grid; place-items: center; font-size: 1.4rem; }
.watch-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; justify-content: center; }
.walkthrough ol { list-style: none; counter-reset: w; display: grid; gap: 14px; }
.walkthrough li { counter-increment: w; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px 16px 58px; position: relative; }
.walkthrough li::before { content: counter(w); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; font-size: .82rem; color: var(--gold); font-weight: 700; }
.walkthrough .cap { font-family: var(--display); color: #fff; font-weight: 600; margin-bottom: 4px; }
.walkthrough .say { font-size: .95rem; }
.challenge { margin-top: 28px; border-color: rgba(245,184,61,.4); }
.cta-box { margin-top: 28px; background: linear-gradient(135deg, #172647, #111a2e); border: 1px solid #2e4370; border-radius: var(--radius); padding: 24px; }
.cta-box h3 { margin-bottom: 8px; }
.prose h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.prose p, .prose li { margin-bottom: 12px; }
.prose ul { padding-left: 22px; color: var(--muted); }

/* SAT */
.sat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.sat-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; border-radius: 12px; margin-bottom: 12px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 44px 0 30px; margin-top: 40px; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot p, .foot a { font-size: .88rem; color: var(--dim); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.copyright { font-size: .8rem; color: var(--dim); margin-top: 22px; }
