/* === ZAMON SOLUTIONS — CSS BUNDLE === */

/* 1. Base styles */

/* ============================================================
   ZAMON SOLUTIONS — Design System
   Dark enterprise / futuristic "2030" aesthetic
   ============================================================ */

/* ---------- Fonts ----------
   Loaded via <link> in each page's <head> (with preconnect) for faster,
   parallel fetch. Alternate heading fonts load on demand from site.js. */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --brand: #2f6df0;          /* tweakable accent (brand blue, brightened for glow) */
  --brand-deep: #174EA6;
  --brand-press: #0F3578;
  --brand-soft: rgba(47,109,240,0.14);
  --accent-2: #2ce0c8;       /* cyan secondary glow */
  --accent-3: #8b5cf6;       /* violet */

  /* Surfaces */
  --bg-0: #06091a;
  --bg-1: #0a0f1e;
  --bg-2: #0f172a;
  --card: #0d1b2e;
  --card-2: #111827;
  --line: #1e3a5f;
  --line-soft: #1e293b;

  /* Text */
  --text: #f1f5f9;
  --text-2: #94a6bd;
  --text-3: #64748b;

  /* Status */
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;

  /* Type */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Motion */
  --anim: 1;                  /* 0..1.4 background animation intensity (tweakable) */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --maxw: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
  --nav-h: 72px;
}

/* Mood themes (set on <html data-mood="...">) */
/* aurora removed */
/* carbon removed */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: var(--text); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

::selection { background: var(--brand); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { position: relative; padding: clamp(48px, 7vw, 92px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-2);
  padding: 7px 14px; border: 1px solid var(--line);
  border-radius: 100px; background: rgba(255,255,255,0.02);
}
.eyebrow::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }
.h-display { font-size: clamp(34px, 6vw, 72px); }
.h-section { font-size: clamp(28px, 4.4vw, 52px); }
.lede { font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); max-width: 60ch; }

/* ---------- Background field ---------- */
#bg-canvas { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.bg-aura {
  position: fixed; inset: -20% -10%; z-index: -3; pointer-events: none;
  background:
    radial-gradient(40% 50% at 18% 12%, color-mix(in oklab, var(--brand) 30%, transparent), transparent 70%),
    radial-gradient(38% 46% at 85% 22%, color-mix(in oklab, var(--accent-3) 26%, transparent), transparent 70%),
    radial-gradient(45% 55% at 60% 95%, color-mix(in oklab, var(--accent-2) 18%, transparent), transparent 72%);
  filter: blur(40px);
  opacity: calc(0.55 * var(--anim));
  animation: auraDrift calc(26s / max(var(--anim),0.35)) var(--ease) infinite alternate;
}
@keyframes auraDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2%, -3%, 0) scale(1.08); }
}
.grid-veil {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(color-mix(in oklab, var(--line) 55%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--line) 55%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 75%);
  opacity: calc(0.5 * var(--anim));
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: linear-gradient(180deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 8px 30px -8px color-mix(in oklab, var(--brand) 70%, transparent), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px color-mix(in oklab, var(--brand) 85%, transparent), inset 0 1px 0 rgba(255,255,255,0.25); }
.btn-ghost {
  background: rgba(255,255,255,0.02); color: var(--text); border-color: var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: color-mix(in oklab, var(--brand) 60%, var(--line)); background: var(--brand-soft); transform: translateY(-2px); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-arrow { transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Cards ---------- */
.card {
  position: relative; background: linear-gradient(180deg, color-mix(in oklab, var(--card) 92%, transparent), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.card-hover:hover { transform: translateY(-5px); border-color: color-mix(in oklab, var(--brand) 50%, var(--line)); box-shadow: 0 24px 60px -28px rgba(0,0,0,0.8); }

/* chips */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 100px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.02); color: var(--text-2); font-size: 14px; font-weight: 500;
  transition: border-color .3s, color .3s, background .3s, transform .3s;
}
.chip:hover { border-color: color-mix(in oklab, var(--accent-2) 60%, var(--line)); color: var(--text); transform: translateY(-2px); }
.chip svg { color: var(--accent-2); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg-0) 72%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; flex: 0 0 auto; }
.brand-badge { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, var(--brand), var(--accent-2)); box-shadow: 0 6px 18px -6px color-mix(in oklab, var(--brand) 80%, transparent), inset 0 1px 0 rgba(255,255,255,0.25); }
.brand-ph { width: 26px; height: 26px; display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25)); }
.brand small { display:block; font-family: var(--font-mono); font-weight: 500; font-size: 9.5px; letter-spacing: 0.22em; color: var(--text-3); text-transform: uppercase; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 9px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* language switch */
.lang { display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,0.02); }
.lang button {
  border: none; background: transparent; color: var(--text-3); font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; padding: 5px 9px; border-radius: 100px;
  transition: color .2s, background .2s;
}
.lang button.active { color: #fff; background: var(--brand); }
.lang button:hover:not(.active) { color: var(--text); }

/* mobile menu */
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); color: var(--text); align-items: center; justify-content: center; }
.mobile-menu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: color-mix(in oklab, var(--bg-0) 96%, transparent); backdrop-filter: blur(20px); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; padding: 26px; }
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { display: block; padding: 16px 8px; font-family: var(--font-display); font-size: 22px; font-weight: 700; border-bottom: 1px solid var(--line-soft); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); animation: revealFallback 0s 2s forwards; }
[data-reveal].in { opacity: 1; transform: none; animation: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); animation: revealFallback 0s 2.4s forwards; }
[data-reveal-stagger].in > * { opacity: 1; transform: none; animation: none; }
@keyframes revealFallback { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; animation: none !important; }
  .bg-aura { animation: none; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 64px 0 40px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h5 { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 16px; }
.footer a { display: block; color: var(--text-2); font-size: 14.5px; padding: 6px 0; transition: color .2s; }
.footer a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-soft); color: var(--text-3); font-size: 13px; gap: 16px; flex-wrap: wrap; }

/* ---------- Tweaks panel (vanilla) ---------- */
.twk {
  position: fixed; right: 18px; bottom: 18px; z-index: 2147483646; width: 270px;
  display: none; flex-direction: column;
  background: color-mix(in oklab, var(--bg-1) 88%, transparent);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 70px -20px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(22px) saturate(150%); color: var(--text);
  font-family: var(--font-body); overflow: hidden;
}
.twk.open { display: flex; }
.twk-hd { display: flex; align-items: center; justify-content: space-between; padding: 13px 12px 13px 16px; border-bottom: 1px solid var(--line-soft); }
.twk-hd b { font-family: var(--font-display); font-size: 14px; }
.twk-x { border: none; background: transparent; color: var(--text-3); width: 26px; height: 26px; border-radius: 7px; font-size: 13px; }
.twk-x:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.twk-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.twk-sect { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); padding-top: 6px; }
.twk-sect:first-child { padding-top: 0; }
.twk-seg { display: flex; padding: 3px; gap: 3px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-soft); }
.twk-seg button { flex: 1; border: none; background: transparent; color: var(--text-2); font-family: var(--font-body); font-size: 12px; font-weight: 600; padding: 7px 4px; border-radius: 7px; transition: background .2s, color .2s; }
.twk-seg button.on { background: var(--brand); color: #fff; }
.twk-chips { display: flex; gap: 8px; }
.twk-chips button { flex: 1; height: 34px; border-radius: 9px; border: 1px solid var(--line-soft); position: relative; transition: transform .15s, box-shadow .15s; }
.twk-chips button:hover { transform: translateY(-2px); }
.twk-chips button.on { box-shadow: 0 0 0 2px var(--bg-1), 0 0 0 4px #fff; }
.twk-field { width: 100%; height: 34px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line-soft); background: rgba(255,255,255,0.04); color: var(--text); font-family: var(--font-body); font-size: 13px; outline: none; }
.twk-field:focus { border-color: var(--brand); }
.twk-field option { background: var(--bg-1); }
.twk-row-h { display: flex; align-items: center; gap: 12px; }
.twk-range { flex: 1; appearance: none; height: 4px; border-radius: 100px; background: var(--line); outline: none; }
.twk-range::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); cursor: pointer; }
.twk-range::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background: var(--brand); }
.twk-val { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); min-width: 34px; text-align: right; }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.field input, .field select {
  height: 50px; padding: 0 16px; border-radius: 11px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.025); color: var(--text); font-family: var(--font-body); font-size: 15px; outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input:focus, .field select:focus { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px var(--brand-soft); }
.field input::placeholder { color: var(--text-3); }
.field select option { background: var(--bg-1); }
.field-err { font-size: 12.5px; color: var(--bad); min-height: 0; opacity: 0; transition: opacity .2s; }
.field.invalid input, .field.invalid select { border-color: var(--bad); }
.field.invalid .field-err { opacity: 1; }
.seg-input { display: flex; gap: 8px; flex-wrap: wrap; }
.seg-input label { position: relative; flex: 1 1 calc(50% - 4px); min-width: 110px; cursor: pointer; }
.seg-input input { position: absolute; opacity: 0; pointer-events: none; }
.seg-input span { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255,255,255,0.025); font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: all .25s; font-family: var(--font-mono); }
.seg-input input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--text); box-shadow: inset 0 0 0 1px var(--brand); }
.form-success { display: none; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 20px; }
.form-success.show { display: flex; animation: popIn .5s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
.success-check { width: 72px; height: 72px; border-radius: 50%; background: color-mix(in oklab, var(--ok) 20%, transparent); border: 1px solid var(--ok); display: flex; align-items: center; justify-content: center; color: var(--ok); }

/* ============================================================
   LIVE TERMINAL
   ============================================================ */
.term-stage { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: center; margin-bottom: 56px; }
.term-device { position: relative; width: 300px; justify-self: center; border-radius: 28px; padding: 16px; background: linear-gradient(165deg, #11253f, #0a1322); border: 1px solid var(--line); box-shadow: 0 44px 100px -36px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.07); }
.term-top { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 4px 0 13px; }
.term-lens { width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8fdcff, #0a3b98 60%, #04122b); box-shadow: 0 0 12px #2f6df0; }
.term-ir { width: 6px; height: 6px; border-radius: 50%; background: #7a1a1a; box-shadow: 0 0 6px #ff3b3b; animation: irblink 2.4s infinite; }
.term-ir:nth-child(3) { animation-delay: .3s; }
@keyframes irblink { 0%,90%,100% { opacity: .35; } 94% { opacity: 1; } }
.term-screen { position: relative; height: 300px; border-radius: 16px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #0e2236, #060d18); border: 1px solid var(--line-soft); }
.term-face { position: absolute; inset: 0; width: 100%; height: 100%; color: color-mix(in oklab, var(--accent-2) 45%, transparent); opacity: .45; transition: opacity .4s, color .4s; }
.term-device.done .term-face { color: var(--ok); opacity: .65; }
.term-device.done.exit .term-face { color: var(--warn); }
.term-reticle { position: absolute; inset: 22% 25%; transition: transform .4s var(--ease); }
.term-reticle i { position: absolute; width: 22px; height: 22px; border: 2px solid var(--accent-2); opacity: .85; transition: border-color .4s; }
.term-reticle i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.term-reticle i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.term-reticle i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.term-reticle i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.term-device.scanning .term-reticle { animation: retPulse 1s ease-in-out infinite; }
@keyframes retPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.term-device.locked .term-reticle, .term-device.done .term-reticle { transform: scale(0.92); }
.term-device.locked .term-reticle i, .term-device.done .term-reticle i { border-color: var(--ok); }
.term-device.done.exit .term-reticle i { border-color: var(--warn); }
.term-scanline { position: absolute; left: 8%; right: 8%; height: 2px; top: 22%; background: linear-gradient(90deg, transparent, var(--accent-2), transparent); box-shadow: 0 0 14px var(--accent-2); opacity: 0; }
.term-device.scanning .term-scanline { opacity: 1; animation: scanMove 1.1s ease-in-out infinite; }
@keyframes scanMove { 0% { top: 22%; } 50% { top: 74%; } 100% { top: 22%; } }
.term-hud { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; color: var(--accent-2); transition: opacity .3s; }
.term-hud-top { top: 12px; }
.term-hud-bot { bottom: 14px; color: var(--text-2); }
.term-device.done .term-hud { opacity: 0; }
.term-result { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; background: radial-gradient(80% 60% at 50% 45%, color-mix(in oklab, var(--ok) 22%, transparent), transparent 70%); opacity: 0; transform: scale(.92); transition: opacity .4s, transform .4s; pointer-events: none; }
.term-device.done.exit .term-result { background: radial-gradient(80% 60% at 50% 45%, color-mix(in oklab, var(--warn) 22%, transparent), transparent 70%); }
.term-device.done .term-result { opacity: 1; transform: none; }
.tr-check { width: 50px; height: 50px; border-radius: 50%; background: color-mix(in oklab, var(--ok) 22%, transparent); border: 1px solid var(--ok); color: var(--ok); display: flex; align-items: center; justify-content: center; }
.term-device.exit .tr-check { background: color-mix(in oklab, var(--warn) 22%, transparent); border-color: var(--warn); color: var(--warn); }
.tr-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.tr-meta { display: flex; align-items: center; gap: 10px; }
#tr-time { font-size: 14px; color: var(--text); }
.tr-badge { font-family: var(--font-mono); font-size: 11px; padding: 3px 10px; border-radius: 6px; background: color-mix(in oklab, var(--ok) 20%, transparent); color: var(--ok); }
.term-device.exit .tr-badge { background: color-mix(in oklab, var(--warn) 20%, transparent); color: var(--warn); }
.term-foot { display: flex; align-items: center; gap: 9px; padding: 13px 6px 4px; font-size: 11.5px; color: var(--text-3); font-family: var(--font-mono); }
.term-led { width: 9px; height: 9px; border-radius: 50%; background: var(--text-3); transition: background .3s, box-shadow .3s; }
.term-device.done .term-led { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.term-device.done.exit .term-led { background: var(--warn); box-shadow: 0 0 10px var(--warn); }

.term-side { min-width: 0; }
.term-side-head { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-2); font-family: var(--font-mono); margin-bottom: 16px; }
.term-cap { color: var(--text-3); font-size: 13.5px; margin-top: 14px; max-width: 50ch; }
.term-feed { display: flex; flex-direction: column; gap: 10px; }
.term-ev { display: flex; align-items: center; gap: 13px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line-soft); background: linear-gradient(180deg, color-mix(in oklab, var(--card) 92%, transparent), var(--card)); animation: evIn .55s var(--ease); }
@keyframes evIn { from { opacity: 0; transform: translateY(-12px) scale(.98); } to { opacity: 1; transform: none; } }
.term-ev .av { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: #fff; flex: 0 0 auto; }
.term-ev .nm { font-weight: 600; font-size: 14px; }
.term-ev .dp { font-size: 12px; color: var(--text-3); }
.term-ev .tm { margin-left: auto; font-size: 14px; color: var(--text-2); }
.term-ev .bd { font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; border-radius: 7px; flex: 0 0 auto; }
.term-ev .bd.in { background: color-mix(in oklab, var(--ok) 18%, transparent); color: var(--ok); }
.term-ev .bd.out { background: color-mix(in oklab, var(--warn) 18%, transparent); color: var(--warn); }
@media (max-width: 820px) { .term-stage { grid-template-columns: 1fr; gap: 28px; } .term-device { width: 100%; max-width: 300px; } }
@media (prefers-reduced-motion: reduce) { .term-scanline, .term-ir, .term-reticle { animation: none !important; } }

/* ============================================================
   FX — cursor, decode, scan, pulse
   ============================================================ */
.has-cur, .has-cur * { cursor: none; }
.has-cur input, .has-cur textarea, .has-cur select, .has-cur [contenteditable] { cursor: auto; }
.cur-ring {
  position: fixed; top: 0; left: 0; width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1.5px solid color-mix(in oklab, var(--accent-2) 80%, transparent); border-radius: 50%;
  pointer-events: none; z-index: 2147483647; will-change: transform, width, height;
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), border-color .25s, background .25s;
  box-shadow: 0 0 14px -2px color-mix(in oklab, var(--accent-2) 60%, transparent);
}
.cur-dot {
  position: fixed; top: 0; left: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 50%; background: var(--accent-2); pointer-events: none; z-index: 2147483647;
  box-shadow: 0 0 10px var(--accent-2);
}
.cur-hot .cur-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: color-mix(in oklab, var(--brand) 80%, transparent); background: color-mix(in oklab, var(--brand) 10%, transparent); }
.cur-down .cur-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }

.dec-g { color: var(--accent-2); opacity: 0.85; }
[data-decode] { min-height: 1em; }

/* scan sweep over framed screenshots */
.frame.scan { position: relative; }
.frame.scan::after {
  content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -32%;
  background: linear-gradient(180deg, transparent, color-mix(in oklab, var(--accent-2) 20%, transparent) 50%, transparent);
  pointer-events: none; mix-blend-mode: screen; z-index: 4;
  animation: scanY 6s linear infinite;
}
@keyframes scanY { 0% { top: -32%; } 100% { top: 102%; } }

/* timeline traveling pulse */
.ts-pulse {
  position: absolute; left: 50%; top: 0; width: 11px; height: 11px; margin-left: -5.5px;
  border-radius: 50%; background: var(--accent-2);
  box-shadow: 0 0 16px 2px var(--accent-2); pointer-events: none;
  animation: tsPulse 3.4s cubic-bezier(0.65,0,0.35,1) infinite;
}
@keyframes tsPulse {
  0% { top: 0; opacity: 0; transform: scale(0.6); }
  8% { opacity: 1; transform: scale(1); }
  92% { opacity: 1; transform: scale(1); }
  100% { top: 100%; opacity: 0; transform: scale(0.6); }
}

@media (prefers-reduced-motion: reduce) {
  .frame.scan::after, .ts-pulse { animation: none; display: none; }
}

/* utilities */
.glow-text { color: var(--accent-2); }
.grad-text { background: linear-gradient(120deg, #fff 10%, var(--accent-2) 55%, var(--brand) 95%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dim { color: var(--text-2); }

/* ============================================================
   PAGE SECTIONS
   ============================================================ */
.sec-head { max-width: 760px; margin-bottom: 48px; }

.hero-stats {
  display: flex; align-items: center; gap: 20px;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hstat { display: flex; flex-direction: column; gap: 3px; }
.hstat-n {
  font-family: var(--font-mono); font-size: 22px; font-weight: 700;
  color: var(--brand); letter-spacing: -0.02em; line-height: 1;
}
.hstat-l { font-size: 12px; color: var(--text-3); }
.hstat-div { width: 1px; height: 32px; background: var(--line); }
@media (max-width: 640px) {
  .hero-stats { gap: 14px; }
  .hstat-n { font-size: 18px; }
  .hstat-l { font-size: 11px; }
}

/* ---------- Hero ---------- */
.hero-grid { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 48px; align-items: center; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
/* hero visual sizing handled by scene3d.css */
/* legacy float-note styles removed — replaced by .float-card in scene3d.css */

/* ---------- Trust ---------- */
.trust-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 40px 0; }
.tstat { text-align: left; }
.tn { font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -0.03em; background: linear-gradient(120deg, #fff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tl { color: var(--text-2); font-size: 14px; margin-top: 6px; max-width: 22ch; }
.logos { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; margin-top: 42px; }
.logo-ph { font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: 0.04em; color: var(--text-3); opacity: 0.55; filter: grayscale(1); transition: opacity .3s, color .3s; }
.logo-ph:hover { opacity: 1; color: var(--text-2); }

/* ============================================================
   DAY TIMELINE
   ============================================================ */
.day-tl { padding-top: 56px; }
.day-tl-head { text-align: center; margin-bottom: 48px; }
.day-tl-sub { color: var(--text-2); font-size: 15px; margin-top: 8px; }
.day-tl-track { position: relative; }
.day-tl-line {
  position: absolute; top: 28px; left: 0; right: 0; height: 2px;
  background: var(--line); border-radius: 2px; z-index: 0;
}
.day-tl-line-fill {
  height: 100%; width: 0%; background: linear-gradient(90deg, var(--brand), #06b6d4);
  border-radius: 2px; transition: width 1.2s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 12px rgba(37,99,235,0.4);
}
.day-tl-steps {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 12px; position: relative; z-index: 1;
}
.dts { display: flex; flex-direction: column; align-items: center; }
.dts-time {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--brand); letter-spacing: .04em;
  background: var(--bg-0); padding: 0 6px; margin-bottom: 8px; white-space: nowrap;
}
.dts-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--c, var(--brand)); border: 3px solid var(--bg-0);
  box-shadow: 0 0 0 2px var(--c, var(--brand));
  flex-shrink: 0; margin-bottom: 16px;
  transition: transform .3s, box-shadow .3s;
}
.dts:hover .dts-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 3px var(--c, var(--brand)), 0 0 16px var(--c, var(--brand));
}
.dts-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px;
  display: flex; flex-direction: column; gap: 7px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  width: 100%;
}
.dts:hover .dts-card {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px -16px rgba(0,0,0,.18);
  border-color: var(--c, var(--brand));
}
.dts-role {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600;
  color: var(--c, var(--brand));
  background: color-mix(in oklab, var(--c, var(--brand)) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--c, var(--brand)) 25%, transparent);
  padding: 3px 8px; border-radius: 20px; width: fit-content;
}
.dts-card h4 { font-size: 12.5px; font-weight: 700; color: var(--text); margin: 0; line-height: 1.3; }
.dts-card p { font-size: 11.5px; color: var(--text-2); line-height: 1.55; margin: 0; }
.dts-card code {
  font-family: var(--font-mono); font-size: 10.5px;
  background: color-mix(in oklab, var(--brand) 10%, transparent);
  color: var(--brand); padding: 1px 4px; border-radius: 4px;
}
.dts-tag {
  font-size: 11px; color: var(--text-3); padding: 5px 8px;
  background: var(--bg-2); border-radius: 7px;
  border: 1px solid var(--line-soft);
}
.dts-stats {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
}
.dts[data-dts] .dts-card {
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .25s, border-color .25s;
}
.dts[data-dts].dts-in .dts-card { opacity: 1; transform: translateY(0); }
@media (max-width: 1200px) {
  .day-tl-steps { grid-template-columns: repeat(4, 1fr); }
  .day-tl-line { display: none; }
}
@media (max-width: 820px) { .day-tl-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .day-tl-steps { grid-template-columns: 1fr; } }


/* ---- Day Timeline — active step + auto-advance animations ---- */
.dts.dts-active .dts-dot {
  transform: scale(1.4);
  box-shadow: 0 0 0 4px var(--c, var(--brand)), 0 0 24px var(--c, var(--brand));
  animation: dtsPulse 1.8s ease-in-out infinite;
}
@keyframes dtsPulse {
  0%,100% { box-shadow: 0 0 0 4px var(--c,var(--brand)), 0 0 20px var(--c,var(--brand)); }
  50%      { box-shadow: 0 0 0 8px color-mix(in oklab,var(--c,var(--brand)) 30%,transparent), 0 0 40px var(--c,var(--brand)); }
}
.dts.dts-active .dts-card {
  border-color: var(--c, var(--brand)) !important;
  box-shadow: 0 0 0 1px var(--c, var(--brand)), 0 16px 40px -16px color-mix(in oklab,var(--c,var(--brand)) 35%,transparent) !important;
  transform: translateY(-6px) !important;
}
.dts.dts-active .dts-time {
  color: var(--text);
  font-size: 13px;
  text-shadow: 0 0 12px var(--c, var(--brand));
}

/* notification pop inside card */
.dts-notif {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 10px;
  background: var(--bg-0); border: 1px solid var(--line-soft);
  font-size: 11.5px; color: var(--text);
  opacity: 0; transform: translateY(8px) scale(.96);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.dts.dts-active .dts-notif {
  opacity: 1; transform: none;
  animation: notifShake .35s ease 0s 1;
}
@keyframes notifShake {
  0%   { transform: translateX(-4px); }
  30%  { transform: translateX(3px); }
  60%  { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}
.dts-notif .ni { font-size: 16px; }
.dts-notif strong { font-size: 12px; display: block; }
.dts-notif small { color: var(--text-3); font-size: 11px; }

/* progress cursor on line */
.day-tl-cursor {
  position: absolute; top: -6px; width: 14px; height: 14px;
  background: var(--brand); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(37,99,235,.3), 0 0 16px var(--brand);
  transition: left .6s cubic-bezier(.4,0,.2,1);
  pointer-events: none; z-index: 2;
  animation: cursorGlow 1.2s ease-in-out infinite;
}
@keyframes cursorGlow {
  0%,100% { box-shadow: 0 0 0 3px rgba(37,99,235,.3), 0 0 14px var(--brand); }
  50%      { box-shadow: 0 0 0 6px rgba(37,99,235,.2), 0 0 28px var(--brand); }
}

/* fade in dts-tag with delay when active */
.dts .dts-tag { transition: opacity .5s ease .3s, transform .5s ease .3s; opacity: .5; transform: translateY(4px); }
.dts.dts-in .dts-tag { opacity: 1; transform: none; }
.dts.dts-active .dts-tag { opacity: 1; transform: none; }

/* stats animate in */
.dts .dts-stats span { opacity: 0; transform: scale(.8); transition: opacity .4s ease, transform .4s ease; }
.dts.dts-in .dts-stats span { opacity: 1; transform: none; }
.dts.dts-in .dts-stats span:nth-child(1) { transition-delay: .1s; }
.dts.dts-in .dts-stats span:nth-child(2) { transition-delay: .2s; }
.dts.dts-in .dts-stats span:nth-child(3) { transition-delay: .3s; }

/* ---------- Turnstile timeline ---------- */
.ts { position: relative; }
.ts-track { position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: var(--line); border-radius: 2px; }
.ts-track-fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--brand), var(--accent-2)); transform: scaleY(0); transform-origin: top; transition: transform .9s var(--ease); box-shadow: 0 0 16px var(--brand); }
.ts-steps { display: flex; flex-direction: column; gap: 20px; }
.ts-card {
  position: relative; margin-left: 64px; padding: 24px 26px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--card) 92%, transparent), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  opacity: 0; transform: translateX(28px); transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.ts-card.in { opacity: 1; transform: none; }
.ts-card::before {
  content: ""; position: absolute; left: -45px; top: 26px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-0); border: 3px solid var(--line); transition: border-color .5s, box-shadow .5s;
}
.ts-card.in::before { border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft), 0 0 18px var(--brand); }
.ts-num { position: absolute; top: 20px; right: 24px; font-family: var(--font-mono); font-size: 13px; color: var(--text-3); }
.ts-role { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--accent-2); margin-bottom: 9px; }
.ts-emoji { font-size: 20px; }
.ts-card p { color: var(--text-2); font-size: 15.5px; max-width: 62ch; }
.ts-mini { margin-top: 16px; }
.mini-push { display: inline-flex; align-items: center; gap: 11px; padding: 11px 15px; border-radius: 13px; border: 1px solid var(--line-soft); background: color-mix(in oklab, var(--bg-1) 60%, var(--card)); max-width: 380px; }
.mp-ic { font-size: 20px; }
.mini-push b { display: block; font-size: 12.5px; }
.mini-push small { display: block; font-size: 11.5px; color: var(--text-3); margin-top: 1px; }
.ts-mini-stats { display: inline-flex; gap: 28px; padding: 14px 22px; border-radius: 13px; border: 1px solid var(--line-soft); background: color-mix(in oklab, var(--bg-1) 60%, var(--card)); }
.ts-mini-stats div { text-align: center; }
.ts-mini-stats b { display: block; font-size: 22px; }
.ts-mini-stats small { font-size: 11px; color: var(--text-3); }
.mini-lv { display: inline-flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 13px; border: 1px solid var(--line-soft); background: color-mix(in oklab, var(--bg-1) 60%, var(--card)); }
.mini-lv .av { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; }
.mini-lv b { display: block; font-size: 12.5px; }
.mini-lv small { display: block; font-size: 11px; color: var(--text-3); }
.mini-ok { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: color-mix(in oklab, var(--ok) 18%, transparent); color: var(--ok); }

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 28px; }
.feat-ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--accent-2); margin-bottom: 20px; border: 1px solid color-mix(in oklab, var(--brand) 30%, transparent); }
.feat-ic svg { width: 24px; height: 24px; }
.feat h3 { font-size: 19px; margin-bottom: 10px; }
.feat p { color: var(--text-2); font-size: 14.5px; }

/* ---------- Gallery ---------- */
.gal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.gal-tab { padding: 10px 18px; border-radius: 100px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); color: var(--text-2); font-family: var(--font-display); font-weight: 600; font-size: 14px; transition: all .25s; }
.gal-tab:hover { color: var(--text); border-color: color-mix(in oklab, var(--brand) 40%, var(--line)); }
.gal-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 8px 24px -8px var(--brand); }
.gal-desc { color: var(--text-2); font-size: 15px; margin-bottom: 26px; }
.shot { display: block; width: 100%; height: auto; }
.gal-cap { text-align: center; color: var(--text-2); font-size: 15px; margin-top: 22px; max-width: 60ch; margin-left: auto; margin-right: auto; }
.gal-stage { position: relative; }
.gal-panel { display: none; }
.gal-panel.show { display: block; animation: galIn .5s var(--ease); }
.gal-phone.show { display: flex; justify-content: center; }
@keyframes galIn { from { opacity: 0; transform: translateY(16px) scale(0.99); } to { opacity: 1; transform: none; } }

/* ---------- Compliance ---------- */
.law-grid { display: grid; grid-template-columns: 0.92fr 1.18fr; gap: 48px; align-items: center; }
.law-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.law-chips .chip { font-size: 14.5px; padding: 12px 18px; }

/* ---------- Products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod-card { padding: 30px; display: flex; flex-direction: column; }
.prod-tag { align-self: flex-start; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; margin-bottom: 20px; }
.tag-flag { background: var(--brand-soft); color: var(--accent-2); border: 1px solid color-mix(in oklab, var(--brand) 35%, transparent); }
.tag-sec { background: color-mix(in oklab, var(--accent-3) 16%, transparent); color: #b794f6; border: 1px solid color-mix(in oklab, var(--accent-3) 35%, transparent); }
.tag-soon { background: rgba(255,255,255,0.04); color: var(--text-3); border: 1px solid var(--line-soft); }
.prod-card h3 { font-size: 24px; margin-bottom: 12px; }
.prod-card p { color: var(--text-2); font-size: 14.5px; flex: 1; }
.prod-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; color: var(--accent-2); font-family: var(--font-display); font-weight: 600; font-size: 14.5px; transition: gap .25s; }
.prod-link:hover { gap: 12px; }
.prod-soon { opacity: 0.7; border-style: dashed; }

/* ---------- CTA ---------- */
.cta-box { position: relative; text-align: center; padding: clamp(48px, 7vw, 88px) 32px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in oklab, var(--card) 90%, transparent), var(--card)); overflow: hidden; }
.cta-glow { position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, var(--brand-soft), transparent 65%); pointer-events: none; opacity: calc(0.9 * var(--anim) + 0.3); }
.cta-box > * { position: relative; }
.cta-box .cta-glow { position: absolute; z-index: 0; }
.cta-box > *:not(.cta-glow) { z-index: 1; }

/* ---------- Deployment / spec ---------- */
.deploy-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; }
.deploy-step { padding: 26px; position: relative; }
.deploy-step .ds-num { position: absolute; top: 22px; right: 24px; font-size: 13px; color: var(--text-3); }
.deploy-step h3 { font-size: 18.5px; margin-bottom: 9px; }
.deploy-step p { color: var(--text-2); font-size: 14.5px; }
.spec { padding: clamp(22px, 3vw, 36px); }
.spec-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.spec-head h3 { font-size: 21px; }
.spec-table { border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 1.35fr 1fr 1.05fr; }
.spec-row + .spec-row { border-top: 1px solid var(--line-soft); }
.spec-cell { padding: 15px 18px; display: flex; align-items: center; gap: 11px; font-size: 15px; min-width: 0; }
.spec-cell.mono { font-family: var(--font-mono); font-size: 14px; color: var(--text); }
.spec-k { color: var(--text-2); font-weight: 500; }
.spec-k svg { width: 19px; height: 19px; flex: 0 0 auto; color: var(--accent-2); }
.spec-th .spec-cell { background: rgba(255,255,255,0.025); flex-direction: column; align-items: flex-start; gap: 3px; }
.spec-th b { font-family: var(--font-display); font-size: 15px; }
.spec-th small { font-size: 11.5px; color: var(--text-3); }
.spec-cell.rec { background: var(--brand-soft); box-shadow: inset 2px 0 0 color-mix(in oklab, var(--brand) 45%, transparent); }
.spec-th .spec-cell.rec b { color: var(--accent-2); }
.spec-note { display: flex; align-items: center; gap: 11px; margin-top: 18px; font-size: 14px; color: var(--text-2); }
@media (max-width: 880px) {
  .deploy-steps { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .spec-cell { padding: 12px 12px; font-size: 13px; gap: 8px; }
  .spec-cell.mono { font-size: 12.5px; }
  .spec-k svg { width: 16px; height: 16px; }
  .spec-row { grid-template-columns: 1.2fr 1fr 1fr; }
}

/* ---------- inner page hero ---------- */
.page-hero { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 24px; }
.page-hero .lede { margin-top: 22px; }

/* ---------- Product detail ---------- */
.prod-detail { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.prod-detail.reverse .pd-copy { order: 2; }
.prod-detail.reverse .pd-visual { order: 1; }
.pd-sub { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin: 30px 0 16px; }
.pd-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.pd-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; color: var(--text); }
.pd-list svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; color: var(--ok); background: color-mix(in oklab, var(--ok) 16%, transparent); border-radius: 6px; padding: 2px; }
.pd-visual .frame { transform: perspective(1600px) rotateY(8deg); transition: transform .6s var(--ease); }
.prod-detail.reverse .pd-visual .frame { transform: perspective(1600px) rotateY(-8deg); }
.pd-visual .frame:hover { transform: perspective(1600px) rotateY(0); }

/* ---------- About stats ---------- */
.about-stats { padding: clamp(28px, 4vw, 48px); }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.ci-item { display: flex; align-items: flex-start; gap: 15px; }
.ci-ic { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--accent-2); border: 1px solid color-mix(in oklab, var(--brand) 28%, transparent); }
.ci-ic svg { width: 22px; height: 22px; }
.ci-item h5 { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); margin: 0 0 4px; }
.ci-item p { font-size: 16px; color: var(--text); }
.ci-link { color: var(--text); transition: color .2s; }
.ci-link:hover { color: var(--accent-2); }
.ci-badge { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 14px 16px; border-radius: 13px; border: 1px solid color-mix(in oklab, var(--ok) 30%, var(--line)); background: color-mix(in oklab, var(--ok) 8%, transparent); font-size: 13.5px; color: var(--text-2); }
.form-card { padding: clamp(24px, 3.5vw, 40px); }
.form-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .prod-detail, .prod-detail.reverse { grid-template-columns: 1fr; gap: 36px; }
  .prod-detail.reverse .pd-copy { order: 1; }
  .prod-detail.reverse .pd-visual { order: 2; }
  .pd-visual .frame, .prod-detail.reverse .pd-visual .frame { transform: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .form-rows { grid-template-columns: 1fr; }
}
/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .law-grid { grid-template-columns: 1fr; gap: 32px; }
  .feat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .float-note.n-a { left: 0; } .float-note.n-b { right: 0; }
}
@media (max-width: 760px) {
  .trust-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .feat-grid, .prod-grid { grid-template-columns: 1fr; }
}
/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .lang { display: none; }
}


/* 2. Mockups */

/* ============================================================
   ZamonHR — UI mockups (browser frame + app shell + screens)
   ============================================================ */

/* ---------- Browser frame ---------- */
.frame {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.02);
}
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: color-mix(in oklab, var(--bg-1) 80%, #000); border-bottom: 1px solid var(--line-soft); }
.frame-dots { display: flex; gap: 7px; }
.frame-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.frame-dots i:nth-child(1){ background:#ff5f57; } .frame-dots i:nth-child(2){ background:#febc2e; } .frame-dots i:nth-child(3){ background:#28c840; }
.frame-url { flex: 1; margin-left: 10px; height: 26px; border-radius: 7px; background: rgba(255,255,255,0.04); border: 1px solid var(--line-soft); display: flex; align-items: center; padding: 0 12px; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); }
.frame-url svg { width: 12px; height: 12px; color: var(--ok); }

/* ---------- App shell ---------- */
.app { display: grid; grid-template-columns: 200px 1fr; min-height: 460px; background: var(--bg-2); }
.app-side { border-right: 1px solid var(--line-soft); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; background: color-mix(in oklab, var(--bg-1) 60%, var(--bg-2)); }
.app-logo { display: flex; align-items: center; gap: 9px; padding: 4px 8px 16px; font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.app-logo .dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--accent-2)); display: flex; align-items:center; justify-content:center; }
.app-nav { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 9px; color: var(--text-3); font-size: 13px; font-weight: 500; }
.app-nav svg { width: 16px; height: 16px; }
.app-nav.active { background: var(--brand-soft); color: var(--text); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--brand) 40%, transparent); }
.app-side-foot { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 9px 8px; border-top: 1px solid var(--line-soft); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-3), var(--brand)); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; flex: 0 0 auto; }

.app-main { padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.app-top h4 { font-size: 17px; }
.app-top .sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.app-search { height: 32px; border-radius: 8px; border: 1px solid var(--line-soft); background: rgba(255,255,255,0.03); display: flex; align-items: center; gap: 8px; padding: 0 11px; color: var(--text-3); font-size: 12px; min-width: 150px; }
.app-search svg { width: 13px; height: 13px; }

/* stat tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { padding: 14px; border-radius: 12px; border: 1px solid var(--line-soft); background: var(--card); }
.tile .k { font-size: 11px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.tile .v { font-family: var(--font-mono); font-size: 26px; font-weight: 700; margin-top: 7px; letter-spacing: -0.02em; }
.tile .v small { font-size: 13px; color: var(--text-3); font-weight: 500; }
.tile.ok .v { color: var(--ok); } .tile.warn .v { color: var(--warn); } .tile.bad .v { color: var(--bad); }
.pdot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.pdot.ok{background:var(--ok);box-shadow:0 0 8px var(--ok);} .pdot.warn{background:var(--warn);} .pdot.bad{background:var(--bad);}

/* panels row */
.panels { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.panel { border: 1px solid var(--line-soft); border-radius: 12px; background: var(--card); padding: 15px; }
.panel h5 { font-family: var(--font-display); font-size: 13px; margin: 0 0 14px; display: flex; justify-content: space-between; align-items: center; }
.panel h5 span { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); font-weight: 400; }

/* bar chart */
.bars { display: flex; align-items: flex-end; gap: 9px; height: 110px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; height: 100%; }
.bars .bar i { display: block; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--brand), color-mix(in oklab, var(--brand) 40%, transparent)); }
.bars .bar i.late { background: linear-gradient(180deg, var(--warn), color-mix(in oklab, var(--warn) 35%, transparent)); }
.bars .bar small { text-align: center; font-family: var(--font-mono); font-size: 9.5px; color: var(--text-3); }

/* donut */
.donut-wrap { display: flex; align-items: center; gap: 16px; }
.donut { width: 96px; height: 96px; flex: 0 0 auto; }
.donut-legend { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.donut-legend .row { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.donut-legend .row b { margin-left: auto; font-family: var(--font-mono); color: var(--text); }

/* event feed / list */
.feed { display: flex; flex-direction: column; }
.feed .row { display: flex; align-items: center; gap: 11px; padding: 10px 4px; border-bottom: 1px solid var(--line-soft); }
.feed .row:last-child { border-bottom: none; }
.feed .av { width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; color:#fff; }
.feed .nm { font-size: 12.5px; font-weight: 500; }
.feed .meta { font-size: 11px; color: var(--text-3); }
.feed .time { margin-left: auto; font-family: var(--font-mono); font-size: 12px; }
.feed .badge { font-family: var(--font-mono); font-size: 10.5px; padding: 3px 8px; border-radius: 6px; }
.badge.in { background: color-mix(in oklab, var(--ok) 18%, transparent); color: var(--ok); }
.badge.out { background: rgba(255,255,255,0.05); color: var(--text-3); }
.badge.late { background: color-mix(in oklab, var(--warn) 18%, transparent); color: var(--warn); }

/* leave queue */
.lv { display: flex; flex-direction: column; gap: 10px; }
.lv .row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 11px; border: 1px solid var(--line-soft); background: color-mix(in oklab, var(--bg-1) 50%, var(--card)); }
.lv .col { display: flex; flex-direction: column; gap: 2px; }
.lv .nm { font-size: 13px; font-weight: 600; }
.lv .ty { font-size: 11px; color: var(--text-3); }
.lv .bal { margin-left: auto; text-align: right; }
.lv .bal .b { font-family: var(--font-mono); font-size: 14px; font-weight: 700; }
.lv .bal small { font-size: 10px; color: var(--text-3); }
.lv .act { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-soft); }
.lv .act.ok { background: color-mix(in oklab, var(--ok) 16%, transparent); color: var(--ok); border-color: color-mix(in oklab, var(--ok) 40%, transparent); }
.lv .act svg { width: 16px; height: 16px; }
.law-hint { font-size: 11px; color: var(--accent-2); display: flex; align-items: center; gap: 6px; margin-top: 4px; font-family: var(--font-mono); }

/* timesheet table */
.tbl { width: 100%; border-collapse: collapse; font-size: 12px; }
.tbl th { text-align: left; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-3); padding: 8px 9px; border-bottom: 1px solid var(--line); font-weight: 500; }
.tbl td { padding: 9px 9px; border-bottom: 1px solid var(--line-soft); }
.tbl td.mono { font-family: var(--font-mono); }
.tbl .nm { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.tbl tr:last-child td { border-bottom: none; }
.tbl .cell-day { width: 20px; text-align: center; font-family: var(--font-mono); font-size: 10px; }
.day-i { display:inline-flex; width:18px; height:18px; align-items:center; justify-content:center; border-radius:5px; font-size:9.5px; font-family:var(--font-mono); }
.day-i.w { background: color-mix(in oklab, var(--ok) 16%, transparent); color: var(--ok); }
.day-i.l { background: color-mix(in oklab, var(--warn) 18%, transparent); color: var(--warn); }
.day-i.o { background: rgba(255,255,255,0.04); color: var(--text-3); }
.day-i.v { background: color-mix(in oklab, var(--brand) 20%, transparent); color: color-mix(in oklab, var(--brand) 60%, #fff); }

/* ---------- Phone frame (employee app) ---------- */
.phone { width: 280px; border-radius: 38px; padding: 11px; background: linear-gradient(160deg, #1a2436, #0c1320); border: 1px solid var(--line); box-shadow: 0 50px 120px -40px rgba(0,0,0,0.9); }
.phone-screen { border-radius: 28px; overflow: hidden; background: var(--bg-1); position: relative; }
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px 6px; font-family: var(--font-mono); font-size: 11px; color: var(--text-2); }
.phone-status .dots { display: flex; gap: 4px; }
.ph-body { padding: 10px 16px 22px; display: flex; flex-direction: column; gap: 13px; }
.ph-greet { font-size: 12px; color: var(--text-3); }
.ph-greet b { display: block; font-family: var(--font-display); font-size: 19px; color: var(--text); margin-top: 2px; }
.ph-clock { padding: 16px; border-radius: 16px; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; text-align: center; }
.ph-clock .lbl { font-size: 11px; opacity: 0.85; }
.ph-clock .big { font-family: var(--font-mono); font-size: 30px; font-weight: 700; letter-spacing: 0.02em; margin: 3px 0; }
.ph-clock .st { font-size: 11px; display:inline-flex; align-items:center; gap:6px; background: rgba(255,255,255,0.18); padding: 4px 11px; border-radius: 100px; }
.ph-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-mini { padding: 12px; border-radius: 14px; border: 1px solid var(--line-soft); background: var(--card); }
.ph-mini .k { font-size: 10.5px; color: var(--text-3); }
.ph-mini .v { font-family: var(--font-mono); font-size: 19px; font-weight: 700; margin-top: 4px; }
.ph-list { display: flex; flex-direction: column; gap: 8px; }
.ph-item { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 13px; border: 1px solid var(--line-soft); background: var(--card); font-size: 12.5px; }
.ph-item .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); display:flex; align-items:center; justify-content:center; color: var(--accent-2); flex:0 0 auto; }
.ph-item .ic svg { width: 15px; height: 15px; }
.ph-item .chev { margin-left: auto; color: var(--text-3); }
.ph-nav { display: flex; justify-content: space-around; padding: 12px 0 16px; border-top: 1px solid var(--line-soft); background: color-mix(in oklab, var(--bg-2) 70%, transparent); }
.ph-nav i { width: 22px; height: 22px; border-radius: 7px; background: var(--text-3); opacity: 0.35; display: block; }
.ph-nav i.on { background: var(--brand); opacity: 1; }

@media (max-width: 720px) {
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .panels { grid-template-columns: 1fr; }
}


/* 3. Scene 3D */

/* ============================================================
   ZAMON SOLUTIONS — 3D scene + scroll-driven motion
   All motion uses CSS scroll/view timelines (off-main-thread)
   or pure transforms — NO per-frame JS, so it never lags.
   ============================================================ */

/* ---------------- HERO 3D SCENE ---------------- */
.hero { overflow-x: clip; }
/* Hero entrance — visible by DEFAULT (opacity 1). Entrance animates
   TRANSFORM ONLY, so the hero is never blank even if the animation
   is paused/unsupported/frozen — content always shows. */
.hero-in { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-in { animation: heroIn 1s var(--ease) both; }
  .hero-in-2 { animation-delay: .12s; }
  @keyframes heroIn {
    from { transform: translateY(24px); }
    to   { transform: none; }
  }
}
.scene {
  position: relative;
  perspective: 1500px;
  perspective-origin: 52% 42%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scene-stage {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transform: rotateX(14deg) rotateY(-20deg) rotateZ(1.5deg);
  will-change: transform;
}
/* scroll-orbit: scene gently rotates as you move through the hero.
   Z-separated children parallax automatically — that's the 3D depth. */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .scene-stage {
      animation: sceneOrbit linear both;
      animation-timeline: scroll(root);
      animation-range: 0 90vh;
    }
  }
}
@keyframes sceneOrbit {
  from { transform: rotateX(15deg) rotateY(-23deg) rotateZ(2deg); }
  to   { transform: rotateX(3deg)  rotateY(-4deg)  rotateZ(0deg); }
}

/* back grid plane, sits deep */
.scene-grid {
  position: absolute; inset: -16% -10%;
  transform: translateZ(-240px);
  background-image:
    linear-gradient(color-mix(in oklab, var(--accent-2) 22%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--accent-2) 22%, transparent) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 78%);
  opacity: 0.5;
}
.scene-glow {
  position: absolute; inset: 0;
  transform: translateZ(-140px);
  background:
    radial-gradient(38% 44% at 30% 30%, color-mix(in oklab, var(--brand) 55%, transparent), transparent 70%),
    radial-gradient(40% 46% at 78% 72%, color-mix(in oklab, var(--accent-3) 45%, transparent), transparent 70%);
  filter: blur(30px);
  opacity: calc(0.6 * var(--anim));
}
/* decorative orbiting ring */
.scene-ring {
  position: absolute; left: 50%; top: 50%; width: 118%; height: 118%;
  margin: -59% 0 0 -59%;
  border: 1px solid color-mix(in oklab, var(--accent-2) 35%, transparent);
  border-radius: 50%;
  transform: translateZ(-60px) rotateX(78deg);
  opacity: 0.4;
}
.scene-ring::after {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 16px 3px var(--accent-2);
}
@media (prefers-reduced-motion: no-preference) {
  .scene-ring { animation: ringSpin 18s linear infinite; }
}
@keyframes ringSpin { to { transform: translateZ(-60px) rotateX(78deg) rotate(360deg); } }

/* the product frame — the anchor at Z 0 */
.scene .hero-frame {
  position: relative;
  transform: translateZ(0);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.9), 0 0 0 1px var(--line);
}

/* floating glass cards at different depths -> automatic parallax */
.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px; border-radius: 16px;
  background: color-mix(in oklab, var(--card) 72%, transparent);
  border: 1px solid color-mix(in oklab, var(--accent-2) 22%, var(--line));
  box-shadow: 0 30px 60px -22px rgba(0,0,0,0.7);
  backdrop-filter: blur(14px) saturate(140%);
  max-width: 256px; z-index: 3;
}
.float-card b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; line-height: 1.25; }
.float-card small { display: block; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.fc-ic {
  width: 36px; height: 36px; flex: 0 0 auto; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--accent-2);
}
.fc-ic svg { width: 19px; height: 19px; }
.fc-ic.ok { background: color-mix(in oklab, var(--ok) 18%, transparent); color: var(--ok); }
.fc-ic.warn { background: color-mix(in oklab, var(--warn) 18%, transparent); color: var(--warn); }

/* idle float lives on an inner wrapper so it never fights translateZ */
.fc-inner { display: flex; align-items: center; gap: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .fc-inner { animation: fcFloat var(--d,6s) var(--ease) infinite alternate; animation-delay: var(--dl,0s); }
}
@keyframes fcFloat { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

.fc-1 { top: 4%;  left: -7%;  transform: translateZ(120px); }
.fc-2 { top: 40%; right: -10%; transform: translateZ(170px); }
.fc-3 { bottom: 3%; left: 6%;  transform: translateZ(70px); }
.fc-1 .fc-inner { --d: 6s; }
.fc-2 .fc-inner { --d: 7.4s; --dl: .6s; }
.fc-3 .fc-inner { --d: 6.6s; --dl: 1.1s; }

/* ---------------- SCROLL-DRIVEN 3D RISE (sections) ---------------- */
/* Visual blocks rise out of the page in 3D as they scroll in.
   Guarded so unsupported browsers just show the normal state. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-rise3d] {
      animation: rise3d linear both;
      animation-timeline: view();
      animation-range: entry 2% cover 32%;
      transform-origin: 50% 100%;
    }
    @keyframes rise3d {
      from { opacity: 0; transform: perspective(1200px) rotateX(14deg) translateY(46px) scale(.965); }
      to   { opacity: 1; transform: perspective(1200px) rotateX(0)    translateY(0)    scale(1); }
    }
    /* subtle depth tilt that resolves to flat as the block centers */
    [data-tilt3d] {
      animation: tilt3d linear both;
      animation-timeline: view();
      animation-range: cover 8% cover 60%;
      transform-origin: 50% 50%;
    }
    @keyframes tilt3d {
      from { transform: perspective(1400px) rotateX(7deg); }
      to   { transform: perspective(1400px) rotateX(0deg); }
    }
  }
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1080px) {
  .scene { min-height: 420px; }
  .scene-stage { transform: rotateX(8deg) rotateY(-9deg); }
  .fc-1 { left: 1%; transform: translateZ(80px); }
  .fc-2 { right: 1%; transform: translateZ(110px); }
  .fc-3 { left: 6%; transform: translateZ(50px); }
}
@media (max-width: 760px) {
  .scene { perspective: none; min-height: 0; }
  .scene-stage { transform: none !important; animation: none !important; }
  .scene-grid, .scene-glow, .scene-ring { display: none; }
  .scene .hero-frame { transform: none; }
  .float-card { display: none; }
}


/* 4. Gate */

/* ============================================================
   ZAMON SOLUTIONS — Turnstile scene (vector speed-gate)
   A clean SVG speed-gate (two pedestals, glass flaps, Face-ID
   terminal) + a walking silhouette. Light, official palette.
   Animated by class states on #gate (set by terminal.js):
   enter · walk · approach · scanning · granted · through
   ============================================================ */

.gate-stage { display: grid; grid-template-columns: 1.18fr 0.98fr; gap: 30px; align-items: stretch; margin-bottom: 56px; }

/* ---- scene shell (light) ---- */
.gate-scene {
  position: relative; overflow: hidden;
  border-radius: 14px; min-height: 420px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #eaf0f7);
}
.gate-scene::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(64% 50% at 50% 94%, color-mix(in oklab, var(--brand) 9%, transparent), transparent 70%);
}
/* glossy white floor sheen */
.gate-scene::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.55));
  pointer-events: none; z-index: 0;
}

/* ---- rendered turnstile video fills the panel ---- */
.gate-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 1; border-radius: 13px;
}
.gate-scene:has(.gate-video)::before,
.gate-scene:has(.gate-video)::after { display: none; }

/* red neon guiding lines pulse */
@media (prefers-reduced-motion: no-preference) {
  .gs-guide { animation: guidePulse 2.4s ease-in-out infinite; }
}
@keyframes guidePulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
/* brighten guide lines as the gate opens */
.gate-scene.granted .gs-guide { animation: none; opacity: 1; }

/* ---- the vector gate fills the panel, anchored to the floor ---- */
.gate-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---- terminal screen states ---- */
.gs-scan { transform-box: fill-box; opacity: 0; }
.gate-scene.scanning .gs-scan { opacity: 1; animation: gsScan 1.1s ease-in-out infinite; }
@keyframes gsScan { 0% { transform: translateY(0); } 50% { transform: translateY(62px); } 100% { transform: translateY(0); } }

.gs-reticle { transform-box: fill-box; transform-origin: center; transition: stroke .35s; }
.gate-scene.scanning .gs-reticle { animation: gsPulse .9s ease-in-out infinite; }
@keyframes gsPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.gate-scene.granted .gs-reticle { stroke: #34d399; }

.gs-face { transition: opacity .35s; }
.gate-scene.granted .gs-face { opacity: 0; }

.gs-check { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.5); transition: opacity .3s, transform .3s; }
.gate-scene.granted .gs-check { opacity: 1; transform: none; }

#term-led { transition: fill .3s; }
.gate-scene.granted #term-led { fill: #34d399; }

.gs-status { fill: #2ce0c8; font-family: var(--font-mono); font-size: 9px; letter-spacing: .04em; transition: fill .3s; }
.gate-scene.granted .gs-status { fill: #34d399; }

/* ---- glass flaps swing open on access granted ---- */
.gs-flap { transform-box: fill-box; transition: transform .5s var(--ease), opacity .45s; }
.gs-flap-l { transform-origin: left center; }
.gs-flap-r { transform-origin: right center; }
.gate-scene.granted .gs-flap-l { transform: scaleX(.1); opacity: .3; }
.gate-scene.granted .gs-flap-r { transform: scaleX(.1); opacity: .3; }

/* ---- walking silhouette ---- */
.gs-person {
  transform-box: view-box; transform-origin: 300px 356px;
  transform: translateY(64px) scale(1.18); opacity: 0;
  transition: transform 1.25s cubic-bezier(.5,0,.5,1), opacity .5s;
}
.gate-scene.enter .gs-person { opacity: 1; }
.gate-scene.approach .gs-person { transform: translateY(0) scale(1); }
.gate-scene.through  .gs-person { transform: translateY(-58px) scale(.66); opacity: 0; }
.gs-person-body { transform-box: fill-box; transform-origin: bottom center; }
.gate-scene.walk .gs-person-body { animation: gsBob .56s ease-in-out infinite; }
@keyframes gsBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

@media (prefers-reduced-motion: reduce) {
  .gs-person { transition: none; transform: translateX(0) scale(1.08); opacity: 1; }
  .gs-scan, .gs-reticle, .gs-person-body { animation: none !important; }
}

/* ---- floating result + beam to HR (screen-space overlays) ---- */
.gate-pop {
  position: absolute; top: 18px; left: 50%; transform: translate(-50%, -8px) scale(.9);
  display: flex; align-items: center; gap: 10px; padding: 9px 13px; border-radius: 10px;
  background: #fff; border: 1px solid color-mix(in oklab, var(--ok) 35%, var(--line));
  box-shadow: 0 16px 36px -16px rgba(17,41,77,.4);
  opacity: 0; pointer-events: none; transition: opacity .4s, transform .4s; z-index: 7;
}
.gate-scene.granted .gate-pop { opacity: 1; transform: translate(-50%, 0) scale(1); }
.gp-check { width: 26px; height: 26px; flex: 0 0 auto; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: color-mix(in oklab, var(--ok) 16%, #fff); color: var(--ok); }
.gp-name { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--text); }
.gate-pop small { font-size: 11px; color: var(--text-3); }
.gate-beam {
  position: absolute; top: 30px; left: 58%; right: 4%; height: 2px;
  background: linear-gradient(90deg, var(--ok), transparent);
  opacity: 0; transform: scaleX(0); transform-origin: left; z-index: 6;
}
.gate-scene.granted .gate-beam { animation: beamFire .7s var(--ease); }
@keyframes beamFire { 0% { opacity: 0; transform: scaleX(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: scaleX(1); } }

/* ---- HR online side panel ---- */
.hr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.hr-title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--text); }
.hr-sub { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-3); margin-top: 3px; }
.hr-count { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.02em; color: var(--brand); }
.hr-count small { font-size: 15px; color: var(--text-3); font-weight: 600; }
.hr-count.bump { animation: hrBump .5s var(--ease); }
@keyframes hrBump { 0% { transform: scale(1); } 40% { transform: scale(1.16); color: var(--ok); } 100% { transform: scale(1); } }

.term-feed { display: flex; flex-direction: column; gap: 10px; }
.term-ev { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; animation: evIn .5s var(--ease); box-shadow: 0 1px 2px rgba(17,41,77,.04); }
@keyframes evIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.term-ev .av { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12.5px; color: #fff; flex: 0 0 auto; }
.term-ev .nm { font-weight: 600; font-size: 14px; color: var(--text); }
.term-ev .dp { font-size: 12px; color: var(--text-3); }
.term-ev .tm { margin-left: auto; font-size: 13.5px; color: var(--text-2); }
.term-ev .bd { font-family: var(--font-mono); font-size: 10.5px; padding: 4px 9px; border-radius: 6px; flex: 0 0 auto; }
.term-ev .bd.in { background: color-mix(in oklab, var(--ok) 14%, #fff); color: var(--ok); }
.term-ev .bd.out { background: color-mix(in oklab, var(--warn) 16%, #fff); color: var(--warn); }
.term-cap { color: var(--text-2); font-size: 13.5px; margin-top: 14px; }

/* ---- responsive ---- */
@media (max-width: 920px) {
  .gate-stage { grid-template-columns: 1fr; gap: 22px; }
  .gate-scene { min-height: 360px; }
}
@media (max-width: 480px) {
  .gate-scene { min-height: 300px; }
}


/* 5. Government theme (overrides) */

/* ============================================================
   ZAMON SOLUTIONS — GOVERNMENT THEME (gov.css)
   Loaded LAST. Re-themes the whole site to a formal, official
   "government / state institution" style: light surfaces, deep
   official navy + gold, serif headings, square corners, ruled
   sections, no neon. Works across all pages via shared tokens
   and classes.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400&family=Lora:wght@500;600;700&display=swap');

/* ---------- token re-theme (beats styles.css :root + mood blocks) ---------- */
:root,
html[data-mood="midnight"],
html[data-mood="aurora"],
html[data-mood="carbon"] {
  --brand: #123c7a;          /* official deep blue */
  --brand-deep: #0d2d5c;
  --brand-press: #0a2347;
  --brand-soft: #e7eef7;
  --accent-2: #0a6b4a;       /* official green (status / accents) */
  --accent-3: #9c7a23;       /* gold (seals / rules) */

  --bg-0: #eef2f7;           /* page */
  --bg-1: #ffffff;
  --bg-2: #f4f7fb;
  --card: #ffffff;
  --card-2: #f7f9fc;
  --line: #ccd8e6;
  --line-soft: #e4ebf3;

  --text: #11294d;
  --text-2: #43566f;
  --text-3: #76879d;

  --ok: #1f7a4d;
  --warn: #9a6b00;
  --bad: #b3261e;

  --font-display: 'PT Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 6px;
  --radius-lg: 8px;
}

/* base */
body { background: var(--bg-0); color: var(--text); }
h1, h2, h3, h4 { letter-spacing: -0.01em; }
::selection { background: var(--brand); color: #fff; }

/* ---------- kill all neon decorations ---------- */
#bg-canvas, .bg-aura, .grid-veil { display: none !important; }
.grad-text {
  background: none !important; -webkit-text-fill-color: var(--brand) !important;
  color: var(--brand) !important;
}
.glow-text { color: var(--brand) !important; }
.scene-grid, .scene-glow, .scene-ring { display: none !important; }

/* ---------- government top utility bar ---------- */
.gov-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110; height: 34px;
  display: flex; align-items: center;
  background: #0a2347; color: #c7d4e6;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-body); font-size: 12px;
}
.gov-bar .wrap { display: flex; align-items: center; gap: 14px; width: 100%; }
.gov-bar .gov-flag { width: 22px; height: 14px; border-radius: 2px; overflow: hidden; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(255,255,255,.15); display: grid; grid-template-rows: 1fr 1fr 1fr; }
.gov-bar .gov-flag span:nth-child(1) { background: #1a8fd6; }
.gov-bar .gov-flag span:nth-child(2) { background: #fff; }
.gov-bar .gov-flag span:nth-child(3) { background: #1fa463; }
.gov-bar .gov-label { letter-spacing: .02em; color: #b8c6da; }
.gov-bar .gov-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.gov-bar .gov-right a { color: #c7d4e6; opacity: .85; }
.gov-bar .gov-right a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 720px) { .gov-bar .gov-label { display: none; } }


/* ---------- header / nav ---------- */
.nav {
  height: 76px;
  background: #ffffff !important;
  border-bottom: 1px solid var(--line) !important;
  backdrop-filter: none !important;
  box-shadow: 0 1px 0 rgba(17,41,77,.04);
  top: 0 !important;
  z-index: 200;
}
.nav, .nav.scrolled { background: #ffffff !important; backdrop-filter: none !important; }
.nav.scrolled { box-shadow: 0 2px 14px -8px rgba(17,41,77,.35); }
.brand { color: var(--brand); }
.brand > span { white-space: nowrap; }
.brand > span:last-child { font-size: 17px; line-height: 1.05; }
.brand small { color: var(--text-3); letter-spacing: .16em; }
.brand-badge, .brand-ph { filter: none; }
.brand-img { height: 40px; width: 40px; display: block; }
/* ---- Brand phoenix ---- */
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-phoenix { position: relative; width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.phoenix-icon {
  width: 44px; height: 43px; display: block;
  animation: phoenixSpin 8s ease-in-out infinite;
  transform-origin: 50% 55%;
  filter: drop-shadow(0 0 8px rgba(18,60,122,0.35));
}
.brand:hover .phoenix-icon {
  animation: phoenixSpinFast 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(18,60,122,0.6));
}
@keyframes phoenixSpin {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
@keyframes phoenixSpinFast {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
.brand-phoenix { perspective: 200px; }
.phoenix-icon {
  width: 44px; height: 43px; display: block;
  animation: phoenixSpin 4s linear infinite;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 0 8px rgba(18,60,122,0.35));
}
.brand:hover .phoenix-icon {
  animation: phoenixSpinFast 1.5s linear infinite;
  filter: drop-shadow(0 0 14px rgba(18,60,122,0.6));
}
@media (prefers-reduced-motion: reduce) { .phoenix-icon { animation: none !important; } }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; gap: 1px; }
.brand-name { font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; white-space: nowrap; }
.brand-sub { font-size: 9.5px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.brand-name { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--text); letter-spacing: -0.01em; }
.brand-sub { font-size: 11px; color: var(--text-3); font-family: var(--font-mono); }
.nav-links a { color: var(--text-2); font-weight: 600; border-radius: 4px; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); background: var(--brand-soft); }
.nav-links a.active { box-shadow: inset 0 -2px 0 var(--accent-3); }

/* language switch — formal */
.lang { border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.lang button { color: var(--text-3); border-radius: 3px; }
.lang button.active { background: var(--brand); color: #fff; }
.nav-toggle { border: 1px solid var(--line); background: #fff; color: var(--brand); border-radius: 4px; }
.mobile-menu { background: rgba(255,255,255,.98); }
.mobile-menu a { color: var(--text); border-bottom-color: var(--line-soft); }

/* ---------- buttons — formal, square ---------- */
.btn { border-radius: 4px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.btn-primary {
  background: var(--brand) !important; color: #fff !important;
  box-shadow: none !important; border: 1px solid var(--brand-deep);
}
.btn-primary:hover { background: var(--brand-deep) !important; transform: none; }
.btn-ghost {
  background: #fff !important; color: var(--brand) !important;
  border: 1px solid var(--line) !important; backdrop-filter: none !important;
}
.btn-ghost:hover { background: var(--brand-soft) !important; border-color: var(--brand) !important; transform: none; }
.btn:active { transform: none; }

/* ---------- eyebrow → official tag ---------- */
.eyebrow {
  color: var(--brand); background: var(--brand-soft);
  border: 1px solid #cdd ; border: 1px solid color-mix(in oklab, var(--brand) 22%, var(--line));
  border-radius: 3px; font-family: var(--font-body); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow::before { background: var(--accent-3); box-shadow: none; }

/* ---------- headings / type ---------- */
.h-display { font-weight: 700; }
.h-section { font-weight: 700; }
.lede { color: var(--text-2); }
.dim { color: var(--text-2); }

/* gold rule under section headers */
.sec-head { position: relative; }
.sec-head .eyebrow { margin-bottom: 4px; }

/* ---------- cards — formal, ruled ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(17,41,77,.06);
}
.card-hover:hover { transform: none; border-color: var(--brand); box-shadow: 0 8px 22px -14px rgba(17,41,77,.4); }
.chip { background: #fff; border: 1px solid var(--line); color: var(--text-2); border-radius: 4px; }
.chip:hover { transform: none; border-color: var(--brand); color: var(--brand); }
.chip svg { color: var(--accent-2); }

/* ---------- HERO — formal, flatten the 3D scene ---------- */
.hero { background: var(--bg-0); }
.scene { perspective: none !important; min-height: 0 !important; }
.scene-stage { transform: none !important; animation: none !important; }
.scene .hero-frame {
  transform: none !important; border-radius: 8px;
  box-shadow: 0 20px 50px -24px rgba(17,41,77,.45), 0 0 0 1px var(--line) !important;
}
.float-card {
  background: #fff !important; border: 1px solid var(--line) !important;
  box-shadow: 0 10px 26px -16px rgba(17,41,77,.4) !important;
  backdrop-filter: none !important; border-radius: 6px;
}
.float-card .fc-inner { animation: none !important; }
.fc-ic { border-radius: 5px; }
.fc-ic.ok { background: color-mix(in oklab, var(--ok) 14%, #fff); color: var(--ok); }
.fc-ic.warn { background: color-mix(in oklab, var(--warn) 16%, #fff); color: var(--warn); }
.fc-ic { background: var(--brand-soft); color: var(--brand); }
.frame { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.frame-bar { background: #f1f5fa; border-bottom: 1px solid var(--line); }
.frame-url { color: var(--text-3); }
.frame.scan::after { display: none !important; }   /* no neon scan sweep */

/* ---------- trust stats ---------- */
.trust-stats { border-top: 2px solid var(--accent-3); border-bottom: 1px solid var(--line); }
.tstat { border-right: 1px solid var(--line-soft); }
.tn { color: var(--brand); font-weight: 700; }
.tl { color: var(--text-2); }

/* ---------- trust stats ---------- */
.trust { background: var(--bg-0); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 26px 24px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(17,41,77,.04);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.stat-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--accent-3));
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -20px rgba(17,41,77,.45);
  border-color: color-mix(in oklab, var(--brand) 40%, var(--line));
}
.stat-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.stat-ic svg { width: 23px; height: 23px; }
.stat-n {
  font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.02em;
  color: var(--brand);
  background: none; -webkit-text-fill-color: currentColor;
}
.stat-l { color: var(--text-2); font-size: 14.5px; margin-top: 11px; line-height: 1.45; }
@media (max-width: 860px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .stat-grid { grid-template-columns: 1fr; } }

/* ---------- feature cards ---------- */
.feat-ic { background: var(--brand-soft); color: var(--brand); border-radius: 16px; }
.feat h3 { color: var(--text); }
.feat p { color: var(--text-2); }

/* ---------- gallery ---------- */
.gal-tab { background: #fff; border: 1px solid var(--line); color: var(--text-2); border-radius: 4px; }
.gal-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.gal-cap { color: var(--text-2); }

/* ---------- deployment spec table ---------- */
.spec-table { border-color: var(--line); }
.spec-th .spec-cell { background: #f1f5fa; }
.spec-cell.rec { background: var(--brand-soft); box-shadow: inset 2px 0 0 var(--accent-3); }
.spec-th .spec-cell.rec b { color: var(--brand); }
.spec-k svg { color: var(--brand); }
.deploy-step .ds-num { color: var(--accent-3); }

/* ---------- compliance / law ---------- */
.law-chips .chip svg { color: var(--accent-3); }

/* ---------- CTA ---------- */
.cta-box {
  background: var(--brand) !important; color: #fff;
  border: 1px solid var(--brand-deep) !important; border-radius: 8px;
}
.cta-box .eyebrow { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.cta-box h2, .cta-box .h-section { color: #fff; }
.cta-box .lede, .cta-box .dim, .cta-box p { color: #d6e0ef; }
.cta-glow { display: none !important; }
.cta-box .btn-primary { background: #fff !important; color: var(--brand) !important; border-color: #fff; }
.cta-box .btn-primary:hover { background: #eef2f7 !important; }
.cta-box .btn-ghost { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,.4) !important; }

/* ---------- forms ---------- */
.field label { color: var(--text-2); }
.field input, .field textarea, .field select {
  background: #fff; border: 1px solid var(--line); color: var(--text); border-radius: 4px;
}
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.seg-input { border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.seg-input label span { color: var(--text-2); }
.seg-input input:checked + span { background: var(--brand); color: #fff; }
.contact-info .ci-ic { background: var(--brand-soft); color: var(--brand); border-color: color-mix(in oklab, var(--brand) 20%, var(--line)); border-radius: 6px; }
.success-check { background: color-mix(in oklab, var(--ok) 14%, #fff); border-color: var(--ok); color: var(--ok); }

/* ---------- footer — dark official navy ---------- */
.footer { background: #0a2347; border-top: 3px solid var(--accent-3); color: #c7d4e6; }
.footer h5 { color: #8ea3c2; }
.footer a { color: #b8c6da; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; }
.footer .brand small { color: #8ea3c2; }
.footer-bottom { border-top-color: rgba(255,255,255,.12); color: #8ea3c2; }
.footer .dim { color: #9fb0c9; }

/* ---------- HR live panel + feed (light) ---------- */
.hr-title { color: var(--text); }
.term-ev { background: #fff; border: 1px solid var(--line); }
.term-ev .nm { color: var(--text); }
.term-cap { color: var(--text-2); }

/* ---------- turnstile scene: LIGHT panel to match the gov theme ---------- */
.gate-scene {
  background: linear-gradient(180deg, #ffffff, #eaf0f7) !important;
  border: 1px solid var(--line) !important;
  box-shadow: inset 0 1px 0 #fff;
}
.gate-scene::after {
  opacity: .6 !important;
  background: radial-gradient(70% 55% at 50% 96%, color-mix(in oklab, var(--brand) 9%, transparent), transparent 70%) !important;
}
/* floor grid + lane in navy so they read on white */
.iso-floor {
  opacity: .4 !important;
  background-image:
    linear-gradient(color-mix(in oklab, var(--brand) 22%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--brand) 22%, transparent) 1px, transparent 1px) !important;
}
.iso-lane {
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--brand) 34%, transparent), transparent) !important;
  box-shadow: 0 0 26px 4px color-mix(in oklab, var(--brand) 16%, transparent) !important;
  opacity: .6 !important;
}
/* walking person in navy/blue so it stands out on light */
.fig > span {
  background: linear-gradient(160deg, #7ea6da, #2a5a8f 50%, var(--brand)) !important;
  box-shadow: 0 6px 16px -6px rgba(18,60,122,.45) !important;
}
.fig-shadow { background: radial-gradient(closest-side, rgba(18,60,122,.26), transparent) !important; }
/* accent strips + flaps in gold/navy */
.post-strip {
  background: linear-gradient(180deg, var(--accent-3), var(--brand)) !important;
  box-shadow: 0 0 10px 0 color-mix(in oklab, var(--accent-3) 45%, transparent) !important;
}
.flap {
  background: linear-gradient(125deg, color-mix(in oklab, var(--brand) 22%, transparent), color-mix(in oklab, var(--brand) 10%, transparent)) !important;
  border-color: color-mix(in oklab, var(--brand) 40%, transparent) !important;
  box-shadow: 0 0 16px -5px color-mix(in oklab, var(--brand) 40%, transparent) !important;
}

/* timeline cards */
.ts-card { background: #fff; border: 1px solid var(--line); }
.ts-num { color: var(--accent-3); }
.ts-track { background: var(--line); }
.ts-track-fill { background: var(--brand); }
.ts-pulse { display: none !important; }

/* reduce decorative motion globally */
[data-decode] { } /* decode effect still fine */

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .gov-bar .gov-right { gap: 12px; }
}
