:root {
  --bg: #0a0a0a;
  --surface: #131313;
  --ink: #fafafa;
  --ink-soft: #a3a3a3;
  --ink-faint: #6b6b6b;
  --line: #262626;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Satoshi', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: 'JetBrains Mono', monospace; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  height: 68px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; letter-spacing: -0.02em; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 32px; font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: #0a0a0a; }
.btn-primary:hover { background: #fff; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-faint); }
.nav-cta { padding: 10px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--ink-soft); font-weight: 500; margin-bottom: 20px;
}
h1 {
  font-size: clamp(40px, 5.4vw, 64px); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1.02; margin-bottom: 20px;
}
h1 .accent { color: var(--ink-soft); }
.hero-sub { font-size: 19px; color: var(--ink-soft); max-width: 46ch; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  filter: grayscale(1);
}
.hero-card {
  position: absolute; left: -40px; bottom: 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  display: flex; align-items: center; gap: 14px;
}
.hero-card-num { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 500; color: var(--ink); }
.hero-card-label { font-size: 13px; color: var(--ink-soft); max-width: 18ch; }

/* ---------- Mono panel (product / dataset preview) ---------- */
.panel { background: #0d0d0d; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; border-bottom: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--ink-faint);
}
.panel-body { padding: 20px; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.9; }
.panel-body .k { color: var(--ink-faint); }
.panel-body .v { color: var(--ink-soft); }
.panel-body .hl { color: var(--ink); }
.panel-foot {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 14px 20px; border-top: 1px solid var(--line);
}
.panel-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px;
}

/* ---------- Subjects marquee ---------- */
.subjects-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.marquee-inner {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-inner span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
  padding: 0 10px;
}
.marquee-inner .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-faint);
  flex-shrink: 0;
  padding: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Sections ---------- */
section { padding: 104px 0; }
.section-head { max-width: 60ch; margin-bottom: 64px; }
h2 {
  font-size: clamp(30px, 3.6vw, 44px); font-weight: 900;
  letter-spacing: -0.025em; line-height: 1.08; margin-bottom: 16px;
}
.section-sub { font-size: 18px; color: var(--ink-soft); }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Steps (home) ---------- */
.steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.step { padding: 40px 32px 48px; border-left: 1px solid var(--line); }
.step:first-child { border-left: none; padding-left: 0; }
.step:nth-child(2) { background: var(--surface); }
.step h3 { font-size: 22px; font-weight: 700; margin: 18px 0 10px; letter-spacing: -0.01em; }
.step p { color: var(--ink-soft); font-size: 16px; }
.step-icon {
  width: 44px; height: 44px; border-radius: 12px; background: #1f1f1f;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.step-icon svg { width: 22px; height: 22px; }

/* ---------- Audience split (home) ---------- */
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 40px;
  background: var(--surface); display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.2s var(--ease);
}
.audience-card:hover { border-color: var(--ink-faint); }
.audience-card h3 { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; }
.audience-card p { color: var(--ink-soft); font-size: 16px; flex: 1; }
.audience-card .link { font-weight: 700; color: var(--ink); }

/* ---------- Data points / list rows ---------- */
.data-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
.data-points { display: grid; gap: 0; margin-top: 8px; }
.data-point { padding: 22px 0; border-top: 1px solid var(--line); }
.data-point:last-child { border-bottom: 1px solid var(--line); }
.data-point strong { display: block; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.data-point span { color: var(--ink-soft); font-size: 15px; }
.data-visual img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  filter: grayscale(1);
}

/* ---------- Verb ladder (students) ---------- */
.ladder { border-top: 1px solid var(--line); }
.ladder-row {
  display: grid; grid-template-columns: 320px 1fr; gap: 40px;
  padding: 44px 0; border-bottom: 1px solid var(--line);
}
.ladder-row h3 { font-size: clamp(28px, 3vw, 42px); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.ladder-row p { color: var(--ink-soft); font-size: 16px; max-width: 58ch; padding-top: 6px; }

/* ---------- Manifesto ---------- */
.manifesto p.big {
  font-size: clamp(28px, 3.6vw, 48px); font-weight: 900; letter-spacing: -0.03em;
  line-height: 1.1; max-width: 26ch;
}
.manifesto p.big .dim { color: var(--ink-soft); }
.manifesto p.body { margin-top: 24px; color: var(--ink-soft); font-size: 17px; max-width: 50ch; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.faq-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  background: none; border: none; color: var(--ink); font-family: inherit;
  font-size: 16px; font-weight: 700; text-align: left; padding: 20px 24px; cursor: pointer;
}
.faq-q:hover { background: rgba(255, 255, 255, 0.02); }
.faq-q .sign { font-family: 'JetBrains Mono', monospace; font-size: 18px; color: var(--ink-faint); }
.faq-a { display: none; padding: 0 24px 20px; color: var(--ink-soft); font-size: 15px; max-width: 65ch; }
.faq-item.open .faq-a { display: block; }

/* ---------- Guarantees strip (partners) ---------- */
.guarantees { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.guarantee { padding: 36px 32px; border-left: 1px solid var(--line); background: var(--surface); }
.guarantee:first-child { border-left: none; }
.guarantee strong { display: block; font-size: 20px; font-weight: 900; letter-spacing: -0.01em; margin-bottom: 8px; }
.guarantee span { font-family: 'JetBrains Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-faint); }

/* ---------- Pipeline (partners) ---------- */
.pipeline { border-top: 1px solid var(--line); }
.pipeline-row {
  display: grid; grid-template-columns: 140px 320px 1fr; gap: 32px;
  padding: 36px 0; border-bottom: 1px solid var(--line);
}
.pipeline-actor {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--ink-faint); padding-top: 6px;
}
.pipeline-actor.lead { color: var(--ink); }
.pipeline-row h3 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }
.pipeline-row p { color: var(--ink-soft); font-size: 16px; max-width: 58ch; }

/* ---------- Schema (partners) ---------- */
.schema-row { display: flex; gap: 20px; align-items: baseline; font-family: 'JetBrains Mono', monospace; font-size: 13px; padding: 6px 0; }
.schema-row .f { width: 6.5rem; flex-shrink: 0; color: var(--ink); }
.schema-row .t { width: 4rem; flex-shrink: 0; color: var(--ink-faint); }
.schema-row .d { color: var(--ink-soft); }

/* ---------- Checklist (students perks) ---------- */
.earn-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; }
.earn-visual img {
  width: 100%; aspect-ratio: auto; object-fit: contain;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.earn-list { display: grid; gap: 20px; margin-top: 28px; }
.earn-item { display: flex; gap: 16px; align-items: flex-start; }
.earn-item svg { width: 22px; height: 22px; color: var(--ink); flex-shrink: 0; margin-top: 2px; }
.earn-item p { color: var(--ink-soft); font-size: 16px; }
.earn-item p b { color: var(--ink); font-weight: 700; }

/* ---------- Forms ---------- */
.form-narrow { max-width: 640px; }
.form-stack { display: grid; gap: 16px; margin-top: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
input[type="email"], input[type="text"], textarea, select {
  width: 100%; font-family: inherit; font-size: 16px;
  padding: 13px 18px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
textarea { resize: vertical; min-height: 120px; }
::placeholder { color: var(--ink-faint); }
input:focus, textarea:focus, select:focus {
  border-color: var(--ink-soft); box-shadow: 0 0 0 3px rgba(250, 250, 250, 0.08);
}
.form-note { font-size: 13px; color: var(--ink-faint); margin-top: 14px; }
.form-msg { font-size: 15px; font-weight: 700; margin-top: 14px; display: none; }
.form-msg.ok { color: var(--ink); }
.form-msg.err { color: #f87171; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { color: var(--ink-soft); font-size: 15px; max-width: 32ch; margin-top: 14px; }
.footer-links { display: flex; gap: 56px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 14px; font-weight: 700; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 15px; padding: 5px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--ink-faint); font-size: 14px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Nav hamburger ---------- */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--ink);
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
  border-radius: 8px; margin-left: 8px;
  transition: background 0.15s;
}
.nav-hamburger:hover { background: rgba(255, 255, 255, 0.06); }
.nav-hamburger span {
  display: block; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.15s;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.mobile-drawer.open { opacity: 1; transform: translateY(0); pointer-events: all; }
.mobile-drawer a {
  padding: 17px 24px; font-size: 17px; font-weight: 600;
  color: var(--ink-soft); border-bottom: 1px solid var(--line);
  transition: color 0.15s, background 0.15s;
}
.mobile-drawer a:last-child { border-bottom: none; }
.mobile-drawer a:hover, .mobile-drawer a.active { color: var(--ink); }

/* ---------- Modals ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.modal-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
  width: min(560px, 100%);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  position: relative;
  transform: translateY(12px);
  transition: transform 0.25s var(--ease);
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute; top: 18px; right: 20px;
  background: none; border: none;
  color: var(--ink-faint); font-size: 26px; line-height: 1;
  cursor: pointer; padding: 4px 8px; border-radius: 8px;
  transition: color 0.15s;
}
.modal-close:hover { color: var(--ink); }
.modal-box h2 { font-size: 24px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 8px; }
.modal-box .section-sub { margin-bottom: 28px; }
.modal-box .form-note { margin-top: 16px; font-size: 13px; color: var(--ink-faint); }

/* ---------- Mobile — 900px ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-sub { font-size: 17px; }
  .hero-panel-slot { display: none; }
  .hero-card { left: 16px; bottom: 16px; }

  section { padding: 64px 0; }
  .section-head { margin-bottom: 44px; }
  .section-sub { font-size: 16px; }

  .steps { grid-template-columns: 1fr; border-top: none; }
  .step { border-left: none; border-top: 1px solid var(--line); padding: 32px 0; }
  .step:nth-child(2) { background: transparent; padding-left: 0; }

  .audience-grid { grid-template-columns: 1fr; gap: 16px; }
  .data-grid { grid-template-columns: 1fr; gap: 48px; }
  .earn-grid { grid-template-columns: 1fr; gap: 40px; }
  .earn-visual { order: -1; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }

  .ladder-row { grid-template-columns: 1fr; gap: 10px; padding: 32px 0; }

  .guarantees { grid-template-columns: 1fr 1fr; }
  .guarantee { border-left: none; border-top: 1px solid var(--line); }
  .guarantee:nth-child(even) { border-left: 1px solid var(--line); }
  .guarantee:nth-child(-n+2) { border-top: none; }

  .pipeline-row { grid-template-columns: 1fr; gap: 6px; padding: 28px 0; }

  .form-row { grid-template-columns: 1fr; }
  .form-narrow { max-width: 100%; }
}

/* ---------- Mobile — 600px ---------- */
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  section { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
  .hero { padding: 36px 0 52px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }

  .audience-card { padding: 28px 24px; }

  .guarantees { grid-template-columns: 1fr; }
  .guarantee { border-left: none; }
  .guarantee:nth-child(even) { border-left: none; }
  .guarantee:first-child { border-top: none; }

  .pipeline-row { gap: 4px; padding: 24px 0; }
  .pipeline-actor { margin-bottom: 2px; }

  .modal-box { padding: 36px 20px; border-radius: 16px; }

  .footer-links { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .footer-brand p { max-width: 100%; }
  .footer-grid { gap: 32px; }

  .manifesto p.big { font-size: clamp(24px, 7.5vw, 36px); }
  .schema-row { flex-wrap: wrap; gap: 4px 16px; }
  .schema-row .d { width: 100%; }
}
