/* ============================================================
   Nodal-Pay — Design System & Site Styles
   Brand: two-figure teal mark. Stack: static HTML/CSS/JS.
   Font: Manrope (loaded via Google Fonts <link> in each page)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Exact brand colors measured from the official logo artwork */
  --ink: #0A2A2C;         /* deepest teal — headlines */
  --teal-deep: #103C3E;   /* footer, CTA band, store badges */
  --teal: #16494B;        /* primary brand (logo dark) — buttons, links */
  --teal-strong: #0D3335; /* hover */
  --teal-bright: #457C7C; /* logo overlap tone — focus rings, accents */
  --sage: #89B3B3;        /* logo light — decorative accents only */
  --soft: #F2F7F6;        /* soft section background */
  --tint: #E1EEEC;        /* icon tiles, pills */
  --white: #FFFFFF;
  --text: #10302F;
  --text-2: #4A6361;
  --text-3: #5F7472;
  --border: #DEE9E7;
  --border-strong: #C7D8D5;
  --amber: #D98200;
  --amber-text: #8A5600;
  --amber-soft: #FCF2E3;
  --amber-border: #F0D9B0;
  --red: #D92D20;

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-xs: 0 1px 2px rgba(12, 46, 48, 0.05);
  --shadow-sm: 0 1px 3px rgba(12, 46, 48, 0.07), 0 1px 2px rgba(12, 46, 48, 0.04);
  --shadow-md: 0 6px 16px -4px rgba(12, 46, 48, 0.10), 0 2px 6px -2px rgba(12, 46, 48, 0.06);
  --shadow-lg: 0 20px 48px -12px rgba(12, 46, 48, 0.18);

  --container: 1180px;
  --nav-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4, p, ul, ol, figure {
  margin: 0;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--teal-strong);
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--teal-deep);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 110px;
}

.section--soft {
  background: var(--soft);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-title {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--teal);
  color: #fff;
}

.btn--primary:hover {
  background: var(--teal-strong);
  color: #fff;
}

.btn--secondary {
  background: var(--white);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  border-color: var(--text-3);
  color: var(--text);
}

.btn--lg {
  padding: 15px 28px;
  font-size: 17px;
}

/* ---------- Store badges ---------- */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal-deep);
  color: #fff;
  border: 1px solid var(--teal-deep);
  border-radius: 10px;
  padding: 9px 16px 9px 13px;
  min-width: 168px;
  text-align: left;
  transition: background-color 0.18s ease, transform 0.12s ease;
}

.store-badge:hover {
  background: var(--teal-strong);
}

.store-badge:active {
  transform: translateY(1px);
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex: none;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge__hint {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.85;
}

.store-badge__store {
  font-size: 16px;
  font-weight: 700;
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-2);
}

.pill--dev {
  border-color: var(--tint);
  background: var(--tint);
  color: var(--teal-strong);
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__img {
  height: 40px;
  width: auto;
  display: block;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav__store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nav__store-btn:hover {
  background: var(--soft);
  border-color: var(--border-strong);
}

.nav__store-btn svg {
  width: 20px;
  height: 20px;
}

.nav__cta {
  padding: 10px 18px;
  font-size: 15px;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.nav__toggle svg {
  width: 22px;
  height: 22px;
}

.nav__toggle .icon-close {
  display: none;
}

.nav__toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav__toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav__menu {
  display: contents;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--soft);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding-block: 96px 104px;
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 20px;
}

.hero__title em {
  font-style: normal;
  color: var(--teal);
}

.hero__sub {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 480px;
}

.hero__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.hero__stores-note {
  font-size: 13.5px;
  color: var(--text-3);
  margin-top: 10px;
}

/* Mediator diagram: buyer -> Nodal-Pay holds -> seller */
.hero__diagram {
  display: flex;
  justify-content: center;
}

.med-card {
  width: min(400px, 100%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.med-node {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}

.med-node--np {
  background: var(--tint);
  border-color: var(--sage);
}

.med-node--np img {
  width: 44px;
  height: auto;
  flex: none;
}

.med-node__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}

.med-node__sub {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 600;
}

.med-arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 30px;
  color: var(--teal-bright);
}

.med-arrow svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.med-arrow span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-3);
}

/* ---------- Icon tile ---------- */
.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tint);
  color: var(--teal);
  flex: none;
}

.icon-tile svg {
  width: 23px;
  height: 23px;
}

/* ---------- Problem section ---------- */
.stat-band {
  background: var(--teal-deep);
  border-radius: var(--radius-xl);
  padding: 40px 44px 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
  margin-bottom: 28px;
}

.stat-band__year {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--sage);
  border: 1px solid rgba(147, 183, 179, 0.4);
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 14px;
}

.stat-num {
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

.stat-band__sub {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  max-width: 340px;
}

.stat-band__flag {
  align-self: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--sage);
  border-left: 3px solid var(--sage);
  padding-left: 22px;
  max-width: 360px;
  justify-self: end;
}

.stat-band__note {
  grid-column: 1 / -1;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 16px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.p-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.p-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.p-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 18px 0 8px;
}

.p-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
}


/* ---------- Flow (How it works) ----------
   A stepper that reads as a flow at every size:
   desktop = numbered nodes on one continuous line with chevrons,
   mobile = vertical rail connecting the same nodes. */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1020px;
  margin-inline: auto;
}

.flow-step {
  position: relative;
  text-align: center;
  padding: 0 14px;
}

/* the continuous line */
.flow-step::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-strong);
}

.flow-step:first-child::before {
  left: 50%;
}

.flow-step:last-child::before {
  right: 50%;
}

/* direction chevron sitting on the line between steps */
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px;
  right: -6px;
  width: 11px;
  height: 11px;
  border-top: 2.5px solid var(--teal);
  border-right: 2.5px solid var(--teal);
  transform: rotate(45deg);
  background: transparent;
}

.flow-step__num {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px var(--white);
}

.section--soft .flow-step__num {
  box-shadow: 0 0 0 6px var(--soft);
}

.flow-step h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.flow-step p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}

.flow-note {
  margin-top: 52px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-2);
  text-align: center;
}

.flow-note svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--teal);
}

.flow-note small {
  display: block;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
}

/* ---------- Solve animation: buyer -> Nodal Pay -> seller ---------- */
.solve-anim {
  display: flex;
  justify-content: center;
  margin: -8px auto 56px;
}

.solve-anim svg {
  width: min(680px, 100%);
  height: auto;
}

.np-label {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  fill: var(--text-2);
}

.np-label--strong {
  font-weight: 800;
  fill: var(--ink);
}

.np-coin__glyph {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 800;
  fill: #fff;
}

/* base states double as the reduced-motion still frame:
   coin held inside the shield, padlock closed, left line filled */
.np-coin {
  transform: translateX(210px);
  animation: np-coin 7s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

@keyframes np-coin {
  0% { transform: translateX(0); opacity: 0; }
  5% { opacity: 1; }
  28% { transform: translateX(210px); }
  30% { transform: translateX(210px) scale(1.08); }
  32% { transform: translateX(210px) scale(1); }
  58% { transform: translateX(210px); }
  80% { transform: translateX(420px); opacity: 1; }
  87% { opacity: 0; }
  100% { transform: translateX(420px); opacity: 0; }
}

/* progress lines fill as the money moves */
.np-line-l {
  stroke-dashoffset: 0;
  animation: np-line-l 7s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

@keyframes np-line-l {
  0% { stroke-dashoffset: 156; opacity: 1; }
  28%, 86% { stroke-dashoffset: 0; opacity: 1; }
  94%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

.np-line-r {
  stroke-dashoffset: 156;
  animation: np-line-r 7s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

@keyframes np-line-r {
  0%, 58% { stroke-dashoffset: 156; opacity: 1; }
  80%, 86% { stroke-dashoffset: 0; opacity: 1; }
  94%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

/* "Held safely" chip floats in while the money is locked */
.np-badge {
  opacity: 0;
  animation: np-badge 7s ease-in-out infinite;
}

.np-badge__text {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 800;
  fill: var(--teal-strong);
}

@keyframes np-badge {
  0%, 30% { opacity: 0; transform: translateY(6px); }
  36%, 54% { opacity: 1; transform: translateY(0); }
  60%, 100% { opacity: 0; transform: translateY(-4px); }
}

/* padlock shackle: open while money travels, snaps shut while held */
.np-shackle {
  animation: np-shackle 7s ease-in-out infinite;
}

@keyframes np-shackle {
  0%, 26% { transform: translateY(-8px); }
  31%, 56% { transform: translateY(0); }
  62%, 100% { transform: translateY(-8px); }
}

.np-pulse {
  opacity: 0;
  animation: np-pulse 7s ease-in-out infinite;
}

@keyframes np-pulse {
  0%, 28% { r: 62px; opacity: 0; }
  36% { r: 68px; opacity: 0.7; }
  46% { r: 76px; opacity: 0.2; }
  54% { r: 68px; opacity: 0.5; }
  62%, 100% { r: 78px; opacity: 0; }
}

.np-tick {
  opacity: 0;
  animation: np-tick 7s ease-in-out infinite;
}

@keyframes np-tick {
  0%, 48% { opacity: 0; transform: translateY(8px); }
  56%, 90% { opacity: 1; transform: translateY(0); }
  96%, 100% { opacity: 0; transform: translateY(0); }
}


/* ---------- Why choose: paying vs delivering ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1020px;
  margin-inline: auto;
}

.b-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.b-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.b-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.b-card__head h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.b-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.b-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.5;
}

.b-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--teal);
  margin-top: 2px;
}

/* ---------- Statement ---------- */
.statement {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

.statement h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.statement h2 em {
  font-style: normal;
  color: var(--teal);
}

.statement p {
  margin-top: 18px;
  font-size: 18px;
  color: var(--text-2);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--teal-deep);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.12;
}

.cta-band p {
  margin: 18px auto 0;
  max-width: 520px;
  font-size: 17.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.cta-band__stores {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.cta-band .store-badge {
  background: #fff;
  color: var(--teal-deep);
  border-color: #fff;
}

.cta-band .store-badge:hover {
  background: var(--soft);
}

.cta-band__note {
  margin-top: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--text-3);
  transition: transform 0.25s ease;
}

.faq-item[open] summary svg {
  transform: rotate(45deg);
  color: var(--teal);
}

.faq-item__body {
  padding: 0 24px 22px;
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 680px;
}

/* Links inside prose must not rely on colour alone (WCAG 1.4.1) */
.faq-item__body a,
.flow-note a {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--teal-bright);
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 36px;
  font-size: 14.5px;
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.15s ease;
}

.footer a:hover {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 48px;
}

.footer__brand .brand {
  margin-bottom: 16px;
}

.footer__brand p {
  line-height: 1.65;
  max-width: 280px;
}

.footer__col h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__bottom p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.6;
}

/* ---------- Modal ---------- */
.modal {
  border: 0;
  border-radius: var(--radius-xl);
  padding: 0;
  width: min(440px, calc(100vw - 32px));
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.modal::backdrop {
  background: rgba(12, 46, 48, 0.55);
}

.modal[open] {
  animation: modal-in 0.22s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal__inner {
  padding: 36px 32px 32px;
  text-align: center;
}

.modal__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin: 0 auto 20px;
  background: var(--tint);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__icon svg {
  width: 30px;
  height: 30px;
}

.modal h2 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.modal__msg {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.6;
}

.modal__form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.modal__form label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-2);
}

.modal__optional {
  font-weight: 500;
  color: var(--text-3);
}

.modal__form input {
  width: 100%;
  font-family: inherit;
  font-size: 15.5px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  background: var(--white);
}

.modal__form input:focus {
  outline: 2px solid var(--teal-bright);
  outline-offset: 1px;
  border-color: var(--teal);
}

.modal__form input::placeholder {
  color: var(--text-3);
}

.modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.modal__actions .btn {
  flex: 1;
}

.modal__hint {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.5;
}

.modal__success {
  display: none;
  margin-top: 22px;
  background: var(--tint);
  color: var(--teal-strong);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.modal.is-success .modal__success {
  display: block;
}

.modal.is-success .modal__form {
  display: none;
}

.modal__error {
  display: none;
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
}

.modal__error.is-visible {
  display: block;
}

/* ---------- Legal / info pages ---------- */
.page-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 56px;
}

.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  max-width: 780px;
}

.page-hero__meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-3);
}

.page-hero__lede {
  margin-top: 16px;
  font-size: 17.5px;
  color: var(--text-2);
  max-width: 680px;
  line-height: 1.65;
}

.legal-body {
  padding: 64px 0 96px;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
  color: var(--text);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 30px 0 10px;
}

.legal-content p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 18px;
  padding-left: 24px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.legal-content strong {
  color: var(--text);
}

.legal-content a {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--tint);
  text-underline-offset: 3px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 0 0 20px;
}

.legal-content th,
.legal-content td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: top;
  line-height: 1.55;
}

.legal-content th {
  background: var(--soft);
  color: var(--text);
  font-weight: 700;
}

.draft-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 40px;
  font-size: 14.5px;
  color: var(--amber-text);
  line-height: 1.6;
}

.draft-note svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 2px;
}

.placeholder {
  background: var(--tint);
  color: var(--teal-strong);
  border-radius: 5px;
  padding: 1px 7px;
  font-weight: 700;
  font-size: 0.92em;
  white-space: nowrap;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.07s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.21s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.42s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.49s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* No-JS fallback: keep everything visible */
.no-js .reveal,
.no-js .reveal-stagger > * {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1100px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .section {
    padding-block: 80px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 72px 84px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /* Flow: 5-across gets tight — stack as vertical rail early */
  .flow {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .flow-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 20px;
    text-align: left;
    padding: 0 0 40px;
  }

  .flow-step::before {
    top: 52px;
    bottom: 0;
    left: 25px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .flow-step:first-child::before {
    left: 25px;
  }

  .flow-step:last-child::before {
    display: none;
  }

  .flow-step:last-child {
    padding-bottom: 0;
  }

  /* chevron points down the rail */
  .flow-step:not(:last-child)::after {
    top: auto;
    bottom: 14px;
    right: auto;
    left: 20.5px;
    transform: rotate(135deg);
  }

  .flow-step__num {
    margin: 0;
  }

  .flow-step h3,
  .flow-step p {
    grid-column: 2;
  }

  .flow-step h3 {
    align-self: center;
    grid-row: 1;
  }

  .flow-step__num {
    grid-row: 1 / span 2;
    align-self: start;
  }
}

/* Mobile navigation */
@media (max-width: 880px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 24px;
  }

  .nav__menu.is-open {
    display: block;
  }

  .nav__actions {
    margin-left: 0;
    flex-wrap: wrap;
  }

  .nav__store-btn {
    width: auto;
    height: auto;
    padding: 11px 16px;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 700;
  }

  .nav__store-btn span {
    display: inline !important;
  }
}

@media (min-width: 881px) {
  .nav__store-btn span {
    display: none;
  }
}

@media (max-width: 720px) {
  .section {
    padding-block: 64px;
  }

  .stat-band {
    grid-template-columns: 1fr;
    padding: 28px 24px 24px;
    gap: 24px;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .b-card {
    padding: 24px;
  }

  .stat-band__flag {
    justify-self: start;
    max-width: none;
  }

  .cta-band {
    padding: 56px 24px;
    border-radius: var(--radius-lg);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 400px) {
  .container {
    padding-inline: 18px;
  }

  .hero__stores .store-badge {
    width: 100%;
    justify-content: center;
  }

  .modal__inner {
    padding: 28px 20px 24px;
  }

  .modal__actions {
    flex-direction: column;
  }
}
