:root {
  color-scheme: light;
  --ink: #0f1424;
  --ink-2: #3a4152;
  --muted: #6b7180;
  --line: #e6e8ec;
  --surface: #ffffff;
  --bg: #ffffff;
  --panel: #eef3fb;
  --brand: #1d4ed8;
  --brand-2: #3b6ff5;
  --brand-soft: #edf2ff;
  --navy: #0a1f5c;
  --cyan: #06b6d4;
  --amber: #b45309;
  --amber-soft: #fff4e5;
  --ok: #16a34a;
  --ok-soft: #dcfce7;
  --danger: #dc2626;
  --grad: linear-gradient(135deg, #2b5fe0, #1d4ed8);
  --grad-text: linear-gradient(100deg, #1d4ed8 10%, #3b82f6 50%, #06b6d4 95%);
  --r-xl: 25px;
  --r-lg: 24px;
  --shadow-xs: 0 1px 2px rgba(11, 21, 48, .05);
  --shadow-sm: 0 1px 2px rgba(11, 21, 48, .04), 0 4px 12px -6px rgba(11, 21, 48, .08);
  --shadow-md: 0 24px 48px -30px rgba(15, 20, 36, .28);
  --shadow-lg: 0 40px 80px -44px rgba(15, 20, 36, .45);
  --glass: linear-gradient(140deg, rgba(255,255,255,.8), rgba(255,255,255,.55));
  --glass-edge: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.55);
  --blur: blur(20px) saturate(180%);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --font: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-family: var(--font);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); overflow-x: hidden; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button, .upload { cursor: pointer; }
img { display: block; max-width: 100%; }
code { font-family: var(--mono); font-size: .86em; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
.wrap { width: min(100% - 40px, 1200px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { left: 16px; }
.glass { background: var(--glass); box-shadow: var(--glass-edge), 0 18px 40px -18px rgba(13, 27, 69, .35); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }

/* Reveal on scroll */
html.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(18px); }
html.js [data-reveal].is-in { transition: opacity .7s var(--ease) var(--delay, 0ms), transform .7s var(--ease) var(--delay, 0ms); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 40; padding: 14px 20px 0; transition: padding .3s var(--ease); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(255,255,255,.8); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 8px 30px -20px rgba(13,27,69,.35); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); transition: background .3s, box-shadow .3s; }
.header.scrolled { padding-top: 10px; }
.header.scrolled .header-inner { background: rgba(255,255,255,.85); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 12px 34px -18px rgba(13,27,69,.4); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; letter-spacing: -.03em; margin-right: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 19px; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 14px -6px rgba(29,78,216,.7); }
.nav { display: flex; gap: 2px; margin-right: 10px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: rgba(29,78,216,.08); color: var(--brand); }

/* ---------- Buttons ---------- */
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0) scale(.98); }
.button.sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.button.lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.button.block { width: 100%; }
.button svg { font-size: 18px; }
.primary { color: #fff; background: var(--brand); box-shadow: 0 8px 22px -10px rgba(29,78,216,.8); }
.primary:hover { background: #2563eb; }
.ghost { color: var(--ink-2); background: transparent; }
.ghost:hover { background: rgba(11,21,48,.05); }
.glass-btn { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px rgba(15,20,36,.22); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.glass-btn:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(15,20,36,.5); }
.outline { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-xs); }
.outline:hover { box-shadow: inset 0 0 0 1px #cdd6e6, var(--shadow-sm); }
.danger { color: var(--danger); background: var(--surface); box-shadow: inset 0 0 0 1px #f5cfcf; }
.danger:hover { background: #fff5f5; }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Type ---------- */
h1 { font-size: clamp(42px, 5.4vw, 80px); line-height: 1.04; letter-spacing: -.045em; font-weight: 600; margin-bottom: 28px; }
h1 em { font-style: normal; color: var(--brand); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(32px, 3.7vw, 52px); line-height: 1.1; letter-spacing: -.04em; font-weight: 600; margin-bottom: 18px; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; margin-bottom: 8px; }
.lead { font-size: clamp(17px, 1.45vw, 19px); line-height: 1.7; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.muted { color: var(--muted); line-height: 1.7; font-size: 17px; }
.section { padding: clamp(96px, 11vw, 150px) 0 0; }
.head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.head.left { text-align: left; margin-left: 0; }
.head p:last-child { color: var(--muted); line-height: 1.7; margin: 0; font-size: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; font-weight: 400; color: var(--ink-2); line-height: 1.45; }
.ticks li > svg { width: 21px; height: 21px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--navy); color: #fff; }
.ticks li.soon > svg { background: var(--amber-soft); color: #c2610c; padding: 3.5px; }
.ticks em { margin-left: 6px; font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); vertical-align: 1px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; margin-bottom: 16px; }
.pill.ok { background: var(--ok-soft); color: #15803d; }
.pill.lab { background: var(--amber-soft); color: var(--amber); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } }

/* ---------- Hero (full-bleed, light neural field) ---------- */
.hero { position: relative; isolation: isolate; margin-top: -78px; min-height: max(720px, 100svh); padding: calc(78px + clamp(56px, 8vh, 110px)) 0 0; display: flex; flex-direction: column; overflow: hidden; color: var(--ink);
  background: radial-gradient(900px 560px at 8% -8%, #dfe9ff, transparent 62%), radial-gradient(760px 560px at 96% 18%, #ece7ff, transparent 64%), radial-gradient(820px 480px at 62% 108%, #dcf6ff, transparent 66%), linear-gradient(180deg, #f8faff, #ffffff); }
/* Fine engineering grid, strongest behind the visual and fading toward the copy and edges. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(29,78,216,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(29,78,216,.075) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 66% 44%, #000 20%, transparent 78%); mask-image: radial-gradient(ellipse 70% 75% at 66% 44%, #000 20%, transparent 78%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); pointer-events: none; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.5) 30%, #000 58%); mask-image: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.5) 30%, #000 58%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.hero-glow.g1 { width: 420px; height: 420px; right: 18%; top: 10%; background: rgba(96,165,250,.22); }
.hero-glow.g2 { width: 360px; height: 360px; right: 2%; top: 42%; background: rgba(167,139,250,.18); }
.hero-grid { flex: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 4vw, 72px); align-items: center; }
.hero h1 { color: var(--ink); font-weight: 600; letter-spacing: -.045em; }
.hero h1 em { color: transparent; background: linear-gradient(100deg, #1d4ed8 5%, #3b82f6 45%, #06b6d4 75%, #7c3aed 110%); -webkit-background-clip: text; background-clip: text; }
.hero .lead { color: var(--muted); }
.hero .primary { background: linear-gradient(135deg, #2b6af0, #1d4ed8); box-shadow: 0 12px 28px -10px rgba(29,78,216,.7), inset 0 1px 0 rgba(255,255,255,.3); }
.hero .primary:hover { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.hero .glass-btn { background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(15,20,36,.14), 0 6px 18px -12px rgba(13,27,69,.35); }
.hero .glass-btn:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(29,78,216,.35), 0 10px 24px -12px rgba(29,78,216,.4); }

/* Glass panels floating in the field */
.holo { position: relative; height: clamp(380px, 44vw, 540px); perspective: 1400px; }
.holo-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.holo-card { position: absolute; top: 50%; width: 42%; aspect-ratio: 200 / 260; border-radius: 20px; color: #2563eb;
  background: linear-gradient(155deg, rgba(255,255,255,.88), rgba(239,245,255,.62) 55%, rgba(236,233,255,.7));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.95), 0 0 0 1px rgba(59,130,246,.16), 0 34px 60px -34px rgba(29,78,216,.5), 0 10px 24px -16px rgba(15,20,36,.18);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); }
.holo-card::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -22%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(59,130,246,.22), transparent); filter: blur(10px); }
.holo-card { transform: translateY(-50%) rotateY(-32deg); transition: transform .6s var(--ease); }
.h1c { left: -4%; width: 34%; opacity: .62; }
.h2c { left: 15%; width: 37%; opacity: .78; }
.h3c { left: 34%; width: 40%; opacity: .9; }
.h4c { left: 56%; width: 46%; transform: translateY(-50%) rotateY(-22deg); color: #1d4ed8; box-shadow: inset 0 0 0 1px #fff, 0 0 0 1px rgba(59,130,246,.3), 0 0 60px -10px rgba(59,130,246,.45), 0 40px 70px -36px rgba(29,78,216,.6); }
.holo-art { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 3px rgba(59,130,246,.25)); }
.holo-art path, .holo-art rect, .holo-art circle { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mesh-l { stroke-width: .8 !important; opacity: .6; }
.mesh-d circle { fill: #2563eb !important; stroke: none !important; }
.xr { stroke-width: 1.6 !important; opacity: .85; }
.xr-spot { stroke: #f59e0b !important; stroke-dasharray: 4 4; }
.idc .mrz { stroke-dasharray: 3 5; }
.mrz-t { fill: currentColor; font: 600 11px var(--mono); letter-spacing: .06em; }
.lk { stroke-width: 6 !important; }
.lk path, .lk rect, .lk circle { stroke-width: 6; }
.holo-cap { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; white-space: nowrap; font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: rgba(255,255,255,.92); box-shadow: inset 0 0 0 1px rgba(29,78,216,.14), 0 4px 12px -6px rgba(13,27,69,.25); }
.holo-cap svg { font-size: 14px; color: var(--brand); }
.corner { position: absolute; width: 18px; height: 18px; border: 2px solid #3b82f6; }
.corner.tl { left: 12px; top: 12px; border-right: 0; border-bottom: 0; }
.corner.tr { right: 12px; top: 12px; border-left: 0; border-bottom: 0; }
.corner.bl { left: 12px; bottom: 44px; border-right: 0; border-top: 0; }
.corner.br { right: 12px; bottom: 44px; border-left: 0; border-top: 0; }
.scan-line { position: absolute; left: 8%; right: 8%; top: 12%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #06b6d4, transparent); box-shadow: 0 0 14px 2px rgba(6,182,212,.45); animation: scan 3.6s ease-in-out infinite; }
@keyframes scan { 50% { top: 76%; } }
.holo-chip { position: absolute; right: 0; bottom: 4%; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 18px; color: var(--ink); background: rgba(255,255,255,.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 0 0 1px rgba(29,78,216,.1), 0 22px 44px -22px rgba(13,27,69,.45); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); animation: drift 7s ease-in-out infinite; }
.holo-chip b { display: block; font-size: 14px; font-weight: 600; }
.holo-chip small { display: block; font-size: 12px; color: var(--muted); }
.holo-chip .fc-ok { margin-left: 0; }
.fc-ok { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 14px; margin-left: 6px; box-shadow: 0 6px 14px -4px rgba(22,163,74,.6); }
@keyframes drift { 50% { transform: translateY(-8px); } }

.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0 34px; margin-top: clamp(28px, 4vh, 56px); border-top: 1px solid rgba(15,20,36,.08); }
.sectors { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.sectors li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.sectors svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; color: var(--brand); background: #fff; box-shadow: inset 0 0 0 1px rgba(29,78,216,.14), 0 4px 12px -8px rgba(13,27,69,.3); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.scroll-cue i { position: relative; width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(15,20,36,.25); }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--brand); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(10px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* ---------- Solutions showcase ---------- */
.sol { display: grid; grid-template-columns: 360px 1fr; gap: 24px; align-items: stretch; }
.sol-tabs { display: grid; gap: 10px; align-content: start; }
.sol-tabs button { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px; border: 0; border-radius: 22px; background: transparent; text-align: left; transition: background .25s, box-shadow .25s; }
.sol-tabs button:hover { background: var(--panel); }
.sol-tabs button[aria-selected="true"] { background: var(--panel); box-shadow: none; }
.sol-ic { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 22px; transition: background .25s, color .25s; }
.sol-tabs [aria-selected="true"] .sol-ic { background: var(--navy); color: #fff; }
.sol-tabs b { display: block; font-size: 17px; font-weight: 600; }
.sol-tabs small { display: block; font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.sol-tabs .bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.sol-tabs.auto [aria-selected="true"] .bar { animation: fill 6s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.sol-panes { border-radius: var(--r-xl); background: var(--panel); box-shadow: none; overflow: hidden; }
.sol-pane { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 460px; animation: paneIn .5s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } }
.sol-media { position: relative; overflow: hidden; background: #dfe8f6; }
.sol-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 25%; }
.face-frame { position: absolute; left: 50%; top: 40%; width: 36%; aspect-ratio: 3 / 4; transform: translate(-50%, -50%); border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 0 0 999px rgba(13,27,69,.28), 0 0 24px rgba(125,211,252,.6); }
.media-chip { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.sol-copy { padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.sol-copy h3 { font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.045em; font-weight: 600; margin-bottom: 12px; }
.sol-copy > p { color: var(--muted); line-height: 1.7; font-size: 16.5px; margin-bottom: 22px; }
.doc-media { display: grid; place-items: center; padding: 28px; background: radial-gradient(400px 300px at 30% 20%, #dbe7ff, transparent 70%), linear-gradient(150deg, #eef4ff, #e3f6fa); }
.idcard { width: min(100%, 380px); padding: 18px; border-radius: 22px; background: linear-gradient(150deg, rgba(255,255,255,.95), rgba(255,255,255,.75)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.95), var(--shadow-lg); transform: rotate(-2deg); }
.id-head { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--brand); margin-bottom: 12px; }
.id-head .chip { width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #f5d27a, #d4a64a); }
.id-top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.id-photo { width: 52px; height: 66px; border-radius: 10px; background: linear-gradient(180deg, #c7d6f5, #a9bfef); position: relative; overflow: hidden; flex: none; }
.id-photo::after { content: ""; position: absolute; left: 50%; top: 14px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #fff; box-shadow: 0 24px 0 9px #fff; opacity: .85; }
.id-lines { flex: 1; display: grid; gap: 8px; }
.id-lines i { display: block; height: 7px; border-radius: 6px; background: rgba(29,78,216,.16); }
.id-lines i:nth-child(1) { width: 70%; } .id-lines i:nth-child(2) { width: 92%; } .id-lines i:nth-child(3) { width: 58%; } .id-lines i:nth-child(4) { width: 80%; }
.id-fields { display: grid; gap: 6px; }
.id-fields span { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.id-fields small { font-size: 12px; color: var(--muted); font-weight: 500; }
.id-fields b { font: 700 12.5px var(--mono); }
.okc { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 11px; }
.mrz { display: block; margin-top: 12px; font-size: 11.5px; letter-spacing: .12em; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xray-media { background: #05070d; }
.xray-media img { object-position: 50% 40%; opacity: .95; }
.roi { position: absolute; border: 2px solid #fbbf24; border-radius: 12px; box-shadow: 0 0 18px rgba(251,191,36,.45); }
.roi.r1 { left: 22%; top: 32%; width: 22%; height: 20%; }
.roi.r2 { right: 20%; top: 48%; width: 18%; height: 17%; border-color: #60a5fa; box-shadow: 0 0 18px rgba(96,165,250,.45); }
.xray-scan { position: absolute; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(96,165,250,.22)); border-bottom: 2px solid rgba(147,197,253,.8); animation: xscan 3.6s ease-in-out infinite; }
@keyframes xscan { 0% { transform: translateY(-100%); } 100% { transform: translateY(330%); } }

/* ---------- Industries (alternating rows) ---------- */
.rows { display: grid; gap: 28px; }
.row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding: 14px; border-radius: var(--r-xl); background: var(--panel); }
.row.reverse .row-media { order: 2; }
.row-media { margin: 0; aspect-ratio: 16 / 11; border-radius: 20px; overflow: hidden; }
.row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.row:hover .row-media img { transform: scale(1.04); }
.row-copy { padding: 12px clamp(8px, 2vw, 28px); }
.row-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 24px; margin-bottom: 18px; }
.row-copy h3 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 600; letter-spacing: -.045em; margin-bottom: 12px; }
.row-copy > p { color: var(--muted); line-height: 1.7; font-size: 17px; margin-bottom: 22px; }

/* ---------- Technology pipeline ---------- */
.tech { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px); color: #fff; background: radial-gradient(600px 360px at 0% 0%, rgba(59,130,246,.55), transparent 65%), radial-gradient(520px 360px at 100% 100%, rgba(6,182,212,.4), transparent 65%), linear-gradient(135deg, #12235a, #0d1a3d); box-shadow: none; isolation: isolate; }
.tech::after, .secure::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.tech-head { max-width: 720px; margin-bottom: 48px; }
.tech h2 { color: #fff; }
.tech-head p:last-child { color: #b7c6ec; line-height: 1.7; font-size: 17px; margin: 0; }
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.pipeline li { position: relative; padding: 22px 20px; border-radius: 24px; background: linear-gradient(150deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 0 0 1px rgba(255,255,255,.1); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); counter-increment: step; }
.pipeline li::before { content: "0" counter(step); position: absolute; right: 18px; top: 18px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.35); }
.pipeline li + li::after { content: ""; position: absolute; left: -12px; top: 44px; width: 10px; height: 10px; border-top: 2px solid rgba(147,197,253,.7); border-right: 2px solid rgba(147,197,253,.7); transform: rotate(45deg); }
.pl-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #bfdbfe; font-size: 22px; margin-bottom: 16px; box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.pipeline b { display: block; font-size: 16.5px; font-weight: 600; margin-bottom: 6px; }
.pipeline li > span:last-child { font-size: 14px; color: #b7c6ec; line-height: 1.5; font-weight: 600; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.quote { position: absolute; right: -18px; bottom: 28px; max-width: 300px; display: flex; gap: 12px; padding: 18px 20px; border-radius: 22px; }
.quote svg { font-size: 24px; color: var(--brand); margin-top: 2px; }
.quote p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.principles > div { padding: 22px; border-radius: 20px; background: var(--panel); box-shadow: none; display: grid; gap: 4px; }
.principles svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: #fff; color: var(--ink); margin-bottom: 8px; }
.principles b { font-size: 16px; font-weight: 600; }
.principles span { font-size: 14.5px; color: var(--muted); line-height: 1.5; font-weight: 600; }

/* ---------- Vision ---------- */
.roadmap { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 18px; align-items: stretch; }
.stage-card { position: relative; background: var(--panel); border-radius: var(--r-xl); padding: 30px; box-shadow: none; overflow: hidden; }
.stage-card::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; border-radius: 0 0 4px 4px; background: var(--grad); }
.stage-card.next::before { background: linear-gradient(90deg, #93c5fd, #c7d2fe); }
.stage-card.lab::before { display: none; }
.phase { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 600; margin-bottom: 16px; }
.stage-card.next .phase { background: #f1f5f9; color: var(--ink-2); }
.stage-card h3 { font-size: 21px; margin-bottom: 14px; }
.stage-card ul { margin: 0; padding-left: 18px; display: grid; gap: 9px; color: var(--ink-2); font-size: 15.5px; font-weight: 600; line-height: 1.45; }
.stage-card li::marker { color: #9db4e8; }
.stage-card.lab { padding: 0; color: #fff; isolation: isolate; min-height: 320px; display: flex; align-items: flex-end; box-shadow: var(--shadow-md); }
.stage-card.lab img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stage-card.lab::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,27,69,.05) 10%, rgba(13,27,69,.88)); }
.lab-body { padding: 28px; }
.stage-card.lab .phase { background: rgba(255,244,229,.95); color: var(--amber); }
.stage-card.lab h3 { color: #fff; }
.stage-card.lab ul { color: #dbe4ff; }

/* ---------- Security ---------- */
.secure { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px); color: #fff; background: radial-gradient(600px 360px at 100% 0%, rgba(59,130,246,.5), transparent 65%), radial-gradient(520px 360px at 0% 100%, rgba(6,182,212,.35), transparent 65%), linear-gradient(135deg, #0d1b45, #12286e); box-shadow: var(--shadow-lg); isolation: isolate; }
.secure-head { max-width: 640px; margin-bottom: 40px; }
.secure h2 { color: #fff; }
.secure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.glass-dark { padding: 24px; border-radius: 24px; background: linear-gradient(150deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), inset 0 0 0 1px rgba(255,255,255,.1); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.glass-dark > svg { font-size: 26px; color: #93c5fd; margin-bottom: 18px; }
.glass-dark h3 { color: #fff; font-size: 17px; }
.glass-dark p { margin: 0; color: #b7c6ec; line-height: 1.6; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: var(--panel); box-shadow: none; transition: box-shadow .25s; }
.faq details[open] { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; position: relative; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; transform: translateY(-50%); border-radius: 50%; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231d4ed8' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: -6px 22px 22px; color: var(--muted); line-height: 1.75; font-size: 16px; }

/* ---------- CTA ---------- */
.cta { position: relative; margin-top: clamp(96px, 11vw, 150px); min-height: 480px; border-radius: var(--r-xl); overflow: hidden; display: flex; align-items: center; padding: clamp(20px, 4vw, 48px); box-shadow: var(--shadow-lg); isolation: isolate; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13,27,69,.45), transparent 70%); }
.cta-card { max-width: 500px; padding: 34px; border-radius: 28px; }
.cta-card h2 { font-size: clamp(26px, 2.8vw, 36px); }
.cta-card p { color: var(--ink-2); line-height: 1.6; margin-bottom: 24px; font-size: 16.5px; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand p { margin: 16px 0 0; color: var(--muted); line-height: 1.7; max-width: 320px; font-weight: 600; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.footer-grid h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.footer-grid nav a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: 14px; color: var(--muted); }
.footer-bottom a { text-decoration: underline; }

/* ---------- Operator page ---------- */
.op-label { white-space: nowrap; margin-right: auto; margin-left: -4px; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 600; }
.op-page .brand { margin-right: 6px; }
.op-main { padding-top: 56px; }
.op-title { font-size: clamp(32px, 3.6vw, 46px); }
.app { border-radius: 28px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); }
.app-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: #f9fbfe; border-bottom: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--muted); }
.dots { display: inline-flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.env { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--ok-soft); color: #15803d; font-size: 12.5px; }
.op-console { display: grid; grid-template-columns: 320px 1fr; }
.console-side { padding: 28px; background: #fbfcfe; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.operator-actions { display: grid; align-content: start; }
.op-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 16px 0; }
.op-modes button { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 0; border-radius: 16px; background: transparent; text-align: left; color: var(--ink-2); transition: background .2s, box-shadow .2s; }
.op-modes button:hover { background: #f5f8fd; }
.op-modes button[aria-selected="true"] { background: var(--brand-soft); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(29,78,216,.18); }
.op-modes svg { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: #eef2f8; color: var(--muted); }
.op-modes [aria-selected="true"] svg { background: var(--brand); color: #fff; }
.op-modes b { display: block; font-size: 15px; font-weight: 600; }
.op-modes small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.panel-intro { margin: 0 0 20px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field-grid .wide { grid-column: 1 / -1; }
.op-console textarea { display: block; width: 100%; padding: 12px 16px; border: 0; border-radius: 14px; background: #fff; color: var(--ink); margin-bottom: 18px; font: inherit; font-size: 15px; resize: vertical; box-shadow: inset 0 0 0 1px var(--line); }
.op-console textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--brand-2), 0 0 0 4px rgba(59,111,245,.14); }
.op-console input:invalid:not(:placeholder-shown):not(:focus) { box-shadow: inset 0 0 0 1.5px #f59e0b; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 4px 0 14px; }
.shots figure { margin: 0; padding: 8px; border-radius: 16px; background: #f7f9fd; box-shadow: inset 0 0 0 1px var(--line); }
.shot-img { display: grid; place-items: center; aspect-ratio: 3 / 4; border-radius: 12px; background: #e9eef7 center / cover no-repeat; overflow: hidden; }
.shot-img img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.shots figcaption { padding: 8px 4px 2px; }
.shots b { display: block; font-size: 13.5px; font-weight: 600; }
.shots small { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.shots .ok { box-shadow: inset 0 0 0 1.5px #86efac; background: #f0fdf4; }
.shots .ok small { color: #15803d; }
.shots .bad { box-shadow: inset 0 0 0 1.5px #fdba74; background: #fff7ed; }
.shots .bad small { color: #b45309; }
.shot-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.shot-actions .hint { margin: 0; }
.sub-head { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.state-pill { margin-left: 8px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--ok-soft); color: #15803d; }
.state-pill.revoked { background: #fee2e2; color: #b91c1c; }
dialog.wizard { width: min(100% - 32px, 560px); }
.steps { display: flex; gap: 6px; list-style: none; margin: 6px 0 12px; padding: 0; counter-reset: step; }
.steps li { flex: 1; display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 12px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: #f3f6fb; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; background: #dfe6f2; color: var(--ink-2); flex: none; }
.steps li.current { color: var(--ink); background: var(--brand-soft); box-shadow: inset 0 0 0 1px rgba(29,78,216,.25); }
.steps li.current::before { background: var(--brand); color: #fff; }
.steps li.done { color: #15803d; background: #f0fdf4; }
.steps li.done::before { content: "✓"; background: var(--ok); color: #fff; }
.wizard-guide { margin: 0 0 12px; font-size: 15px !important; color: var(--ink) !important; font-weight: 500; }
.turn-hint { position: absolute; z-index: 2; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; background: rgba(255,255,255,.9) center / 26px no-repeat; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); display: none; }
.turn-hint.left, .turn-hint.right { display: block; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 12H5m6-6-6 6 6 6' fill='none' stroke='%231d4ed8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.turn-hint.left { left: 14px; }
.turn-hint.right { right: 14px; transform: scaleX(-1); }
.issues { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 6px; min-height: 22px; }
.issues li { padding: 8px 12px; border-radius: 12px; font-size: 14px; background: #fff7ed; color: #9a3412; }
.issues li.good { background: #f0fdf4; color: #15803d; }
#wizard-video { width: 100%; height: 100%; position: absolute; object-fit: cover; transform: scaleX(-1); }
#wizard-shot { width: 100%; height: 100%; position: absolute; object-fit: cover; transform: scaleX(-1); }
.panel { padding: 28px 32px; }
.panel + .panel { border-top: 1px solid var(--line); }
.op-console h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 17px; }
.op-console h3 em { font-style: normal; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 13px; }
.op-console label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.op-console label small { font-weight: 600; color: var(--muted); margin-left: 6px; }
.op-console input:not([type="checkbox"]) { display: block; width: 100%; min-height: 48px; padding: 10px 16px; border: 0; border-radius: 14px; background: #fff; color: var(--ink); margin-bottom: 18px; font-size: 15px; box-shadow: inset 0 0 0 1px #d8dfea, var(--shadow-xs); transition: box-shadow .15s; }
.op-console input:not([type="checkbox"]):focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--brand-2), 0 0 0 4px rgba(59,111,245,.14); }
.op-console input::placeholder { color: #9fabc0; }
.op-console input[type="file"] { padding: 6px 8px; color: var(--muted); }
.op-console input[type="file"]::file-selector-button { margin-right: 12px; border: 0; background: var(--brand-soft); color: var(--brand); border-radius: 10px; padding: 8px 14px; font: 500 13px var(--font); cursor: pointer; }
.hint { font-size: 13px; color: var(--muted); margin: -10px 0 18px; line-height: 1.6; }
#operator-selfie-status { min-height: 18px; }
.status-box { margin-top: auto; padding-top: 24px; }
.status-box span { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
#operator-status { min-height: 54px; margin: 0; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ink-2); }
#operator-status:empty::before { content: "Chưa có thao tác."; color: var(--muted); font-weight: 600; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; color: var(--ink-2) !important; font-weight: 500 !important; font-size: 15px !important; line-height: 1.5; }
.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--brand); }
.file-row { display: flex; gap: 10px; align-items: flex-start; }
.file-row input { flex: 1; min-width: 0; }
.file-row .button { min-height: 48px; }
.panel-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.match-card { margin: 4px 0 0; padding: 18px 20px; border-radius: 18px; background: #f7f9fd; box-shadow: inset 0 0 0 1px var(--line); }
.match-head { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.match-icon { width: 26px; height: 26px; border-radius: 50%; flex: none; background: #94a3b8; }
.match-card.found { background: #f0fdf4; box-shadow: inset 0 0 0 1px #bbf7d0; }
.match-card.found .match-icon { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.match-card.missing { background: #fff7ed; box-shadow: inset 0 0 0 1px #fed7aa; }
.match-card.missing .match-icon { background: #f59e0b; }
.match-card dl { display: grid; gap: 8px; margin: 14px 0 0; }
.match-card dl > div { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.match-card dt { min-width: 110px; font-size: 13px; color: var(--muted); }
.match-card dd { margin: 0; font-weight: 600; word-break: break-all; }
.match-card p { margin: 10px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.match-card .button { margin-top: 12px; }
.op-page .footer { padding-top: 40px; }

/* ---------- Dialog ---------- */
dialog { width: min(100% - 32px, 520px); padding: 24px; border: 0; border-radius: 28px; color: var(--ink); background: rgba(255,255,255,.94); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 40px 90px -30px rgba(13,27,69,.55); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
dialog[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
dialog::backdrop { background: rgba(13, 27, 69, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialog-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 8px; }
.dialog-head h2 { font-size: 24px; margin: 0; }
.close { border: 0; border-radius: 50%; width: 36px; height: 36px; font-size: 20px; line-height: 1; background: rgba(11,21,48,.06); }
dialog p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.preview { display: grid; place-items: center; position: relative; overflow: hidden; aspect-ratio: 16/10; border-radius: 20px; background: radial-gradient(400px 240px at 50% 0%, #1e3a8a, var(--navy)); color: #fff; }
.preview video, .preview img { width: 100%; height: 100%; position: absolute; object-fit: contain; }
.preview video { transform: scaleX(-1); }
.frame { z-index: 1; width: min(42%, 160px); aspect-ratio: 3/4; border-radius: 50%; border: 2.5px dashed rgba(255,255,255,.75); pointer-events: none; }
#empty-preview { position: absolute; bottom: 14px; font-size: 13px; color: #c7d2fe; }
#capture-status { min-height: 20px; margin: 14px 0; }
#camera-match { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 16px; }
#camera-match dt { color: var(--muted); }
#camera-match dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.dialog-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dialog-more { margin: 16px 0 0; font-size: 13.5px !important; }
.dialog-more a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.upload { position: relative; overflow: hidden; }
.upload:focus-within { outline: 2px solid var(--brand-2); outline-offset: 3px; }
.upload input { opacity: 0; position: absolute; inset: 0; width: 100%; cursor: pointer; }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .header-inner { background: rgba(255,255,255,.95); }
  .holo-chip { background: rgba(255,255,255,.96); }
  .glass-dark, .pipeline li { background: rgba(255,255,255,.1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hero-canvas { -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 70%, #000 30%, rgba(0,0,0,.35) 90%); mask-image: radial-gradient(ellipse 90% 70% at 50% 70%, #000 30%, rgba(0,0,0,.35) 90%); }
  .hero::before { -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 65%, #000 20%, transparent 80%); mask-image: radial-gradient(ellipse 90% 70% at 50% 65%, #000 20%, transparent 80%); }
  .hero-grid, .about { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-copy .buttons, .sectors { justify-content: center; }
  .holo { width: min(100%, 620px); margin: 0 auto; height: clamp(340px, 62vw, 460px); }
  .hero-foot { flex-direction: column; }
  .scroll-cue { display: none; }
  .sol { grid-template-columns: 1fr; }
  .sol-tabs { grid-template-columns: repeat(3, 1fr); }
  .sol-tabs small { display: none; }
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .pipeline li + li::after { display: none; }
  .roadmap { grid-template-columns: 1fr 1fr; }
  .stage-card.lab { grid-column: 1 / -1; }
  .secure-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .about-media { max-width: 620px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .op-console { grid-template-columns: 1fr; }
  .console-side { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .header { padding: 10px 12px 0; }
  .hide-sm { display: none; }
  .op-page .brand { font-size: 0; gap: 0; }
  .hero { margin-top: -66px; padding-top: 112px; min-height: 0; }
  .holo { height: 300px; }
  .h1c { left: -6%; } .h2c { left: 12%; } .h3c { left: 30%; } .h4c { left: 52%; }
  .holo-cap { font-size: 10px; padding: 4px 8px; }
  .h1c .holo-cap, .h2c .holo-cap, .h3c .holo-cap { display: none; }
  .holo-chip { right: 50%; transform: translateX(50%); bottom: -6px; animation: none; }
  .hero-copy .buttons .button { flex: 1 1 100%; }
  .sectors { gap: 10px 16px; }
  .sectors li { font-size: 14px; }
  .sol-tabs { grid-template-columns: 1fr; }
  .sol-tabs button { padding: 14px; }
  .sol-pane { grid-template-columns: 1fr; min-height: 0; }
  .sol-media { aspect-ratio: 4 / 3.4; }
  .row, .row.reverse { grid-template-columns: 1fr; padding: 12px; border-radius: 28px; }
  .row.reverse .row-media { order: 0; }
  .row-copy { padding: 8px 10px 14px; }
  .pipeline { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .quote { right: 12px; left: 12px; bottom: 12px; max-width: none; }
  .roadmap, .secure-grid { grid-template-columns: 1fr; }
  .stage-card.lab { grid-column: auto; }
  .tech, .secure, .cta { border-radius: 28px; }
  .cta { min-height: 520px; align-items: flex-end; padding: 14px; }
  .cta-card { padding: 24px; }
  .cta-card .button { flex: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .panel, .console-side { padding: 22px 18px; }
  .file-row { flex-direction: column; align-items: stretch; }
  .panel-foot .button { flex: 1; }
  .op-modes { grid-template-columns: 1fr; padding: 12px 12px 0; }
  .field-grid { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .steps li { font-size: 0; justify-content: center; }
  .app-bar > span:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
  .xray-scan, .scan-line { display: none; }
}

/* ---------- Word marquee & statement ---------- */
.words { overflow: hidden; padding: clamp(40px, 5vw, 64px) 0 0; }
.words-track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.words span { font-size: clamp(56px, 8vw, 120px); font-weight: 500; letter-spacing: -.06em; line-height: 1.1; color: transparent; -webkit-text-stroke: 1.2px rgba(15,20,36,.32); white-space: nowrap; }
.words span:nth-of-type(2n) { color: var(--ink); -webkit-text-stroke: 0; }
.words i { width: 18px; height: 18px; border-radius: 50%; background: var(--brand); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.statement { margin-top: clamp(64px, 8vw, 110px); padding: clamp(40px, 6vw, 80px); border-radius: var(--r-xl); color: #fff; background: radial-gradient(700px 380px at 92% 0%, rgba(56,140,255,.38), transparent 65%), radial-gradient(500px 300px at 0% 100%, rgba(56,189,248,.18), transparent 70%), linear-gradient(160deg, #061a52, #041033); box-shadow: inset 0 0 0 1px rgba(150,205,255,.14), var(--shadow-lg); }
.statement-text { max-width: 980px; margin: 0 0 clamp(40px, 5vw, 64px); font-size: clamp(26px, 3vw, 44px); line-height: 1.25; letter-spacing: -.04em; font-weight: 500; color: #aeb9d6; }
.statement-text span { color: #fff; }
.statement-values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.statement-values > div { padding: 28px 24px 0 0; display: grid; gap: 8px; align-content: start; }
.statement-values > div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.statement-values b { font-size: 14px; font-weight: 400; color: #7aa2ff; }
.statement-values strong { font-size: 18px; font-weight: 400; letter-spacing: -.02em; }
.statement-values span { font-size: 14.5px; color: #aeb9d6; line-height: 1.55; }
.pipeline b, .glass-dark h3, .stage-card h3 { font-weight: 400; letter-spacing: -.02em; }
.footer { border-top: 1px solid var(--line); margin-top: clamp(96px, 11vw, 150px); }
@media (max-width: 1080px) {
  .statement-values { grid-template-columns: 1fr 1fr; }
  .statement-values > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .statement-values > div:nth-child(n+3) { margin-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 680px) {
  .hero { margin: -66px 0 0; }
  .statement-values { grid-template-columns: 1fr; }
  .statement-values > div, .statement-values > div + div { padding: 22px 0 0; border-left: 0; }
  .statement-values > div + div { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
  .words-track { gap: 28px; }
  .words i { width: 12px; height: 12px; }
}
@media (prefers-reduced-motion: reduce) { .words-track { animation: none; } }

/* ---------- Terms and consent page ---------- */
.legal-page .header-inner { justify-content: space-between; }
.legal { padding: clamp(40px, 6vw, 72px) 0 24px; color: var(--ink-2); }
.legal-head { max-width: 860px; }
.legal-kicker { color: var(--brand); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.legal h1 { font-size: clamp(32px, 4.2vw, 54px); margin-bottom: 18px; color: var(--ink); }
.legal-meta { color: var(--muted); font-size: 15px; }
.legal-lead { font-size: 18px; line-height: 1.7; }
.legal mark.fill { background: var(--amber-soft); color: var(--amber); padding: 1px 6px; border-radius: 6px; }
.legal-summary { margin: 32px 0 44px; padding: 26px 30px; border-radius: var(--r-lg); background: var(--panel); max-width: 860px; }
.legal-summary h2 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 12px; color: var(--ink); }
.legal-summary ul { margin: 0; padding-left: 20px; line-height: 1.7; display: grid; gap: 6px; }
.legal-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.legal-toc { position: sticky; top: 96px; font-size: 14.5px; }
.legal-toc h2 { font-size: 15px; letter-spacing: 0; color: var(--ink); margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; }
.legal-toc a:hover { color: var(--brand); }
.legal-text { max-width: 780px; line-height: 1.75; font-size: 16px; }
.legal-text section { padding-top: 8px; margin-bottom: 36px; scroll-margin-top: 96px; }
.legal-text h2 { font-size: 24px; letter-spacing: -.02em; color: var(--ink); margin-bottom: 14px; }
.legal-text h3 { font-size: 17px; color: var(--ink); margin: 20px 0 8px; }
.legal-text ul, .legal-text ol { padding-left: 22px; display: grid; gap: 6px; }
.legal-text dl { display: grid; grid-template-columns: 180px 1fr; gap: 10px 20px; }
.legal-text dt { font-weight: 600; color: var(--ink); }
.legal-text dd { margin: 0; }
.legal-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.accept-preview { display: flex; gap: 10px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font-weight: 500; }
.accept-preview span { color: var(--brand); font-size: 20px; line-height: 1.3; }
dialog.terms-dialog { width: min(100% - 32px, 760px); }
.terms-scroll { max-height: min(60vh, 560px); overflow-y: auto; padding: 4px 8px 4px 2px; margin: 6px 0 16px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.terms-scroll h2 { font-size: 19px; margin: 18px 0 8px; color: var(--ink); }
.terms-scroll h3 { font-size: 16px; margin: 14px 0 6px; }
.terms-scroll mark.fill { background: var(--amber-soft); color: var(--amber); padding: 1px 6px; border-radius: 6px; }
.terms-scroll dl { grid-template-columns: 1fr; }
.erasure-form { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; background: var(--surface); box-shadow: var(--shadow-sm); display: grid; gap: 16px; justify-items: start; }
.erasure-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; }
.erasure-fields label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.erasure-fields input { font: inherit; font-weight: 400; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.erasure-fields input:focus { outline: 2px solid var(--brand-2); outline-offset: 1px; }
.erasure-status { margin: 0; font-weight: 500; }
.erasure-status[data-kind="ok"] { color: var(--ok); background: var(--ok-soft); padding: 12px 16px; border-radius: 12px; }
.erasure-status[data-kind="error"] { color: var(--danger); }
.erasure-status:empty { display: none; }
.legal-page .footer { margin-top: 48px; padding-top: 0; }
@media (max-width: 860px) {
  .legal-body { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-text dl, .legal-columns, .erasure-fields { grid-template-columns: 1fr; }
}
@media print {
  .header, .legal-toc, .footer { display: none; }
  .legal-body { display: block; }
}
