/* ─────────────────────────────────────────────────────────
   Make A Payment — site styles
   v0.1 · vanilla CSS, zero dependencies
   60 / 30 / 10 — white / navy / yellow
   ───────────────────────────────────────────────────────── */

/* ───────── Tokens ───────── */
:root {
  /* 60-30-10 palette */
  --bg:           #FFFFFF;
  --bg-2:         #F6F9FC;
  --bg-3:         #EEF2F7;
  --ink:          #0A2540;     /* deep navy */
  --ink-deep:     #061829;     /* darker navy — code surfaces */
  --ink-2:        #2A3F58;
  --mid:          #5C6F86;
  --soft:         #8898AA;
  --rule:         #E3E8EE;
  --rule-2:       #D4DBE4;

  /* 10% accent */
  --yel:          #F5D547;     /* signal yellow */
  --yel-deep:     #E0B833;

  /* pastel chip palette (for glyphs / live dots / nodes) */
  --pas-mint:     #B8E4D6;
  --pas-cream:    #FFE9C7;
  --pas-peach:    #FFD3C2;
  --pas-lav:      #E8E0FF;
  --pas-sky:      #D4ECFB;
  --pas-yel:      #FFF7C2;

  /* status */
  --ok:           #2A9D8F;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --t-base: 16px;
  --t-sm:   14px;
  --t-xs:   12px;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw:   1320px;

  --r-sm:   6px;
  --r:      12px;
  --r-lg:   16px;
  --r-xl:   24px;

  /* Elevation tokens — 3 levels */
  --shadow-card:      0 1px 0 rgba(10,37,64,0.02), 0 16px 32px -24px rgba(10,37,64,0.08);
  --shadow-card-lift: 0 1px 0 rgba(10,37,64,0.04), 0 28px 50px -22px rgba(10,37,64,0.22), 0 6px 14px -6px rgba(10,37,64,0.10);
  --shadow-code:      0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 48px -16px rgba(0,0,0,0.4);

  --ease:   cubic-bezier(.2,.6,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; padding: 0; color: inherit; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
::selection { background: var(--yel); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.tnum { font-feature-settings: "tnum" 1; }
.break-desktop { display: none; }
@media (min-width: 900px) { .break-desktop { display: inline; } }

/* ───────── Shell ───────── */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ───────── Section base ───────── */
section { position: relative; }
.section { padding-block: clamp(72px, 9vw, 128px); }

.sec-head {
  text-align: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.sec-title {
  margin: 0 auto;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 22ch;
  color: var(--ink);
}
.sec-title .mark {
  background-image: linear-gradient(transparent 64%, var(--yel) 64%, var(--yel) 92%, transparent 92%);
  background-repeat: no-repeat;
  padding-inline: 0.05em;
}
.sec-sub {
  margin: 16px auto 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--mid);
  max-width: 56ch;
  font-weight: 400;
}
@media (max-width: 719px) {
  .sec-head  { text-align: left; }
  .sec-title { margin: 0; }
  .sec-sub   { margin-inline: 0; }
}

/* ───────── Nav ───────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 16px;
}
.brand-mark {
  width: 22px; height: 22px;
  display: inline-block;
  position: relative;
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--ink);
}
.brand-mark::before { transform: translate(-3px, -3px); }
.brand-mark::after  { transform: translate(3px, 3px); background: var(--yel); border-color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
  padding-block: 6px;
  transition: color .15s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 2px;
  height: 6px;
  background: var(--yel);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }
@media (max-width: 720px) {
  .nav-links { gap: 16px; }
  .nav-link[data-hide-mobile] { display: none; }
}

/* ───────── HERO ───────── */
.hero-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(118deg,
      var(--pas-mint) 0%,
      var(--pas-cream) 28%,
      var(--pas-peach) 58%,
      var(--pas-lav) 100%);
}
.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, transparent 48%, rgba(255,255,255,0.55) 49%, rgba(255,255,255,0.55) 51%, transparent 52%);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.hero-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 18%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 0;
}
.hero {
  padding-block: clamp(72px, 10vw, 144px) clamp(96px, 12vw, 160px);
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 8px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(10,37,64,0.08);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow .live-dot {
  position: relative;
  width: 8px; height: 8px;
  background: var(--ok);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-eyebrow .live-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(42,157,143,0.55);
  animation: live-pulse 2s ease-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(42,157,143,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(42,157,143,0); }
  100% { box-shadow: 0 0 0 0 rgba(42,157,143,0); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1025px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 72px;
    align-items: center;
  }
}

.hero h1 {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  max-width: 12ch;
  color: var(--ink);
}
@media (max-width: 1024px) {
  .hero h1 { max-width: none; }
}
.hero h1 em {
  font-style: normal;
  font-weight: inherit;
  background-image: linear-gradient(transparent 60%, var(--yel) 60%, var(--yel) 92%, transparent 92%);
  background-repeat: no-repeat;
  padding-inline: 0.05em;
}
.hero-sub {
  margin-top: 32px;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 48ch;
  font-weight: 400;
}
.hero-meta-row {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero-meta-row .item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-meta-row .item::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--yel);
  border-radius: 1px;
}
.hero-meta-row .item-2::before { background: var(--pas-mint); }
.hero-meta-row .item-3::before { background: var(--pas-peach); }

/* hero figure — auto-rotating globe + 3 stacked cards (always flex, fixed gap) */
.hero-figure {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 1025px) {
  .hero-figure {
    margin-left: auto;
    margin-right: 0;
    gap: 32px;
  }
}
.hero-globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 38%, #000 60%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, transparent 38%, #000 60%, #000 100%);
}
.hero-band > .hero { position: relative; z-index: 1; }


/* Cards (shared base) — always relative; layout via flex parent */
.hero-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card-lift);
  z-index: 1;
  width: 100%;
}

/* Card 1 — incoming notification (top) */
.hc-1 {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hc-1 .hc-row { display: flex; gap: 12px; align-items: center; }
.hc-1 .hc-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pas-mint);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
  transition: background-color .35s var(--ease);
}
.hc-1[data-dir="in"]  .hc-av { background: var(--pas-mint);  }
.hc-1[data-dir="out"] .hc-av { background: var(--pas-peach); }
.hc-1 .hc-stack { display: flex; flex-direction: column; gap: 4px; line-height: 1.2; }
.hc-1 .hc-title { font-size: 16px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.hc-1 .hc-sub { font-size: 14px; font-weight: 500; color: var(--mid); }
.hc-1 .hc-foot-row {
  display: flex; align-items: center; gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hc-1 .hc-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
  position: relative;
}
.hc-1 .hc-pulse::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(42,157,143,0.45);
  animation: live-pulse 2s ease-out infinite;
}

/* Card 2 — open banking flow status (cycling 4-step progress) */
.hc-2 {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hc-2-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hc-2-tag { color: var(--ink); font-weight: 500; }
.hc-2-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.hc-2-progress .hc-d {
  height: 5px;
  border-radius: 3px;
  background: var(--rule);
  transition: background-color .35s var(--ease);
}
/* Segment 1 — green (authorising) */
.hc-2[data-step="1"] .hc-d:nth-child(1),
.hc-2[data-step="2"] .hc-d:nth-child(1),
.hc-2[data-step="3"] .hc-d:nth-child(1) { background: var(--ok); }
/* Segment 2 — yellow (verifying) */
.hc-2[data-step="2"] .hc-d:nth-child(2),
.hc-2[data-step="3"] .hc-d:nth-child(2) { background: var(--yel-deep); }
/* Segment 3 — grey (settling) */
.hc-2[data-step="3"] .hc-d:nth-child(3) { background: var(--mid); }
/* Step 4 — all green when confirmed */
.hc-2[data-step="4"] .hc-d { background: var(--ok); }
.hc-2-status {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hc-2[data-step="4"] .hc-2-status { color: var(--ok); }

/* Card 3 — settlement confirmation (bottom-right, larger) */
.hc-3 {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hc-3 .hc-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hc-3 .hc-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 500;
}
.hc-3 .hc-status i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
}
.hc-3 .hc-amt {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  margin-top: 2px;
}
.hc-3 .hc-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.06em;
}
.hc-3 .hc-divider {
  height: 1px;
  background: var(--rule);
  margin: 4px 0;
}
.hc-3 .hc-meta-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hc-3 .hc-meta-row strong {
  color: var(--ink);
  font-weight: 500;
  text-transform: none;
  font-family: var(--sans);
  letter-spacing: -0.01em;
}

/* Stagger entrance for hero cards */
.js-motion .hero-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js-motion .hero-figure.in .hc-1 { opacity: 1; transform: none; transition-delay: 200ms; }
.js-motion .hero-figure.in .hc-2 { opacity: 1; transform: none; transition-delay: 380ms; }
.js-motion .hero-figure.in .hc-3 { opacity: 1; transform: none; transition-delay: 560ms; }

/* Content swap transition (text fade on cycle) */
.hc-fade {
  transition: opacity .35s var(--ease);
}
.hc-fade.is-out { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .hc-1 .hc-pulse::after { animation: none !important; }
  .js-motion .hero-card { opacity: 1; transform: none; transition: none; }
}

/* ───────── Ticker ───────── */
.ticker {
  border-block: 1px solid var(--rule);
  background: var(--bg-2);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  gap: 56px;
  padding-block: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: tick 60s linear infinite;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.ticker-track span::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--yel);
  flex-shrink: 0;
}
.ticker-track span:nth-child(2n)::before { background: var(--pas-mint); }
.ticker-track span:nth-child(3n)::before { background: var(--pas-peach); }
.ticker-track span:nth-child(5n)::before { background: var(--pas-lav); }
@keyframes tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ───────── Bento services ───────── */
.bento-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) {
  .bento-services { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.svc {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-card);
}
.svc-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.svc-glyph {
  width: 56px; height: 56px;
  background: var(--bg-2);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.svc-glyph.is-receive { background: var(--pas-mint); }
.svc-glyph.is-send    { background: var(--pas-peach); }
.svc-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.svc-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.svc-blurb {
  font-size: 16px;
  line-height: 1.5;
  color: var(--mid);
  max-width: 50ch;
}
.svc-data {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 16px 20px;
}
.svc-data-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.svc-data-head .v { color: var(--ink); font-weight: 500; }

/* Mock confirmation tile (Receive card) */
.svc-confirm {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
.svc-confirm-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.svc-confirm-head .ts { color: var(--ink); font-weight: 500; }
.svc-confirm-amt {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
  margin-top: 4px;
}
.svc-confirm-ref {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mid);
  letter-spacing: 0.06em;
  margin-top: -4px;
}
.svc-confirm-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 8px 16px 8px 12px;
  align-self: flex-start;
  margin-top: 4px;
}
.svc-confirm-status .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  flex-shrink: 0;
}
.svc-confirm-status .dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(42,157,143,0.55);
  animation: live-pulse 2s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .svc-confirm-status .dot::after { animation: none; }
}

/* recipient list (static + sliding-window mode) */
.rec-list {
  display: flex;
  flex-direction: column;
}
.rec-list.is-sliding {
  display: block;
  height: calc(3 * 52px);
  overflow: hidden;
  position: relative;
}
.rec-list-track {
  will-change: transform;
}
.rec-list .row {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  gap: 12px;
  align-items: center;
  height: 52px;
  padding-block: 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.rec-list:not(.is-sliding) .row:last-child { border-bottom: 0; }
.rec-list .av {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
}
.rec-list .av-1 { background: var(--pas-mint); }
.rec-list .av-2 { background: var(--pas-peach); }
.rec-list .av-3 { background: var(--pas-lav); }
.rec-list .name { color: var(--ink); font-weight: 500; }
.rec-list .amt { font-family: var(--mono); font-size: 12px; color: var(--mid); }
.rec-list .tick { color: var(--ok); }

.svc-points {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.svc-points li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}
.svc-points li:last-child { border-bottom: 0; }
.svc-points .ix {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--soft);
  letter-spacing: 0.06em;
  padding-top: 2px;
}

/* ───────── Open banking explainer (dark band) ───────── */
.ob-explain {
  margin-top: 32px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .ob-explain { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: center; }
}
.ob-explain-text { display: flex; flex-direction: column; }
.ob-explain .ob-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--yel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ob-explain h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
  max-width: 16ch;
}
.ob-explain p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  font-weight: 400;
  max-width: 52ch;
}
.ob-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r);
  padding: 6px;
}
.ob-flow-step {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
}
.ob-flow-step .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--yel);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ob-flow-step .t {
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ───────── Pillars (editorial 4-up) ───────── */
.pillars {
  background: var(--bg-2);
}
.pillars-list {
  border-top: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
}
.pillars-list > li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding-block: clamp(28px, 3vw, 40px);
  border-bottom: 1px solid var(--rule-2);
}
.pillars-list > li:last-child { border-bottom: 0; }
@media (min-width: 900px) {
  .pillars-list > li {
    grid-template-columns: 96px 1fr 220px;
    gap: 32px;
    align-items: start;
  }
}
.pillar-num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--mid);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.pillar-num::before {
  content: "";
  display: inline-block;
  width: 24px; height: 4px;
  background: var(--yel);
  vertical-align: middle;
  margin-right: 12px;
}
.pillar-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 8px;
}
.pillar-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
  font-weight: 400;
}
.pillar-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pillar-meta::before {
  content: "";
  width: 8px; height: 8px;
  background: currentColor;
  opacity: 0.5;
}

/* ───────── Why merchants (asymmetric bento 7+5 / 5+7) ───────── */
.why-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) {
  .why-bento { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (min-width: 1100px) {
  .why-bento { grid-template-columns: repeat(12, 1fr); gap: 16px; }
  .why-bento > .why-card:nth-child(1) { grid-column: span 7; }
  .why-bento > .why-card:nth-child(2) { grid-column: span 5; }
  .why-bento > .why-card:nth-child(3) { grid-column: span 5; }
  .why-bento > .why-card:nth-child(4) { grid-column: span 7; }
}
.why-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.why-card::before {
  content: attr(data-n);
  position: absolute;
  bottom: clamp(8px, 1vw, 18px);
  right: clamp(20px, 2.4vw, 36px);
  font-family: var(--mono);
  font-size: clamp(96px, 11vw, 168px);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--bg-3);
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.why-card > * { position: relative; z-index: 1; }
/* Pastel watermark numerals — echo hero-band gradient diagonal (mint → cream → peach → lav) */
.why-bento > .why-card:nth-child(1)::before { color: var(--pas-mint); }
.why-bento > .why-card:nth-child(2)::before { color: var(--pas-cream); }
.why-bento > .why-card:nth-child(3)::before { color: var(--pas-peach); }
.why-bento > .why-card:nth-child(4)::before { color: var(--pas-lav); }
.why-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.why-card h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 20ch;
  color: var(--ink);
}
.why-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--mid);
  max-width: 50ch;
  font-weight: 400;
  margin-top: auto;
}

/* ───────── Credibility strip (dark — minimal upgrade of original 4-up) ───────── */
.creds-band {
  background: var(--ink);
  color: #fff;
}
.creds-inner {
  padding-block: clamp(64px, 8vw, 104px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (min-width: 600px) {
  .creds-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (min-width: 1100px) {
  .creds-inner { grid-template-columns: repeat(4, 1fr); gap: 40px; }
}
.cred {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cred-icon {
  display: inline-grid;
  place-items: start;
  color: var(--yel);
  width: 48px;
  height: 48px;
}
.cred-icon svg { display: block; width: 48px; height: 48px; }
.cred-content {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cred-content::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--yel);
}
.cred-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #fff;
}
.cred-body {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  max-width: 28ch;
}

/* ───────── Developer band (dark) ───────── */
.dev-band {
  background: var(--bg);
  padding-block: clamp(80px, 9vw, 128px);
}
.dev-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 64px);
  position: relative;
  overflow: hidden;
}
/* subtle yellow corner glow on dark dev card */
.dev-card::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 50%; height: 80%;
  background: radial-gradient(closest-side, rgba(245,213,71,0.20), transparent 70%);
  pointer-events: none;
}
.dev-card .sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.dev-card .sec-title { color: #fff; }
.dev-card .sec-sub { color: rgba(255,255,255,0.72); }

.dev-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.dev-grid > * { min-width: 0; }
@media (min-width: 1000px) {
  .dev-grid { grid-template-columns: 1fr 1.15fr; gap: 56px; }
}
.dev-caps {
  border-top: 1px solid rgba(255,255,255,0.14);
}
.dev-caps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  align-items: baseline;
}
.dev-cap-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dev-caps .ix {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--yel);
  letter-spacing: 0.06em;
}
.dev-caps strong {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #fff;
}
.dev-caps span {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
}
.dev-foot {
  margin-top: 28px;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
}

.codeblock {
  background: var(--ink-deep);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  box-shadow: var(--shadow-code);
}
.codeblock + .codeblock { margin-top: 16px; }
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.code-head .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yel);
}
.code-head .badge .dot {
  width: 6px; height: 6px;
  background: var(--yel);
  border-radius: 50%;
}
.code-body {
  padding: 20px 24px 24px;
  overflow-x: auto;
  color: rgba(255,255,255,0.85);
}
.code-body pre { margin: 0; white-space: pre; }
.tok-meth { color: var(--yel); }
.tok-key  { color: #C9D3A0; }
.tok-str  { color: #FFD3C2; }
.tok-num  { color: #E8E0FF; }
.tok-mute { color: rgba(255,255,255,0.45); }
.tok-path { color: rgba(255,255,255,0.85); }

/* ───────── Responsible (Bento 3x2) ───────── */
.resp-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) { .resp-bento { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1100px) { .resp-bento { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.resp-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
  position: relative;
}
.resp-glyph {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.resp-card:nth-child(6n+1) .resp-glyph { background: var(--pas-mint); }
.resp-card:nth-child(6n+2) .resp-glyph { background: var(--pas-cream); }
.resp-card:nth-child(6n+3) .resp-glyph { background: var(--pas-peach); }
.resp-card:nth-child(6n+4) .resp-glyph { background: var(--pas-lav); }
.resp-card:nth-child(6n+5) .resp-glyph { background: var(--pas-sky); }
.resp-card:nth-child(6n+6) .resp-glyph { background: var(--pas-yel); }
.resp-card h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}
.resp-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--mid);
  font-weight: 400;
}
.resp-card .ix {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ───────── Closing ───────── */
.closing {
  background: var(--bg);
  padding-block: clamp(96px, 14vw, 200px);
  border-top: 1px solid var(--rule);
}
.closing-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.closing-body {
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 450;
  color: var(--ink);
}
.closing-body .mark {
  background-image: linear-gradient(transparent 64%, var(--yel) 64%, var(--yel) 92%, transparent 92%);
  background-repeat: no-repeat;
  padding-inline: 0.05em;
}

/* ───────── Footer (minimal facade) ───────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  padding-block: 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
}
@media (min-width: 720px) {
  .footer-inner { grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
}
.footer .brand { color: var(--ink); font-family: var(--sans); text-transform: none; letter-spacing: -0.01em; font-size: 14px; }
.footer .tagline { color: var(--mid); }
.footer-contact {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.04em;
  text-transform: none;
  border-bottom: 1px solid var(--rule-2);
  padding-bottom: 2px;
  transition: color .15s var(--ease), border-color .15s var(--ease);
  justify-self: end;
}
.footer-contact:hover { color: var(--ink); border-color: var(--ink); }

/* ───────── Reveal ───────── */
.js-motion .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js-motion .reveal.in { opacity: 1; transform: none; }
.js-motion .reveal[data-d="1"] { transition-delay: 60ms; }
.js-motion .reveal[data-d="2"] { transition-delay: 130ms; }
.js-motion .reveal[data-d="3"] { transition-delay: 220ms; }
.js-motion .reveal[data-d="4"] { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .js-motion .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}
