:root {
  --ink: #0f1a2e;
  --ink-soft: #2a3d5c;
  --cream: #f7f4ef;
  --white: #ffffff;
  --line: rgba(15, 26, 46, 0.12);
  --accent: #2f6fed;
  --accent-dark: #2458c4;
  --warm: #c4a35a;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(15, 26, 46, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: Fraunces, Georgia, serif;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

a { color: var(--accent); }

.loading {
  text-align: center;
  padding: 4rem;
  color: var(--ink-soft);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 26, 46, 0.96);
  color: #fff;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #5b8ef7);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

.brand-text { display: grid; line-height: 1.2; }
.brand-name { font-weight: 700; font-size: 15px; }
.brand-campus { font-size: 12px; opacity: 0.75; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-left: auto;
}

.nav-link {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-link:hover,
.nav-link.is-active { color: #fff; }

.header-signin { margin-left: 8px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.btn-small { padding: 8px 14px; font-size: 14px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-dark); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.section .btn-ghost,
.content-narrow .btn-ghost {
  color: var(--ink);
  border-color: var(--line);
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 20%, rgba(47, 111, 237, 0.45), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(196, 163, 90, 0.25), transparent 50%),
    linear-gradient(165deg, #0f1a2e 0%, #1a2f52 55%, #243a63 100%);
}

.hero-inner {
  position: relative;
  padding: 80px 0 64px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  opacity: 0.85;
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  max-width: 12ch;
}

.hero-lede {
  font-size: 1.15rem;
  max-width: 42rem;
  opacity: 0.92;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sections */
.section { padding: 64px 0; }

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 8px;
}

.section-lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.muted { color: var(--ink-soft); }

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

.feature-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(15, 26, 46, 0.12);
}

.feature-card h3 { font-size: 1.35rem; }
.feature-card p { margin: 0; color: var(--ink-soft); }

.card-cta {
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

.featured-message {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.featured-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.12);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}

.cta-band {
  background: linear-gradient(135deg, var(--ink), #243a63);
  color: #fff;
}

.cta-inner {
  text-align: center;
  max-width: 560px;
}

.cta-inner p { opacity: 0.9; }

.page-hero {
  padding: 56px 0 24px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }

.content-narrow { max-width: 640px; }

.bullet-list {
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.bullet-list li { margin-bottom: 0.5rem; }

.message-card,
.coming-soon {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

/* Contact form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.contact-form label.full { grid-column: 1 / -1; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status { grid-column: 1 / -1; min-height: 1.2em; font-size: 14px; }
.form-status.is-ok { color: #1a7f4b; }
.form-status.is-bad { color: #b42318; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.site-footer strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--warm);
  text-decoration: none;
}

.footer-links a:hover { text-decoration: underline; }

.footer-meta a { color: var(--warm); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.plain-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--cream);
}

.plain-main { text-align: center; }

@media (max-width: 900px) {
  .feature-grid,
  .steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--ink);
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav.is-open { display: flex; }

  .header-signin { display: none; }

  .contact-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature-card { transition: none; }
}
