/* ═══════════════════════════════════════════════════════════════════════
   SynthVision — shared stylesheet (v3)
   ───────────────────────────────────────────────────────────────────────
   This file is organised section-by-section so each block can be lifted
   into a WordPress block / theme module on its own.

   Table of contents
    00 · TOKENS
    01 · RESET
    02 · LAYOUT              (wrap, sec)
    03 · PRIMITIVES          (kicker, btn, tag, card, sec-head, reveal)
    04 · NAV
    05 · SECTION — hero
    06 · SECTION — problem
    07 · SECTION — demo
    08 · SECTION — pipeline (flow strip)
    08b · SECTION — statement band
    09 · SECTION — simulation-vs-generated
    10 · SECTION — custom
    11 · SECTION — evidence
    12 · SECTION — process
    13 · SECTION — dataset types
    14 · SECTION — case blocks
    15 · SECTION — founder
    16 · SECTION — beliefs / stack
    17 · SECTION — blog
    18 · SECTION — article
    19 · SECTION — faq
    20 · SECTION — cta
    21 · FOOTER
    22 · FORMS
    23 · UTILITIES & RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */


/* ═══ 00 · TOKENS ══════════════════════════════════════════════════════ */
:root {
  /* surfaces */
  --bg:         #0A0A0F;
  --bg-alt:     #0F0F16;
  --surface:    #13131A;
  --panel:      #1A1A24;
  --footer-bg:  #060609;

  /* lines */
  --border:     rgba(255, 255, 255, 0.07);
  --border-hi:  rgba(255, 255, 255, 0.14);

  /* type */
  --text:       #F0F0F5;
  --muted:      #5A5A6A;
  --muted-hi:   #888896;

  /* accent — tom do logo */
  --accent:     #FF8426;
  --accent-rgb: 255, 132, 38;

  /* geometry */
  --max-w:      1240px;
  --r:          20px;
  --r-sm:       12px;

  /* demo domain colours */
  --agro:     #4ADE80;
  --safety:   #FACC15;
  --retail:   #38BDF8;
  --industry: #C084FC;
  --active-color: var(--accent);

  /* fonts */
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;
}


/* ═══ 01 · RESET ═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(var(--accent-rgb), 0.35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }


/* ═══ 02 · LAYOUT ══════════════════════════════════════════════════════ */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
.sec  { padding: 120px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-tight { padding: 88px 0; }

/* the blueprint grid — reinforces the "engineering" feel */
.sec-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
}

.sec-head { max-width: 700px; margin-bottom: 64px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .kicker { justify-content: center; }
.sec-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
.sec-head p  { color: var(--muted-hi); font-size: 1.05rem; font-weight: 300; line-height: 1.75; }


/* ═══ 03 · PRIMITIVES ══════════════════════════════════════════════════ */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.kicker::before { content: ''; width: 18px; height: 1px; background: var(--accent); }
.kicker--mono { letter-spacing: 1.5px; text-transform: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-family: var(--font-body); font-weight: 500; font-size: .95rem;
  transition: all .25s cubic-bezier(.23, 1, .32, 1);
  cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 28px rgba(var(--accent-rgb), .25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(var(--accent-rgb), .38); }
.btn-ghost {
  border: 1px solid var(--border-hi); color: var(--text);
  background: rgba(255,255,255,.03); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
.btn-quiet {
  padding: 0; border-radius: 0; color: var(--accent);
  font-size: .92rem; border-bottom: 1px solid rgba(var(--accent-rgb), .35);
}
.btn-quiet:hover { border-bottom-color: var(--accent); gap: 12px; }

.tag {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: 1.5px;
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid var(--border); color: var(--muted-hi); text-transform: uppercase;
}
.tag--accent { color: var(--accent); border-color: rgba(var(--accent-rgb), .35); background: rgba(var(--accent-rgb), .07); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 32px;
  position: relative; overflow: hidden;
  transition: border-color .28s, transform .28s;
}
.card:hover { border-color: rgba(var(--accent-rgb), .35); transform: translateY(-2px); }
.card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), .04) 0%, transparent 60%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card-num {
  font-family: var(--font-mono); font-size: .6rem;
  letter-spacing: 1px; color: var(--accent); opacity: .5; margin-bottom: 14px;
}
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p  { color: var(--muted-hi); font-size: .9rem; font-weight: 300; line-height: 1.7; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Content is only hidden once JS confirms it can reveal it again, so a failed
   or blocked script never leaves the page blank. The `js` class is set inline
   in each page's <head>. */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}


/* ═══ 04 · NAV ═════════════════════════════════════════════════════════ */
nav.site-nav {
  position: fixed; top: 0; left: 0; width: 100%;
  padding: 24px 0; z-index: 1000; transition: all .4s;
}
nav.site-nav.scrolled {
  background: rgba(10,10,15,.88); backdrop-filter: blur(24px);
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
nav.site-nav .wrap { display: flex; justify-content: space-between; align-items: center; }

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  color: var(--text); letter-spacing: -.03em;
}
/* Logo full-wordmark 300×69 — mostra só a imagem, sem texto ao lado */
.logo-mark { height: 34px; width: auto; max-width: 148px; object-fit: contain; flex-shrink: 0; display: block; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--muted-hi); font-size: .88rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }
.nav-links a.btn-primary { color: #fff; }

.nav-toggle {
  display: none; width: 42px; height: 42px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* inner-page hero */
.page-hero {
  padding: 180px 0 100px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); margin-bottom: 24px; max-width: 880px; }
.page-hero p  {
  font-size: 1.15rem; color: var(--muted-hi); max-width: 620px;
  font-weight: 300; line-height: 1.75; margin-bottom: 40px;
}
.page-hero-tags { display: flex; gap: 8px; flex-wrap: wrap; }


/* ═══ 05 · SECTION — hero ══════════════════════════════════════════════ */
#hero { position: relative; height: 360vh; width: 100%; }
/* Reserva a altura do header fixo para o hero nunca ficar por baixo dele */
.hero-sticky {
  position: sticky; top: 0;
  height: calc(100vh - 76px); height: calc(100svh - 76px);
  width: 100%;
  display: flex; align-items: center; justify-content: flex-start;
  overflow: hidden;
}
/* Frames são 1920×1080 (16:9): 'contain' garante a cena inteira visível
   em qualquer proporção de tela; o fundo escuro disfarça as sobras. */
#hero-canvas {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 100%; height: 100%; object-fit: contain; background: #0a0a0f;
  filter: brightness(.78) contrast(1.04);
}
/* The frame sequence is weighted to the right, so the vignette carries a
   horizontal scrim on the left to keep the (left-aligned) copy legible. */
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(90deg, rgba(10,10,15,.93) 0%, rgba(10,10,15,.72) 30%, rgba(10,10,15,.18) 58%, transparent 78%),
    radial-gradient(ellipse at center, transparent 34%, rgba(10,10,15,.72) 100%),
    linear-gradient(180deg, rgba(10,10,15,.6) 0%, transparent 26%, transparent 58%, rgba(10,10,15,.92) 100%);
}

/* Copy is aligned to the same column as .wrap so it lines up with the logo. */
.hero-content {
  position: relative; z-index: 10; text-align: left;
  max-width: 820px; padding: 0 60px;
  margin-left: max(0px, calc((100% - var(--max-w)) / 2));
}

#h-kicker, #h-h1, #h-sub, #h-proof, #h-btns, #h-strip { opacity: 0; transform: translateY(24px); }
.hero-content h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); line-height: 1.02; margin-bottom: 24px; letter-spacing: -.035em; }
.hero-content h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 1.14rem; color: rgba(240,240,245,.78);
  max-width: 600px; margin: 0 0 22px; font-weight: 300; line-height: 1.7;
}
.hero-proof {
  display: inline-block;
  border-left: 2px solid var(--accent); padding-left: 14px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; color: rgba(255,255,255,.82); letter-spacing: -.02em;
  text-align: left; margin-bottom: 34px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* hero proof strip */
.hero-strip {
  display: flex; flex-wrap: nowrap; gap: 0;
  margin-top: 52px; border-top: 1px solid rgba(255,255,255,.11);
  padding-top: 22px; width: 100%; max-width: 720px;
}
.hero-strip div:first-child { padding-left: 0; text-align: left; }
.hero-strip div {
  flex: 1 1 0; min-width: 0;
  padding: 0 26px; border-right: 1px solid rgba(255,255,255,.09);
  text-align: center;
}
.hero-strip div:last-child { border-right: none; }
.hero-strip b {
  display: block; font-family: var(--font-display); font-size: 1.28rem;
  font-weight: 800; letter-spacing: -.04em; color: #fff;
}
.hero-strip span {
  font-family: var(--font-mono); font-size: .55rem;
  letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.42);
}

/* hero scroll hint */
.hero-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 10; font-family: var(--font-mono); font-size: .55rem;
  letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.35);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-hint::after {
  content: ''; width: 1px; height: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.4), transparent);
  animation: hintDrop 1.9s ease-in-out infinite;
}
@keyframes hintDrop { 0%,100% { opacity: .25; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* hero caption — clarifies the logo animation is a real controlled 3D
   scene with auto-generated labels, not a decorative video. Sits on the
   right, near the animation itself, since the frame sequence is weighted
   right and the text column is on the left. */
.hero-caption {
  position: absolute; right: 48px; bottom: 96px;
  max-width: 300px; z-index: 10;
  display: flex; flex-direction: column; gap: 6px;
}
.hero-caption b {
  color: #fff; font-weight: 500; font-family: var(--font-display);
  font-size: .92rem; letter-spacing: -.01em;
}
.hero-caption span {
  font-size: .78rem; color: rgba(240,240,245,.62);
  font-weight: 300; line-height: 1.5;
}

/* loader */
#loader {
  position: fixed; inset: 0;
  background: var(--bg); z-index: 2000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity .6s ease;
}
#loader.hidden { opacity: 0; pointer-events: none; }
.loader-bar-wrap { width: 200px; height: 1px; background: rgba(255,255,255,.08); margin-top: 28px; position: relative; }
.loader-bar { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: var(--accent); transition: width .2s linear; }
.loader-label {
  font-family: var(--font-mono); font-size: .58rem;
  letter-spacing: 2px; color: var(--muted); margin-top: 14px; text-transform: uppercase;
}


/* ═══ 06 · SECTION — problem ═══════════════════════════════════════════ */
.problem-lead {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -.03em;
  line-height: 1.5; max-width: 780px; margin-bottom: 56px;
}
.problem-lead span { color: var(--accent); }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--border); }
.problem-item { background: var(--surface); padding: 36px 30px; }
.problem-item h3 { font-size: 1rem; margin-bottom: 12px; line-height: 1.25; }
.problem-item p { color: var(--muted-hi); font-size: .87rem; font-weight: 300; line-height: 1.7; }
.problem-item .card-num { margin-bottom: 16px; }
.problem-foot {
  margin-top: 32px; display: flex; align-items: center; gap: 16px;
  font-size: .95rem; color: var(--muted-hi); font-weight: 300;
}
.problem-foot strong { color: var(--text); font-weight: 500; }


/* ═══ 07 · SECTION — demo ══════════════════════════════════════════════ */
.cat-tabs { display: flex; gap: 6px; margin-bottom: 36px; flex-wrap: wrap; }
.cat-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--muted-hi); font-size: .88rem; font-weight: 500; cursor: pointer;
  transition: all .22s ease;
}
.cat-btn:hover { border-color: var(--border-hi); color: var(--text); }
.cat-btn.active { border-color: transparent; color: #000; font-weight: 600; }
.cat-btn[data-cat="agro"].active     { background: var(--agro); }
.cat-btn[data-cat="safety"].active   { background: var(--safety); }
.cat-btn[data-cat="retail"].active   { background: var(--retail); }
.cat-btn[data-cat="industry"].active { background: var(--industry); }

.demo-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; align-items: start; }
.demo-left { display: flex; flex-direction: column; gap: 16px; }

.var-info {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 28px;
  position: relative; overflow: hidden;
}
.var-info::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--active-color); transition: background .4s;
}
.var-tag {
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--active-color); margin-bottom: 12px; transition: color .4s;
}
.var-info h3 { font-size: 1.3rem; margin-bottom: 8px; }
.var-info p  { color: var(--muted-hi); font-size: .88rem; font-weight: 300; line-height: 1.7; }

.var-params {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
}
.var-param {
  font-family: var(--font-mono); font-size: .55rem; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted-hi);
  background: var(--panel); border: 1px solid var(--border);
  border-radius: 4px; padding: 3px 7px;
}

.var-btns { display: flex; flex-direction: column; gap: 6px; }
.var-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--muted-hi); font-size: .88rem; font-weight: 400; cursor: pointer;
  transition: all .18s ease; text-align: left;
}
.var-btn:hover { border-color: var(--border-hi); color: var(--text); }
.var-btn.active { border-color: var(--active-color); color: var(--text); background: var(--panel); }
.vb-left { display: flex; align-items: center; gap: 10px; }
.vb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); transition: background .2s; flex-shrink: 0; }
.var-btn.active .vb-dot { background: var(--active-color); }
.vb-arr { font-size: .72rem; color: var(--muted); opacity: 0; transform: translateX(-4px); transition: all .2s; }
.var-btn.active .vb-arr, .var-btn:hover .vb-arr { opacity: 1; transform: translateX(0); }
/* annotation format is shown up-front, per variation */
.vb-ann {
  font-family: var(--font-mono); font-size: .49rem; letter-spacing: .7px;
  text-transform: uppercase; color: var(--muted); flex-shrink: 0;
  padding-left: 10px;
}
.var-btn.active .vb-ann { color: var(--active-color); }

.demo-toggles { display: flex; flex-direction: column; gap: 8px; }
.mask-toggle {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(10,10,15,.85);
  cursor: pointer; transition: all .2s; user-select: none;
}
.mask-toggle:hover { background: rgba(10,10,15,1); border-color: var(--border-hi); }
.mask-toggle.on { border-color: var(--accent); background: rgba(var(--accent-rgb), .1); }
.tog-track {
  width: 28px; height: 16px; border-radius: 100px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  position: relative; transition: background .22s; flex-shrink: 0;
}
.mask-toggle.on .tog-track { background: var(--accent); border-color: var(--accent); }
.tog-knob {
  position: absolute; top: 2px; left: 2px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.mask-toggle.on .tog-knob { transform: translateX(12px); }
.tog-label {
  font-family: var(--font-mono); font-size: .6rem;
  color: var(--muted-hi); letter-spacing: 1px; text-transform: uppercase;
}
.mask-toggle.on .tog-label { color: var(--text); }

.cat-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px; margin-bottom: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.cat-bar-icon { font-size: 1.3rem; }
.cat-bar-text h4 { font-family: var(--font-display); font-size: .95rem; font-weight: 700; margin-bottom: 2px; }
.cat-bar-text p  { font-size: .78rem; color: var(--muted-hi); font-weight: 300; }
.cat-bar-tag {
  margin-left: auto; font-family: var(--font-mono); font-size: .58rem;
  letter-spacing: 2px; padding: 4px 10px; border-radius: 100px; color: #000; font-weight: 600;
}

.viewport {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: var(--panel); border: 1px solid var(--border);
  min-height: 320px; aspect-ratio: 1 / 1; max-height: 560px;
  display: flex; align-items: center; justify-content: center;
}
.vp-img, .vp-vid, .vp-mask {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: opacity .3s ease;
}
/* Overlays de máscara vêm como PNG RGBA prontos — basta 50% de opacidade */
.vp-mask { opacity: 0; pointer-events: none; object-fit: cover; }
.vp-mask.on { opacity: .5; }

.vp-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.ph-frame {
  width: 260px; height: 168px; border-radius: 12px;
  border: 1px dashed var(--border-hi);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden; background: rgba(255,255,255,.015);
}
.ph-frame::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,.012) 3px, rgba(255,255,255,.012) 4px);
}
.ph-icon { font-size: 2.2rem; position: relative; z-index: 1; }
.ph-code {
  font-family: var(--font-mono); font-size: .58rem;
  color: rgba(255,255,255,.22); letter-spacing: 2px;
  position: relative; z-index: 1; margin-top: 6px;
}
.ph-file { font-family: var(--font-mono); font-size: .6rem; color: var(--muted); letter-spacing: 1px; }

/* generated annotation overlay — stands in for the real render */
.vp-annot { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .4s; }
.vp-annot.on { opacity: 1; }
.bbox {
  position: absolute; border: 1.5px solid var(--active-color); border-radius: 2px;
  opacity: 0; transform: scale(.94); transition: opacity .4s, transform .4s;
}
.vp-annot.on .bbox { opacity: .95; transform: scale(1); }
.bbox::after {
  content: attr(data-label);
  position: absolute; top: -19px; left: -1.5px;
  font-family: var(--font-mono); font-size: .52rem; letter-spacing: .6px;
  white-space: nowrap; padding: 2px 6px; border-radius: 3px 3px 0 0;
  background: var(--active-color); color: #000; font-weight: 600;
}
.mask-region {
  position: absolute; border-radius: 6px;
  background: radial-gradient(circle at 50% 50%, var(--active-color) 0%, transparent 72%);
  mix-blend-mode: screen; opacity: .34;
  transition: opacity .5s;
}
.bbox.warn { border-color: #FF4D4D; }
.bbox.warn::after { background: #FF4D4D; color: #fff; }
.bbox.ok { border-color: #4ADE80; }
.bbox.ok::after { background: #4ADE80; }
.bbox.info { border-color: #A9B4C0; }
.bbox.info::after { background: #A9B4C0; color: #0A0A0F; }
/* dashed = the thing that is NOT there (missing PPE, empty slot, absent tree) */
.bbox.dashed { border-style: dashed; }
.bbox.dashed::after { border-radius: 3px 3px 0 0; opacity: .95; }

/* annotation legend under the viewport */
.ann-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
.ann-legend span {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: .54rem; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--muted);
}
.ann-legend i {
  width: 15px; height: 10px; border: 1.5px solid var(--muted-hi);
  border-radius: 2px; display: inline-block; flex-shrink: 0;
}
.ann-legend i.ok     { border-color: #4ADE80; }
.ann-legend i.warn   { border-color: #FF4D4D; }
.ann-legend i.absent { border-style: dashed; border-color: var(--active-color); }
.ann-legend i.mask   { border: none; background: radial-gradient(circle, var(--active-color), transparent 76%); opacity: .65; }

.hud { position: absolute; pointer-events: none; z-index: 10; font-family: var(--font-mono); }
.hud-tl { top: 14px; left: 14px; }
.hud-tr { top: 14px; right: 14px; }
.hud-bl { bottom: 14px; left: 14px; }
.hud-br { bottom: 14px; right: 14px; pointer-events: auto; }

.chip {
  display: inline-block; font-family: var(--font-mono);
  font-size: .58rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px;
  background: rgba(10,10,15,.82); border: 1px solid var(--border-hi);
  color: var(--muted-hi); backdrop-filter: blur(8px);
}
.chip.hi { color: var(--active-color); border-color: var(--active-color); }

.hud-status { display: flex; align-items: center; gap: 6px; font-size: .58rem; color: var(--muted-hi); letter-spacing: 1px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: #4ADE80; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.c-tl, .c-tr, .c-bl, .c-br {
  position: absolute; width: 18px; height: 18px;
  border-color: var(--active-color); border-style: solid;
  opacity: .5; z-index: 5; transition: border-color .4s;
}
.c-tl { top: 10px; left: 10px;  border-width: 1px 0 0 1px; }
.c-tr { top: 10px; right: 10px; border-width: 1px 1px 0 0; }
.c-bl { bottom: 10px; left: 10px;  border-width: 0 0 1px 1px; }
.c-br { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }

.scan-line {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--active-color), transparent);
  opacity: 0; pointer-events: none; z-index: 20;
  box-shadow: 0 0 10px var(--active-color);
}
.mask-badge {
  position: absolute; top: 46px; left: 14px;
  font-family: var(--font-mono); font-size: .58rem;
  padding: 3px 8px; border-radius: 4px;
  background: rgba(var(--accent-rgb), .14); border: 1px solid rgba(var(--accent-rgb), .4);
  color: var(--accent); opacity: 0; transition: opacity .3s; z-index: 10; pointer-events: none;
}
.mask-badge.on { opacity: 1; }

.pb-wrap { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,.05); z-index: 15; }
.pb-fill { height: 100%; width: 0%; background: var(--active-color); transition: background .4s; }

.demo-caption {
  margin-top: 20px; display: flex; align-items: center; gap: 12px;
  font-size: .85rem; color: var(--muted-hi); font-weight: 300;
}
.demo-caption b { color: var(--text); font-weight: 500; }


/* ═══ 08 · SECTION — pipeline ══════════════════════════════════════════ */
/* a single connected strip, so the stages read as one process */
.flow-strip {
  display: flex; align-items: stretch;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
}
.flow-step { flex: 1; padding: 28px 24px; border-right: 1px solid var(--border); position: relative; }
.flow-step:last-child { border-right: none; }
.flow-step::after {
  content: '→'; position: absolute; right: -8px; top: 50%;
  transform: translateY(-50%); z-index: 2; color: var(--accent); font-size: .9rem;
  background: var(--surface); width: 16px; text-align: center; line-height: 16px;
  border-radius: 50%;
}
.flow-step:last-child::after { display: none; }
.flow-num {
  font-family: var(--font-mono); font-size: .56rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.flow-step h4 { font-size: .95rem; margin-bottom: 7px; line-height: 1.25; }
.flow-step p  { font-size: .79rem; color: var(--muted-hi); font-weight: 300; line-height: 1.6; }
.flow-step q  { color: var(--text); font-style: italic; }
/* the step that carries the actual differentiator */
.flow-step.hot { background: linear-gradient(180deg, rgba(var(--accent-rgb), .08), rgba(var(--accent-rgb), .01)); }
.flow-step.hot .flow-num { color: var(--accent); }
.pipe-formats {
  margin-top: 32px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 22px 26px; border: 1px dashed var(--border-hi); border-radius: var(--r-sm);
  background: rgba(255,255,255,.012);
}
.pipe-formats-label {
  font-family: var(--font-mono); font-size: .58rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); margin-right: 6px;
}
.fmt {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 5px;
  background: var(--panel); border: 1px solid var(--border); color: var(--muted-hi);
}


/* ═══ 08b · SECTION — statement band ═══════════════════════════════════ */
.statement-band { max-width: 900px; margin: 0 auto; text-align: center; }
.statement-band .kicker { justify-content: center; }
.statement-band .big {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.45rem, 3.1vw, 2.45rem); letter-spacing: -.035em;
  line-height: 1.2; margin-bottom: 22px;
}
.statement-band .big em { font-style: normal; color: var(--accent); }
.statement-band p {
  color: var(--muted-hi); font-weight: 300; font-size: 1.02rem;
  line-height: 1.78; max-width: 660px; margin: 0 auto;
}


/* ═══ 09 · SECTION — simulation vs generated ═══════════════════════════ */
.vs-panel {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
}
.vs-col { padding: 40px 36px; background: var(--surface); }
.vs-col + .vs-col { border-left: 1px solid var(--border); border-left-width: 1px; }
.vs-col--hi { background: linear-gradient(160deg, rgba(var(--accent-rgb),.06) 0%, var(--surface) 55%); }
.vs-col-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.vs-col--dim .vs-col-head { color: var(--muted); }
.vs-col--hi .vs-col-head  { color: var(--accent); }
.vs-col-head .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.vs-list { display: flex; flex-direction: column; gap: 14px; }
.vs-list li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: .89rem; font-weight: 300; line-height: 1.65; color: var(--muted-hi);
}
.vs-list li::before { flex-shrink: 0; margin-top: 1px; font-size: .8rem; }
.vs-col--dim .vs-list li::before { content: '✕'; color: #6b6b7a; }
.vs-col--hi  .vs-list li::before { content: '✓'; color: var(--accent); }
.vs-col--hi  .vs-list li { color: rgba(240,240,245,.82); }
.vs-note {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border);
  font-size: .85rem; font-weight: 300; color: var(--muted-hi); line-height: 1.7;
}
.vs-note strong { color: var(--text); font-weight: 500; }


/* ═══ 10 · SECTION — custom ════════════════════════════════════════════ */
.custom-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: start; }
.custom-split h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 22px; }
.custom-split p  { color: var(--muted-hi); font-size: 1rem; font-weight: 300; line-height: 1.78; margin-bottom: 16px; }
.custom-split strong { color: var(--text); font-weight: 500; }
.custom-quote {
  border-left: 2px solid var(--accent); padding: 4px 0 4px 22px; margin: 28px 0;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.45;
}
.custom-honest {
  margin-top: 30px; padding: 22px 24px;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--r-sm);
  font-size: .89rem; font-weight: 300; color: var(--muted-hi); line-height: 1.72;
}
.custom-honest strong { color: var(--text); font-weight: 500; }
.custom-list { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.custom-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 24px; background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.custom-item:last-child { border-bottom: none; }
.custom-item .ci-ico {
  font-family: var(--font-mono); font-size: .62rem; color: var(--accent);
  flex-shrink: 0; margin-top: 3px; letter-spacing: 1px;
}
.custom-item strong { display: block; font-size: .93rem; font-weight: 500; margin-bottom: 4px; }
.custom-item span { font-size: .85rem; color: var(--muted-hi); font-weight: 300; line-height: 1.65; }


/* ═══ 11 · SECTION — evidence ══════════════════════════════════════════ */
.numbers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--border);
}
.number-item { background: var(--surface); padding: 48px 36px; }
.number-val {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -.05em; color: var(--accent);
  line-height: 1; margin-bottom: 16px;
}
.number-label { font-size: .92rem; color: var(--muted-hi); font-weight: 300; line-height: 1.65; margin-bottom: 14px; }
.number-context {
  font-family: var(--font-mono); font-size: .6rem;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
}

/* the honest result panel */
.result-panel {
  margin-top: 24px; border: 1px solid var(--border);
  border-radius: var(--r); background: var(--surface); overflow: hidden;
}
.result-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 26px 32px; border-bottom: 1px solid var(--border); background: var(--panel);
}
.result-panel-head h3 { font-size: 1.05rem; }
.result-panel-head .tag { flex-shrink: 0; }
.result-rows { padding: 8px 0; }
.result-row {
  display: grid; grid-template-columns: 190px 1fr 74px;
  gap: 24px; align-items: center; padding: 14px 32px;
}
.result-name { font-size: .88rem; color: var(--muted-hi); font-weight: 300; }
.result-name b { color: var(--text); font-weight: 500; }
.result-track { height: 6px; border-radius: 100px; background: rgba(255,255,255,.055); overflow: hidden; }
.result-bar { height: 100%; border-radius: 100px; background: var(--muted); transition: width 1s cubic-bezier(.23,1,.32,1); width: 0; }
.result-bar--accent { background: var(--accent); }
.result-bar--best { background: linear-gradient(90deg, var(--accent), #FF9A6B); }
.result-bar--low { background: #7A3030; }
.result-val { font-family: var(--font-mono); font-size: .82rem; text-align: right; color: var(--text); }
.result-foot {
  padding: 22px 32px 26px; border-top: 1px solid var(--border);
  font-size: .86rem; font-weight: 300; color: var(--muted-hi); line-height: 1.72;
}
.result-foot strong { color: var(--text); font-weight: 500; }


/* ═══ 12 · SECTION — process ═══════════════════════════════════════════ */
.process-list { display: flex; flex-direction: column; max-width: 900px; }
.process-step {
  display: grid; grid-template-columns: 80px 1fr; gap: 40px;
  align-items: start; padding: 48px 0; border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 800;
  letter-spacing: -.06em; color: rgba(var(--accent-rgb), .16); line-height: 1;
}
.step-body h3 { font-size: 1.2rem; margin-bottom: 12px; }
.step-body > p { color: var(--muted-hi); font-size: .95rem; font-weight: 300; line-height: 1.75; }
.step-body ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.step-body li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--muted-hi); font-weight: 300; }
.step-body li::before { content: '→'; color: var(--accent); flex-shrink: 0; margin-top: 1px; }


/* ═══ 13 · SECTION — dataset types ═════════════════════════════════════ */
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 32px; transition: border-color .28s, transform .28s;
  display: flex; flex-direction: column;
}
.service-card:hover { border-color: rgba(var(--accent-rgb), .35); transform: translateY(-2px); }
.service-icon { font-size: 1.7rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.service-card p  { color: var(--muted-hi); font-size: .88rem; font-weight: 300; line-height: 1.7; margin-bottom: 18px; flex: 1; }
.service-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.service-tag {
  font-family: var(--font-mono); font-size: .56rem;
  letter-spacing: 1px; padding: 4px 9px; border-radius: 100px;
  border: 1px solid var(--border); color: var(--muted-hi); text-transform: uppercase;
}


/* ═══ 14 · SECTION — case blocks ═══════════════════════════════════════ */
.cases-list { display: flex; flex-direction: column; gap: 22px; }
.case-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: border-color .3s; }
.case-block:hover { border-color: rgba(var(--accent-rgb), .3); }
.case-header { display: grid; grid-template-columns: 1fr auto; align-items: start; padding: 48px; gap: 40px; }
.case-domain {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.case-header h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 12px; }
.case-header p { color: var(--muted-hi); font-size: .95rem; font-weight: 300; line-height: 1.7; max-width: 620px; }
.case-metrics { display: flex; flex-direction: column; gap: 18px; flex-shrink: 0; min-width: 190px; text-align: right; }
.case-metric-val {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 800;
  letter-spacing: -.05em; color: var(--accent); line-height: 1;
}
.case-metric-lbl {
  font-family: var(--font-mono); font-size: .56rem;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 5px;
}
.case-body { border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(3, 1fr); }
/* wide render slot — spans the case body until real imagery exists */
.case-image {
  grid-column: 1 / -1; height: 210px;
  background: var(--panel); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: .6rem; color: var(--muted);
  letter-spacing: 1.2px; text-align: center; padding: 20px;
  position: relative; overflow: hidden;
}
.case-image::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 40px 40px;
}
.case-image span { position: relative; }
.case-col { padding: 36px 40px; border-right: 1px solid var(--border); }
.case-col:last-child { border-right: none; }
.case-col-label {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.case-col h4 { font-size: .95rem; margin-bottom: 10px; font-weight: 700; }
.case-col p  { color: var(--muted-hi); font-size: .87rem; font-weight: 300; line-height: 1.7; }
.case-col ul { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.case-col li { display: flex; align-items: flex-start; gap: 8px; font-size: .87rem; color: var(--muted-hi); font-weight: 300; line-height: 1.6; }
.case-col li::before { content: '→'; color: var(--accent); flex-shrink: 0; font-size: .8rem; }
.metric-tag {
  display: inline-block; margin-top: 6px;
  font-family: var(--font-mono); font-size: .72rem;
  color: var(--accent); background: rgba(var(--accent-rgb), .1);
  padding: 3px 8px; border-radius: 4px; letter-spacing: .5px;
}
.case-note {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 20px 24px; margin-top: 40px; max-width: 780px;
}
.case-note-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.case-note p { color: var(--muted-hi); font-size: .85rem; font-weight: 300; line-height: 1.7; }


/* ═══ 15 · SECTION — founder ═══════════════════════════════════════════ */
.founder-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.founder-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; position: sticky; top: 120px;
}
.founder-photo {
  width: 100%; background: var(--panel);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: .62rem;
  color: var(--muted); letter-spacing: 1.5px; text-align: center; padding: 20px;
  border-bottom: 1px solid var(--border);
}
.founder-photo img { width: 100%; height: auto; object-fit: cover; display: block; }
.founder-body { padding: 32px; }
.founder-role {
  font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.founder-body h3 { font-size: 1.5rem; margin-bottom: 16px; }
.founder-body p  { color: var(--muted-hi); font-size: .9rem; font-weight: 300; line-height: 1.75; margin-bottom: 14px; }
.founder-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.founder-link {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: 1.5px;
  padding: 7px 14px; border-radius: 6px; border: 1px solid var(--border);
  color: var(--muted-hi); text-transform: uppercase; transition: all .2s;
}
.founder-link:hover { border-color: var(--accent); color: var(--accent); }

.origin-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 24px; }
.origin-text p  { color: var(--muted-hi); font-size: 1rem; font-weight: 300; line-height: 1.8; margin-bottom: 18px; }
.origin-text strong { color: var(--text); font-weight: 500; }
.origin-text blockquote {
  border-left: 2px solid var(--accent); padding-left: 20px; margin: 30px 0;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.5;
}


/* ═══ 16 · SECTION — beliefs / stack ═══════════════════════════════════ */
.belief-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 32px; border-top: 2px solid var(--accent);
}
.belief-card h3 { font-size: 1rem; margin-bottom: 10px; line-height: 1.3; }
.belief-card p  { color: var(--muted-hi); font-size: .87rem; font-weight: 300; line-height: 1.72; }

.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stack-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.stack-icon { font-size: 1.35rem; }
.stack-name { font-family: var(--font-mono); font-size: .64rem; letter-spacing: 1px; color: var(--text); }
.stack-role { font-size: .76rem; color: var(--muted-hi); font-weight: 300; line-height: 1.6; }


/* ═══ 17 · SECTION — blog ══════════════════════════════════════════════ */
.blog-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; margin-bottom: 22px;
  transition: border-color .28s;
}
.blog-featured:hover { border-color: rgba(var(--accent-rgb), .35); }
.blog-featured-visual {
  min-height: 300px; background: var(--panel);
  border-right: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: .62rem; color: var(--muted);
  letter-spacing: 1.5px; text-align: center; padding: 24px;
  position: relative; overflow: hidden;
}
.blog-featured-visual::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 32px 32px;
}
.blog-featured-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 14px 0 16px; line-height: 1.15; }
.blog-featured-body p { color: var(--muted-hi); font-size: .92rem; font-weight: 300; line-height: 1.75; margin-bottom: 22px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 30px; display: flex; flex-direction: column;
  transition: border-color .28s, transform .28s;
}
.post-card:hover { border-color: rgba(var(--accent-rgb), .35); transform: translateY(-2px); }
.post-card h3 { font-size: 1.05rem; line-height: 1.28; margin-bottom: 12px; }
.post-card p { color: var(--muted-hi); font-size: .87rem; font-weight: 300; line-height: 1.7; margin-bottom: 20px; flex: 1; }
.post-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.post-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.post-read {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px; transition: gap .2s;
}
.post-card:hover .post-read { gap: 12px; }


/* ═══ 18 · SECTION — article ═══════════════════════════════════════════ */
.article-head { padding: 170px 0 60px; border-bottom: 1px solid var(--border); }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 880px; margin: 18px 0 22px; }
.article-head .lede { font-size: 1.15rem; color: var(--muted-hi); font-weight: 300; line-height: 1.75; max-width: 680px; }
.article-body { max-width: 740px; padding: 70px 0 90px; }
.article-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin: 48px 0 16px; }
.article-body h3 { font-size: 1.15rem; margin: 34px 0 12px; }
.article-body p { color: var(--muted-hi); font-size: 1.02rem; font-weight: 300; line-height: 1.85; margin-bottom: 20px; }
.article-body strong { color: var(--text); font-weight: 500; }
.article-body ul, .article-body ol { margin: 0 0 22px 4px; display: flex; flex-direction: column; gap: 10px; }
.article-body li { color: var(--muted-hi); font-size: .98rem; font-weight: 300; line-height: 1.75; padding-left: 22px; position: relative; }
.article-body li::before { content: '→'; position: absolute; left: 0; color: var(--accent); font-size: .85rem; }
.article-body blockquote {
  border-left: 2px solid var(--accent); padding: 6px 0 6px 24px; margin: 32px 0;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em;
  font-size: 1.2rem; line-height: 1.5; color: var(--text);
}
.article-body a { color: var(--accent); border-bottom: 1px solid rgba(var(--accent-rgb), .35); }
.article-cta {
  margin-top: 56px; padding: 34px; border: 1px solid var(--border);
  border-radius: var(--r); background: var(--surface);
  display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
}
.article-cta h3 { font-size: 1.15rem; margin-bottom: 6px; }
.article-cta p { color: var(--muted-hi); font-size: .88rem; font-weight: 300; margin: 0; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }


/* ═══ 19 · SECTION — faq ═══════════════════════════════════════════════ */
.faq { display: flex; flex-direction: column; max-width: 840px; }
details.faq-item { border-bottom: 1px solid var(--border); }
details.faq-item summary {
  padding: 22px 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  letter-spacing: -.02em; transition: color .2s;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { color: var(--accent); }
details.faq-item summary::after {
  content: '+'; color: var(--accent); font-size: 1.3rem;
  font-weight: 300; transition: transform .28s; flex-shrink: 0;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .faq-answer {
  color: var(--muted-hi); font-size: .93rem; font-weight: 300;
  line-height: 1.78; padding-bottom: 24px; max-width: 720px;
}
details.faq-item .faq-answer p + p { margin-top: 12px; }
details.faq-item .faq-answer a { color: var(--accent); }


/* ═══ 20 · SECTION — cta ═══════════════════════════════════════════════ */
.cta-band {
  border-top: 1px solid var(--border);
  background: linear-gradient(130deg, rgba(var(--accent-rgb), .07) 0%, transparent 55%);
}
.cta-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 40px; padding: 90px 48px; max-width: var(--max-w); margin: 0 auto;
}
.cta-inner h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); max-width: 600px; }
.cta-inner p  { color: var(--muted-hi); font-size: 1rem; font-weight: 300; margin-top: 12px; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }


/* ═══ 21 · FOOTER ══════════════════════════════════════════════════════ */
footer.site-footer { padding: 80px 0 40px; border-top: 1px solid var(--border); background: var(--footer-bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.fc h4 { font-family: var(--font-display); font-size: .85rem; margin-bottom: 20px; font-weight: 700; }
.fc li { margin-bottom: 10px; }
.fc a  { color: var(--muted-hi); font-size: .83rem; font-weight: 300; transition: color .2s; }
.fc a:hover { color: var(--accent); }
.fc p  { color: var(--muted-hi); font-size: .83rem; font-weight: 300; line-height: 1.7; margin-top: 12px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: .78rem;
}
.footer-bottom span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .5px; }


/* ═══ 22 · FORMS ═══════════════════════════════════════════════════════ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; padding: 170px 0 120px; }
.contact-context h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 24px; }
.contact-context > p { color: var(--muted-hi); font-size: 1rem; font-weight: 300; line-height: 1.8; margin-bottom: 16px; }
.contact-context strong { color: var(--text); font-weight: 500; }

.what-happens { margin-top: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 32px; }
.what-happens h3 {
  font-family: var(--font-mono); font-size: .65rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 24px;
}
.wh-step { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.wh-step:last-child { border-bottom: none; padding-bottom: 0; }
.wh-num {
  width: 24px; height: 24px; flex-shrink: 0; background: rgba(var(--accent-rgb), .1);
  color: var(--accent); border-radius: 5px; font-family: var(--font-mono);
  font-size: .65rem; display: flex; align-items: center; justify-content: center;
}
.wh-step div strong { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 3px; }
.wh-step div span   { font-size: .83rem; color: var(--muted-hi); font-weight: 300; line-height: 1.6; }

.direct-links { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }
.direct-link {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--surface);
  transition: border-color .2s, background .2s;
}
.direct-link:hover { border-color: rgba(var(--accent-rgb), .4); background: var(--panel); }
.dl-icon { font-size: 1.2rem; }
.dl-text strong { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 2px; }
.dl-text span   { font-size: .82rem; color: var(--muted-hi); font-weight: 300; }
.dl-arrow { margin-left: auto; color: var(--muted); font-size: .8rem; }

.contact-form-wrap { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.form-header { padding: 28px 32px; border-bottom: 1px solid var(--border); background: var(--panel); }
.form-header h2 { font-size: 1.2rem; margin-bottom: 4px; }
.form-header p  { color: var(--muted-hi); font-size: .85rem; font-weight: 300; }
.form-body { padding: 32px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-family: var(--font-mono); font-size: .62rem;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted-hi); margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px; background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--r-sm); color: var(--text);
  font-family: var(--font-body); font-size: .9rem; font-weight: 300;
  transition: border-color .2s; outline: none; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: rgba(var(--accent-rgb), .5); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-select { cursor: pointer; }
.form-select option { background: var(--panel); }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 16px; background: var(--accent); color: #fff; border: none;
  border-radius: var(--r-sm); font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; letter-spacing: -.02em; cursor: pointer;
  transition: all .25s; box-shadow: 0 8px 24px rgba(var(--accent-rgb), .25); margin-top: 8px;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(var(--accent-rgb), .38); }
.form-note { text-align: center; margin-top: 16px; font-size: .78rem; color: var(--muted); font-weight: 300; }
.form-success { display: none; padding: 40px 32px; text-align: center; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 12px; }
.form-success p  { color: var(--muted-hi); font-size: .9rem; font-weight: 300; line-height: 1.7; }
.success-icon { font-size: 2.5rem; margin-bottom: 16px; }


/* ═══ 23 · UTILITIES & RESPONSIVE ══════════════════════════════════════ */
.u-mt-40 { margin-top: 40px; }
.u-mt-24 { margin-top: 24px; }
.u-mb-0  { margin-bottom: 0; }
.inline-link { color: var(--accent); }

@media (max-width: 1080px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .wrap { padding: 0 24px; }
  .sec { padding: 80px 0; }
  .sec-head { margin-bottom: 44px; }

  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10,10,15,.97); backdrop-filter: blur(24px);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
  }
  nav.site-nav.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-links a.btn { margin-top: 16px; justify-content: center; border-bottom: none; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .flow-strip { flex-direction: column; }
  .flow-step { border-right: none; border-bottom: 1px solid var(--border); padding: 22px 24px; }
  .flow-step:last-child { border-bottom: none; }
  .flow-step::after {
    content: '↓'; right: 26px; top: auto; bottom: -8px;
    transform: none; background: var(--surface);
  }
  .vs-panel { grid-template-columns: 1fr; }
  .vs-col + .vs-col { border-left: none; border-top: 1px solid var(--border); }
  .custom-split, .founder-split, .blog-featured { grid-template-columns: 1fr; gap: 40px; }
  .blog-featured-visual { border-right: none; border-bottom: 1px solid var(--border); min-height: 200px; }
  .blog-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: 1fr; }
  .result-row { grid-template-columns: 1fr; gap: 8px; }
  .result-val { text-align: left; }
  .case-header { grid-template-columns: 1fr; padding: 32px; }
  .case-metrics { text-align: left; }
  .case-body { grid-template-columns: 1fr; }
  .case-col { border-right: none; border-bottom: 1px solid var(--border); padding: 28px 32px; }
  .case-col:last-child { border-bottom: none; }
  .process-step { grid-template-columns: 48px 1fr; gap: 20px; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 60px 24px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; padding: 130px 0 80px; }
  .contact-form-wrap { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-content { padding: 0 32px; max-width: 100%; }
  .hero-strip div { padding: 0 16px; }
  .hero-strip div:first-child { padding-left: 0; }
  .hero-strip b { font-size: 1.05rem; }
  .hero-caption { display: none; }
  .logo-mark { height: 28px; }
  .founder-card { position: static; }
}
