/* Small Business AI Coach, 2026 redesign (Claude Design "2a").
   Shared by index.html, accelerator.html, ai-roi-calculator.html.
   Burgundy, gold, eggshell. Newsreader titles, Bodoni Moda brand,
   Bricolage Grotesque labels, Source Serif 4 body. */

:root {
  --burg: #6E1E2E;
  --burg-deep: #5A1624;
  --ink: #4A1523;
  --body: #5A2A35;
  --muted: #7A4A55;
  --gold: #C8A04F;
  --gold-lt: #E3C67F;
  --gold-dk: #9A7428;
  --gold-tag: #D9B96E;
  --gold-hl: #F0D591;
  --egg: #FDFBF7;
  --rule: #EFE3D0;
  --field: #E2D3BC;
  --pink: #F5E9EB;
  --white: #FFFFFF;

  --f-title: 'Newsreader', Georgia, serif;
  --f-brand: 'Bodoni Moda', Georgia, serif;
  --f-label: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-body: 'Source Serif 4', Georgia, serif;

  --gutter: 72px;
  --max: 1280px;
  /* Left/right padding that keeps content on the 1280 grid while backgrounds go full-bleed */
  --pad-x: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));

  --gold-grad: linear-gradient(135deg, #E3C67F 0%, #C8A04F 55%, #B08A3A 100%);
  --shadow-card: 0 18px 40px -28px rgba(78,19,32,.35);
  --shadow-photo: 0 28px 56px -24px rgba(78,19,32,.45), 0 6px 14px -6px rgba(78,19,32,.2);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--egg);
  color: var(--ink);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--burg); text-decoration: none; }
a:hover { color: var(--burg-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.px { padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ── Type ─────────────────────────────────────────── */
.eyebrow {
  font-family: var(--f-label); font-size: 14px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk);
}
.h1 {
  margin: 0; font-family: var(--f-title); font-weight: 600; font-size: 66px;
  line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance;
}
.h2 {
  margin: 0; font-family: var(--f-title); font-weight: 500; font-size: 50px;
  line-height: 1.08; letter-spacing: -0.02em; color: var(--burg-deep); text-wrap: balance;
}
.h2 em, .h1 em { font-weight: inherit; }
.rule-gold { width: 72px; height: 2px; background: var(--gold); }
.lede { margin: 0; font-size: 21px; line-height: 1.55; text-wrap: pretty; }
.prose { margin: 0; font-size: 19px; line-height: 1.6; color: var(--body); text-wrap: pretty; }

/* ── Buttons ──────────────────────────────────────── */
.btn-gold {
  white-space: nowrap; display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-grad); color: var(--burg-deep);
  padding: 19px 32px; border-radius: 999px; border: none; cursor: pointer;
  font-family: var(--f-label); font-size: 17px; font-weight: 600;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .25s var(--ease-spring), filter .2s ease;
}
.btn-gold:hover { filter: brightness(1.06); color: var(--burg-deep); transform: translateY(-2px); }
.btn-gold:active { transform: translateY(0) scale(.98); filter: brightness(.97); }
.btn-gold:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 4px; border-radius: 999px; }
.btn-gold--sm { padding: 12px 22px; font-size: 16px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-gold--md { padding: 18px 30px; }
.on-light.btn-gold { box-shadow: 0 12px 28px -12px rgba(78,19,32,.55), inset 0 1px 0 rgba(255,255,255,.5); }

.link-underline {
  font-family: var(--f-label); font-size: 17px; font-weight: 500;
  border-bottom: 1px solid var(--gold); padding-bottom: 2px;
  transition: border-color .2s ease, opacity .2s ease;
}
.link-underline:hover { border-bottom-color: currentColor; }
.link-underline:active { opacity: .75; }

/* ── Header ───────────────────────────────────────── */
.site-top { background: var(--burg); color: var(--egg); }
.v3-header {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 28px; padding-bottom: 28px;
  font-family: var(--f-label);
  border-bottom: 1px solid rgba(200,160,79,.35);
}
.v3-brand { display: flex; align-items: center; gap: 14px; color: var(--egg); flex: none; white-space: nowrap; }
.v3-brand:hover { color: var(--egg); }
.v3-brand img {
  width: 52px; height: 52px; flex: none; border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(227,198,127,.55), 0 6px 14px -6px rgba(0,0,0,.4);
}
.v3-brand-text { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.v3-brand-name { font-family: var(--f-brand); font-size: 24px; font-weight: 500; line-height: 1.05; }
.v3-brand-tag { font-size: 12px; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-tag); }
.v3-nav { display: flex; align-items: center; gap: 36px; white-space: nowrap; font-size: 16px; font-weight: 500; }
.v3-nav > a:not(.btn-gold) { color: var(--egg); padding-bottom: 2px; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.v3-nav > a:not(.btn-gold):hover { border-bottom-color: rgba(200,160,79,.7); color: var(--egg); }
.v3-nav > a[aria-current="page"] { border-bottom-color: var(--gold); }
.v3-menu-btn {
  display: none; background: none; border: 1px solid rgba(227,198,127,.55); color: var(--egg);
  width: 44px; height: 44px; border-radius: 10px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.v3-menu-btn:hover { background: rgba(255,255,255,.06); }
.v3-menu-btn:active { transform: scale(.96); }
.v3-menu-btn svg { width: 22px; height: 22px; }

/* ── Footer ───────────────────────────────────────── */
.v3-footer {
  border-top: 1px solid var(--rule);
  padding-top: 40px; padding-bottom: 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  font-family: var(--f-label); font-size: 15px; color: var(--muted);
}
.v3-footer nav { display: flex; gap: 28px; flex-wrap: wrap; font-weight: 500; }
.v3-footer nav a { color: var(--burg); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.v3-footer nav a:hover { border-bottom-color: var(--gold); }

/* ── Closing CTA band (shared by all three pages) ─── */
.cta-band {
  background: var(--burg); color: var(--egg);
  padding-top: 120px; padding-bottom: 120px;
  display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 64px; align-items: end;
}
.cta-band__head { display: flex; flex-direction: column; gap: 24px; }
.cta-band h2 {
  margin: 0; font-family: var(--f-brand); font-weight: 500; font-size: 68px;
  line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance;
}
.cta-band h2 em { font-family: var(--f-title); font-weight: 600; color: var(--gold-hl); }
.cta-band__side { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.cta-band__side p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--pink); }

/* ── Form fields ──────────────────────────────────── */
.field {
  font-family: var(--f-body); font-size: 17px; color: var(--ink);
  padding: 14px 20px; border: 1px solid var(--field); background: var(--egg);
  border-radius: 999px; outline: none; min-width: 0; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field::placeholder { color: #A88990; }
.field:hover { border-color: #D4BE9C; }
.field:focus-visible, .field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,160,79,.22); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--body); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--burg); }
.form-msg { margin: 0; font-family: var(--f-label); font-size: 15px; font-weight: 500; min-height: 1em; }
.form-msg.err { color: #A3263A; }
.form-msg.ok { color: #2F6F4F; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --gutter: 48px; }
  .v3-nav { gap: 24px; }
  .h1 { font-size: 56px; }
  .h2 { font-size: 44px; }
  .cta-band h2 { font-size: 56px; }
}
@media (max-width: 900px) {
  .v3-menu-btn { display: inline-flex; }
  .v3-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--burg); padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid rgba(200,160,79,.35);
    box-shadow: 0 24px 40px -24px rgba(40,6,14,.6);
  }
  .v3-nav.is-open { display: flex; }
  .v3-nav > a:not(.btn-gold) { padding: 14px 0; border-bottom: 1px solid rgba(200,160,79,.2); font-size: 18px; }
  .v3-nav > a[aria-current="page"] { color: var(--gold-lt); border-bottom-color: rgba(200,160,79,.2); }
  .v3-nav .btn-gold { margin-top: 18px; align-self: flex-start; }
  .cta-band { grid-template-columns: 1fr; gap: 36px; padding-top: 88px; padding-bottom: 88px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .v3-header { padding-top: 18px; padding-bottom: 18px; }
  .v3-brand img { width: 42px; height: 42px; border-radius: 10px; }
  .v3-brand-name { font-size: 20px; }
  .v3-brand-tag { font-size: 10px; letter-spacing: .12em; }
  .h1 { font-size: 42px; line-height: 1.06; }
  .h2 { font-size: 34px; }
  .lede { font-size: 19px; }
  .prose { font-size: 18px; }
  .cta-band h2 { font-size: 42px; }
  .btn-gold { white-space: normal; text-align: center; }
  .v3-footer { flex-direction: column; align-items: flex-start; }
  .v3-footer nav { gap: 14px 22px; }
}
