/* ==========================================================================
   TagFlow AI — marketing site styles
   Pages: index.html (founding merchant landing), product.html (product home)
   Breakpoints: ≤640px = mobile layout (matches the mobile design files)
   ========================================================================== */

:root {
  --navy: #0E1B33;
  --navy-2: #13223F;
  --navy-deep: #0B1629;
  --navy-mid: #1B2A4A;
  --amber: #F59E2D;
  --amber-dark: #D9861A;
  --amber-light: #FDEBCD;
  --amber-text: #8A5A12;
  --text: #4A5568;
  --muted: #8A94A6;
  --border: #D6DDE6;
  --border-light: #E3E9F1;
  --hairline: #EDF1F6;
  --rule: #C9D3E0;
  --faq-line: #E0E7F0;
  --card: #FBFCFD;
  --white: #FFFFFF;
  --tag-bg: #E7F0FF;
  --tag-text: #1F4FA8;
  --green: #1F9E63;
  --green-light: #E3F1EC;

  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-gap: clamp(64px, 9vw, 120px);

  --shadow-card: 0 1px 2px rgba(14,27,51,.05), 0 12px 32px rgba(14,27,51,.09);
  --shadow-panel: 0 2px 4px rgba(14,27,51,.04), 0 20px 48px rgba(14,27,51,.10);
  --shadow-hero: 0 2px 4px rgba(14,27,51,.04), 0 28px 64px rgba(14,27,51,.14);
  --shadow-cta: 0 2px 4px rgba(14,27,51,.08), 0 16px 40px rgba(245,158,45,.35);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }

body {
  background-color: #F5F7FB;
  background-image: linear-gradient(135deg, #F5F7FB 0%, #EBF0F6 50%, #DCE4EF 100%);
  background-attachment: fixed;
  font-family: var(--font-body);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

:target { scroll-margin-top: 80px; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--amber-dark); }

button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

svg { display: block; }

[hidden] { display: none !important; }

.page { position: relative; overflow: hidden; min-height: 100vh; }

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

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

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes hubPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,45,.30); }
  50% { box-shadow: 0 0 0 16px rgba(245,158,45,0); }
}
@keyframes dashMove { to { stroke-dashoffset: -18; } }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Ambient ghost tags (desktop decoration)
   -------------------------------------------------------------------------- */
.ghosts { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.ghosts .glow {
  position: absolute; top: 520px; left: -260px; width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,79,168,.07), transparent 65%);
}
.ghost { position: absolute; fill: none; stroke: #C4CEDC; stroke-width: 1.6; }
.ghost--amber { stroke: var(--amber); }

@media (max-width: 720px) { .ghosts, .ghost { display: none; } }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 14px;
}
.eyebrow--muted { color: var(--muted); }
.eyebrow-row {
  display: flex; align-items: baseline; gap: 18px; margin-bottom: 14px;
}
.eyebrow-row .eyebrow { margin: 0; }
.eyebrow-row .num {
  font-family: var(--font-mono); font-weight: 600; font-size: 13px;
  letter-spacing: 0.18em; color: var(--muted);
}
.eyebrow-arrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.eyebrow-arrow .eyebrow { margin: 0; }
.eyebrow-arrow svg { width: 28px; height: 10px; }

.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin: 0 0 26px;
  text-wrap: pretty;
}
.h1--xl { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; margin-bottom: 24px; }

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--navy);
  margin: 0 0 44px;
  max-width: 640px;
  text-wrap: pretty;
}
.h2--sm { font-size: clamp(25px, 3vw, 32px); margin-bottom: 32px; }

.h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 16px;
  text-wrap: pretty;
}

.lede {
  font-size: 18px; line-height: 1.6; margin: 0 0 34px; max-width: 520px; text-wrap: pretty;
}
.accent { color: var(--amber); }
.muted { color: var(--muted); }
.small-note { font-size: 13px; color: var(--muted); }
.link-muted { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.link-muted:hover { color: var(--amber-dark); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 15px; line-height: 1.2;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 16px; height: 12px; flex-shrink: 0; }
.btn-primary {
  background: var(--amber); color: var(--navy);
  font-size: 16.5px; padding: 17px 34px;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { background: var(--amber-dark); color: var(--navy); transform: translateY(-2px); }
.btn-secondary {
  background: var(--white); color: var(--navy); border-color: var(--border);
  font-size: 14.5px;
}
.btn-secondary:hover { border-color: var(--amber); color: var(--navy); }
.btn-lg { font-size: 17px; padding: 18px 40px; box-shadow: 0 18px 44px rgba(245,158,45,.35); }
.btn-block { display: flex; width: 100%; }

/* Nav CTA has a long and short label; the short one shows on mobile. */
.label-short { display: none; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 16px clamp(16px, 4vw, 40px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; justify-self: start; }
.brand svg { width: 34px; height: 34px; }
.brand__name {
  font-family: var(--font-display); font-weight: 800; font-size: 19px;
  color: var(--navy); letter-spacing: -0.02em;
}
.nav__links {
  display: flex; align-items: center; gap: clamp(12px, 2.2vw, 24px);
  font-size: 14px; font-weight: 600; flex-wrap: wrap; justify-content: center;
  justify-self: center;
}
.nav__right { display: flex; align-items: center; gap: clamp(12px, 2.2vw, 24px); justify-self: end; }
.nav__right a:not(.nav__cta) { color: var(--navy); font-size: 14px; font-weight: 600; }
.nav__right a:not(.nav__cta):hover { color: var(--amber-dark); }
.nav__cta { justify-self: end; }
.nav__links a { color: var(--navy); }
.nav__links a.is-muted { color: var(--muted); font-weight: 500; }
.nav__links a:hover { color: var(--amber-dark); }
.nav__cta {
  font-size: 14px; font-weight: 600; padding: 9px 20px; border-radius: 999px;
  white-space: nowrap; display: inline-flex; align-items: center;
}
.nav__cta--outline {
  color: var(--navy); background: var(--white); border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(14,27,51,.05);
}
.nav__cta--outline:hover { border-color: var(--amber); color: var(--navy); }
.nav__cta--amber {
  color: var(--navy); background: var(--amber); padding: 10px 22px;
  box-shadow: 0 2px 4px rgba(14,27,51,.06), 0 8px 22px rgba(245,158,45,.3);
}
.nav__cta--amber:hover { background: var(--amber-dark); color: var(--navy); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter) var(--section-gap);
}
.section--full { max-width: none; padding-left: 0; padding-right: 0; }

/* Hero */
.hero {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter) var(--section-gap);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero--tight { padding-bottom: clamp(48px, 6vw, 80px); }
.hero__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.hero__row { display: flex; align-items: center; gap: 20px 28px; margin-bottom: 16px; flex-wrap: wrap; }

/* Spots counter */
.counter { min-width: 180px; }
.counter__num {
  display: flex; align-items: baseline; gap: 7px; margin-bottom: 7px;
}
.counter__value {
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  color: var(--navy); letter-spacing: -0.02em;
}
.counter__value small { color: var(--muted); font-weight: 600; font-size: 15px; }
.counter__noun { font-size: 13px; font-weight: 600; color: var(--muted); }
.bar { height: 5px; border-radius: 3px; background: var(--border); overflow: hidden; }
.bar > span {
  display: block; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-dark));
  width: 0; transition: width .6s ease;
}
.bar--dark { background: rgba(255,255,255,.15); }
.bar--dark > span { background: var(--amber); }

/* --------------------------------------------------------------------------
   Rule engine visual (hero card)
   -------------------------------------------------------------------------- */
.engine-wrap { position: relative; }
.engine-wrap__back {
  position: absolute; inset: 24px -10px -24px 18px;
  background: rgba(251,252,253,.55); border: 1px solid rgba(214,221,230,.7); border-radius: 24px;
}
.engine {
  position: relative;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: 24px;
  padding: clamp(18px, 3vw, 30px) clamp(16px, 3vw, 28px);
  box-shadow: var(--shadow-hero);
  background-image: radial-gradient(rgba(14,27,51,.055) 1px, transparent 1px);
  background-size: 22px 22px;
}
.engine__input {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(14,27,51,.05), 0 10px 28px rgba(14,27,51,.08);
}
.engine__label {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px;
  font-family: var(--font-mono); font-weight: 600; font-size: 9.5px; letter-spacing: 0.18em; color: var(--muted);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); display: inline-block; }
.engine__sentence { font-size: 14.5px; line-height: 1.5; color: var(--navy); font-weight: 500; }
.engine__link { display: flex; justify-content: center; }
.engine__link svg { width: 2px; height: 34px; overflow: visible; }
.engine__link line { stroke: var(--amber); stroke-width: 2; stroke-dasharray: 5 6; animation: dashMove 1.4s linear infinite; }
.hub-wrap { display: flex; justify-content: center; margin: 2px 0; }
.hub {
  position: relative; width: 112px; height: 112px;
  display: flex; align-items: center; justify-content: center;
}
.hub__ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dotted var(--amber); opacity: .55; }
.hub__ring--inner { inset: 10px; border: 1px solid rgba(245,158,45,.25); opacity: 1; }
.hub__core {
  width: 84px; height: 84px; border-radius: 50%; background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  box-shadow: 0 2px 4px rgba(14,27,51,.06), 0 14px 34px rgba(14,27,51,.14);
  animation: hubPulse 3.5s ease-in-out infinite;
}
.hub__core svg { width: 24px; height: 24px; }
.hub__core span {
  font-family: var(--font-mono); font-weight: 600; font-size: 7.5px; letter-spacing: 0.16em; color: var(--navy);
}
.engine__outputs { display: flex; flex-direction: column; gap: 9px; }
.out {
  background: var(--white); border: 1px solid var(--border); border-radius: 13px;
  padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 1px 2px rgba(14,27,51,.05);
  opacity: .45;
  transition: opacity .45s ease, border-color .45s ease;
}
.out.is-on { opacity: 1; border-color: var(--amber); }
.out__name { font-size: 13px; font-weight: 600; color: var(--navy); }
.out__meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); }

.tag {
  display: inline-block; background: var(--tag-bg); color: var(--tag-text);
  font-size: 12px; font-weight: 600; padding: 3px 11px; border-radius: 999px; white-space: nowrap;
}
.tag--remove { background: var(--amber-light); color: var(--amber-text); }

.live-badge {
  position: absolute; top: -16px; right: -6px;
  background: var(--navy); color: var(--white); font-size: 12px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(14,27,51,.3);
  animation: floatY 5s ease-in-out infinite;
  display: flex; align-items: center; gap: 7px;
}
.live-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* --------------------------------------------------------------------------
   Cards, lists, pills
   -------------------------------------------------------------------------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: var(--shadow-card);
}
.card--panel { border-radius: 22px; box-shadow: var(--shadow-panel); }
.card--white { background: var(--white); }
.card--accent-top { position: relative; overflow: hidden; }
.card--accent-top::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), rgba(245,158,45,0) 70%);
}
.card--dark {
  background: var(--navy); border-color: var(--navy); color: var(--white);
  box-shadow: 0 2px 4px rgba(14,27,51,.06), 0 20px 48px rgba(14,27,51,.22);
}

.check-list { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--navy); }
.check-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.check-list--lg li { font-size: 15px; line-height: 1.55; gap: 12px; }
.check-list--lg svg { width: 17px; height: 17px; margin-top: 2px; }
.check-list--rows li { padding: 13px 0; border-bottom: 1px solid var(--hairline); font-size: 15.5px; gap: 14px; }
.check-list--rows li:last-child { border-bottom: 0; }
.check-list--rows svg { width: 20px; height: 20px; margin-top: 2px; }
.check-list--rows { gap: 0; }

.pill-groups { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.pill-group { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.pill-group__label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
}
.pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: center; }
.pill {
  background: rgba(255,255,255,.7); border: 1px solid var(--border); color: var(--navy);
  font-size: 13px; font-weight: 600; padding: 7px 18px; border-radius: 999px;
}

.grid { display: grid; gap: 24px; }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 28px; align-items: start; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }

/* Feature cards (landing "The product") */
.feature-card { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.feature-card__title {
  font-family: var(--font-display); font-weight: 800; font-size: 17.5px; letter-spacing: -0.01em;
  color: var(--navy); line-height: 1.2;
}
.feature-card__line { font-size: 13.5px; line-height: 1.5; color: var(--text); }
.feature-card .check-list { gap: 7px; margin-top: 2px; }
.feature-card .check-list li { font-size: 12.5px; line-height: 1.45; gap: 9px; }
.feature-card .check-list svg { width: 15px; height: 15px; margin-top: 2px; }

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 0 28px; margin-bottom: 40px;
}
.step { padding: 26px 0; border-top: 1px solid var(--rule); }
.step__num { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; margin-top: -1px; }
.step__num::before { content: ''; width: 32px; height: 2px; background: var(--amber); }
.step__num span { font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: 0.18em; color: var(--amber); }
.step__title { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 7px; }
.step__desc { font-size: 13.5px; line-height: 1.55; }

/* Offer (what you get / what we ask) */
.offer-card { padding: clamp(26px, 3.5vw, 38px) clamp(24px, 3.6vw, 40px); }
.offer-card__head { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; }
.offer-card__head h3 { font-family: var(--font-display); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; color: var(--navy); margin: 0; }
.offer-card--dark h3 { color: var(--white); margin: 0 0 26px; }
.offer-card--dark { position: relative; overflow: hidden; }
.offer-card--dark .ghost { bottom: -14px; right: -16px; width: 130px; transform: rotate(-14deg); opacity: .12; display: block; }
.ask-list { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; list-style: none; }
.ask-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--white); }
.ask-list li span:first-child { font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; color: var(--amber); margin-top: 3px; flex-shrink: 0; }
.chip-closed {
  font-family: var(--font-mono); font-weight: 600; font-size: 10px; letter-spacing: 0.14em; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; background: var(--white);
}
.offer-note { font-size: 12.5px; color: var(--muted); margin: 0; padding: 0 10px; line-height: 1.55; }

/* Demo video frame */
.demo-wrap { position: relative; max-width: 880px; margin: 0 auto 64px; }
.demo-wrap__back {
  position: absolute; top: 40px; left: 7%; right: -2.5%; bottom: -22px;
  background: var(--card); border: 1px solid var(--border); border-radius: 22px; opacity: .4; filter: blur(1px);
}
.demo {
  position: relative; max-width: 880px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(14,27,51,.05), 0 32px 72px rgba(14,27,51,.18);
}
.demo__bar { display: flex; align-items: center; gap: 8px; padding: 13px 20px; border-bottom: 1px solid var(--border-light); background: var(--white); }
.demo__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-light); }
.demo__bar span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); margin-left: 10px; }
.demo__stage {
  aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: linear-gradient(160deg, #F5F7FB, #E6EDF5); background-size: cover; background-position: center; position: relative;
}
.demo__stage::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14,27,51,.05) 1px, transparent 1px); background-size: 24px 24px;
}
.demo__stage[style*="background-image"]::before { background-image: linear-gradient(180deg, rgba(14,27,51,.08), rgba(14,27,51,.22)); background-size: auto; }
.play {
  position: relative; width: 76px; height: 76px; border-radius: 50%; background: var(--navy); border: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 16px 40px rgba(14,27,51,.28); transition: transform .15s ease;
}
.play:hover { transform: scale(1.06); }
.play svg { width: 26px; height: 26px; margin-left: 3px; }
.demo__caption { position: relative; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.demo__meta { position: relative; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--muted); }

/* Founder */
.founder {
  padding: clamp(28px, 4.5vw, 52px) clamp(24px, 5vw, 56px); border-radius: 24px; position: relative;
}
.founder__quote {
  position: absolute; top: 26px; left: 40px;
  font-family: var(--font-display); font-weight: 800; font-size: 96px; line-height: 1; color: rgba(245,158,45,.18);
}
.founder__inner { display: flex; gap: clamp(24px, 4vw, 44px); align-items: flex-start; position: relative; flex-wrap: wrap; }
.founder__who { flex-shrink: 0; text-align: center; }
.avatar {
  width: clamp(110px, 14vw, 148px); height: clamp(110px, 14vw, 148px); border-radius: 50%;
  background: linear-gradient(160deg, var(--navy-mid), var(--navy));
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--white); box-shadow: 0 12px 32px rgba(14,27,51,.18); margin: 0 auto 14px;
}
.avatar span { font-family: var(--font-display); font-weight: 800; font-size: 42px; color: var(--amber); }
.avatar--sm { width: clamp(100px, 12vw, 130px); height: clamp(100px, 12vw, 130px); }
.avatar--sm span { font-size: 38px; }
.founder__name { font-size: 14px; font-weight: 600; color: var(--navy); }
.founder__role { font-size: 12.5px; color: var(--muted); }
.founder__body { flex: 1; min-width: 280px; }
.founder__text { font-size: 17.5px; line-height: 1.65; color: var(--navy); margin: 0; text-wrap: pretty; }
.founder__text--sm { font-size: 16.5px; margin-bottom: 18px; }
.changelog { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; border-top: 1px solid var(--border-light); padding-top: 18px; }
.changelog__row { display: flex; gap: 12px; align-items: baseline; font-size: 13.5px; flex-wrap: wrap; }
.changelog__date { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted); flex-shrink: 0; }
.changelog__kind {
  font-family: var(--font-mono); font-weight: 600; font-size: 9.5px; letter-spacing: 0.12em; color: var(--amber);
  border: 1px solid var(--amber-light); background: var(--white); border-radius: 999px; padding: 2px 9px; flex-shrink: 0;
}
.changelog__title { color: var(--navy); font-weight: 500; }

/* Comparison table */
.compare-scroll { overflow-x: auto; border-radius: 22px; box-shadow: 0 2px 4px rgba(14,27,51,.06), 0 24px 56px rgba(14,27,51,.24); }
.compare { background: var(--navy); border-radius: 22px; overflow: hidden; min-width: 620px; }
.compare__row {
  display: grid; grid-template-columns: 1fr 1.25fr 1.25fr;
  padding: 17px clamp(16px, 3vw, 32px); border-top: 1px solid rgba(255,255,255,.08); font-size: 14px;
}
.compare__row:last-child { padding-bottom: 22px; }
.compare__head { border-top: 0; padding: 20px clamp(16px, 3vw, 32px) 14px; }
.compare__brand { display: flex; align-items: center; gap: 8px; }
.compare__brand svg { width: 20px; height: 20px; }
.compare__brand span { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--white); }
.compare__other { font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.75); align-self: center; }
.compare__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: rgba(255,255,255,.65);
  align-self: center; text-transform: uppercase;
}
.compare__us { color: var(--white); display: flex; gap: 9px; align-items: baseline; }
.compare__us::before { content: '✓'; color: var(--amber); }
.compare__them { color: rgba(255,255,255,.72); }
.compare-note { font-size: 12px; color: var(--muted); margin: 14px 0 0; }

/* Merchant wall */
.wall { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 840px; margin: 0 auto; }
.store {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,.75); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 20px 8px 8px; transition: border-color .15s ease;
}
.store:hover { border-color: var(--amber); }
.store__ini {
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--amber);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 12px;
}
.store__name { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.quote-card { padding: 26px 28px; }
.quote-card__stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.quote-card p { font-size: 14.5px; line-height: 1.6; color: var(--navy); margin: 0 0 14px; }
.quote-card .store__ini { width: 26px; height: 26px; font-size: 11px; }
.quote-card__who { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--text); }
.section-head--center { text-align: center; margin-bottom: 36px; }
.section-head--center .h2 { margin: 0 auto; }
.section-head--center .eyebrow { margin-bottom: 12px; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 2px 4px rgba(14,27,51,.04), 0 24px 56px rgba(14,27,51,.12);
  display: flex; flex-direction: column; gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--muted); }
.input {
  font-size: 15px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--card); color: var(--navy); outline: none; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,158,45,.16); background: var(--white); }
.input--white { background: var(--white); }
.input--pill { border-radius: 999px; }
textarea.input { resize: vertical; min-height: 92px; }
select.input { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 5 L7 9.5 L11 5' fill='none' stroke='%23F59E2D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 12px; padding-right: 38px;
}
.checks { display: flex; flex-direction: column; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--navy); cursor: pointer; }
.check input { margin: 2px 0 0; accent-color: var(--amber); }
.form-card .btn-primary { font-size: 16px; padding: 17px; box-shadow: 0 14px 34px rgba(245,158,45,.32); }
.form-card .btn-primary:hover { transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin: -6px 0 0; }
.form-head { text-align: center; margin-bottom: 32px; }
.form-head .h2 { margin: 0 auto 10px; }
.form-head p { font-size: 15px; color: var(--muted); margin: 0; }
.form-head p strong { color: var(--amber); font-weight: 600; }
.form-inline { flex-direction: row; flex-wrap: wrap; gap: 12px; padding: clamp(18px, 3vw, 32px); }
.form-inline .input { flex: 1; min-width: 200px; }
.form-inline .btn-primary { font-size: 15px; padding: 13px 28px; box-shadow: 0 10px 26px rgba(245,158,45,.3); }
.form-error { font-size: 13px; color: #B42318; margin: -10px 0 0; }

.success {
  background: var(--white); border: 1px solid var(--border); border-radius: 24px;
  padding: clamp(28px, 4.5vw, 48px) clamp(22px, 4vw, 44px); text-align: center;
  box-shadow: 0 2px 4px rgba(14,27,51,.04), 0 24px 56px rgba(14,27,51,.12);
}
.success > svg { width: 56px; height: 56px; margin: 0 auto 20px; }
.success h3 { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 12px; }
.success p { font-size: 15.5px; line-height: 1.6; margin: 0 0 24px; }
.success p:last-child { margin-bottom: 0; }
.success p strong { color: var(--navy); }
.code {
  font-family: var(--font-mono); font-weight: 600; font-size: 19px; letter-spacing: 0.12em; color: var(--navy);
  background: var(--amber-light); border: 1px dashed var(--amber-dark); border-radius: 12px; padding: 15px; margin-bottom: 20px;
}
.share { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.share a { border: 1px solid var(--border); background: var(--white); color: var(--navy); font-size: 13.5px; font-weight: 600; padding: 10px 22px; border-radius: 999px; }
.share a:hover { border-color: var(--amber); color: var(--navy); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--faq-line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 21px 4px; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 16px; font-weight: 600; color: var(--navy); line-height: 1.4;
}
.faq__q span:last-child { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.faq__q svg { width: 12px; height: 12px; transition: transform .25s ease; }
.faq__q[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq__a { padding: 0 4px 22px; font-size: 14.5px; line-height: 1.65; color: var(--text); max-width: 640px; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.pricing-head .h2 { margin: 0; max-width: 560px; }
.toggle { display: flex; background: rgba(255,255,255,.7); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.toggle button {
  font-size: 13.5px; font-weight: 600; padding: 8px 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--muted); transition: background-color .15s ease, color .15s ease;
}
.toggle button.is-active { background: var(--navy); color: var(--white); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; margin-bottom: 24px; align-items: stretch; }
.plan {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 26px 26px 28px;
  box-shadow: 0 2px 4px rgba(14,27,51,.04), 0 16px 40px rgba(14,27,51,.10);
  display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
}
.plan--popular { border-color: var(--amber); }
.plan--dark { background: var(--navy); border-color: var(--navy); }
.plan__badge {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono); font-weight: 600; font-size: 9px; letter-spacing: 0.14em;
  color: var(--navy); background: var(--amber); border-radius: 999px; padding: 4px 10px;
}
.plan__name { font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.plan--popular .plan__name, .plan--dark .plan__name { color: var(--amber); }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -0.03em; color: var(--navy); }
.plan__per { font-size: 13px; color: var(--muted); }
.plan__actions { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.plan .check-list { gap: 8px; flex: 1; }
.plan .check-list li { font-size: 13px; line-height: 1.45; gap: 9px; }
.plan .check-list svg { width: 14px; height: 14px; }
.plan--dark .plan__price, .plan--dark .plan__actions { color: var(--white); }
.plan--dark .plan__per { color: rgba(255,255,255,.6); }
.plan--dark .check-list li { color: rgba(255,255,255,.92); }
.pricing-note { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0 0 8px; max-width: 720px; }
.pricing-note a { font-weight: 600; color: var(--navy); }

/* Calculator */
.calc { padding: clamp(24px, 3vw, 34px); }
.calc__label { font-family: var(--font-mono); font-weight: 600; font-size: 10.5px; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 20px; }
.calc__fields { display: flex; flex-direction: column; gap: 16px; }
.calc__fields .field { gap: 7px; }
.calc__result { border-top: 1px solid var(--border-light); padding-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.calc__row { display: flex; justify-content: space-between; font-size: 13.5px; }
.calc__row span:first-child { color: var(--muted); }
.calc__row span:last-child { font-weight: 600; color: var(--navy); }
.calc__row--total { align-items: baseline; }
.calc__row--total span:last-child { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.calc__note { font-size: 12px; color: var(--muted); }
.prose { font-size: 16px; line-height: 1.7; color: var(--text); display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.prose p { margin: 0; }

/* --------------------------------------------------------------------------
   Legal content (privacy, terms — long-form policy pages)
   -------------------------------------------------------------------------- */
.legal-header {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) var(--gutter) 0;
}
.legal-header .h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.legal-content {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto;
  padding: 28px var(--gutter) clamp(64px, 9vw, 120px);
}
.legal-content h2 {
  font-family: var(--font-display); font-weight: 800; font-size: 19px;
  letter-spacing: -0.01em; color: var(--navy); margin: 38px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { font-size: 15.5px; line-height: 1.7; color: var(--text); }
.legal-content p { margin: 0 0 16px; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.legal-content strong { color: var(--navy); font-weight: 600; }
.legal-content a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 2px; }
.legal-content a:hover { color: var(--amber-dark); text-decoration-color: var(--amber); }

/* --------------------------------------------------------------------------
   Product page: feature deep-dives and mockups
   -------------------------------------------------------------------------- */
.features { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); }
.feature {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(28px, 4.5vw, 60px); align-items: center;
}
.feature--flip { direction: rtl; }
.feature--flip > * { direction: ltr; }
.feature__copy p { font-size: 15.5px; line-height: 1.65; margin: 0 0 20px; max-width: 480px; text-wrap: pretty; }
.feature__copy .check-list { margin-bottom: 16px; }
.feature__note { font-size: 12.5px; color: var(--muted); }
.feature__visual { position: relative; }
.feature__visual-back {
  position: absolute; inset: 20px -8px -20px 14px;
  background: rgba(251,252,253,.55); border: 1px solid rgba(214,221,230,.7); border-radius: 22px;
}
.frame {
  position: relative; border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(14,27,51,.05), 0 24px 56px rgba(14,27,51,.14);
  aspect-ratio: 4 / 3; background: #EBF0F6;
}
.frame__inner {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background-image: radial-gradient(rgba(14,27,51,.055) 1px, transparent 1px); background-size: 22px 22px; padding: 24px;
}
.mock { width: min(400px, 100%); background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 2px 4px rgba(14,27,51,.05), 0 18px 44px rgba(14,27,51,.14); overflow: hidden; }
.mock--pad { padding: 18px 20px; }
.mock__label { font-family: var(--font-mono); font-weight: 600; font-size: 9.5px; letter-spacing: 0.16em; color: var(--muted); }
.mock__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border-light); }
.mock__head .mock__label { margin: 0; }
.mock__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--hairline); }
.mock__row:last-child { border-bottom: 0; }
.mock__row-title { font-size: 12.5px; font-weight: 600; color: var(--navy); }
.mock__row-sub { font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); margin-top: 3px; }
.mock__row-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.mock .tag { font-size: 10.5px; padding: 2px 9px; }
.mock__btn { background: var(--navy); color: var(--white); font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.mock__btn--ghost { background: transparent; border: 1px solid var(--border); color: var(--navy); }
.ai-chip { font-family: var(--font-mono); font-weight: 600; font-size: 9px; letter-spacing: 0.12em; color: var(--navy); background: var(--amber-light); border-radius: 999px; padding: 3px 9px; }
.mock__typed { font-size: 13.5px; line-height: 1.5; color: var(--navy); font-weight: 500; border: 1px solid var(--border-light); background: var(--card); border-radius: 10px; padding: 11px 13px; margin-top: 10px; }
.caret { display: inline-block; width: 1.5px; height: 14px; background: var(--amber); vertical-align: -2px; margin-left: 2px; }
.cond { font-family: var(--font-mono); font-size: 11.5px; color: var(--navy); background: #F5F7FB; border: 1px solid var(--border-light); border-radius: 8px; padding: 8px 11px; display: block; }
.cond-op { font-family: var(--font-mono); font-weight: 600; font-size: 9.5px; letter-spacing: 0.14em; color: var(--amber); padding-left: 2px; display: block; }
.cond-list { display: flex; flex-direction: column; gap: 7px; margin: 12px 0 14px; }
.apply-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }
.apply-row .tag { font-size: 11.5px; padding: 3px 10px; }
.apply-row small { font-size: 11px; color: var(--muted); }
.stack { width: min(380px, 100%); display: flex; flex-direction: column; }
.stack .engine__link svg { height: 26px; }

.switch { width: 26px; height: 15px; border-radius: 999px; background: var(--green); position: relative; display: inline-block; flex-shrink: 0; }
.switch::after { content: ''; position: absolute; top: 2px; right: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--white); }
.switch--off { background: var(--border); }
.switch--off::after { right: auto; left: 2px; }

/* Backdate mock */
.bd-rows { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.bd-rows > div { display: flex; justify-content: space-between; }
.bd-rows > div span:first-child { color: var(--muted); }
.bd-rows > div span:last-child { font-weight: 600; color: var(--navy); }
.bd-rows .credit { color: var(--green) !important; }
.bd-rows .total { align-items: baseline; border-top: 1px solid var(--border-light); padding-top: 12px; }
.bd-rows .total span:last-child { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.bd-actions { display: flex; gap: 10px; margin-top: 18px; }
.bd-actions .go { flex: 1; text-align: center; background: var(--amber); color: var(--navy); font-size: 13px; font-weight: 600; padding: 11px 0; border-radius: 999px; }
.bd-actions .cancel { text-align: center; border: 1px solid var(--border); color: var(--muted); font-size: 13px; font-weight: 600; padding: 11px 18px; border-radius: 999px; }
.bd-note { font-size: 11px; color: var(--muted); margin-top: 12px; }

/* Template mock + template cards */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chip { background: var(--white); border: 1px solid var(--border); color: var(--text); font-size: 10.5px; font-weight: 600; padding: 5px 13px; border-radius: 999px; }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(380px, 100%); }
.tpl {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 14px 15px; position: relative;
  box-shadow: 0 2px 4px rgba(14,27,51,.05), 0 12px 30px rgba(14,27,51,.10);
}
.tpl--selected { border: 1.5px solid var(--amber); box-shadow: 0 2px 4px rgba(14,27,51,.05), 0 12px 30px rgba(245,158,45,.18); }
.tpl__badge { position: absolute; top: 12px; right: 12px; font-family: var(--font-mono); font-weight: 600; font-size: 8px; letter-spacing: 0.12em; color: var(--navy); background: var(--amber-light); border-radius: 999px; padding: 3px 8px; }
.tpl__icon { display: flex; width: 26px; height: 26px; border-radius: 7px; background: var(--amber-light); align-items: center; justify-content: center; margin-bottom: 9px; }
.tpl__icon svg { width: 13px; height: 13px; }
.tpl__title { font-size: 12px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.tpl__sub { font-size: 10.5px; color: var(--muted); margin-top: 4px; }

.template-card { padding: 22px 24px; border-radius: 18px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s ease; }
.template-card:hover { border-color: var(--amber); }
.template-card .tpl__icon { width: 34px; height: 34px; border-radius: 9px; margin: 0; }
.template-card .tpl__icon svg { width: 16px; height: 16px; }
.template-card__title { font-family: var(--font-display); font-weight: 800; font-size: 16.5px; letter-spacing: -0.01em; color: var(--navy); }
.template-card__line { font-size: 13.5px; line-height: 1.5; color: var(--text); flex: 1; }
.template-card a { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.template-card a:hover { color: var(--amber-dark); }

/* Entity mock */
.entity-grid { width: min(400px, 100%); display: flex; flex-direction: column; gap: 12px; }
.entity-row { display: flex; align-items: center; gap: 12px; }
.entity-row > svg { width: 22px; height: 10px; flex-shrink: 0; }
.entity {
  flex: 1; background: var(--white); border: 1px solid var(--border); border-radius: 13px; padding: 13px 14px;
  box-shadow: 0 2px 4px rgba(14,27,51,.05), 0 10px 26px rgba(14,27,51,.09);
}
.entity .mock__label { font-size: 8.5px; letter-spacing: 0.14em; margin-bottom: 6px; }
.entity__name { font-size: 12px; font-weight: 600; color: var(--navy); }
.entity .tag { margin-top: 7px; font-size: 10.5px; padding: 2px 9px; }
.entity--dark { background: var(--navy); border-color: var(--navy); box-shadow: 0 2px 4px rgba(14,27,51,.06), 0 12px 30px rgba(14,27,51,.22); }
.entity--dark .mock__label { color: var(--amber); }
.entity--dark .entity__name { color: var(--white); }

/* Activity log mock */
.log-row { padding: 12px 18px; border-bottom: 1px solid var(--hairline); }
.log-row:last-child { border-bottom: 0; }
.log-row__main { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.log-row__main svg { width: 13px; height: 13px; flex-shrink: 0; }
.log-row__name { font-size: 12px; font-weight: 600; color: var(--navy); }
.log-row__meta { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.08em; color: var(--muted); margin: 5px 0 0 21px; }

/* Problem section */
.problem-card { padding: clamp(24px, 3vw, 34px); background: rgba(255,255,255,.55); box-shadow: none; }
.problem-card .eyebrow { font-size: 11px; letter-spacing: 0.16em; margin-bottom: 20px; }
.problem-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.problem-card ul li { font-size: 15px; line-height: 1.55; color: var(--text); }
.problem-card--with { background: var(--card); box-shadow: var(--shadow-panel); }

/* Trust strip */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: center; align-items: center;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 8px;
}
.trust-strip span { font-size: 13px; font-weight: 500; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.trust-strip span.is-badge { font-weight: 600; }
.trust-strip svg { width: 15px; height: 15px; }
.section--trust { padding-bottom: clamp(56px, 8vw, 96px); }

/* Trust cards */
.trust-card { padding: 26px 28px; }
.trust-card__title { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: var(--navy); margin-bottom: 10px; }
.trust-card__body { font-size: 14px; line-height: 1.6; color: var(--text); }
.link-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 20px; }

/* Use cases */
.usecases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.usecase {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(255,255,255,.7); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px;
  font-size: 14.5px; font-weight: 600; color: var(--navy); transition: border-color .15s ease;
}
.usecase:hover { border-color: var(--amber); color: var(--navy); }
.usecase svg { width: 14px; height: 11px; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Final CTA band + footer
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; z-index: 1; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-2), var(--navy) 55%, var(--navy-deep));
  padding: clamp(56px, 8vw, 96px) var(--gutter);
}
.cta-band .ghost { display: block; }
.cta-band__glow {
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 560px; height: 280px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(245,158,45,.14), transparent 70%);
}
.cta-band__inner {
  max-width: var(--container); margin: 0 auto; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center;
}
.cta-band h2 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -0.035em; line-height: 1.06; color: var(--white); margin: 0; max-width: 760px; text-wrap: pretty;
}
.cta-band__counter { display: flex; align-items: center; gap: 14px; }
.cta-band__counter .bar { width: 160px; }
.cta-band__counter span { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.9); }
.cta-band__sub { font-size: 13.5px; color: rgba(255,255,255,.65); }
.cta-band__wm { position: absolute; bottom: 18px; left: 26px; font-size: 12px; color: rgba(255,255,255,.5); }

.footer {
  position: relative; z-index: 1; background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.06);
  padding: clamp(24px, 4vw, 40px);
}
.footer a { color: rgba(255,255,255,.75); }
.footer a:hover { color: var(--amber); }
.footer__inner { max-width: var(--container); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer__brand { display: flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(255,255,255,.75); }
.footer__brand svg { width: 24px; height: 24px; }
.footer__brand strong { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--white); letter-spacing: -0.02em; }
.footer__links { display: flex; gap: 22px; font-size: 13px; flex-wrap: wrap; }
.footer__copy { font-size: 12px; color: rgba(255,255,255,.55); }
.footer__legal { max-width: var(--container); margin: 16px auto 0; font-size: 11.5px; color: rgba(255,255,255,.5); }

.footer--cols { padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 40px) clamp(24px, 4vw, 36px); }
.footer__grid {
  max-width: var(--container); margin: 0 auto 36px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 32px 24px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.footer__col-title { font-family: var(--font-mono); font-weight: 600; font-size: 10px; letter-spacing: 0.16em; color: rgba(255,255,255,.45); text-transform: uppercase; margin-bottom: 4px; }
.footer__tagline { font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.6; }
.footer__bottom {
  max-width: var(--container); margin: 0 auto; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center;
}
.footer__wm { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: rgba(255,255,255,.4); }

/* --------------------------------------------------------------------------
   Mobile layout (≤640px) — mirrors the mobile design files
   -------------------------------------------------------------------------- */
.mobile-only, .mobile-only-inline { display: none; }

@media (max-width: 640px) {
  :root { --gutter: 20px; --section-gap: 44px; }

  .hide-mobile, .mobile-trim { display: none !important; }
  .mobile-only { display: block; }
  .mobile-only-inline { display: inline; }

  /* Nav */
  .nav__inner { padding: 12px 18px; }
  .brand svg { width: 28px; height: 28px; }
  .brand__name { font-size: 16px; }
  .nav__links { display: none; }
  .nav__cta { font-size: 12.5px; padding: 8px 16px; background: var(--amber); border-color: var(--amber); color: var(--navy); box-shadow: none; }
  .nav__cta:hover { background: var(--amber-dark); }
  .label-long { display: none; }
  .label-short { display: inline; }

  /* Type */
  .eyebrow { font-size: 10px; letter-spacing: 0.16em; margin-bottom: 10px; }
  .eyebrow-arrow { gap: 9px; margin-bottom: 14px; }
  .eyebrow-arrow svg { width: 22px; height: 9px; }
  .eyebrow-row { gap: 12px; margin-bottom: 10px; }
  .eyebrow-row .num { display: none; }
  .h1 { font-size: 33px; line-height: 1.06; margin-bottom: 14px; }
  .h1--xl { font-size: 38px; line-height: 1.05; }
  .h1 br { display: none; }
  .h2 { font-size: 25px; letter-spacing: -0.025em; line-height: 1.12; margin-bottom: 20px; }
  .h2--sm { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 16px; }
  .h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; }
  .lede { font-size: 15px; line-height: 1.55; margin-bottom: 20px; }
  .small-note { font-size: 12px; display: block; text-align: center; }

  /* Hero */
  .hero { padding: 26px 20px 40px; gap: 0; }
  .hero__actions, .hero__row { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 12px; }
  .hero .btn { width: 100%; }
  .hero .btn-primary { font-size: 15.5px; padding: 16px; box-shadow: 0 12px 28px rgba(245,158,45,.32); }
  .hero .btn-secondary { font-size: 14px; padding: 14px; }
  .hero__row { flex-direction: column-reverse; }
  .counter { min-width: 0; margin-bottom: 8px; }
  .counter__value { font-size: 21px; }
  .counter__value small { font-size: 13px; }
  .counter__noun { font-size: 12px; }
  .live-badge, .engine-wrap__back { display: none; }
  .engine-wrap { margin-top: 40px; }
  .engine { border-radius: 20px; padding: 18px 16px; backdrop-filter: none; -webkit-backdrop-filter: none; background-size: 20px 20px;
    box-shadow: 0 2px 4px rgba(14,27,51,.04), 0 20px 44px rgba(14,27,51,.12); }
  .engine__input { border-radius: 14px; padding: 13px 15px; }
  .engine__label { font-size: 9px; letter-spacing: 0.16em; margin-bottom: 8px; }
  .engine__sentence { font-size: 13.5px; }
  .engine__link svg { height: 26px; }
  .hub { width: 96px; height: 96px; }
  .hub__ring--inner { display: none; }
  .hub__core { width: 72px; height: 72px; }
  .hub__core svg { width: 20px; height: 20px; }
  .hub__core span { font-size: 6.5px; letter-spacing: 0.14em; }
  .engine__outputs { gap: 8px; }
  .out { border-radius: 12px; padding: 11px 14px; box-shadow: none; }
  .out__name { font-size: 12.5px; }
  .out .tag { font-size: 11px; padding: 3px 10px; }
  .out__meta { font-size: 9.5px; }

  /* Trust strip becomes two centred lines under the hero card */
  .trust-strip { border: 0; padding: 0; flex-direction: column; gap: 6px; }
  .trust-strip span { font-size: 11.5px; text-align: center; }
  .section--trust { padding-bottom: 44px; margin-top: -24px; }

  /* Cards + lists */
  .card { border-radius: 16px; }
  .card--panel { border-radius: 18px; }
  .grid, .grid--cards, .grid--2, .grid--3 { gap: 14px; }
  .feature-card { padding: 18px 18px 19px; gap: 5px; }
  .feature-card__title { font-size: 16px; line-height: 1.25; }
  .feature-card__line { font-size: 13px; margin-bottom: 4px; }
  .feature-card .check-list li { font-size: 12px; }
  .feature-card .check-list svg { width: 14px; height: 14px; }
  .pills { gap: 8px; margin-top: 20px; }
  .pill { font-size: 11.5px; padding: 6px 14px; }
  .check-list--lg li { font-size: 14px; line-height: 1.5; gap: 11px; }
  .check-list--lg svg { width: 16px; height: 16px; }
  .check-list--rows li { padding: 9px 0; font-size: 13.5px; gap: 10px; }
  .check-list--rows svg { width: 16px; height: 16px; }

  /* Offer */
  .offer-card { padding: 22px 20px; border-radius: 18px; }
  .offer-card__head { margin-bottom: 14px; }
  .offer-card__head h3 { font-size: 18px; }
  .offer-card--dark h3 { margin-bottom: 14px; }
  .ask-list { gap: 12px; }
  .ask-list li { font-size: 13.5px; gap: 11px; }
  .ask-list li span:first-child { font-size: 11px; margin-top: 2px; }
  .offer-note { font-size: 11.5px; padding: 0; margin-top: 10px; }
  .offer-card--dark .ghost { display: none; }

  /* Demo + steps */
  .demo-wrap { margin-bottom: 20px; }
  .demo-wrap__back { display: none; }
  .demo { border-radius: 16px; box-shadow: 0 2px 4px rgba(14,27,51,.05), 0 16px 36px rgba(14,27,51,.14); }
  .demo__bar { padding: 10px 14px; gap: 6px; }
  .demo__bar i { width: 8px; height: 8px; }
  .demo__bar span { font-size: 9px; margin-left: 6px; }
  .demo__stage { gap: 10px; }
  .play { width: 54px; height: 54px; box-shadow: 0 10px 26px rgba(14,27,51,.26); }
  .play svg { width: 20px; height: 20px; margin-left: 2px; }
  .demo__caption { font-size: 12px; padding: 0 16px; text-align: center; }
  .demo__meta { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; margin-bottom: 14px; }
  .step { padding: 18px 0; }
  .step__num { gap: 9px; margin-bottom: 8px; }
  .step__num::before { width: 26px; }
  .step__num span { font-size: 12px; letter-spacing: 0.16em; }
  .step__title { font-size: 16px; margin-bottom: 5px; }
  .step__desc { font-size: 13px; line-height: 1.5; }
  .steps--inline .step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
  .steps--inline .step__num { margin: 2px 0 0; }
  .steps--inline .step__num::before { display: none; }
  .steps--inline .step__title { font-size: 15px; margin-bottom: 3px; }
  .steps--inline .step__desc { font-size: 12.5px; }

  /* Founder */
  .founder { padding: 24px 22px; border-radius: 18px; }
  .founder__quote { display: none; }
  .founder__inner { flex-direction: column; gap: 14px; }
  .founder__who { display: flex; align-items: center; gap: 14px; text-align: left; }
  .avatar, .avatar--sm { width: 56px; height: 56px; margin: 0; border-width: 2px; }
  .avatar span, .avatar--sm span { font-size: 20px; }
  .founder__name { font-size: 13.5px; }
  .founder__role { font-size: 11.5px; }
  .founder__body { min-width: 0; }
  .founder__text, .founder__text--sm { font-size: 14px; line-height: 1.6; }
  .changelog__row { font-size: 12.5px; }

  /* Comparison: stacked rows with "vs." */
  .compare-scroll { overflow: visible; box-shadow: 0 2px 4px rgba(14,27,51,.06), 0 16px 36px rgba(14,27,51,.22); border-radius: 18px; }
  .compare { min-width: 0; border-radius: 18px; padding: 6px 20px; }
  .compare__head { display: none; }
  .compare__row { display: block; padding: 16px 0; border-top: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .compare__row:last-child { padding-bottom: 16px; }
  .compare__label { display: block; font-size: 10px; margin-bottom: 8px; }
  .compare__us { font-size: 13.5px; line-height: 1.45; gap: 8px; margin-bottom: 5px; }
  .compare__us::before { font-size: 13px; }
  .compare__them { display: block; color: rgba(255,255,255,.55); font-size: 12.5px; line-height: 1.45; padding-left: 21px; }
  .compare__them::before { content: 'vs. '; }
  .compare-note { font-size: 10.5px; color: rgba(255,255,255,.45); margin: 0; padding: 12px 20px 14px; margin-top: -1px;
    background: var(--navy); border-radius: 0 0 18px 18px; }
  .compare-scroll { border-radius: 18px 18px 0 0; }
  .compare-wrap .compare-scroll { box-shadow: none; }
  .compare-wrap { border-radius: 18px; overflow: hidden; box-shadow: 0 2px 4px rgba(14,27,51,.06), 0 16px 36px rgba(14,27,51,.22); }
  .compare-wrap .compare { border-radius: 0; }

  /* Wall */
  .section-head--center { margin-bottom: 16px; }
  .wall { gap: 8px; }
  .store { gap: 8px; padding: 6px 14px 6px 6px; }
  .store__ini { width: 24px; height: 24px; font-size: 10px; }
  .store__name { font-size: 12px; }

  /* Forms */
  .form-head { margin-bottom: 18px; }
  .form-head p { font-size: 13px; }
  .form-card { padding: 22px 20px; gap: 16px; border-radius: 18px; }
  .field { gap: 6px; }
  .field label { font-size: 12.5px; }
  .input { font-size: 14px; padding: 12px 13px; }
  .check { font-size: 13px; gap: 9px; }
  .form-card .btn-primary { font-size: 15px; padding: 15px; }
  .form-note { display: none; }
  .form-inline { flex-direction: column; padding: 22px 20px; }
  .success { padding: 32px 24px; border-radius: 18px; }
  .success > svg { width: 46px; height: 46px; margin-bottom: 14px; }
  .success h3 { font-size: 22px; margin-bottom: 8px; }
  .success p { font-size: 13.5px; line-height: 1.55; }
  .code { font-size: 15px; letter-spacing: 0.1em; padding: 12px; border-radius: 10px; margin-bottom: 14px; }
  .success .btn-primary { font-size: 14.5px; padding: 14px; box-shadow: none; }
  .share { display: none; }

  /* FAQ */
  .faq__q { padding: 15px 2px; gap: 12px; font-size: 14px; }
  .faq__q span:last-child { width: 24px; height: 24px; }
  .faq__q svg { width: 11px; height: 11px; }
  .faq__a { padding: 0 2px 16px; font-size: 13px; line-height: 1.6; }

  /* Pricing + calculator */
  .pricing-head { margin-bottom: 18px; gap: 16px; }
  .toggle button { font-size: 12.5px; padding: 7px 18px; }
  .plans { gap: 14px; margin-bottom: 14px; }
  .plan { padding: 20px; border-radius: 18px; gap: 8px; }
  .plan__badge { top: 14px; right: 14px; font-size: 8px; padding: 3px 9px; }
  .plan__name { font-size: 10px; letter-spacing: 0.14em; }
  .plan__price { font-size: 28px; }
  .plan__per { font-size: 12px; }
  .plan__actions { font-size: 12.5px; margin-bottom: 4px; }
  .plan .check-list { gap: 7px; }
  .plan .check-list li { font-size: 12.5px; }
  .plan .check-list svg { width: 13px; height: 13px; }
  .pricing-note { font-size: 11.5px; line-height: 1.55; margin: 0; }
  .prose { font-size: 13.5px; line-height: 1.6; gap: 0; }
  .prose p + p { display: none; }
  .calc { padding: 20px; border-radius: 18px; }
  .calc__label { display: none; }
  .calc__fields { gap: 14px; }
  .calc__row { font-size: 12.5px; }
  .calc__row--total span:last-child { font-size: 24px; }
  .calc__note { font-size: 11px; }

  /* Product page features → stacked, framed mockups */
  .features { gap: 36px; }
  .feature { gap: 16px; }
  .feature--flip { direction: ltr; }
  .feature__copy p { font-size: 13.5px; line-height: 1.6; margin-bottom: 16px; }
  .feature__copy .check-list { display: none; }
  .feature__note { font-size: 11.5px; margin-top: 10px; display: block; }
  .feature__visual-back { display: none; }
  .frame { aspect-ratio: auto; border-radius: 18px; background: rgba(255,255,255,.72); border-color: var(--border);
    box-shadow: 0 2px 4px rgba(14,27,51,.04), 0 16px 36px rgba(14,27,51,.12); }
  .frame__inner { position: static; padding: 16px; background-size: 20px 20px; }
  .mock, .stack, .entity-grid, .tpl-grid { width: 100%; }
  .mock { border-radius: 13px; box-shadow: none; }
  .mock__head, .mock__row { padding: 11px 14px; }
  .mock--pad { padding: 14px 15px; }
  .stack > .engine__input, .stack > .mock:first-child { display: none; }
  .stack .engine__link { display: none; }
  .chip-row { display: none; }
  .tpl { background: var(--card); box-shadow: 0 1px 2px rgba(14,27,51,.05), 0 10px 24px rgba(14,27,51,.07); padding: 13px 14px; }
  .tpl--selected { border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(14,27,51,.05), 0 10px 24px rgba(14,27,51,.07); }
  .tpl__badge, .tpl__sub { display: none; }
  .tpl__icon { width: 24px; height: 24px; margin-bottom: 8px; }
  .tpl__icon svg { width: 12px; height: 12px; }
  .frame--templates { background: transparent; border: 0; box-shadow: none; }
  .frame--templates .frame__inner { padding: 0; background-image: none; }
  .bd-actions .cancel, .bd-note { display: none; }
  .bd-actions .go { padding: 10px 0; font-size: 12px; }
  .bd-rows > div:nth-child(3) { display: none; }
  .mock__head .mock__btn { display: none; }
  .log-row { padding: 11px 14px; }
  .log-row__meta { font-size: 8px; margin-left: 19px; }

  .problem-card { padding: 20px; border-radius: 18px; }
  .problem-card .eyebrow { display: none; }
  .problem-card--with { box-shadow: 0 2px 4px rgba(14,27,51,.04), 0 14px 34px rgba(14,27,51,.10); }
  .template-card { padding: 13px 14px; gap: 8px; border-radius: 14px; }
  .template-card__title { font-family: var(--font-body); font-size: 12px; font-weight: 600; line-height: 1.3; }
  .template-card__line, .template-card a { display: none; }
  .template-card .tpl__icon { width: 24px; height: 24px; border-radius: 7px; }
  .template-card .tpl__icon svg { width: 12px; height: 12px; }

  /* CTA band + footer */
  .cta-band { padding: 44px 24px; }
  .cta-band .ghost { top: -18px; right: -14px; width: 150px; }
  .cta-band .ghost + .ghost, .cta-band__glow, .cta-band__wm { display: none; }
  .cta-band h2 { font-size: 27px; letter-spacing: -0.03em; line-height: 1.1; }
  .cta-band h2 br { display: inline; }
  .cta-band__inner { gap: 16px; }
  .cta-band__counter { gap: 10px; margin-bottom: 4px; }
  .cta-band__counter .bar { width: 110px; height: 4px; }
  .cta-band__counter span { font-size: 12px; }
  .cta-band .btn { width: 100%; font-size: 15px; padding: 16px; }
  .cta-band__sub { font-size: 12px; }

  .footer { padding: 22px 24px 34px; text-align: center; }
  .footer__inner { flex-direction: column; gap: 10px; }
  .footer__brand { font-size: 11.5px; gap: 7px; }
  .footer__brand svg { width: 20px; height: 20px; }
  .footer__links { justify-content: center; gap: 14px; font-size: 11.5px; }
  .footer__links .hide-mobile { display: none; }
  .footer__copy { font-size: 10.5px; }
  .footer__legal { display: none; }

  .footer--cols { text-align: left; padding: 24px 24px 90px; }
  .footer__grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
  .footer__col--product, .footer__col--resources, .footer__tagline { display: none; }
  .footer__col { flex-direction: row; flex-wrap: wrap; gap: 16px; font-size: 12px; }
  .footer__col-title { display: none; }
  .footer__bottom { border-top: 0; padding-top: 0; }
  .footer__bottom span { font-size: 10.5px; line-height: 1.6; }
  .footer__wm { display: none; }
}

@media (min-width: 641px) {
  .steps--inline .step__num { margin-bottom: 12px; }
}
