/* Lumero — site styles. Sections: tokens, base, type, layout, header, hero,
   console, sections, visuals, forms, footer, responsive. */

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --ink: #0A1A2B;
  --ink-2: #0F2438;
  --ink-3: #18334D;
  --paper: #F3F4F0;
  --white: #FFFFFF;
  --blue: #2563EB;
  --blue-deep: #1D4ED8;
  --blue-soft: #E8EEFF;
  --teal: #0EA5A5;
  --green: #17B26A;
  --amber: #E8A23A;

  --text: #0E2438;
  --text-2: #44576A;
  --text-3: #74859A;
  --line: rgba(14, 36, 56, 0.12);
  --line-2: rgba(14, 36, 56, 0.22);
  --hl: var(--blue);

  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  --w: 1200px;
  --gut: 28px;
  --hdr: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dark {
  --text: #EEF3F8;
  --text-2: #A9B9C9;
  --text-3: #6E8397;
  --line: rgba(255, 255, 255, 0.10);
  --line-2: rgba(255, 255, 255, 0.20);
  --hl: #8DAEFF;
  background: var(--ink);
  color: var(--text);
}

/* ── Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 24px); }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg, canvas { display: block; max-width: 100%; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: #8DAEFF; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ── Type ───────────────────────────────────────────────────────────── */
.display, .h1, .h2, .h3, .statement { font-stretch: 108%; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.display { font-size: clamp(40px, 5.6vw, 78px); line-height: 1.02; letter-spacing: -0.02em; }
.h1 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.05; letter-spacing: -0.02em; }
.h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.08; }
.h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.012em; }
.h3--lg { font-size: clamp(22px, 2vw, 27px); line-height: 1.15; }
.statement { font-size: clamp(26px, 3.4vw, 46px); line-height: 1.12; font-weight: 500; }
.statement--ink { color: var(--text); }
.hl { color: var(--hl); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--text-2); max-width: 58ch; text-wrap: pretty; }
.center { text-align: center; }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--blue); flex: none; }
.tag { display: inline-block; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hl); border: 1px solid color-mix(in srgb, var(--hl) 35%, transparent); border-radius: 4px; padding: 3px 8px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--hl); }
.tlink--dim { color: var(--text-2); }
.tlink .arr, .btn .arr, .cta-next .arr { transition: transform 200ms var(--ease); }
.tlink:hover .arr, .btn:hover .arr, a:hover > .tlink .arr, .cta-next:hover .arr { transform: translateX(3px); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 6px; font-weight: 600; font-size: 15px; letter-spacing: 0.005em; white-space: nowrap; transition: background 160ms, border-color 160ms, color 160ms; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }
.dark .btn--primary:hover { background: #3B76F6; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--blue-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ── Layout ─────────────────────────────────────────────────────────── */
.wrap { max-width: calc(var(--w) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: 860px; }
.wrap--prose { max-width: 760px; }
.band { padding: clamp(64px, 8vw, 112px) 0; }
.band--paper { background: var(--paper); }
.band--white { background: var(--white); }
.sec-head { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 60px); }
.sec-lead { color: var(--text-2); font-size: 17px; max-width: 46ch; justify-self: end; }
.more { margin-top: 28px; color: var(--text-2); }
.more a:not(.tlink) { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ── Header ─────────────────────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr); background: color-mix(in srgb, var(--ink) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: #EEF3F8; }
.hdr-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; font-stretch: 108%; letter-spacing: -0.02em; color: #fff; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border-radius: 6px; font-size: 14.5px; font-weight: 500; color: #B4C2D0; transition: color 150ms, background 150ms; }
.nav-link:hover, .nav-group:hover > .nav-link, .nav-group.open > .nav-link { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-link.is-active, .nav-group.is-active > .nav-link { color: #fff; }
.nav-group { position: relative; }
.nav-menu { position: absolute; top: 100%; left: 0; min-width: 280px; padding: 8px; margin-top: 10px; background: #fff; color: #0E2438; border-radius: 10px; box-shadow: 0 24px 48px -16px rgba(4, 12, 22, 0.45), 0 0 0 1px rgba(14, 36, 56, 0.08); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 150ms, transform 150ms, visibility 150ms; }
.nav-menu::before { content: ''; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu, .nav-group.open .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a { display: block; padding: 10px 12px; border-radius: 6px; }
.nav-menu a:hover, .nav-menu a[aria-current] { background: var(--paper); }
.nav-menu b { display: block; font-size: 14.5px; font-weight: 600; }
.nav-menu span { display: block; font-size: 13px; color: #5C6E80; }
.hdr-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 6px; position: relative; }
.burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform 200ms, top 200ms; }
.burger i:first-child { top: 15px; } .burger i:last-child { top: 23px; }
.burger[aria-expanded="true"] i:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 19px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: var(--hdr) 0 0 0; background: var(--ink); overflow: auto; padding: 24px 0 40px; }
.mnav-group { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: grid; gap: 10px; }
.mnav-group span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #6E8397; }
.mnav-group a { font-size: 19px; font-weight: 500; }
.mnav .btn { margin-top: 24px; width: 100%; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; padding: calc(var(--hdr) + clamp(56px, 7vw, 96px)) 0 0; }
.hero::before, .phero::before, .contact::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, transparent 72%); mask-image: radial-gradient(120% 90% at 70% 0%, #000 0%, transparent 72%); }
.hero::after { content: ''; position: absolute; left: 50%; bottom: 0; width: min(1100px, 90vw); height: 520px; transform: translateX(-50%); pointer-events: none; background: radial-gradient(50% 60% at 50% 70%, rgba(37, 99, 235, 0.35), transparent 70%); }
.hero > .wrap { position: relative; z-index: 1; }
.hero-copy { max-width: 900px; }
.hero-copy .lead { margin-top: 24px; }
.hero-stage { margin-top: clamp(48px, 6vw, 80px); margin-bottom: -150px; }
.hero + .band, .hero + .pillars-band { padding-top: calc(150px + clamp(56px, 7vw, 96px)); }

.phero { position: relative; padding: calc(var(--hdr) + clamp(56px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); }
.phero > .wrap { position: relative; z-index: 1; }
.phero .lead { margin-top: 22px; }
.phero .h1 { max-width: 20ch; }
.phero--article .h1 { max-width: none; font-size: clamp(32px, 4vw, 50px); }
.notfound { min-height: 70vh; display: grid; align-items: center; }

/* ── Console ────────────────────────────────────────────────────────── */
.con-wrap figcaption, .feed figcaption { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: #6E8397; text-align: center; }
.band--paper .con-wrap figcaption { color: var(--text-3); }
.con { position: relative; background: #fff; color: #0E2438; border-radius: 12px; overflow: hidden; font-size: 12.5px; line-height: 1.4; box-shadow: 0 50px 100px -30px rgba(2, 8, 16, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1); --c-line: rgba(14, 36, 56, 0.1); --c-dim: #55677A; --c-faint: #8494A5; --c-bg: #F4F6F9; }
.con-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--c-line); background: #EDF0F4; }
.con-dots { display: flex; gap: 6px; } .con-dots i { width: 10px; height: 10px; border-radius: 50%; background: #CBD3DC; }
.con-url { font-family: var(--mono); font-size: 11px; color: var(--c-dim); background: #fff; border-radius: 5px; padding: 3px 14px; }
.con-people { margin-left: auto; display: flex; }
.con-av { display: grid; place-items: center; height: 24px; min-width: 24px; padding: 0 7px; border-radius: 12px; font-size: 10.5px; font-weight: 700; color: #fff; border: 2px solid #EDF0F4; margin-left: -6px; }
.con-av--m { background: var(--teal); } .con-av--y { background: var(--blue); }
.con-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; color: var(--c-dim); }
.con-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.8); } }
@keyframes con-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes grow { from { transform: scaleX(0); } }

/* App frame: sidebar + main */
.cx { display: grid; grid-template-columns: 196px minmax(0, 1fr); background: var(--c-bg); }
.cx-side { display: flex; flex-direction: column; gap: 16px; padding: 16px 12px; background: #fff; border-right: 1px solid var(--c-line); }
.cx-acct { display: flex; align-items: center; gap: 10px; padding: 2px 6px 14px; border-bottom: 1px solid var(--c-line); }
.cx-acct b, .cx-team b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.cx-acct small, .cx-team small { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--c-faint); white-space: nowrap; }
.cx-nav { display: grid; gap: 2px; }
.cx-nav button { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 500; color: var(--c-dim); text-align: left; white-space: nowrap; transition: background 150ms, color 150ms; }
.cx-nav button:hover { background: var(--c-bg); color: #0E2438; }
.cx-nav button[aria-selected="true"] { background: var(--blue-soft); color: var(--blue-deep); font-weight: 600; }
.cx-team { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--c-line); border-radius: 8px; }
.cx-team .con-av { margin: 0; border: 0; height: 28px; min-width: 28px; border-radius: 50%; }
.cx-team small i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.cx-main { min-width: 0; padding: 14px 16px 16px; display: grid; gap: 12px; align-content: start; }
.cx-top { display: flex; align-items: center; gap: 8px; }
.cx-title { margin-right: auto; display: grid; line-height: 1.2; }
.cx-title small { font-size: 10.5px; color: var(--c-faint); } .cx-title b { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.cx-filters { display: flex; gap: 6px; }
.cx-filters span, .cx-btn { font-size: 11.5px; font-weight: 500; color: var(--c-faint); background: #fff; border: 1px solid var(--c-line); border-radius: 6px; padding: 5px 9px; white-space: nowrap; }
.cx-filters b { color: #0E2438; font-weight: 600; margin-left: 3px; }
.cx-filters span::after { content: ''; display: inline-block; margin-left: 7px; border: 3.5px solid transparent; border-top-color: var(--c-faint); transform: translateY(2px); }
.cx-range { display: flex; background: #fff; border: 1px solid var(--c-line); border-radius: 6px; overflow: hidden; font-size: 11.5px; font-weight: 600; color: var(--c-faint); }
.cx-range span { padding: 5px 10px; } .cx-range .on { background: var(--ink); color: #fff; }
.cx-btn { color: #0E2438; font-weight: 600; }
.cx-views { display: grid; }
.cx-view { grid-area: 1 / 1; display: grid; gap: 12px; align-content: start; visibility: hidden; opacity: 0; }
.cx-view.is-active { visibility: visible; opacity: 1; animation: con-in 420ms var(--ease); }

/* KPI cards */
.cx-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cx-kpi { background: #fff; border: 1px solid var(--c-line); border-radius: 8px; padding: 11px 14px 12px; display: grid; grid-template-columns: 1fr auto; column-gap: 8px; align-items: end; }
.cx-kpi > span { grid-column: 1 / -1; font-size: 11px; font-weight: 500; color: var(--c-faint); }
.cx-kpi b { grid-column: 1 / -1; font-size: 22px; font-weight: 700; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.cx-kpi em { font-style: normal; font-size: 11px; font-weight: 600; color: #0F8A53; }
.cx-spark { width: 76px; height: 24px; overflow: visible; }
.cx-spark path { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cx-spark.teal path { stroke: var(--teal); }

/* Panels */
.cx-cols { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 12px; }
.cx-cols--even { grid-template-columns: 1fr 1fr; }
.cx-panel { background: #fff; border: 1px solid var(--c-line); border-radius: 8px; padding: 12px 14px 14px; min-width: 0; }
.cx-panel > header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; min-height: 20px; }
.cx-panel > header b { font-size: 13px; font-weight: 600; white-space: nowrap; }
.cx-panel > header > :last-child:not(b) { margin-left: auto; }
.cx-panel > header small { font-size: 10.5px; color: var(--c-faint); white-space: nowrap; }
.cx-legend { display: flex; gap: 12px; font-size: 10.5px; color: var(--c-dim); white-space: nowrap; }
.cx-legend span, .cx-tip span { display: inline-flex; align-items: center; gap: 5px; }
.cx-legend i, .cx-tip i { width: 10px; height: 3px; border-radius: 2px; flex: none; }
.cx i.a { background: var(--blue); } .cx i.s { background: var(--teal); } .cx i.l { background: #9DB9FF; }
.cx i.p { background: repeating-linear-gradient(90deg, #9DB9FF 0 3px, transparent 3px 5px); }
.cx-legend--row { margin-top: 10px; }
.cx-pills { display: flex; gap: 6px; }
.cx-pills span { font-size: 10.5px; border: 1px dashed rgba(14, 36, 56, 0.22); border-radius: 5px; padding: 2px 8px; color: var(--c-faint); white-space: nowrap; }
.cx-pills .on { border: 1px solid transparent; background: var(--blue-soft); color: var(--blue-deep); font-weight: 600; }

/* Main chart */
.cx-chart { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; }
.cx-y { display: flex; flex-direction: column; justify-content: space-between; height: 176px; font-family: var(--mono); font-size: 9.5px; line-height: 1; color: var(--c-faint); text-align: right; }
.cx-y span:not(:first-child):not(:last-child) { transform: translateY(0); }
.cx-plot { position: relative; height: 176px; }
.cx-plot svg, .cx-plan svg, .cx-stack svg { width: 100%; height: 100%; overflow: visible; }
.cx-gridl line { stroke: var(--c-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cx-bars rect { fill: var(--teal); opacity: 0.2; }
.cx-prev { fill: none; stroke: #9DB9FF; stroke-width: 1.5; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.cx-main { fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cx-view.is-active .cx-main:not(.cx-main--static) { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1500ms var(--ease) 150ms forwards; }
.cx-view.is-active .cx-area { opacity: 0; animation: fade 600ms ease 1300ms forwards; }
.cx-cross { stroke: #0E2438; stroke-opacity: 0.3; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.cx-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--blue); }
.cx-dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--blue); opacity: 0; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(0.4); opacity: 0.7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.cx-tip { position: absolute; transform: translate(14px, -28%); display: grid; gap: 3px; min-width: 140px; padding: 8px 10px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 10.5px; box-shadow: 0 10px 24px -8px rgba(2, 8, 16, 0.5); }
.cx-tip small { font-family: var(--mono); font-size: 9.5px; opacity: 0.6; }
.cx-tip span { display: flex; } .cx-tip b { margin-left: auto; padding-left: 12px; font-variant-numeric: tabular-nums; }
.cx-flag { position: absolute; }
.cx-flag i { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--teal); border: 2px solid #fff; }
.cx-flag span { position: absolute; left: -10px; bottom: 12px; white-space: nowrap; font-size: 10.5px; color: #0E2438; background: #fff; border: 1px solid rgba(14, 165, 165, 0.45); border-radius: 5px; padding: 3px 8px; box-shadow: 0 6px 14px -8px rgba(2, 8, 16, 0.35); }
.cx-flag b { color: #0B7B7B; font-weight: 600; }
.cx-x { grid-column: 2; display: flex; justify-content: space-between; margin-top: 7px; font-family: var(--mono); font-size: 9.5px; color: var(--c-faint); }

/* Bars, tables */
.cx-lbl { display: grid; gap: 11px; }
.cx-lbl div { display: grid; grid-template-columns: minmax(0, 1fr) auto 38px; gap: 5px 8px; align-items: baseline; color: var(--c-dim); font-variant-numeric: tabular-nums; }
.cx-lbl i { grid-row: 2; grid-column: 1 / -1; height: 6px; background: #EEF1F4; border-radius: 3px; overflow: hidden; }
.cx-lbl u, .cx-barcell u, .cx-pace u, .cx-bal u { display: block; height: 100%; border-radius: 3px; background: var(--blue); transform-origin: left; }
.cx-view.is-active .cx-lbl u, .cx-view.is-active .cx-barcell u, .cx-view.is-active .cx-bal u { animation: grow 900ms var(--ease) both; }
.cx-lbl u.c1 { background: var(--teal); } .cx-lbl u.c2 { background: #9DB9FF; }
.cx-lbl b { color: #0E2438; font-weight: 600; }
.cx-lbl em, .cx-bal em { font-style: normal; font-size: 11px; font-weight: 600; color: #0F8A53; text-align: right; }
.cx-lbl em.neg, .cx-bal em.neg { color: var(--c-faint); }
.cx-tr { display: grid; grid-template-columns: minmax(0, 1.5fr) 50px minmax(0, 1.3fr) 60px 54px 62px 100px; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--c-line); font-size: 12px; font-variant-numeric: tabular-nums; color: var(--c-dim); }
.cx-tr > span:nth-child(4), .cx-tr > span:nth-child(5), .cx-tr > span:nth-child(6) { text-align: right; }
.cx-th { border-top: 0; padding-top: 0; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-faint); }
.cx-name { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: #0E2438; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-name--text { font-family: var(--font); font-size: 12px; }
.cx-tr--sub { background: #FAFBFC; font-size: 11.5px; }
.cx-tr--sub .cx-name { padding-left: 18px; font-family: var(--font); color: var(--c-dim); }
.cx-ch { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 4px; background: var(--blue-soft); color: var(--blue-deep); }
.cx-ch--ctv { background: #E1F4F4; color: #0B7B7B; } .cx-ch--rt { background: #FBF1DF; color: #8A5A0B; }
.cx-barcell { display: grid; grid-template-columns: minmax(0, 1fr) 50px; gap: 8px; align-items: center; }
.cx-barcell i, .cx-pace i, .cx-bal i { height: 6px; background: #EEF1F4; border-radius: 3px; overflow: hidden; }
.cx-barcell b { text-align: right; color: #0E2438; font-weight: 600; }
.cx-strong { color: #0E2438; font-weight: 600; }
.cx-pace { display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 8px; align-items: center; font-size: 11px; }
.cx-pace i { height: 4px; } .cx-pace u { background: var(--green); }
.cx-total { font-weight: 600; color: #0E2438; border-top: 1px solid rgba(14, 36, 56, 0.25); }
.cx-table--supply .cx-tr { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 64px 64px 56px; }
.cx-table--supply .cx-tr > span:nth-child(3) { text-align: right; }

/* Secondary views */
.cx-stack { height: 150px; }
.cx-brief { margin-top: 14px; padding: 10px 12px; background: var(--c-bg); border-radius: 6px; font-size: 11.5px; color: var(--c-dim); }
.cx-brief b, .cx-tags small { display: block; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.cx-brief b { color: var(--blue-deep); margin-bottom: 3px; } .cx-tags small { color: var(--c-faint); margin-bottom: 2px; }
.cx-tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; font-size: 11.5px; color: var(--c-dim); }
.cx-heat { display: grid; grid-template-columns: 44px repeat(7, 1fr); gap: 3px; }
.cx-heat i { height: 22px; border-radius: 3px; background: var(--blue); }
.cx-heat .h, .cx-heat .l { font-family: var(--mono); font-size: 9.5px; color: var(--c-faint); }
.cx-heat .h { text-align: center; } .cx-heat .l { align-self: center; }
.cx-note { margin-top: 10px; font-size: 11px; color: var(--c-faint); }
.cx-plan { position: relative; height: 138px; }
.cx-planrow { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--c-line); }
.cx-planrow small { display: block; font-size: 10.5px; color: var(--c-faint); } .cx-planrow b { font-size: 13px; font-weight: 600; } .cx-planrow .ok { color: #0F8A53; }
.cx-bal { display: grid; gap: 10px; }
.cx-bal div { display: grid; grid-template-columns: 150px minmax(0, 1fr) 34px 50px; gap: 10px; align-items: center; font-variant-numeric: tabular-nums; }
.cx-bal b { text-align: right; font-weight: 600; }
.cx-supply { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 20px; align-items: center; }
.cx-donut { position: relative; }
.cx-donut svg { transform: rotate(-90deg); width: 100%; } .cx-donut circle { fill: none; stroke-width: 5; }
.cx-donut div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.cx-donut b { font-size: 17px; font-weight: 700; } .cx-donut span { font-family: var(--mono); font-size: 9.5px; color: var(--c-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.cx-exch { display: grid; gap: 10px; }
.cx-exch div { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; color: var(--c-dim); }
.cx-exch i { width: 10px; height: 10px; border-radius: 2px; } .cx-exch b { color: #0E2438; font-weight: 600; }
.cx-ctrl li { display: grid; grid-template-columns: 14px 1fr auto; gap: 8px; align-items: center; padding: 9px 0; border-top: 1px solid var(--c-line); color: var(--c-dim); }
.cx-ctrl li:first-child { border-top: 0; padding-top: 0; }
.cx-ctrl i { width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) translateY(-2px); }
.cx-ctrl b { color: #0E2438; font-weight: 600; }

/* Shared cursors */
.con-cursor { position: absolute; z-index: 3; left: 0; top: 0; pointer-events: none; filter: drop-shadow(0 4px 8px rgba(2, 8, 16, 0.3)); }
.con-cursor path { stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.con-cursor span { position: absolute; left: 14px; top: 16px; white-space: nowrap; font-size: 11px; font-weight: 600; color: #fff; padding: 3px 8px; border-radius: 4px 10px 10px 10px; }
.con-cursor--m path { fill: var(--teal); } .con-cursor--m span { background: var(--teal); }
.con-cursor--y path { fill: var(--blue); } .con-cursor--y span { background: var(--blue); }
.con-cursor--m { animation: cur-m 18s ease-in-out infinite; }
.con-cursor--y { animation: cur-y 22s ease-in-out infinite; }
@keyframes cur-m { 0%, 100% { left: 47%; top: 60%; } 22% { left: 36%; top: 82%; } 46% { left: 55%; top: 44%; } 70% { left: 30%; top: 30%; } 86% { left: 62%; top: 74%; } }
@keyframes cur-y { 0%, 100% { left: 78%; top: 36%; } 26% { left: 68%; top: 66%; } 52% { left: 88%; top: 52%; } 76% { left: 58%; top: 20%; } }

/* ── Pillars, ruled grids, commitments ──────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.pillars > div { padding: 32px 36px 8px 0; }
.pillars > div + div { padding-left: 36px; border-left: 1px solid var(--line); }
.pillars p, .ruled-i p, .how-i p, .verticals p, .steps p, .roles p, .articles p { color: var(--text-2); margin-top: 12px; font-size: 15.5px; }
.ruled { display: grid; border-top: 1px solid var(--line-2); }
.ruled--3 { grid-template-columns: repeat(3, 1fr); }
.ruled-i { padding: 32px 36px 36px 0; border-bottom: 1px solid var(--line); }
.ruled--3 .ruled-i:not(:nth-child(3n + 1)) { padding-left: 36px; border-left: 1px solid var(--line); }
.ruled-i .tag { margin-bottom: 18px; }
.commit { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--white); }
.commit > div { padding: 30px 28px; }
.commit > div + div { border-left: 1px solid var(--line); }
.commit b { display: block; font-size: clamp(21px, 2vw, 27px); line-height: 1.1; font-weight: 600; font-stretch: 108%; letter-spacing: -0.02em; color: var(--blue); }
.commit b span { color: var(--text); }
.commit small { display: block; margin-top: 14px; font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--text-3); }
.proof { margin-top: clamp(48px, 6vw, 80px); text-align: center; display: grid; justify-items: center; gap: 22px; }

/* ── Tabs + solutions ───────────────────────────────────────────────── */
.tabs-list { display: flex; gap: 4px; border-bottom: 1px solid var(--line-2); margin-bottom: 48px; overflow-x: auto; scrollbar-width: none; }
.tabs-list button { padding: 14px 20px; font-size: 15.5px; font-weight: 600; color: var(--text-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color 150ms; }
.tabs-list button:hover { color: var(--text); }
.tabs-list button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--blue); }
.tabs-panel:not([hidden]) { animation: con-in 420ms var(--ease); }
.tabs-panel [data-reveal] { opacity: 1; transform: none; }
.sol { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.sol--flip .sol-copy { order: 2; }
.sols .sol + .sol { margin-top: clamp(72px, 9vw, 128px); }
.sol-copy .tag { margin-bottom: 20px; }
.sol-copy > p { color: var(--text-2); margin-top: 20px; font-size: 17px; max-width: 48ch; }
.sol-copy .tlink { margin-top: 28px; }
.ticks { margin-top: 24px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 500; font-size: 15.5px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 7px; border-left: 2px solid var(--hl); border-bottom: 2px solid var(--hl); transform: rotate(-45deg); }
.subnav { position: sticky; top: var(--hdr); z-index: 20; background: color-mix(in srgb, var(--white) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.subnav a { padding: 14px 0; font-size: 14.5px; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.subnav a:hover { color: var(--text); }
.verticals { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.verticals > div { padding: 26px 32px 26px 0; border-bottom: 1px solid var(--line); }
.verticals > div:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.verticals p { margin-top: 6px; }

/* ── Solution visuals ───────────────────────────────────────────────── */
.vis { position: relative; display: flex; align-items: center; justify-content: center; gap: 28px; min-height: 480px; padding: 40px 32px; border-radius: 16px; background: var(--ink); overflow: hidden; }
.vis::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent); mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent); }
.vis::after { content: ''; position: absolute; width: 420px; height: 420px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(37, 99, 235, 0.4), transparent 65%); }
.vis > * { position: relative; z-index: 1; }
.vis--ctv, .vis--labels { flex-direction: column; }
.phone { flex: none; width: 216px; aspect-ratio: 9 / 18.5; padding: 7px; border-radius: 36px; background: #05101C; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.phone-screen { position: relative; height: 100%; border-radius: 29px; overflow: hidden; background: #0F2438; }
.phone-screen::before { content: ''; position: absolute; z-index: 2; top: 8px; left: 50%; width: 62px; height: 18px; margin-left: -31px; border-radius: 10px; background: #05101C; }
.ad { height: 100%; display: flex; flex-direction: column; background: linear-gradient(170deg, #163C8C 0%, #0F2438 60%); color: #fff; }
.ad-top { display: flex; align-items: center; gap: 8px; padding: 36px 12px 0; font-size: 9.5px; font-weight: 700; }
.ad-top span { border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 3px; padding: 0 4px; }
.ad-top i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.ad-top u { display: block; height: 100%; background: #fff; animation: prog 9s linear infinite; }
@keyframes prog { from { width: 0; } to { width: 100%; } }
.ad-scene { flex: 1; display: grid; place-items: center; position: relative; }
.tiles { display: grid; grid-template-columns: repeat(4, 34px); gap: 6px; }
.tiles i { aspect-ratio: 1; border-radius: 9px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18), inset 0 2px 0 rgba(255, 255, 255, 0.3); }
.tiles .t0 { background: #3D7BFF; } .tiles .t1 { background: #26C6B6; } .tiles .t2 { background: #FFB648; } .tiles .t3 { background: #F0F4FA; }
.tiles i:nth-child(6), .tiles i:nth-child(7), .tiles i:nth-child(8) { animation: match 3.6s ease-in-out infinite; }
.tiles i:nth-child(7) { animation-delay: 80ms; } .tiles i:nth-child(8) { animation-delay: 160ms; }
@keyframes match { 0%, 55%, 100% { transform: none; opacity: 1; } 68% { transform: scale(1.18); opacity: 1; } 80%, 92% { transform: scale(0.2); opacity: 0; } }
.ad-hand { position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: rgba(255, 255, 255, 0.3); left: 50%; top: 50%; animation: hand 3.6s ease-in-out infinite; }
@keyframes hand { 0%, 100% { transform: translate(-58px, 34px); opacity: 0; } 20% { opacity: 1; } 50% { transform: translate(22px, -22px); opacity: 1; } 62% { transform: translate(22px, -22px) scale(0.8); opacity: 1; } 75% { opacity: 0; } }
.ad-app { display: flex; align-items: center; gap: 8px; margin: 0 10px 12px; padding: 9px; border-radius: 14px; background: rgba(255, 255, 255, 0.96); color: #0E2438; }
.ad-icon { flex: none; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, #2563EB, #26C6B6); }
.ad-meta { flex: 1; min-width: 0; line-height: 1.2; } .ad-meta b { display: block; font-size: 11.5px; } .ad-meta small { font-size: 9.5px; color: #74859A; }
.ad-cta { font-size: 11px; font-weight: 700; color: #fff; background: var(--blue); border-radius: 14px; padding: 6px 12px; }
.ticket { background: #fff; color: #0E2438; border-radius: 10px; padding: 16px 18px; min-width: 228px; font-family: var(--mono); font-size: 12px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6); }
.ticket-h { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #74859A; margin-bottom: 10px; }
.ticket-r { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-top: 1px solid rgba(14, 36, 56, 0.1); color: #44576A; }
.ticket-r b { color: #0E2438; font-weight: 600; }
.ticket-res { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(14, 36, 56, 0.1); font-weight: 600; color: #0F8A53; font-size: 11.5px; }
.ticket-res i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.8s ease-in-out infinite; }
.ticket--row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: min(100%, 460px); }
.ticket blockquote { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(14, 36, 56, 0.1); font-family: var(--font); font-size: 14px; font-weight: 500; line-height: 1.4; color: #0E2438; }
.tv { width: min(100%, 460px); }
.tv-screen { position: relative; aspect-ratio: 16 / 9; border: 7px solid #05101C; border-radius: 10px; overflow: hidden; background: linear-gradient(120deg, #163C8C, #0B2A55 55%, #0A1A2B); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px -24px rgba(0, 0, 0, 0.8); }
.tv-ad { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7% 8%; color: #fff; }
.tv-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; opacity: 0.9; }
.tv-brand i { width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(135deg, #2563EB, #26C6B6); }
.tv-copy b { display: block; margin: 10px 0 8px; font-size: clamp(17px, 2vw, 24px); line-height: 1.1; font-weight: 600; font-stretch: 108%; letter-spacing: -0.02em; }
.tv-copy small { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.tv-qr { flex: none; width: 23%; aspect-ratio: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: 7px; border-radius: 8px; background: #fff; }
.tv-qr i { border-radius: 1px; } .tv-qr i.on { background: #0E2438; }
.tv-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.2); } .tv-bar u { display: block; height: 100%; background: #fff; animation: prog 12s linear infinite; }
.tv-stand { width: 34%; height: 9px; margin: 0 auto; background: #05101C; clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.freq { display: flex; align-items: center; gap: 6px; } .freq i { width: 16px; height: 16px; border-radius: 4px; background: #E3E8EE; } .freq i.on { background: var(--blue); } .freq span { margin-left: 4px; font-size: 11px; color: #44576A; }
.seq { display: flex; flex-wrap: wrap; gap: 5px; } .seq span { font-size: 10.5px; padding: 3px 7px; border-radius: 4px; background: #EEF1F4; color: #74859A; }
.seq .done { background: var(--blue-soft); color: var(--blue-deep); } .seq .now { background: var(--blue); color: #fff; font-weight: 600; }
.story { height: 100%; display: flex; flex-direction: column; padding: 34px 12px 14px; background: linear-gradient(200deg, #0E7C7C 0%, #0F2438 65%); color: #fff; }
.story-bars { display: flex; gap: 4px; } .story-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.story-bars .full { background: #fff; } .story-bars u { display: block; height: 100%; background: #fff; animation: prog 6s linear infinite; }
.story-who { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; } .story-who .ad-icon { width: 24px; height: 24px; border-radius: 50%; } .story-who small { opacity: 0.6; }
.story-card { margin-top: auto; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.96); color: #0E2438; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.story-card small { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #0E7C7C; }
.story-card b { display: block; margin: 6px 0 12px; font-size: 16px; line-height: 1.15; font-stretch: 108%; }
.story-card span { display: block; text-align: center; font-size: 11.5px; font-weight: 700; color: #fff; background: #0E2438; border-radius: 10px; padding: 8px; }
.lapse { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; height: 110px; align-items: end; }
.lapse div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; }
.lapse i { width: 100%; border-radius: 3px 3px 0 0; background: #DCE4EE; transform-origin: bottom; }
.in .lapse i, .tabs-panel .lapse i { animation: rise 900ms var(--ease) both; }
@keyframes rise { from { transform: scaleY(0); } }
.lapse .peak i { background: var(--blue); } .lapse span { font-size: 10px; color: #74859A; } .lapse .peak span { color: var(--blue-deep); font-weight: 600; }
.creative { display: flex; gap: 20px; align-items: center; width: min(100%, 460px); }
.creative-thumb { flex: none; position: relative; width: 132px; aspect-ratio: 9 / 14; border-radius: 12px; background: linear-gradient(160deg, #26C6B6, #2563EB 60%, #163C8C); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 20px 40px -16px rgba(0, 0, 0, 0.7); display: grid; place-items: center; }
.creative-thumb .play { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); position: relative; }
.creative-thumb .play::after { content: ''; position: absolute; left: 15px; top: 11px; border-left: 12px solid #0E2438; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.creative-thumb small { position: absolute; left: 8px; bottom: 8px; font-family: var(--mono); font-size: 9px; color: #fff; opacity: 0.85; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-family: var(--mono); font-size: 11px; color: #fff; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 5px; padding: 4px 8px; opacity: 0; animation: tag-in 500ms var(--ease) forwards; }
.tags span:nth-child(1) { animation-delay: 200ms; } .tags span:nth-child(2) { animation-delay: 350ms; } .tags span:nth-child(3) { animation-delay: 500ms; } .tags span:nth-child(4) { animation-delay: 650ms; } .tags span:nth-child(5) { animation-delay: 800ms; } .tags span:nth-child(6) { animation-delay: 950ms; } .tags span:nth-child(7) { animation-delay: 1150ms; }
@keyframes tag-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.tags small { color: #8DAEFF; margin-right: 6px; font-size: 10px; }
.tags .more { margin: 0; background: none; border-style: dashed; color: #A9B9C9; }
.vis--labels .ticket { width: min(100%, 460px); }
.lbars { display: grid; gap: 9px; }
.lbars div { display: grid; grid-template-columns: 110px 1fr 40px; gap: 10px; align-items: center; color: #44576A; }
.lbars i { height: 10px; background: #EEF1F4; border-radius: 3px; overflow: hidden; } .lbars u { display: block; height: 100%; background: var(--blue); border-radius: 3px; }
.lbars div:nth-child(2) u { background: var(--teal); } .lbars div:nth-child(3) u { background: #9DB9FF; }
.lbars b { text-align: right; color: #0E2438; }

/* ── Tech band + funnel ─────────────────────────────────────────────── */
.tech-head { max-width: 980px; margin-bottom: clamp(40px, 5vw, 64px); }
.tech-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.tech--flush { padding-top: 0; }
.funnel { position: relative; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, 0.025); }
.funnel canvas { width: 100%; height: clamp(220px, 26vw, 320px); }
.funnel-stages { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.funnel-stages > div { padding: 20px 22px 22px; display: grid; gap: 4px; }
.funnel-stages > div + div { border-left: 1px solid var(--line); }
.funnel-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.funnel-stages b { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; font-weight: 600; font-stretch: 108%; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.funnel-stages > div:nth-child(2) b { color: #8DAEFF; } .funnel-stages > div:nth-child(4) b { color: #4ADE9B; }
.funnel-n { font-size: 13.5px; color: var(--text-2); }
.synth { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; padding: clamp(32px, 5vw, 64px); border-radius: 16px; }
.synth > p { color: var(--text-2); }

/* ── How we work, steps, roles, articles ────────────────────────────── */
.how { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.how-i { padding: 32px 0; border-top: 1px solid var(--line); }
.how-i:first-child { border-top: 1px solid var(--line-2); }
.how-i .tag { margin-bottom: 16px; }
.how-vis { position: sticky; top: calc(var(--hdr) + 32px); }
.feed { margin: 0; }
.feed ol { border: 1px solid var(--line-2); border-top: 0; border-radius: 0 0 12px 12px; overflow: hidden; background: var(--white); }
.feed-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--ink); color: #EEF3F8; border-radius: 12px 12px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.feed-key { display: inline-flex; align-items: center; gap: 6px; color: #A9B9C9; } .feed-key i { width: 8px; height: 8px; border-radius: 2px; margin-left: 10px; }
.feed i.model, .feed .model .feed-w { background: var(--blue); } .feed i.team, .feed .team .feed-w { background: var(--amber); }
.feed li { display: grid; grid-template-columns: 44px 56px 1fr; gap: 12px; align-items: baseline; padding: 15px 18px; border-top: 1px solid var(--line); font-size: 14.5px; transition: background 500ms; }
.feed li:first-child { border-top: 0; }
.feed li.is-now { background: var(--blue-soft); }
.feed li.team.is-now { background: #FBF1DF; }
.feed-t { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.feed-w { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; border-radius: 3px; padding: 2px 0; text-align: center; }
.feed .team .feed-w { color: #3B2A08; }
.feed figcaption { color: var(--text-3); }
.steps-n { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 12px; }
.steps--row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--line-2); }
.steps--row li { position: relative; padding: 30px 28px 0 0; }
.steps--row li::before { content: ''; position: absolute; left: 0; top: -6px; width: 10px; height: 10px; background: var(--blue); }
.steps--line { position: relative; display: grid; gap: 0; }
.steps--line::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); }
.steps--line::after { content: ''; position: absolute; left: 5px; top: 8px; width: 2px; height: calc((100% - 16px) * var(--p, 0)); background: var(--blue); transition: height 200ms linear; }
.steps--line li { position: relative; padding: 0 0 56px 56px; }
.steps--line li:last-child { padding-bottom: 0; }
.steps--line li::before { content: ''; position: absolute; z-index: 1; left: 0; top: 4px; width: 12px; height: 12px; background: var(--white); border: 2px solid var(--blue); }
.steps--line .h3 { font-size: clamp(24px, 2.4vw, 32px); }
.steps--line p { font-size: 17px; max-width: 56ch; }
.roles { border-top: 1px solid var(--line-2); margin-top: 8px; }
.roles li { display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.roles p { margin-top: 6px; } .roles-meta { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.articles { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-2); }
.articles li { border-bottom: 1px solid var(--line); }
.articles li:nth-child(even) { border-left: 1px solid var(--line); }
.articles a { display: block; height: 100%; padding: 36px 40px 40px 0; transition: background 200ms; }
.articles li:nth-child(even) a { padding-left: 40px; }
.articles a:hover .h3 { color: var(--blue); }
.articles-meta { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-bottom: 18px; }
.articles .tlink { margin-top: 20px; }
.indep { margin: 0; }
.indep-row { display: grid; grid-template-columns: 1fr auto 1.3fr auto 1fr; align-items: center; }
.indep-node { border: 1px solid var(--line-2); border-radius: 12px; padding: 24px; background: var(--paper); }
.indep-node small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.indep-node b { font-size: 19px; line-height: 1.2; font-weight: 600; font-stretch: 108%; }
.indep-node--us { background: var(--ink); color: #fff; border-color: var(--ink); } .indep-node--us small { color: #8DAEFF; }
.indep-link { width: clamp(70px, 11vw, 150px); height: 2px; background: var(--blue); position: relative; }
.indep-link span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 11px; color: var(--blue-deep); }
.indep-link::after { content: ''; position: absolute; right: -1px; top: -4px; border-left: 8px solid var(--blue); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.indep-none { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.indep-none span { font-family: var(--mono); font-size: 12.5px; color: var(--text-3); border: 1px dashed var(--line-2); border-radius: 6px; padding: 8px 14px; }

/* ── CTA ────────────────────────────────────────────────────────────── */
.cta { background: var(--paper); padding: 0 0 clamp(64px, 8vw, 104px); }
.band--white + .cta { background: var(--white); }
.cta-box { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: clamp(36px, 5vw, 64px); border-radius: 16px; background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000); mask-image: linear-gradient(100deg, transparent 35%, #000); }
.cta-box > * { position: relative; }
.cta-box .h2 span { color: #C3D4FF; }
.cta-box p { margin-top: 14px; color: #DCE6FF; max-width: 52ch; }
.cta-actions { display: grid; gap: 16px; justify-items: start; }
.cta-next { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: #fff; }

/* ── Contact + FAQ ──────────────────────────────────────────────────── */
.contact { position: relative; padding: calc(var(--hdr) + clamp(56px, 7vw, 96px)) 0 clamp(64px, 8vw, 104px); }
.contact-in { position: relative; z-index: 1; display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact .lead { margin-top: 22px; }
.ticks--dark { margin-top: 32px; } .ticks--dark li { color: var(--text-2); font-weight: 400; }
.form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 36px); border-radius: 14px; background: #fff; color: #0E2438; box-shadow: 0 40px 80px -30px rgba(2, 8, 16, 0.7); }
.form label { display: grid; gap: 7px; font-size: 13.5px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: 15.5px; color: #0E2438; width: 100%; padding: 12px 14px; border: 1px solid rgba(14, 36, 56, 0.22); border-radius: 6px; background: #fff; transition: border-color 150ms, box-shadow 150ms; }
.form textarea { resize: vertical; min-height: 104px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
.form ::placeholder { color: #8C9AAA; }
.form-note { font-size: 12.5px; line-height: 1.5; color: #5C6E80; }
.faq { margin-top: 40px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; position: relative; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--blue); transition: transform 200ms; }
.faq summary i::after { transform: rotate(90deg); } .faq details[open] summary i::after { transform: none; }
.faq details p { padding: 0 40px 24px 0; color: var(--text-2); max-width: 68ch; }

/* ── Articles + legal ───────────────────────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 24px; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.crumbs a:hover { color: var(--text); }
.prose { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 104px); }
.prose-page--light .prose { padding-top: calc(var(--hdr) + clamp(48px, 6vw, 80px)); }
.prose h2 { font-size: 24px; line-height: 1.2; font-weight: 600; font-stretch: 108%; letter-spacing: -0.015em; margin-top: 48px; }
.prose p { margin-top: 14px; font-size: 17.5px; line-height: 1.7; color: var(--text-2); }
.prose a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose-date { font-family: var(--mono); font-size: 12.5px !important; color: var(--text-3) !important; }
.prose-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding: 24px 28px; border: 1px solid var(--line-2); border-radius: 12px; font-weight: 600; font-size: 17px; }
.prose-cta a { color: #fff; text-decoration: none; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.ftr { padding: clamp(56px, 7vw, 88px) 0 32px; }
.ftr-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.ftr-brand p { margin-top: 18px; color: var(--text-2); max-width: 30ch; font-size: 15px; }
.ftr-mail { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 13.5px; color: #8DAEFF; }
.ftr-mail:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftr-col h2 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.ftr-col ul { display: grid; gap: 10px; }
.ftr-col a, .ftr-legal a { color: var(--text-2); font-size: 14.5px; transition: color 150ms; }
.ftr-col a:hover, .ftr-legal a:hover { color: #fff; }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.ftr-legal { display: flex; gap: 24px; } .ftr-legal a { font-size: 13px; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .con-cursor { display: none; }
  .cx { grid-template-columns: 176px minmax(0, 1fr); }
  .cx-filters span:first-child { display: none; }
}
@media (max-width: 960px) {
  .nav, .hdr-cta .btn { display: none; }
  .burger { display: block; }
  .sec-head, .sol, .how, .contact-in, .synth, .cta-box { grid-template-columns: 1fr; }
  .sec-lead { justify-self: start; }
  .sol--flip .sol-copy { order: 0; }
  .how-vis { position: static; }
  .ruled--3, .verticals { grid-template-columns: 1fr 1fr; }
  .ruled--3 .ruled-i:not(:nth-child(3n + 1)), .verticals > div:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .ruled--3 .ruled-i:nth-child(even), .verticals > div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .commit, .funnel-stages { grid-template-columns: 1fr 1fr; }
  .commit > div:nth-child(3), .funnel-stages > div:nth-child(3) { border-left: 0; }
  .commit > div:nth-child(n + 3), .funnel-stages > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps--row { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
  .indep-row { grid-template-columns: 1fr; justify-items: center; gap: 0; }
  .indep-node { width: 100%; }
  .indep-link { width: 2px; height: 56px; } .indep-link span { left: 16px; bottom: 20px; transform: none; }
  .indep-link::after { right: -4px; top: auto; bottom: -1px; border-top: 8px solid var(--blue); border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 0; }
}
@media (max-width: 640px) {
  :root { --gut: 20px; }
  .pillars, .ruled--3, .verticals, .articles, .steps--row { grid-template-columns: 1fr; }
  .pillars > div, .pillars > div + div { padding: 28px 0 4px; border-left: 0; }
  .pillars > div + div { border-top: 1px solid var(--line); margin-top: 24px; }
  .ruled--3 .ruled-i:nth-child(n), .verticals > div:nth-child(n) { padding-left: 0; border-left: 0; }
  .articles li:nth-child(even) { border-left: 0; } .articles li:nth-child(n) a { padding: 28px 0 32px; }
  .roles li { grid-template-columns: 1fr; gap: 12px; }
  .hero-stage { margin-bottom: -90px; } .hero + .band, .hero + .pillars-band { padding-top: calc(90px + 56px); }
  .vis { flex-direction: column; min-height: 0; padding: 32px 20px; }
  .ticket--row { grid-template-columns: 1fr; } .creative { flex-direction: column; align-items: flex-start; }
  .funnel-stages > div { padding: 16px; }
  .faq summary { font-size: 16.5px; }
  .ftr-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .con-cursor { display: none; }
}

/* Section spacing adjustments */
.pillars-band { padding-bottom: clamp(48px, 6vw, 80px); }
/* Page titles: keep the highlighted second sentence on its own line */
.phero .h1 .hl, .hero--inner .h1 .hl, .contact .h1 .hl { display: block; }
.phero .h1 { max-width: 24ch; }

/* Hero: keep the console visible on first load (laptop-height screens) */
.display { font-size: clamp(38px, 4.9vw, 68px); }
.hero { padding-top: calc(var(--hdr) + clamp(40px, 4.5vw, 64px)); }
.hero-stage { margin-top: clamp(36px, 4vw, 56px); }
@media (min-width: 961px) {
  .hero-copy { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: end; }
  .hero-copy > .eyebrow, .hero-copy > h1 { grid-column: 1 / -1; }
  .hero-copy .actions { margin-top: 0; padding-bottom: 4px; }
  .display .hl { display: block; }
}

/* Console on small screens */
@media (max-width: 960px) {
  .cx { grid-template-columns: minmax(0, 1fr); }
  .cx-side { flex-direction: row; padding: 8px; border-right: 0; border-bottom: 1px solid var(--c-line); overflow-x: auto; scrollbar-width: none; }
  .cx-acct, .cx-team, .cx-filters { display: none; }
  .cx-nav { display: flex; }
  .cx-cols, .cx-cols--even { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .con-url, .cx-btn, .cx-flag span, .cx-panel--chart .cx-legend { display: none; }
  .cx-main { padding: 12px; }
  .cx-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cx-kpi b { font-size: 19px; }
  .cx-spark { width: 52px; }
  .cx-tr { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 52px 50px; gap: 8px; }
  .cx-tr > span:nth-child(2), .cx-tr > span:nth-child(5), .cx-tr > span:nth-child(7) { display: none; }
  .cx-table--supply .cx-tr { grid-template-columns: minmax(0, 1.6fr) 56px 56px; }
  .cx-table--supply .cx-tr > span:nth-child(5) { display: block; text-align: right; }
  .cx-table--supply .cx-tr > span:nth-child(4) { display: none; }
  .cx-tags { grid-template-columns: 1fr 1fr; }
  .cx-supply { grid-template-columns: 96px minmax(0, 1fr); }
  .cx-bal div { grid-template-columns: 110px minmax(0, 1fr) 30px; } .cx-bal em { display: none; }
  .cx-tip { min-width: 120px; transform: translate(calc(-100% - 12px), -28%); }
}
@media (max-width: 640px) {
  .cx-flag, .cx-panel--table > header small { display: none; }
}

/* ── Early access page ──────────────────────────────────────────────── */
.ea { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.ea .ticks { margin-top: 28px; gap: 16px; } .ea .ticks li { font-size: 17px; }
.ea-read a { display: block; padding: 22px 0; border-top: 1px solid var(--line); }
.ea-read a:first-of-type { border-top-color: var(--line-2); }
.ea-read .articles-meta { margin-bottom: 10px; } .ea-read b { display: block; } .ea-read .tlink { margin-top: 12px; }
.ea-read a:hover b { color: var(--blue); }
.more--gap { margin-top: 56px; }

/* ── Article chart: exploration to traction ─────────────────────────── */
.tr { margin: 36px 0 8px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--white); overflow: hidden; }
.tr-phases { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 4fr); border-bottom: 1px solid var(--line); }
.tr-phases div { padding: 14px 16px; min-width: 0; }
.tr-phases div + div { border-left: 1px solid var(--line); }
.tr-phases small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.tr-phases b { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.25; font-weight: 600; color: var(--text); }
.tr-body { position: relative; }
.tr-bands { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 4fr); pointer-events: none; }
.tr-bands i + i { border-left: 1px dashed var(--line-2); }
.tr-bands i:nth-child(even) { background: rgba(14, 36, 56, 0.025); }
.tr-bands i:first-child { background: repeating-linear-gradient(135deg, rgba(14, 36, 56, 0.05) 0 1px, transparent 1px 7px); }
.tr-panel { position: relative; padding: 14px 0 18px; }
.tr-panel + .tr-panel { border-top: 1px solid var(--line); }
.tr-label { display: flex; align-items: center; gap: 8px; padding: 0 16px 10px; font-size: 13px; color: var(--text-3); }
.tr-label b { color: var(--text); font-weight: 600; }
.tr-label i { width: 14px; height: 3px; border-radius: 2px; }
.tr i.cpi { background: #0B8A8A; } .tr i.roas { background: var(--blue); }
.tr-plot { position: relative; height: 140px; margin-left: 15.79%; } /* starts where week 1 starts: 1.5 of 9.5 columns */
.tr-plot svg { width: 100%; height: 100%; overflow: visible; }
.tr-line { fill: none; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.tr-line--cpi { stroke: #0B8A8A; } .tr-line--roas { stroke: var(--blue); }
.tr-end { position: absolute; right: 2px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 2px solid var(--white); }
.tr-note { position: absolute; font-size: 12.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.tr-cross { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(14, 36, 56, 0.45); pointer-events: none; }
.tr-cross span { position: absolute; top: 8px; left: 8px; white-space: nowrap; font-size: 11.5px; font-weight: 600; color: #fff; background: var(--ink); border-radius: 5px; padding: 4px 8px; }
.tr-cross.flip span { left: auto; right: 8px; }
.tr-x { display: grid; grid-template-columns: 1.5fr repeat(8, 1fr); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.tr-x span { padding: 8px 0; text-align: center; }
.tr figcaption { padding: 10px 16px 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }
.prose .tr figcaption { margin: 0; }
.prose-related { display: grid; gap: 8px; margin-top: 48px !important; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px !important; }
.prose-related span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.prose-related a { font-weight: 600; }
@media (max-width: 960px) { .ea { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .tr-note { display: none; }
  .tr-phases div { padding: 10px 10px; } .tr-phases b { font-size: 12px; } .tr-phases small { font-size: 9.5px; }
  .tr-plot { height: 110px; }
  .tr-phases div:first-child { padding-right: 4px; }
  .tr-x { font-size: 9.5px; }
}

/* ── Honeycomb artwork (drawn on a canvas by site.js) ───────────────── */
.hive { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.phero { overflow: hidden; }
.phero::before { content: none; }
.cta-box { grid-template-columns: minmax(0, 1fr); gap: 28px; background: #07131F; color: #EEF3F8; min-height: 300px; align-content: center; }
.cta-box::before { content: none; }
.cta-box > .hive { position: absolute; }
.cta-box > div { max-width: 600px; }
.cta-box .h2 span { color: #8DAEFF; }
.cta-box p { color: #A9B9C9; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.cta-next { color: #C7D3DF; }
.cta-next:hover { color: #fff; }
.notfound > .wrap { width: 100%; }
.notfound { min-height: 100vh; min-height: 100svh; }

/* ── Game art inside the device mockups ─────────────────────────────── */
.game { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.g-float { animation: g-float 7s ease-in-out infinite; }
@keyframes g-float { 50% { transform: translateY(-3px); } }
.g-bob { animation: g-bob 3.4s ease-in-out infinite; }
@keyframes g-bob { 50% { transform: translateY(-3.5px); } }
.g-rays { transform-box: fill-box; transform-origin: center; animation: g-spin 40s linear infinite; }
@keyframes g-spin { to { transform: rotate(360deg); } }
.g-lamp { animation: g-lamp 3s ease-in-out infinite; }
@keyframes g-lamp { 50% { opacity: 0.6; } }
.g-star { animation: g-star 4s ease-in-out infinite; }
@keyframes g-star { 50% { opacity: 0.15; } }

/* Phone: playable ad */
.ad { background: #0A1533; }
.ad-scene { overflow: hidden; }
.ad-top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; }
.hud { position: absolute; z-index: 2; top: 56px; left: 10px; right: 10px; display: flex; justify-content: space-between; font-size: 9.5px; font-weight: 700; letter-spacing: 0.03em; color: #fff; }
.hud span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 10px; background: rgba(6, 15, 38, 0.6); border: 1px solid rgba(255, 255, 255, 0.16); }
.hud-gems i { width: 7px; height: 7px; background: #FFC55C; transform: rotate(45deg); }
.ad-hand { z-index: 2; }
.ad-pop { position: absolute; z-index: 2; left: 60%; top: 41%; font-size: 13px; font-weight: 800; color: #FFE7A8; text-shadow: 0 1px 6px rgba(6, 15, 38, 0.8); opacity: 0; animation: ad-pop 3.6s ease-out infinite; }
@keyframes ad-pop { 0%, 58% { opacity: 0; transform: translateY(6px); } 66% { opacity: 1; transform: none; } 88% { opacity: 1; transform: translateY(-12px); } 100% { opacity: 0; transform: translateY(-18px); } }
.ad-icon { overflow: hidden; background: #16256A; }
.ad-icon svg { display: block; width: 100%; height: 100%; }

/* TV */
.tv-screen::after { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(7, 14, 40, 0.86) 0%, rgba(7, 14, 40, 0.5) 36%, rgba(7, 14, 40, 0) 60%); }
.tv-ad { position: relative; z-index: 2; }
.tv-bar { z-index: 3; }
.tv-brand .ad-icon { width: 22px; height: 22px; border-radius: 6px; }

/* Retargeting story */
.story { position: relative; overflow: hidden; background: #0A1533; }
.story::before { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(7, 14, 40, 0.7) 0%, rgba(7, 14, 40, 0) 26%, rgba(7, 14, 40, 0) 58%, rgba(7, 14, 40, 0.75) 100%); }
.story > :not(.game) { position: relative; z-index: 2; }
.story-card small { color: var(--blue-deep); }

/* Creative thumbnail */
.creative-thumb { overflow: hidden; background: #0A1533; }
.creative-thumb .play { z-index: 1; }
.creative-thumb small { z-index: 1; text-shadow: 0 1px 4px rgba(6, 15, 38, 0.9); }
.ad-prompt { position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap; font-size: 10.5px; font-weight: 700; color: #fff; padding: 6px 12px; border-radius: 14px; background: rgba(6, 15, 38, 0.6); border: 1px solid rgba(255, 255, 255, 0.18); }
.tv-qr { width: 15%; align-self: flex-end; padding: 5px; border-radius: 6px; }

/* Tower-defence scene: creatures, shots and build slot */
.g-hop { animation: g-hop 0.5s ease-in-out infinite alternate; }
@keyframes g-hop { to { transform: translateY(-1.6px); } }
.g-zap { animation: g-zap 2.6s linear infinite; }
@keyframes g-zap { 0%, 16% { opacity: 1; } 20%, 100% { opacity: 0; } }
.g-shot { animation: g-shot 2.6s ease-in infinite; }
@keyframes g-shot { 0% { transform: none; opacity: 0; } 4% { opacity: 1; } 30% { transform: translate(var(--dx), var(--dy)); opacity: 1; } 34%, 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
.g-flash { animation: g-flash 2.6s linear infinite; }
@keyframes g-flash { 0% { opacity: 0.95; } 8%, 100% { opacity: 0; } }
.g-gold { opacity: 0; animation: g-gold 2.6s ease-out infinite; }
@keyframes g-gold { 0%, 18% { opacity: 0; transform: none; } 24% { opacity: 1; } 55% { opacity: 1; transform: translateY(-9px); } 70%, 100% { opacity: 0; transform: translateY(-13px); } }
.g-ring { transform-box: fill-box; transform-origin: center; animation: g-ring 3.2s ease-out infinite; }
@keyframes g-ring { 0% { transform: scale(0.25); opacity: 0.95; } 80%, 100% { transform: scale(1); opacity: 0; } }
.g-slot { animation: g-slot 1.6s ease-in-out infinite; }
@keyframes g-slot { 50% { opacity: 0.45; } }
.hud { gap: 5px; }
.hud span:first-child { margin-right: auto; }
.hud-life b { color: #FF6B8A; font-size: 10px; }
.ad-hand { animation-name: hand-build; }
@keyframes hand-build { 0%, 100% { transform: translate(58px, 96px); opacity: 0; } 20% { opacity: 1; } 50% { transform: translate(15px, 34px); opacity: 1; } 62% { transform: translate(15px, 34px) scale(0.8); opacity: 1; } 75% { opacity: 0; } }
.ad-meta small { white-space: nowrap; }
.tv-ad { align-items: flex-start; padding-top: 8%; }
.tv-qr { position: absolute; left: 8%; bottom: 12%; width: 11%; }

/* Stage: the game's night sky and floating pieces behind each device */
.vis { background: #081028; padding: 44px 32px; }
.vis::before, .vis::after { content: none; }
.vis > .stage { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; }
.vis--ua .phone { transform: rotate(-5deg); }
.vis--rt .phone { transform: rotate(5deg); }
.vis--ua .phone, .vis--rt .phone { width: 228px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 40px 70px -24px rgba(2, 6, 20, 0.85), 0 0 90px rgba(91, 141, 255, 0.25); }
.vis--ctv .tv { width: min(100%, 500px); }
.vis--ctv .tv-screen { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 34px 70px -26px rgba(2, 6, 20, 0.9), 0 0 110px rgba(91, 141, 255, 0.3); }
.story-who b { font-size: 12px; }
.story-card b { margin: 0 0 12px; font-size: 18px; }
@media (max-width: 640px) {
  .vis--ua .phone, .vis--rt .phone { width: 204px; }
}
.lbars div { grid-template-columns: 124px 1fr 40px; }
.lbars .is-this span { color: #0E2438; font-weight: 600; }
.lbars em { display: block; font-style: normal; font-size: 9.5px; font-weight: 500; letter-spacing: 0.04em; color: var(--blue-deep); }

/* ── Home page draft: showcase hero and new sections ────────────────── */
@media (min-width: 961px) { .hero-copy--center { display: block; } }
.hero-copy--center { max-width: 920px; margin: 0 auto; text-align: center; }
.hero-copy--center .eyebrow { justify-content: center; }
.hero-copy--center .lead { margin: 22px auto 0; max-width: 62ch; }
.hero-copy--center .actions { justify-content: center; margin-top: 30px; }
.show { position: relative; height: clamp(430px, 44vw, 560px); border-radius: 20px; overflow: hidden; background: #081028; box-shadow: 0 50px 100px -30px rgba(2, 8, 16, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.show > .stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.show-tv { position: absolute; left: 50%; top: 9%; width: min(52%, 600px); transform: translateX(-50%); }
.show-tv .tv { width: 100%; }
.show-tv .tv-screen { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 34px 70px -26px rgba(2, 6, 20, 0.9), 0 0 110px rgba(91, 141, 255, 0.3); }
.show-ph { position: absolute; top: 15%; }
.show-ph .phone { width: 212px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 40px 70px -24px rgba(2, 6, 20, 0.85), 0 0 80px rgba(91, 141, 255, 0.22); }
.show-ph--l { left: 7%; transform: rotate(-7deg); }
.show-ph--r { right: 7%; transform: rotate(7deg); }
.pillars--channels .tag { margin-bottom: 16px; }
.pillars--channels .tlink { margin-top: 18px; }
.facts { margin-top: clamp(48px, 6vw, 72px); }
.eng { margin-top: clamp(40px, 5vw, 64px); }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-p { margin: 20px 0 26px; font-size: 17px; color: var(--text-2); max-width: 52ch; }
.split .tr { margin: 0; }
.tlink--gap { margin-top: 28px; }
.values-con { margin-top: clamp(40px, 5vw, 64px); }
.values .more { margin-top: 32px; }
@media (max-width: 1100px) {
  .show-ph .phone { width: 180px; }
  .show-ph--l { left: 3%; } .show-ph--r { right: 3%; }
}
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .show { height: 560px; }
  .show-tv { width: 88%; top: 6%; }
  .show-ph { top: auto; bottom: -34%; }
  .show-ph .phone { width: 168px; }
  .show-ph--l { left: 4%; } .show-ph--r { right: 4%; }
}
.tech-head .lead { margin-top: 18px; }

/* ── Real photos with the ad on the screen ──────────────────────────── */
.photo { position: relative; margin: 0; overflow: hidden; container-type: inline-size; background: #0A1533 center / cover no-repeat; }
.photo-in { display: none; position: absolute; left: 0; top: 0; transform-origin: 0 0; }
/* The photo is laid out at its real pixel size, then scaled so the cropped part fills the card. */
@supports (transform: scale(tan(atan2(1px, 1px)))) {
  .photo-in { display: block; transform: scale(tan(atan2(100cqw, var(--cw)))) translate(var(--cx), var(--cy)); }
}
.photo-in img { display: block; width: 100%; height: 100%; max-width: none; }
.photo-screen { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; }
.photo-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 38%); }
.phone-screen--bare { height: 100%; border-radius: var(--r, 30px); }
.photo--phone .photo-screen { border-radius: var(--r, 30px); }
.tv-screen--bare { width: 480px; height: 270px; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
.tv-screen--bare::after { background: linear-gradient(90deg, rgba(7, 14, 40, 0.86) 0%, rgba(7, 14, 40, 0.5) 36%, rgba(7, 14, 40, 0) 60%); }
/* The phone alternates between the acquisition ad and the retargeting ad. */
.swap { position: absolute; inset: 0; }
.swap--a { animation: swap-a 14s ease-in-out infinite; }
.swap--b { opacity: 0; animation: swap-b 14s ease-in-out infinite; }
@keyframes swap-a { 0%, 44% { opacity: 1; } 50%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes swap-b { 0%, 44% { opacity: 0; } 50%, 94% { opacity: 1; } 100% { opacity: 0; } }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pcard { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.pcard .photo { border-radius: 0; }
.pcard-body { padding: 28px 30px 30px; }
.pcard-body .tag { margin-bottom: 14px; }
.pcard-body p { margin-top: 12px; color: var(--text-2); font-size: 15.5px; }
.pcard-links { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 20px; }
@media (max-width: 900px) { .pcards { grid-template-columns: 1fr; } }
.photo-in img.is-flipped { transform: scaleX(-1); }
.pcard-body { padding: 24px 24px 26px; }
/* Home hero on phones: tidy the centred label and close the gap in the showcase */
.hero-copy--center .eyebrow { display: block; text-align: center; }
.hero-copy--center .eyebrow::before { display: inline-block; margin-right: 10px; vertical-align: 1px; }
@media (max-width: 760px) {
  .show { height: 520px; }
  .show-ph { bottom: -12%; }
  .show-tv .tv-copy small, .show-tv .tv-qr { display: none; }
}
