/* ==========================================================================
   Renee Senior Caregiver — Design System & Styles
   Mobile-first. Custom CSS, no frameworks.
   Palette: navy brand + white / soft-gray / cream, muted-gold accent.
   Type: Poppins (headings) + Open Sans (body), larger for readability.
   ========================================================================== */

/* ----- Design tokens -------------------------------------------------- */
:root {
  /* Brand palette (provided) */
  --brand-50: #e9ebef;
  --brand-100: #ced4dc;
  --brand: #1e3a5f;
  --brand-700: #182e4c;
  --brand-900: #112034;
  --ink: #1a1f2b;
  --ink-soft: #5b6475;
  --bg: #ffffff;
  --line: #e6e9f0;

  /* Warm extensions (calm, non-clinical) */
  --cream: #faf7f1;
  --blue-soft: #eaf1f8;   /* warm light-blue tint */
  --accent: #b07d1e;      /* muted gold — AA on white for text */
  --accent-strong: #8f6515;
  --accent-soft: #f6edd8;
  --success: #1f6b4a;
  --focus: #1e3a5f;

  /* Typography */
  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale (larger base for older readers) */
  --fs-base: 1.125rem;        /* 18px body */
  --fs-sm: 0.9375rem;         /* 15px */
  --fs-lg: 1.25rem;           /* 20px */
  --fs-h4: 1.3rem;
  --fs-h3: clamp(1.4rem, 1.1rem + 1.2vw, 1.75rem);
  --fs-h2: clamp(1.7rem, 1.3rem + 2vw, 2.4rem);
  --fs-h1: clamp(2.1rem, 1.6rem + 3vw, 3.2rem);

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Radius / shadow */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(17, 32, 52, 0.06), 0 2px 6px rgba(17, 32, 52, 0.06);
  --shadow: 0 6px 18px rgba(17, 32, 52, 0.10);
  --shadow-lg: 0 18px 42px rgba(17, 32, 52, 0.16);

  --container: 1140px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--brand-900);
  line-height: 1.2;
  margin: 0 0 var(--sp-4);
  font-weight: 700;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }

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

ul, ol { padding-left: 1.3em; }
li { margin-bottom: var(--sp-2); }

/* ----- Accessibility helpers ----------------------------------------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: var(--sp-3); color: #fff; }

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

/* ----- Layout --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-7); }
.section--cream { background: var(--cream); }
.section--blue { background: var(--blue-soft); }
.section--navy { background: var(--brand); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: var(--sp-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 var(--sp-3);
}
.section--navy .eyebrow { color: var(--accent-soft); }
.lead { font-size: var(--fs-lg); color: var(--ink-soft); }
.section--navy .lead { color: var(--brand-100); }

/* ----- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.1;
  padding: 0.85em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.06s ease, box-shadow 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-700); color: #fff; }

.btn--accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--accent-strong); color: #fff; }

.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand-100); }
.btn--ghost:hover { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand); }

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

.btn--lg { font-size: 1.15rem; padding: 1em 1.7em; }
.btn--block { width: 100%; justify-content: center; }

.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ----- Header / nav --------------------------------------------------- */
.topbar {
  background: var(--brand-900);
  color: #fff;
  font-size: var(--fs-sm);
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  align-items: center;
  justify-content: center;
  padding-block: var(--sp-2);
  text-align: center;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar a:hover { text-decoration: underline; }
.topbar .dot { color: var(--brand-100); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--sp-4);
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--brand-900);
}
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.15; }
.brand__name span { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-strong); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  background: var(--brand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--brand);
  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; }

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.primary-nav li { margin: 0; }
.primary-nav a {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
}
.primary-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.primary-nav a[aria-current="page"] {
  color: var(--brand);
  box-shadow: inset 0 -3px 0 var(--accent);
}
.nav-cta { margin-left: var(--sp-3); color: #fff; }
.nav-cta:hover { color: #fff; }

@media (max-width: 1040px) {
  .nav-cta { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: var(--sp-3); }
  .primary-nav a { padding: var(--sp-4); font-size: 1.1rem; }
  .primary-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); background: var(--brand-50); }
  .nav-cta { display: block; margin: var(--sp-3) var(--sp-3) var(--sp-2); text-align: center; }
}

/* ----- Hero ----------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--blue-soft), var(--bg));
  padding-block: var(--sp-8);
}
.hero__grid {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
.hero__title { margin-bottom: var(--sp-4); }
.hero__tagline {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: var(--sp-2) var(--sp-4);
  border-radius: 999px;
  margin-bottom: var(--sp-5);
  font-size: var(--fs-sm);
}
.hero__lead { font-size: var(--fs-lg); color: var(--ink-soft); margin-bottom: var(--sp-6); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); color: var(--ink-soft); font-size: var(--fs-sm); }
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--success); }
.hero__media { position: relative; }
.hero__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  bottom: var(--sp-5);
  left: var(--sp-5);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  max-width: 17rem;
}
.hero__badge svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.hero__badge strong { display: block; font-family: var(--font-head); color: var(--brand-900); }
.hero__badge span { font-size: var(--fs-sm); color: var(--ink-soft); }

@media (min-width: 820px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

/* ----- Call bar ------------------------------------------------------- */
.callbar { background: var(--brand); color: #fff; text-align: center; }
.callbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  align-items: center;
  justify-content: center;
  padding-block: var(--sp-5);
}
.callbar p { margin: 0; font-size: var(--fs-lg); }
.callbar strong { color: #fff; }
.phone-xl {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.phone-xl:hover { color: var(--accent-soft); text-decoration: underline; }
.callbar .btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* ----- Grids & cards -------------------------------------------------- */
.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card--link { transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; text-decoration: none; color: inherit; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card h3 { margin-bottom: var(--sp-3); }
.card p { color: var(--ink-soft); }
.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 14px;
  margin-bottom: var(--sp-4);
}
.card__icon svg { width: 30px; height: 30px; }
.card__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: auto;
  padding-top: var(--sp-4);
  font-family: var(--font-head); font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.card--link:hover .card__more { gap: 10px; color: var(--brand-700); }

/* ----- Feature list (checks) ----------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--sp-3);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3em;
  width: 1.3rem; height: 1.3rem;
  background-color: var(--success);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 0.85rem;
  background-position: center;
  background-repeat: no-repeat;
}
.checklist--2 { columns: 1; }
@media (min-width: 600px) { .checklist--2 { columns: 2; column-gap: var(--sp-6); } }
.checklist--2 li { break-inside: avoid; }

/* ----- Media + text rows --------------------------------------------- */
.media-row { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 820px) {
  .media-row { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .media-row--flip .media-row__media { order: 2; }
}
.media-row__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }

/* ----- Testimonials --------------------------------------------------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.quote blockquote { margin: 0 0 var(--sp-4); font-size: var(--fs-lg); color: var(--ink); }
.quote figcaption { font-family: var(--font-head); font-weight: 600; color: var(--brand-900); }
.quote figcaption span { display: block; font-weight: 400; font-size: var(--fs-sm); color: var(--ink-soft); }
.placeholder-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: var(--sp-3);
}

/* ----- Fees ----------------------------------------------------------- */
.fees-grid { display: grid; gap: var(--sp-5); }
@media (min-width: 760px) { .fees-grid { grid-template-columns: repeat(3, 1fr); } }
.fee-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.fee-card--featured { border-color: var(--accent); box-shadow: var(--shadow); }
.fee-card h3 { margin-bottom: var(--sp-2); }
.fee-card__price { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--brand); margin-block: var(--sp-2); }
.fee-card__price small { display: block; font-size: 0.85rem; font-weight: 400; color: var(--ink-soft); }
.fee-card ul { text-align: left; margin-top: var(--sp-4); }
.pay-note {
  background: var(--blue-soft);
  border-radius: var(--radius);
  padding: var(--sp-5);
  text-align: center;
  margin-top: var(--sp-6);
  font-weight: 600;
  color: var(--brand-900);
}

/* ----- Pills (service area) ------------------------------------------ */
.pills { display: flex; flex-wrap: wrap; gap: var(--sp-3); list-style: none; padding: 0; margin: 0; }
.pills li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: var(--sp-2) var(--sp-4);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-sm);
  margin: 0;
  box-shadow: var(--shadow-sm);
}

/* ----- Steps ---------------------------------------------------------- */
.steps { display: grid; gap: var(--sp-5); counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-6); box-shadow: var(--shadow-sm); }
.step__num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--brand); color: #fff;
  border-radius: 50%;
  font-family: var(--font-head); font-weight: 700;
  margin-bottom: var(--sp-4);
}

/* ----- FAQ accordion -------------------------------------------------- */
.faq { max-width: 52rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: var(--sp-5) 2.5rem var(--sp-5) 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--fs-lg);
  color: var(--brand-900);
  cursor: pointer;
  position: relative;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 1.1rem; height: 1.1rem;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3a5f' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.2s ease;
}
.faq__q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(180deg); }
.faq__a { padding: 0 0 var(--sp-5); color: var(--ink-soft); max-width: 46rem; }
.faq__a p { margin-bottom: var(--sp-3); }
.faq__a[hidden] { display: none; }

/* ----- Forms ---------------------------------------------------------- */
.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: var(--sp-5); }
.field label { display: block; font-family: var(--font-head); font-weight: 600; margin-bottom: var(--sp-2); color: var(--brand-900); }
.field .req { color: var(--accent-strong); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 0.75em 0.9em;
  border: 1.5px solid var(--brand-100);
  border-radius: var(--radius-sm);
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--brand);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field .hint { display: block; font-size: var(--fs-sm); color: var(--ink-soft); margin-top: var(--sp-2); }
.field--error input, .field--error select, .field--error textarea { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: var(--fs-sm); margin-top: var(--sp-2); font-weight: 600; }
.field-row { display: grid; gap: var(--sp-5); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* honeypot — off-screen but present for bots */
.hp-field { position: absolute; left: -5000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: var(--fs-sm); color: var(--ink-soft); }
.alert {
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-5);
  font-weight: 600;
}
.alert--ok { background: #e7f3ec; color: var(--success); border: 1px solid #bfe0cd; }
.alert--err { background: #fbeae9; color: #b3261e; border: 1px solid #f1c7c4; }

/* ----- CTA band ------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-5); }

/* ----- Footer --------------------------------------------------------- */
.site-footer {
  background: var(--brand-900);
  color: var(--brand-100);
  padding-block: var(--sp-8) var(--sp-6);
  font-size: 1rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--accent-soft); }
.footer-grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: var(--sp-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--sp-2); }
.footer-brand .brand__name { color: #fff; }
.footer-brand p { margin-top: var(--sp-4); max-width: 30rem; color: var(--brand-100); }
.footer-contact a { font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  font-size: var(--fs-sm);
  color: var(--brand-100);
}

/* ----- Page header (interior) ---------------------------------------- */
.page-hero {
  background: linear-gradient(180deg, var(--blue-soft), var(--bg));
  padding-block: var(--sp-7);
}
.page-hero .lead { margin-top: var(--sp-3); max-width: 48rem; }
.breadcrumb { font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); padding: 0; margin: 0; }
.breadcrumb li { margin: 0; display: flex; gap: var(--sp-2); }
.breadcrumb li + li::before { content: "/"; color: var(--ink-soft); }
.breadcrumb a { text-decoration: none; }
.breadcrumb [aria-current] { color: var(--ink-soft); }

/* ----- Prose ---------------------------------------------------------- */
.prose { max-width: 44rem; }
.prose h2 { margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-6); }
.prose ul { margin-bottom: var(--sp-4); }

/* ----- Utilities ------------------------------------------------------ */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: var(--sp-4); }
.muted { color: var(--ink-soft); }
.nowrap { white-space: nowrap; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ----- Blog placeholder cards ---------------------------------------- */
.blog-thumb {
  height: 158px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-soft), var(--accent-soft));
  display: grid;
  place-items: center;
  margin-bottom: var(--sp-4);
  color: var(--brand);
}
.blog-thumb svg { width: 42px; height: 42px; opacity: 0.45; }
.blog-card h3 { margin-bottom: var(--sp-2); }
.blog-card .muted { margin-top: auto; }

/* ----- 404 ------------------------------------------------------------ */
.error-page { text-align: center; padding-block: var(--sp-9); }
.error-page .big { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 3rem + 8vw, 8rem); color: var(--brand-100); line-height: 1; margin: 0 0 var(--sp-4); }
.error-page .btn-row { justify-content: center; margin-top: var(--sp-5); }
