
/* ==========================================================================
   College Debt Free — design system
   Palette is independent of Bob Jones University but harmonizes with it:
   deep navy + teal + "scholarship gold". All text/background pairings below
   meet WCAG AA (4.5:1) or better.
   ========================================================================== */

:root {
  /* --- Brand ------------------------------------------------------------ */
  --navy-900: #071a33;
  --navy-800: #0b2545;   /* primary brand */
  --navy-700: #14385f;
  --navy-600: #1e4e7e;
  --navy-500: #33689b;

  --teal-800: #075b68;
  --teal-700: #0a7382;   /* link text on white — 5.5:1 */
  --teal-600: #0e93a6;
  --teal-500: #16aec2;   /* decorative only */
  --teal-100: #dff4f7;

  --gold-600: #c9820f;
  --gold-500: #f2a93b;   /* primary CTA — pair with navy text (7.7:1) */
  --gold-400: #f7c06e;
  --gold-100: #fdf1dc;

  /* --- Neutrals --------------------------------------------------------- */
  --ink:    #10202f;
  --body:   #33475b;
  --muted:  #5d7288;
  --line:   #dce4ec;
  --line-soft: #eaf0f5;
  --off:    #f4f7fa;
  --sand:   #faf6ef;
  --white:  #ffffff;

  --danger: #b3261e;
  --success:#0f6f4a;

  /* --- Type ------------------------------------------------------------- */
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.90rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.13rem + 0.35vw, 1.42rem);
  --step-2:  clamp(1.44rem, 1.32rem + 0.60vw, 1.86rem);
  --step-3:  clamp(1.73rem, 1.52rem + 1.05vw, 2.44rem);
  --step-4:  clamp(2.07rem, 1.72rem + 1.75vw, 3.20rem);
  --step-5:  clamp(2.49rem, 1.92rem + 2.85vw, 4.20rem);

  /* --- Space / shape ---------------------------------------------------- */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.25rem, 7vw, 6rem);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --shadow-sm: 0 1px 2px rgba(7, 26, 51, .06), 0 2px 6px rgba(7, 26, 51, .05);
  --shadow-md: 0 4px 12px rgba(7, 26, 51, .08), 0 12px 28px rgba(7, 26, 51, .07);
  --shadow-lg: 0 10px 24px rgba(7, 26, 51, .10), 0 28px 60px rgba(7, 26, 51, .14);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); font-family: var(--font-sans); font-weight: 700; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--teal-800); }

strong, b { font-weight: 700; color: var(--ink); }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--teal-600);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--gold-100); color: var(--navy-800); }

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.25rem, 4.5vw, 3.5rem); }
.section--sand { background: var(--sand); }
.section--off  { background: var(--off); }
.section--navy { background: var(--navy-800); color: #cfdcea; }
.section--navy h2, .section--navy h3 { color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-800); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Section heading block */
.sec-head { max-width: 42rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.55; }

.eyebrow {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: .7rem;
}
.section--navy .eyebrow { color: var(--gold-400); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.2;
  padding: .9rem 1.6rem;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform .16s var(--ease), background-color .16s var(--ease),
              border-color .16s var(--ease), box-shadow .16s var(--ease), color .16s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 1px 2px rgba(7,26,51,.10), 0 6px 16px rgba(201,130,15,.30);
}
.btn--primary:hover { background: var(--gold-400); color: var(--navy-900); box-shadow: 0 2px 4px rgba(7,26,51,.12), 0 10px 24px rgba(201,130,15,.38); }

.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }

.btn--outline { background: transparent; border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: #fff; }

.btn--ghost-light { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(3px); }
.btn--ghost-light:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.btn--block { width: 100%; }
.btn--lg { font-size: var(--step-1); padding: 1.05rem 2rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.24rem;
  color: var(--navy-800); letter-spacing: -.015em;
}
.brand__tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal-700);
}

.nav { display: flex; align-items: center; gap: .1rem; }
.nav a {
  font-size: .94rem; font-weight: 600; color: var(--navy-800);
  text-decoration: none; padding: .55rem .62rem; border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
/* The in-nav CTA is for the mobile drawer only; desktop uses .header-actions */
.nav > .btn { display: none; }
.nav a:hover { background: var(--off); color: var(--navy-700); }
.nav a[aria-current="page"] { color: var(--teal-700); box-shadow: inset 0 -2px 0 var(--teal-600); border-radius: 0; }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none; width: 46px; height: 42px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy-800); position: relative; transition: background .12s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy-800);
  transition: transform .2s var(--ease), top .2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 950px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    box-shadow: var(--shadow-md);
    max-height: calc(100dvh - 74px); overflow-y: auto;
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .95rem .25rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; font-size: 1.06rem; white-space: normal; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav > .btn { display: inline-flex; margin-top: 1.1rem; border-bottom: 0; }
}

/* Below 1120px the desktop CTA label is too long to sit beside five nav items */
@media (min-width: 951px) and (max-width: 1120px) {
  .header-actions .btn { font-size: .9rem; padding: .75rem 1rem; }
  .brand__tag { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { position: relative; background: var(--navy-900); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7,26,51,.94) 0%, rgba(11,37,69,.88) 42%, rgba(11,37,69,.55) 72%, rgba(11,37,69,.42) 100%);
}
@media (max-width: 900px) {
  .hero__media::after { background: linear-gradient(180deg, rgba(7,26,51,.90) 0%, rgba(11,37,69,.88) 55%, rgba(11,37,69,.93) 100%); }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; } }

.hero__copy { color: #d7e3f0; max-width: 34rem; }
.hero__copy h1 { color: #fff; margin-bottom: .55rem; }
.hero__lede { font-size: var(--step-1); line-height: 1.55; color: #c2d3e5; margin-bottom: 1.75rem; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(242,169,59,.16);
  border: 1px solid rgba(242,169,59,.45);
  color: var(--gold-400);
  font-size: var(--step--1); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.15rem;
}
.hero__proof {
  margin-top: 1.6rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem;
}
.hero__proof div { min-width: 7rem; }
.hero__proof b {
  display: block; font-family: var(--font-display); font-size: 1.7rem;
  color: #fff; line-height: 1.1;
}
.hero__proof span { font-size: var(--step--1); color: #9db4cc; }

/* ==========================================================================
   Lead capture card — the primary conversion surface
   ========================================================================== */

.lead-card {
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.5);
}
.lead-card__head {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: #fff; padding: 1.35rem 1.6rem 1.25rem;
  position: relative;
}
.lead-card__head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--teal-500));
}
.lead-card__head h2 { color: #fff; font-size: var(--step-2); margin-bottom: .3rem; }
.lead-card__head p { color: #b9cde2; font-size: .95rem; margin: 0; }
.lead-card__body { padding: 1.5rem 1.6rem 1.7rem; }

.lead-card--inline { max-width: 40rem; margin-inline: auto; }

/* ==========================================================================
   Forms
   ========================================================================== */

.field { margin-bottom: 1rem; }
.field label, .fieldset__legend {
  display: block; font-size: .875rem; font-weight: 700; color: var(--ink);
  margin-bottom: .35rem; letter-spacing: .005em;
}
.field .req { color: var(--danger); }
.field .hint { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); margin-top: .3rem; }

.input, .select, .textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  padding: .72rem .85rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: #9aa9b9; }
.input:hover, .select:hover, .textarea:hover { border-color: #c3d0dd; }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(22,174,194,.20);
}
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); }
.textarea { min-height: 7.5rem; resize: vertical; }

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='none' stroke='%235d7288' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
  padding-right: 2.4rem;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
@media (max-width: 460px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

.fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.check-grid { display: grid; gap: .45rem; }
.check {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .93rem; color: var(--body); cursor: pointer;
  padding: .5rem .65rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.check:hover { border-color: #c3d0dd; background: var(--off); }
.check input { margin: .22rem 0 0; accent-color: var(--teal-700); width: 1rem; height: 1rem; flex: none; }
.check:has(input:checked) { border-color: var(--teal-600); background: var(--teal-100); }

/* Honeypot — hidden from humans, catches naive bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note {
  font-size: .82rem; color: var(--muted); line-height: 1.5;
  margin-top: .9rem; display: flex; gap: .45rem; align-items: flex-start;
}
.form-note svg { flex: none; margin-top: .15rem; }

.form-alert {
  padding: .85rem 1rem; border-radius: var(--r-sm); font-size: .93rem;
  margin-bottom: 1rem; border-left: 4px solid;
}
.form-alert--error   { background: #fdf0ef; border-color: var(--danger); color: #7d1a15; }
.form-alert--success { background: #eaf6f1; border-color: var(--success); color: #0b5136; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.6rem;
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--body); font-size: .975rem; }
.card__link { margin-top: auto; padding-top: 1rem; font-weight: 700; font-size: .95rem; text-decoration: none; }
.card__link::after { content: " →"; }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #c9d6e2; }

.card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--teal-100); color: var(--teal-800);
}
.card__icon--gold { background: var(--gold-100); color: var(--gold-600); }
.card__icon--navy { background: #e5ecf4; color: var(--navy-700); }

/* Post cards */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .8rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 700; margin-bottom: .5rem; }
.post-card h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.post-card p { font-size: .95rem; color: var(--muted); }
.post-card__more { margin-top: auto; padding-top: .9rem; font-weight: 700; font-size: .92rem; color: var(--teal-700); }
.post-card__more::after { content: " →"; }

/* ==========================================================================
   Stat band / steps / misc blocks
   ========================================================================== */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; } }
.stat b {
  display: block; font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 2.9rem);
  color: var(--navy-800); line-height: 1.05; letter-spacing: -.02em;
}
.stat span { font-size: .92rem; color: var(--muted); display: block; margin-top: .3rem; }
.section--navy .stat b { color: #fff; }
.section--navy .stat span { color: #9db4cc; }

.steps { counter-reset: step; display: grid; gap: 1.5rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.15rem; align-items: start; }
.step__num {
  counter-increment: step;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy-800); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 1.05rem; font-family: var(--font-display);
}
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: .3rem; }
.step p { font-size: .975rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

/* Marker is absolutely positioned rather than a grid/flex item, so mixed
   inline content (<strong> plus loose text) stays on one line. */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2.1rem; font-size: 1rem; line-height: 1.55; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .22em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='10' viewBox='0 0 13 10'%3E%3Cpath fill='none' stroke='%23075b68' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M1 5l3.5 3.5L12 1.5'/%3E%3C/svg%3E") center no-repeat;
}
.section--navy .checklist li::before { background-color: rgba(255,255,255,.14); }

.callout {
  background: var(--gold-100); border-left: 4px solid var(--gold-500);
  padding: 1.15rem 1.35rem; border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: .98rem;
}
.callout strong { color: var(--navy-800); }

.note-affiliation {
  font-size: .87rem; color: var(--muted); line-height: 1.6;
  background: var(--off); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1rem 1.15rem;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 62%, var(--navy-600) 100%);
  color: #d3e0ee; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: -35%; right: -8%; width: 34rem; height: 34rem;
  background: radial-gradient(circle, rgba(22,174,194,.22), transparent 68%);
  pointer-events: none;
}
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9cde2; font-size: var(--step-1); }

/* ==========================================================================
   Article / prose
   ========================================================================== */

.prose { max-width: 68ch; font-size: 1.06rem; line-height: 1.75; }
.prose h2 { margin-top: 2.25em; font-size: var(--step-2); }
.prose h3 { margin-top: 1.75em; }
.prose > *:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
  margin: 1.75em 0; padding: .4em 0 .4em 1.35em;
  border-left: 3px solid var(--gold-500);
  font-family: var(--font-display); font-size: 1.14em; color: var(--ink); font-style: italic;
}
.prose img { border-radius: var(--r-md); margin: 1.75em 0; }
.prose a { font-weight: 600; }

.page-head { background: var(--off); border-bottom: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { font-size: var(--step-4); margin-bottom: .4rem; }
.page-head p { color: var(--muted); font-size: var(--step-1); max-width: 46rem; }

.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: .85rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin-inline: .4rem; }

.post-meta { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--navy-900); color: #93a9c1; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .95rem; }
.site-footer a { color: #cddced; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.25rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__tag { color: var(--teal-500); }
.footer-bottom {
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .85rem; color: #7d94ad;
}

/* ==========================================================================
   Sticky mobile CTA
   ========================================================================== */

.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(7,26,51,.10);
}
@media (max-width: 700px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 4.75rem; }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .75rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 2.25rem; }
.muted { color: var(--muted); }
.lede { font-size: var(--step-1); line-height: 1.6; color: var(--muted); }
