/* ==========================================================================
   Merit Consulting Partners — site stylesheet
   Brand: navy #032A39, amber #F89B25, slate #546E78, mist #95A6AC
   Fonts: Jost (headings), Source Sans 3 (body)

   Contents
     1. Tokens & base
     2. Typography
     3. Buttons
     4. Header & navigation
     5. Heroes
     6. Sections, cards, grids
     7. Page components (approach, about, services, contact, legal)
     8. Landing-page components (bookkeeping, fractional-cfo)
     9. Footer
    10. Motion
    11. Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens & base
   -------------------------------------------------------------------------- */
:root {
  --navy: #032A39;
  --navy-soft: #0B3B4D;
  --navy-deep: #021C27;
  --amber: #F89B25;
  --amber-dark: #DB8412;
  --amber-text: #A85F08;   /* amber tone that passes AA (4.9:1) as text on white */
  --amber-soft: #FFF4E5;
  --slate: #546E78;
  --mist: #95A6AC;
  --ink: #032A39;
  --bg: #FFFFFF;
  --bg-alt: #F4F7F8;
  --border: #E1E7EA;
  --line: rgba(3, 42, 57, 0.08);
  --on-dark: #D8E2E6;
  --on-dark-muted: #9FB1B8;

  --font-head: 'Jost', Calibri, Helvetica, Arial, sans-serif;
  --font-body: 'Source Sans 3', Calibri, Helvetica, Arial, sans-serif;

  --max-width: 1160px;
  --header-h: 76px;
  --gutter: 24px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(3, 42, 57, 0.05), 0 2px 8px rgba(3, 42, 57, 0.05);
  --shadow-md: 0 8px 24px rgba(3, 42, 57, 0.09), 0 2px 6px rgba(3, 42, 57, 0.05);
  --shadow-lg: 0 28px 64px rgba(3, 42, 57, 0.16), 0 8px 20px rgba(3, 42, 57, 0.08);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-base: 260ms;
  --t-slow: 520ms;
}

*, *::before, *::after { box-sizing: border-box; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.04rem;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--amber); color: var(--navy); }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600;
  padding: 12px 18px; border-radius: 0 0 8px 8px; text-decoration: none;
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: 0; outline: 3px solid var(--amber); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   2. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 18px 0;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.7rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.22rem; line-height: 1.25; }

p { margin: 0 0 16px 0; color: var(--slate); }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--amber-text);
  margin: 0 0 14px 0;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow.center::after {
  content: "";
  width: 22px; height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.center { text-align: center; }
.section-sub.center { max-width: 640px; margin-left: auto; margin-right: auto; }

.lede { max-width: 760px; margin: 0 auto 14px; font-size: 1.16rem; line-height: 1.65; }
.lede.center { text-align: center; }
.lede a, .steps-note a, .pricing-foot a, details p a, .partner-link, #ai-layer > .wrap > p a, .legal-page p a {
  color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 0;
  background-image: linear-gradient(var(--amber-soft), var(--amber-soft)), linear-gradient(var(--amber), var(--amber));
  background-repeat: no-repeat;
  background-position: 0 100%, 0 100%;
  background-size: 100% 0, 100% 2px;
  transition: background-size var(--t-base) var(--ease), color var(--t-fast) var(--ease);
}
.lede a:hover, .steps-note a:hover, .pricing-foot a:hover, details p a:hover, .partner-link:hover, #ai-layer > .wrap > p a:hover, .legal-page p a:hover {
  background-size: 100% 100%, 100% 2px;
  color: var(--navy);
}

/* layout utilities */
.section--alt { background: var(--bg-alt); }
.section--light { background: var(--bg); }
.wrap--narrow { max-width: 800px; }
.lede--strong { font-weight: 600; color: var(--navy); }
.stage-label { font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.text-small { font-size: 0.85rem; color: var(--slate); }
.mt-10 { margin-top: 10px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-36 { margin-top: 36px; }
.btn-inline { width: auto; }

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--r-sm);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.985); transition-duration: 60ms; }
.btn:focus-visible { outline-offset: 4px; }

.btn-primary {
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 20px -8px rgba(248, 155, 37, 0.6);
}
.btn-primary::after {
  content: "";
  width: 14px; height: 14px; flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s var(--ease);
}
.btn-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 14px 28px -10px rgba(219, 132, 18, 0.65);
}
.btn-primary:hover::after { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(3, 42, 57, 0.18);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(3, 42, 57, 0.04); transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(3, 42, 57, 0.35); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
  width: 100%;
}
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.btn-lg { padding: 18px 32px; font-size: 1.05rem; }
.btn-nav { padding: 11px 18px; font-size: 0.9rem; white-space: nowrap; }
.btn-nav::after { width: 12px; height: 12px; }

/* --------------------------------------------------------------------------
   4. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -12px rgba(3, 42, 57, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
.logo-link { flex-shrink: 0; display: flex; align-items: center; min-height: 44px; transition: opacity var(--t-fast) var(--ease); }
.logo-link:hover { opacity: 0.8; }
.logo-img { height: 30px; width: auto; }

.site-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  margin-left: auto;
  margin-right: 8px;
}
.site-nav > a:not(.btn) {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  white-space: nowrap;
}
.site-nav > a:not(.btn)::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 2px; background: var(--amber); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-nav > a:not(.btn):hover::after, .site-nav > a.is-current:not(.btn)::after { transform: scaleX(1); }
.site-nav > a.is-current { color: var(--navy); }
.nav-toplevel.is-current { color: var(--navy); box-shadow: inset 0 -2px 0 var(--amber); border-radius: 6px 6px 0 0; }

/* dropdown menus */
.nav-dropdown { position: relative; }
.nav-toplevel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-toplevel:hover,
.nav-dropdown.open .nav-toplevel { background: rgba(3, 42, 57, 0.05); }
.nav-chevron { width: 10px; height: 6px; flex-shrink: 0; transition: transform 0.2s var(--ease); color: var(--mist); }
.nav-dropdown.open .nav-chevron,
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron { transform: rotate(180deg); color: var(--amber-text); }

.nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 280px;
  display: none;
  flex-direction: column;
  z-index: 90;
  animation: menuIn 0.18s var(--ease-out);
}
.nav-panel::before { /* hover bridge */
  content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px;
}
.nav-dropdown.open .nav-panel,
.nav-dropdown:focus-within .nav-panel { display: flex; }
@media (hover: hover) {
  .nav-dropdown:hover .nav-panel { display: flex; }
}

.nav-panel a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.nav-panel a:hover, .nav-panel a:focus-visible { background: var(--bg-alt); color: var(--amber-text); transform: translateX(2px); }
.nav-panel a { transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.nav-panel a.is-current { color: var(--amber-text); background: var(--amber-soft); }
.nav-panel-divider { height: 1px; background: var(--border); margin: 6px 6px; }
.nav-panel-all { color: var(--amber-text) !important; }

/* mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span + span { margin-top: 5px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-cta-mobile { display: none; }

/* services sticky sub-navigation */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 70;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 10px; padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.84rem;
  color: var(--slate);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
}
.subnav a:hover { color: var(--ink); background: var(--bg-alt); transform: translateY(-1px); }
.subnav a:active { transform: none; }
.subnav a.is-active { color: var(--navy); font-weight: 600; background: var(--amber-soft); border-color: rgba(248, 155, 37, 0.4); }
body.has-subnav [id] { scroll-margin-top: calc(var(--header-h) + 80px); }
@media (max-width: 960px) {
  .subnav-inner {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
    padding-right: 48px;
  }
}

/* --------------------------------------------------------------------------
   5. Heroes
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 88px 0 80px;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.hero::before { /* faint grid */
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(3, 42, 57, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(3, 42, 57, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 30%, transparent 100%);
}
.hero::after { /* amber glow */
  content: "";
  position: absolute; z-index: -1;
  top: -180px; right: -120px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(248, 155, 37, 0.18), transparent 62%);
  pointer-events: none;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}
.hero-copy { flex: 1.15; min-width: 0; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-sub { font-size: 1.2rem; line-height: 1.6; max-width: 560px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-trust { font-size: 0.88rem; color: var(--slate); margin: 0; }
.hero-trust-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  font-size: 0.9rem; color: var(--slate);
}
.hero-trust-list li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust-list svg { width: 16px; height: 16px; color: var(--amber-text); flex-shrink: 0; }

/* index hero visual composition */
.hero-visual {
  flex: 0.9;
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  --px: 0; --py: 0;
}
.hero-panel {
  position: absolute; inset: 8% 6% 6% 8%;
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 85% 15%, rgba(248, 155, 37, 0.28), transparent 45%),
    linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translate(calc(var(--px) * -6px), calc(var(--py) * -6px));
  transition: transform var(--t-slow) var(--ease-out);
}
.hero-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-panel svg {
  position: absolute; right: -8%; bottom: -10%;
  width: 78%; height: auto; opacity: 0.9;
}
.hero-chip {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.2;
  --depth: 1;
  animation: floatY 7s ease-in-out infinite;
  transform: translate(calc(var(--px) * 10px * var(--depth)), calc(var(--py) * 10px * var(--depth)));
  transition: transform var(--t-slow) var(--ease-out);
}
.hero-chip small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--slate); font-size: 0.8rem; margin-top: 2px; }
.hero-chip .chip-icon {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: var(--amber-soft); color: var(--amber-text);
  display: grid; place-items: center;
}
.hero-chip .chip-icon svg { width: 18px; height: 18px; }
.hero-chip:nth-child(2) { top: 0; left: 0; animation-delay: -1s; --depth: 1.4; }
.hero-chip:nth-child(3) { top: 44%; right: 0; animation-delay: -3s; --depth: 0.9; }
.hero-chip:nth-child(4) { bottom: 0; left: 10%; animation-delay: -5s; --depth: 1.2; }

/* legacy hero art (kept for safety) */
.hero-art { flex: 0.7; display: flex; justify-content: center; align-items: center; }
.hero-mark { width: 100%; max-width: 280px; }

/* interior hero */
.hero-simple {
  position: relative;
  padding: 88px 0 72px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-simple::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(3, 42, 57, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(3, 42, 57, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 0%, #000 20%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 100% at 50% 0%, #000 20%, transparent 100%);
}
.hero-simple .wrap { max-width: 840px; }
.hero-simple h1 { margin-bottom: 22px; }
.hero-simple .hero-sub { max-width: 100%; margin: 0 auto 18px; font-size: 1.18rem; }
.hero-simple .hero-sub:last-child { margin-bottom: 0; }
.hero-simple .hero-ctas { justify-content: center; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   6. Sections, cards, grids
   -------------------------------------------------------------------------- */
.section { padding: 104px 0; }
.section + .section.section--flush { padding-top: 0; }
.services, .faq, .pricing { background: var(--bg-alt); }
.process, .about { background: var(--bg); }

.section h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.section > .wrap > h2.center { margin-bottom: 20px; }
.section > .wrap > h2.center + .card-grid,
.section > .wrap > h2.center + .stage-list,
.section > .wrap > h2.center + .steps,
.section > .wrap > h2.center + .faq-list,
.section > .wrap > h2.center + .bio-grid,
.section > .wrap > h2.center + .service-block { margin-top: 52px; }
.section > .wrap > .lede.center + .card-grid { margin-top: 48px; }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.12rem; margin: 0; }
.section-head.left { margin-left: 0; text-align: left; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card-grid--4 .card { padding: 28px 24px; }
.card-grid--4 .card h3 { font-size: 1.1rem; }
.card-grid--4 .card p { font-size: 0.94rem; }
.card {
  position: relative;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(3, 42, 57, 0.16);
}
.card-num {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--amber-text);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.card-num::after {
  content: ""; flex: 1; height: 1px;
  background-color: var(--border);
  background-image: linear-gradient(var(--amber), var(--amber));
  background-repeat: no-repeat; background-position: 0 0; background-size: 0% 100%;
  transition: background-size var(--t-slow) var(--ease-out);
}
.card:hover .card-num::after { background-size: 100% 100%; }
.card-marker {
  display: block; width: 36px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
  margin-bottom: 20px;
  transition: width var(--t-base) var(--ease-out);
}
.card:hover .card-marker { width: 56px; }
.mini-mark { width: 34px; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; font-size: 0.98rem; }

/* process steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute; left: 22px; right: 22px; top: 22px;
  height: 1px; background: var(--border);
}
.step { display: flex; flex-direction: column; gap: 16px; position: relative; }
.step-num {
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  font-family: var(--font-head);
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--bg);
}
.section[style*="bg-alt"] .step-num, .process.pricing .step-num { box-shadow: 0 0 0 6px var(--bg-alt); }
.step:hover .step-num { transform: scale(1.08); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.96rem; margin: 0; }
.step-when {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.76rem; color: var(--amber-text); margin: 0 0 6px;
}
.steps-note { max-width: 720px; margin: 44px auto 0; text-align: center; font-size: 1rem; color: var(--slate); }


/* pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(165deg, var(--navy-soft), var(--navy-deep));
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.price-card.featured h3, .price-card.featured .price-amount { color: #fff; }
.price-card.featured .price-desc, .price-card.featured li, .price-card.featured .price-amount span { color: var(--on-dark); }
.price-card.featured li { border-top-color: rgba(255,255,255,0.12); }
.price-card.featured li svg { color: var(--amber); }
.price-card.featured .price-fit { color: var(--amber); }
.price-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--amber);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0;
  box-shadow: 0 6px 14px -6px rgba(248,155,37,0.8);
}
.price-fit {
  font-family: var(--font-head); font-weight: 600; font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--amber-text); margin: 0 0 8px;
}
.price-desc { font-size: 0.95rem; min-height: 62px; }
.price-amount {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 6px 0 22px 0;
  line-height: 1;
}
.price-amount span { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--slate); margin-left: 2px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 28px 0; flex: 1; }
.price-card li {
  font-size: 0.95rem;
  color: var(--slate);
  padding: 10px 0;
  border-top: 1px solid var(--border);
  display: flex; gap: 10px; align-items: flex-start;
}
.price-card li:first-child { border-top: none; }
.price-card li svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--amber-text); margin-top: 4px; }
.price-card li a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--amber); }
.price-card .btn { width: 100%; }
.pricing-includes {
  max-width: 900px; margin: 40px auto 0; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 22px 28px;
  display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center;
  font-size: 0.94rem; color: var(--slate);
}
.pricing-includes strong { font-family: var(--font-head); }
.pricing-includes ul { display: contents; margin: 0; padding: 0; }
.pricing-includes li { list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.pricing-includes svg { width: 15px; height: 15px; color: var(--amber-text); }
.pricing-foot { text-align: center; font-size: 0.95rem; color: var(--slate); margin: 24px auto 0; max-width: 720px; }


/* about split */
.about-inner { display: flex; gap: 64px; align-items: center; }
.about-copy { flex: 1.3; }
.about-card {
  flex: 0.8;
  background: linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
  border-radius: var(--r-lg);
  padding: 52px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-logo { width: 100%; max-width: 260px; margin: 0 auto 20px; }
.about-location { color: var(--on-dark-muted); font-size: 0.9rem; margin: 0; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0 26px;
  margin-bottom: 12px;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
details[open] { box-shadow: var(--shadow-sm); border-color: rgba(3, 42, 57, 0.16); }
details:hover { border-color: rgba(3, 42, 57, 0.16); }
details.is-animating { overflow: hidden; }
summary:hover { color: var(--amber-text); }
summary { transition: color var(--t-fast) var(--ease); }
details:hover summary::after { background-color: rgba(248, 155, 37, 0.28); }
summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.06rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 20px 44px 20px 0;
  color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 28px; height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--amber-soft);
  -webkit-mask: none; mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%23DB8412' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.2s var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0; padding: 0 0 22px; font-size: 1rem; }
details[open]:not(.is-animating) p { animation: fadeUp 0.3s var(--ease-out); }


/* final CTA */
.final-cta {
  position: relative;
  background: linear-gradient(160deg, var(--navy-soft) 0%, var(--navy) 45%, var(--navy-deep) 100%);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.final-cta::before {
  content: "";
  position: absolute; z-index: -1;
  right: -6%; bottom: -30%;
  width: 46%; aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 890 890'%3E%3Cpolygon fill='%23ffffff' fill-opacity='0.06' points='130,170 270,260 270,720 130,720'/%3E%3Cpolygon fill='%23F89B25' fill-opacity='0.16' points='335,305 445,385 755,170 755,320 445,525 335,455'/%3E%3Cpolygon fill='%23ffffff' fill-opacity='0.06' points='625,485 755,395 755,720 625,720'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}
.final-cta::after {
  content: "";
  position: absolute; z-index: -1;
  left: -10%; top: -40%;
  width: 50%; height: 120%;
  background: radial-gradient(circle, rgba(248, 155, 37, 0.14), transparent 60%);
  pointer-events: none;
}
.final-cta-inner { max-width: 680px; }
.final-cta h2 { color: #fff; }
.final-cta p { color: var(--on-dark); font-size: 1.12rem; }
.final-cta .eyebrow { color: var(--amber); }
.final-cta .eyebrow::before, .final-cta .eyebrow::after { background: var(--amber); }
.final-cta .btn-primary { margin-top: 8px; }
.final-cta-alt { margin-top: 22px; font-size: 0.95rem; color: var(--on-dark-muted); }
.final-cta-alt a { color: var(--amber); text-decoration: none; font-weight: 600; }
.final-cta-alt a:hover { color: #fff; }
.final-cta .hero-ctas { margin: 8px 0 0; justify-content: center; }
.final-cta-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.final-cta-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

/* --------------------------------------------------------------------------
   7. Page components
   -------------------------------------------------------------------------- */

/* services: service detail blocks */
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-rows: auto 1fr;
  column-gap: 56px;
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:first-of-type { padding-top: 8px; }
.service-block:last-of-type { border-bottom: none; padding-bottom: 0; }
.service-block h3 { grid-column: 1; font-size: 1.5rem; letter-spacing: -0.015em; margin-bottom: 12px; }
.service-block .service-intro { grid-column: 1; align-self: start; font-size: 1.06rem; margin: 0; }
.service-block ul {
  grid-column: 2; grid-row: 1 / span 2;
  margin: 0; padding: 0; list-style: none; color: var(--slate);
}
.service-block li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.service-block li:first-child { border-top: none; padding-top: 0; }
.service-block li::before {
  content: "";
  position: absolute; left: 0; top: 19px;
  width: 12px; height: 2px; background: var(--amber); border-radius: 2px;
}
.service-block li:first-child::before { top: 9px; }
.service-note {
  grid-column: 1 / -1;
  font-size: 0.88rem;
  color: var(--slate);
  background: var(--bg-alt);
  border-left: 3px solid var(--amber);
  padding: 12px 16px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-top: 22px;
}

/* AI table */
.ai-table-wrap { overflow-x: auto; margin: 40px 0; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-sm); }
.ai-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.ai-table th, .ai-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 0.94rem; color: var(--slate); vertical-align: top; }
.ai-table tr:last-child td { border-bottom: none; }
.ai-table td { transition: background-color var(--t-fast) var(--ease); }
.ai-table tbody tr:hover td { background: #FAFBFC; }
.ai-table tbody tr:hover td:nth-child(3) { background: rgba(248, 155, 37, 0.1); }
.ai-table th { font-family: var(--font-head); color: var(--ink); font-weight: 600; background: var(--bg-alt); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ai-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.ai-table th:nth-child(3), .ai-table td:nth-child(3) { background: rgba(248, 155, 37, 0.05); }
#ai-layer h3 { font-size: 1.25rem; margin-top: 36px; }
#ai-layer > .wrap > p { max-width: 800px; }


/* approach: stage timeline */
.stage-list { margin: 0; padding: 0; list-style: none; position: relative; }
.stage-list::before {
  content: "";
  position: absolute; left: 27px; top: 28px; bottom: 28px;
  width: 2px; background: linear-gradient(to bottom, var(--amber), var(--border) 30%, var(--border));
}
.stage { display: grid; grid-template-columns: 56px 1fr; gap: 32px; padding: 0 0 56px; position: relative; }
.stage:last-child { padding-bottom: 0; }
.stage-badge {
  transition: transform var(--t-base) var(--ease-out);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  box-shadow: 0 0 0 8px var(--bg);
  position: relative; z-index: 1;
}
.stage > div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 34px;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.stage:hover > div { border-color: rgba(3, 42, 57, 0.16); box-shadow: var(--shadow-sm); }
.stage:hover .stage-badge { transform: scale(1.06); }
.stage-eyebrow {
  font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.76rem; color: var(--amber-text); margin-bottom: 8px;
}
.stage h3 { font-size: 1.5rem; margin-bottom: 12px; }
.stage ul { padding: 0; list-style: none; color: var(--slate); margin: 0 0 12px 0; }
.stage li { position: relative; padding: 6px 0 6px 24px; }
.stage li::before { content: ""; position: absolute; left: 0; top: 15px; width: 12px; height: 2px; background: var(--amber); border-radius: 2px; }
.stage-note { background: var(--bg-alt); border-radius: var(--r-sm); padding: 20px 22px; font-size: 0.94rem; margin-top: 18px; border-left: 3px solid var(--amber); }
.stage-note p:last-child { margin-bottom: 0; }

/* about: bios */
.bio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 8px; }
.bio-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
}
.bio-photo {
  transition: transform var(--t-base) var(--ease-out);
  width: 92px; height: 92px; border-radius: 24px;
  background: linear-gradient(150deg, var(--navy-soft), var(--navy-deep));
  color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; letter-spacing: 0.04em;
  margin-bottom: 22px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), var(--shadow-sm);
}
img.bio-photo { object-fit: cover; object-position: center top; padding: 0; background: var(--bg-alt); }
.bio-name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.35rem; margin-bottom: 2px; letter-spacing: -0.01em; }
.bio-title { color: var(--amber-text); font-weight: 600; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; font-family: var(--font-head); }
.bio-card p { font-size: 0.98rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.tag-list li { background: var(--bg-alt); border: 1px solid var(--border); color: var(--ink); font-size: 0.78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.tag-list li:hover { background: var(--amber-soft); border-color: rgba(248,155,37,0.45); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: start; }
.contact-form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 18px; min-width: 0; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.form-group label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; color: var(--ink); margin-bottom: 7px; transition: color var(--t-fast) var(--ease); }
.form-group:focus-within label { color: var(--amber-text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23546E78' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 10px; padding-right: 36px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(3, 42, 57, 0.08);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--mist); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--slate); margin: 4px 0 20px; }
.form-honeypot { position: absolute; left: -9999px; }
.contact-aside { display: flex; flex-direction: column; gap: 14px; }
.contact-info-block {
  background: var(--bg-alt);
  border-radius: var(--r-md);
  padding: 24px 26px;
  margin-bottom: 0;
}
.contact-info-block h3 { margin-bottom: 8px; font-size: 1.05rem; }
.contact-info-block p { margin-bottom: 4px; font-size: 0.97rem; }
.contact-info-block a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-info-block a:hover { color: var(--amber-text); }
.contact-info-block .btn { width: 100%; margin-top: 6px; }
.contact-info-block .btn-outline { background: #fff; }

/* legal pages */
.legal-page .wrap { max-width: 760px; }
.legal-page .section { padding-top: 72px; }
.legal-page h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
.legal-meta { color: var(--slate); font-size: 0.9rem; margin-bottom: 32px; }
.legal-notice {
  animation: fadeUp var(--t-slow) var(--ease-out);
  background: var(--amber-soft);
  border-left: 3px solid var(--amber);
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 36px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.legal-page h2 { font-size: 1.4rem; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); }
.legal-page h3 { font-size: 1.08rem; margin-top: 26px; }
.legal-page ul { padding-left: 22px; color: var(--slate); }
.legal-page li { margin-bottom: 8px; }
.legal-page p { margin-bottom: 16px; }
.legal-page .eyebrow { margin-bottom: 8px; }
.legal-page a { color: var(--ink); font-weight: 600; }
.legal-page p a { font-weight: 600; }

/* --------------------------------------------------------------------------
   8. Landing-page components
   -------------------------------------------------------------------------- */
.hero-lp { padding: 80px 0 72px; }
.hero-lp .hero-inner { gap: 56px; }
.hero-lp .hero-copy { flex: 1.15; }
.hero-lp .hero-sub { margin-bottom: 30px; }
.hero-side { flex: 0.85; min-width: 0; }
.hero-card {
  position: relative;
  background:
    radial-gradient(circle at 90% 5%, rgba(248, 155, 37, 0.3), transparent 42%),
    linear-gradient(160deg, var(--navy-soft), var(--navy-deep));
  border-radius: var(--r-lg);
  padding: 34px 32px 28px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-card > * { position: relative; }
.hero-card-eyebrow {
  font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.76rem; color: var(--amber); margin-bottom: 14px;
}
.hero-card h3, .hero-card-title { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; color: #fff; font-size: 1.35rem; margin: 0 0 20px; text-wrap: balance; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.98rem; color: var(--on-dark);
}
.check-list li:first-child { border-top: none; padding-top: 0; }
.check-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--amber); margin-top: 2px; }
.hero-card-foot {
  margin: 20px 0 0; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 0.92rem; color: var(--on-dark-muted);
}
.hero-card-foot strong { color: #fff; font-family: var(--font-head); font-weight: 600; }
.hero-card-price { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--amber); letter-spacing: -0.01em; }
.hero-card-price span { font-size: 0.85rem; font-weight: 500; color: var(--on-dark-muted); letter-spacing: 0; }

/* credentials strip */
.cred-strip {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 44px 0 36px;
  overflow: hidden;
}
.cred-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; }
.cred-item { text-align: center; position: relative; padding: 0 12px; }
.cred-item + .cred-item::before {
  content: ""; position: absolute; left: -16px; top: 12%; height: 76%; width: 1px;
  background: rgba(255,255,255,0.1);
}
.cred-stat {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: 2.1rem; line-height: 1; letter-spacing: -0.02em; color: var(--amber); margin-bottom: 8px;
}
.cred-label { color: var(--on-dark); font-size: 0.9rem; margin: 0; line-height: 1.45; }
.cred-firms {
  margin: 30px 0 0; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; color: var(--on-dark-muted); font-size: 0.82rem;
}
.cred-firms span {
  display: inline-block; margin: 0 12px;
  font-family: var(--font-head); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: #fff; font-size: 0.82rem; opacity: 0.85;
}

/* problem / pain */
.pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pain-card {
  position: relative;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 30px 28px 30px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pain-card::before {
  content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px;
  background: linear-gradient(to bottom, var(--amber), var(--amber-dark)); border-radius: 0 3px 3px 0;
}
.pain-card::before { transition: top var(--t-base) var(--ease), bottom var(--t-base) var(--ease); }
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pain-card:hover::before { top: 14px; bottom: 14px; }
.pain-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.pain-card p { margin: 0; font-size: 0.98rem; }
.value-line {
  max-width: 800px; margin: 52px auto 0; text-align: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1.4rem;
  line-height: 1.35; color: var(--ink); letter-spacing: -0.01em;
}
.value-line em { font-style: normal; color: var(--amber-text); }

/* benefits */
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.benefit {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 30px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(150deg, var(--navy-soft), var(--navy-deep)); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon svg { width: 22px; height: 22px; transition: transform var(--t-base) var(--ease-out); }
.benefit:hover .benefit-icon svg { transform: scale(1.12); }
.benefit h3 { font-size: 1.15rem; margin-bottom: 8px; }
.benefit p { margin: 0; font-size: 0.98rem; }

/* comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare th, .compare td {
  padding: 16px 18px; text-align: center; font-size: 0.94rem;
  border-bottom: 1px solid var(--border); color: var(--slate); vertical-align: middle;
}
.compare thead th { font-family: var(--font-head); font-weight: 600; color: var(--ink); background: var(--bg-alt); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.compare tr:last-child td { border-bottom: none; }
.compare tbody tr { transition: background-color var(--t-fast) var(--ease); }
.compare tbody tr:hover td { background: #FAFBFC; }
.compare tbody tr:hover td.col-merit { background: rgba(248, 155, 37, 0.12); }
.compare .col-merit { background: rgba(248, 155, 37, 0.07); color: var(--ink); font-weight: 600; transition: background-color var(--t-fast) var(--ease); }
.compare thead th.col-merit { background: var(--amber); color: var(--navy); }
.compare .yes { color: #1E7F4F; font-weight: 700; }
.compare .no { color: var(--slate); }

/* social proof: partners */
.partner-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.partner-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 30px; display: flex; gap: 22px; align-items: flex-start;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.partner-card:hover .bio-photo, .bio-card:hover .bio-photo { transform: rotate(-3deg) scale(1.04); }
.partner-card .bio-photo { width: 68px; height: 68px; border-radius: 18px; font-size: 1.1rem; margin: 0; flex-shrink: 0; }
.partner-card .bio-name { font-size: 1.15rem; }
.partner-card .bio-title { margin-bottom: 10px; }
.partner-card p { font-size: 0.96rem; margin: 0; }
.partner-link { display: inline-block; margin-top: 8px; padding: 6px 0 2px; font-size: 0.92rem; }

/* testimonials (reserved for future use) */
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.quote-card { background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 30px 30px 26px; display: flex; flex-direction: column; position: relative; }
.quote-card::before { content: "\201C"; font-family: Georgia, serif; font-size: 4rem; line-height: 1; color: var(--amber); position: absolute; top: 14px; left: 24px; opacity: 0.8; }
.quote-card blockquote { margin: 26px 0 18px; font-size: 1.02rem; line-height: 1.6; color: var(--on-dark); flex: 1; }
.quote-card cite { font-style: normal; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: #fff; }
.quote-card cite span { display: block; font-family: var(--font-body); font-weight: 400; color: var(--on-dark-muted); font-size: 0.85rem; }

/* engagement models (CFO page pricing) */
.engagement-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.engagement {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 26px;
  display: flex; flex-direction: column; position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.engagement:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.engagement.featured {
  background: linear-gradient(165deg, var(--navy-soft), var(--navy-deep));
  border-color: transparent; box-shadow: var(--shadow-lg); color: #fff;
}
.engagement.featured h3 { color: #fff; }
.engagement.featured p, .engagement.featured li { color: var(--on-dark); }
.engagement.featured .engagement-meta { color: var(--amber); }
.engagement.featured li { border-top-color: rgba(255,255,255,0.12); }
.engagement.featured li svg { color: var(--amber); }
.engagement .price-badge { left: 24px; }
.engagement h3 { margin-bottom: 4px; }
.engagement-meta { font-family: var(--font-head); font-size: 0.8rem; color: var(--amber-text); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.engagement p { font-size: 0.95rem; margin: 0 0 16px; flex: 1; }
.engagement ul { list-style: none; margin: 0; padding: 0; }
.engagement li { font-size: 0.92rem; color: var(--slate); padding: 8px 0; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.engagement li svg { width: 15px; height: 15px; color: var(--amber-text); flex-shrink: 0; margin-top: 4px; }
.engagement .engagement-cta { margin-top: 20px; width: 100%; }
.fee-drivers {
  max-width: 900px; margin: 40px auto 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 32px;
}
.fee-drivers h3 { font-size: 1.1rem; margin-bottom: 10px; }
.fee-drivers p { font-size: 0.97rem; margin: 0; }
.fee-drivers ul { margin: 0; padding: 0; list-style: none; }
.fee-drivers li { font-size: 0.95rem; color: var(--slate); padding: 6px 0; display: flex; gap: 8px; }
.fee-drivers li svg { width: 15px; height: 15px; color: var(--amber-text); flex-shrink: 0; margin-top: 4px; }

/* final CTA with lead form */
.final-cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; text-align: left; }
.final-cta-grid h2 { color: #fff; margin-left: 0; }
.final-cta-grid .eyebrow.center { justify-content: flex-start; }
.final-cta-grid .final-cta-points { list-style: none; margin: 4px 0 24px; padding: 0; }
.final-cta-grid .final-cta-points li { display: flex; gap: 10px; color: var(--on-dark); padding: 7px 0; font-size: 1rem; }
.final-cta-grid .final-cta-points svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; margin-top: 4px; }
.lead-form {
  background: #fff; border-radius: var(--r-lg); padding: 32px; color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.lead-form h3 { margin-bottom: 4px; font-size: 1.35rem; }
.lead-form .form-lead { color: var(--slate); font-size: 0.94rem; margin-bottom: 20px; }
.lead-form .form-group { margin-bottom: 14px; }
.lead-form .form-note { margin: 12px 0 0; }
.lead-form .btn { width: 100%; border: none; }
.lead-form textarea { min-height: 84px; }
.form-error { display: none; color: #B42318; font-size: 0.88rem; margin: 0 0 12px; }
.final-cta .cta-direct { color: var(--on-dark-muted); font-size: 0.94rem; margin: 0; }
.final-cta .cta-direct a { color: var(--amber); text-decoration: none; font-weight: 600; }

/* mobile sticky CTA */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(3, 42, 57, 0.1);
}
.sticky-cta .btn { width: 100%; }

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--navy-deep);
  color: var(--on-dark);
  padding: 72px 0 32px;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(248,155,37,0.5), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo { height: 26px; margin: 0 0 18px; }
.footer-tagline { color: var(--on-dark-muted); font-size: 0.95rem; max-width: 340px; margin: 0 0 22px; line-height: 1.55; }
.footer-contact { list-style: none; margin: 0; padding: 0; font-size: 0.95rem; }
.footer-contact li { margin-bottom: 8px; }
.footer-contact a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: var(--amber); }
.footer-col h4 {
  color: #fff; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin: 0 0 18px; font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { display: inline-block; color: var(--on-dark); text-decoration: none; font-size: 0.95rem; transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.footer-col a:hover { color: var(--amber); transform: translateX(3px); }
.footer-bottom { padding-top: 28px; }
.footer-disclosure {
  max-width: 100%;
  margin: 0 0 18px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--on-dark-muted);
  text-align: left;
}
.footer-disclosure a { color: var(--on-dark); text-decoration: underline; }
.footer-copy { color: var(--on-dark-muted); font-size: 0.8rem; margin: 0; }
/* legacy footer classes (harmless if present) */
.footer-inner { text-align: left; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--on-dark); text-decoration: none; font-size: 0.9rem; }
.footer-back-link { font-size: 0.85rem; color: var(--on-dark-muted); }
.footer-back-link a { color: var(--amber); text-decoration: none; font-weight: 600; }

/* --------------------------------------------------------------------------
   10. Motion
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -8px; }
}

/* page navigation cross-fade where supported */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: 140ms; }
  ::view-transition-new(root) { animation-duration: 200ms; }
}

/* hero entrance */
.hero .hero-copy > *, .hero-simple .wrap > * {
  animation: riseIn 0.8s var(--ease) both;
}
.hero .hero-copy > :nth-child(1), .hero-simple .wrap > :nth-child(1) { animation-delay: 0.05s; }
.hero .hero-copy > :nth-child(2), .hero-simple .wrap > :nth-child(2) { animation-delay: 0.15s; }
.hero .hero-copy > :nth-child(3), .hero-simple .wrap > :nth-child(3) { animation-delay: 0.25s; }
.hero .hero-copy > :nth-child(4), .hero-simple .wrap > :nth-child(4) { animation-delay: 0.35s; }
.hero .hero-copy > :nth-child(5) { animation-delay: 0.45s; }
.hero-side, .hero-visual { animation: riseIn 1s var(--ease) 0.3s both; }

/* scroll reveal (class added by site.js) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.reveal .eyebrow::before, .reveal .eyebrow::after, .eyebrow.reveal::before, .eyebrow.reveal::after {
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--t-slow) var(--ease-out) 0.25s;
}
.reveal .eyebrow::after, .eyebrow.reveal::after { transform-origin: right center; }
.reveal.in .eyebrow::before, .reveal.in .eyebrow::after, .eyebrow.reveal.in::before, .eyebrow.reveal.in::after { transform: scaleX(1); }
.steps::before { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out) 0.2s; }
.steps.in::before { transform: scaleX(1); }
.stage-list::before { transform: scaleY(0); transform-origin: top; transition: transform 1.4s var(--ease-out) 0.2s; }
.stage-list.in::before { transform: scaleY(1); }
.reveal.in { opacity: 1; transform: none; }
/* keep hover transforms working after reveal */
.reveal.in.card, .reveal.in.pain-card, .reveal.in.benefit, .reveal.in.price-card,
.reveal.in.engagement, .reveal.in.partner-card { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }

/* touch devices: no hover lifts (they stick after a tap) */
@media (hover: none) {
  .card:hover, .pain-card:hover, .benefit:hover, .partner-card:hover,
  .engagement:not(.featured):hover, .price-card:not(.featured):hover { transform: none; box-shadow: none; border-color: var(--border); }
  .engagement.featured:hover, .price-card.featured:hover { transform: none; box-shadow: var(--shadow-lg); }
  .btn-primary:hover, .btn-ghost:hover, .btn-outline:hover { transform: none; }
  .btn-primary:hover::after { transform: none; }
  .card:hover .card-marker { width: 36px; }
  .benefit:hover .benefit-icon svg, .step:hover .step-num, .stage:hover .stage-badge,
  .partner-card:hover .bio-photo, .bio-card:hover .bio-photo { transform: none; }
  .footer-col a:hover, .nav-panel a:hover, .subnav a:hover { transform: none; }
  .hero-panel, .hero-chip { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   11. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) and (min-width: 961px) {
  .logo-img { height: 26px; }
  .site-nav { margin-right: 4px; }
  .site-nav > a:not(.btn), .nav-toplevel { padding: 10px 10px; font-size: 0.9rem; }
  .site-nav > a:not(.btn)::after { left: 10px; right: 10px; }
  .header-inner { gap: 16px; }
  .btn-nav { padding: 10px 14px; font-size: 0.85rem; }
  .btn-nav::after { width: 11px; height: 11px; }
}

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
  .footer-grid .footer-col:last-child { grid-column: 2 / span 2; }
}

@media (max-width: 1000px) {
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-item + .cred-item::before { display: none; }
  .engagement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { gap: 40px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 30px 60px -20px rgba(3, 42, 57, 0.3);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 28px;
    margin: 0;
    z-index: 75;
  }
  body.nav-open .site-nav { display: flex; animation: menuIn 0.2s var(--ease-out); }
  body.nav-open .site-nav > * { animation: riseIn 0.4s var(--ease-out) both; }
  body.nav-open .site-nav > :nth-child(1) { animation-delay: 0.03s; }
  body.nav-open .site-nav > :nth-child(2) { animation-delay: 0.07s; }
  body.nav-open .site-nav > :nth-child(3) { animation-delay: 0.11s; }
  body.nav-open .site-nav > :nth-child(4) { animation-delay: 0.15s; }
  body.nav-open .site-nav > :nth-child(5) { animation-delay: 0.19s; }
  body.nav-open .site-nav > :nth-child(n+6) { animation-delay: 0.23s; }
  body.nav-open { overflow: hidden; }
  .site-nav > a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid var(--border); font-size: 1.05rem; border-radius: 0; }
  .site-nav > a:not(.btn)::after { display: none; }
  .nav-dropdown { border-bottom: 1px solid var(--border); padding: 10px 0 12px; }
  .nav-dropdown:last-of-type { border-bottom: none; }
  .nav-toplevel { pointer-events: none; padding: 8px 4px 4px; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-text); }
  .nav-chevron { display: none; }
  .nav-panel {
    display: flex !important;
    position: static;
    border: none; box-shadow: none; padding: 0; min-width: 0; animation: none;
  }
  .nav-panel a { padding: 10px 4px; white-space: normal; font-size: 1rem; }
  .nav-panel-divider { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta-mobile { display: block; margin: 20px 0 0; width: 100%; }
  .header-inner > .btn-nav { display: none; }
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .about-inner { flex-direction: column; }
  .about-card { width: 100%; }
  .bio-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .partner-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .final-cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .fee-drivers { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; row-gap: 20px; padding: 40px 0; }
  .service-block ul { grid-column: 1; grid-row: auto; }
  .hero-inner, .hero-lp .hero-inner { flex-direction: column; align-items: stretch; gap: 40px; }
  .hero-side, .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .hero-visual { aspect-ratio: 5 / 4; }
  .hero-copy h1 { max-width: 640px; }
  .hero-copy, .hero-lp .hero-copy { max-width: 640px; }
  .cred-grid { gap: 28px 24px; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .hero, .hero-lp { padding: 52px 0 48px; }
  .hero-simple { padding: 60px 0 52px; }
  .hero-sub { font-size: 1.1rem; }
  .hero-ctas .btn { width: 100%; }
  .card-grid { grid-template-columns: 1fr; }
  .card, .pain-card, .benefit { padding: 26px 22px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { gap: 16px; }
  .benefit-icon { width: 42px; height: 42px; }
  .steps { grid-template-columns: 1fr; }
  .stage-list::before { display: none; }
  .stage { grid-template-columns: 1fr; gap: 12px; padding-bottom: 32px; }
  .stage-badge { width: 44px; height: 44px; font-size: 1rem; box-shadow: none; }
  .stage > div { padding: 24px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 26px 20px; }
  .bio-card { padding: 28px 22px; }
  .ai-table { min-width: 600px; }
  .cred-grid { gap: 20px 12px; }
  .cred-stat { font-size: 1.6rem; }
  .cred-firms span { margin: 4px 8px; }
  .engagement-grid { grid-template-columns: 1fr; }
  .value-line { font-size: 1.15rem; margin-top: 36px; }
  .lead-form { padding: 24px 18px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
  .sticky-cta { display: block; transform: translateY(110%); transition: transform 0.25s var(--ease); }
  .sticky-cta.visible { transform: none; }
  body.has-sticky-cta { padding-bottom: 72px; }
  .hero-chip { font-size: 0.82rem; padding: 10px 12px 10px 10px; }
  .hero-chip .chip-icon { width: 30px; height: 30px; }
  .hero-visual { aspect-ratio: 1 / 1; }
  .logo-img { height: 24px; }
}

@media (max-width: 400px) {
  :root { --gutter: 18px; }
  .logo-img { height: 21px; }
  h1 { font-size: 2.25rem; }
  .btn-lg { padding: 16px 20px; }
  .hero-card, .lead-form, .stage > div { padding-left: 18px; padding-right: 18px; }
  .price-card, .engagement, .bio-card { padding: 28px 20px; }
  .hero-chip { display: none; }
  .hero-chip:nth-child(2) { display: flex; }
  .hero-visual { aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 16px 24px; font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   12. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer .footer-grid, .sticky-cta, .subnav, .nav-toggle, .hero-visual, .hero::before, .hero::after, .final-cta::before, .final-cta::after { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section { padding: 28pt 0; }
  .card, .pain-card, .benefit, .price-card, .engagement, .partner-card, .bio-card, .stage > div, details { break-inside: avoid; box-shadow: none !important; }
  .final-cta, .cred-strip, .price-card.featured, .engagement.featured, .hero-card { background: #fff !important; color: #000 !important; border: 1px solid #ccc; }
  .final-cta h2, .final-cta p, .cred-stat, .cred-label, .hero-card *, .price-card.featured *, .engagement.featured * { color: #000 !important; }
  details { border: 1px solid #ccc; }
  details > p { display: block !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { color: var(--amber-text); }
