:root {
  color-scheme: light;
  --ink: #15212b;
  --ink-soft: #2b3b47;
  --graphite: #35424b;
  --graphite-dark: #2b363e;
  --muted: #66747d;
  --line: #d9e2e6;
  --paper: #fffdf8;
  --surface: #ffffff;
  --mist: #eaf5f2;
  --teal: #18a999;
  --teal-dark: #0b6f64;
  --coral: #f26d5b;
  --sun: #ffe17a;
  --violet: #6e5bd9;
  --shadow: 0 18px 50px rgba(21, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 10px 30px rgba(21, 33, 43, 0.1);
  backdrop-filter: blur(16px);
}

.site-header.simple {
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 750;
}

.nav-links a,
.student-link,
.sponsor-link,
.primary-action,
.secondary-action,
.login-card button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 850;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.student-link {
  padding: 0 14px;
  background: var(--sun);
  color: var(--ink);
}

.sponsor-link {
  padding: 0 14px;
  background: var(--graphite);
  color: #fff;
}

.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 126px 0 78px;
  background:
    linear-gradient(90deg, rgba(21, 33, 43, 0.92) 0%, rgba(21, 33, 43, 0.76) 38%, rgba(21, 33, 43, 0.3) 70%, rgba(21, 33, 43, 0.04) 100%),
    url("./assets/hero-students.jpg") center right / cover no-repeat;
}

.hero-content,
.intro-band,
.city-panel,
.offers,
.steps,
.student-promise,
.sponsor-band,
.login-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content {
  color: #fff;
}

.eyebrow,
.section-kicker,
.offer-type {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.12rem, 2.3vw, 1.45rem);
  line-height: 1.5;
}

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

.primary-action {
  padding: 0 18px;
  background: var(--sun);
  color: var(--ink);
}

.primary-action.dark {
  background: var(--graphite);
  color: #fff;
}

.secondary-action {
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #fff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 800;
}

.intro-band,
.student-promise,
.sponsor-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding: 58px 0;
}

.intro-band .section-visual,
.student-promise .section-visual,
.sponsor-band .section-visual {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.intro-text {
  grid-column: 1;
}

.intro-band h2,
.section-heading h2,
.steps h2,
.student-promise h2,
.sponsor-band h2,
.login-intro h1 {
  margin-top: 10px;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.intro-band > p,
.section-heading p,
.student-promise > p,
.sponsor-copy p,
.login-intro p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.city-panel {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 28px;
  align-items: end;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.city-panel .section-visual {
  grid-column: 1 / -1;
}

.section-visual {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.section-visual img,
.offer-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-visual {
  aspect-ratio: 4 / 3;
}

.section-visual.wide {
  aspect-ratio: 16 / 7;
}

.section-heading {
  max-width: 760px;
}

.section-heading.compact {
  max-width: 820px;
  margin-bottom: 26px;
}

.city-selector {
  display: grid;
  gap: 8px;
}

.city-selector label,
.login-card label {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 850;
}

.city-selector select,
.login-card input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
}

.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 26px 0 66px;
}

.offer-card,
.step-grid article,
.login-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(21, 33, 43, 0.07);
  overflow: hidden;
}

.offer-card.featured {
  grid-column: span 2;
}

.offer-image {
  height: 190px;
}

.offer-card.featured .offer-image {
  height: 236px;
}

.offer-body {
  padding: 22px;
}

.offer-body h3 {
  margin-top: 8px;
  font-size: 1.38rem;
  line-height: 1.14;
}

.offer-body p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.52;
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.offer-meta span {
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 850;
}

.steps {
  padding: 64px 0;
}

.steps-visual {
  margin-bottom: 24px;
  aspect-ratio: 16 / 6;
}

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

.step-grid article {
  min-height: 240px;
  padding: 24px;
}

.step-number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--graphite);
  color: #fff;
  font-weight: 950;
}

.step-grid h3 {
  margin-top: 22px;
  font-size: 1.25rem;
}

.step-grid p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.student-promise {
  padding: 58px 42px;
  border-radius: 8px;
  background: var(--graphite);
  color: #fff;
}

.dark-visual {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.student-promise .section-kicker {
  color: var(--sun);
}

.student-promise > p {
  color: rgba(255, 255, 255, 0.78);
}

.sponsor-band {
  margin-top: 48px;
  margin-bottom: 72px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.sponsor-band .primary-action {
  justify-self: start;
}

.login-page {
  min-height: 100vh;
  background: var(--mist);
}

.student-auth-page {
  background:
    linear-gradient(135deg, rgba(255, 225, 122, 0.35), rgba(234, 245, 242, 0.9)),
    var(--mist);
}

.login-shell {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 1fr minmax(320px, 440px);
  gap: 36px;
  align-items: center;
  padding: 58px 0;
}

.login-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.login-preview span {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink-soft);
  font-weight: 850;
}

.login-card {
  padding: 28px;
}

.login-card h2 {
  margin-bottom: 22px;
  font-size: 1.5rem;
}

.login-card form {
  display: grid;
  gap: 12px;
}

.login-card button {
  width: 100%;
  margin-top: 8px;
  border: 0;
  background: var(--graphite);
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.login-card p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.student-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 460px);
}

.student-intro {
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(21, 33, 43, 0.1), rgba(21, 33, 43, 0.02)),
    #fff;
  box-shadow: var(--shadow);
}

.social-card {
  border-color: rgba(21, 33, 43, 0.08);
}

.social-options {
  display: grid;
  gap: 10px;
}

.social-button {
  width: 100%;
  position: relative;
  gap: 12px;
  min-height: 48px;
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.login-card .social-button {
  min-height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.login-card .social-button.apple {
  border-color: var(--graphite-dark);
  background: var(--graphite);
  color: #fff;
}

.social-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
}

.social-icon img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 720px;
    background:
      linear-gradient(180deg, rgba(21, 33, 43, 0.94) 0%, rgba(21, 33, 43, 0.74) 58%, rgba(21, 33, 43, 0.35) 100%),
      url("./assets/hero-students.jpg") center bottom / cover no-repeat;
  }

  .intro-band,
  .city-panel,
  .student-promise,
  .sponsor-band,
  .login-shell {
    grid-template-columns: 1fr;
  }

  .intro-band .section-visual,
  .student-promise .section-visual,
  .sponsor-band .section-visual,
  .intro-text {
    grid-column: auto;
    grid-row: auto;
  }

  .steps-visual,
  .section-visual.wide {
    aspect-ratio: 4 / 3;
  }

  .offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-card.featured {
    grid-column: span 2;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 18px, 1180px);
    margin-top: 9px;
  }

  .brand span {
    font-size: 0.96rem;
  }

  .header-actions {
    gap: 6px;
  }

  .student-link,
  .sponsor-link {
    padding: 0 10px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 700px;
    padding-top: 102px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.1rem);
  }

  .hero-actions {
    display: grid;
  }

  .intro-band,
  .steps,
  .sponsor-band {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .city-panel,
  .student-promise,
  .sponsor-band {
    padding: 24px;
  }

  .offers {
    grid-template-columns: 1fr;
  }

  .offer-card.featured {
    grid-column: span 1;
  }

  .login-shell {
    padding: 34px 0;
  }
}
