/* ================================================================== */
/*  Paytone — design system (DESIGN.md light theme, Cal.com semantics)  */
/* ================================================================== */

:root {
  /* Surface */
  --canvas: #ffffff;
  --surface-soft: #f8f9fa;
  --surface-card: #f5f5f5;
  --surface-strong: #e5e7eb;
  --surface-dark: #101010;
  --surface-dark-elevated: #1a1a1a;

  /* Stroke */
  --hairline: #e5e7eb;
  --hairline-soft: #f3f4f6;

  /* Ink */
  --ink: #111111;
  --body: #374151;
  --muted: #6b7280;
  --muted-soft: #898989;
  --on-primary: #ffffff;
  --on-dark: #ffffff;
  --on-dark-soft: #a1a1aa;

  /* Brand & accents */
  --primary: #111111;
  --primary-active: #242424;
  --brand-accent: #3b82f6;
  --badge-orange: #fb923c;
  --badge-pink: #ec4899;
  --badge-violet: #8b5cf6;
  --badge-emerald: #34d399;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Type */
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Radius */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 9999px;

  /* Spacing */
  --s-xxs: 4px;
  --s-xs: 8px;
  --s-sm: 12px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-xxl: 48px;
  --s-section: 96px;

  /* Container */
  --container: 1200px;
  --container-narrow: 880px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
}

/* ================================================================== */
/*  Reset                                                              */
/* ================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
input, textarea, select { font: inherit; color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-lg); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--s-lg); }

/* ================================================================== */
/*  Typography                                                          */
/* ================================================================== */
.display-xl, .display-lg, .display-md, .display-sm,
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 600;
  margin: 0;
}
.display-xl {
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.031em;
}
.display-lg {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.10;
  letter-spacing: -0.031em;
}
.display-md {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.028em;
}
.display-sm {
  font-size: 28px;
  line-height: 1.20;
  letter-spacing: -0.018em;
}
.title-lg { font-size: 22px; font-weight: 600; line-height: 1.30; letter-spacing: -0.014em; }
.title-md { font-size: 18px; font-weight: 600; line-height: 1.40; }
.title-sm { font-size: 16px; font-weight: 600; line-height: 1.40; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.5; }

.lede {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--body);
  max-width: 56ch;
}
.lede.center { margin-left: auto; margin-right: auto; }
.caption { font-size: 13px; color: var(--muted); line-height: 1.4; font-weight: 500; }
.code-num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }

/* ================================================================== */
/*  Buttons                                                             */
/* ================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--r-md);
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: #1a1a1a; }
.btn-primary:active { background: var(--primary-active); }
.btn-secondary {
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-secondary:hover { border-color: #d1d5db; }
.btn-on-dark-primary { background: var(--canvas); color: var(--ink); }
.btn-on-dark-primary:hover { background: #f0f0f0; }
.btn-on-dark-secondary { background: transparent; color: var(--on-dark); border: 1px solid rgba(255,255,255,0.18); }
.btn-on-dark-secondary:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.04); }
.btn-link {
  background: transparent;
  color: var(--ink);
  padding: 0;
  height: auto;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.btn-link svg { transition: transform 220ms ease; }
.btn-link:hover svg { transform: translateX(3px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.icon-right { width: 14px; height: 14px; }

/* ================================================================== */
/*  Header + Dropdown nav                                              */
/* ================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--hairline-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--s-lg);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--ink);
  display: grid;
  place-items: center;
  position: relative;
}
.brand-mark::before {
  content: "P";
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--on-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  padding: 8px 12px;
  border-radius: var(--r-md);
  transition: color 140ms ease, background 140ms ease;
  white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); background: var(--surface-soft); }
.nav-link[aria-current="page"], .nav-link[data-active] { color: var(--ink); }
.nav-link[data-haspopup] svg { width: 12px; height: 12px; opacity: 0.7; transition: transform 180ms ease; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -8px;
  min-width: 320px;
  padding: 10px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 60;
}
.nav-dropdown.wide { min-width: 460px; }
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-dropdown[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  border-radius: var(--r-md);
  transition: background 140ms ease;
}
.nav-dropdown a:hover { background: var(--surface-soft); }
.nav-dropdown .ic {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  background: var(--surface-card);
  color: var(--ink);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.nav-dropdown .label { font-size: 14px; font-weight: 600; color: var(--ink); display: block; letter-spacing: -0.005em; }
.nav-dropdown .desc { font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 1px; }
.nav-dropdown .group-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 8px 12px 4px;
}
.nav-dropdown.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav-actions .btn-link { font-size: 14px; color: var(--body); }
.nav-actions .btn-link:hover { color: var(--ink); }

.nav-burger { display: none; }
@media (max-width: 960px) {
  .nav-list, .nav-actions .btn-link { display: none; }
  .nav-burger {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    border: 1px solid var(--hairline);
    align-items: center;
    justify-content: center;
    color: var(--ink);
  }
}

/* Mobile menu sheet */
.mobile-sheet {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--canvas);
  z-index: 49;
  overflow-y: auto;
  padding: var(--s-lg);
}
.mobile-sheet[data-open="true"] { display: block; }
.mobile-sheet .m-group { padding: var(--s-md) 0; border-bottom: 1px solid var(--hairline-soft); }
.mobile-sheet .m-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; }
.mobile-sheet a { display: block; padding: 10px 0; color: var(--ink); font-size: 16px; font-weight: 500; }
.mobile-sheet .m-actions { padding-top: var(--s-lg); display: flex; flex-direction: column; gap: 10px; }

/* ================================================================== */
/*  Section spacing                                                    */
/* ================================================================== */
section { padding: clamp(56px, 7vw, 88px) 0; position: relative; }
section.surface-soft { background: var(--surface-soft); }
section.dark { background: var(--surface-dark); color: var(--on-dark-soft); }
section.dark h1, section.dark h2, section.dark h3, section.dark h4 { color: var(--on-dark); }
section.dark .lede { color: var(--on-dark-soft); }
section.dark .eyebrow { color: var(--on-dark-soft); }
section.split-top { border-top: 1px solid var(--hairline-soft); }

.section-head { max-width: 720px; margin: 0 0 var(--s-xxl); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.5; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: var(--s-md); }
.section-head h2 + p { margin-top: var(--s-md); }

/* ================================================================== */
/*  Page hero (sub-pages)                                              */
/* ================================================================== */
.page-hero {
  padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--hairline-soft);
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: var(--s-md);
}
.page-hero .breadcrumb a { color: var(--muted); }
.page-hero .breadcrumb a:hover { color: var(--ink); }
.page-hero .breadcrumb svg { width: 12px; height: 12px; opacity: 0.5; }
.page-hero .breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: var(--s-md); }
.page-hero h1.title-h2 { font-size: clamp(32px, 4vw, 48px); }
.page-hero .lede { font-size: clamp(16px, 1.2vw, 18px); margin-bottom: var(--s-lg); }
.page-hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.page-hero.center { text-align: center; }
.page-hero.center .lede { margin-left: auto; margin-right: auto; }
.page-hero.center .ctas { justify-content: center; }
.page-hero.center .breadcrumb { justify-content: center; }

.page-hero.split { padding-bottom: clamp(56px, 7vw, 88px); }
.page-hero.split .grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 1000px) {
  .page-hero.split .grid { grid-template-columns: 1fr; }
}

/* ================================================================== */
/*  Hero (home)                                                        */
/* ================================================================== */
.hero { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: var(--r-pill);
  background: var(--surface-card);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--s-lg);
}
.hero-eyebrow .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--canvas);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 10px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--success);
}
.hero h1 { margin-bottom: var(--s-lg); }
.hero .lede { font-size: clamp(17px, 1.25vw, 19px); margin-bottom: var(--s-xl); max-width: 56ch; color: var(--body); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--s-xl); }
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-md) var(--s-lg);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--hairline-soft);
}
.trust-row .item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--body);
  font-weight: 500;
  line-height: 1.4;
}
.trust-row .item svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px; color: var(--ink); }
@media (max-width: 720px) { .trust-row { grid-template-columns: repeat(2, 1fr); } }

/* ================================================================== */
/*  Mockups                                                            */
/* ================================================================== */
.mockup {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  padding: 22px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.mockup-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mockup-head .title { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.live-tag .pulse {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  100% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

.routing {
  display: grid;
  grid-template-columns: 96px 1fr 96px;
  align-items: center;
  gap: 8px;
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  margin-bottom: 14px;
}
.routing .node { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 10px 8px; text-align: center; }
.routing .node .lbl { font-size: 10px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; font-weight: 600; }
.routing .node .val { font-family: var(--display); font-size: 14px; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.routing .flow { display: flex; flex-direction: column; gap: 5px; }
.routing .chip {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 500;
  font-family: var(--mono);
  border: 1px solid var(--hairline);
  background: var(--canvas);
  color: var(--body);
}
.routing .chip.active { border-color: var(--ink); color: var(--ink); box-shadow: var(--shadow-sm); }
.routing .chip .ok { color: var(--success); font-size: 10px; font-weight: 600; }
.routing .chip .skip { color: var(--muted-soft); font-size: 10px; text-decoration: line-through; }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.metric { padding: 12px; background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--r-md); }
.metric .l { font-size: 10px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; font-weight: 600; }
.metric .v { font-family: var(--display); font-size: 18px; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; }
.metric .d { font-size: 10px; font-family: var(--mono); color: var(--success); margin-top: 2px; font-weight: 500; }
.metric .d.down { color: var(--error); }

.txlist { border-top: 1px solid var(--hairline); padding-top: 12px; }
.txlist .row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 7px 0; font-size: 11px; font-family: var(--mono); }
.txlist .row + .row { border-top: 1px dashed var(--hairline-soft); }
.txlist .id { color: var(--muted); }
.txlist .amt { color: var(--ink); font-weight: 600; }
.txlist .st { color: var(--success); font-weight: 600; }
.txlist .st.fail { color: var(--error); }
.txlist .st.pending { color: var(--warning); }

/* ================================================================== */
/*  Logo strip                                                          */
/* ================================================================== */
.logo-strip { padding: 28px 0; border-top: 1px solid var(--hairline-soft); border-bottom: 1px solid var(--hairline-soft); }
.logo-strip .label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.logo-strip .row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: center; }
.logo-strip .row > div { display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; color: var(--muted); height: 32px; }
@media (max-width: 720px) { .logo-strip .row { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* ================================================================== */
/*  Products grid (home + platform hub)                                */
/* ================================================================== */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); }
@media (max-width: 1000px) { .products { grid-template-columns: 1fr; } }
.product-card {
  position: relative;
  padding: var(--s-xl);
  background: var(--surface-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  transition: transform 220ms ease;
}
a.product-card:hover { transform: translateY(-2px); }
.product-card .badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-family: var(--mono); font-weight: 600; color: var(--muted); margin-bottom: 14px; letter-spacing: 0.04em; }
.product-card .badge .ix { color: var(--ink); }
.product-card h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.014em; }
.product-card p { font-size: 14.5px; line-height: 1.6; color: var(--body); margin: 0 0 20px; }
.product-card .more { font-size: 14px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; margin-bottom: var(--s-md); }
.product-card .more svg { width: 14px; height: 14px; transition: transform 220ms ease; }
a.product-card:hover .more svg { transform: translateX(3px); }
.product-card .glyph {
  margin-top: auto;
  padding: 16px;
  background: var(--canvas);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  min-height: 168px;
}

.glyph-routing { display: grid; grid-template-columns: 1fr 28px 1fr; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; }
.glyph-routing .from, .glyph-routing .to { display: flex; flex-direction: column; gap: 6px; }
.glyph-routing .from div, .glyph-routing .to div {
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 7px 9px;
  background: var(--surface-soft);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--body);
}
.glyph-routing .to div { background: var(--canvas); border-color: var(--hairline); color: var(--ink); font-weight: 500; }
.glyph-routing .arr { display: grid; place-items: center; color: var(--muted-soft); }
.glyph-routing .pct { color: var(--success); font-weight: 600; }

.glyph-checkout { font-family: var(--body-font); }
.glyph-checkout .head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.glyph-checkout .head .amt { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.glyph-checkout .head .cur { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.glyph-checkout .field { background: var(--surface-soft); border: 1px solid var(--hairline); border-radius: var(--r-sm); padding: 9px 12px; font-family: var(--mono); font-size: 11px; color: var(--body); margin-bottom: 8px; display: flex; justify-content: space-between; }
.glyph-checkout .field span:last-child { color: var(--muted-soft); }
.glyph-checkout .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.glyph-checkout .pay-btn { text-align: center; background: var(--ink); color: var(--on-primary); padding: 9px; font-size: 12px; font-weight: 600; border-radius: var(--r-sm); }

.glyph-wl .h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.glyph-wl .h .lhead { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--ink); letter-spacing: -0.014em; }
.glyph-wl .h .lhead em { font-style: normal; color: var(--muted); }
.glyph-wl .h .dots { display: flex; gap: 4px; }
.glyph-wl .h .dots span { width: 6px; height: 6px; border-radius: 999px; background: var(--hairline); }
.glyph-wl .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.glyph-wl .grid div { height: 28px; border: 1px solid var(--hairline); border-radius: var(--r-xs); background: var(--surface-soft); }
.glyph-wl .grid div:nth-child(1) { background: var(--canvas); border-color: var(--ink); }
.glyph-wl .grid div:nth-child(6) { background: var(--canvas); }
.glyph-wl .grid div:nth-child(4) { background: var(--surface-card); }

/* ================================================================== */
/*  Capability cards                                                   */
/* ================================================================== */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-md); }
@media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }
.cap {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--s-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 200ms ease;
}
.cap:hover { box-shadow: var(--shadow-md); }
.cap .icon {
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  background: var(--ink);
  display: grid; place-items: center;
  color: var(--on-primary);
  margin-bottom: 6px;
}
.cap h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.cap p { font-size: 14px; line-height: 1.55; color: var(--body); margin: 0; }

/* Two-column capability list */
.cap-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .cap-grid.two { grid-template-columns: 1fr; } }

/* ================================================================== */
/*  Industries / generic small cards                                   */
/* ================================================================== */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-md); }
@media (max-width: 900px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .industries { grid-template-columns: 1fr; } }
.ind-card {
  padding: var(--s-lg);
  border-radius: var(--r-lg);
  background: var(--surface-card);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 156px;
  color: var(--ink);
  transition: transform 220ms ease;
}
a.ind-card:hover { transform: translateY(-2px); }
.ind-card .glyph {
  width: 34px; height: 34px;
  border-radius: var(--r-md);
  background: var(--canvas);
  display: grid; place-items: center;
  color: var(--ink);
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}
.ind-card h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.ind-card p { font-size: 13.5px; line-height: 1.5; color: var(--body); margin: 0; }
.ind-card.wide { grid-column: span 2; min-height: auto; }
.ind-card .more { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; }
.ind-card .more svg { width: 12px; height: 12px; }
@media (max-width: 900px) { .ind-card.wide { grid-column: span 2; } }
@media (max-width: 560px) { .ind-card.wide { grid-column: span 1; } }

/* ================================================================== */
/*  Payment methods                                                     */
/* ================================================================== */
.methods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-md); }
@media (max-width: 900px) { .methods-grid { grid-template-columns: 1fr; } }
.method {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: start;
  gap: 18px;
  padding: var(--s-lg);
  border-radius: var(--r-lg);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  color: var(--ink);
  transition: box-shadow 200ms ease;
}
a.method:hover { box-shadow: var(--shadow-md); }
.method .badges { display: grid; grid-template-columns: 1fr; gap: 4px; width: 56px; }
.method .badges > div {
  height: 18px;
  border-radius: var(--r-xs);
  background: var(--surface-card);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.06em; color: var(--ink); font-weight: 600;
}
.method h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.method p { font-size: 14px; line-height: 1.55; color: var(--body); margin: 0; }
.method .more { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 10px; display: inline-flex; align-items: center; gap: 4px; }
.method .more svg { width: 12px; height: 12px; transition: transform 220ms ease; }
a.method:hover .more svg { transform: translateX(3px); }

/* ================================================================== */
/*  Operations dashboard mockup                                         */
/* ================================================================== */
.ops-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s-xxl); align-items: center; }
@media (max-width: 1000px) { .ops-grid { grid-template-columns: 1fr; } }
.ops-list { display: flex; flex-direction: column; gap: 0; margin-top: var(--s-lg); }
.ops-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--hairline);
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  align-items: center;
}
.ops-list li:last-child { border-bottom: 1px solid var(--hairline); }
.ops-list li .marker {
  width: 26px; height: 26px;
  border-radius: var(--r-xs);
  background: var(--surface-card);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 10px; color: var(--ink); font-weight: 600;
}

.dashboard {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline);
  background: var(--canvas);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.dashboard .topbar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--hairline); background: var(--surface-soft); }
.dashboard .topbar .dots { display: flex; gap: 6px; }
.dashboard .topbar .dots span { width: 10px; height: 10px; border-radius: 999px; background: var(--surface-strong); }
.dashboard .topbar .url { margin-left: auto; margin-right: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); background: var(--canvas); padding: 4px 12px; border-radius: var(--r-pill); border: 1px solid var(--hairline); }
.dashboard .topbar .url em { font-style: normal; color: var(--ink); }
.dashboard .body { display: grid; grid-template-columns: 168px 1fr; min-height: 420px; }
.dashboard aside { border-right: 1px solid var(--hairline); padding: 16px 10px; background: var(--surface-soft); }
.dashboard aside .group { font-size: 10px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 8px 6px; font-weight: 600; }
.dashboard aside .item { display: flex; align-items: center; gap: 8px; padding: 7px 8px; font-size: 12.5px; color: var(--body); border-radius: var(--r-sm); font-weight: 500; }
.dashboard aside .item.active { background: var(--canvas); color: var(--ink); box-shadow: var(--shadow-sm); }
.dashboard aside .item .ico { width: 14px; height: 14px; opacity: 0.7; }
.dashboard aside .item.active .ico { opacity: 1; }
.dashboard main { padding: 20px; background: var(--canvas); }
.dashboard .crumb { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); margin-bottom: 14px; font-family: var(--mono); font-weight: 500; }
.dashboard .crumb em { color: var(--ink); font-style: normal; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { padding: 14px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--canvas); }
.kpi .lbl { font-size: 10px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; font-weight: 600; }
.kpi .val { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.kpi .delta { font-family: var(--mono); font-size: 10px; color: var(--success); margin-top: 4px; font-weight: 500; }
.kpi .delta.down { color: var(--error); }

.chart { position: relative; padding: 14px; height: 140px; border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--canvas); margin-bottom: 12px; display: flex; flex-direction: column; }
.chart .chart-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.chart .chart-head .t { font-size: 11px; color: var(--muted); font-weight: 500; }
.chart .chart-head .l { display: flex; gap: 10px; font-size: 10px; color: var(--muted); font-family: var(--mono); }
.chart .chart-head .l span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 999px; margin-right: 5px; }
.chart .chart-head .l span.a::before { background: var(--ink); }
.chart .chart-head .l span.b::before { background: var(--brand-accent); }
.chart svg { flex: 1; width: 100%; height: 100%; }

.dashtable { border: 1px solid var(--hairline); border-radius: var(--r-md); overflow: hidden; }
.dashtable .tr { display: grid; grid-template-columns: 1.2fr 0.9fr 0.7fr 0.6fr; gap: 8px; padding: 9px 12px; font-size: 11px; font-family: var(--mono); align-items: center; }
.dashtable .tr + .tr { border-top: 1px solid var(--hairline); }
.dashtable .th { background: var(--surface-soft); color: var(--muted); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.dashtable .id { color: var(--muted); }
.dashtable .merch { color: var(--ink); font-weight: 500; }
.dashtable .amt { color: var(--ink); font-weight: 600; text-align: right; }
.dashtable .stt { font-size: 10px; font-weight: 600; }
.dashtable .stt.ok { color: var(--success); }
.dashtable .stt.ko { color: var(--error); }
.dashtable .stt.pe { color: var(--warning); }

@media (max-width: 720px) {
  .dashboard .body { grid-template-columns: 1fr; }
  .dashboard aside { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================== */
/*  Security                                                            */
/* ================================================================== */
.security { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-xxl); align-items: center; }
@media (max-width: 1000px) { .security { grid-template-columns: 1fr; gap: var(--s-xl); } }
.sec-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-md); }
@media (max-width: 560px) { .sec-cards { grid-template-columns: 1fr; } }
.sec-card { padding: var(--s-lg); border-radius: var(--r-lg); background: var(--canvas); border: 1px solid var(--hairline); }
.sec-card .ic { width: 34px; height: 34px; border-radius: var(--r-md); background: var(--surface-card); display: grid; place-items: center; color: var(--ink); margin-bottom: 12px; }
.sec-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
.sec-card p { font-size: 13.5px; line-height: 1.55; color: var(--body); margin: 0; }
.sec-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-lg); }
.sec-badges .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: var(--surface-card);
  border-radius: var(--r-pill);
}
.sec-badges .pill span { width: 16px; height: 16px; display: grid; place-items: center; color: var(--success); }

/* ================================================================== */
/*  Developer / Code card                                              */
/* ================================================================== */
.dev-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s-xxl); align-items: center; }
@media (max-width: 1000px) { .dev-grid { grid-template-columns: 1fr; } }
.code-card { border-radius: var(--r-xl); border: 1px solid var(--hairline); background: var(--canvas); overflow: hidden; box-shadow: var(--shadow-md); }
.code-card .head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--hairline); background: var(--surface-soft); }
.code-card .head .tabs { display: flex; gap: 2px; }
.code-card .head .tabs span { padding: 5px 10px; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--muted); border-radius: var(--r-sm); }
.code-card .head .tabs span.active { background: var(--canvas); color: var(--ink); box-shadow: var(--shadow-sm); }
.code-card .head .file { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.code-card pre { margin: 0; padding: 20px 22px; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--ink); overflow-x: auto; white-space: pre; background: var(--canvas); }
.code-card .k { color: var(--brand-accent); font-weight: 500; }
.code-card .s { color: var(--success); }
.code-card .n { color: var(--warning); }
.code-card .c { color: var(--muted); font-style: italic; }
.code-card .f { color: var(--ink); font-weight: 600; }

.dev-points { display: flex; flex-direction: column; gap: 0; margin: var(--s-lg) 0 var(--s-xl); }
.dev-points .row { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--hairline); }
.dev-points .row:last-child { border-bottom: 1px solid var(--hairline); }
.dev-points .row svg { color: var(--ink); margin-top: 3px; }
.dev-points .row strong { color: var(--ink); font-weight: 600; }
.dev-points .row span { display: block; font-size: 14.5px; color: var(--body); line-height: 1.5; }

/* ================================================================== */
/*  Step list (how it works, numbered)                                 */
/* ================================================================== */
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-md); position: relative; }
@media (max-width: 900px) { .step-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .step-list { grid-template-columns: 1fr; } }
.step {
  padding: var(--s-lg);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: var(--canvas);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.step .n {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 6px;
}
.step h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.step p { font-size: 13.5px; line-height: 1.55; color: var(--body); margin: 0; }

/* ================================================================== */
/*  Two-up content split                                               */
/* ================================================================== */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-xxl); align-items: center; }
.two-up.flip { grid-template-columns: 1fr 1fr; }
@media (max-width: 1000px) { .two-up, .two-up.flip { grid-template-columns: 1fr; gap: var(--s-xl); } }
.two-up .visual { border-radius: var(--r-xl); border: 1px solid var(--hairline); background: var(--canvas); padding: var(--s-lg); box-shadow: var(--shadow-md); }

/* ================================================================== */
/*  Feature list (with check icons)                                    */
/* ================================================================== */
.check-list { display: flex; flex-direction: column; gap: 0; margin: var(--s-md) 0 var(--s-xl); }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 14.5px; color: var(--ink); }
.check-list li:last-child { border-bottom: 1px solid var(--hairline); }
.check-list li svg { color: var(--ink); margin-top: 3px; }
.check-list li strong { font-weight: 600; }
.check-list li span { color: var(--body); }

/* ================================================================== */
/*  Spec table                                                          */
/* ================================================================== */
.spec-table { width: 100%; border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; background: var(--canvas); }
.spec-table dl { margin: 0; }
.spec-table dl > div { display: grid; grid-template-columns: 280px 1fr; gap: var(--s-lg); padding: 16px var(--s-lg); border-top: 1px solid var(--hairline-soft); }
.spec-table dl > div:first-child { border-top: 0; }
.spec-table dt { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -0.005em; }
.spec-table dd { margin: 0; font-size: 14px; color: var(--body); line-height: 1.55; }
@media (max-width: 720px) { .spec-table dl > div { grid-template-columns: 1fr; gap: 4px; } }

/* ================================================================== */
/*  CTA blocks                                                          */
/* ================================================================== */
.final-cta {
  padding: var(--s-xxl) clamp(var(--s-lg), 4vw, var(--s-xxl));
  border-radius: var(--r-lg);
  background: var(--surface-card);
  text-align: center;
}
.final-cta .eyebrow { justify-content: center; margin-bottom: var(--s-md); }
.final-cta .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.5; }
.final-cta h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.025em; margin-bottom: 14px; }
.final-cta p { max-width: 56ch; margin: 0 auto var(--s-lg); font-size: 16px; color: var(--body); }
.final-cta .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-xl);
  padding: var(--s-xl) var(--s-xl);
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--on-dark);
  flex-wrap: wrap;
}
.cta-strip h3 { color: var(--on-dark); font-size: 22px; letter-spacing: -0.014em; margin: 0; }
.cta-strip p { color: var(--on-dark-soft); font-size: 14.5px; margin: 4px 0 0; max-width: 56ch; }
.cta-strip .actions { display: flex; gap: 10px; }

/* ================================================================== */
/*  Form                                                                */
/* ================================================================== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-md); }
.form-grid .full { grid-column: span 2; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } .form-grid .full { grid-column: span 1; } }
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.field-input, .field-select, .field-textarea {
  width: 100%;
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 10px 14px;
  font-size: 15px;
  height: 42px;
  font-family: var(--body-font);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field-textarea { height: auto; min-height: 120px; resize: vertical; padding: 12px 14px; line-height: 1.5; }
.field-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 36px;
}
.field-input:focus, .field-select:focus, .field-textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
}
.field-help { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.field-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--body); }
.field-checkbox input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--ink); }

/* ================================================================== */
/*  FAQ accordion                                                       */
/* ================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-md);
  padding: 18px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic {
  width: 24px; height: 24px;
  border-radius: var(--r-pill);
  background: var(--surface-card);
  display: grid; place-items: center;
  color: var(--ink);
  transition: background 160ms ease, transform 200ms ease;
  flex: 0 0 auto;
}
.faq-item summary .ic svg { width: 12px; height: 12px; transition: transform 200ms ease; }
.faq-item[open] summary .ic svg { transform: rotate(45deg); }
.faq-item[open] summary .ic { background: var(--ink); color: var(--on-primary); }
.faq-item .answer { font-size: 14.5px; line-height: 1.6; color: var(--body); padding: 0 0 22px; max-width: 70ch; }
.faq-item .answer p + p { margin-top: 10px; }

/* ================================================================== */
/*  Prose (legal pages)                                                 */
/* ================================================================== */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin: var(--s-xxl) 0 var(--s-md); letter-spacing: -0.014em; }
.prose h3 { font-size: 17px; margin: var(--s-xl) 0 var(--s-sm); letter-spacing: -0.005em; }
.prose p { font-size: 15px; line-height: 1.7; color: var(--body); margin: 0 0 var(--s-md); }
.prose ul.bul, .prose ol { padding-left: var(--s-lg); margin: 0 0 var(--s-md); }
.prose ul.bul li, .prose ol li { font-size: 15px; line-height: 1.7; color: var(--body); margin-bottom: 6px; list-style: disc; }
.prose ol li { list-style: decimal; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .lead { font-size: 17px; line-height: 1.6; color: var(--body); margin-bottom: var(--s-xl); }
.prose .updated { font-size: 13px; color: var(--muted); font-family: var(--mono); margin-bottom: var(--s-lg); }

/* ================================================================== */
/*  Stat row                                                            */
/* ================================================================== */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-md); }
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: var(--s-lg); border-radius: var(--r-lg); border: 1px solid var(--hairline); background: var(--canvas); }
.stat .v { font-family: var(--display); font-size: 32px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); line-height: 1; }
.stat .l { font-size: 13.5px; color: var(--muted); margin-top: 8px; font-weight: 500; }

/* ================================================================== */
/*  Footer — dark surface                                              */
/* ================================================================== */
.site-footer { background: var(--surface-dark); color: var(--on-dark-soft); padding: 64px 0 32px; }
.site-footer .brand { color: var(--on-dark); }
.site-footer .brand-mark { background: var(--canvas); }
.site-footer .brand-mark::before { color: var(--surface-dark); }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: var(--s-xxl); }
@media (max-width: 1000px) { .foot-top { grid-template-columns: 1fr 1fr; gap: var(--s-xl); } }
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr 1fr; } }
.foot-brand .brand { margin-bottom: var(--s-md); }
.foot-brand p { font-size: 14px; line-height: 1.55; color: var(--on-dark-soft); max-width: 32ch; }
.foot-col h4 {
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--on-dark);
  margin: 0 0 var(--s-md);
}
.foot-col ul li + li { margin-top: 10px; }
.foot-col a { font-size: 14px; color: var(--on-dark-soft); transition: color 140ms ease; }
.foot-col a:hover { color: var(--on-dark); }
.foot-bottom {
  margin-top: var(--s-xxl);
  padding-top: var(--s-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-md);
}
.foot-bottom .tagline { font-size: 13px; color: var(--on-dark-soft); }
.foot-bottom .legal { font-size: 12px; color: var(--muted); font-family: var(--mono); display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom .legal a:hover { color: var(--on-dark); }

/* ================================================================== */
/*  Reveal                                                              */
/* ================================================================== */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .live-tag .pulse { animation: none; }
  html { scroll-behavior: auto; }
}
