:root {
  --blue: #3B82F6;
  --blue-dim: #2563EB;
  --black: #000;
  --bg: #080808;
  --card: #111111;
  --card2: #141414;
  --border: #242424;
  --white: #FFF;
  --grey: #707070;
  --lgrey: #BEBEBE;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

a { color: inherit; text-decoration: none; }

.btn {
  display: inline-block;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 12px 22px;
  font-size: 15px;
}
.btn-primary:hover { background: var(--blue-dim); }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 10px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.logo span { color: var(--blue); }
.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
}
@media (max-width: 480px) {
  .logo-text { display: none; }
}
.nav {
  display: flex;
  gap: 28px;
}
.nav a { color: var(--lgrey); font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--white); }
.nav-cta { font-size: 14px; padding: 10px 18px; }

@media (max-width: 720px) {
  .nav { display: none; }
}

/* Hero */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(59,130,246,0.16), transparent),
    var(--bg);
}
.hero-inner { max-width: 780px; margin: 0 auto; }
.eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-sub {
  color: var(--lgrey);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; justify-content: center; }

/* Curriculum */
.curriculum { padding: 80px 0; border-top: 1px solid var(--border); }
.curriculum h2, .why h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  text-align: center;
}
.section-sub {
  color: var(--grey);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 48px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--white);
}
.card p {
  color: var(--grey);
  font-size: 14px;
}

/* Signup */
.signup {
  padding: 80px 0;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(59,130,246,0.12), transparent),
    var(--bg);
}
.signup-inner h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
.signup-form {
  margin: 32px auto 0;
  max-width: 480px;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  text-align: left;
}
.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--lgrey);
}
.form-row input {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
}
.form-row input:focus {
  outline: none;
  border-color: var(--blue);
}
.signup-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 6px;
}
.signup-submit:disabled { opacity: 0.7; cursor: default; }
.signup-status {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
  min-height: 20px;
}
.signup-status.success { color: var(--blue); }
.signup-status.error { color: #f87171; }

/* About */
.about { padding: 80px 0; border-top: 1px solid var(--border); }
.about-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.about-inner h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin-bottom: 24px; }
.about-inner p { color: var(--lgrey); font-size: 17px; margin-bottom: 16px; }

/* Team */
.team { padding: 80px 0; border-top: 1px solid var(--border); }
.team-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { text-align: center; }
.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(59,130,246,0.05));
  border: 1px solid var(--border);
}
.team-avatar-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 18px;
  object-fit: cover;
  border: 2px solid var(--blue);
  display: block;
}
.team-card h3 { font-size: 16px; }
.team-card p { color: var(--grey); }
.team-stat {
  color: var(--blue) !important;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
}

/* Stories teaser */
.stories-teaser {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background: var(--card2);
  text-align: center;
}
.stories-teaser-inner { max-width: 560px; margin: 0 auto; }
.stories-teaser h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin-bottom: 10px; }
.stories-teaser .section-sub { margin-bottom: 32px; }

/* Success story cards (shared with success-stories.html) */
.story-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
}
.story-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}
.story-card-body {
  padding: 28px 28px 28px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(59,130,246,0.15);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.story-card-body h3 { font-size: 20px; margin-bottom: 12px; }
.story-quote {
  color: var(--lgrey);
  font-size: 16px;
  line-height: 1.6;
  border-left: 3px solid var(--blue);
  padding-left: 16px;
}
@media (max-width: 720px) {
  .story-card { grid-template-columns: 1fr; }
  .story-card img { min-height: 220px; }
  .story-card-body { padding: 0 24px 24px; }
}

/* Why */
.why {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  background: var(--card2);
}
.why-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.why-list {
  list-style: none;
  margin: 36px 0 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-list li {
  color: var(--lgrey);
  font-size: 16px;
  padding-left: 28px;
  position: relative;
}
.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--grey);
  font-size: 14px;
}
.footer-inner a { color: var(--lgrey); }
.footer-inner a:hover { color: var(--blue); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
}
@media (max-width: 520px) {
  .footer-inner { flex-direction: column; gap: 10px; text-align: center; }
}
