/* ==========================================================================
   Private Attorney Panel for Indigents (PAP) — papguam.org
   Overhaul mockup stylesheet. No build step; plain CSS.
   Design: dignified government / legal-aid. Navy + warm accent, high contrast.
   ========================================================================== */

:root {
  --navy: #14233f;          /* deep midnight navy */
  --navy-700: #20355c;
  --navy-900: #0c1830;
  --navy-50: #eef1f7;
  --gold: #b89150;          /* antique brass — restrained, legal */
  --gold-600: #9a7636;
  --gold-300: #d8bd86;
  --gold-text: #8a6a2e;     /* darker brass for small text on light — WCAG AA (≈5:1) */
  --burgundy: #6e2b2b;      /* oxblood secondary accent */
  --accent: #9a7636;        /* brass for CTAs (no bright bronze) */
  --accent-700: #7d5f2b;
  --ink: #232730;
  --muted: #5e6470;
  --line: #e6e0d4;          /* warm hairline */
  --bg: #ffffff;
  --bg-alt: #f7f3ea;        /* parchment / ivory */
  --paper-2: #f1ead9;
  --ok: #1f7a4d;
  --radius: 10px;
  --maxw: 1120px;
  --shadow: 0 1px 2px rgba(20,35,63,.04), 0 8px 24px rgba(20,35,63,.05);
  --shadow-lg: 0 12px 34px rgba(20,35,63,.09);
  --font: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;  /* 17px at default root; scales with a11y text-size controls */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.1; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); letter-spacing: -.028em; line-height: 1.06; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 2.9vw, 2.4rem); letter-spacing: -.02em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--accent-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; }
.section--alt {
  position: relative;
  background-color: var(--bg-alt);
  background-image: repeating-linear-gradient(45deg, rgba(184,145,80,.05) 0, rgba(184,145,80,.05) 1px, transparent 1px, transparent 11px);
  border-block: 1px solid var(--line);
}
/* Diamond node centered on the section's top rule */
.section--alt::before {
  content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 11px; height: 11px; background: var(--gold);
  box-shadow: 0 0 0 5px var(--bg-alt);
}
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--gold-text); margin: 0 0 .7rem; }
.eyebrow.center { display: flex; align-items: center; justify-content: center; gap: 12px; }
.eyebrow.center::before, .eyebrow.center::after { content: ""; height: 1px; width: 28px; background: var(--gold); opacity: .6; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; line-height: 1.6; }
.center { text-align: center; margin-inline: auto; }

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

/* Subtle scroll reveal (restrained) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Accessibility controls ===== */
/* Text-size scaling (scales all rem-based text) */
html.fs-1 { font-size: 112.5%; }
html.fs-2 { font-size: 125%; }

/* High-contrast mode */
html.hc { --muted: #21252e; --line: #4a5161; }
html.hc body { background: #ffffff; }
html.hc .section--alt { background-color: #efe9da; }
html.hc a:not(.btn) { text-decoration: underline; }
html.hc .lede, html.hc .card p, html.hc .tier:not(.tier--active) p, html.hc .step p,
html.hc .reslist__desc, html.hc .qlink p, html.hc .contact-row span { color: #21252e; }
html.hc .eyebrow, html.hc .reslist__go, html.hc .qlink__go { color: #6f5320; }

/* Accessibility toolbar (injected by JS) */
.a11y-bar {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 95;
  display: flex; flex-direction: column; gap: 3px;
  background: var(--navy); border: 1px solid var(--gold); border-right: 0;
  border-radius: 10px 0 0 10px; padding: 7px; box-shadow: var(--shadow-lg);
}
.a11y-bar__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.a11y-bar button {
  width: 40px; height: 40px; border: 1px solid transparent; background: transparent;
  color: var(--gold-300); font-family: var(--font-serif); font-weight: 700; font-size: 1rem;
  cursor: pointer; border-radius: 7px; display: grid; place-items: center; line-height: 1;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.a11y-bar button:hover { background: var(--navy-700); color: #fff; }
.a11y-bar button[aria-pressed="true"] { background: var(--gold); color: var(--navy-900); border-color: var(--gold-300); }
.a11y-bar button svg { width: 22px; height: 22px; }
.a11y-bar .fs-minus { font-size: .82rem; }
.a11y-bar .fs-plus { font-size: 1.15rem; }
@media (max-width: 600px) {
  .a11y-bar { top: auto; bottom: 0; right: 0; left: 0; transform: none; flex-direction: row; justify-content: center;
    border-radius: 12px 12px 0 0; border-right: 1px solid var(--gold); border-bottom: 0; }
}
@media print { .a11y-bar, .site-header, .site-footer { display: none !important; } }

/* Skip link — accessibility */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .98rem; line-height: 1; letter-spacing: .01em;
  padding: 15px 26px; border-radius: 6px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
/* Primary: deep navy with gold text + hairline gold border — classic law-firm CTA */
.btn--primary { background: var(--navy); color: var(--gold-300); border-color: var(--gold); }
.btn--primary:hover { background: var(--navy-900); color: #fff; border-color: var(--gold-300); }
/* Gold: solid brass with navy text — for dark backgrounds */
.btn--gold { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-300); color: var(--navy-900); border-color: var(--gold-300); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-600); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--light:hover { background: rgba(255,255,255,.08); color: #fff; border-color: #fff; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(8px);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(184,145,80,.25);
}

/* Elegant ornament under centered section headings */
.section .center h2 { margin-bottom: .65rem; }
.section .center h2::after {
  content: ""; display: block; width: 132px; height: 12px; margin: 18px auto 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0.5 11.5 6 6 11.5 0.5 6Z' fill='%23b89150'/%3E%3C/svg%3E") center/11px 11px no-repeat,
    linear-gradient(90deg, transparent, var(--gold) 22%, transparent 40%, transparent 60%, var(--gold) 78%, transparent) center/100% 1px no-repeat;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand__mark {
  width: 44px; height: 44px; flex: none; border-radius: 11px;
  background: linear-gradient(155deg, var(--navy-700), var(--navy-900));
  color: var(--gold); display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; letter-spacing: .01em; font-size: .98rem;
  box-shadow: inset 0 0 0 1px rgba(216,166,87,.45);
}
.brand__seal { width: 48px; height: 48px; flex: none; border-radius: 50%; display: block; }
.site-footer .brand__seal { box-shadow: 0 0 0 1px rgba(216,166,87,.4); background: radial-gradient(circle, rgba(255,255,255,.08), transparent 72%); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--font-serif); font-weight: 600; font-size: 1.08rem; color: var(--navy); }
.brand__text span { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 14px; border-radius: 8px; }
.nav__links a:hover, .nav__links a[aria-current="page"] { background: var(--navy-50); color: var(--navy); }
.nav__cta { margin-left: 8px; }
.nav__links a.btn--primary { color: var(--gold-300); border-radius: 6px; }
.nav__links a.btn--primary:hover { color: #fff; background: var(--navy-900); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav__toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(120% 130% at 85% 10%, #265089 0%, var(--navy-700) 38%, var(--navy) 70%, var(--navy-900) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .10; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero__emblem {
  position: absolute; right: 56px; bottom: 48px;
  width: min(300px, 30vw); height: auto; color: var(--gold);
  opacity: .13; z-index: 0; pointer-events: none;
}
@media (max-width: 980px) { .hero__emblem { display: none; } }

/* Inner-page banner */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 150% at 85% 0%, #265089 0%, var(--navy-700) 40%, var(--navy) 75%, var(--navy-900) 100%);
  border-bottom: 3px solid var(--gold);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 24px 24px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 16px; z-index: 1; pointer-events: none;
  border: 1px solid rgba(216,189,134,.28);
}
.page-hero .container { position: relative; z-index: 2; padding-block: 62px; }
.page-hero .eyebrow { color: var(--gold-300); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .5rem; }
.page-hero h1::after { content: ""; display: block; width: 64px; height: 3px; border-radius: 2px; background: var(--gold); margin-top: 16px; }
.page-hero__sub { color: #d7e0f0; max-width: 62ch; margin: 0; font-size: 1.12rem; }
.breadcrumb { font-size: .82rem; color: #aebbd4; margin-bottom: 14px; letter-spacing: .02em; }
.breadcrumb a { color: #cdd7ea; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* Home quick-links (flat, not heavy cards) */
.quicklinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qlink {
  display: flex; flex-direction: column; padding: 28px 26px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  text-decoration: none; color: inherit; transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.qlink:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.qlink h3 { margin-bottom: .4rem; }
.qlink p { color: var(--muted); font-size: .95rem; margin: 0 0 16px; }
.qlink__go { margin-top: auto; color: var(--gold-text); font-weight: 700; font-size: .9rem; }
@media (max-width: 860px) { .quicklinks { grid-template-columns: 1fr; } }
.hero .container { position: relative; z-index: 1; padding-block: 104px; }
.hero::before {
  content: ""; position: absolute; z-index: 1; inset: 26px;
  border: 1px solid rgba(184,145,80,.32); pointer-events: none;
}
.hero h1, .hero h2 { color: #fff; }
.hero h1 { max-width: 18ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero .eyebrow { color: var(--gold-300); }
.hero__lede { font-size: 1.28rem; color: #d7e0f0; max-width: 54ch; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__parent { margin-top: 2.4rem; font-size: .95rem; color: #aebbd4; padding-top: 1.4rem; border-top: 1px solid rgba(216,166,87,.25); display: inline-block; }
.hero__parent a { color: #fff; }

/* Stat / tier row */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); position: relative;
}
.tier__num { font-size: .76rem; font-weight: 700; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.tier h3 { margin: .4rem 0 .45rem; }
.tier p { color: var(--muted); margin: 0; font-size: .98rem; }
.tier--active {
  border-color: transparent; color: #fff;
  background: linear-gradient(160deg, var(--navy-700), var(--navy));
  box-shadow: 0 0 0 3px rgba(216,166,87,.4), var(--shadow-lg);
}
.tier--active h3 { color: #fff; }
.tier--active .tier__num { color: var(--gold); }
.tier--active p { color: #cdd9ec; }
.tier--active strong { color: #fff; }
.tier--active::before {
  content: "You are here"; position: absolute; top: -12px; left: 26px;
  background: var(--gold); color: var(--navy-900); font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; padding: 4px 12px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(216,166,87,.4);
}

/* Panels grid */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow); overflow: hidden;
  background-color: #fff;
  background-image:
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 13px 2px, 2px 13px, 13px 2px, 2px 13px;
  background-position: left 13px top 13px, left 13px top 13px, right 13px bottom 13px, right 13px bottom 13px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(155deg, #f3f6fb, #e7edf6);
  color: var(--navy); display: grid; place-items: center; margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(15,37,69,.06);
  transition: background .25s ease, color .25s ease;
}
.card:hover .card__icon { background: linear-gradient(155deg, var(--navy-700), var(--navy)); color: var(--gold); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Resources — divided directory list (no boxes) */
.reslist { max-width: 840px; margin: 0 auto; border-top: 1px solid var(--line); }
.reslist__item {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 15px 8px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: padding-left .2s ease, background .2s ease;
}
.reslist__item:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(184,145,80,.07), transparent 70%); }
.reslist__title { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 1.18rem; color: var(--navy); }
.reslist__desc { display: block; color: var(--muted); font-size: .95rem; margin-top: 3px; max-width: 54ch; }
.reslist__go { flex: none; display: inline-flex; align-items: center; gap: 8px; color: var(--gold-text); font-weight: 700; font-size: .9rem; white-space: nowrap; }
.reslist__item:hover .reslist__go { color: var(--accent-700); }
.reslist__go svg { width: 16px; height: 16px; transition: transform .2s ease; }
.reslist__item:hover .reslist__go svg { transform: translateX(3px); }
@media (max-width: 600px) {
  .reslist__item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .reslist__item:hover { padding-left: 8px; }
}

/* Split CTA */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--navy-700), var(--navy-900)); color: #fff;
  border-radius: 18px; padding: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  box-shadow: inset 0 0 0 1px rgba(216,189,134,.25), var(--shadow-lg);
}
/* Engraved inner gold frame */
.cta::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(216,189,134,.22);
  border-radius: 10px; pointer-events: none;
}
.cta::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(216,166,87,.22), transparent 70%); pointer-events: none;
}
.cta > * { position: relative; }

/* Decorative pull-quote band */
.quoteband { position: relative; overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); border-block: 1px solid var(--gold); }
.quoteband::before {
  content: "\201C"; position: absolute; top: -34px; left: 18px; z-index: 0;
  font-family: var(--font-serif); font-weight: 700; font-size: 16rem; line-height: 1; color: var(--gold); opacity: .14;
}
.quoteband::after {
  content: ""; position: absolute; inset: 16px; border: 1px solid rgba(216,189,134,.22); pointer-events: none; z-index: 0;
}
.quoteband .container { position: relative; z-index: 1; max-width: 880px; padding-block: 76px; text-align: center; }
.quoteband blockquote { margin: 0; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.32; color: #fff; }
.quoteband cite { display: block; margin-top: 22px; font-style: normal; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); }
.cta h2 { color: #fff; margin-bottom: .35rem; }
.cta p { color: #cdd7e8; margin: 0; max-width: 52ch; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.step__n {
  counter-increment: step; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700;
}
.step__n::before { content: counter(step); }
.step h3 { margin: .25rem 0 .25rem; }
.step p { color: var(--muted); margin: 0; }

/* Contact strip */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-row svg { width: 22px; height: 22px; color: var(--accent-700); flex: none; margin-top: 3px; }
.contact-row strong { display: block; color: var(--navy); }
.contact-row a { color: var(--ink); text-decoration: none; }
.contact-row a:hover { color: var(--accent-700); }

/* Map embed */
.map-embed {
  position: relative; margin-top: 40px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: inset 0 0 0 1px rgba(184,145,80,.18), var(--shadow);
}
.map-embed iframe, .map-embed #papmap { display: block; width: 100%; height: 400px; border: 0; }
.map-embed #papmap { background: var(--navy-50); }
.leaflet-popup-content { font-family: var(--font); font-size: .92rem; }
.leaflet-popup-content strong { font-family: var(--font-serif); color: var(--navy); }

/* Footer */
.site-footer {
  background-color: var(--navy-900); color: #c3cfe2; padding: 56px 0 28px; border-top: 3px solid var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 250' fill='none' stroke='%23b89150' stroke-opacity='0.10' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 74 130 18 244 74Z'/%3E%3Cpath d='M40 70 130 26 220 70'/%3E%3Cpath d='M20 78h220M24 88h212'/%3E%3Cpath d='M30 96h28M32 210h24'/%3E%3Cpath d='M37 96v114M44 96v114M51 96v114'/%3E%3Cpath d='M76 96h28M78 210h24'/%3E%3Cpath d='M83 96v114M90 96v114M97 96v114'/%3E%3Cpath d='M122 96h28M124 210h24'/%3E%3Cpath d='M129 96v114M136 96v114M143 96v114'/%3E%3Cpath d='M168 96h28M170 210h24'/%3E%3Cpath d='M175 96v114M182 96v114M189 96v114'/%3E%3Cpath d='M214 96h28M216 210h24'/%3E%3Cpath d='M221 96v114M228 96v114M235 96v114'/%3E%3Cpath d='M18 220h224M10 234h240'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 40px bottom -10px; background-size: 300px;
}
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; color: #c3cfe2; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; font-size: .85rem; color: #91a1bf; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Utilities */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }

/* Responsive */
@media (max-width: 860px) {
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px; box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; border-radius: 8px; }
  .nav__cta { margin: 8px 0 4px; }
  .nav__toggle { display: inline-flex; }
  .tiers { grid-template-columns: 1fr; }
  .grid-2, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 32px; }
  .section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
