:root {
  --ink: #07324a;
  --ink-2: #17425a;
  --teal: #008c83;
  --teal-dark: #006b65;
  --green: #2e7d32;
  --gold: #f2c14e;
  --coral: #d85b4a;
  --sky: #dceff5;
  --mint: #e8f5ee;
  --ivory: #fbfaf4;
  --paper: #ffffff;
  --line: #d7e7df;
  --muted: #5e7280;
  --shadow: 0 18px 50px rgba(7, 50, 74, 0.13);
  --small-shadow: 0 10px 26px rgba(7, 50, 74, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

:focus-visible {
  outline: 3px solid rgba(242, 193, 78, 0.95);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(215, 231, 223, 0.9);
  background: rgba(251, 250, 244, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  min-height: 78px;
}

.brand img {
  width: 210px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.nav-links a {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 750;
}

.nav-links a:hover {
  background: var(--mint);
  color: var(--teal-dark);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 12px 17px;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-cta {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(7, 50, 74, 0.16);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--paper);
  background: var(--teal);
  box-shadow: 0 12px 24px rgba(0, 140, 131, 0.22);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--ink);
  border-color: rgba(7, 50, 74, 0.16);
  background: var(--paper);
}

.button.secondary:hover {
  border-color: rgba(0, 140, 131, 0.45);
  background: var(--mint);
}

.button.subtle {
  color: var(--ink-2);
  border-color: rgba(7, 50, 74, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.button.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: var(--paper);
}

.hero-media,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/borrower-advising-hero.png");
  background-position: center center;
  background-size: cover;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(251, 250, 244, 0.98) 0%, rgba(251, 250, 244, 0.92) 27%, rgba(251, 250, 244, 0.34) 56%, rgba(251, 250, 244, 0.05) 100%),
    linear-gradient(180deg, rgba(7, 50, 74, 0.1) 0%, rgba(7, 50, 74, 0.03) 42%, rgba(7, 50, 74, 0.2) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(340px, 420px);
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 640px;
  padding-block: 64px 42px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow,
.tool-kicker,
.result-label {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  color: var(--teal-dark);
  font-size: 0.77rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--gold);
}

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

h1 {
  max-width: 650px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 4.1rem;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-subtitle {
  max-width: 570px;
  color: var(--ink-2);
  font-size: 1.14rem;
  line-height: 1.56;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid rgba(7, 50, 74, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(7, 50, 74, 0.08);
}

.hero-proof {
  display: grid;
  gap: 10px;
  align-self: end;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: var(--small-shadow);
  backdrop-filter: blur(14px);
}

.hero-proof div {
  padding: 13px 14px;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  background: rgba(251, 250, 244, 0.82);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 3px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-quickstart {
  align-self: center;
  padding: 20px;
  border: 1px solid rgba(215, 231, 223, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-quickstart form {
  display: grid;
  gap: 14px;
}

.hero-quickstart strong {
  display: block;
  color: var(--ink);
  font-size: 1.34rem;
  line-height: 1.12;
}

.hero-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-form-grid .wide {
  grid-column: 1 / -1;
}

.hero-form-grid label {
  display: grid;
  gap: 6px;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 850;
}

.hero-quickstart .button {
  min-height: 46px;
}

.hero-quickstart .fine-print {
  margin: 0;
  font-size: 0.78rem;
}

.trust-band {
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid div {
  min-height: 118px;
  padding: 25px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.metric {
  display: block;
  color: var(--gold);
  font-size: 1.38rem;
  font-weight: 900;
}

.trust-grid span:last-child {
  color: rgba(255, 255, 255, 0.8);
}

.urgent-paths {
  padding-block: 42px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.urgent-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.urgent-intro {
  padding: 6px 16px 6px 0;
}

.urgent-intro h2 {
  margin-bottom: 0;
  font-size: 1.72rem;
}

.urgent-grid a {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7fcf9);
  box-shadow: var(--small-shadow);
  transition: transform 160ms ease, border-color 160ms ease;
}

.urgent-grid a:hover {
  border-color: rgba(0, 140, 131, 0.42);
  transform: translateY(-2px);
}

.urgent-grid strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.urgent-grid span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding-block: 92px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:last-child,
.split-intro p,
.dashboard-grid p,
.school-grid p,
.specialist-grid p {
  color: var(--muted);
  font-size: 1.04rem;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.72fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 34px;
}

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

.scenario-card,
.tool-panel,
.assessment-tool,
.assessment-result,
.dashboard-preview,
.guide-grid a,
.school-list article,
.school-result-card,
.school-detail,
.source-cards a,
.roadmap-grid article,
.specialist-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--small-shadow);
}

.scenario-card {
  display: grid;
  align-content: start;
  min-height: 256px;
  padding: 24px;
}

.scenario-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 950;
}

.scenario-card p {
  color: var(--muted);
}

.scenario-card a {
  align-self: end;
  color: var(--teal-dark);
  font-weight: 850;
}

.assessment-section,
.dashboard-section,
.schools-section {
  background:
    linear-gradient(180deg, rgba(220, 239, 245, 0.58), rgba(232, 245, 238, 0.5));
}

.assessment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}

.assessment-tool,
.tool-panel,
.assessment-result,
.dashboard-preview,
.specialist-form {
  padding: 26px;
}

.tool-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}

.tool-header.compact {
  display: block;
  margin-bottom: 18px;
}

.progress-shell {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9f1ed;
}

.progress-shell span {
  display: block;
  width: 16.666%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transition: width 220ms ease;
}

.quiz-step {
  display: none;
  min-height: 190px;
}

.quiz-step.is-active {
  display: block;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice {
  min-height: 72px;
  padding: 14px;
  border: 1px solid #c9ddd5;
  border-radius: 8px;
  color: var(--ink);
  background: #fbfefd;
  font-weight: 800;
  text-align: left;
}

.choice:hover,
.choice.is-selected {
  border-color: var(--teal);
  background: var(--mint);
  box-shadow: inset 0 0 0 1px rgba(0, 140, 131, 0.24);
}

.range-label,
.field-label,
.contact-grid label,
.calc-grid label,
.checker-stack label,
.specialist-form label,
.school-search label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 850;
}

.range-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}

.range-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.86rem;
}

input:not([type="checkbox"]),
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #c9ddd5;
  border-radius: 7px;
  color: var(--ink);
  background: var(--paper);
}

input:not([type="checkbox"]):focus,
select:focus {
  border-color: var(--teal);
}

.contact-grid,
.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.consent-line {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.tool-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.fine-print {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
}

.assessment-result {
  position: sticky;
  top: 102px;
}

.assessment-result ul {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding-left: 20px;
  color: var(--ink-2);
}

.route-box {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(46, 125, 50, 0.22);
  border-radius: 8px;
  background: var(--mint);
}

.route-box span,
.route-box strong {
  display: block;
}

.route-box span {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.route-box strong {
  margin-block: 4px 7px;
  font-size: 1.35rem;
}

.route-box p {
  margin: 0;
  color: var(--muted);
}

.action-plan {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(7, 50, 74, 0.12);
  border-radius: 8px;
  background: #f8fbfc;
}

.action-plan > span {
  display: block;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.action-plan ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 16px;
  padding-left: 20px;
  color: var(--ink-2);
}

.action-plan li::marker {
  color: var(--teal);
  font-weight: 900;
}

.stories-section {
  background: var(--paper);
}

.stories-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(0, 0.92fr);
  gap: 42px;
  align-items: center;
}

.story-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.story-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.story-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.story-points div {
  padding: 15px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--mint);
}

.story-points strong,
.story-points span {
  display: block;
}

.story-points span {
  color: var(--muted);
  font-size: 0.93rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.calc-grid,
.checker-stack {
  margin-bottom: 16px;
}

.checker-stack {
  display: grid;
  gap: 14px;
}

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

.output-grid div,
.forgiveness-result {
  padding: 15px;
  border-radius: 8px;
  background: #f4faf7;
}

.output-grid span,
.output-grid strong,
.forgiveness-result strong {
  display: block;
}

.output-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.output-grid strong {
  margin-top: 3px;
  color: var(--ink);
  font-size: 1.02rem;
}

.budget-breakdown {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(7, 50, 74, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfefd 0%, #f4faf7 100%);
}

.budget-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}

.budget-head span,
.budget-label {
  color: var(--teal-dark);
  font-size: 0.77rem;
  font-weight: 900;
  text-transform: uppercase;
}

.budget-head strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.budget-breakdown p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.budget-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.weekly-costs,
.budget-summary {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.weekly-costs div,
.budget-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(7, 50, 74, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

.weekly-costs strong,
.budget-summary strong {
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}

.budget-summary .remaining-row {
  margin-top: 4px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
}

.budget-summary .remaining-row strong {
  color: var(--teal-dark);
}

.budget-breakdown .budget-note {
  margin-top: 14px;
  font-size: 0.82rem;
}

.forgiveness-result {
  margin-top: 18px;
  border-left: 4px solid var(--gold);
}

.forgiveness-result p {
  margin: 6px 0 0;
  color: var(--muted);
}

.dashboard-grid,
.school-grid,
.specialist-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 46px;
  align-items: center;
}

.dashboard-preview {
  color: var(--paper);
  border-color: rgba(7, 50, 74, 0.18);
  background: var(--ink);
}

.dash-top,
.dash-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.dash-top {
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.dash-top span {
  color: var(--gold);
  font-weight: 900;
}

.dash-top strong {
  font-size: 1.35rem;
}

.dash-row {
  padding-block: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dash-row span {
  color: rgba(255, 255, 255, 0.72);
}

.dash-progress {
  height: 12px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.dash-progress span {
  display: block;
  width: 67%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.guide-grid a {
  display: grid;
  gap: 8px;
  min-height: 165px;
  padding: 20px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.guide-grid a:hover {
  border-color: rgba(0, 140, 131, 0.44);
  transform: translateY(-2px);
}

.guide-grid strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.guide-grid span {
  color: var(--muted);
  font-size: 0.93rem;
}

.guide-grid em {
  align-self: end;
  color: var(--green);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
}

.guide-grid a.is-hidden {
  display: none;
}

.guide-search,
.school-search {
  max-width: 480px;
}

.guide-search {
  margin-top: 22px;
}

.content-library-link {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.school-search {
  margin-top: 20px;
}

.scorecard-source {
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.scorecard-source strong {
  color: var(--teal-dark);
}

.school-browser {
  display: grid;
  gap: 14px;
  align-self: start;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.school-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  grid-column: 1;
}

.school-list article,
.school-result-card {
  padding: 14px 15px;
}

.school-list article.is-hidden {
  display: none;
}

.school-result-card {
  width: 100%;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease;
}

.school-result-card:hover,
.school-result-card.is-selected {
  border-color: rgba(0, 140, 131, 0.48);
  transform: translateY(-1px);
}

.school-list span,
.school-result-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--teal-dark);
  font-size: 0.77rem;
  font-weight: 900;
}

.school-list p,
.school-result-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.school-result-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

.school-detail {
  position: sticky;
  top: 96px;
  padding: 20px;
}

.school-detail h3 {
  margin-bottom: 8px;
}

.school-detail p {
  color: var(--muted);
}

.school-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.school-metrics div {
  padding: 14px;
  border-radius: 8px;
  background: #f4faf7;
}

.school-metrics span,
.school-metrics strong {
  display: block;
}

.school-metrics span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.school-metrics strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.02rem;
}

.program-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.program-list div {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.program-list strong,
.program-list span {
  display: block;
}

.program-list span {
  color: var(--muted);
  font-size: 0.86rem;
}

.school-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.school-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(0, 140, 131, 0.25);
  border-radius: 7px;
  color: var(--teal-dark);
  background: var(--mint);
  font-weight: 850;
}

.sources-section {
  background: linear-gradient(180deg, #ffffff, #eef8f4);
}

.sources-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1fr);
  gap: 46px;
  align-items: start;
}

.sources-grid p,
.faq-grid p {
  color: var(--muted);
  font-size: 1.04rem;
}

.source-cards {
  display: grid;
  gap: 12px;
}

.source-cards a {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 20px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.source-cards a:hover {
  border-color: rgba(0, 140, 131, 0.44);
  transform: translateY(-2px);
}

.source-cards strong {
  color: var(--ink);
}

.source-cards span {
  color: var(--muted);
}

.roadmap-section {
  background: var(--paper);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.roadmap-grid article {
  min-height: 280px;
  padding: 22px;
}

.roadmap-grid article span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 950;
}

.roadmap-grid p {
  color: var(--muted);
}

.specialist-section {
  background: var(--ink);
  color: var(--paper);
}

.faq-section {
  background: var(--ivory);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  min-height: 62px;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-weight: 950;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.specialist-section .eyebrow,
.specialist-section p {
  color: rgba(255, 255, 255, 0.78);
}

.specialist-section .eyebrow::before {
  background: var(--gold);
}

.specialist-form {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.specialist-form label + label {
  margin-top: 14px;
}

.next-step-card {
  display: grid;
  gap: 18px;
}

.next-step-card > strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.next-step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--ink-2);
}

.site-footer {
  padding-block: 48px 26px;
  background: #061f2f;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 180px;
  gap: 42px;
}

.footer-grid img {
  width: 220px;
  height: auto;
  margin-bottom: 16px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.96);
}

.footer-grid strong,
.footer-grid a {
  display: block;
}

.footer-grid strong {
  margin-bottom: 12px;
  color: var(--paper);
}

.footer-grid a {
  margin-bottom: 9px;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
}

.content-header {
  position: relative;
}

.article-page {
  background: var(--ivory);
}

.article-hero {
  padding-block: 86px 58px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(251, 250, 244, 0.98), rgba(251, 250, 244, 0.88)),
    url("assets/borrower-advising-hero.png") center / cover;
}

.article-hero-inner {
  max-width: 880px;
}

.article-hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: 3.35rem;
  line-height: 1.02;
}

.article-hero p {
  max-width: 760px;
  color: var(--ink-2);
  font-size: 1.12rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.article-meta span {
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(7, 50, 74, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 850;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
  padding-block: 56px 82px;
}

.article-body,
.article-sidebar .sidebar-panel,
.library-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--small-shadow);
}

.article-body {
  padding: 34px;
}

.article-body h2 {
  margin-top: 34px;
  font-size: 1.72rem;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin-top: 24px;
}

.article-body p,
.article-body li {
  color: var(--ink-2);
  font-size: 1.01rem;
}

.article-body ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.compliance-note,
.source-note {
  padding: 18px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #f8fbfc;
}

.compliance-note p,
.source-note p {
  margin-bottom: 0;
}

.article-sidebar {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 14px;
}

.sidebar-panel {
  padding: 20px;
}

.sidebar-panel strong,
.related-links strong {
  display: block;
}

.sidebar-panel p,
.related-links span {
  color: var(--muted);
  font-size: 0.93rem;
}

.related-links {
  display: grid;
  gap: 12px;
}

.related-links a {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.related-links a:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.library-page .article-hero {
  background:
    linear-gradient(90deg, rgba(251, 250, 244, 0.98), rgba(232, 245, 238, 0.86)),
    url("assets/borrower-kitchen-planning.png") center / cover;
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-block: 46px 82px;
}

.library-card {
  display: grid;
  gap: 8px;
  min-height: 210px;
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.library-card:hover {
  border-color: rgba(0, 140, 131, 0.44);
  transform: translateY(-2px);
}

.library-card span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.library-card strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.22;
}

.library-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.compact-footer {
  padding-block: 24px;
}

.compact-footer .footer-bottom {
  margin-top: 0;
}

.mobile-sticky-cta {
  display: none;
}

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

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-block: 54px 34px;
  }

  .hero-proof,
  .hero-quickstart {
    max-width: 680px;
  }

  .trust-grid,
  .guide-grid,
  .roadmap-grid,
  .urgent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assessment-layout,
  .tools-grid,
  .dashboard-grid,
  .school-grid,
  .specialist-grid,
  .stories-grid,
  .sources-grid,
  .faq-grid,
  .article-layout,
  .library-grid {
    grid-template-columns: 1fr;
  }

  .assessment-result {
    position: static;
  }

  .article-sidebar {
    position: static;
  }

  .school-browser,
  .school-list {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .brand img {
    width: 186px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 70px;
    gap: 14px;
  }

  .brand img {
    width: 172px;
  }

  .header-cta {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(251, 250, 244, 0.98) 0%, rgba(251, 250, 244, 0.92) 44%, rgba(251, 250, 244, 0.45) 72%, rgba(7, 50, 74, 0.2) 100%),
      linear-gradient(90deg, rgba(251, 250, 244, 0.94), rgba(251, 250, 244, 0.2));
  }

  .hero-grid {
    min-height: auto;
    gap: 20px;
    align-content: start;
    padding-block: 28px 24px;
  }

  h1 {
    font-size: 2.42rem;
    line-height: 1;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero-actions,
  .tool-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .tool-actions .button {
    width: 100%;
  }

  .section {
    padding-block: 54px;
  }

  .split-intro,
  .scenario-grid,
  .trust-grid,
  .urgent-grid,
  .guide-grid,
  .roadmap-grid,
  .contact-grid,
  .calc-grid,
  .output-grid,
  .budget-columns {
    grid-template-columns: 1fr;
  }

  .urgent-intro {
    padding-right: 0;
  }

  .trust-grid div,
  .trust-grid div:last-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    min-height: auto;
  }

  .tool-header {
    grid-template-columns: 1fr;
  }

  .hero-quickstart {
    padding: 16px;
  }

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

  .hero-badges span {
    min-height: 30px;
    font-size: 0.8rem;
  }

  .trust-band {
    display: none;
  }

  .hero-actions,
  .hero-badges {
    display: none;
  }

  .urgent-paths {
    padding-block: 24px;
  }

  .urgent-grid a {
    min-height: auto;
    padding: 16px;
  }

  .school-detail {
    position: static;
  }

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

  .article-hero {
    padding-block: 58px 38px;
  }

  .article-hero h1 {
    font-size: 2.25rem;
  }

  .article-body {
    padding: 24px;
  }

  .footer-grid,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mobile-sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid rgba(7, 50, 74, 0.14);
    background: rgba(251, 250, 244, 0.96);
    backdrop-filter: blur(14px);
  }

  .mobile-sticky-cta a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: var(--paper);
    background: var(--ink);
    font-size: 0.88rem;
    font-weight: 900;
  }

  .mobile-sticky-cta a:first-child {
    color: var(--ink);
    border: 1px solid rgba(7, 50, 74, 0.16);
    background: var(--paper);
  }
}

@media (max-width: 440px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  h1 {
    font-size: 2.1rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-proof,
  .hero-quickstart {
    padding: 10px;
  }

  .assessment-tool,
  .tool-panel,
  .assessment-result,
  .dashboard-preview,
  .specialist-form {
    padding: 20px;
  }

  .brand img {
    width: 148px;
  }

  .header-cta {
    min-height: 38px;
    padding: 9px 10px;
    font-size: 0.8rem;
  }

  .school-metrics {
    grid-template-columns: 1fr;
  }
}
