/* ==========================================================================
   Arnold Medical Weight Loss — design system
   Brand: deep indigo + maroon + measuring-tape gold (from the clinic sign)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --indigo-900: #16104f;
  --indigo-800: #1e1670;
  --indigo-700: #2a1e8f;
  --indigo-600: #3a2bb0;
  --indigo-500: #5344c9;
  --indigo-200: #c9c3ef;
  --indigo-100: #e7e4f8;
  --indigo-50:  #f4f2fd;

  --maroon-800: #6d1521;
  --maroon-700: #8c1d2c;
  --maroon-600: #a82438;
  --maroon-100: #f7e3e6;

  --gold-600: #8f6b05;
  --gold-500: #f2c230;
  --gold-200: #fbeab4;
  --gold-50:  #fdf7e4;

  --teal-700: #0d6a63;
  --teal-500: #14958b;
  --teal-100: #d9f2ef;

  /* Neutrals */
  --ink-900: #14131c;
  --ink-800: #24222f;
  --ink-700: #3b3849;
  --ink-600: #56526a;
  --ink-500: #6c6784;
  --ink-400: #757087;
  --ink-300: #c8c5d3;
  /* Interactive boundaries (inputs, outline buttons) need 3:1 against their
     background under WCAG 1.4.11; --ink-300 is decorative-only. */
  --border-strong: #8b8799;
  --ink-200: #e3e1ea;
  --ink-100: #f1f0f5;
  --ink-50:  #f8f8fb;
  --white: #ffffff;

  --ok-700: #15803d;
  --ok-100: #dcfce7;
  --warn-700: #92590a;
  --warn-100: #fef3c7;
  --err-700: #b91c1c;
  --err-100: #fee2e2;

  /* Typography */
  --font-display: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Spacing / layout */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(20, 19, 28, .06);
  --shadow-sm: 0 2px 8px rgba(20, 19, 28, .07);
  --shadow-md: 0 8px 26px rgba(20, 19, 28, .09);
  --shadow-lg: 0 22px 60px rgba(22, 16, 79, .14);

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--indigo-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--indigo-600); }
:focus-visible { outline: 3px solid var(--indigo-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -.015em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.65rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); }
h4 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 650; letter-spacing: -.005em; }
p { text-wrap: pretty; }

.lede { font-size: clamp(1.0625rem, 1rem + .45vw, 1.3rem); line-height: 1.6; color: var(--ink-600); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--maroon-700);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.eyebrow--light { color: var(--gold-200); }

.muted { color: var(--ink-500); }
.small { font-size: .9rem; }
.xsmall { font-size: .8125rem; line-height: 1.55; }

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

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--tint { background: var(--ink-50); }
.section--indigo { background: var(--indigo-900); color: var(--indigo-200); }
.section--indigo h2, .section--indigo h3 { color: var(--white); }

.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }
.center { text-align: center; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head > * + * { margin-top: .85rem; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .85fr 1.15fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn-primary { background: var(--indigo-700); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--indigo-600); color: var(--white); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--maroon-700); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--maroon-600); color: var(--white); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold-500); color: var(--indigo-900); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-200); color: var(--indigo-900); }
.btn-outline { border-color: var(--border-strong); color: var(--ink-800); background: var(--white); }
.btn-outline:hover { border-color: var(--indigo-700); color: var(--indigo-700); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: var(--white); border-color: var(--white); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.0625rem; }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--ink-200);
}

.topbar { background: var(--indigo-900); color: var(--indigo-200); font-size: .85rem; }
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: .5rem;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--gold-500); }
.topbar svg { width: 15px; height: 15px; flex: none; }
.topbar .topbar-note { display: inline-flex; align-items: center; gap: .45rem; }
.topbar-contacts { display: inline-flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
@media (max-width: 640px) {
  .topbar .topbar-note { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar-contacts { gap: .85rem; justify-content: center; }
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.06; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--indigo-900); letter-spacing: -.02em; }
.brand-sub { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--maroon-700); }
@media (max-width: 380px) { .brand-text { display: none; } }

.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; padding: 0; }
.nav-links a {
  display: block;
  padding: .55rem .8rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 550;
  color: var(--ink-700);
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--indigo-50); color: var(--indigo-700); }
.nav-links a[aria-current="page"] { color: var(--indigo-700); background: var(--indigo-50); font-weight: 650; }
.nav-cta { display: flex; align-items: center; gap: .6rem; flex: none; }
.nav-toggle { display: none; }

@media (max-width: 1060px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid var(--border-strong);
    background: var(--white);
    cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: block; }

  .mobile-menu[hidden] { display: none; }
  .mobile-menu {
    border-top: 1px solid var(--ink-200);
    background: var(--white);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .mobile-menu ul { list-style: none; padding: .75rem 0 1.25rem; margin: 0; }
  .mobile-menu a {
    display: block;
    padding: .85rem var(--gutter);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink-800);
    text-decoration: none;
    border-bottom: 1px solid var(--ink-100);
  }
  .mobile-menu a[aria-current="page"] { color: var(--indigo-700); }
  .mobile-menu .btn-row { padding: 1rem var(--gutter) 0; }
  .mobile-menu .btn { flex: 1 1 100%; }
}
@media (min-width: 1061px) { .mobile-menu { display: none !important; } }

.skip-link {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -120%);
  background: var(--indigo-700);
  color: var(--white);
  padding: .7rem 1.2rem;
  border-radius: 0 0 10px 10px;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--indigo-900); color: var(--indigo-200); isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(83, 68, 201, .55), transparent 62%),
    radial-gradient(760px 520px at 8% 108%, rgba(140, 29, 44, .5), transparent 60%),
    linear-gradient(155deg, #16104f 0%, #1e1670 52%, #241a5e 100%);
}
.hero .wrap { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold-500); }
.hero .lede { color: rgba(255, 255, 255, .84); max-width: 56ch; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--gold-500); }

/* Hero call-to-action column: three real buttons, then two static badges.
   The badges are deliberately NOT stretched to the button width — they are not
   clickable, and a full-width pill reads as a disabled button. */
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.hero-actions .btn { width: 100%; max-width: 20rem; }
.hero-actions .hero-badge { margin-top: .15rem; }
.btn-twoline { flex-direction: column; gap: .15rem; white-space: normal; line-height: 1.25; }
.btn-twoline-top { display: inline-flex; align-items: center; gap: .55rem; }
.btn-twoline-sub { font-size: 1em; font-weight: 650; letter-spacing: .01em; }

/* Stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: rgba(22, 16, 79, .55); padding: 1.15rem 1.25rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.15rem);
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1.05;
}
.stat-label { font-size: .82rem; color: rgba(255, 255, 255, .74); margin-top: .3rem; line-height: 1.4; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card > * + * { margin-top: .8rem; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--indigo-200); }
.card--flush { padding: 0; overflow: hidden; }
.card--tint { background: var(--ink-50); }
.card--feature { border-color: var(--indigo-200); background: linear-gradient(170deg, var(--indigo-50), var(--white) 55%); }
.card--dark { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .82); }
.card--dark h3, .card--dark h4 { color: var(--white); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--indigo-50);
  color: var(--indigo-700);
  margin-bottom: .3rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon--maroon { background: var(--maroon-100); color: var(--maroon-700); }
.card-icon--gold { background: var(--gold-50); color: var(--gold-600); }
.card-icon--teal { background: var(--teal-100); color: var(--teal-700); }

.card-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; font-size: .95rem; }
.card-link svg { width: 1em; height: 1em; transition: transform .15s ease; }
.card-link:hover svg { transform: translateX(3px); }
a.card { text-decoration: none; color: inherit; display: block; }

/* Badge / pill */
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.pill-gold { background: var(--gold-500); color: var(--indigo-900); }
.pill-indigo { background: var(--indigo-100); color: var(--indigo-800); }
.pill-maroon { background: var(--maroon-100); color: var(--maroon-800); }
.pill-teal { background: var(--teal-100); color: var(--teal-700); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.step-num {
  counter-increment: step;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--indigo-700);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.step-num::before { content: counter(step); }
.step-body > * + * { margin-top: .35rem; }
.step-body h3 { font-size: 1.15rem; }

/* ---------- Feature list ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: .75rem; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.checklist li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: .18rem;
  border-radius: 50%;
  background-color: var(--teal-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d6a63' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 13px;
  background-repeat: no-repeat;
}
.checklist--light li::before {
  background-color: rgba(242, 194, 48, .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2c230' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ---------- Callout ---------- */
.callout {
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-left: 5px solid var(--indigo-700);
  background: var(--indigo-50);
}
.callout > * + * { margin-top: .6rem; }
.callout--gold { border-left-color: var(--gold-500); background: var(--gold-50); }
.callout--maroon { border-left-color: var(--maroon-700); background: var(--maroon-100); }
.callout--teal { border-left-color: var(--teal-500); background: var(--teal-100); }
.callout h3, .callout h4 { color: var(--ink-900); }

/* Placeholder marker for copy the clinic still has to supply */
.tk {
  background: var(--warn-100);
  color: var(--warn-700);
  border: 1px dashed var(--warn-700);
  border-radius: 6px;
  padding: .05em .45em;
  font-family: var(--font-mono);
  font-size: .85em;
  font-weight: 600;
}

/* ---------- Media ---------- */
.media { border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-100); box-shadow: var(--shadow-md); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1 / 1; }

.video-frame { position: relative; padding-top: 56.25%; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-900); box-shadow: var(--shadow-lg); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

figure { margin: 0; }
figcaption { font-size: .85rem; color: var(--ink-500); margin-top: .6rem; }

/* ---------- Table ---------- */
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--ink-200); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 460px; }
table.data th, table.data td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--ink-200); }
table.data thead th { background: var(--ink-50); font-weight: 700; color: var(--ink-900); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
table.data tbody tr:last-child td { border-bottom: 0; }

/* ---------- Accordion ---------- */
.accordion { border: 1px solid var(--ink-200); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.accordion + .accordion { margin-top: .75rem; }
.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.35rem;
  font-weight: 650;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  transition: transform .2s ease;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1e8f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.accordion[open] summary::after { transform: rotate(180deg); }
.accordion[open] summary { border-bottom: 1px solid var(--ink-200); }
.accordion-body { padding: 1.1rem 1.35rem 1.35rem; }
.accordion-body > * + * { margin-top: .75rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--maroon-800), var(--maroon-700) 55%, #a32b3d); color: rgba(255, 255, 255, .9); }
.cta-band h2 { color: var(--white); }
.cta-band .wrap { padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-inner { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr auto; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-900); color: rgba(255, 255, 255, .66); font-size: .93rem; }
.site-footer .wrap { padding-block: clamp(3rem, 5vw, 4rem) 2rem; }
.footer-grid { display: grid; gap: 2.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: var(--white); font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
/* :not(.btn) so buttons in the footer keep their own foreground — otherwise the
   gold CTA inherits near-white text on a gold fill. */
.site-footer a:not(.btn) { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--gold-500); }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: var(--gold-500); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  font-size: .85rem;
}
.footer-legal { max-width: 74ch; font-size: .8125rem; line-height: 1.6; color: rgba(255, 255, 255, .55); margin-top: 1.25rem; }

/* ---------- Page header (interior pages) ---------- */
.page-head { background: linear-gradient(160deg, var(--indigo-900), var(--indigo-800)); color: rgba(255, 255, 255, .82); position: relative; overflow: hidden; }
.page-head::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 194, 48, .16), transparent 68%);
}
.page-head .wrap { position: relative; padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-head h1 { color: var(--white); }
.page-head .lede { color: rgba(255, 255, 255, .82); max-width: 62ch; }
.page-head > .wrap > * + * { margin-top: .9rem; }

.breadcrumb { font-size: .85rem; color: rgba(255, 255, 255, .66); }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-500); }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.35rem; display: grid; gap: .45rem; }
.prose li { padding-left: .25rem; }

/* ---------- Utilities ---------- */
.hide { display: none !important; }
.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;
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .mobile-menu, .skip-link { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
}
