/* ============================================================
   Phoenix Family Law — standalone rebuild
   Warm editorial sanctuary: cream paper, deep teal ink,
   sage + apricot accents. Fraunces display / Albert Sans body.
   ============================================================ */

/* ---------- self-hosted fonts (variable woff2, no Google requests) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/albert-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/albert-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #FBF6EE;
  --paper-deep: #F4EBDC;
  --card: #FFFDF8;
  --ink: #14343C;
  --ink-soft: #3D5A61;
  --teal: #175C68;
  --teal-deep: #0E4550;
  --sage: #8FA278;
  --sage-deep: #67794F;
  --sage-tint: #EAEEDF;
  --apricot: #E4832F;
  --apricot-deep: #C7681A;
  --apricot-tint: #FBEAD8;
  --gold: #D9A93C;
  --gold-tint: #F7EDD2;
  --coral: #C94F35;
  --line: #E3D8C4;
  --shadow: 0 1px 2px rgba(20, 52, 60, .06), 0 8px 28px -12px rgba(20, 52, 60, .18);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  --measure: 68ch;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.48 0 0 0 0 0.38 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, header, footer { position: relative; z-index: 1; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--teal-deep);
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.28rem; }

p, li { max-width: var(--measure); }

a { color: var(--teal); text-decoration-color: rgba(23, 92, 104, .35); text-underline-offset: 3px; }
a:hover { color: var(--apricot-deep); text-decoration-color: currentColor; }

img { max-width: 100%; height: auto; border-radius: var(--radius); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 70;
  background: var(--teal-deep);
  color: #fff;
  font-weight: 600;
  padding: .7rem 1.2rem;
  border-radius: 0 0 12px 0;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- quick exit ---------- */
.quick-exit {
  position: fixed;
  right: 1rem;
  top: 1rem;
  z-index: 60;
  background: var(--coral);
  color: #fff;
  border: none;
  font: 700 .82rem/1 var(--font-body);
  letter-spacing: .04em;
  padding: .65rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.quick-exit:hover { background: #A93E28; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .8rem clamp(1.1rem, 4vw, 2.5rem);
  padding-right: 8.5rem; /* keep clear of the fixed quick-exit button */
  max-width: 1240px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.05;
}
.brand svg { flex: none; }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

nav.primary { margin-left: auto; }
nav.primary > ul {
  list-style: none;
  display: flex;
  gap: .25rem;
  margin: 0;
  padding: 0;
}
nav.primary li { position: relative; }
nav.primary a, nav.primary .navbtn {
  display: block;
  padding: .55rem .8rem;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  background: none;
  border: 0;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
}
nav.primary a:hover, nav.primary .navbtn:hover,
nav.primary li.open > .navbtn { background: var(--paper-deep); color: var(--teal-deep); }
nav.primary a[aria-current="page"] { color: var(--apricot-deep); }
.navbtn::after { content: " ▾"; font-size: .7em; color: var(--sage-deep); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 250px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: .5rem;
  list-style: none;
  margin: 0;
  display: none;
}
li.open > .dropdown { display: block; }
.dropdown a { padding: .5rem .7rem; font-weight: 500; border-radius: 8px; white-space: normal; }

.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .5rem .7rem;
  font: 600 .9rem var(--font-body);
  color: var(--teal-deep);
  cursor: pointer;
}

@media (max-width: 920px) {
  .menu-toggle { display: block; flex: none; }
  nav.primary {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 70px);
    overflow: auto;
    padding: .8rem 1.2rem 1.4rem;
  }
  nav.primary.open { display: block; }
  nav.primary > ul { flex-direction: column; gap: 0; }
  .dropdown { position: static; display: block; border: 0; box-shadow: none; background: none; padding: 0 0 0 1rem; }
  .navbtn { width: 100%; text-align: left; }
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(2.6rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.4rem);
  position: relative;
  overflow: hidden;
}
.hero .eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--apricot-deep);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.hero .eyebrow::before {
  content: "";
  width: 2.2rem; height: 2px;
  background: var(--apricot);
  display: inline-block;
}
.hero .lead {
  font-size: clamp(1.08rem, 1.8vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 62ch;
}
.hero .last-reviewed {
  font-size: .8rem;
  color: var(--sage-deep);
  letter-spacing: .02em;
  margin: .9rem 0 0;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero-grid img { box-shadow: var(--shadow); transform: rotate(1.2deg); border: 6px solid #fff; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

/* decorative phoenix wing arcs */
.hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 54px solid var(--gold-tint);
  opacity: .8;
  pointer-events: none;
}

/* ---------- sections ---------- */
section.block { padding: clamp(1.8rem, 4vw, 3rem) 0; }
section.block + section.block { border-top: 1px solid var(--line); }

.section-head { margin-bottom: 1.4rem; }
.section-head .kicker {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--sage-deep);
}

/* numbered step cards (the site's 1-2-3 pattern) */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
  margin: 1.4rem 0;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-4px); }
.step-card .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--apricot);
  line-height: 1;
}
.step-card h3 { margin: 0; font-size: 1.15rem; }
.step-card p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.step-card a.more { margin-top: auto; font-weight: 600; font-size: .9rem; }

/* accordions */
details.qa {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: .6rem 0;
  overflow: hidden;
}
details.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.2rem;
  font-weight: 650;
  font-family: var(--font-body);
  color: var(--teal-deep);
  position: relative;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--apricot);
  transition: transform .2s ease;
}
details.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.qa .body { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); }
details.qa .body p:first-child { margin-top: 0; }

/* callouts */
.callout {
  border-left: 4px solid var(--gold);
  background: var(--gold-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.3rem;
  margin: 1.3rem 0;
}
.callout.safety { border-color: var(--coral); background: #F9E4DE; }
.callout.sage { border-color: var(--sage-deep); background: var(--sage-tint); }
.callout p { margin: .3rem 0; }

/* link chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; padding: 0; list-style: none; }
.chips a {
  display: inline-block;
  background: var(--apricot-tint);
  border: 1px solid #EFC79B;
  color: #9E5209; /* was var(--apricot-deep) #C7681A (3.29:1 on --apricot-tint); #9E5209 = 4.87:1 */
  font-weight: 600;
  font-size: .88rem;
  padding: .42rem .85rem;
  border-radius: 999px;
  text-decoration: none;
}
.chips a:hover { background: var(--apricot); color: #fff; }

/* generic content column */
.prose > p { color: var(--ink-soft); }
.prose h2 { margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .35rem 0; color: var(--ink-soft); }

/* ============================================================
   INTERACTIVE FLOW
   ============================================================ */
.flow {
  background: var(--teal-deep);
  border-radius: 22px;
  padding: clamp(1.4rem, 3.5vw, 2.6rem);
  margin: 2rem 0;
  color: #EAF2F0;
  position: relative;
  overflow: hidden;
}
.flow::before {
  content: "";
  position: absolute;
  left: -90px; bottom: -120px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 40px solid rgba(217, 169, 60, .16);
  pointer-events: none;
}
.flow .flow-label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .4rem;
}
.flow h2, .flow h3 { color: #fff; }
.flow .flow-card h3 { color: var(--teal-deep); }
.flow-intro { color: #B8CFCB; max-width: 60ch; margin-top: 0; }

/* answered trail */
.flow-trail { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.flow-trail button {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: #D8E6E3;
  font: 500 .8rem var(--font-body);
  padding: .35rem .7rem;
  border-radius: 999px;
  cursor: pointer;
}
.flow-trail button b { color: var(--gold); font-weight: 700; }
.flow-trail button:hover { background: rgba(255,255,255,.2); }

.flow-card {
  background: var(--card);
  color: var(--ink);
  border-radius: 16px;
  padding: clamp(1.3rem, 3vw, 2rem);
  margin-top: 1.2rem;
  box-shadow: 0 18px 50px -20px rgba(0,0,0,.45);
  animation: flowIn .35s ease both;
}
@keyframes flowIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.flow-card .qtype {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: .5rem;
}
.flow-card h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: .4rem; }
.flow-card .detail { color: var(--ink-soft); font-size: .98rem; }
.flow-card .detail ul { padding-left: 1.15rem; margin: .5rem 0; }

.flow-options { display: grid; gap: .7rem; margin-top: 1.2rem; }
@media (min-width: 640px) { .flow-options.two { grid-template-columns: 1fr 1fr; } }
.flow-options button {
  text-align: left;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .95rem 1.1rem;
  font: 600 1rem var(--font-body);
  color: var(--teal-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .7rem;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.flow-options button:hover {
  border-color: var(--apricot);
  background: var(--apricot-tint);
  transform: translateX(4px);
}
.flow-options button .tag {
  flex: none;
  background: var(--sage-tint);
  color: var(--sage-deep);
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 6px;
  letter-spacing: .05em;
}
.flow-options button.emergency { border-color: var(--coral); color: var(--coral); }
.flow-options button.emergency:hover { background: #F9E4DE; }

.flow-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.flow-links a {
  background: var(--apricot);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
  padding: .6rem 1.1rem;
  border-radius: 999px;
}
.flow-links a:hover { background: var(--apricot-deep); color: #fff; }
.flow-links a.ghost { background: none; border: 1.5px solid var(--line); color: var(--teal-deep); }
.flow-links a.ghost:hover { border-color: var(--apricot); color: var(--apricot-deep); }

.flow-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1.1rem; }
.flow-foot button {
  background: none;
  border: none;
  color: #9FBDB8;
  font: 600 .85rem var(--font-body);
  cursor: pointer;
  padding: .4rem .6rem;
  border-radius: 8px;
}
.flow-foot button:hover { color: #fff; background: rgba(255,255,255,.08); }
.flow-progress { font-size: .8rem; color: #9FBDB8; } /* was #7FA29C (3.80:1 on --teal-deep); #9FBDB8 = 5.26:1 */

/* ============================================================
   COURT PROCESS TIMELINE
   ============================================================ */
.timeline { margin: 2rem 0; }
.timeline-track {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  padding-bottom: .6rem;
}
.timeline-track button {
  flex: 1 0 130px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .8rem .7rem;
  font: 600 .85rem var(--font-body);
  color: var(--ink-soft);
  cursor: pointer;
  position: relative;
  transition: all .2s ease;
}
.timeline-track button .idx {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--sage-deep);
  margin-bottom: .2rem;
}
.timeline-track button.active {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: #fff;
}
.timeline-track button.active .idx { color: var(--gold); }
.timeline-detail {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.6rem 1.4rem;
  margin-top: 1rem;
  animation: flowIn .3s ease both;
}
.timeline-detail h3 { margin-top: 0; }
.timeline-detail .meta { font-size: .85rem; font-weight: 700; color: var(--apricot-deep); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 4rem;
  background: var(--teal-deep);
  color: #B8CFCB;
  padding: 3rem 0 2rem;
  font-size: .92rem;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: .6rem; }
.site-footer a { color: #D8E6E3; }
/* flex, not grid: the column count varies (Legal column appears once its pages exist) */
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 2rem; }
.site-footer .cols > div { flex: 1 1 0; min-width: 9rem; }
.site-footer .cols > div:first-child { flex: 2 1 0; min-width: 14rem; }
@media (max-width: 820px) {
  .site-footer .cols > div, .site-footer .cols > div:first-child { flex: 1 1 40%; min-width: 0; }
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .3rem 0; }
.site-footer .identity { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2rem; padding-top: 1.2rem; font-size: .8rem; color: #9FBDB8; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2rem; padding-top: 1.2rem; font-size: .8rem; color: #7FA29C; }
.site-footer .identity + .legal { border-top: 0; margin-top: .4rem; padding-top: 0; }

/* page transition */
main { animation: pageIn .5s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- mobile refinements ---------- */
@media (max-width: 640px) {
  body { font-size: 1rem; }

  /* header: single tidy row, no reserved space for quick-exit */
  .site-header .bar {
    padding: .6rem 1rem;
    gap: .8rem;
  }
  .brand { font-size: .98rem; gap: .5rem; }
  .brand svg { width: 28px; height: 28px; }
  .brand span { white-space: nowrap; }
  .brand small { font-size: .55rem; letter-spacing: .12em; }
  .menu-toggle { padding: .45rem .65rem; font-size: .85rem; white-space: nowrap; }
  nav.primary { max-height: calc(100vh - 58px); }

  /* quick exit: floating pill at bottom-right, thumb reach, always visible */
  .quick-exit {
    top: auto;
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: .9rem;
    padding: .8rem 1.15rem;
    font-size: .85rem;
    box-shadow: 0 6px 22px -4px rgba(60, 20, 10, .45);
  }

  /* hero: calmer — no decorative ring behind the heading */
  .hero::after { display: none; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .hero-grid img { transform: none; }

  /* interactive flow: tighter card, full-width tap targets */
  .flow { border-radius: 16px; margin: 1.4rem -0.2rem; }
  .flow-options.two { grid-template-columns: 1fr; }
  .flow-options button { padding: .95rem 1rem; }
  .flow-card h3 { font-size: 1.2rem; }
  .flow-links a { width: 100%; text-align: center; }

  /* timeline: smaller stops, keep horizontal scroll with snap */
  .timeline-track { scroll-snap-type: x proximity; }
  .timeline-track button { flex: 1 0 108px; scroll-snap-align: start; font-size: .78rem; }
  .timeline-detail { padding: 1.2rem 1.1rem 1.1rem; }

  .steps { gap: .8rem; }
  .step-card { padding: 1.15rem 1.1rem 1.25rem; }
  details.qa summary { padding: .9rem 2.6rem .9rem 1rem; font-size: .95rem; }

  .site-footer { padding-bottom: 5.5rem; } /* keep clear of floating quick-exit */
}

@media (max-width: 560px) {
  .site-footer .cols { gap: 1.4rem; }
  .site-footer .cols > div, .site-footer .cols > div:first-child { flex: 1 1 100%; }
}

/* ---------- accessibility: visible keyboard focus ---------- */
/* apricot-deep #C7681A = 3.6:1 non-text contrast on --paper / --card;
   plain apricot #E4832F only reaches 2.57:1 there, so it is reserved for
   the dark teal surfaces below (3.82:1 on --teal-deep). */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 2px solid var(--apricot-deep);
  outline-offset: 2px;
}
.flow-trail button:focus-visible,
.flow-foot button:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--apricot);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- support CTA (additive) ----------
   Quiet full-width strip on guide pages + small header pill. No animation,
   no urgency. Contrast (WCAG AA, computed):
   - .cta-kicker  #5A6B44 on --sage-tint #EAEEDF = 4.91:1
   - .cta-band p  --ink #14343C on #EAEEDF     = 11.22:1
   - .cta-links a --teal-deep #0E4550 on #EAEEDF = 8.96:1 (hover #9E5209 = 4.86:1)
   - .navbtn-support #9E5209 on --apricot-tint #FBEAD8 = 4.87:1
     (hover: #fff on #9E5209 = 5.73:1) */
.cta-band {
  background: var(--sage-tint);
  border-top: 1px solid var(--line);
  padding: clamp(1.8rem, 4vw, 2.6rem) 0;
  margin-top: clamp(1.8rem, 4vw, 3rem);
}
.cta-band .cta-kicker {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #5A6B44; /* --sage-deep #67794F is only 4.02:1 on --sage-tint */
  margin-bottom: .55rem;
}
.cta-band p {
  color: var(--ink);
  max-width: var(--measure);
  margin: 0 0 1rem;
}
.cta-band .cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  align-items: center;
}
.cta-band .cta-links a {
  font-weight: 600;
  color: var(--teal-deep);
  text-decoration-color: rgba(14, 69, 80, .35);
}
.cta-band .cta-links a.ghost { font-weight: 500; }
.cta-band .cta-links a:hover { color: #9E5209; text-decoration-color: currentColor; }

.navbtn-support {
  flex: none;
  display: inline-block;
  padding: .5rem .95rem;
  font: 600 .88rem/1.2 var(--font-body);
  color: #9E5209;
  background: var(--apricot-tint);
  border: 1px solid #EFC79B;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.navbtn-support:hover { background: #9E5209; color: #fff; border-color: #9E5209; }
@media (max-width: 920px) {
  .site-header .bar { gap: .8rem; }
}
/* below 700px the pill is hidden — the nav menu and the guide-page band
   still carry the CTA, and the bar stays within a 375px viewport */
@media (max-width: 700px) {
  .navbtn-support { display: none; }
}
