:root {
  --bg: #0f1117;
  --card: #1a1d27;
  --card2: #222535;
  --border: #2e3147;
  --text: #e8eaf0;
  --muted: #8890a4;
  --muted2: #676e82;
  --green: #4ade80;
  --green-dim: #4ade8022;
  --blue: #38bdf8;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────────────────── */

header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 17, 23, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.brand img {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 9px;
  padding: 4px;
}

.brand .accent { color: var(--green); }

nav.links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

nav.links a { color: var(--muted); transition: color 0.15s ease; }
nav.links a:hover { color: var(--text); text-decoration: none; }

.nav-cta {
  background: var(--green);
  color: #0f1117 !important;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
}
.nav-cta:hover { opacity: 0.9; text-decoration: none !important; }

/* Below this width the full nav (Features / Contact / CTA) doesn't fit next
   to the logo without wrapping into a crowded mess — drop the plain text
   links and keep just the logo and the CTA pill. Both are still reachable
   (Features is one scroll away, Contact is in the footer). */
@media (max-width: 560px) {
  nav.links a:not(.nav-cta) { display: none; }
  .brand { font-size: 16px; }
  .nav-cta { padding: 7px 14px; font-size: 12px; }
}

/* ── Hero ───────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 88px 0 64px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 480px;
  background: radial-gradient(closest-side, var(--green-dim), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.hero h1 {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin: 0 0 20px;
}

.hero h1 .grad {
  background: linear-gradient(90deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

/* ── Store badges ───────────────────────────────────────────────── */

.store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 18px 10px 14px;
  cursor: not-allowed;
  opacity: 0.85;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.store-badge:hover {
  border-color: #3d415c;
  opacity: 1;
}

.store-badge svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--text); }

.store-badge .lines { text-align: left; line-height: 1.25; }
.store-badge .lines .small { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
.store-badge .lines .big { display: block; font-size: 15px; font-weight: 700; color: var(--text); }

.store-badge .soon {
  position: absolute;
  top: -9px;
  right: -8px;
  background: var(--green);
  color: #0f1117;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ── Screenshots ────────────────────────────────────────────────── */

.screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 80px;
}

.screenshots img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}

@media (max-width: 780px) {
  .screenshots { grid-template-columns: 1fr; }
}

/* ── Educators panel ────────────────────────────────────────────── */

.educator-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

/* ── Features ───────────────────────────────────────────────────── */

.section-label {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.6px;
  margin: 0 0 48px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-bottom: 80px;
}

@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #3d415c;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ── Bottom CTA ─────────────────────────────────────────────────── */

.cta-band {
  text-align: center;
  padding: 64px 0 88px;
  border-top: 1px solid var(--border);
}

.cta-band h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}

.cta-band p {
  color: var(--muted);
  font-size: 15px;
  max-width: 440px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* ── Footer ─────────────────────────────────────────────────────── */

footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

footer.site .foot-links {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

footer.site .foot-links a { color: var(--muted); }
footer.site .foot-links a:hover { color: var(--green); }

footer.site .disclaimer {
  max-width: 620px;
  color: var(--muted2);
}

/* ── Legal doc pages ────────────────────────────────────────────── */

main.doc {
  padding: 48px 0 24px;
}

main.doc h1 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

main.doc .updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 40px;
}

main.doc h2 {
  font-size: 18px;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 10px;
  color: var(--text);
}

main.doc p, main.doc li {
  color: #c3c7d6;
  font-size: 15px;
  line-height: 1.7;
}

main.doc ul {
  padding-left: 22px;
}

main.doc li { margin-bottom: 6px; }

main.doc strong { color: var(--text); }
