/* ==================================================================
   Wayve Payments — Square Reseller Program
   Design system: modern fintech. Navy palette, serif/sans contrast,
   alternating dark/light rhythm. Mobile-first. No gradients on text.
================================================================== */

:root {
  /* Palette (locked) */
  --navy-900: #06172e;
  --navy-800: #0b2952;
  --navy-600: #1f4e8d;
  --blue-400: #4a88da;
  --blue-500: #0099ff;
  --blue-300: #82b8ff;
  --blue-050: #e6f1ff;
  --grey-050: #f5f7f9;
  --black: #0f0f0f;
  --white: #ffffff;

  /* Semantic */
  --ink: var(--black);
  --ink-soft: #3b4556;
  --ink-mute: #6c7687;
  --line: rgba(6, 23, 46, 0.10);
  --line-dark: rgba(255, 255, 255, 0.10);
  --text-on-dark: #f3f7fc;
  --text-on-dark-soft: #b8c7dc;
  --text-on-dark-mute: #7f93b0;

  /* Fit pills */
  --fit-strong-bg: #e3f6ec; --fit-strong-fg: #0f6b3e; --fit-strong-bd: #b7e4cc;
  --fit-mixed-bg:  #fff4dd; --fit-mixed-fg:  #8a5a00; --fit-mixed-bd:  #f4d9a0;
  --fit-weak-bg:   #fde9e7; --fit-weak-fg:   #9b2c22; --fit-weak-bd:   #f3c2bd;

  /* Shape */
  --r-card: 12px;
  --r-btn: 8px;
  --shadow-card: 0 1px 2px rgba(6,23,46,.04), 0 8px 24px -12px rgba(6,23,46,.18);
  --shadow-card-hover: 0 2px 4px rgba(6,23,46,.05), 0 20px 40px -16px rgba(6,23,46,.28);
  --shadow-form: 0 1px 2px rgba(6,23,46,.05), 0 24px 60px -20px rgba(6,23,46,.30);

  /* Layout */
  --max: 1160px;
  --max-narrow: 780px;
  --gutter: 1.25rem;
  --pad-section: 3.5rem;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;           /* 17px */
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0 0 .55em; font-family: var(--font-serif); font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
h2 { font-size: clamp(2.125rem, 4.2vw, 3rem); line-height: 1.08; }      /* 34–48px */
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.25; }     /* 20–24px */
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--navy-600); }
strong { font-weight: 600; }
svg { display: block; }

.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;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--max-narrow); }

.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-400); margin-bottom: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 14px 28px; border-radius: var(--r-btn); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--primary { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.btn--primary:hover { background: var(--navy-900); border-color: var(--navy-900); transform: translateY(-1px); }
.btn--primary:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; }
.btn--lg { padding: 16px 32px; font-size: 1.0625rem; }
.btn--small { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; padding: 16px 28px; font-size: 1.0625rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* On-dark button variants */
.hero .btn--primary { background: var(--blue-500); border-color: var(--blue-500); color: var(--white); box-shadow: 0 8px 24px -8px rgba(0,153,255,.55); }
.hero .btn--primary:hover { background: #0a8ae6; border-color: #0a8ae6; }
.site-header.is-transparent .btn--primary { background: var(--white); border-color: var(--white); color: var(--navy-900); }
.site-header.is-transparent .btn--primary:hover { background: var(--blue-050); border-color: var(--blue-050); }

/* ---------- Placeholders: unmissable until filled ---------- */
.ph {
  display: inline-block; padding: 0 .4em; border-radius: 4px;
  background: rgba(255, 196, 0, .18); color: #a85d00;
  outline: 1.5px dashed #e0a100; outline-offset: 1px;
  font-style: normal; font-weight: 600; line-height: 1.3;
}
.section--dark .ph, .hero .ph, .site-footer .ph, .video-placeholder .ph, .mobile-nav .ph {
  background: rgba(255, 196, 0, .14); color: #ffd36b; outline-color: #e0a100;
}
.callout.callout--placeholder {
  background: rgba(255, 196, 0, .06); border: 2px dashed #c48a00; border-left: 2px dashed #c48a00;
}
.callout--placeholder .callout__label {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #ffd36b; margin-bottom: .6rem;
}
.callout--placeholder p:last-child { color: var(--text-on-dark-mute); font-style: italic; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(6,23,46,.35);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.site-header__actions { display: flex; align-items: center; gap: .75rem; }
.site-header__cta { display: none; }

/* Hamburger */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 0 10px; background: transparent; border: 1px solid var(--line-dark);
  border-radius: var(--r-btn); cursor: pointer; transition: border-color .2s var(--ease);
}
.nav-toggle__bar { display: block; height: 2px; width: 100%; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease), background-color .25s var(--ease); }
.site-header.is-scrolled .nav-toggle { border-color: var(--line); }
.site-header.is-scrolled .nav-toggle__bar { background: var(--navy-900); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav-toggle:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }

/* Mobile overlay */
.mobile-nav {
  position: fixed; inset: 72px 0 0 0; z-index: 40; background: var(--navy-900);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__inner { display: flex; flex-direction: column; padding: 1.5rem var(--gutter) 3rem; }
.mobile-nav__inner > a:not(.btn) {
  font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600; color: var(--white);
  text-decoration: none; padding: 1rem 0; border-bottom: 1px solid var(--line-dark);
}
.mobile-nav__inner > a:not(.btn):focus-visible { outline: 3px solid var(--blue-500); outline-offset: 4px; }
.mobile-nav__cta { margin-top: 2rem; }
.site-header .mobile-nav__cta.btn--primary { background: var(--blue-500); border-color: var(--blue-500); color: var(--white); }
.site-header .mobile-nav__cta.btn--primary:hover { background: #0a8ae6; border-color: #0a8ae6; }
body.nav-open { overflow: hidden; }
body.nav-open .site-header { background: var(--navy-900); border-bottom-color: var(--line-dark); box-shadow: none; }
body.nav-open .site-header .brand { color: var(--white); }
body.nav-open .nav-toggle__bar { background: var(--white); }
body.nav-open .nav-toggle { border-color: var(--line-dark); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 700; color: var(--white); transition: color .25s var(--ease); }
.brand__mark { width: 14px; height: 14px; background: var(--blue-500); border-radius: 3px; display: inline-block; }
.brand__name { font-size: .95rem; letter-spacing: .01em; }
.site-nav { display: none; gap: 1.75rem; font-size: .92rem; font-weight: 500; }
.site-nav a { text-decoration: none; color: var(--text-on-dark-soft); transition: color .2s var(--ease); }
.site-nav a:hover { color: var(--white); }
/* Logo asset is white-on-transparent. Over the dark hero it's used as-is; when the header
   goes solid white on scroll we invert it to navy via filter so one file serves both states. */
.brand__logo { display: block; height: 22px; width: auto; transition: filter .25s var(--ease); }
.site-header.is-scrolled .brand__logo { filter: brightness(0) saturate(100%) invert(9%) sepia(36%) saturate(2800%) hue-rotate(195deg) brightness(95%) contrast(100%); }
body.nav-open .site-header .brand__logo { filter: none; }
.site-header.is-scrolled .brand { color: var(--navy-900); }
.site-header.is-scrolled .site-nav a { color: var(--ink-soft); }
.site-header.is-scrolled .site-nav a:hover { color: var(--navy-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-900); color: var(--text-on-dark);
  padding: 0;
}
.hero::before {
  /* large-scale grid, ~4% opacity */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 40%, transparent 85%);
}
.hero::after {
  /* single large geometric arc, very faint */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  right: -22vw; top: -18vw; border-radius: 50%;
  border: 1px solid rgba(130,184,255,.14);
  box-shadow: inset 0 0 0 80px rgba(130,184,255,.025);
}
/* --- Above the fold: VSL stack ---
   The section is NOT viewport-height sized; content starts right under the fixed
   header. The svh constraint lives only on the video's max-width (below) so the
   player still fits above the fold on short screens. */
.hero__fold {
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: calc(72px + 1.5rem) 0 1rem;
}
.hero__stack {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 980px; width: 100%;
}
.hero .eyebrow { color: var(--blue-300); }
.hero__title {
  font-size: clamp(1.75rem, 7vw, 2.25rem);
  line-height: 1.12; letter-spacing: -0.02em; color: var(--white);
  margin: 0 0 1.25rem; max-width: 24ch; text-wrap: balance;
}
/* Player width is capped by BOTH the 880px design max and the viewport height,
   so a 16:9 box always leaves room for the CTA beneath it on short screens. */
/* Reserve = header + H1 + CTA + note. */
.hero__video { margin: 0 0 2.25rem; width: 100%; max-width: min(880px, calc((100svh - 360px) * 16 / 9)); }
/* Desktop H1 is taller (3 lines at up to 52px), so reserve more vertical room there. */
@media (min-width: 720px) {
  .hero__video { max-width: min(880px, calc((100svh - 430px) * 16 / 9)); }
}
/* CTA sits ABOVE the video's drop shadow (own stacking context) so it isn't dimmed by it. */
.hero__cta { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .6rem; width: 100%; }
.btn--hero {
  padding: 18px 44px; font-size: 1.125rem; min-width: 280px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 10px 30px -6px rgba(0,153,255,.65), 0 2px 0 rgba(255,255,255,.12) inset;
}
.hero .btn--hero:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 14px 36px -6px rgba(0,153,255,.8), 0 2px 0 rgba(255,255,255,.12) inset; }
.hero__note { font-size: .88rem; color: var(--text-on-dark-mute); margin: 0; }

/* ---------- CTA arrow + attention nudge ---------- */
.btn__arrow { display: inline-block; margin-left: .15em; transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* A short wiggle every ~4s. Mostly still, then a quick shake, then still again.
   Constant motion is annoying; a periodic nudge pulls the eye without nagging. */
@keyframes cta-nudge {
  0%, 82%, 100% { transform: translateX(0) rotate(0); }
  84% { transform: translateX(-3px) rotate(-1.2deg); }
  86% { transform: translateX(3px) rotate(1.2deg); }
  88% { transform: translateX(-3px) rotate(-1deg); }
  90% { transform: translateX(3px) rotate(1deg); }
  92% { transform: translateX(-2px) rotate(-.5deg); }
  94% { transform: translateX(2px) rotate(.5deg); }
  96% { transform: translateX(0) rotate(0); }
}
.btn--nudge { animation: cta-nudge 4.5s ease-in-out infinite; animation-delay: 1.2s; will-change: transform; }
.btn--nudge:hover, .btn--nudge:focus-visible { animation: none; }
/* Hero button already lifts on hover; let the hover transform win over the animation. */
.hero .btn--hero.btn--nudge:hover { transform: translateY(-2px); }

/* --- No-video variant (no-video.html): ONE block, one focus.
   Headline → Book a Call → trust strip. Nothing else above the fold. --- */
/* Mobile-first values. Without a video the hero has room to breathe: bigger headline,
   more air above and below it, a button that's a pill not a bar, a trust strip that
   isn't glued to the CTA. Desktop values are set in the 720px block. */
/* MOBILE: the hero owns the full first screen. Dark to the bottom edge; the white
   section only appears on scroll. svh so browser chrome doesn't push the cue off.
   Desktop (720px+) resets this to a content-height hero. */
.hero--no-video { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.hero--no-video .hero__fold { flex: 1 1 auto; justify-content: center; padding-top: calc(72px + 2rem); padding-bottom: 2rem; }
.hero--no-video .hero__title { font-size: clamp(2.125rem, 9vw, 2.75rem); line-height: 1.1; margin-bottom: 2rem; }
.hero--no-video .hero__cta { gap: .85rem; }
.hero--no-video .hero__cta .btn--hero { padding: 17px 36px; font-size: 1.0625rem; min-width: 0; width: auto; }
.hero--no-video .hero__note { font-size: .92rem; }
/* Trust strip removed from this hero (it competed with the headline). The empty
   below-block just holds the scroll cue, pinned to the bottom of the viewport. */
.hero--no-video .hero__below--empty { flex: 0 0 auto; padding-top: 0; padding-bottom: 2rem; min-height: 0; }
.hero--no-video .hero__below--empty .scroll-hint { margin-top: 0; }

/* --- Below the fold, still dark --- */
.hero__below { padding: 1.5rem var(--gutter) 2rem; max-width: 980px; }
.hero__lede-block { text-align: center; max-width: 62ch; margin: 0 auto 2.5rem; }
.hero__lede-title { font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--white); margin-bottom: .75rem; }
.hero__lede { font-size: 1.0625rem; color: var(--text-on-dark-soft); margin-bottom: 1rem; }
.hero__lede--caption { font-size: .95rem; color: var(--text-on-dark-mute); margin: 0; }

.scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  margin: 2.5rem auto 0; text-decoration: none; color: var(--text-on-dark-mute); width: max-content;
}
.scroll-hint__label { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.scroll-hint__chevron {
  width: 10px; height: 10px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); animation: scroll-nudge 1.8s ease-in-out infinite;
}
.scroll-hint:hover { color: var(--blue-300); }
@keyframes scroll-nudge { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(5px) rotate(45deg); } }

.trust-strip {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.trust-strip li { padding: 1rem 0; display: flex; flex-direction: column; gap: .15rem; }
.trust-strip li:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--line-dark); }
.trust-strip li:nth-child(even) { padding-left: 1rem; }
.trust-strip li:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
.trust-strip__value { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; color: var(--white); letter-spacing: -.01em; }
.trust-strip__label { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-on-dark-mute); }

/* ---------- Video (lives in the hero) ---------- */
.video-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #04101f;
  border-radius: var(--r-card); overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 2px 6px rgba(0,0,0,.35), 0 30px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(0,153,255,.08);
}
.video-unmute {
  position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(6,23,46,.88); color: var(--white); font: inherit; font-weight: 600; font-size: .95rem;
  cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.6);
}
.video-unmute svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.video-unmute:hover { background: var(--blue-500); border-color: var(--blue-500); }
.video-unmute:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; }
.video-unmute[hidden] { display: none; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; color: var(--text-on-dark-soft); }
.video-placeholder__icon { width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid rgba(130,184,255,.6); position: relative; background: rgba(255,255,255,.04); }
.video-placeholder__icon::after {
  content: ""; position: absolute; left: 29px; top: 23px;
  border-left: 20px solid var(--blue-300); border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}
.video-placeholder__label { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-on-dark-mute); text-align: center; padding: 0 1rem; }

/* ---------- Section themes ---------- */
.section { position: relative; padding: var(--pad-section) 0; }
/* Form card carries its own 3rem internal padding, so the section around it needs less. */
.form-section { position: relative; padding: calc(var(--pad-section) * .8) 0; }
.section--white { background: var(--white); }
.section--light { background: var(--grey-050); }
.section--dark  { background: var(--navy-900); color: var(--text-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .eyebrow { color: var(--blue-300); }
.section--dark .section__lede, .section--dark p { color: var(--text-on-dark-soft); }
.section--dark .section__footnote { border-color: var(--line-dark); color: var(--text-on-dark-soft); }
.section--dark .section__footnote strong { color: var(--white); }

/* soft dividers between adjacent light sections */
.section--white + .section--white, .section--light + .section--light,
.section--white + .cta-section.section--white, .cta-section + .section--white { border-top: 1px solid var(--line); }
.section--dark { border-top: 1px solid rgba(255,255,255,.04); }

.section__grid { display: grid; gap: 2.5rem; }
.section__intro { max-width: 36rem; }
.section__intro--wide { max-width: 48rem; margin-bottom: 2.5rem; }
.section__intro--center { text-align: center; margin: 0 auto 2.5rem; max-width: 42rem; }
.section__lede { font-size: 1.125rem; color: var(--ink-soft); max-width: 68ch; }
.section__footnote { margin-top: 2.25rem; font-size: 1rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 1.25rem; max-width: 68ch; }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose h3 { margin-top: 1.75rem; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose a { font-weight: 500; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Cards (shared) ---------- */
.card-base, .pillar, .vertical, .stack-item, .form-card {
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}

/* ---------- Who it's for ---------- */
.qualify-list { display: grid; gap: 1.5rem; }
.qualify-list li { padding-left: 1.75rem; position: relative; color: var(--ink-soft); max-width: 68ch; }
.qualify-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; background: var(--blue-500); border-radius: 2px; }
.qualify-list strong { display: block; color: var(--ink); margin-bottom: .2rem; font-size: 1.1rem; }

/* ---------- Core pillars (dark) ---------- */
.section--feature .section__intro--wide { max-width: 52rem; }
.pillar-grid { display: grid; gap: 1.25rem; margin-bottom: 2rem; }
.pillar {
  position: relative; overflow: hidden; padding: 2.25rem 1.75rem 1.75rem;
  background: rgba(255,255,255,.025); border-color: var(--line-dark); box-shadow: none;
}
.pillar:hover { transform: translateY(-4px); border-color: rgba(130,184,255,.35); background: rgba(255,255,255,.04); }
.pillar__num {
  position: absolute; right: -.25rem; top: -1.25rem; z-index: 0; pointer-events: none;
  font-family: var(--font-serif); font-weight: 700; font-size: 7.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--navy-600); letter-spacing: -.04em; user-select: none;
}
.pillar h3, .pillar p { position: relative; z-index: 1; }
.pillar h3 { color: var(--white); margin-bottom: .6rem; max-width: 22ch; }
.pillar p { margin: 0; color: var(--text-on-dark-soft); }

.callout {
  position: relative; background: rgba(255,255,255,.03);
  border: 1px solid var(--line-dark); border-left: 4px solid var(--blue-500);
  border-radius: var(--r-card); padding: 1.75rem 1.75rem 1.4rem; max-width: 60rem;
}
.callout p { color: var(--text-on-dark-soft); font-size: 1.0625rem; }
.callout p strong { color: var(--white); }
.callout p:last-child { margin: 0; }
.callout__note { font-size: .85rem; color: var(--text-on-dark-mute); font-style: italic; }

/* ---------- Merchant fit ---------- */
.vertical-grid { display: grid; gap: 1.25rem; }
.vertical { padding: 1.75rem; }
.vertical:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: rgba(31,78,141,.25); }
.vertical h3 { margin-bottom: .6rem; }
.vertical p:last-child { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.vertical__fit {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px; margin-bottom: 1rem; border: 1px solid transparent;
}
.vertical__fit::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.vertical__fit--strong { background: var(--fit-strong-bg); color: var(--fit-strong-fg); border-color: var(--fit-strong-bd); }
.vertical__fit--mixed  { background: var(--fit-mixed-bg);  color: var(--fit-mixed-fg);  border-color: var(--fit-mixed-bd); }
.vertical__fit--weak   { background: var(--fit-weak-bg);   color: var(--fit-weak-fg);   border-color: var(--fit-weak-bd); }

/* ---------- Product stack (dark) ---------- */
#product-stack .section__grid { grid-template-columns: 1fr; }
#product-stack .section__intro { max-width: 48rem; margin-bottom: .5rem; }
.stack-list { display: grid; gap: 1.25rem; }
.stack-item { padding: 1.75rem; background: rgba(255,255,255,.025); border-color: var(--line-dark); box-shadow: none; }
.stack-item:hover { transform: translateY(-4px); border-color: rgba(130,184,255,.35); background: rgba(255,255,255,.04); }
.stack-item__icon { width: 28px; height: 28px; margin-bottom: 1.1rem; fill: none; stroke: var(--blue-300); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.stack-item h3 { color: var(--white); margin-bottom: .45rem; font-size: 1.3rem; }
.stack-item p { margin: 0; color: var(--text-on-dark-soft); font-size: 1rem; }

/* ---------- Pricing (three options) ---------- */
#pricing .section__intro--wide { margin-bottom: 1rem; }
.pricing-lede { margin-bottom: 2.5rem; }
.pricing-grid { display: grid; gap: 1.25rem; }
.pricing-option {
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white);
  padding: 1.75rem; box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.pricing-option:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(31,78,141,.25); }
.pricing-option__label { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-400); margin-bottom: .75rem; }
.pricing-option__rate { font-family: var(--font-serif); font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 700; line-height: 1; color: var(--navy-900); margin-bottom: .35rem; letter-spacing: -.02em; }
.pricing-option__sub { font-size: .85rem; color: var(--ink-mute); margin-bottom: 1.1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.pricing-option p:last-child { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.pricing-footnote { margin-top: 2rem; font-size: .9rem; color: var(--ink-mute); }

/* ---------- Boarding steps (connected vertical timeline) ---------- */
.steps { display: grid; counter-reset: step; max-width: 58rem; position: relative; }
.step { position: relative; padding: 0 0 2.25rem 4.25rem; counter-increment: step; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -.15rem; z-index: 1;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--navy-800); color: var(--white); border: 4px solid var(--grey-050);
  font-family: var(--font-serif); font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.step::after {
  content: ""; position: absolute; left: calc(1.375rem - 1px); top: 2.5rem; bottom: 0; width: 2px;
  background: rgba(31,78,141,.22);
}
.step:last-child::after { display: none; }
.step h3 { margin-bottom: .35rem; }
.step p { margin: 0; color: var(--ink-soft); max-width: 68ch; }

/* ---------- Week-one timeline (vertical mobile → horizontal desktop) ---------- */
.timeline-wrap { position: relative; }
.timeline { display: grid; gap: 1.75rem; border-left: 2px solid rgba(31,78,141,.22); padding-left: 1.75rem; }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-1.75rem - 7px); top: .35rem; width: 12px; height: 12px;
  border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px var(--white);
}
.timeline__day { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-400); margin-bottom: .4rem; }
.timeline h3 { margin-bottom: .35rem; font-size: 1.2rem; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* ---------- Training ---------- */
.check-list { display: grid; gap: 1.1rem; max-width: 68ch; }
.check-list li { position: relative; padding-left: 2rem; color: var(--ink-soft); }
.check-list li strong { color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: .2rem; top: .4em; width: 9px; height: 15px;
  border-right: 2.5px solid var(--blue-500); border-bottom: 2.5px solid var(--blue-500); transform: rotate(45deg);
}
.training-note {
  margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--blue-050);
  border: 1px solid rgba(31,78,141,.15); border-radius: var(--r-card); font-weight: 500; color: var(--navy-800); max-width: 68ch;
}

/* ---------- Founder (dark) ---------- */
.founder { display: grid; gap: 2.5rem; }
.founder__photo {
  aspect-ratio: 4 / 5; max-width: 380px; border-radius: var(--r-card); overflow: hidden;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.6);
}
/* Source photo is landscape; crop to the portrait box and keep the face in frame. */
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.founder__facts { display: grid; gap: 1rem; margin-bottom: 2rem; max-width: 60ch; }
.founder__facts li { padding-left: 1.5rem; position: relative; color: var(--text-on-dark-soft); }
.founder__facts li strong { color: var(--white); }
.founder__facts li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 2px; background: var(--blue-500); }
.founder__quote {
  font-family: var(--font-serif); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; line-height: 1.35;
  border-left: 3px solid var(--blue-500); padding-left: 1.25rem; margin: 0; color: var(--white); max-width: 32ch;
}

/* ---------- Forms ---------- */
.form-card { padding: 2rem 1.5rem; box-shadow: var(--shadow-form); border-color: rgba(6,23,46,.08); }
.form-card:hover { transform: none; }
.form-card__head { margin-bottom: 2rem; }
.form-card__head h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); }
.form-card__head p { color: var(--ink-soft); margin: 0; max-width: 60ch; }
.form-row { margin-bottom: 1.25rem; }
.form-row--split { display: grid; gap: 1.25rem; }
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; color: var(--navy-900); letter-spacing: .01em; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  min-height: 48px; padding: .75rem 1rem; border: 1px solid rgba(6,23,46,.18); border-radius: var(--r-btn);
  background: var(--white); transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231f4e8d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
textarea { resize: vertical; min-height: 6rem; }
input:hover, select:hover, textarea:hover { border-color: rgba(6,23,46,.32); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(0,153,255,.18); }
input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: #c0392b; }
input.is-invalid:focus, select.is-invalid:focus, textarea.is-invalid:focus { box-shadow: 0 0 0 4px rgba(192,57,43,.15); }
::placeholder { color: #9aa3b2; }
.lead-form .btn--block { margin-top: .5rem; }
.form-notice { font-size: .85rem; color: var(--ink-mute); margin: .75rem 0 0 !important; padding-top: .75rem; border-top: 1px solid var(--line); max-width: 60ch; }
.form-consent { margin: .9rem 0 0; font-size: .78rem; line-height: 1.55; color: var(--ink-mute); max-width: 68ch; }
.form-consent a { color: var(--navy-600); }
.form-hp { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-card { position: relative; }
.conversion-snippet[hidden] { display: none; }
.form-status { margin: 1rem 0 0; font-size: .92rem; color: #b03a2e; min-height: 1.2em; }
.form-status.is-ok { color: var(--ink-soft); }
.form-confirm { padding: 1rem 0 .5rem; }
.form-confirm h3 { font-size: 2rem; color: var(--navy-900); }
.form-confirm p { color: var(--ink-soft); margin: 0; max-width: 60ch; }

/* ---------- CTA bands (replace the old form / calendar cards) ---------- */
.cta-section { position: relative; padding: calc(var(--pad-section) * .8) 0; }
.cta-card {
  text-align: center; padding: 2.5rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white);
  box-shadow: var(--shadow-form);
  display: flex; flex-direction: column; align-items: center;
}
.cta-card .eyebrow { margin-bottom: .75rem; }
.cta-card h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); max-width: 22ch; text-wrap: balance; margin-bottom: 1.5rem; }
.btn--cta { padding: 16px 40px; font-size: 1.0625rem; min-width: 240px; box-shadow: 0 10px 28px -10px rgba(11,41,82,.5); }
.btn--cta:hover { box-shadow: 0 14px 32px -10px rgba(11,41,82,.6); }
.cta-card__note { margin: .9rem 0 0; font-size: .88rem; color: var(--ink-mute); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.5rem 3.25rem 1.5rem 0; transition: color .15s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover h3 { color: var(--navy-600); }
.faq-item summary h3 { margin: 0; font-size: 1.15rem; line-height: 1.35; transition: color .15s var(--ease); }
.faq-item summary::before, .faq-item summary::after {
  content: ""; position: absolute; right: .75rem; top: 50%; background: var(--navy-600);
  transition: transform .25s var(--ease), background-color .15s var(--ease);
}
.faq-item summary::before { width: 16px; height: 2px; transform: translateY(-50%); }
.faq-item summary::after  { width: 2px; height: 16px; right: calc(.75rem + 7px); transform: translateY(-50%); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(90deg); }
.faq-item[open] summary::before { background: var(--blue-500); }
.faq-item[open] summary::after { background: var(--blue-500); }
.faq-item p { margin: 0 0 1.75rem; color: var(--ink-soft); padding-right: 2rem; max-width: 68ch; }
.faq-footnote { margin-top: 2rem; color: var(--ink-mute); font-size: .95rem; max-width: 68ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--text-on-dark-soft); padding: 3rem 0 2.5rem; font-size: .9rem; border-top: 1px solid rgba(255,255,255,.04); }
.site-footer .brand__name { color: var(--white); font-weight: 700; }
.site-footer__logo { display: block; height: 20px; width: auto; }
.site-footer__row { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-dark); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer__nav a { text-decoration: none; color: var(--text-on-dark-soft); transition: color .15s var(--ease); }
.site-footer__nav a:hover { color: var(--white); }
.site-footer__contact { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 1.5rem; color: var(--text-on-dark-soft); font-size: .95rem; }
.site-footer__phone { color: var(--white); text-decoration: none; font-weight: 500; }
.site-footer__phone:hover { color: var(--blue-300); }
.site-footer__hours { font-size: .82rem; color: var(--text-on-dark-mute); }
.legal { color: var(--text-on-dark-mute); font-size: .8rem; line-height: 1.6; max-width: 72ch; }

/* ---------- Legal pages ---------- */
.legal-page .site-header { position: sticky; }
.legal-main { padding: 4rem 0 5rem; }
.legal-title { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.05; margin-bottom: .4em; }
.legal-updated { color: var(--ink-mute); font-size: .95rem; margin-bottom: 2rem; }
.legal-main .prose h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.legal-main .prose h2:first-child { margin-top: 0; }
.legal-back { margin-top: 3rem; font-weight: 500; }
.callout--on-light { margin-bottom: 2.5rem; background: rgba(255,196,0,.08); }
.callout--on-light .callout__label { color: #a85d00; }
.callout--on-light p:last-child { color: var(--ink-soft); }

/* ---------- Thanks page (/thanks) ----------
   One screen, no scroll: header on top, centered message, footer pinned to the bottom.
   The whole page is navy; header stays in its transparent/over-dark state. */
.thanks-page { background: var(--navy-900); color: var(--text-on-dark); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.thanks-page .site-header { position: static; background: transparent; border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; }
.thanks-page .site-header .brand__logo { filter: none; }
.thanks { flex: 1 1 auto; display: flex; align-items: center; position: relative; isolation: isolate; overflow: hidden; }
.thanks::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
}
.thanks__inner { text-align: center; max-width: 560px; padding-top: 2rem; padding-bottom: 3rem; }
.thanks .eyebrow { color: var(--blue-300); margin-bottom: 1rem; }
.thanks__title { font-size: clamp(2.75rem, 9vw, 4.5rem); line-height: 1; letter-spacing: -.025em; color: var(--white); margin-bottom: 1.25rem; }
.thanks__copy { font-size: 1.0625rem; line-height: 1.65; color: var(--text-on-dark-soft); margin: 0 auto 2rem; max-width: 46ch; text-wrap: pretty; }
.thanks__back { color: var(--blue-300); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(130,184,255,.35); text-underline-offset: 4px; transition: color .15s var(--ease), text-decoration-color .15s var(--ease); }
.thanks__back:hover { color: var(--white); text-decoration-color: var(--white); }
.thanks-page .site-footer { flex: 0 0 auto; padding: 1.75rem 0 1.5rem; }
.thanks-page .site-footer__row { margin-bottom: 1rem; padding-bottom: 1rem; }
.thanks-page .site-footer__contact { margin-bottom: 1rem; }
.thanks-page .legal { font-size: .74rem; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ======================= Tablet and up ======================= */
@media (min-width: 720px) {
  :root { --pad-section: 5rem; --gutter: 2rem; }
  .site-nav { display: flex; }
  .site-header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .hero__title { font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.08; max-width: 22ch; margin-bottom: 1.5rem; }
  .hero__cta { gap: .75rem; }
  .hero__below { padding-top: 2rem; padding-bottom: 2.5rem; }
  .hero--no-video { min-height: 0; display: block; }
  .hero--no-video .hero__fold { flex: none; justify-content: flex-start; padding-top: calc(72px + 4.5rem); padding-bottom: 2rem; }
  .hero--no-video .hero__title { font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.08; }
  .hero--no-video .hero__cta { gap: .6rem; }
  .hero--no-video .hero__cta .btn--hero { padding: 18px 44px; font-size: 1.125rem; min-width: 280px; }
  .hero--no-video .hero__note { font-size: .88rem; }
  .hero--no-video .hero__below--empty { min-height: 9rem; padding-bottom: 2.5rem; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero--no-video .hero__title { margin-bottom: 2rem; }
  .video-placeholder__icon { width: 84px; height: 84px; }
  .video-placeholder__icon::after { left: 34px; top: 27px; border-left: 24px solid var(--blue-300); border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
  .trust-strip { grid-template-columns: repeat(4, 1fr); }
  .trust-strip li { padding: 1.25rem 1.5rem; border: 0 !important; }
  .trust-strip li + li { border-left: 1px solid var(--line-dark) !important; }
  .trust-strip li:first-child { padding-left: 0; }
  .form-card { padding: 2.5rem 3rem; }
  .cta-card { padding: 3.25rem 3rem; }
  .form-row--split { grid-template-columns: 1fr 1fr; }
  .pillar-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .pillar { padding: 2.75rem 2.25rem 2.25rem; }
  .pillar__num { font-size: 8.5rem; right: 0; top: -1.75rem; }
  .vertical-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .stack-list { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .founder { grid-template-columns: 340px 1fr; gap: 3.5rem; align-items: start; }
  .site-footer__row { flex-direction: row; justify-content: space-between; align-items: center; }

  /* Week-one: horizontal track */
  .timeline {
    grid-template-columns: repeat(5, 1fr); gap: 1.5rem;
    border-left: 0; padding-left: 0; padding-top: 2.25rem; position: relative;
  }
  .timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: rgba(31,78,141,.22); }
  .timeline li::before { left: 0; top: -2.25rem; }
  .timeline h3 { font-size: 1.1rem; }
  .timeline p { font-size: .95rem; }
}

@media (min-width: 960px) {
  :root { --pad-section: 6rem; }
  .section__grid { grid-template-columns: 5fr 7fr; gap: 5rem; }
  .vertical-grid { grid-template-columns: repeat(3, 1fr); }
  .stack-list { grid-template-columns: repeat(3, 1fr); }
  .founder { grid-template-columns: 380px 1fr; gap: 5rem; }
  .pillar__num { font-size: 7.5rem; }
}

@media (min-width: 1200px) {
  .pillar__num { font-size: 7.5rem; }
}

/* Very small phones: full-width CTA */
@media (max-width: 479px) {
  .hero__cta .btn--hero { width: auto; min-width: 240px; padding: 16px 40px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint__chevron { animation: none; }
  .btn--nudge { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .pillar:hover, .vertical:hover, .stack-item:hover, .btn--primary:hover { transform: none; }
}
