/* ==========================================================================
   Fordine Solutions — Design System
   Single stylesheet. Edit tokens in :root to rebrand the whole site.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --ink:        #0A1420;
  --navy:       #0F2438;
  --navy-600:   #16344F;
  --navy-400:   #2C5578;
  --gold:       #D4A64B;
  --gold-deep:  #B98A2F;
  --gold-soft:  #EBD5A3;
  --flag:       #C9453D;
  --flag-soft:  #F6E5E3;
  --green:      #2E7D5B;

  /* Neutrals */
  --paper:      #FBF9F6;
  --paper-2:    #F3EFE9;
  --white:      #FFFFFF;
  --text:       #16202C;
  --muted:      #5B6B7C;
  --muted-2:    #63727F; /* WCAG AA: 4.6:1 on --paper */
  --line:       #E4DFD7;
  --line-dark:  rgba(255,255,255,.14);

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

  --fs-hero:  clamp(2.6rem, 1.4rem + 4.2vw, 4.6rem);
  --fs-h1:    clamp(2.2rem, 1.4rem + 2.9vw, 3.5rem);
  --fs-h2:    clamp(1.75rem, 1.25rem + 1.8vw, 2.6rem);
  --fs-h3:    clamp(1.15rem, 1rem + .5vw, 1.4rem);
  --fs-lead:  clamp(1.05rem, .98rem + .38vw, 1.28rem);
  --fs-body:  1rem;
  --fs-sm:    .9rem;
  --fs-xs:    .78rem;
  --tap: 44px; /* minimum touch target */

  /* Space */
  --gutter: clamp(1.15rem, .6rem + 2.2vw, 2.5rem);
  --section: clamp(4.25rem, 2.5rem + 6vw, 8rem);
  --maxw: 1180px;

  /* Effects */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10,20,32,.05), 0 3px 10px rgba(10,20,32,.05);
  --shadow: 0 2px 4px rgba(10,20,32,.04), 0 12px 32px rgba(10,20,32,.09);
  --shadow-lg: 0 4px 8px rgba(10,20,32,.05), 0 30px 70px rgba(10,20,32,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Keep secondary copy at a comfortable reading size on small screens. */
@media (max-width: 640px) {
  :root { --fs-sm: .95rem; }
}

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

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Anchor targets clear the sticky header instead of hiding beneath it. */
[id] { scroll-margin-top: 100px; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

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

::selection { background: var(--gold-soft); color: var(--ink); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 800px; }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  background: var(--navy); color: var(--white); padding: .75rem 1.4rem;
  border-radius: 0 0 10px 10px; z-index: 999; font-weight: 600; font-size: var(--fs-sm);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.021em; color: var(--ink); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.012em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow--center { justify-content: center; }

.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.62; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }
.center { text-align: center; }
.center .measure, .center .measure-sm { margin-inline: auto; }

.section-head { margin-bottom: clamp(2.5rem, 1.5rem + 2.5vw, 3.75rem); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .005em;
  cursor: pointer; white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; transition: transform .22s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--gold  { --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: var(--gold-deep); --btn-bd: var(--gold-deep); --btn-fg: var(--white); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--navy); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.32); }
.btn--ghost-light:hover { --btn-bd: var(--white); --btn-bg: rgba(255,255,255,.08); }
.btn--lg { padding: 1.1rem 2.1rem; font-size: 1rem; }
.btn--block { width: 100%; }

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

.textlink {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: var(--fs-sm); color: var(--navy);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: border-color .2s var(--ease), gap .2s var(--ease), color .2s var(--ease);
}
.textlink:hover { border-color: var(--gold); gap: .7rem; color: var(--gold-deep); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,249,246,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(10,20,32,.05); }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; flex: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.brand__sub { font-size: .6rem; font-weight: 600; letter-spacing: .27em; color: var(--muted-2); margin-top: .28rem; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .55rem .85rem; border-radius: 8px;
  font-size: var(--fs-sm); font-weight: 500; color: var(--muted);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a:hover { color: var(--ink); background: rgba(15,36,56,.05); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Nav dropdown (Dispatch) ---------- */
/* CSS-only: the trigger is a real link to freight-dispatching.html, so it
   works with no JS and no touch-hover detection. The submenu is a hover/
   focus-within reveal — a genuine click still lands you on the hub page. */
.nav__item { position: relative; }
.nav__trigger { display: inline-flex; align-items: center; gap: .3rem; }
.nav__trigger.is-section { color: var(--ink); font-weight: 600; }
.nav__chev { flex: none; transition: transform .2s var(--ease); }
.nav__item:hover .nav__chev, .nav__item:focus-within .nav__chev { transform: rotate(180deg); }

/* Freight Solutions is the revenue line — it should be the loudest thing in
   the header, not one grey word among five. Gold pill, larger type, first
   position. Everything else stays quiet so this one carries. */
.nav .nav__trigger {
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.02rem;
  padding: .62rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15,36,56,.16);
}
.nav .nav__trigger:hover,
.nav__item:hover .nav__trigger,
.nav__item:focus-within .nav__trigger {
  background: var(--gold-deep);
  color: var(--white);
}
.nav .nav__trigger[aria-current="page"] { background: var(--gold-deep); color: var(--white); }
.nav__menu {
  position: absolute; top: calc(100% + .5rem); left: 0; z-index: 10; min-width: 208px;
  background: var(--white); border: 1px solid var(--line); border-radius: 13px;
  box-shadow: var(--shadow); padding: .4rem; display: grid; gap: .05rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: .65rem .8rem; border-radius: 9px; font-size: var(--fs-sm); font-weight: 500; color: var(--muted); white-space: nowrap; }
.nav__menu a:hover, .nav__menu a:focus-visible { color: var(--ink); background: rgba(15,36,56,.05); }
.nav__menu a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.header__cta { display: flex; align-items: center; gap: .8rem; flex: none; }
.header__phone { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--white); border-radius: 11px; cursor: pointer;
  align-items: center; justify-content: center; flex: none;
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; position: relative; transition: background .2s var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform .28s var(--ease), top .2s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 940px) {
  .nav, .header__phone { display: none; }
  .burger { display: flex; }
  .header__cta .btn { display: none; }
}

.mobile-nav {
  position: fixed; inset: 76px 0 0; z-index: 99;
  background: var(--paper); padding: 1.5rem var(--gutter) 2.5rem;
  display: flex; flex-direction: column; gap: .25rem;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: opacity .26s var(--ease), transform .26s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a {
  padding: 1rem .25rem; font-family: var(--font-display); font-size: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a[aria-current="page"] { color: var(--gold-deep); }
.mobile-nav .btn { margin-top: 1.75rem; }
.mobile-nav__meta { margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--muted); }

.mobile-nav__group { border-bottom: 1px solid var(--line); }
.mobile-nav__group > a { border-bottom: 0; padding-bottom: .6rem; }
/* same treatment on phones — gold, first, unmissable */
.mobile-nav__group > a:first-child {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  padding: .7rem 1.2rem;
  margin-bottom: .5rem;
  border-radius: 999px;
}
.mobile-nav__sub { display: flex; flex-direction: column; padding: 0 0 1.1rem .25rem; }
.mobile-nav__sub a {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 500; color: var(--muted);
  padding: .6rem .25rem; border-bottom: 0;
}
.mobile-nav__sub a[aria-current="page"] { color: var(--gold-deep); font-weight: 600; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--navy); color: var(--white);
  padding-block: clamp(4.5rem, 3rem + 8vw, 8.5rem) clamp(4.5rem, 3rem + 7vw, 7.5rem);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 78% 8%, rgba(212,166,75,.20), transparent 62%),
    radial-gradient(700px 500px at 8% 92%, rgba(44,85,120,.42), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 65% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 65% at 50% 40%, #000 30%, transparent 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--white); font-size: var(--fs-hero); max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: rgba(255,255,255,.76); max-width: 56ch; margin-top: 1.5rem; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .btn-row { margin-top: 2.4rem; }

.hero__pills { display: flex; flex-wrap: wrap; gap: .5rem .6rem; margin-top: 2.8rem; }
.hero__pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .9rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05);
  font-size: var(--fs-xs); font-weight: 500; color: rgba(255,255,255,.8);
}
.hero__pill svg { color: var(--gold); flex: none; }

/* ---------- Trust strip ---------- */
.trust { background: var(--white); border-block: 1px solid var(--line); padding-block: 1.6rem; }
.trust__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .9rem clamp(1.4rem, 3vw, 3.2rem); }
.trust__label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.trust__item {
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 600;
  color: var(--muted); letter-spacing: -.01em; white-space: nowrap;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D8D0C4; }
.card__num {
  font-family: var(--font-display); font-size: .95rem; font-weight: 600;
  color: var(--gold-deep); margin-bottom: .9rem; letter-spacing: .04em;
}
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: var(--fs-sm); }
.card .textlink { margin-top: auto; padding-top: 1.35rem; align-self: flex-start; }

.card__icon {
  width: 48px; height: 48px; border-radius: 13px; flex: none;
  display: grid; place-items: center; margin-bottom: 1.25rem;
  background: linear-gradient(150deg, var(--navy), var(--navy-600));
  color: var(--gold);
}
.card--flag { border-color: #EBD9D7; background: linear-gradient(180deg, #FEFAF9, var(--white)); }
.card--flag .card__icon { background: linear-gradient(150deg, var(--flag), #A8352E); color: #fff; }

.card--feature { background: var(--navy); border-color: var(--navy); color: var(--white); }
.card--feature h3 { color: var(--white); }
.card--feature p { color: rgba(255,255,255,.72); }
.card--feature .textlink { color: var(--gold-soft); }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: .85rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; font-size: var(--fs-sm); }
.checklist svg { flex: none; margin-top: .28rem; color: var(--gold); }
.checklist strong { display: block; color: inherit; font-weight: 600; margin-bottom: .1rem; }
.checklist span { color: var(--muted); }

/* ---------- Dark band ---------- */
.band { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 460px at 88% 12%, rgba(212,166,75,.16), transparent 62%);
}
.band .wrap { position: relative; z-index: 1; }
.band h2, .band h3 { color: var(--white); }
.band .lead, .band p { color: rgba(255,255,255,.74); }
.band .eyebrow { color: var(--gold-soft); }
.band .checklist span { color: rgba(255,255,255,.68); }

.split { display: grid; gap: clamp(2.25rem, 1.5rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide { grid-template-columns: 1.05fr .95fr; } }

/* ---------- Red-flag panel ---------- */
.flagpanel {
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  backdrop-filter: blur(6px);
}
.flagpanel__head {
  display: flex; align-items: center; gap: .65rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-dark); margin-bottom: 1.15rem;
}
.flagpanel__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--flag); flex: none; box-shadow: 0 0 0 4px rgba(201,69,61,.2); }
.flagpanel__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.flagrow {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .72rem 0; border-bottom: 1px dashed rgba(255,255,255,.1);
  font-size: var(--fs-sm); color: rgba(255,255,255,.82);
}
.flagrow:last-child { border-bottom: 0; padding-bottom: 0; }
.tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: .28rem .6rem; border-radius: 999px; flex: none;
}
.tag--clear { background: rgba(46,125,91,.2); color: #7FD6AE; border: 1px solid rgba(46,125,91,.4); }
.tag--flag  { background: rgba(201,69,61,.2); color: #F0968F; border: 1px solid rgba(201,69,61,.45); }
.tag--watch { background: rgba(212,166,75,.16); color: var(--gold-soft); border: 1px solid rgba(212,166,75,.4); }

/* ---------- Process ---------- */
.steps { display: grid; gap: 1.1rem; counter-reset: step; }
@media (min-width: 780px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 2.4rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: .95rem; font-weight: 600; color: var(--gold-deep);
}
.step::after { content: ""; position: absolute; top: .95rem; left: 0; right: 1rem; height: 1px; background: var(--line); }
.step:last-child::after { right: 0; }
.band .step::after { background: var(--line-dark); }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 1.5rem 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { text-align: center; padding-inline: .5rem; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.3rem, 1.6rem + 2.4vw, 3.4rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--gold); }
.stat__label { font-size: var(--fs-sm); color: rgba(255,255,255,.7); margin-top: .7rem; }

/* ---------- Accordion ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; font-family: var(--font-display); font-size: var(--fs-h3);
  font-weight: 600; letter-spacing: -.012em; line-height: 1.35; color: var(--ink);
  transition: color .2s var(--ease);
}
.faq__q:hover { color: var(--gold-deep); }
.faq__icon { flex: none; width: 26px; height: 26px; margin-top: .18rem; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold-deep);
  transform: translate(-50%, -50%); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq__icon::before { width: 15px; height: 1.8px; }
.faq__icon::after  { width: 1.8px; height: 15px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq__a { overflow: hidden; height: 0; transition: height .34s var(--ease); }
.faq__a > div { padding-bottom: 1.6rem; color: var(--muted); max-width: 68ch; }
.faq__a p + p { margin-top: .8rem; }

/* ---------- Quote ---------- */
.quote {
  border-left: 3px solid var(--gold); padding: .35rem 0 .35rem 1.6rem;
  font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem);
  line-height: 1.45; letter-spacing: -.015em;
}
.quote cite { display: block; margin-top: 1rem; font-family: var(--font-sans); font-size: var(--fs-sm); font-style: normal; color: var(--muted); font-weight: 500; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(140deg, var(--navy), #0A1A2A 60%, var(--ink));
  color: var(--white); border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 1.8rem + 3.4vw, 4.5rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  position: relative; overflow: hidden; text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 340px at 50% 0%, rgba(212,166,75,.2), transparent 66%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: var(--white); }
.cta .lead { color: rgba(255,255,255,.76); margin-top: 1rem; }
.cta .btn-row { margin-top: 2.1rem; }
.cta__fine { margin-top: 1.5rem; font-size: var(--fs-xs); color: rgba(255,255,255,.5); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field .req { color: var(--flag); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; background: var(--white);
  border: 1.5px solid var(--line); border-radius: 11px;
  font-size: var(--fs-sm); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235B6B7C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--navy-400); box-shadow: 0 0 0 4px rgba(44,85,120,.13);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--flag); }
.field__error { font-size: var(--fs-xs); color: var(--flag); font-weight: 500; display: none; }
.field.has-error .field__error { display: block; }
.field__hint { font-size: var(--fs-xs); color: var(--muted-2); }
@media (min-width: 620px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; } }

.form__note { font-size: var(--fs-xs); color: var(--muted); line-height: 1.55; }

.consent { display: flex; gap: .75rem; align-items: flex-start; padding-block: .35rem; }
.consent input[type="checkbox"] {
  width: 22px; height: 22px; margin-top: .1rem; flex: none; accent-color: var(--navy); cursor: pointer;
}
/* The label is the primary tap target — keep it comfortably large. */
.consent label {
  font-size: var(--fs-xs); color: var(--muted); font-weight: 400;
  line-height: 1.6; cursor: pointer; padding-block: .3rem; min-height: 34px;
}
.consent label a { color: var(--navy); border-bottom: 1px solid var(--gold); font-weight: 500; }
.field.has-error .consent label { color: var(--flag); }
.form-status { padding: .95rem 1.15rem; border-radius: 11px; font-size: var(--fs-sm); font-weight: 500; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #E7F4EE; color: #1D5E43; border: 1px solid #B6DECB; }
.form-status--err { background: var(--flag-soft); color: #93302A; border: 1px solid #E9C6C2; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ---------- Contact aside ---------- */
.contact-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem);
}
.contact-list { display: grid; gap: 1.35rem; }
.contact-list li { display: flex; gap: .95rem; align-items: flex-start; }
.contact-list svg { flex: none; margin-top: .22rem; color: var(--gold-deep); }
.contact-list strong { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin-bottom: .2rem; }
.contact-list a, .contact-list span { font-size: var(--fs-sm); color: var(--text); }
.contact-list a:hover { color: var(--gold-deep); }

/* ---------- Page hero (interior) ---------- */
.pagehero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; padding-block: clamp(3.5rem, 2.5rem + 4.5vw, 6rem) clamp(3rem, 2.2rem + 3.5vw, 5rem); }
.pagehero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(820px 420px at 82% 0%, rgba(212,166,75,.17), transparent 62%);
}
.pagehero .wrap { position: relative; z-index: 1; }
.pagehero h1 { color: var(--white); max-width: 20ch; }
.pagehero .lead { color: rgba(255,255,255,.75); margin-top: 1.25rem; }
.pagehero .eyebrow { color: var(--gold-soft); }

.crumbs { display: flex; gap: .5rem; align-items: center; font-size: var(--fs-xs); color: rgba(255,255,255,.55); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs span { opacity: .5; }

/* ---------- Service detail ---------- */
.svc { padding-block: clamp(3rem, 2rem + 3vw, 4.75rem); border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.svc:last-of-type { border-bottom: 0; }
.svc__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.chip {
  font-size: var(--fs-xs); font-weight: 500; padding: .38rem .85rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--muted);
}
.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem);
}
.panel h3 { margin-bottom: 1.15rem; font-size: 1.08rem; }
.panel--tint { background: var(--paper-2); border-color: #E0DACF; }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; }
.note {
  display: flex; gap: .8rem; align-items: flex-start;
  background: var(--paper-2); border: 1px solid #E4DDD1; border-left: 3px solid var(--gold);
  border-radius: 10px; padding: 1rem 1.15rem; font-size: var(--fs-sm); color: var(--muted);
}
.note svg { flex: none; margin-top: .22rem; color: var(--gold-deep); }

.prose h2 { margin-top: 2.75rem; margin-bottom: .9rem; font-size: 1.55rem; }
.prose h3 { margin-top: 1.9rem; margin-bottom: .6rem; }
.prose p { margin-bottom: 1rem; color: var(--muted); }
.prose ul { margin: 0 0 1.15rem; display: grid; gap: .5rem; }
.prose li { padding-left: 1.3rem; position: relative; color: var(--muted); }
.prose li::before { content: ""; position: absolute; left: 0; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.prose a { color: var(--navy); border-bottom: 1.5px solid var(--gold); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.62); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; } }
.footer .brand__name { color: var(--white); }
.footer .brand__sub { color: var(--muted-2); }
.footer__blurb { margin-top: 1.15rem; font-size: var(--fs-sm); max-width: 34ch; line-height: 1.6; }
.footer h4 { color: var(--white); font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: .65rem; }
.footer__links a { font-size: var(--fs-sm); transition: color .18s var(--ease); }
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center;
  font-size: var(--fs-xs);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__legal a:hover { color: var(--gold); }

/* ---------- Bento grid ---------- */
.bento { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
@media (min-width: 920px) {
  .bento { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(190px, auto); }
  .bento__item--wide { grid-column: span 2; }
  .bento__item--tall { grid-row: span 2; }
}
.bento__item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.bento__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #D8D0C4; }
.bento__item h3 { margin-bottom: .55rem; }
.bento__item p { color: var(--muted); font-size: var(--fs-sm); }
.bento__item--dark { background: var(--navy); border-color: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.bento__item--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 260px at 82% 8%, rgba(212,166,75,.2), transparent 64%);
}
.bento__item--dark > * { position: relative; z-index: 1; }
.bento__item--dark h3 { color: var(--white); }
.bento__item--dark p { color: rgba(255,255,255,.74); }
.bento__figure {
  font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem);
  font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--gold); margin-bottom: .7rem;
}

/* ---------- Credentials (never hide these — B2B trust signal) ---------- */
.creds { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.cred {
  display: flex; gap: .8rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.cred svg { flex: none; margin-top: .18rem; color: var(--gold-deep); }
.cred strong { display: block; font-size: var(--fs-sm); margin-bottom: .18rem; }
.cred span { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }

/* ---------- Touch targets ---------- */
@media (pointer: coarse) {
  .nav a, .footer__links a, .footer__legal a, .textlink {
    min-height: var(--tap); display: inline-flex; align-items: center;
  }
}

/* ---------- Reveal ---------- */
/* Progressive enhancement: content only starts hidden when JS is present to
   reveal it. Without JS (blocked, failed, crawler) everything renders normally. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .09s; }
.js .reveal[data-delay="2"] { transition-delay: .18s; }
.js .reveal[data-delay="3"] { transition-delay: .27s; }
.js .reveal[data-delay="4"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Optional consent block ---------- */
/* Visually distinct from the required consent above it so nobody can claim the
   two were presented as one bundled agreement. */
.consent--optional {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  align-items: flex-start;
}
.consent--optional label { font-size: var(--fs-xs); line-height: 1.65; color: var(--muted-2); }
.consent--optional label strong { display: block; color: var(--text); font-size: var(--fs-sm); margin-bottom: .3rem; }
.consent--optional label em { font-style: normal; color: var(--text); font-weight: 500; }

/* ---------- Onboarding tabs ---------- */
/* Real ARIA tablist. Without JS every panel is simply visible and the form
   still works top to bottom — the tabs are an enhancement, not a dependency. */
.tabs { margin-bottom: 2rem; }
.tabs__list {
  display: flex; flex-wrap: wrap; gap: .4rem;
  border-bottom: 1px solid var(--line); margin-bottom: 1.75rem;
}
.tabs__tab {
  appearance: none; background: none; border: 0; cursor: pointer;
  padding: .8rem 1.05rem; min-height: var(--tap);
  font-family: inherit; font-size: var(--fs-sm); font-weight: 600;
  color: var(--muted-2); border-bottom: 2px solid transparent;
  margin-bottom: -1px; white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.tabs__tab:hover { color: var(--text); }
.tabs__tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.tabs__tab .tabs__step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.35rem; height: 1.35rem; margin-right: .5rem; border-radius: 50%;
  background: var(--paper-2); color: var(--muted-2);
  font-size: .7rem; font-weight: 700;
}
.tabs__tab[aria-selected="true"] .tabs__step { background: var(--gold); color: var(--ink); }
.tabs__tab.is-done .tabs__step { background: var(--green); color: #fff; }

.js .tabs__panel[hidden] { display: none; }
/* No JS: show everything, and hide the tab strip so it isn't a dead control. */
html:not(.js) .tabs__list { display: none; }
html:not(.js) .tabs__panel { display: block !important; }
html:not(.js) .tabs__panel + .tabs__panel { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }

.tabs__nav { display: flex; gap: .6rem; justify-content: space-between; margin-top: 1.75rem; }
.tabs__nav .btn { flex: 0 0 auto; }

@media (max-width: 560px) {
  .tabs__list { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tabs__tab { padding-inline: .8rem; }
}

/* ---------- Document upload slots ---------- */
.uploads { border: 0; padding: 0; margin: 0 0 1.5rem; }
.uploads legend { display: block; width: 100%; padding: 0; margin-bottom: 1rem; }
.uploads__title {
  display: block; font-family: var(--font-display); font-size: var(--fs-h3);
  font-weight: 600; color: var(--text); margin-bottom: .4rem;
}
.uploads__sub { display: block; font-size: var(--fs-sm); line-height: 1.6; color: var(--muted-2); }

.upload { position: relative; margin-bottom: .6rem; }
/* Input is visually hidden but stays focusable and in the tab order, so the
   card is fully keyboard-operable. Never use display:none here. */
.upload input[type="file"] {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.upload label {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "badge cta" "name cta" "hint cta";
  gap: .15rem 1rem;
  align-items: center;
  padding: .95rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.upload label:hover { border-color: var(--navy-400); }
.upload input[type="file"]:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.upload.is-dragover label { border-color: var(--gold); background: var(--paper-2); }
.upload.is-filled label { border-color: var(--green); }
.upload.has-error label { border-color: var(--flag); background: var(--flag-soft); }

.upload__badge {
  grid-area: badge; justify-self: start;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); background: var(--paper-2);
  padding: .18rem .5rem; border-radius: 4px; margin-bottom: .2rem;
}
.upload__badge--warn { background: rgba(201,69,61,.1); color: var(--flag); }
.upload__badge--soft { background: transparent; color: var(--muted-2); padding-inline: 0; }
.upload__name { grid-area: name; font-weight: 600; color: var(--text); font-size: .97rem; }
.upload__hint { grid-area: hint; font-size: var(--fs-xs); line-height: 1.55; color: var(--muted-2); }
.upload__cta {
  grid-area: cta;
  font-size: var(--fs-xs); font-weight: 600; color: var(--navy);
  border: 1px solid var(--line); border-radius: 8px;
  padding: .55rem .85rem; white-space: nowrap;
  min-height: var(--tap); display: inline-flex; align-items: center;
}
.upload.is-filled .upload__cta { color: var(--green); border-color: var(--green); }

.upload__file {
  display: flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); color: var(--muted-2);
  padding: .5rem .3rem .1rem;
}
.upload__file strong { color: var(--text); font-weight: 600; }
.upload__file button {
  background: none; border: 0; padding: .25rem .4rem; cursor: pointer;
  color: var(--flag); font-size: var(--fs-xs); font-weight: 600; text-decoration: underline;
}
.upload__lock { color: var(--green); font-weight: 600; }

.uploads__note {
  margin-top: .9rem; padding: .85rem 1rem;
  background: var(--flag-soft); border: 1px solid rgba(201,69,61,.28);
  border-radius: var(--radius);
  font-size: var(--fs-xs); line-height: 1.6; color: var(--text);
}

@media (max-width: 560px) {
  .upload label { grid-template-columns: 1fr; grid-template-areas: "badge" "name" "hint" "cta"; gap: .3rem; }
  .upload__cta { justify-self: start; margin-top: .5rem; }
}

/* ---------- SMS call-to-action ---------- */
/* Sits beside the phone number on the contact page. Carriers screenshot this
   area during campaign review, so keep it visible and unobscured. */
.smscta {
  margin-top: 1.25rem;
  padding: 1.35rem 1.4rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
}
.smscta h3 { color: var(--gold); font-size: 1.05rem; margin-bottom: .5rem; }
.smscta p { font-size: var(--fs-sm); line-height: 1.65; color: rgba(255,255,255,.82); }
.smscta p + p { margin-top: .75rem; }
.smscta a { color: var(--gold-soft); border-bottom: 1px solid rgba(212,166,75,.5); }
.smscta a:hover { color: var(--white); }
.smscta__fine { font-size: var(--fs-xs); color: rgba(255,255,255,.6); }

/* ---------- Footer disclosure ---------- */
/* Persistent "we are not a lender" line. Deliberately legible rather than
   hidden in fine print — a disclosure nobody can read is not a disclosure. */
.footer__disclosure {
  max-width: 62ch;
  margin: 2.25rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: rgba(255, 255, 255, .62);
}
.footer__disclosure a { color: rgba(255, 255, 255, .85); border-bottom: 1px solid var(--gold); }
.footer__disclosure a:hover { color: var(--gold-soft); }
.footer__disclosure + .footer__bottom { border-top: 0; margin-top: 1.5rem; padding-top: 0; }

/* ---------- Sign-up prompt ---------- */
/* Injected by main.js. Kept visually calm on purpose — an aggressive interstitial
   on a firm asking to be trusted with financial documents reads as cheap. */
.signup[hidden] { display: none; }
.signup {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: var(--gutter);
}
.signup__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 20, 32, .62);
  opacity: 0; transition: opacity .28s var(--ease);
}
.signup.is-open .signup__backdrop { opacity: 1; }

.signup__panel {
  position: relative;
  width: min(30rem, 100%);
  max-height: calc(100dvh - 2 * var(--gutter));
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
}
.signup.is-open .signup__panel { opacity: 1; transform: none; }

.signup__panel h2 {
  font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem);
  margin: .35rem 0 .7rem;
  padding-right: 2rem; /* clear of the close button */
}
.signup__lead { color: var(--muted-2); font-size: var(--fs-sm); line-height: 1.65; margin-bottom: 1.4rem; }
.signup__fine { color: var(--muted-2); font-size: var(--fs-xs); line-height: 1.6; margin-top: .9rem; text-align: center; }

.signup__close {
  position: absolute; top: .7rem; right: .7rem;
  width: var(--tap); height: var(--tap);
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: 50%;
  color: var(--muted); cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.signup__close:hover { background: var(--paper-2); color: var(--text); }

/* Dispatch variant: the call is the primary action, the form is the fallback. */
.signup__call { margin-bottom: .85rem; }
.signup__or {
  text-align: center; font-size: var(--fs-xs); color: var(--muted-2);
  margin: 0 0 1.1rem; position: relative;
}
.signup__or::before,
.signup__or::after {
  content: ""; position: absolute; top: 50%; width: 22%; height: 1px; background: var(--line);
}
.signup__or::before { left: 0; }
.signup__or::after { right: 0; }

.signup__form .field { margin-bottom: 1rem; }
.signup__form .consent--optional { padding: .85rem .95rem; }

/* Stop the page behind the dialog scrolling under it. */
body.signup-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .signup__backdrop, .signup__panel { transition: none; }
}

/* The action bar would sit on top of the dialog's own controls. */
body.signup-open .actionbar { display: none; }

/* ---------- Sticky mobile action bar ---------- */
/* Injected by main.js. Mobile only — on desktop the header CTA is always visible,
   so a second persistent bar would just be noise. */
.actionbar { display: none; }

@media (max-width: 760px) {
  .actionbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 98;
    padding: .55rem var(--gutter) calc(.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(15, 36, 56, .97);
    border-top: 1px solid var(--line-dark);
    transform: translateY(105%);
    transition: transform .3s var(--ease);
  }
  .actionbar.is-in { transform: none; }

  .actionbar a {
    min-height: var(--tap);
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    border-radius: 10px;
    font-size: var(--fs-sm); font-weight: 600; text-align: center;
    text-decoration: none;
  }
  .actionbar__call { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.32); }
  .actionbar__cta  { background: var(--gold); color: var(--ink); }
  .actionbar svg   { flex: none; }

  /* Keep the bar from covering the last of the page content or a focused field. */
  body { padding-bottom: 4.25rem; }

  /* The mobile menu overlays everything; the bar must not float above it. */
  body.nav-open .actionbar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .actionbar { transition: none; }
}

/* ---------- Print ---------- */
@media print {
  .header, .mobile-nav, .footer, .cta, .burger, .hero::after, .actionbar { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .pagehero, .band { background: #fff !important; color: #000 !important; }
  .hero h1, .pagehero h1, .band h2, .band h3 { color: #000 !important; }
}
