/* Student Debt Mastery — concept 1C "The Number"
   Mobile-first. Base rules are the phone layout; min-width queries add desktop. */
:root {
  --navy: #0F2744;
  --navy-2: #0F2744;
  --navy-3: #163556;
  --paper: #F4F7FB;
  --paper-2: #ffffff;
  --ink: #0F2744;
  --muted: #6B7A90;
  --line: #E1E8F1;
  --gold: #E3B55A;
  --gold-ink: #0F2744;
  --focus: #E3B55A;
  --hero-muted: #C3CFE0;
  --chip: rgba(255, 255, 255, 0.08);
  --sticky-h: 5.75rem;
  --sans: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --serif: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  font-size: 1rem;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom));
}

img { max-width: 100%; }

a { color: inherit; }

:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 2rem, 40rem);
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 2rem, 68rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: #fff;
  color: var(--navy);
  padding: 0.5rem 0.75rem;
  z-index: 20;
}

.skip:focus { top: 0.75rem; }

.site-header {
  background: var(--navy);
  color: #fff;
  padding: 0.9rem 0 0.15rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
  width: fit-content;
}

.lockup {
  display: block;
  height: 36px;
  width: auto;
}

.mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.45rem;
  background: linear-gradient(160deg, #1d4e89, #0b2748);
  border: 1px solid rgba(228, 179, 77, 0.7);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--gold);
  flex: none;
}

.wordmark-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.wordmark-name span {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hero-muted);
  font-weight: 600;
  margin-top: 0.15rem;
}

.hero {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(40, 92, 158, 0.35), transparent 55%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
  color: #fff;
  padding: 1.25rem 0 1.75rem;
}

h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.7rem, 6.4vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0.35rem 0 0.75rem;
}

.subhead {
  margin: 0 0 1rem;
  color: var(--hero-muted);
  font-size: 0.98rem;
  max-width: 38rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.chips li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--chip);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: #fff;
}

.did {
  display: block;
  margin: 0.25rem 0 0.85rem;
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: clamp(2.35rem, 10.2vw, 5.1rem);
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.did:hover { color: var(--gold); }

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0.7rem;
  background: var(--gold);
  color: var(--gold-ink);
  text-decoration: none;
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  border: 0;
}

.cta:hover { filter: brightness(1.05); }

.cta svg { flex: none; }

.match {
  margin: 0.85rem 0 0;
  color: var(--hero-muted);
  font-size: 0.92rem;
}

.section {
  padding: 1.6rem 0;
}

.section h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 1rem;
  color: var(--muted);
}

.quals {
  display: grid;
  gap: 0.55rem;
}

.chip-toggle {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.8rem 0.9rem;
  min-height: 2.75rem;
  cursor: pointer;
}

.chip-toggle input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--navy-2);
  flex: none;
}

.steps {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.85rem 0.95rem 0.85rem 3.1rem;
  position: relative;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.expect {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.expect li {
  background: var(--paper-2);
  border-left: 3px solid var(--gold);
  border-radius: 0.4rem;
  padding: 0.75rem 0.85rem;
}

.faq details {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.5rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 680;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
}

.faq details p {
  margin: 0.35rem 0 0.25rem;
  color: var(--muted);
}

.mid {
  background: var(--navy);
  color: #fff;
}

.mid .lede,
.mid .did-label {
  color: var(--hero-muted);
}

.mid h2 { color: #fff; }

.soft {
  font-size: 1.02rem;
  margin: 0 0 0.8rem;
}

.did-inline {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: clamp(1.55rem, 6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.did-inline:hover { color: var(--gold); }

.alt-cta {
  display: inline-block;
  margin-top: 0.85rem;
  color: var(--hero-muted);
  font-size: 0.95rem;
}

.site-footer {
  background: #e7eef5;
  color: #24384c;
  padding: 1.35rem 0 1.5rem;
  font-size: 0.82rem;
  line-height: 1.5;
}

.site-footer p { margin: 0 0 0.65rem; }

.site-footer p:last-child { margin-bottom: 0; }

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem calc(0.65rem + env(safe-area-inset-bottom));
  background: #06101c;
  color: #fff;
  border-top: 1px solid rgba(228, 179, 77, 0.45);
  text-decoration: none;
  min-height: var(--sticky-h);
}

.sticky-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.sticky-num {
  display: block;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.sticky-go {
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 750;
  border-radius: 999px;
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
  display: inline-flex;
  align-items: center;
}

@media (min-width: 720px) {
  body { padding-bottom: 0; }

  .sticky { display: none; }

  .hero { padding: 2.4rem 0 3rem; }

  .subhead { font-size: 1.08rem; }

  .cta { width: auto; min-width: 16rem; }

  .split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .quals { align-content: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
