/* ==========================================================================
   Double Eagle Financial — core stylesheet
   Design system: "Milled Edge"
   Palette derives from the 1907 Double Eagle: struck gold on ink, ledger rules.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:        #10161C;
  --ink-2:      #1A242D;
  --slate:      #33414E;
  --muted:      #5E6B77;
  --paper:      #F4F5F2;
  --white:      #FFFFFF;
  /* --brass is DECORATIVE ONLY (borders, rules, icons, the milled edge):
     3.35:1 on paper, which clears the 3:1 minimum for non-text UI.
     --brass-text is the accessible variant for text and button fills:
     4.97:1 against both white and paper, so it clears WCAG AA. */
  --brass:      #A87F26;
  --brass-text: #8E6A1C;
  --brass-deep: #6F5215;
  --brass-mid:  #C69B3C;
  --brass-lt:   #E8D3A0;
  --verdigris:  #2C5F52;
  --line:       #DCDED7;
  --line-dark:  #2A3540;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --step--1: clamp(0.80rem, 0.77rem + 0.15vw, 0.875rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.075rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.40rem);
  --step-2:  clamp(1.45rem, 1.30rem + 0.75vw, 1.85rem);
  --step-3:  clamp(1.80rem, 1.52rem + 1.35vw, 2.55rem);
  --step-4:  clamp(2.15rem, 1.65rem + 2.45vw, 3.60rem);
  --step-5:  clamp(2.55rem, 1.75rem + 3.90vw, 4.75rem);

  --gutter: clamp(1.15rem, 0.85rem + 1.5vw, 2.5rem);
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --maxw: 1180px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(16, 22, 28, .06), 0 4px 14px rgba(16, 22, 28, .05);
  --shadow-md: 0 2px 6px rgba(16, 22, 28, .08), 0 18px 44px rgba(16, 22, 28, .10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Sticky header is ~72px; keep anchor targets clear of it. */
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; font-weight: 600; letter-spacing: -0.015em; }
h1 { font-family: var(--font-display); font-size: var(--step-5); font-weight: 500; letter-spacing: -0.025em; }
h2 { font-family: var(--font-display); font-size: var(--step-4); font-weight: 500; letter-spacing: -0.02em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
strong { font-weight: 650; }

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

/* ---------- Utilities ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 760px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--white { background: var(--white); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.center { text-align: center; }
.lede { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.section--ink .lede { color: #A9B6C2; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 999;
  background: var(--ink); color: var(--white); padding: .7rem 1rem; border-radius: var(--radius);
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; }

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

/* Eyebrow — mono ledger label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-text);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); max-width: 120px; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { content: ""; flex: 1; height: 1px; background: var(--line); max-width: 120px; }
.section--ink .eyebrow { color: var(--brass-lt); }
.section--ink .eyebrow::after, .section--ink .eyebrow::before { background: #2C3945; }

/* Signature: the milled (reeded) edge of a Double Eagle coin */
.milled {
  height: 10px;
  width: 100%;
  background-image: repeating-linear-gradient(
    90deg,
    var(--brass) 0 1px,
    transparent 1px 6px
  );
  opacity: .5;
}
.milled--sm { height: 7px; opacity: .45; }
.section--ink .milled { background-image: repeating-linear-gradient(90deg, var(--brass-mid) 0 1px, transparent 1px 6px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  padding: 1rem 1.6rem; min-height: 52px;
  border: 1px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn--primary { background: var(--brass-text); color: #FFF; }
.btn--primary:hover { background: var(--brass-deep); transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--slate); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.section--ink .btn--ghost { color: var(--white); border-color: #46545F; }
.section--ink .btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

.btn-note {
  font-family: var(--font-mono); font-size: .78rem; color: var(--muted);
  letter-spacing: .02em; margin-top: 1rem;
}
.section--ink .btn-note { color: #94A2AE; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 245, 242, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px;
}
.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.logo-sub {
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin-top: 4px;
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--slate);
  padding: .35rem 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brass); }
.header-cta { display: flex; align-items: center; gap: .8rem; }
.header-cta .btn { padding: .7rem 1.15rem; min-height: 44px; font-size: .92rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--brass); }
  .header-cta .btn--ghost { display: none; }
}
@media (max-width: 460px) {
  .header-cta .btn { font-size: .84rem; padding: .65rem .8rem; }
  .logo-sub { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 10px;
  background-image: repeating-linear-gradient(90deg, var(--brass) 0 1px, transparent 1px 6px);
  opacity: .55;
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero h1 { color: var(--white); margin-bottom: .55em; }
.hero h1 em { font-style: italic; color: var(--brass-lt); }
.hero-sub { font-size: var(--step-1); color: #A9B6C2; max-width: 34ch; line-height: 1.5; }
.hero-trust {
  margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid #2A3540;
  display: flex; flex-wrap: wrap; gap: 1.1rem 2rem;
}
.hero-trust li { list-style: none; margin: 0; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; color: #A9B6C2; display: flex; align-items: center; gap: .5rem; }
.hero-trust li::before { content: ""; width: 6px; height: 6px; background: var(--brass-mid); border-radius: 50%; flex-shrink: 0; }
.hero-trust ul { padding: 0; margin: 0; display: contents; }

/* Hero signature panel: a ledger card, the artifact of the business */
.ledger-card {
  background: #16202A;
  border: 1px solid #2A3540;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.ledger-card__head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: #8494A1; padding-bottom: .9rem; border-bottom: 1px solid #2A3540;
}
.ledger-card__head strong { color: var(--brass-lt); font-weight: 500; }
.ledger-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem;
  padding: .85rem 0; border-bottom: 1px dotted #2A3540; align-items: baseline;
}
.ledger-row:last-of-type { border-bottom: 0; }
.ledger-row span { font-size: .92rem; color: #C3CDD6; }
.ledger-row b { font-family: var(--font-mono); font-size: .95rem; font-weight: 500; color: var(--white); }
.ledger-row b.pos { color: #7FBFAC; }
.ledger-row b.neg { color: #E0A38A; }
.ledger-card__foot {
  margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid #2A3540;
  font-family: var(--font-mono); font-size: .74rem; color: #8494A1; line-height: 1.5;
}
.ledger-card__foot b { color: var(--brass-lt); font-weight: 500; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sub { max-width: 46ch; }
  .ledger-card { order: 2; }
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: space-between; padding-block: 1.35rem; }
.trust-item { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--slate); }
.trust-item svg { flex-shrink: 0; color: var(--brass); }

/* ---------- Generic page header ---------- */
.page-head { background: var(--ink); color: var(--paper); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); position: relative; }
.page-head::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 8px;
  background-image: repeating-linear-gradient(90deg, var(--brass) 0 1px, transparent 1px 6px); opacity: .5;
}
.page-head h1 { color: var(--white); max-width: 20ch; }
.page-head .lede { color: #A9B6C2; max-width: 58ch; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
}
.card h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }
.card--ink { background: #16202A; border-color: #2A3540; }
.card--ink h3 { color: var(--white); }
.card--ink p { color: #A9B6C2; }

/* Problem cards — ledger-ruled */
.rule-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  border-top: 3px solid var(--brass);
}
.rule-card .tag {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass-text); display: block; margin-bottom: .8rem;
}
.rule-card h3 { font-size: var(--step-1); }
.rule-card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Cost-of-problem figures */
.figure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #2A3540; border: 1px solid #2A3540; border-radius: var(--radius); overflow: hidden; }
@media (max-width: 780px) { .figure-grid { grid-template-columns: 1fr; } }
.figure {
  background: var(--ink); padding: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
}
.figure dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--brass-lt); margin-bottom: .9rem; }
.figure dd { margin: 0; color: #A9B6C2; font-size: .97rem; }
.figure dd strong { display: block; color: var(--white); font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; margin-bottom: .5rem; letter-spacing: -.02em; }

/* Steps — sequence, so numbering carries real information */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem;
  padding: 1.7rem 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: .8rem; color: var(--brass-text);
  letter-spacing: .1em; padding-top: .35rem;
}
.step h3 { font-size: var(--step-1); margin-bottom: .35rem; }
.step p { color: var(--muted); margin: 0; }
.step .when { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); letter-spacing: .06em; display: block; margin-top: .6rem; }

/* Included list */
.included { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
@media (max-width: 720px) { .included { grid-template-columns: 1fr; } }
.included li {
  list-style: none; padding: .95rem 0 .95rem 1.9rem; border-bottom: 1px solid var(--line);
  position: relative; margin: 0; font-size: .98rem;
}
.included li::before {
  content: ""; position: absolute; left: 0; top: 1.35rem;
  width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--brass);
}
.included ul { padding: 0; margin: 0; }

/* Offer stack table */
.stack { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.stack-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem;
  padding: 1.05rem clamp(1rem, .8rem + 1vw, 1.6rem); border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.stack-row:last-child { border-bottom: 0; }
.stack-row strong { font-weight: 600; }
.stack-row span { font-family: var(--font-mono); font-size: .88rem; color: var(--muted); white-space: nowrap; }
.stack-row small { display: block; color: var(--muted); font-size: .88rem; font-weight: 400; margin-top: .2rem; }
.stack-row--total { background: var(--ink); color: var(--white); }
.stack-row--total span, .stack-row--total small { color: var(--brass-lt); }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.tier {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); display: flex; flex-direction: column; height: 100%;
}
.tier--featured {
  border: 2px solid var(--brass); box-shadow: var(--shadow-md); position: relative;
}
@media (min-width: 961px) { .tier--featured { transform: translateY(-14px); } }
.tier__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brass-text); color: #FFF; font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  padding: .35rem .85rem; border-radius: 2px; white-space: nowrap;
}
.tier__name { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; margin-bottom: .25rem; }
.tier__for { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; color: var(--brass-text); text-transform: uppercase; margin-bottom: 1.1rem; }
.tier__price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: .35rem; }
.tier__price b { font-family: var(--font-display); font-size: clamp(2.1rem, 1.7rem + 1.6vw, 2.8rem); font-weight: 500; letter-spacing: -.03em; }
.tier__price span { font-family: var(--font-mono); font-size: .85rem; color: var(--muted); }
.tier__setup { font-size: .88rem; color: var(--muted); margin-bottom: 1.3rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.tier ul { list-style: none; padding: 0; margin: 0 0 1.6rem; flex: 1; }
.tier li { position: relative; padding-left: 1.6rem; margin-bottom: .7rem; font-size: .95rem; line-height: 1.5; }
.tier li::before {
  content: ""; position: absolute; left: 0; top: .48em; width: 9px; height: 5px;
  border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass);
  transform: rotate(-45deg);
}
.tier li.off { color: #6B757E; }
.tier li.off::before { border-color: #C8CDD2; }

/* Comparison table */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .94rem; }
table.compare th, table.compare td { padding: .95rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
table.compare thead th { background: var(--ink); color: var(--white); font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
table.compare tbody th { font-weight: 500; color: var(--slate); }
table.compare td { text-align: center; color: var(--slate); }
table.compare td.yes { color: var(--verdigris); font-weight: 600; }
table.compare td.no  { color: #6B757E; }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: 0; }
.table-hint { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); margin-top: .7rem; }
@media (min-width: 720px) { .table-hint { display: none; } }

/* ---------- Guarantee ---------- */
.guarantee {
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--brass);
  border-radius: var(--radius); padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem);
}
.guarantee h3 { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; }
.guarantee p { color: var(--slate); margin-bottom: .8rem; }
.guarantee p:last-child { margin-bottom: 0; }

/* ---------- FAQ 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;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
  padding: 1.35rem 0; text-align: left;
  font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; color: var(--ink);
  line-height: 1.4;
}
.faq-q:hover { color: var(--brass-text); }
.faq-icon { flex-shrink: 0; width: 16px; height: 16px; position: relative; margin-top: .35rem; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--brass); transition: transform .22s ease, opacity .22s ease;
}
.faq-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-icon::after  { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { display: none; padding: 0 0 1.5rem; max-width: 68ch; }
.faq-a.is-open { display: block; }
.faq-a p { color: var(--muted); margin-bottom: .8rem; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-group-title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; margin: 3rem 0 .5rem; }
.faq-group-title:first-of-type { margin-top: 0; }

/* ---------- Forms ---------- */
.form-panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.4rem);
}
.form-panel h2, .form-panel h3 { margin-bottom: .4rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: .4rem; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: .15rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; min-height: 48px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235E6B77' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--white); border-color: var(--brass); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B4442F; background: #FCF4F2; }
.field-error { display: none; color: #B4442F; font-size: .85rem; margin-top: .35rem; font-weight: 500; }
.field.has-error .field-error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.15rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .87rem; color: var(--muted); margin-bottom: 1.3rem; }
.consent input { width: 20px; height: 20px; min-height: 0; flex-shrink: 0; margin-top: .15rem; accent-color: var(--brass); }
.form-status {
  display: none; padding: 1rem 1.15rem; border-radius: var(--radius); margin-bottom: 1.25rem; font-size: .94rem;
}
.form-status.is-visible { display: block; }
.form-status.is-error { background: #FCF4F2; border: 1px solid #E8C4BA; color: #8C3524; }
.form-status.is-success { background: #F0F6F4; border: 1px solid #BED8D0; color: #1F4A3F; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Two-column form layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 1.2rem + 2.5vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) { .split--wide-left { grid-template-columns: 1fr; } }

/* Checklist (call agenda etc.) */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: 1rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 11px; height: 6px;
  border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg);
}
.checklist strong { display: block; margin-bottom: .1rem; }
.checklist span { color: var(--muted); font-size: .95rem; }

/* Fit / not-fit */
.fit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 760px) { .fit-cols { grid-template-columns: 1fr; } }
.fit-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.fit-col h3 { font-size: var(--step-1); display: flex; align-items: center; gap: .6rem; }
.fit-col ul { list-style: none; padding: 0; margin: 0; }
.fit-col li { position: relative; padding-left: 1.7rem; margin-bottom: .8rem; font-size: .96rem; color: var(--slate); }
.fit-col--yes li::before { content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 6px; border-left: 2px solid var(--verdigris); border-bottom: 2px solid var(--verdigris); transform: rotate(-45deg); }
.fit-col--no li::before { content: "—"; position: absolute; left: 0; top: 0; color: #6B757E; font-weight: 600; }

/* Proof placeholder — clearly labelled, never fabricated */
.proof-placeholder {
  background: var(--white); border: 1px dashed #B9BEC4; border-radius: var(--radius);
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
}
.proof-placeholder .tag {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); background: var(--paper); border: 1px solid var(--line);
  padding: .25rem .55rem; border-radius: 2px; display: inline-block; margin-bottom: .9rem;
}
.proof-placeholder p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--paper); text-align: center; position: relative; }
.cta-band::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 8px;
  background-image: repeating-linear-gradient(90deg, var(--brass) 0 1px, transparent 1px 6px); opacity: .5;
}
.cta-band h2 { color: var(--white); max-width: 20ch; margin-inline: auto; }
.cta-band .lede { color: #A9B6C2; max-width: 56ch; margin-inline: auto; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(16, 22, 28, .97); backdrop-filter: blur(8px);
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  border-top: 1px solid #2A3540;
  display: none;
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }
@media (max-width: 700px) {
  .sticky-cta { display: block; }
  /* Reserve room so the fixed bar never covers the end of the footer. */
  body { padding-bottom: 74px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #A9B6C2; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-lt); font-weight: 500; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { text-decoration: none; font-size: .94rem; color: #A9B6C2; transition: color .15s; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub { color: #8494A1; }
.footer-blurb { font-size: .93rem; line-height: 1.6; margin-top: 1.1rem; max-width: 34ch; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #2A3540;
  display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; justify-content: space-between;
  font-size: .84rem; color: #8494A1;
}
.footer-bottom a { font-size: .84rem; }
.footer-legal { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .03em; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: 1.75rem; }
.prose p, .prose li { color: var(--slate); }
.prose li { margin-bottom: .5em; }
.updated { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- Thank-you ---------- */
.tick {
  width: 56px; height: 56px; border-radius: 50%; background: var(--brass-text);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.tick svg { color: #FFF; }
.tick--center { margin-inline: auto; }

/* ==========================================================================
   Dark-surface overrides
   Four sections render on ink: .hero, .page-head, .cta-band and .section--ink.
   They previously inherited light-surface component colours, which made ghost
   buttons dark-on-dark and dropped helper text below contrast minimums.
   Declared last so they win without !important.
   ========================================================================== */
.hero .btn--ghost,
.page-head .btn--ghost,
.cta-band .btn--ghost,
.section--ink .btn--ghost {
  color: var(--white);
  border-color: #46545F;
  background: transparent;
}
.hero .btn--ghost:hover,
.page-head .btn--ghost:hover,
.cta-band .btn--ghost:hover,
.section--ink .btn--ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.hero .eyebrow,
.page-head .eyebrow,
.cta-band .eyebrow,
.section--ink .eyebrow { color: var(--brass-lt); }

.hero .eyebrow::before, .hero .eyebrow::after,
.page-head .eyebrow::before, .page-head .eyebrow::after,
.cta-band .eyebrow::before, .cta-band .eyebrow::after,
.section--ink .eyebrow::before, .section--ink .eyebrow::after { background: #2C3945; }

.hero .btn-note,
.page-head .btn-note,
.cta-band .btn-note,
.section--ink .btn-note { color: #94A2AE; }

.hero .lede,
.page-head .lede,
.cta-band .lede,
.section--ink .lede { color: #A9B6C2; }

.hero a:not(.btn),
.page-head a:not(.btn),
.cta-band a:not(.btn),
.section--ink a:not(.btn) { color: var(--brass-lt); }

/* ---------- Motion ---------- */
/* Scroll reveal is progressive enhancement: the starting hidden state applies
   ONLY when the inline head script has confirmed JS is running. Without JS the
   content renders normally instead of staying permanently invisible. */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}
