/* ════════════════════════════════════════════════════════════
   Codego — homepage v3
   Modernist corporate report (Rand / Vignelli / Unimark, 1968).
   White ground · ink black · single vermilion accent · grid-driven.
   ════════════════════════════════════════════════════════════ */

:root {
  --bg:        #FFFFFF;
  --bg-2:      #F2F1ED;
  --bg-3:      #E6E5DF;
  --ink:       #0A0A0A;
  --ink-2:     #2B2B2B;
  --ink-3:     #565656;
  --ink-mute:  #8A8A8A;
  --rule:      #DAD8D0;
  --rule-2:    #1A1A1A;
  --acc:       #1A6B43;
  --acc-d:     #0E4D2C;

  --f-disp:  'Inter Tight', 'Inter', system-ui, sans-serif;
  --f-body:  'Inter', system-ui, sans-serif;
  --f-mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --max:     1320px;
  --gut:     56px;
}

@media (max-width: 800px) { :root { --gut: 22px; } }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--ink); color: var(--bg); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ── Tickerbar above nav ──────────────────────────────────── */
.ticker {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 4px solid var(--acc);
}
.ticker-strip { display: flex; gap: 56px; animation: tk 60s linear infinite; }
.ticker-strip span { color: rgba(255,255,255,.55); flex-shrink: 0; }
.ticker-strip span.acc { color: var(--acc); }
.ticker-strip span.lit { color: var(--bg); }
.ticker-strip span.dot::before { content: "●"; color: var(--acc); margin-right: 8px; }
@keyframes tk {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  background: var(--bg);
  border-bottom: 1px solid var(--rule-2);
  position: sticky; top: 0; z-index: 50;
}
.nav .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 64px;
  gap: 32px;
}
.nav-brand {
  display: flex; align-items: center; gap: 14px;
}
.nav-brand img { height: 22px; width: auto; }
.nav-brand .label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-left: 1px solid var(--rule);
  padding-left: 14px;
}
.nav-menu {
  display: flex; justify-content: center; gap: 36px;
  list-style: none;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-menu li { position: relative; }
.nav-menu > li > a {
  display: flex; align-items: center; height: 64px;
  color: var(--ink-2);
  font-weight: 500;
  transition: color .14s;
}
.nav-menu > li > a::before { content: ""; margin-right: 6px; color: var(--acc); font-weight: 700; }
.nav-menu > li:nth-child(1) > a::before { content: "01."; }
.nav-menu > li:nth-child(2) > a::before { content: "02."; }
.nav-menu > li:nth-child(3) > a::before { content: "03."; }
.nav-menu > li:nth-child(4) > a::before { content: "04."; }
.nav-menu > li > a:hover { color: var(--acc); }

.nav-dd {
  position: absolute; top: 100%; left: -16px;
  background: var(--bg);
  border: 1px solid var(--rule-2);
  min-width: 240px;
  list-style: none;
  display: none;
  font-family: var(--f-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}
.nav-menu li:hover .nav-dd, .nav-dd.open { display: block; }
.nav-dd a {
  display: block; padding: 11px 18px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
  transition: color .14s, background .14s;
}
.nav-dd li:last-child a { border-bottom: none; }
.nav-dd a:hover { background: var(--bg-2); color: var(--acc); }
.nav-dd a.active {
  color: var(--acc);
  font-weight: 600;
  background: var(--bg-2);
  border-left: 2px solid var(--acc);
}
.nav-dd a.active::before { content: "● "; color: var(--acc); margin-right: 4px; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--acc); color: var(--bg);
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600;
  padding: 11px 18px;
  transition: background .14s;
}
.nav-cta:hover { background: var(--ink); }
.nav-cta::after { content: "→"; }

.nav-burger {
  display: none;
  background: none; border: 1px solid var(--rule-2);
  padding: 8px 12px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer;
}
.nav-mobile {
  display: none; background: var(--bg);
  border-bottom: 1px solid var(--rule-2);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block; padding: 14px var(--gut);
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 1080px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav .wrap { grid-template-columns: 1fr auto; }
}

/* ── Section base ─────────────────────────────────────────── */
.sec {
  padding: 88px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.sec::before {
  content: "";
  position: absolute;
  top: 0; left: var(--gut); right: var(--gut);
  height: 4px;
  background: var(--acc);
}
.sec.no-bar::before { display: none; }
.sec.dark { background: var(--ink); color: var(--bg); }
.sec.dark::before { background: var(--acc); }
.sec.dark .rule, .sec.dark .secbar { border-color: rgba(255,255,255,.16); }
.sec.dark .smallcap, .sec.dark .meta { color: rgba(255,255,255,.4); }
.sec.acc { background: var(--acc); color: var(--bg); }
.sec.acc::before { display: none; }

/* Section head: numerated marker + caption */
.sechead {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 20px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule-2);
  margin-bottom: 56px;
}
.sec.dark .sechead { border-bottom-color: rgba(255,255,255,.18); }
.secnum {
  width: 56px; height: 56px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  background: var(--bg);
  color: var(--ink);
}
.sec.dark .secnum { border-color: var(--bg); color: var(--bg); background: transparent; }
.sec.acc .secnum { border-color: var(--bg); color: var(--bg); background: transparent; }

.sectitle {
  font-family: var(--f-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.sec.dark .sectitle, .sec.acc .sectitle { color: var(--bg); }
.subtitle {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  font-style: italic;
}
.sec.dark .subtitle, .sec.acc .subtitle { color: rgba(255,255,255,.55); }
.secmeta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
  align-self: end;
  padding-bottom: 6px;
}
.sec.dark .secmeta, .sec.acc .secmeta { color: rgba(255,255,255,.5); }

/* Headlines */
.h-xl, .h-lg, .h-md {
  font-family: var(--f-disp);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.96;
  color: var(--ink);
}
.h-xl { font-size: clamp(56px, 8vw, 124px); }
.h-lg { font-size: clamp(40px, 5.4vw, 80px); }
.h-md { font-size: clamp(32px, 3.8vw, 56px); line-height: 1.0; letter-spacing: -0.038em; }
.sec.dark .h-xl, .sec.dark .h-lg, .sec.dark .h-md,
.sec.acc .h-xl, .sec.acc .h-lg, .sec.acc .h-md { color: var(--bg); }

.h-xl .acc, .h-lg .acc, .h-md .acc { color: var(--acc); }
.sec.acc .h-xl .acc, .sec.dark .h-xl .acc { color: var(--bg); border-bottom: 4px solid var(--acc); padding-bottom: 4px; }

/* Lede */
.lede {
  font-size: 19px;
  line-height: 1.5;
  max-width: 60ch;
  color: var(--ink-2);
}
.sec.dark .lede { color: rgba(255,255,255,.78); }
.sec.acc .lede { color: rgba(255,255,255,.92); max-width: 64ch; }

.body { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

.smallcap {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.meta {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 24px;
  transition: background .14s, color .14s, border-color .14s;
}
.btn-acc {
  background: var(--acc); color: var(--bg);
  border: 1px solid var(--acc);
}
.btn-acc:hover { background: var(--ink); border-color: var(--ink); }
.btn-ink {
  background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink);
}
.btn-ink:hover { background: var(--acc); border-color: var(--acc); }
.btn-out {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-out:hover { background: var(--ink); color: var(--bg); }
.btn-out-light {
  background: transparent; color: var(--bg);
  border: 1px solid rgba(255,255,255,.4);
}
.btn-out-light:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn::after { content: "→"; font-size: 14px; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 0;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  margin-bottom: 56px;
}
.hero-num {
  width: 64px; height: 64px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono);
  font-size: 16px;
  font-weight: 700;
  background: var(--bg);
}
.hero-num .small { font-size: 11px; color: var(--ink-mute); margin-top: 1px; }
.hero h1 {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: clamp(48px, 8.6vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin-bottom: 28px;
  color: var(--ink);
}
.hero h1 .acc { color: var(--acc); }
.hero h1 .underline {
  position: relative;
  display: inline-block;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.05em;
  width: 100%;
  height: 12px;
  background: var(--acc);
  z-index: -1;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 32px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule-2);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-meta .acc { color: var(--acc); }

.hero-lede {
  font-size: 21px; line-height: 1.5;
  max-width: 64ch;
  color: var(--ink-2);
  margin-bottom: 36px;
}
.hero-lede strong { color: var(--ink); font-weight: 600; }

.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 80px;
}

/* Hero stats — ticker grid */
.statbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 4px solid var(--acc);
  border-bottom: 1px solid var(--rule-2);
  background: var(--bg);
}
.statbar > div {
  padding: 24px 22px 26px;
  border-right: 1px solid var(--rule);
}
.statbar > div:last-child { border-right: none; }
.statbar dt {
  font-family: var(--f-mono);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.statbar dd {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 6px;
  font-feature-settings: "tnum", "lnum";
}
.statbar .unit {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.statbar .acc { color: var(--acc); }

@media (max-width: 800px) {
  .statbar { grid-template-columns: 1fr 1fr; }
  .statbar > div:nth-child(2) { border-right: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-num { margin-bottom: 8px; }
}

/* ── Spotlight Core Banking ───────────────────────────────── */
.sec.spot {
  background: var(--bg-2);
}
.spot-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
  margin-top: 12px;
}
.spot-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600;
  color: var(--acc);
  margin-bottom: 18px;
}
.spot-tag::before {
  content: ""; width: 22px; height: 2px; background: var(--acc);
}
.spot-headline {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}
.spot-headline .acc { color: var(--acc); }
.spot-dek {
  font-size: 17px; line-height: 1.6; color: var(--ink-2);
  margin-bottom: 28px;
  max-width: 50ch;
}
.spec-tbl {
  border-top: 2px solid var(--ink);
}
.spec-tbl > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.spec-tbl dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.spec-tbl dd { font-size: 14.5px; color: var(--ink); }
.spot-fig {
  position: relative;
  border: 2px solid var(--ink);
  background: var(--bg);
  height: 460px;
  overflow: hidden;
}
.spot-fig::before, .spot-fig::after,
.spot-fig > .corner-tl, .spot-fig > .corner-tr,
.spot-fig > .corner-bl, .spot-fig > .corner-br {
  /* corner crop marks — modernist plate */
}
.spot-fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.spot-fig .marks {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}
.spot-fig .marks::before, .spot-fig .marks::after {
  content: "";
  position: absolute;
  background: var(--acc);
}
.spot-fig .marks::before {
  top: -2px; left: -2px;
  width: 32px; height: 4px;
}
.spot-fig .marks::after {
  bottom: -2px; right: -2px;
  width: 32px; height: 4px;
}
.spot-cap-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}
.spot-cap-row .acc { color: var(--acc); font-weight: 600; }
.spot-cap-row .name {
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: 14px;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--ink);
}

@media (max-width: 1100px) { .spot-fig { height: 380px; } }
@media (max-width: 900px) {
  .spot-grid { grid-template-columns: 1fr; gap: 40px; }
  .spot-fig { height: 320px; }
}

/* ── Brands strip (Plate II) ─────────────────────────────── */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--rule);
}
.brand-cell {
  padding: 30px 28px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background .14s;
  min-height: 250px;
  color: inherit;
  text-decoration: none;
}
.brand-cell:hover { background: var(--bg-2); }
.brand-cell:hover .brand-go { color: var(--acc); transform: translateX(4px); }
.brand-cell:hover .brand-logo img { filter: none; opacity: 1; }
.brand-logo {
  height: 56px;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}
.brand-logo img {
  max-height: 100%;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter .2s, opacity .2s;
}
/* For monochrome-white-on-transparent logos (e.g. CodegoLab):
   force black silhouette by default, restore original on hover. */
.brand-cell.brand-cell--white .brand-logo img {
  filter: brightness(0);
  opacity: 0.85;
}
.brand-cell.brand-cell--white:hover .brand-logo img {
  filter: none;
  opacity: 1;
  background: var(--ink);
  padding: 6px 14px;
}
.brand-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 12px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.brand-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--acc);
  font-weight: 600;
  text-transform: uppercase;
}
.brand-name {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.022em;
  color: var(--ink);
  line-height: 1;
}
.brand-domain {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
.brand-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-bottom: 18px;
  flex: 1;
}
.brand-go {
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  transition: color .14s, transform .14s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.brand-go::after { content: "↗"; font-size: 13px; }

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

/* ── §02 Process — Gantt timeline ─────────────────────────── */
.gantt {
  margin-top: 32px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.gantt-head {
  display: grid;
  grid-template-columns: 80px 1.2fr 2fr 90px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  font-weight: 500;
  gap: 24px;
}
.gantt-row {
  display: grid;
  grid-template-columns: 80px 1.2fr 2fr 90px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  gap: 24px;
}
.gantt-row:last-child { border-bottom: none; }
.gantt-row:hover { background: var(--bg-2); padding-left: 12px; padding-right: 12px; }
.gantt-num {
  font-family: var(--f-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--acc);
  font-feature-settings: "tnum";
}
.gantt-title {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.018em;
  line-height: 1.18;
}
.gantt-title small {
  display: block;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-top: 6px;
  line-height: 1.5;
}
.gantt-bar {
  position: relative;
  height: 8px;
  background: var(--rule);
}
.gantt-bar > span {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: var(--acc);
}
.gantt-when {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  text-transform: uppercase;
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .gantt-head { display: none; }
  .gantt-row {
    grid-template-columns: 50px 1fr;
    gap: 14px;
  }
  .gantt-bar { grid-column: 1 / -1; }
  .gantt-when { grid-column: 1 / -1; text-align: left; }
}

/* ── §03 Products — strict grid ───────────────────────────── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--rule);
  margin-top: 28px;
}
.prod-grid > a {
  padding: 28px 24px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: block;
  position: relative;
  transition: background .14s;
  min-height: 220px;
}
.prod-grid > a:hover { background: var(--bg-2); }
.prod-grid > a:hover .prod-arrow { transform: translateX(6px); color: var(--acc); }
.prod-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--acc);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.prod-name {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin-bottom: 8px;
  color: var(--ink);
}
.prod-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.prod-arrow {
  position: absolute;
  bottom: 22px; left: 24px;
  font-family: var(--f-mono);
  font-size: 16px;
  color: var(--ink);
  transition: transform .14s, color .14s;
}

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

/* ── §04 App showcase ─────────────────────────────────────── */
.app-block {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: stretch;
  margin-top: 28px;
}
.app-text {}
.app-text .smallcap { margin-bottom: 18px; display: block; color: var(--acc); }
.app-text .h-md { margin-bottom: 22px; }
.app-fig {
  background: var(--bg-2);
  border: 2px solid var(--ink);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 32px 24px 0;
  min-height: 460px;
  overflow: hidden;
}
.app-fig::before {
  content: "Fig. 04";
  position: absolute;
  top: 14px; left: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acc);
  font-weight: 600;
}
.app-fig::after {
  content: "iOS · Android";
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.app-fig img {
  max-height: 420px;
  width: auto;
  filter: drop-shadow(0 18px 32px -16px rgba(0,0,0,.3));
}
.app-spec {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--ink);
}
.app-spec > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 11px 16px 11px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  gap: 14px;
}
.app-spec > div:nth-child(2n) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--rule); }
.app-spec dt {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.app-spec dd { font-size: 14px; color: var(--ink); }

@media (max-width: 900px) {
  .app-block { grid-template-columns: 1fr; }
  .app-spec { grid-template-columns: 1fr; }
  .app-spec > div:nth-child(2n) { padding-left: 0; border-left: none; }
}

/* ── §05 Apple Pay (dark) ─────────────────────────────────── */
.apay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 28px;
}
.apay-fig {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.18);
  position: relative;
  padding: 64px 32px;
  text-align: center;
  min-height: 420px;
}
.apay-fig img {
  display: inline-block;
  max-width: 380px;
  filter: drop-shadow(0 24px 48px -20px rgba(0,0,0,.6));
}
.apay-fig::before {
  content: "Fig. 05 · Debit card · Apple Pay";
  position: absolute;
  top: 14px; left: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acc);
  font-weight: 600;
}
.apay-fig::after {
  content: "24h provisioning";
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.acc-list {
  margin-top: 24px;
  border-top: 2px solid rgba(255,255,255,.4);
}
.acc-list details {
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
}
.acc-list summary {
  cursor: pointer; list-style: none;
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  display: flex; justify-content: space-between; align-items: center;
  padding-right: 24px;
  position: relative;
}
.acc-list summary::-webkit-details-marker { display: none; }
.acc-list summary::after {
  content: "+";
  font-family: var(--f-mono);
  color: var(--acc);
  font-size: 18px;
  position: absolute; right: 0;
}
.acc-list details[open] summary::after { content: "−"; }
.acc-list .acc-body {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
  max-width: 56ch;
}

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

/* ── §06 Comparison table ─────────────────────────────────── */
.cmp-tbl {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 14.5px;
  font-feature-settings: "tnum", "lnum";
}
.cmp-tbl thead th {
  font-family: var(--f-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
}
.cmp-tbl thead th.cdg { background: var(--acc); color: var(--bg); border-color: var(--acc); }
.cmp-tbl tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  line-height: 1.5;
  color: var(--ink-2);
}
.cmp-tbl tbody td:first-child {
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.012em;
  width: 28%;
}
.cmp-tbl tbody td.no { color: var(--ink-3); }
.cmp-tbl tbody td.no::before {
  content: "○ ";
  font-family: var(--f-mono);
  color: var(--ink-mute);
  font-weight: 700;
}
.cmp-tbl tbody td.yes { color: var(--ink); font-weight: 500; }
.cmp-tbl tbody td.yes::before {
  content: "●  ";
  font-family: var(--f-mono);
  color: var(--acc);
  font-weight: 700;
}
.cmp-tbl tbody tr:hover td { background: var(--bg-2); }

@media (max-width: 800px) {
  .cmp-tbl { font-size: 12.5px; }
  .cmp-tbl tbody td { padding: 11px; }
  .cmp-tbl tbody td:first-child { font-size: 13.5px; width: auto; }
}

/* ── §07 Partners ─────────────────────────────────────────── */
.partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--rule);
  margin-top: 28px;
}
.partners > div {
  padding: 28px 18px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: opacity .14s, filter .14s;
  min-height: 100px;
}
.partners > div:hover { opacity: 1; filter: grayscale(0); }
.partners > div img { max-height: 36px; max-width: 88%; width: auto; }

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 4px solid var(--acc);
  border-bottom: 1px solid var(--rule-2);
  margin-top: 56px;
}
.kpi-strip > div {
  padding: 22px 22px;
  border-right: 1px solid var(--rule);
}
.kpi-strip > div:last-child { border-right: none; }
.kpi-strip dt {
  font-family: var(--f-mono);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 14px;
}
.kpi-strip dd {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1; letter-spacing: -0.04em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 5px;
}
.kpi-strip .unit {
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-mute);
  letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500;
}

@media (max-width: 800px) {
  .partners { grid-template-columns: repeat(3, 1fr); }
  .kpi-strip { grid-template-columns: 1fr 1fr; }
  .kpi-strip > div:nth-child(2) { border-right: none; }
}

/* ── §08 Notes (benefits) ─────────────────────────────────── */
.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--rule);
  margin-top: 28px;
}
.notes > article {
  padding: 28px 28px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.notes .nx {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--acc);
  margin-bottom: 14px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--acc);
  padding-bottom: 4px;
}
.notes h3 {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin-bottom: 12px;
}
.notes p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
}

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

/* ── §09 About ────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 28px;
  align-items: start;
}
.about-grid p {
  font-size: 16px; line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.facts {
  border-top: 2px solid var(--ink);
}
.facts > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.facts dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.facts dd { font-size: 14.5px; color: var(--ink); }
.facts dd a { border-bottom: 1px solid var(--acc); }

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ── §10 FAQ ──────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 28px;
}
.faq-grid > div { border-top: 2px solid var(--ink); }
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item summary {
  cursor: pointer; list-style: none;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: baseline;
  padding: 22px 0;
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.018em;
  gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .qn {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--acc);
  letter-spacing: 0.04em;
}
.faq-item summary .icn {
  font-family: var(--f-mono);
  font-size: 18px;
  color: var(--acc);
  font-weight: 700;
}
.faq-item[open] summary .icn::after { content: "−"; }
.faq-item summary .icn::after { content: "+"; }
.faq-item .faq-body {
  font-size: 14.5px; line-height: 1.6;
  color: var(--ink-2);
  padding: 0 0 24px 70px;
  max-width: 64ch;
}

@media (max-width: 800px) {
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .faq-item summary { grid-template-columns: 44px 1fr auto; gap: 10px; }
  .faq-item .faq-body { padding-left: 54px; }
}

/* ── §11 CTA — solid red block ────────────────────────────── */
.sec.acc { border-bottom: none; }
.sec.acc::before { display: none; }
.cta-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 28px;
}
.cta-grid .cta-text p {
  font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,.92);
  max-width: 56ch;
  margin-bottom: 24px;
}
.cta-grid .cta-text p strong { color: var(--bg); font-weight: 600; }
.cta-cards {
  display: grid; gap: 18px;
}
.cta-card {
  border: 1px solid rgba(255,255,255,.4);
  padding: 28px;
}
.cta-card .smallcap { color: rgba(255,255,255,.7); }
.cta-card h3 {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.024em;
  margin: 12px 0 12px;
  color: var(--bg);
}
.cta-card p {
  font-size: 14.5px; line-height: 1.55;
  color: rgba(255,255,255,.78);
  margin-bottom: 20px;
}
.cta-card .btn-out-light + .btn-out-light { margin-left: 8px; }
.cta-card .btn-bg-ink {
  background: var(--ink); color: var(--bg);
  border: 1px solid var(--ink);
}
.cta-card .btn-bg-ink:hover { background: var(--bg); color: var(--ink); }

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

/* ── Footer ───────────────────────────────────────────────── */
footer.foot {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  padding: 64px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.foot-grid h4 {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 18px;
  font-weight: 600;
}
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 9px; }
.foot-grid a {
  font-size: 13.5px;
  color: rgba(255,255,255,.78);
  transition: color .14s;
}
.foot-grid a:hover { color: var(--acc); }
.foot-brand p {
  font-size: 13px; line-height: 1.65;
  max-width: 320px;
  margin: 14px 0 22px;
}
.foot-brand img { height: 22px; opacity: 0.85; filter: brightness(0) invert(1); }
.foot-soc { display: flex; gap: 12px; }
.foot-soc a {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.22);
  font-size: 13px;
  transition: border-color .14s, color .14s;
}
.foot-soc a:hover { border-color: var(--acc); color: var(--acc); }
/* Legal disclaimer block */
.foot-legal {
  padding: 32px 0 26px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
}
.foot-legal-bug {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.foot-legal-bug::before {
  content: "●";
  color: var(--acc);
  margin-right: 8px;
  font-size: 8px;
  vertical-align: middle;
}
.foot-legal-body {
  font-family: var(--f-body);
  font-size: 11.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.45);
  max-width: 100ch;
  text-align: justify;
  hyphens: auto;
}

.foot-bot {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding-top: 24px;
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}

@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; } }

/* ── Reveal animation ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Comparison & glossary additions (vs-* and /glossary/* pages) ─────── */
.step-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 28px 0 0 0;
  display: grid;
  gap: 14px;
}
.step-list > li {
  counter-increment: step;
  position: relative;
  padding: 18px 22px 18px 78px;
  border: 1px solid var(--ink-3);
  border-left: 3px solid var(--acc);
  background: var(--bg-2);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.step-list > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 18px;
  font-family: var(--f-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--acc);
  letter-spacing: -0.02em;
}
.step-list > li strong {
  font-weight: 600;
  color: var(--ink);
  display: inline-block;
  margin-right: 4px;
}

/* sec body intro paragraphs (after sechead, before content blocks) */
.sec p + p { margin-top: 16px; }
.sec p { font-size: 16px; line-height: 1.7; color: var(--ink-2); max-width: 880px; }
.sec p a { color: var(--acc); border-bottom: 1px solid var(--acc); }
.sec p a:hover { background: var(--acc); color: var(--bg); }

/* Better default for cmp-tbl when used on vs-pages (descriptive cells, not yes/no) */
.cmp-tbl tbody td { vertical-align: top; line-height: 1.55; }
.cmp-tbl tbody td:first-child { font-weight: 500; color: var(--ink); }
.cmp-tbl thead th.cdg::before {
  content: "● Codego ·";
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
  opacity: 0.85;
}
.cmp-tbl thead th.cdg { padding-top: 16px; }

/* Hero subtitle / lede for vs-* and glossary pages */
.hero p.lede { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin-top: 20px; max-width: 760px; }

/* notes (card grid) on vs/glossary pages */
.notes article h3 a { color: inherit; border-bottom: 2px solid var(--acc); }
.notes article h3 a:hover { color: var(--acc); }
.notes article p a { color: var(--acc); border-bottom: 1px solid var(--acc); }
