:root {
  --purple: #9B3CF0;
  --purple-deep: #7A1FE0;
  --purple-light: #B85CFF;
  --cyan: #00A8FF;
  --cyan-dark: #0088D6;
  --gold: #E5A500;
  --gold-hover: #F0B420;
  --ink: #222222;
  --muted: #666666;
  --gray: #f0f0f0;
  --white: #ffffff;
  --black: #000000;
  --staging: #F5C518;
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --max: 1100px;
  --banner-h: 2.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}
p { margin: 0 0 1rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.center { text-align: center; }

/* Staging bar — never for production */
.staging {
  position: sticky;
  top: 0;
  z-index: 10000;
  height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--staging);
  color: #000;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 1rem;
}

.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: var(--banner-h);
  z-index: 900;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.logo img { height: 36px; width: auto; }
.primary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.primary a {
  color: #9adfff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.primary a:hover,
.primary a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--cyan);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #444;
  color: #fff;
  font-size: 1.25rem;
  padding: 0.25rem 0.55rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: #fff !important;
}
.btn-gold:hover { background: var(--gold-hover); }
.btn-cyan {
  background: var(--cyan);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
}
.btn-cyan:hover { background: var(--cyan-dark); }
.btn-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid #fff;
  border-radius: 999px;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-pending {
  position: relative;
}
.btn-note {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.hero {
  background: linear-gradient(100deg, #8E2DE2 0%, #AE48F2 45%, #6A5CFF 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  margin-bottom: 1rem;
}
.hero p { color: #fff; max-width: 34rem; }
.price {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.25rem 0 1rem;
}
.hero-cta { margin-top: 0.5rem; }
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.hero-visual img { max-width: 420px; width: 100%; }

.section { padding: 3.25rem 0; }
.section h1, .section h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.section-cyan {
  background: var(--cyan);
  color: #fff;
}
.section-cyan h1,
.section-cyan h2,
.section-cyan p { color: #fff; }
.section-purple {
  background: linear-gradient(100deg, #8E2DE2 0%, #AE48F2 50%, #6A5CFF 100%);
  color: #fff;
}
.section-purple h2, .section-purple p { color: #fff; }
.section-gray { background: var(--gray); }
.section-white { background: #fff; }

.setup-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.setup-inner .copy { max-width: 36rem; }

.features-intro { max-width: 40rem; margin: 0 auto 2.5rem; }
.features-intro p { color: var(--muted); }
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}
.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.25rem;
}
.feature-card {
  text-align: center;
  padding: 0.5rem;
}
.feature-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 0.75rem;
}
.feature-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.demo-stack {
  display: grid;
  gap: 2.5rem;
}
.demo-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.demo-block .copy { max-width: 34rem; }

.mobile-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 2rem;
  align-items: center;
}
.mobile-grid img {
  max-width: 260px;
  margin-inline: auto;
}

.schools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
  margin-top: 2rem;
}
.schools-grid img {
  max-height: 88px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: none;
}

.site-footer {
  background: var(--black);
  color: #fff;
  padding: 1.25rem 0;
}
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bar p {
  margin: 0;
  font-size: 0.8rem;
  color: #bbb;
}
.social {
  display: flex;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.social a {
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #222;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}
.social a:hover { background: var(--cyan); text-decoration: none; }

.page-hero {
  background: linear-gradient(100deg, #8E2DE2 0%, #AE48F2 50%, #6A5CFF 100%);
  color: #fff;
  padding: 3rem 0;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #fff; max-width: 40rem; }
.card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
.stack { display: grid; gap: 1rem; }

#stripe-checkout:target {
  outline: 3px solid var(--staging);
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .primary {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 0.75rem;
  }
  .primary.open { display: flex; }
  .nav-bar { flex-wrap: wrap; }
  .hero-grid,
  .features-grid,
  .mobile-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr 1fr; }
  .schools-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 2.5rem; }
  .demo-block { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .feature-cards { grid-template-columns: 1fr; }
  .schools-grid { grid-template-columns: 1fr 1fr; }
}
