/* =============================================================
   LINQSA — site styles
   Tokens, base, components, layout. One file, one source of truth.
   ============================================================= */

/* ---------- 1. Fonts ---------- */
@font-face {
  font-family: 'Wotfard';
  src: url('../fonts/Wotfard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Wotfard';
  src: url('../fonts/Wotfard-RegularItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Wotfard';
  src: url('../fonts/Wotfard-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Wotfard';
  src: url('../fonts/Wotfard-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Wotfard';
  src: url('../fonts/Wotfard-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. Tokens ---------- */
:root {
  /* Colour — extracted from pitch deck V2 */
  --cream: #F0EDE5;
  --ink: #231F20;
  --ink-deep: #11110F;
  --peach: #F19D83;
  --peach-soft: rgba(241, 157, 131, 0.18);
  --neutral: #7C7369;
  --neutral-soft: #C5BFB7;
  --white: #FFFFFF;
  --rule: rgba(35, 31, 32, 0.1);
  --rule-dark: rgba(240, 237, 229, 0.12);

  /* Type */
  --font-sans: 'Wotfard', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Fluid type — clamp(min, preferred, max) */
  --fs-eyebrow: 0.75rem;       /* 12px */
  --fs-caption: 0.875rem;      /* 14px */
  --fs-body: 1.0625rem;        /* 17px */
  --fs-body-lg: 1.25rem;       /* 20px */
  --fs-h3: 1.375rem;           /* 22px */
  --fs-h2: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);        /* 28→40 */
  --fs-h1: clamp(2.25rem, 1.4rem + 4vw, 3.5rem);         /* 36→56 */
  --fs-hero: clamp(2.5rem, 1.2rem + 6vw, 4.5rem);        /* 40→72 */
  --fs-display: clamp(3rem, 1rem + 10vw, 6rem);          /* 48→96, for the wordmark */

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Layout */
  --page-max: 1280px;
  --page-pad: clamp(1.25rem, 2vw + 0.5rem, 4rem);
  --section-y: clamp(4rem, 4vw + 3rem, 7.5rem);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 150ms;
  --t-med: 300ms;
  --t-slow: 600ms;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 3. Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: 'kern', 'liga', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--peach); color: var(--ink); }

*:focus-visible {
  outline: 2px solid var(--peach);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- 4. Layout primitives ---------- */
.shell {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--page-pad);
}

.section {
  padding-block: var(--section-y);
}
.section + .section { border-top: 1px solid var(--rule); }
.section.dark + .section, .section + .section.dark { border-top: 0; }

.section.dark {
  background: var(--ink-deep);
  color: var(--cream);
}
.section.dark .eyebrow,
.section.dark .neutral { color: var(--neutral-soft); }
.section.dark hr { border-color: var(--rule-dark); }

/* ---------- 5. Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 90%, transparent);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease-out);
}
.nav.scrolled { border-bottom-color: var(--rule); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--page-pad);
}
.nav__logo { display: flex; align-items: center; gap: var(--space-2); line-height: 0; }
.nav__logo img { height: 40px; width: auto; display: block; }
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  font-size: var(--fs-body);
}
.nav__links a {
  color: var(--ink);
  font-weight: 500;
  transition: color var(--t-fast);
  position: relative;
}
.nav__links a:hover { color: var(--neutral); }
.nav__links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--peach);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-body);
  font-weight: 500;
  padding: 0.625rem 1.125rem;
}
.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.nav__toggle:hover { background: rgba(35,31,32,0.06); }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { padding: 0.5rem 1rem; font-size: var(--fs-caption); }
  .nav__logo img { height: 32px; }
  .nav.open ~ .nav-overlay { transform: translateY(0); opacity: 1; pointer-events: auto; }
}
@media (max-width: 720px) {
  .nav__cta { display: none; }
  .nav__inner { gap: var(--space-4); }
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 49;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-med);
  padding: 96px var(--page-pad) var(--page-pad);
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.nav-overlay a {
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
}

/* ---------- 6. Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neutral);
  margin-bottom: var(--space-5);
}
.eyebrow--underline {
  background: linear-gradient(to top, var(--peach) 0 2px, transparent 2px);
  padding-bottom: 4px;
}
.hero-headline {
  font-size: var(--fs-hero);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 18ch;
}
.h1 {
  font-size: var(--fs-h1);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 20ch;
}
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 22ch;
}
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
  font-weight: 600;
}
.lead {
  font-size: var(--fs-body-lg);
  line-height: 1.5;
  color: var(--ink);
  max-width: 60ch;
}
.neutral { color: var(--neutral); }
.italic { font-style: italic; }
.mark {
  background: linear-gradient(to top, var(--peach) 0.22em, transparent 0.22em);
  padding-inline: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.rule-accent {
  position: relative;
}
.rule-accent::after {
  content: '';
  position: absolute;
  left: 0; bottom: -0.3em;
  width: 72px; height: 3px;
  background: var(--peach);
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.875rem 1.25rem;
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 999px;
  transition: transform var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--ink);
  color: var(--cream);
}
.btn--primary:hover { background: var(--ink-deep); }
.btn--secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn--secondary:hover { background: var(--ink); color: var(--cream); box-shadow: none; }
.btn--text {
  padding: 0;
  color: var(--ink);
  border-radius: 0;
  font-weight: 500;
}
.btn--text .arrow { transition: transform var(--t-fast) var(--ease-out); }
.btn--text:hover .arrow { transform: translateX(4px); }
.section.dark .btn--primary { background: var(--cream); color: var(--ink); }
.section.dark .btn--primary:hover { background: var(--white); }
.section.dark .btn--secondary { color: var(--cream); box-shadow: inset 0 0 0 1px var(--cream); }
.section.dark .btn--secondary:hover { background: var(--cream); color: var(--ink); box-shadow: none; }
.section.dark .btn--text { color: var(--cream); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* ---------- 8. Hero ---------- */
.hero {
  padding-block: clamp(5rem, 6vw + 2rem, 9rem) var(--section-y);
}
.hero__wrap { display: grid; gap: var(--space-6); }
.hero__sub {
  font-size: var(--fs-body-lg);
  color: var(--neutral);
  max-width: 52ch;
  line-height: 1.5;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--rule);
  font-size: var(--fs-caption);
  color: var(--neutral);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__meta strong {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-left: 0.5ch;
}

/* ---------- 9. Cards + grids ---------- */
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  padding: var(--space-6);
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--rule);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(35,31,32,0.04);
}
.section.dark .card {
  background: rgba(240,237,229,0.04);
  border-color: var(--rule-dark);
}

.card--quote {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.card__num {
  font-size: var(--fs-caption);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--peach);
}
.card__label {
  font-size: var(--fs-caption);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}
.card__quote {
  font-size: var(--fs-body-lg);
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
}
.card__quote::before { content: '\201C'; }
.card__quote::after { content: '\201D'; }
.card__result {
  font-size: var(--fs-body);
  color: var(--neutral);
  line-height: 1.6;
  padding-top: var(--space-4);
  border-top: 1px solid var(--peach);
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.pillar__head {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pillar__body {
  color: var(--neutral);
  line-height: 1.6;
}

/* ---------- 10. Flow strip (home + how-it-works) ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  position: relative;
}
.flow::before {
  content: '';
  position: absolute;
  left: 5%; right: 5%;
  top: 28px;
  height: 1px;
  background: var(--rule);
  z-index: 0;
}
.section.dark .flow::before { background: var(--rule-dark); }

.flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  position: relative;
  z-index: 1;
}
.flow__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 1.25rem;
}
.flow__step--highlight .flow__num {
  background: var(--peach);
  color: var(--ink);
}
.flow__label {
  font-size: var(--fs-caption);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--neutral);
}
.flow__name {
  font-weight: 600;
  font-size: var(--fs-body);
}
.flow__desc {
  font-size: var(--fs-caption);
  color: var(--neutral);
  line-height: 1.5;
  max-width: 16ch;
}

.flow--3 { grid-template-columns: repeat(3, 1fr); }
.flow--3::before { left: 16.67%; right: 16.67%; }

@media (max-width: 800px) {
  .flow, .flow--3 { grid-template-columns: 1fr; gap: var(--space-6); }
  .flow::before, .flow--3::before { display: none; }
}

/* ---------- 11. Demo panel (home interactive) ---------- */
.demo {
  background: var(--white);
  border-radius: 28px;
  padding: var(--space-7);
  border: 1px solid var(--rule);
  max-width: 860px;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
}
.demo__input {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--cream);
  border-radius: 999px;
  padding: var(--space-3) var(--space-4);
  min-height: 56px;
  position: relative;
}
.demo__input-text {
  flex: 1;
  font-size: var(--fs-body);
  color: var(--ink);
  min-height: 24px;
  line-height: 1.4;
}
.demo__input-text.placeholder { color: var(--neutral); }
.demo__submit {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background var(--t-fast);
}
.demo__submit:hover { background: var(--peach); color: var(--ink); }
.demo__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.demo__pill {
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  background: transparent;
  font-size: var(--fs-caption);
  color: var(--ink);
  border: 1px solid var(--rule);
  transition: all var(--t-fast);
}
.demo__pill:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.demo__stage {
  margin-top: var(--space-6);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--rule);
  padding-top: var(--space-6);
}
.demo__stage-inner {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  align-items: center;
}
.demo__node {
  text-align: center;
  font-size: var(--fs-caption);
  color: var(--neutral);
  padding: var(--space-3);
  border-radius: 12px;
  transition: all var(--t-med) var(--ease-out);
  opacity: 0.35;
}
.demo__node.active {
  opacity: 1;
  color: var(--ink);
  background: var(--peach-soft);
  transform: scale(1.05);
}
.demo__node strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.demo__result {
  text-align: center;
  font-size: var(--fs-body-lg);
  font-weight: 500;
  animation: fadeUp 0.4s var(--ease-out);
}
.demo__result a {
  color: var(--neutral);
  font-size: var(--fs-caption);
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: var(--space-3);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}
.demo__replay {
  margin-top: var(--space-4);
  font-size: var(--fs-caption);
  color: var(--neutral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.demo__replay:hover { color: var(--ink); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .demo { padding: var(--space-5); }
  .demo__stage-inner { grid-template-columns: 1fr 1fr; gap: var(--space-2); }
}

/* ---------- 12. FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__btn {
  width: 100%;
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  text-align: left;
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--ink);
}
.faq__icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--peach);
  color: var(--ink);
  display: grid; place-items: center;
  font-size: 1.25rem;
  transition: transform var(--t-med) var(--ease-out);
  font-weight: 500;
}
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__body {
  padding-bottom: var(--space-5);
  color: var(--neutral);
  max-width: 72ch;
  line-height: 1.6;
}

/* ---------- 13. Scenario row (home §2) ---------- */
.scenarios { }
.scenarios__note {
  margin-top: var(--space-6);
  text-align: center;
  color: var(--neutral);
  font-style: italic;
  font-size: var(--fs-body);
  max-width: 56ch;
  margin-inline: auto;
}

/* ---------- 14. Pricing cards ---------- */
.price {
  padding: var(--space-6);
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 380px;
}
.price--featured {
  border-color: var(--peach);
  box-shadow: 0 0 0 4px var(--peach-soft);
}
.price__tag {
  font-size: var(--fs-caption);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--peach);
  font-weight: 600;
}
.price__head {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.price__desc {
  color: var(--neutral);
  line-height: 1.55;
  flex: 1;
}
.price__cta {
  align-self: flex-start;
}

/* ---------- 15. Footer ---------- */
.footer {
  background: var(--ink-deep);
  color: var(--cream);
  padding-block: var(--space-9) var(--space-6);
  margin-top: var(--section-y);
}
.footer a { color: var(--cream); transition: color var(--t-fast); }
.footer a:hover { color: var(--peach); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}
.footer__brand img { height: 40px; filter: invert(1) brightness(1.9); display: block; }
.footer__tagline {
  margin-top: var(--space-4);
  font-size: var(--fs-caption);
  color: var(--neutral-soft);
  max-width: 28ch;
}
.footer__col h4 {
  font-size: var(--fs-caption);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neutral-soft);
  margin-bottom: var(--space-4);
  font-weight: 500;
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__col a { font-size: var(--fs-body); }
.footer__bottom {
  padding-top: var(--space-5);
  border-top: 1px solid var(--rule-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--fs-caption);
  color: var(--neutral-soft);
}
.footer__bottom-links {
  display: flex; gap: var(--space-5);
}

@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- 16. Partner gateway cards ---------- */
.gateway {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.gateway__card {
  padding: var(--space-7);
  border-radius: 24px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--t-med) var(--ease-out);
}
.gateway__card:hover { transform: translateY(-4px); }
.gateway__card--light {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--rule);
}
.gateway__card--dark {
  background: var(--ink-deep);
  color: var(--cream);
}
.gateway__card h3 {
  font-size: var(--fs-h2);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}
.gateway__card p {
  max-width: 36ch;
  line-height: 1.5;
  font-size: var(--fs-body-lg);
  color: inherit;
  opacity: 0.8;
}
@media (max-width: 800px) {
  .gateway { grid-template-columns: 1fr; }
}

/* ---------- 17. Trust strip ---------- */
.trust-strip {
  text-align: center;
  padding-block: var(--space-7);
  background: var(--ink);
  color: var(--cream);
  border-radius: 20px;
}
.trust-strip p {
  font-size: var(--fs-body-lg);
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.5;
}
.trust-strip a {
  margin-top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--peach);
  font-size: var(--fs-caption);
  letter-spacing: 0.08em;
}

/* ---------- 18. Closing CTA ---------- */
.cta-final {
  background: var(--ink-deep);
  color: var(--cream);
  text-align: center;
  padding-block: clamp(5rem, 6vw + 2rem, 9rem);
  margin-block: var(--section-y) 0;
}
.cta-final h2 {
  font-size: var(--fs-hero);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 20ch;
  margin-inline: auto;
  margin-bottom: var(--space-7);
}
.cta-final .btn-row { justify-content: center; }

/* ---------- 19. Utility ---------- */
.mx-auto { margin-inline: auto; }
.mt-lg { margin-top: var(--space-7); }
.mt-xl { margin-top: var(--space-8); }
.mb-lg { margin-bottom: var(--space-7); }
.center { text-align: center; }
.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;
}

/* ---------- 20. Scroll reveal (progressive enhancement) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ---------- 21. Phone mockup (the app page) ---------- */
.phone {
  width: 280px;
  aspect-ratio: 9/19;
  background: var(--ink);
  border-radius: 36px;
  padding: 8px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(35,31,32,0.12);
}
.phone__screen {
  width: 100%;
  height: 100%;
  background: var(--cream);
  border-radius: 28px;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  overflow: hidden;
}
.phone__header {
  font-size: var(--fs-caption);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--peach);
  font-weight: 600;
}
.phone__title { font-size: var(--fs-h3); font-weight: 600; }
.phone__row {
  padding: var(--space-3);
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--rule);
  font-size: var(--fs-caption);
}
.phone__row strong { display: block; margin-bottom: 2px; font-weight: 600; }
.phone__row .small { color: var(--neutral); }

/* ---------- 22. Code-free "merchant/platform page" steps ---------- */
.step-list {
  display: grid;
  gap: var(--space-5);
  counter-reset: step;
}
.step-list__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--rule);
  counter-increment: step;
}
.step-list__item:last-child { border-bottom: 0; }
.step-list__item::before {
  content: counter(step, decimal-leading-zero);
  font-size: var(--fs-h3);
  color: var(--peach);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.step-list__title { font-size: var(--fs-h3); font-weight: 600; margin-bottom: var(--space-2); }
.step-list__body { color: var(--neutral); line-height: 1.6; max-width: 60ch; }

/* ---------- 23. Large poem-style list (partners/merchants §3) ---------- */
.poem {
  text-align: center;
  max-width: 32ch;
  margin-inline: auto;
}
.poem li {
  font-size: clamp(1.375rem, 1.5vw + 1rem, 1.75rem);
  line-height: 1.4;
  font-weight: 500;
  padding-block: var(--space-3);
}
.poem li + li { border-top: 1px solid var(--rule); }

/* ---------- 24. Pull quote ---------- */
.pullquote {
  max-width: 48ch;
  margin-inline: auto;
  text-align: center;
}
.pullquote__body {
  font-size: clamp(1.5rem, 2vw + 0.75rem, 2.25rem);
  line-height: 1.3;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.pullquote__body::before { content: '\201C'; margin-right: 2px; }
.pullquote__body::after { content: '\201D'; margin-left: 2px; }
/* ---- app.html hero: stack phone mockup below copy on mobile ---- */
@media (max-width: 760px) {
  .hero > .shell > div[style*="grid-template-columns:1.2fr 1fr"],
  .hero > .shell > div[style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-6) !important;
  }
  .phone { width: 240px; }
}
/* Prevent content overflow on mobile */
@media (max-width: 600px) {
  body { overflow-x: hidden; }
  .hero-headline { max-width: 100%; word-break: break-word; }
  .h1, .h2 { max-width: 100%; }
}

.pullquote__attr {
  margin-top: var(--space-5);
  font-size: var(--fs-caption);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neutral);
}
