:root {
  --ink: #111827;
  --muted: #64748b;
  --paper: #f4f7fb;
  --panel: #ffffff;
  --blue: #174ea6;
  --lime: #b7e051;
  --dark: #101827;
  --line: rgba(17, 24, 39, 0.12);
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); margin: 0; }
a { color: inherit; }

.top-strip {
  background: var(--dark);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem clamp(1rem, 5vw, 4rem);
  font-size: 0.9rem;
  font-weight: 800;
}

.header {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 5vw, 4rem);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand { align-items: center; display: flex; gap: 0.8rem; text-decoration: none; }
.brand-mark { background: var(--blue); border-radius: 6px; color: #fff; display: grid; font-weight: 950; height: 44px; place-items: center; width: 44px; }
.brand strong, .brand small { display: block; }
.brand small, p { color: var(--muted); }
.nav { align-items: center; display: flex; gap: 1rem; font-weight: 850; }
.nav a { text-decoration: none; }

.button, .button-light {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  text-decoration: none;
}
.button { background: var(--lime); color: var(--ink); }
.button-light { background: #fff; border: 1px solid var(--line); }

.hero {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(23, 78, 166, 0.72)),
    url("https://images.unsplash.com/photo-1542744094-3a31f272c490?auto=format&fit=crop&w=1800&q=82") center / cover;
  color: #fff;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.hero-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  margin: 0 auto;
  max-width: 1240px;
  min-height: 72vh;
  align-items: end;
}

.eyebrow { color: var(--lime); font-size: 0.78rem; font-weight: 950; letter-spacing: 0.15em; margin: 0 0 1rem; text-transform: uppercase; }
h1, h2, h3 { letter-spacing: 0; margin: 0; }
h1 { font-size: clamp(3.05rem, 6.5vw, 6.2rem); line-height: 0.94; max-width: 820px; }
.hero p { color: rgba(255, 255, 255, 0.78); font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.6; max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.course-finder {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 6px;
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 1.2rem;
}
.course-finder h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; }
.course-grid { display: grid; gap: 0.7rem; margin: 1rem 0; }
.course-grid a { background: #f8fafc; border: 1px solid var(--line); border-radius: 6px; display: grid; font-weight: 900; gap: 0.15rem; padding: 0.9rem; text-decoration: none; }
.course-grid span { color: var(--muted); font-size: 0.78rem; font-weight: 800; }

.section { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem); }
.section-inner { margin: 0 auto; max-width: 1220px; }
.section-title { display: grid; gap: 1rem; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr); margin-bottom: 1.5rem; }
.section-title h2 { font-size: clamp(2.4rem, 5vw, 5rem); line-height: 0.95; }
.section-title p, .card p, .review-card p { line-height: 1.58; }

.course-board {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card, .review-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
  padding: 1.1rem;
}
.card span { color: var(--blue); font-weight: 950; }
.card h3 { font-size: 1.35rem; margin: 0.8rem 0 0.5rem; }

.stats-band { background: var(--dark); color: #fff; }
.stats-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 6px; padding: 1.2rem; }
.stat strong { display: block; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1; }
.stat p { color: rgba(255, 255, 255, 0.7); }

.review-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cta { background: var(--blue); color: #fff; }
.cta-panel { align-items: center; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr) auto; }
.cta h2 { font-size: clamp(2.5rem, 5vw, 5rem); line-height: 0.95; }

.footer { background: var(--dark); color: #fff; padding: 1.5rem clamp(1rem, 5vw, 4rem); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; margin: 0 auto; max-width: 1220px; }
.sticky-mobile-book { display: none; }

@media (max-width: 860px) {
  body { padding-bottom: 82px; }
  .nav, .top-strip { display: none; }
  .hero-grid, .section-title, .course-board, .stats-grid, .review-grid, .cta-panel { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.65rem, 11vw, 3.55rem); }
  .button, .button-light { width: 100%; }
  .sticky-mobile-book {
    background: rgba(244, 247, 251, 0.96);
    border-top: 1px solid var(--line);
    bottom: 0;
    display: grid;
    gap: 0.6rem;
    grid-template-columns: 1fr 1fr;
    left: 0;
    padding: 0.7rem;
    position: fixed;
    right: 0;
    z-index: 30;
  }
  .sticky-mobile-book .button,
  .sticky-mobile-book .button-light { min-height: 50px; padding-left: 0.6rem; padding-right: 0.6rem; }
}
