/* =====================================================================
   ZAPPP DESIGN TOKENS: locked for sign-off
   Change colours, type and spacing here only. Everything below uses these.

   Colour rules:
   - Cyan  = brand + anything you can click (buttons, links, active states)
   - Lime  = ZAPPP outcomes only (the "with ZAPPP" side, ZAPPP's cost) + keyboard focus
   - Muted = supporting copy and labels; never used for anything clickable
   ===================================================================== */
:root {
  /* Surfaces */
  --zp-bg:          #050507;  /* page background (matches theme.css) */
  --zp-panel:       #0D1626;  /* cards, status panel */
  --zp-panel-2:     #16233A;  /* hover fills, menus */
  --zp-line:        #1E2E48;  /* default borders */
  --zp-line-strong: #2E4466;  /* outline buttons, emphasised borders */

  /* Text */
  --zp-text:        #FFFFFF;
  --zp-text-muted:  #8B9AB6;

  /* Brand */
  --zp-cyan:        #22D3EE;
  --zp-cyan-hover:  #67E8F9;
  --zp-cyan-press:  #06B6D4;
  --zp-lime:        #AFFF2E;
  --zp-on-accent:   #070D16;  /* text on cyan or lime */

  /* Data-only colours (carried over from A2 for content pages; never decorative) */
  --zp-amber:       #F5A623;  /* attention, premium tier */
  --zp-red:         #EF4444;  /* failure, fragmentation */
  --zp-violet:      #8B5CF6;  /* financier / capital story */

  /* Type */
  --zp-font-display: "Geist", "Helvetica Neue", Arial, sans-serif;
  --zp-font-body:    "Geist", "Helvetica Neue", Arial, sans-serif;
  --zp-font-mono:    "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --zp-size-h1:   clamp(2.75rem, 1.2rem + 5.2vw, 5rem);
  --zp-size-h2:   clamp(2.1rem, 1.3rem + 2.8vw, 3.75rem);
  --zp-size-h3:   1.5rem;
  --zp-size-lead: 1.1875rem;
  --zp-size-body: 1rem;
  --zp-size-small:0.875rem;
  --zp-size-label:0.75rem;

  /* Shape + spacing */
  --zp-radius:    4px;
  --zp-radius-lg: 8px;
  --zp-max:       1280px;
  --zp-gutter:    24px;
  --zp-section:   clamp(4rem, 3rem + 4vw, 6.5rem);

  /* Effects */
  --zp-glow:      0 0 20px rgb(34 211 238 / .45), 0 0 64px rgb(34 211 238 / .2);
  --zp-glow-sm:   0 0 12px rgb(34 211 238 / .4);
  --zp-glow-text: 0 0 8px rgb(34 211 238 / .4), 0 0 26px rgb(34 211 238 / .18);

  /* Phone safe areas */
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
/* ZAPPP is a dark-only brand: same tokens in both viewer themes */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --zp-bg: #050507; } }
:root[data-theme="dark"] { --zp-bg: #050507; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(108px + env(safe-area-inset-top, 0px)); background: var(--zp-bg); }
body {
  margin: 0; background: var(--zp-bg); color: var(--zp-text);
  font-family: var(--zp-font-body); font-size: var(--zp-size-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--zp-lime); outline-offset: 3px; border-radius: var(--zp-radius); }
.wrap { max-width: var(--zp-max); margin: 0 auto; padding: 0 var(--zp-gutter); }
.muted { color: var(--zp-text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.label {
  font-family: var(--zp-font-mono); font-size: var(--zp-size-label);
  letter-spacing: .14em; text-transform: uppercase; color: var(--zp-cyan);
}
.h1, .h2, .h3 {
  font-family: var(--zp-font-display); font-weight: 600; letter-spacing: -0.045em;
  background: linear-gradient(180deg, #FFFFFF 30%, #9AA6C8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-fill-color: transparent;
}
.h1 { font-size: var(--zp-size-h1); line-height: .98; }
#hero-title { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.h2 { font-size: var(--zp-size-h2); line-height: 1.04; margin-top: 16px; max-width: 18ch; }
.h3 { font-size: var(--zp-size-h3); line-height: 1.15; }
.lead { font-size: var(--zp-size-lead); color: var(--zp-text-muted); max-width: 36rem; }
.glow {
  background: none; color: var(--zp-cyan); text-shadow: var(--zp-glow-text);
  -webkit-text-fill-color: var(--zp-cyan);
}

/* ---------- buttons (the only three button styles on the site) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 8px;
  font: 700 0.9375rem/1 var(--zp-font-body); letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .2s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.875rem; }

.btn-primary { background: var(--zp-cyan); color: var(--zp-on-accent); }
.btn-primary:hover { background: var(--zp-cyan-hover); box-shadow: var(--zp-glow-sm); }
.btn-primary:active { background: var(--zp-cyan-press); box-shadow: none; }

.btn--glow-light,
.btn--raised-dark,
.btn--glow-blue {
  min-height: 56px; padding-inline: 30px; border-radius: 8px;
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0;
  text-transform: uppercase;
}
.btn--glow-light {
  color: #542713; border-color: rgb(255 255 255 / .9);
  background: linear-gradient(105deg, #D2D0CE 0%, #F2EEE6 72%, #FFFDF4 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .95), 0 2px 0 rgb(0 0 0 / .38),
    0 0 0 1px rgb(255 255 255 / .24), 0 0 22px rgb(255 111 67 / .62), 0 0 48px rgb(255 111 67 / .28);
}
.btn--glow-light:hover {
  color: #542713; background: linear-gradient(105deg, #E2DFDC 0%, #FAF6EC 72%, #FFFFFF 100%);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 rgb(0 0 0 / .34),
    0 0 0 1px rgb(255 255 255 / .48), 0 0 28px rgb(255 111 67 / .78), 0 0 60px rgb(255 111 67 / .38);
}
.btn--raised-dark {
  color: #fff; border-color: rgb(255 255 255 / .76);
  background: linear-gradient(180deg, #101114, #050506);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 3px 0 #242428, 0 8px 18px rgb(0 0 0 / .3);
}
.btn--raised-dark:hover {
  color: #fff; border-color: #fff; background: linear-gradient(180deg, #17181C, #080809);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 4px 0 #292A2E, 0 10px 22px rgb(0 0 0 / .4);
}
.btn--glow-blue {
  color: #06242A; border-color: #8AF2FF;
  background: #22D3EE;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .45), 0 2px 0 rgb(8 85 101 / .85),
    0 0 20px rgb(34 211 238 / .72), 0 0 48px rgb(34 211 238 / .42);
}
.btn--glow-blue:hover {
  color: #06242A; background: linear-gradient(180deg, #A5F3FC 0%, #67E8F9 100%);
  box-shadow: inset 0 1px 0 #fff, 0 3px 0 rgb(8 85 101 / .8),
    0 0 28px rgb(34 211 238 / .9), 0 0 60px rgb(34 211 238 / .55);
}
.btn--glow-light:active, .btn--raised-dark:active, .btn--glow-blue:active { transform: translateY(2px); }
@media (max-width: 600px) {
  .btn--glow-light, .btn--raised-dark, .btn--glow-blue { padding-inline: 18px; font-size: 0.8125rem; }
}

.btn-secondary { background: transparent; color: var(--zp-text); border-color: var(--zp-line-strong); }
.btn-secondary:hover { border-color: var(--zp-cyan); color: var(--zp-cyan); background: rgb(34 211 238 / .06); }

.btn-text { min-height: 44px; padding: 0; color: var(--zp-cyan); }
.btn-text:hover { color: var(--zp-cyan-hover); }

.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow, a:hover > .arrow-row .arrow { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: transparent; transition: background-color .25s ease, backdrop-filter .25s ease, margin-bottom .25s ease;
}
.site-header.is-scrolled {
  background: rgb(7 13 22 / .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  margin-bottom: 28px; /* keeps page flow the same while the bar compacts from 96px to 68px */
}
/* header CTA: exact copy of the hero's secondary (ghost) button */
.header-cta {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; box-sizing: border-box; padding: 0 26px; border-radius: 8px;
  font: 500 15px/1.55 var(--zp-font-body); letter-spacing: normal; white-space: nowrap;
  color: #fff; border: 1px solid transparent; background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); backdrop-filter: blur(8px);
  transition: transform .2s ease, box-shadow .3s ease, background .3s ease;
}
.header-cta:hover {
  color: #fff; border-color: #AFFF2E; background: rgba(255,255,255,.08);
  box-shadow: 0 0 30px rgba(175,255,46,.24);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 96px; transition: height .25s ease; }
.site-header.is-scrolled .wrap { height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font: 700 1.375rem/1 var(--zp-font-display); letter-spacing: .04em; transition: opacity .2s ease; }
.logo:hover { opacity: .8; }
.logo b { color: var(--zp-cyan); font-weight: 700; }
.logo small {
  font: 400 11px/1 var(--zp-font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--zp-text-muted); border-left: 1px solid var(--zp-line); padding-left: 12px;
}
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; background: none; border: 0; cursor: pointer;
  font: 600 0.8125rem/1 var(--zp-font-body); font-family: var(--zp-font-body); letter-spacing: .08em; text-transform: uppercase;
  color: rgb(255 255 255 / .85); transition: color .15s, background-color .15s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--zp-text); background: rgba(255,255,255,.06); }
.nav-link[aria-expanded="true"], .nav-link.is-current, .nav-link[aria-current="page"] { color: var(--zp-cyan); }
.nav-link svg { transition: transform .2s; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
/* Header dropdown: two-column panel, title + one-line description per page (data in site-shell.js) */
.menu {
  position: absolute; left: 50%; top: calc(100% + 10px); width: min(600px, calc(100vw - 48px)); padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: rgba(10,11,16,.97); border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px rgba(0,0,0,.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translate(-50%, -4px); transition: opacity .18s, transform .18s, visibility .18s;
}
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.menu.open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu a { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 12px; color: #fff; font-family: var(--zp-font-body); transition: background-color .15s; }
.menu a:hover { background: rgba(255,255,255,.05); color: #fff; }
.menu__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.menu a strong { font-size: 15px; font-weight: 500; letter-spacing: normal; text-transform: none; }
.menu__blurb { font-size: 13px; line-height: 1.45; color: #A1A1AA; }
.menu a[aria-current="page"] { background: rgba(34,211,238,.06); box-shadow: inset 0 0 0 1px rgba(34,211,238,.25); }
.menu a[aria-current="page"] strong { color: var(--zp-cyan); }
/* Menu icons: homepage feature-icon style (24 grid, 1px line kept at any size, currentColor) */
.menu__icon { flex: none; display: block; color: rgba(255,255,255,.75); transition: color .15s; }
.menu__icon svg { display: block; }
.menu__icon svg * { vector-effect: non-scaling-stroke; }
.menu a:hover .menu__icon, .menu a[aria-current="page"] .menu__icon, .mobile-nav a[aria-current="page"] .menu__icon { color: var(--zp-cyan); }
.mobile-nav details a { gap: 12px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--zp-line); border-radius: var(--zp-radius); color: var(--zp-text); cursor: pointer;
}
.mobile-nav { display: none; border-top: 1px solid var(--zp-line); padding: 8px var(--zp-gutter) 20px; }
.mobile-nav.open { display: block; background: rgb(7 13 22 / .96); }
.mobile-nav details summary, .mobile-nav > a {
  display: flex; align-items: center; min-height: 48px; cursor: pointer; list-style: none;
  font-family: var(--zp-font-body); font-weight: 600; font-size: 0.875rem; letter-spacing: .08em; text-transform: uppercase;
}
.mobile-nav details summary::-webkit-details-marker { display: none; }
.mobile-nav details summary::after { content: "+"; margin-left: auto; color: var(--zp-cyan); font-size: 1.25rem; }
.mobile-nav details[open] summary::after { content: "–"; }
.mobile-nav details a { display: flex; align-items: center; min-height: 44px; padding-left: 16px; color: var(--zp-text-muted); font-family: var(--zp-font-body); font-size: 0.875rem; }
.mobile-nav .btn { width: 100%; margin-top: 12px; }
.mobile-nav .header-cta { display: flex; justify-content: center; width: 100%; margin-top: 12px; }
.mobile-nav a[aria-current="page"] { color: var(--zp-cyan); }
.mobile-nav > .header-cta { min-height: 52px; font-weight: 500; letter-spacing: normal; text-transform: none; }

@media (max-width: 1099px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .logo small { display: none; }
}

/* ---------- sections ---------- */
section { padding: var(--zp-section) 0; }
.band { background: rgb(13 22 38 / .45); border-top: 1px solid var(--zp-line); border-bottom: 1px solid var(--zp-line); }
.section-head { margin-bottom: 48px; }
.section-head .lead { margin-top: 16px; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--zp-line); padding: clamp(4.5rem, 3rem + 6vw, 8rem) 0; }
.grid-lines {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgb(34 211 238 / .38) 1px, transparent 1px),
    linear-gradient(90deg, rgb(34 211 238 / .38) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at top left, #000, transparent 70%);
          mask-image: radial-gradient(ellipse at top left, #000, transparent 70%);
}
.hero .wrap { position: relative; display: grid; gap: 56px; grid-template-columns: 1.4fr 1fr; align-items: center; }
.hero .label { text-shadow: var(--zp-glow-text); }
.hero .h1 { margin-top: 24px; }
.hero .lead { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
@media (max-width: 899px) { .hero .wrap { grid-template-columns: 1fr; } }

/* status panel */
.status {
  position: relative; padding: 24px; font-family: var(--zp-font-mono);
  background: var(--zp-panel); border: 1px solid var(--zp-line); border-radius: var(--zp-radius);
}
.status::before { /* cyan corner brackets */
  content: ""; position: absolute; inset: -1px; pointer-events: none;
  background:
    linear-gradient(var(--zp-cyan),var(--zp-cyan)) left top/28px 3px,
    linear-gradient(var(--zp-cyan),var(--zp-cyan)) left top/3px 28px,
    linear-gradient(var(--zp-cyan),var(--zp-cyan)) right top/28px 3px,
    linear-gradient(var(--zp-cyan),var(--zp-cyan)) right top/3px 28px,
    linear-gradient(var(--zp-cyan),var(--zp-cyan)) left bottom/28px 3px,
    linear-gradient(var(--zp-cyan),var(--zp-cyan)) left bottom/3px 28px,
    linear-gradient(var(--zp-cyan),var(--zp-cyan)) right bottom/28px 3px,
    linear-gradient(var(--zp-cyan),var(--zp-cyan)) right bottom/3px 28px;
  background-repeat: no-repeat;
}
.status-top { display: flex; justify-content: space-between; font-size: var(--zp-size-label); color: var(--zp-text-muted); letter-spacing: .06em; }
.status-top .live { display: inline-flex; align-items: center; gap: 8px; color: var(--zp-cyan); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--zp-cyan); box-shadow: var(--zp-glow-sm); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.status dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 24px; background: var(--zp-line); border-radius: var(--zp-radius); overflow: hidden; }
.status dl div { background: var(--zp-panel); padding: 16px; }
.status dt { font-size: 10px; letter-spacing: .14em; color: var(--zp-text-muted); }
.status dd { margin-top: 8px; font: 700 1.875rem/1 var(--zp-font-display); color: var(--zp-cyan); text-shadow: var(--zp-glow-text); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 64px; margin-top: 24px; }
.bars span { flex: 1; border-radius: 2px; background: rgb(34 211 238 / .8); box-shadow: var(--zp-glow-sm); }
.status-foot { margin-top: 12px; font-size: 10px; letter-spacing: .14em; color: var(--zp-text-muted); }

/* problem */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--zp-line); border: 1px solid var(--zp-line); border-radius: var(--zp-radius); overflow: hidden; }
.split > div { padding: 32px; background: var(--zp-bg); }
.split > div:last-child { background: var(--zp-panel); }
.split .label { color: var(--zp-text-muted); }
.split > div:last-child .label { color: var(--zp-lime); }
.split p:not(.label) { margin-top: 16px; font-size: 1.125rem; }
.split > div:first-child p:not(.label) { color: var(--zp-text-muted); }
.kicker { margin-top: 32px; font: 500 1.25rem/1.4 var(--zp-font-display); }
@media (max-width: 767px) { .split { grid-template-columns: 1fr; } }

/* fleets */
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fleet {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; padding: 24px;
  background: var(--zp-bg); border: 1px solid var(--zp-line); border-radius: var(--zp-radius);
  transition: border-color .15s, background-color .15s;
}
.fleet:hover { border-color: var(--zp-cyan); background: rgb(34 211 238 / .03); }
.fleet p.muted { margin-top: 12px; }
.arrow-row { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; font: 600 var(--zp-size-label)/1 var(--zp-font-mono); color: var(--zp-cyan); }
.arrow-row .arrow { transition: transform .2s; color: var(--zp-text); }
.fleet:hover .arrow { transform: translateX(4px); color: var(--zp-cyan); }
.fleet-cta { background: var(--zp-panel); border-style: dashed; border-color: var(--zp-line-strong); }
.fleet-cta .btn { align-self: flex-start; margin-top: 24px; }
@media (max-width: 1023px) { .fleet-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px)  { .fleet-grid { grid-template-columns: 1fr; } }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--zp-line); border: 1px solid var(--zp-line); border-radius: var(--zp-radius); overflow: hidden; }
.pillar { background: var(--zp-bg); padding: 32px; }
.pillar-top { display: flex; justify-content: space-between; align-items: center; }
.pillar-top svg { width: 28px; height: 28px; color: var(--zp-cyan); }
.pillar-top span { font: 400 var(--zp-size-label)/1 var(--zp-font-mono); color: var(--zp-text-muted); letter-spacing: .06em; }
.pillar .h3 { margin-top: 24px; }
.pillar p { margin-top: 12px; font-size: var(--zp-size-small); color: var(--zp-text-muted); }
@media (max-width: 1023px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px)  { .pillars { grid-template-columns: 1fr; } }

/* stack */
.stack { display: grid; gap: 16px; }
.layer {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; padding: 32px;
  background: var(--zp-panel); border: 1px solid var(--zp-line); border-radius: var(--zp-radius);
}
.layer .label { font-size: var(--zp-size-label); }
.layer .h3 { margin-top: 8px; font-size: 1.875rem; }
.layer .sub { font-size: var(--zp-size-small); color: var(--zp-text-muted); }
.layer > p { color: var(--zp-text-muted); max-width: 60ch; }
.tag { font: 400 var(--zp-size-label)/1 var(--zp-font-mono); padding: 8px 12px; border: 1px solid var(--zp-line-strong); border-radius: var(--zp-radius); white-space: nowrap; }
@media (max-width: 899px) { .layer { grid-template-columns: 1fr; gap: 16px; } .tag { justify-self: start; } }

/* economics */
.econ { border-top: 1px solid var(--zp-line); border-bottom: 1px solid var(--zp-line); position: relative; overflow: hidden; }
.econ .label { color: var(--zp-text-muted); }
.big-number { margin-top: 16px; font: 700 clamp(3.25rem, 1.5rem + 7vw, 6.5rem)/1 var(--zp-font-display); letter-spacing: -0.03em; color: var(--zp-cyan); text-shadow: var(--zp-glow); }
.econ .lead { margin-top: 16px; color: var(--zp-text); font-weight: 500; font-size: 1.25rem; max-width: 40rem; }
.econ-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--zp-line); }
.econ-stats strong { display: block; font: 700 2.25rem/1.1 var(--zp-font-display); color: var(--zp-cyan); }
.econ-stats .zappp strong { color: var(--zp-lime); }
.econ-stats span { display: block; margin-top: 8px; font-size: var(--zp-size-small); color: var(--zp-text-muted); }
.econ-close { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; margin-top: 48px; }
.econ-close p { font: 700 1.5rem/1.3 var(--zp-font-display); max-width: 34ch; }
@media (max-width: 767px) { .econ-stats { grid-template-columns: 1fr; gap: 24px; } }

/* proof */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.proof { padding: 32px; border: 1px solid var(--zp-line); border-radius: var(--zp-radius); background: var(--zp-panel); }
.proof p { margin-top: 12px; color: var(--zp-text-muted); }
.proof.pending { background: transparent; border-style: dashed; }
.proof.pending .h3 { color: var(--zp-text-muted); }
@media (max-width: 767px) { .proof-grid { grid-template-columns: 1fr; } }

/* final CTA */
.cta-band { border-top: 1px solid var(--zp-line); position: relative; overflow: hidden; }
.cta-band .grid-lines { -webkit-mask-image: radial-gradient(ellipse at bottom right, #000, transparent 65%); mask-image: radial-gradient(ellipse at bottom right, #000, transparent 65%); opacity: .35; }
.cta-band .wrap { position: relative; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.cta-band .h2 { max-width: 14ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.cta-actions .note { width: 100%; font: 400 var(--zp-size-label)/1.4 var(--zp-font-mono); color: var(--zp-text-muted); }

/* Glow-inspired shared footer */
.glow-footer {
  background: #050507;
  padding: 0 24px 40px; display: flow-root; /* stops the divider's negative margin from pulling the whole footer up */
}
.glow-footer > .hr-glow {
  margin: -180px -24px 64px; --hr-line: rgb(255 255 255 / .06); /* glow sits entirely above the footer, behind the section above it */
  background:
    linear-gradient(var(--hr-line), var(--hr-line)) bottom / 100% 1px no-repeat,
    radial-gradient(ellipse 50% 100% at 50% 100%, rgba(77,124,255,.1) 0%, rgba(77,124,255,.085) 10%, rgba(77,124,255,.05) 28%, rgba(77,124,255,.02) 50%, transparent 75%);
} /* full-width glow divider at the top of the footer */
.glow-footer__inner {
  max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px;
}
.glow-footer__top {
  display: flex; gap: 48px; flex-wrap: wrap; justify-content: space-between;
}
.glow-footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 280px; }
.glow-footer__brand .logo { align-self: flex-start; }
.glow-footer__brand p { margin: 0; font-size: 14px; line-height: 22px; color: #71717A; }
.glow-footer__email { align-self: flex-start; font: 600 0.9375rem/1 var(--zp-font-body); color: var(--zp-cyan); transition: color .15s; }
.glow-footer__email:hover { color: var(--zp-cyan-hover); }
.glow-footer__socials { display: flex; gap: 8px; margin-top: 4px; }
.glow-footer__socials a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; color: #A1A1AA; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); transition: color .15s, box-shadow .15s; }
.glow-footer__socials a:hover { color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); }
.glow-footer__columns { display: grid; gap: 40px 32px; grid-template-columns: repeat(4, minmax(0, 1fr)); font-size: 14px; padding-top: 40px; border-top: 1px solid rgb(255 255 255 / .06); }
.glow-footer__newsletter { display: flex; flex-direction: column; gap: 12px; width: min(100%, 440px); }
.glow-footer__newsletter strong { color: #fff; font-weight: 500; font-size: 14px; }
.glow-footer__newsletter p { margin: 0; font-size: 14px; line-height: 22px; color: #71717A; }
.glow-footer__subscribe { display: flex; gap: 8px; }
.glow-footer__subscribe .input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(10,11,16,.85); color: #fff; font: 400 16px/1.4 Geist, "Helvetica Neue", system-ui, sans-serif; } /* matches the sign-up form fields */
.glow-footer__subscribe .input::placeholder { color: #52525B; opacity: 1; }
.glow-footer__subscribe .input:hover { border-color: rgba(255,255,255,.24); }
.glow-footer__subscribe .input:focus { outline: none; border-color: #22D3EE; box-shadow: 0 0 0 3px rgba(34,211,238,.2); }
.glow-footer__newsletter .glow-footer__thanks { color: var(--zp-cyan); }
.glow-footer__newsletter .glow-footer__error { color: #F87171; }
.glow-footer__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; } /* newsletter honeypot: off-screen, not display:none */
.glow-footer__subscribe .header-cta { display: inline-flex; flex: none; } /* reuses the ghost CTA style, which the header hides on mobile */
.glow-footer__column { display: flex; flex-direction: column; gap: 12px; }
.glow-footer__column strong { color: #fff; font-weight: 500; }
.glow-footer__column a { color: #A1A1AA; transition: color .2s; }
.glow-footer__legal { display: flex; gap: 24px; }
@media (max-width: 767px) { .glow-footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.glow-footer__legal a { color: #71717A; transition: color .2s; }
.glow-footer__legal a:hover { color: #fff; }
.glow-footer__column a:hover { color: #fff; }
.glow-footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .06);
  font-size: 13px; color: #71717A;
}
@media (max-width: 600px) {
  .glow-footer__columns { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================
   COMPONENTS ADDED FOR STYLES FOUNDATION (A1)
   Reusable across all A1 pages. Uses tokens above only.
   ===================================================================== */

/* links */
.prose a, a.link { color: var(--zp-cyan); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.prose a:hover, a.link:hover { color: var(--zp-cyan-hover); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--zp-cyan); }
.link-arrow .arrow { transition: transform .2s ease; }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-quiet { color: var(--zp-text-muted); text-decoration: underline; text-decoration-color: var(--zp-line-strong); text-underline-offset: .2em; }
.link-quiet:hover { color: var(--zp-cyan); text-decoration-color: var(--zp-cyan); }

/* chips + tags */
.chip { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 12px; background: var(--zp-panel-2); border: 1px solid var(--zp-line); border-radius: 2px; font: 400 var(--zp-size-label)/1 var(--zp-font-mono); color: var(--zp-text-muted); }
.chip b { color: var(--zp-cyan); font-weight: 600; }
.chip--outcome b { color: var(--zp-lime); }
.chip--attention b { color: var(--zp-amber); }

/* callouts */
.callout { padding: 28px 32px; border: 1px solid var(--zp-line); border-radius: var(--zp-radius); background: var(--zp-panel); }
.callout__stat { display: block; font: 700 clamp(2.25rem, 1.5rem + 2.5vw, 3.5rem)/1 var(--zp-font-display); letter-spacing: -0.02em; color: var(--zp-cyan); text-shadow: var(--zp-glow-text); }
.callout__label { display: block; margin-top: 12px; font-size: var(--zp-size-small); color: var(--zp-text-muted); }
.callout--outcome .callout__stat { color: var(--zp-lime); text-shadow: 0 0 12px rgb(175 255 46 / .25); }
.quote { margin: 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--zp-cyan); font: 500 1.5rem/1.3 var(--zp-font-display); }
.quote cite { display: block; margin-top: 12px; font: 400 var(--zp-size-label)/1.4 var(--zp-font-mono); color: var(--zp-text-muted); font-style: normal; letter-spacing: .08em; text-transform: uppercase; }

/* feature list */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.features li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.features .tick { width: 22px; height: 22px; margin-top: 2px; display: grid; place-items: center; border: 1px solid var(--zp-cyan); border-radius: 2px; color: var(--zp-cyan); font-size: 13px; }
.features--outcome .tick { border-color: var(--zp-lime); color: var(--zp-lime); }
.features strong { display: block; font-weight: 700; }
.features p { margin-top: 4px; font-size: var(--zp-size-small); color: var(--zp-text-muted); }

/* generic card (accent optional) */
.card { position: relative; display: block; padding: 28px; background: var(--zp-panel); border: 1px solid var(--zp-line); border-radius: var(--zp-radius); transition: border-color .15s, background-color .15s; }
.card .label { margin-bottom: 14px; }
.card p:not(.label) { margin-top: 10px; color: var(--zp-text-muted); font-size: var(--zp-size-small); }
a.card:hover { border-color: var(--zp-cyan); background: rgb(34 211 238 / .03); }
.card--accent { border-top: 2px solid var(--zp-cyan); }
.card--outcome { border-top: 2px solid var(--zp-lime); }

/* forms */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label, .field .field-label { font: 600 var(--zp-size-label)/1.2 var(--zp-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--zp-text-muted); }
.field .req { color: var(--zp-cyan); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--zp-radius);
  background: var(--zp-bg); border: 1px solid var(--zp-line-strong); color: var(--zp-text);
  font: 400 1rem/1.4 var(--zp-font-body); transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 128px; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--zp-cyan) 50%), linear-gradient(135deg, var(--zp-cyan) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--zp-text-muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--zp-cyan); box-shadow: 0 0 0 3px rgb(34 211 238 / .2); }
.input::placeholder, .textarea::placeholder { color: var(--zp-text-muted); opacity: .7; }
.field .hint { font-size: var(--zp-size-small); color: var(--zp-text-muted); }
.field.is-error .input, .field.is-error .textarea, .field.is-error .select { border-color: var(--zp-red); }
.field .error { display: none; font-size: var(--zp-size-small); color: var(--zp-red); }
.field.is-error .error { display: block; }
.form-success { padding: 20px 24px; border: 1px solid var(--zp-lime); border-radius: var(--zp-radius); background: rgb(175 255 46 / .06); }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: var(--zp-size-small); }
.check input { appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--zp-line-strong); border-radius: 2px; background: var(--zp-bg); display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--zp-cyan); border-color: var(--zp-cyan); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--zp-on-accent); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }

.slider-head { display: flex; justify-content: space-between; align-items: baseline; }
.slider-head output { font: 600 1.125rem/1 var(--zp-font-mono); color: var(--zp-cyan); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --pct: 50%; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--zp-cyan) var(--pct), var(--zp-line-strong) var(--pct)); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--zp-line-strong); }
.range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--zp-cyan); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--zp-text); border: 3px solid var(--zp-cyan); box-shadow: var(--zp-glow-sm); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--zp-text); border: 3px solid var(--zp-cyan); }
.range-scale { display: flex; justify-content: space-between; font: 400 11px/1 var(--zp-font-mono); color: var(--zp-text-muted); }

.segmented { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--zp-line); border-radius: var(--zp-radius); background: var(--zp-panel); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 2px; font: 600 var(--zp-size-small)/1 var(--zp-font-body); color: var(--zp-text-muted); cursor: pointer; transition: background-color .15s, color .15s; }
.segmented input:checked + span { background: var(--zp-cyan); color: var(--zp-on-accent); }
.segmented input:focus-visible + span { outline: 2px solid var(--zp-lime); outline-offset: 2px; }

.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: var(--zp-size-small); }
.switch input { appearance: none; width: 44px; height: 24px; border-radius: 12px; background: var(--zp-line-strong); position: relative; cursor: pointer; transition: background-color .15s; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--zp-text); transition: transform .15s; }
.switch input:checked { background: var(--zp-cyan); }
.switch input:checked::after { transform: translateX(20px); background: var(--zp-on-accent); }

/* text boxes */
.textbox { padding: 24px; background: var(--zp-panel); border: 1px solid var(--zp-line); border-left: 3px solid var(--zp-cyan); border-radius: var(--zp-radius); }
.textbox > * + * { margin-top: 10px; }
.textbox p:not(.label) { color: var(--zp-text-muted); }
.textbox--note { border-left-color: var(--zp-amber); }
.textbox--note .label { color: var(--zp-amber); }
.textbox--outcome { border-left-color: var(--zp-lime); }
.textbox--outcome .label { color: var(--zp-lime); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { color: rgb(255 255 255 / .82); font-size: 1.0625rem; line-height: 1.7; }
.prose h3 { font: 700 1.5rem/1.2 var(--zp-font-display); }
.prose code, code { font-family: var(--zp-font-mono); font-size: .9em; background: var(--zp-panel-2); padding: 1px 6px; border-radius: 2px; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--zp-line); border-radius: var(--zp-radius); }
.table { width: 100%; border-collapse: collapse; font-size: var(--zp-size-small); }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--zp-line); vertical-align: top; }
.table thead th { font: 600 11px/1.2 var(--zp-font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--zp-text-muted); background: var(--zp-panel); }
.table tbody tr:last-child td { border-bottom: 0; }
.table a { color: var(--zp-cyan); }
.mono { font-family: var(--zp-font-mono); }

/* =====================================================================
   DEV PAGES ONLY (scoped)
   ===================================================================== */
.dev-banner { border-bottom: 1px solid var(--zp-line); background: rgb(175 255 46 / .05); font: 400 var(--zp-size-label)/1.4 var(--zp-font-mono); color: var(--zp-text-muted); }
.dev-banner .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; min-height: 44px; }
.dev-tag { font: 600 10px/1 var(--zp-font-mono); letter-spacing: .1em; color: var(--zp-on-accent); background: var(--zp-lime); padding: 4px 6px; border-radius: 2px; }
.dev-page .page-head { padding: clamp(3.5rem, 2rem + 4vw, 5.5rem) 0 1rem; }
.dev-page .page-head .h1 { font-size: clamp(2.5rem, 1.5rem + 3.5vw, 4rem); margin-top: 16px; }
.dev-page .page-head .lead { margin-top: 20px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--zp-line); border-radius: var(--zp-radius); font: 400 var(--zp-size-label)/1 var(--zp-font-mono); color: var(--zp-text-muted); transition: border-color .15s, color .15s; }
.toc a:hover { border-color: var(--zp-cyan); color: var(--zp-cyan); }
.dev-section { border-top: 1px solid var(--zp-line); padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0; scroll-margin-top: 108px; }
.dev-section > .h2 { max-width: none; margin-top: 0; }
/* glow divider: full-width line with a soft blue glow rising from its centre */
.hr-glow {
  display: block; height: 180px; margin: -120px 0 0; border: 0; pointer-events: none; /* glow overlaps the content above; only 60px of space sits above the line */
  background:
    linear-gradient(var(--hr-line, rgba(122,162,255,.35)), var(--hr-line, rgba(122,162,255,.35))) bottom / 100% 1px no-repeat,
    radial-gradient(ellipse 50% 100% at 50% 100%, rgba(77,124,255,.2) 0%, rgba(77,124,255,.17) 10%, rgba(77,124,255,.1) 28%, rgba(77,124,255,.04) 50%, transparent 75%);
}
.dev-section > .lead { margin-top: 12px; margin-bottom: 32px; }
.bench { border: 1px dashed var(--zp-line-strong); border-radius: 8px; padding: 24px; }
.bench + .bench { margin-top: 20px; }
.bench > h3 { font: 700 1.125rem/1.2 var(--zp-font-display); margin-bottom: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.note { margin-top: 16px; font-size: var(--zp-size-small); color: var(--zp-text-muted); max-width: 70ch; }
.cols { display: grid; gap: 20px; }
@media (min-width: 768px) { .cols-2 { grid-template-columns: 1fr 1fr; } .cols-3 { grid-template-columns: repeat(3, 1fr); } }
.swatches { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.swatch { overflow: hidden; border: 1px solid var(--zp-line); border-radius: var(--zp-radius); background: var(--zp-panel); }
.swatch i { display: block; height: 76px; border-bottom: 1px solid var(--zp-line); }
.swatch div { padding: 12px; }
.swatch b { display: block; font: 600 var(--zp-size-small)/1.3 var(--zp-font-body); }
.swatch code { display: inline-block; margin-top: 6px; background: none; padding: 0; font-size: 11px; color: var(--zp-text-muted); }
.swatch p { margin-top: 8px; font-size: var(--zp-size-small); color: var(--zp-text-muted); }
.type-row { display: grid; grid-template-columns: 12rem 1fr; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--zp-line); }
.type-row:last-child { border-bottom: 0; }
.type-row > span { font: 400 11px/1.5 var(--zp-font-mono); color: var(--zp-text-muted); }
.type-row > span b { display: block; color: var(--zp-cyan); font-weight: 600; }
@media (max-width: 767px) { .type-row { grid-template-columns: 1fr; gap: 8px; } }
.font-card { padding: 24px; background: var(--zp-panel); border: 1px solid var(--zp-line); border-radius: var(--zp-radius); }
.font-card .specimen { margin: 12px 0; font-size: 2.25rem; line-height: 1.1; word-break: break-word; }
.font-card p:last-child { font-size: var(--zp-size-small); color: var(--zp-text-muted); }
.hero-sample { position: relative; overflow: hidden; border: 1px solid var(--zp-line); border-radius: var(--zp-radius); padding: 48px 32px; isolation: isolate; }
.hero-sample .grid-lines { z-index: -1; }
.hero-sample .h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem); margin-top: 16px; max-width: 16ch; }
.hero-sample .lead { margin-top: 16px; font-size: 1.0625rem; }
.img-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.img-demo { margin: 0; }
.img-demo figcaption { margin-top: 12px; font-size: var(--zp-size-small); color: var(--zp-text-muted); }
.img-demo figcaption b { display: block; color: var(--zp-text); }
.frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--zp-line); border-radius: var(--zp-radius); background: var(--zp-panel); }
.frame svg { width: 100%; height: 100%; }
.frame--wide { aspect-ratio: 16 / 9; } .frame--square { aspect-ratio: 1; }
.frame--brackets::before { content: ""; position: absolute; inset: 6px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(var(--zp-cyan),var(--zp-cyan)) left top/22px 3px, linear-gradient(var(--zp-cyan),var(--zp-cyan)) left top/3px 22px,
    linear-gradient(var(--zp-cyan),var(--zp-cyan)) right top/22px 3px, linear-gradient(var(--zp-cyan),var(--zp-cyan)) right top/3px 22px,
    linear-gradient(var(--zp-cyan),var(--zp-cyan)) left bottom/22px 3px, linear-gradient(var(--zp-cyan),var(--zp-cyan)) left bottom/3px 22px,
    linear-gradient(var(--zp-cyan),var(--zp-cyan)) right bottom/22px 3px, linear-gradient(var(--zp-cyan),var(--zp-cyan)) right bottom/3px 22px;
  background-repeat: no-repeat; }
.frame--duotone svg { filter: grayscale(1) contrast(1.1); }
.frame--duotone::after { content: ""; position: absolute; inset: 0; background: var(--zp-cyan); mix-blend-mode: multiply; opacity: .55; }
.frame--grid::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(34 211 238 / .25) 1px, transparent 1px), linear-gradient(90deg, rgb(34 211 238 / .25) 1px, transparent 1px); background-size: 32px 32px; }
.frame--spot { background: radial-gradient(ellipse at 50% 40%, rgb(34 211 238 / .3), transparent 60%), var(--zp-bg); }
.frame--fade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--zp-bg)); }
.compare { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.variant { overflow: hidden; border: 1px solid var(--zp-line); border-radius: var(--zp-radius); }
.variant__head { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 16px; background: var(--zp-panel-2); font: 600 11px/1.2 var(--zp-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--zp-text-muted); }
.variant__body { padding: 28px 20px; }
.status-tag { font: 600 10px/1 var(--zp-font-mono); letter-spacing: .08em; padding: 4px 6px; border: 1px solid currentColor; border-radius: 2px; }
.status-tag--use { color: var(--zp-lime); } .status-tag--test { color: var(--zp-amber); } .status-tag--alt { color: var(--zp-text-muted); } .status-tag--new { color: var(--zp-cyan); }
.btn--flat:hover { box-shadow: none; }
.btn--pill { border-radius: 8px; }
.h-upper { text-transform: uppercase; }
.groups { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.tree { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tree a { font-weight: 600; color: var(--zp-text); }
.tree a:hover { color: var(--zp-cyan); }
.tree small { display: block; font: 400 11px/1.4 var(--zp-font-mono); color: var(--zp-text-muted); }
.where { font: 600 10px/1 var(--zp-font-mono); letter-spacing: .08em; padding: 3px 5px; border-radius: 2px; margin-left: 6px; vertical-align: 2px; }
.where--a1 { color: var(--zp-on-accent); background: var(--zp-lime); }
.where--a2 { color: var(--zp-text-muted); border: 1px solid var(--zp-line-strong); }
.ascii { margin: 0; padding: 24px; overflow-x: auto; white-space: pre; font: 400 12px/1.45 var(--zp-font-mono); color: rgb(255 255 255 / .78); background: var(--zp-panel); border: 1px solid var(--zp-line); border-radius: var(--zp-radius); }

/* image treatments for isolated product cut-outs (transparent PNG/WebP) */
.frame--obj { display: grid; place-items: center; isolation: isolate; }
.frame--obj img { position: relative; z-index: 1; width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 18px 24px rgb(0 0 0 / .55)); }
.frame--wide.frame--obj img { width: 62%; height: 84%; }
.frame--obj.frame--brackets::before { z-index: 2; }
.frame--obj.frame--spot { background: radial-gradient(ellipse at 50% 55%, rgb(34 211 238 / .32), transparent 62%), var(--zp-bg); }
.frame--obj.frame--spot img { filter: drop-shadow(0 0 28px rgb(34 211 238 / .35)) drop-shadow(0 18px 24px rgb(0 0 0 / .6)); }
.frame--obj.frame--grid::after { content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgb(34 211 238 / .3) 1px, transparent 1px), linear-gradient(90deg, rgb(34 211 238 / .3) 1px, transparent 1px);
  background-size: 32px 32px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.frame--obj.frame--duotone { background: linear-gradient(160deg, rgb(34 211 238 / .22), var(--zp-panel)); }
.frame--obj.frame--duotone img { filter: grayscale(1) sepia(1) hue-rotate(140deg) saturate(2.4) brightness(1.15) drop-shadow(0 18px 24px rgb(0 0 0 / .55)); }
.frame--obj.frame--duotone::after { display: none; }
.frame--obj.frame--fade img { align-self: end; height: 110%; transform: translateY(18%); }
.frame--obj.frame--fade::after { z-index: 2; background: linear-gradient(180deg, transparent 45%, var(--zp-bg) 96%); }
.frame--annotated img { width: 40%; }
.ann { position: absolute; left: var(--x); top: var(--y); z-index: 3; transform: translate(-50%, -50%); padding: 7px 11px; border: 1px solid rgb(34 211 238 / .6); border-radius: var(--zp-radius); background: rgb(7 13 22 / .85); font: 400 12px/1 var(--zp-font-mono); color: var(--zp-text); white-space: nowrap; box-shadow: 0 0 14px rgb(34 211 238 / .2); }
.ann b { color: var(--zp-cyan); font-weight: 600; margin-right: 4px; }
.ann--outcome { border-color: rgb(175 255 46 / .6); } .ann--outcome b { color: var(--zp-lime); }
@media (max-width: 639px) { .frame--annotated { aspect-ratio: 4 / 3; } .ann { font-size: 10px; padding: 5px 7px; } }

/* =====================================================================
   SIGN-UP MODAL: full-screen lead form, mounted by site-shell.js on every page.
   Opened by: [data-signup], links to demo.html, the header CTA, or #signup in the URL.
   The <form> inside .signup-modal__form is a placeholder until the Zoho CRM embed replaces it.
   ===================================================================== */
@keyframes zsheen { 0% { transform: translateX(-120%) skewX(-20deg); } 60%, 100% { transform: translateX(220%) skewX(-20deg); } }
@keyframes signup-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes signup-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
html.signup-open { overflow: hidden; }
.signup-modal { position: fixed; inset: 0; z-index: 100; display: none; overflow-y: auto; overscroll-behavior: contain; background: #fff; color: #0A0B10; font-family: Geist, "Helvetica Neue", system-ui, sans-serif; isolation: isolate; }
.signup-modal.is-open { display: block; animation: signup-in .25s ease; }
.signup-modal__bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 45% 55% at 8% 18%, rgba(77,124,255,.16), transparent 70%), radial-gradient(ellipse 40% 50% at 96% 80%, rgba(34,211,238,.14), transparent 70%); }
.signup-modal__bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(5,5,7,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(5,5,7,.06) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 15% 25%, #000 10%, transparent 100%); mask-image: radial-gradient(ellipse 50% 60% at 15% 25%, #000 10%, transparent 100%); }
/* Top bar stays dark, like the site header: solid, because the 60% dark bar of the old modal turns grey over white */
.signup-modal__bar { position: sticky; top: 0; z-index: 2; overflow: hidden; isolation: isolate; background: #050507; }
/* same look as the homepage header over the hero: faint white grid and soft blue/cyan glow */
.signup-modal__bar::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 64px 64px; background-position: left top; -webkit-mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.35) 50%, #000); mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.35) 50%, #000); }
.signup-modal__bar::after { content: ""; position: absolute; inset: -60px -10%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 30% 120% at 8% 60%, rgba(77,124,255,.35), transparent 70%), radial-gradient(ellipse 30% 120% at 92% 80%, rgba(34,211,238,.22), transparent 70%), radial-gradient(ellipse 24% 100% at 45% 0%, rgba(34,211,238,.08), transparent 70%); filter: blur(30px); }
.signup-modal__bar-inner { max-width: 1280px; height: 96px; box-sizing: border-box; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; } /* 96px: the header's height at the top of the page */
.signup-modal .logo { color: #fff; }
.signup-modal__close { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 22px 0 26px; border: 1px solid transparent; border-radius: 8px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); color: #fff; font: 500 13px/1 "Geist Mono", monospace; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: border-color .3s, background .3s, box-shadow .3s; }
.signup-modal__close:hover { border-color: #AFFF2E; background: rgba(255,255,255,.08); box-shadow: 0 0 30px rgba(175,255,46,.24); }
.signup-modal__body { max-width: 760px; margin: 0 auto; padding: 72px 24px 120px; animation: signup-rise .4s ease both .05s; }
.signup-modal__label { margin: 0; font-family: "Geist Mono", monospace; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #0891B2; }
.signup-modal__title { margin: 18px 0 0; font-weight: 600; font-size: clamp(40px, 5.4vw, 72px); line-height: 1; letter-spacing: -.045em; padding-bottom: .1em;
  background: linear-gradient(180deg, #05060A 30%, #4B5576 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.signup-modal__lede { margin: 12px 0 0; max-width: 56ch; font-size: 18px; line-height: 28px; color: #52525B; }
.signup-modal__form { margin-top: 48px; }
/* "How does the demo work?" under the form: a black card, same look as the Zenobē card on the homepage */
.signup-how { position: relative; isolation: isolate; overflow: hidden; width: min(1120px, calc(100vw - 48px)); margin: 72px 0 0 calc(50% - min(560px, 50vw - 24px)); box-sizing: border-box; padding: 56px; border-radius: 20px; background: #0A0B10; color: #fff; }
.signup-how::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url(assets/halftone-corner-white.png?v=2) left bottom / 900px auto no-repeat; opacity: .14; transform: scaleX(-1); } /* mirrored, so it sits bottom right */
.signup-how__title { margin: 0; font-weight: 600; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.03em; color: #fff; }
.signup-how__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.signup-how__meta li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-size: 15px; color: #A1A1AA; }
.signup-how__meta svg { width: 20px; height: 20px; flex: none; color: #22D3EE; }
.signup-how__meta b { font-weight: 500; color: #fff; }
.signup-how__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: how; }
.signup-how__steps li { counter-increment: how; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.signup-how__steps li::before { content: "0" counter(how); font: 500 13px/1 "Geist Mono", monospace; letter-spacing: .08em; color: #AFFF2E; margin-bottom: 8px; }
.signup-how__steps b { font-weight: 600; font-size: 18px; letter-spacing: -.02em; color: #fff; }
.signup-how__steps span { font-size: 15px; line-height: 23px; color: #A1A1AA; }
.signup-how__facts { margin: 32px 0 0; }
.signup-how__facts > div { display: grid; grid-template-columns: 180px 1fr; gap: 4px 24px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.signup-how__facts > div:last-child { padding-bottom: 0; }
.signup-how__facts dt { font: 500 13px/1.6 "Geist Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: #71717A; }
.signup-how__facts dd { margin: 0; font-size: 15px; line-height: 23px; color: #fff; }
@media (max-width: 1000px) { .signup-how__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .signup-how { width: auto; margin-left: 0; padding: 28px 20px; } .signup-how__steps { grid-template-columns: 1fr; } .signup-how__facts > div { grid-template-columns: 1fr; } }
.signup-form { display: grid; gap: 28px; }
.signup-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.signup-form__group { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.signup-form__group > label, .signup-form__group > legend { padding: 0; font-size: 17px; font-weight: 500; color: #0A0B10; }
.signup-form__group .req { margin-left: 4px; color: #0891B2; }
.signup-form__control { position: relative; display: block; }
.signup-form__control svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: #A1A1AA; pointer-events: none; }
.signup-form__control input, .signup-form__control select { box-sizing: border-box; width: 100%; min-height: 54px; padding: 14px 16px 14px 46px; border-radius: 12px; border: 1px solid rgba(5,5,7,.22); background: rgba(255,255,255,.9); color: #0A0B10; font: 400 16px/1.4 Geist, "Helvetica Neue", system-ui, sans-serif; transition: border-color .15s, box-shadow .15s; }
.signup-form__control input::placeholder { color: #A1A1AA; }
.signup-form__control input:hover, .signup-form__control select:hover { border-color: rgba(5,5,7,.4); }
.signup-form__control input:focus, .signup-form__control select:focus { outline: none; border-color: #0891B2; box-shadow: 0 0 0 3px rgba(34,211,238,.25); }
.signup-form__sub { font-size: 14px; color: #52525B; }
.signup-form__phone { display: grid; grid-template-columns: 132px 1fr; gap: 10px; }
.signup-form__phone select { appearance: none; padding-left: 16px; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, #0891B2 50%), linear-gradient(135deg, #0891B2 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.signup-form__note { margin: 0; font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: .04em; color: #71717A; }
.signup-form__actions { display: flex; justify-content: center; padding-top: 8px; }
.signup-form__done { padding: 32px; border-radius: 20px; background: rgba(34,211,238,.06); box-shadow: inset 0 0 0 1px rgba(8,145,178,.4); }
.signup-form__done h3 { margin: 0; font-size: 22px; font-weight: 600; color: #0A0B10; }
.signup-form__done p { margin: 8px 0 0; font-size: 16px; line-height: 1.6; color: #52525B; }
/* zbtn + zbtn-blue: copied from styles.html (the modal sits outside .glow-review). Blue, not primary: the white primary disappears on a white background */
.signup-modal .zbtn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; box-sizing: border-box; padding: 0 32px; border: 0; border-radius: 8px; font: 500 17px/1 Geist, "Helvetica Neue", system-ui, sans-serif; cursor: pointer; transition: transform .2s ease, box-shadow .3s ease, background .3s ease; }
.signup-modal .zbtn-blue { color: #fff; background: #4D7CFF; }
.signup-modal .zbtn-blue:hover { color: #fff; outline: 4px solid rgba(77,124,255,.5); }
/* Zoho form: its skin ships with the embed (ZOHO_FORM in site-shell.js). Zoho caps buttons at 120px and cuts the text off */
#crmWebToEntityForm .signup-form__actions .formsubmit { max-width: none !important; }
@media (max-width: 640px) {
  .signup-modal__body { padding: 48px 20px 80px; }
  .signup-form__row { grid-template-columns: 1fr; }
  .signup-form__phone { grid-template-columns: 112px 1fr; }
  .signup-modal__close { padding: 0 16px 0 18px; }
}
@media (prefers-reduced-motion: reduce) { .signup-modal.is-open, .signup-modal__body { animation: none; } }

/* ---------- Icons (locked, see styles.html → Icons) ----------
   Every icon is a line drawing: 24×24 viewBox, fill="none", stroke="currentColor",
   stroke-width="1", round caps and joins. The line stays exactly 1px at any size. */
svg[stroke-width="1"] *{vector-effect:non-scaling-stroke}


/* ---------- Call to action (shared, rendered by site-shell.js into [data-site-cta]) ----------
   A light band with the dark "Built with GoMetro" banner. Inside the homepage's light section it drops its own band. */
.site-cta { margin-top: 120px; background: #F3F6FA; padding: 96px 24px; } /* the gap the old per-page call to action had above it */
.lt .site-cta { margin-top: 0; background: none; padding: 64px 0 0; }
.site-cta__wrap { max-width: 1232px; margin: 0 auto; }
.site-cta__banner { position: relative; overflow: hidden; border-radius: 28px; min-height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 72px 24px; text-align: center; background: var(--zp-bg); color: #fff; font-family: Geist, "Helvetica Neue", system-ui, sans-serif; }
.site-cta__banner .grid-lines { -webkit-mask-image: radial-gradient(ellipse at bottom right, #000, transparent 65%); mask-image: radial-gradient(ellipse at bottom right, #000, transparent 65%); opacity: .35; }
.site-cta__banner > :not(.grid-lines) { position: relative; z-index: 1; }
.site-cta__pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.site-cta__banner h2 { margin: 0; max-width: 20ch; font-weight: 600; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.04em; color: #fff; background: none; -webkit-text-fill-color: currentColor; }
a.site-cta__btn, .glow-review a.site-cta__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 8px; background: #AFFF2E; color: #0B1220; font-weight: 600; font-size: 16px; text-decoration: none; transition: background .2s, outline-color .2s; outline: 4px solid transparent; }
a.site-cta__btn:hover, .glow-review a.site-cta__btn:hover { color: #0B1220; background: #C4FF66; outline-color: rgba(175,255,46,.35); }
@media (max-width: 860px) { .site-cta { margin-top: 88px; padding: 64px 16px; } .lt .site-cta { margin-top: 0; padding: 48px 0 0; } .site-cta__banner { min-height: 380px; border-radius: 20px; } }

/* sign-up modal: the logo is a button that closes the form */
.signup-modal__home { margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; } /* keeps .logo's own font so it matches the header logo */
.signup-modal__home:focus-visible { outline: 2px solid #22D3EE; outline-offset: 4px; border-radius: 4px; }
.signup-modal:focus { outline: none; } /* the dialog takes focus on open; fields show their own focus ring */

/* ---------- Hero gradient (locked, see styles.html → Hero gradient) ----------
   Soft blurred orbs that drift slowly behind a dark section. Two colours:
   blue  rgba(77,124,255,.35)  on the left
   swamp rgba(34,211,238,.22)  on the right (cyan over the near-black ground reads as a deep teal-green)
   Put the orbs inside a position:relative; isolation:isolate; overflow:hidden section and size/place them inline. */
.zp-orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; filter: blur(100px); animation: zp-drift 12s ease-in-out infinite; }
.zp-orb--blue { background: rgba(77,124,255,.35); }
.zp-orb--blue-soft { background: rgba(40,90,220,.12); }
.zp-orb--swamp { background: rgba(34,211,238,.22); }
.zp-orb--swamp-soft { background: rgba(34,211,238,.09); }
@keyframes zp-drift { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(18px,-12px) scale(1.03); } 66% { transform: translate(-12px,9px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .zp-orb { animation: none; } }
/* ---------- Secondary gradient (locked, see styles.html → Secondary gradient) ----------
   A quieter hero gradient for dark sections further down a page. Add .zp-glow--secondary to the section, then inside it:
   <div class="zp-grid"></div> plus zp-orb--blue / --swamp orbs placed low so they rise from the bottom.
   The orbs run at 70%, the faint white grid draws over them, and the grid fades out at the top of the section.
   Set --zp-glow-bg to the section's background colour so the top fade blends in (default #0A0D14). */
.zp-glow--secondary { --zp-glow-bg: #0A0D14; position: relative; isolation: isolate; overflow: hidden; }
.zp-glow--secondary > :not(.zp-orb):not(.zp-grid) { position: relative; z-index: 1; }
.zp-glow--secondary .zp-orb { opacity: .7; }
.zp-glow--secondary::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 320px; z-index: 0; pointer-events: none; background: linear-gradient(var(--zp-glow-bg), transparent); }
.zp-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 62% 62% at 22% 35%,#000 8%,transparent 100%),radial-gradient(ellipse 58% 60% at 78% 54%,#000 8%,transparent 100%),radial-gradient(ellipse 42% 45% at 50% 88%,#000 0%,transparent 100%); mask-image: radial-gradient(ellipse 62% 62% at 22% 35%,#000 8%,transparent 100%),radial-gradient(ellipse 58% 60% at 78% 54%,#000 8%,transparent 100%),radial-gradient(ellipse 42% 45% at 50% 88%,#000 0%,transparent 100%); }

/* Sign-up modal: browser autofill keeps the normal white field and dark text (no grey fill, no white text) */
.signup-modal{color-scheme:light}
.signup-modal input:-webkit-autofill,.signup-modal input:-webkit-autofill:hover,.signup-modal input:-webkit-autofill:focus,.signup-modal select:-webkit-autofill,.signup-modal textarea:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset;box-shadow:0 0 0 1000px #fff inset;-webkit-text-fill-color:#0A0B10;caret-color:#0A0B10;transition:background-color 9999s ease-out 0s}
.signup-modal input:autofill{background:#fff;color:#0A0B10}
