/* ==========================================================
   ID Verifx — site styles
   Accent: #00d4ff (brand teal/cyan, carried over from v1)
   ========================================================== */

:root{
  --accent: #00d4ff;
  --accent-600: #00a9cc;
  --accent-ink: #007894;          /* accent for text on light backgrounds (AA) */
  --accent-soft: rgba(0,212,255,.12);
  --accent-glow: rgba(0,212,255,.35);

  --night: #070b14;               /* v1 background, used for dark sections */
  --night-2: #0c1322;
  --night-line: rgba(255,255,255,.09);
  --night-text: rgba(255,255,255,.92);
  --night-muted: rgba(255,255,255,.62);

  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --line: #e3e8ef;
  --line-strong: #cfd7e2;
  --text: #0b1324;
  --muted: #566173;
  --muted-2: #7b8597;

  --ok: #12b76a;
  --warn: #f5a524;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --max: 1200px;

  --shadow-sm: 0 1px 2px rgba(11,19,36,.06), 0 1px 1px rgba(11,19,36,.04);
  --shadow: 0 12px 32px -12px rgba(11,19,36,.18), 0 2px 6px rgba(11,19,36,.05);
  --shadow-lg: 0 40px 80px -24px rgba(0,0,0,.55);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font);
  font-size:16px;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{ display:block; max-width:100%; }
:where(svg[aria-hidden="true"]:not([width])){ width:1.15em; height:1.15em; flex-shrink:0; }
a{ color:inherit; text-decoration:none; }
button,input,select,textarea{ font:inherit; color:inherit; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; border-radius:6px; }
::selection{ background:var(--accent); color:var(--night); }

.wrap{ width:min(var(--max), calc(100% - 32px)); margin:0 auto; }
[id]{ scroll-margin-top:84px; }
.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* ---------- Type ---------- */
h1,h2,h3,h4{ margin:0; line-height:1.1; letter-spacing:-.025em; font-weight:600; }
.display{ font-size:clamp(40px, 6.2vw, 76px); letter-spacing:-.04em; line-height:1.02; }
.h1{ font-size:clamp(36px, 5vw, 60px); letter-spacing:-.035em; }
.h2{ font-size:clamp(28px, 3.6vw, 44px); letter-spacing:-.03em; }
.h3{ font-size:clamp(20px, 2vw, 24px); }
.lead{ font-size:clamp(17px, 1.5vw, 20px); color:var(--muted); line-height:1.55; max-width:62ch; }
.muted{ color:var(--muted); }
.mono{ font-family:var(--mono); }
.accent-text{ color:var(--accent-ink); }
.dark .accent-text{ color:var(--accent); }
.grad-text{
  background:linear-gradient(100deg, #fff 10%, var(--accent) 60%, #7cf0ff 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--mono); font-size:12px; font-weight:500;
  letter-spacing:.08em; text-transform:uppercase;
  color:var(--accent-ink);
}
.eyebrow::before{
  content:""; width:6px; height:6px; border-radius:2px; background:var(--accent);
  box-shadow:0 0 12px var(--accent-glow);
}
.dark .eyebrow{ color:var(--accent); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:44px; padding:0 18px;
  border-radius:999px; border:1px solid var(--line-strong);
  background:#fff; color:var(--text);
  font-size:15px; font-weight:500; white-space:nowrap;
  cursor:pointer; transition:transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover{ border-color:var(--text); }
.btn:active{ transform:translateY(1px); }
.btn svg{ width:16px; height:16px; transition:transform .15s ease; }
.btn:hover svg.arrow{ transform:translateX(3px); }
.btn-primary{
  background:var(--accent); border-color:var(--accent); color:var(--night);
  box-shadow:0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover{ background:#3ddcff; border-color:#3ddcff; }
.btn-dark{ background:var(--night); border-color:var(--night); color:#fff; }
.btn-dark:hover{ background:#1a2336; border-color:#1a2336; }
.btn-sm{ height:36px; padding:0 14px; font-size:14px; }
.btn-lg{ height:52px; padding:0 24px; font-size:16px; }
.dark .btn:not(.btn-primary){ background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.18); color:#fff; }
.dark .btn:not(.btn-primary):hover{ background:rgba(255,255,255,.09); border-color:rgba(255,255,255,.35); }

.link-arrow{ display:inline-flex; align-items:center; gap:6px; font-weight:500; color:var(--accent-ink); }
.link-arrow svg{ width:14px; height:14px; transition:transform .15s ease; }
.link-arrow:hover svg{ transform:translateX(3px); }
.dark .link-arrow{ color:var(--accent); }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(7,11,20,.72);
  backdrop-filter:saturate(160%) blur(16px);
  -webkit-backdrop-filter:saturate(160%) blur(16px);
  border-bottom:1px solid var(--night-line);
  color:#fff;
}
.nav{ display:flex; align-items:center; gap:28px; height:68px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:600; font-size:18px; letter-spacing:-.02em; flex-shrink:0; }
.brand .brand-mark{ width:32px; height:32px; }
.brand small{ display:block; font-family:var(--mono); font-size:10px; font-weight:400; letter-spacing:.06em; color:var(--night-muted); text-transform:uppercase; margin-top:1px; }
.nav-links{ display:flex; align-items:center; gap:2px; margin-right:auto; }
.nav-links a{
  padding:8px 12px; border-radius:8px;
  font-size:14.5px; color:var(--night-muted);
  transition:color .15s ease, background .15s ease;
}
.nav-links a:hover{ color:#fff; background:rgba(255,255,255,.06); }
.nav-links a[aria-current="page"]{ color:#fff; }
.nav-links a[aria-current="page"]::after{
  content:""; display:block; height:2px; margin-top:4px; margin-bottom:-6px; border-radius:2px; background:var(--accent);
}
.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-cta .btn{ height:38px; font-size:14px; }
.nav-toggle{
  display:none; width:40px; height:40px; border-radius:10px;
  border:1px solid rgba(255,255,255,.16); background:transparent; color:#fff; cursor:pointer;
  align-items:center; justify-content:center; margin-left:auto;
}
.nav-toggle svg{ width:20px; height:20px; }
.mobile-panel{ display:none; }

@media (max-width: 1020px){
  .nav-links, .nav-cta{ display:none; }
  .nav-toggle{ display:inline-flex; }
  .site-header.open .mobile-panel{
    display:block; padding:8px 0 20px; border-top:1px solid var(--night-line);
  }
  .mobile-panel a.m-link{
    display:block; padding:12px 4px; font-size:17px; color:var(--night-text);
    border-bottom:1px solid var(--night-line);
  }
  .mobile-panel a.m-link[aria-current="page"]{ color:var(--accent); }
  .mobile-panel .btn{ width:100%; margin-top:14px; }
}

/* ---------- Sections ---------- */
.section{ padding:clamp(72px, 9vw, 120px) 0; position:relative; }
.section-sm{ padding:clamp(48px, 6vw, 72px) 0; }
.section-soft{ background:var(--bg-soft); }
.dark{ background:var(--night); color:var(--night-text); }
.dark .muted, .dark .lead{ color:var(--night-muted); }
.section-head{ display:flex; flex-direction:column; gap:16px; max-width:760px; margin-bottom:clamp(40px, 5vw, 64px); }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; align-items:center; }
.section-head.split{
  max-width:none; flex-direction:row; align-items:flex-end; justify-content:space-between; gap:32px;
}
.section-head.split > .btn{ flex:none; }
.section-head.split > div{ display:flex; flex-direction:column; gap:16px; max-width:640px; }
@media (max-width: 800px){ .section-head.split{ flex-direction:column; align-items:flex-start; } }

.grid-bg{
  position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:56px 56px;
  mask-image:radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image:radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%);
}
.glow{
  position:absolute; pointer-events:none; border-radius:50%; filter:blur(80px);
  background:radial-gradient(circle, rgba(0,212,255,.38), transparent 65%);
}

/* ---------- Hero ---------- */
.hero{ position:relative; overflow:hidden; padding:clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 112px); }
.hero .glow.g1{ width:720px; height:720px; top:-360px; left:-120px; }
.hero .glow.g2{ width:520px; height:520px; top:80px; right:-200px; opacity:.6; }
.hero-grid{ position:relative; display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(40px, 5vw, 72px); align-items:center; }
@media (max-width: 960px){
  .hero-grid{ grid-template-columns:1fr; }
  .mock{ max-width:520px; margin-bottom:28px; }
  .float-chip.c1{ left:-8px; }
  .float-chip.c2{ right:-8px; }
}
.hero-grid > *, .split > *, .cta-band > *, .uc > *{ min-width:0; }
.hero-copy{ display:flex; flex-direction:column; gap:24px; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:12px; margin-top:8px; }
.hero-proof{ display:flex; flex-wrap:wrap; gap:8px 22px; margin-top:12px; font-size:14px; color:var(--night-muted); }
.hero-proof span{ display:inline-flex; align-items:center; gap:8px; }
.hero-proof svg{ width:16px; height:16px; color:var(--accent); }
.announce{
  display:inline-flex; align-items:center; gap:10px; width:fit-content;
  padding:5px 14px 5px 5px; border-radius:999px;
  border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.04);
  font-size:13.5px; color:var(--night-muted); transition:border-color .15s ease;
}
.announce:hover{ border-color:rgba(0,212,255,.5); }
.announce svg{ width:14px; height:14px; }
.announce b{ padding:3px 9px; border-radius:999px; background:var(--accent-soft); color:var(--accent); font-weight:500; font-size:12px; }

.page-hero{ position:relative; overflow:hidden; padding:clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); }
.page-hero .glow{ width:640px; height:640px; top:-380px; left:50%; transform:translateX(-50%); }
.page-hero .inner{ position:relative; display:flex; flex-direction:column; gap:20px; max-width:820px; }
.page-hero.center .inner{ margin:0 auto; text-align:center; align-items:center; }

/* ---------- Product mock (hero) ---------- */
.mock{ position:relative; }
.mock-card{
  position:relative; z-index:1;
  border-radius:20px; overflow:hidden;
  background:linear-gradient(180deg, #111a2c, #0b1220);
  border:1px solid rgba(255,255,255,.1);
  box-shadow:var(--shadow-lg), 0 0 0 1px rgba(0,212,255,.06) inset;
}
.mock-top{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:14px 18px; border-bottom:1px solid var(--night-line);
  font-size:13px; color:var(--night-muted);
}
.mock-top .dots{ display:flex; gap:6px; }
.mock-top .dots i{ width:10px; height:10px; border-radius:50%; background:rgba(255,255,255,.12); }
.mock-body{ padding:20px 18px 18px; display:flex; flex-direction:column; gap:14px; }
.mock-id{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.mock-id .who{ display:flex; align-items:center; gap:12px; }
.avatar{
  width:40px; height:40px; border-radius:12px; display:grid; place-items:center;
  background:linear-gradient(135deg, rgba(0,212,255,.25), rgba(0,212,255,.05));
  border:1px solid rgba(0,212,255,.3); color:var(--accent); font-weight:600; font-size:14px;
}
.mock-id b{ display:block; font-size:15px; color:#fff; font-weight:500; }
.mock-id small{ font-family:var(--mono); font-size:11.5px; color:var(--night-muted); }
.status{
  display:inline-flex; align-items:center; gap:6px;
  padding:4px 10px; border-radius:999px; font-size:12px; font-weight:500;
  background:rgba(18,183,106,.14); color:#4ee39a; border:1px solid rgba(18,183,106,.3);
}
.status::before{ content:""; width:6px; height:6px; border-radius:50%; background:currentColor; }
.status.pending{ background:rgba(245,165,36,.12); color:#ffc65c; border-color:rgba(245,165,36,.3); }
.checks{ display:flex; flex-direction:column; border:1px solid var(--night-line); border-radius:14px; overflow:hidden; }
.check-row{
  display:grid; grid-template-columns:28px 1fr auto; gap:12px; align-items:center;
  padding:11px 14px; font-size:13.5px; border-bottom:1px solid var(--night-line);
  background:rgba(255,255,255,.015);
}
.check-row:last-child{ border-bottom:0; }
.check-row .ic{
  width:28px; height:28px; border-radius:8px; display:grid; place-items:center;
  background:rgba(255,255,255,.05); color:var(--night-muted);
}
.check-row .ic svg{ width:15px; height:15px; }
.check-row b{ display:block; color:#fff; font-weight:500; }
.check-row span{ color:var(--night-muted); font-size:12.5px; }
.check-row .ok{ width:20px; height:20px; border-radius:50%; display:grid; place-items:center; background:rgba(18,183,106,.16); color:#4ee39a; }
.check-row .ok svg{ width:12px; height:12px; }
.anchor{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:12px 14px; border-radius:14px;
  background:linear-gradient(90deg, rgba(0,212,255,.12), rgba(0,212,255,.03));
  border:1px solid rgba(0,212,255,.25);
  font-size:13px;
}
.anchor b{ display:block; color:#fff; font-weight:500; }
.anchor code{ font-family:var(--mono); font-size:12px; color:var(--accent); }
.anchor .chain{ width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background:rgba(0,212,255,.15); color:var(--accent); flex-shrink:0; }
.anchor .chain svg{ width:18px; height:18px; }
.float-chip{
  position:absolute; z-index:2;
  display:flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:14px;
  background:rgba(255,255,255,.96); color:var(--text);
  box-shadow:0 20px 40px -12px rgba(0,0,0,.5);
  font-size:13px; line-height:1.3;
  animation:floaty 6s ease-in-out infinite;
}
.float-chip b{ display:block; font-weight:600; }
.float-chip span{ color:var(--muted); font-size:12px; }
.float-chip .ic{ width:32px; height:32px; border-radius:10px; display:grid; place-items:center; background:var(--accent-soft); color:var(--accent-ink); flex-shrink:0; }
.float-chip .ic svg{ width:16px; height:16px; }
.float-chip.c1{ left:-36px; bottom:-26px; }
.float-chip.c2{ right:-24px; top:-22px; animation-delay:-3s; }
@keyframes floaty{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-8px); } }

/* ---------- Industry strip ---------- */
.strip{ border-top:1px solid var(--night-line); padding:28px 0; position:relative; }
.strip-inner{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; justify-content:space-between; }
.strip p{ margin:0; font-size:13px; color:var(--night-muted); font-family:var(--mono); text-transform:uppercase; letter-spacing:.08em; }
.strip ul{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:10px 28px; }
.strip li{ display:flex; align-items:center; gap:8px; color:rgba(255,255,255,.78); font-size:15px; font-weight:500; }
.strip li svg{ width:18px; height:18px; color:var(--accent); }

/* ---------- Cards & grids ---------- */
.grid{ display:grid; gap:20px; }
.g2{ grid-template-columns:repeat(2, 1fr); }
.g3{ grid-template-columns:repeat(3, 1fr); }
.g4{ grid-template-columns:repeat(4, 1fr); }
@media (max-width: 960px){ .g3, .g4{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width: 640px){ .g2, .g3, .g4{ grid-template-columns:1fr; } }

.card{
  position:relative; display:flex; flex-direction:column; gap:12px;
  padding:28px; border-radius:var(--r-lg);
  background:#fff; border:1px solid var(--line);
  transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.card:hover{ border-color:var(--line-strong); box-shadow:var(--shadow); transform:translateY(-2px); }
.section-soft .card{ background:#fff; }
.card h3{ font-size:19px; letter-spacing:-.015em; }
.card p{ margin:0; color:var(--muted); font-size:15px; }
.card .link-arrow{ margin-top:auto; padding-top:8px; font-size:14.5px; }
.dark .card{ background:rgba(255,255,255,.03); border-color:var(--night-line); }
.dark .card p{ color:var(--night-muted); }
.dark a.card:hover{ border-color:rgba(0,212,255,.35); box-shadow:none; }

.icon-tile{
  width:44px; height:44px; border-radius:12px; display:grid; place-items:center;
  background:var(--accent-soft); color:var(--accent-ink);
  border:1px solid rgba(0,212,255,.25);
}
.icon-tile svg{ width:22px; height:22px; }
.dark .icon-tile{ color:var(--accent); background:rgba(0,212,255,.08); }

/* Bento */
.bento{ display:grid; grid-template-columns:repeat(6, 1fr); gap:20px; }
.bento .card{ grid-column:span 2; overflow:hidden; }
.bento .card.wide{ grid-column:span 3; }
.bento .card.xl{ grid-column:span 4; }
@media (max-width: 960px){ .bento{ grid-template-columns:1fr 1fr; } .bento .card, .bento .card.wide, .bento .card.xl{ grid-column:span 1; } }
@media (max-width: 640px){ .bento{ grid-template-columns:1fr; } }
.bento-visual{
  margin:6px -28px -28px; padding:20px 28px 24px;
  background:linear-gradient(180deg, var(--bg-soft), #fff);
  border-top:1px solid var(--line);
  flex:1; display:flex; flex-direction:column; justify-content:flex-end; gap:8px;
}
.mini-row{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:9px 12px; border-radius:10px; background:#fff; border:1px solid var(--line);
  font-size:13px;
}
.mini-row .k{ color:var(--muted); }
.mini-row .v{ font-family:var(--mono); font-size:12.5px; }
.pill{
  display:inline-flex; align-items:center; gap:6px; padding:3px 9px; border-radius:999px;
  font-size:12px; font-weight:500; background:var(--bg-soft); border:1px solid var(--line); color:var(--muted);
}
.pill.ok{ background:rgba(18,183,106,.1); border-color:rgba(18,183,106,.25); color:#0a8a4f; }
.pill.acc{ background:var(--accent-soft); border-color:rgba(0,212,255,.3); color:var(--accent-ink); }
.pill.warn{ background:rgba(245,165,36,.12); border-color:rgba(245,165,36,.3); color:#9a6100; }
.meter{ height:8px; border-radius:99px; background:var(--line); overflow:hidden; }
.meter i{ display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg, var(--accent-600), var(--accent)); }

/* ---------- Steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; counter-reset:step; }
@media (max-width: 960px){ .steps{ grid-template-columns:1fr 1fr; } }
@media (max-width: 560px){ .steps{ grid-template-columns:1fr; } }
.step{ position:relative; padding-top:28px; border-top:1px solid var(--line); }
.dark .step{ border-top-color:var(--night-line); }
.step::before{
  counter-increment:step; content:"0" counter(step);
  position:absolute; top:-1px; left:0; padding-top:12px;
  border-top:2px solid var(--accent); width:40px;
  font-family:var(--mono); font-size:12px; color:var(--accent-ink);
}
.dark .step::before{ color:var(--accent); }
.step h3{ font-size:18px; margin:18px 0 8px; }
.step p{ margin:0; font-size:15px; color:var(--muted); }
.dark .step p{ color:var(--night-muted); }

/* ---------- Stats ---------- */
.stats{ display:grid; grid-template-columns:repeat(4, 1fr); border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; background:#fff; }
.stat{ padding:32px 28px; border-right:1px solid var(--line); }
.stat:last-child{ border-right:0; }
.stat b{ display:block; font-size:clamp(34px, 4vw, 48px); font-weight:600; letter-spacing:-.04em; line-height:1; }
.stat b em{ font-style:normal; color:var(--accent-ink); }
.stat span{ display:block; margin-top:10px; color:var(--muted); font-size:14.5px; }
.dark .stats{ background:transparent; border-color:var(--night-line); }
.dark .stat{ border-color:var(--night-line); }
.dark .stat b em{ color:var(--accent); }
@media (max-width: 860px){
  .stats{ grid-template-columns:1fr 1fr; }
  .stat:nth-child(2){ border-right:0; }
  .stat:nth-child(-n+2){ border-bottom:1px solid var(--line); }
  .dark .stat:nth-child(-n+2){ border-bottom-color:var(--night-line); }
}

/* ---------- Split feature ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(40px, 6vw, 88px); align-items:center; }
.split.flip > :first-child{ order:2; }
@media (max-width: 900px){ .split{ grid-template-columns:1fr; } .split.flip > :first-child{ order:0; } }
.split-copy{ display:flex; flex-direction:column; gap:18px; }
.ticks{ list-style:none; margin:8px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.ticks li{ display:grid; grid-template-columns:22px 1fr; gap:12px; font-size:15.5px; }
.ticks li::before{
  content:""; width:22px; height:22px; border-radius:50%; margin-top:1px;
  background:var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007894' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.dark .ticks li::before{
  background:rgba(0,212,255,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.ticks b{ font-weight:600; }
.ticks span{ color:var(--muted); }
.dark .ticks span{ color:var(--night-muted); }

.panel{
  position:relative; border-radius:var(--r-lg); padding:28px;
  background:var(--bg-soft); border:1px solid var(--line); overflow:hidden;
}
.dark .panel{ background:rgba(255,255,255,.03); border-color:var(--night-line); }

/* ---------- Architecture diagram ---------- */
.arch{ display:grid; grid-template-columns:1fr auto 1fr auto 1fr; gap:14px; align-items:stretch; }
.arch-node{
  display:flex; flex-direction:column; gap:10px; padding:22px; border-radius:18px;
  background:rgba(255,255,255,.03); border:1px solid var(--night-line);
}
.arch-node.core{ border-color:rgba(0,212,255,.45); background:linear-gradient(180deg, rgba(0,212,255,.1), rgba(0,212,255,.02)); box-shadow:0 0 60px -20px var(--accent-glow); }
.arch-node h4{ font-size:16px; color:#fff; display:flex; align-items:center; gap:10px; }
.arch-node h4 svg{ width:18px; height:18px; color:var(--accent); }
.arch-node ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.arch-node li{ font-size:13.5px; color:var(--night-muted); padding-left:14px; position:relative; }
.arch-node li::before{ content:""; position:absolute; left:0; top:9px; width:5px; height:5px; border-radius:1px; background:rgba(0,212,255,.6); }
.arch-node .tag{ font-family:var(--mono); font-size:11px; color:var(--accent); text-transform:uppercase; letter-spacing:.08em; }
.arch-link{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; color:var(--night-muted); font-family:var(--mono); font-size:11px; min-width:60px; }
.arch-link .line{ width:100%; height:1px; background:linear-gradient(90deg, transparent, var(--accent), transparent); position:relative; }
.arch-link .line::after{ content:""; position:absolute; right:0; top:-3px; border:3.5px solid transparent; border-left:6px solid var(--accent); }
@media (max-width: 900px){
  .arch{ grid-template-columns:1fr; }
  .arch-link{ min-height:36px; flex-direction:row; }
  .arch-link .line{ width:1px; height:28px; background:linear-gradient(180deg, transparent, var(--accent), transparent); }
  .arch-link .line::after{ right:-3px; top:auto; bottom:0; border:3.5px solid transparent; border-top:6px solid var(--accent); }
}

/* ---------- Code ---------- */
.code{
  border-radius:18px; overflow:hidden;
  background:#0a101c; border:1px solid rgba(255,255,255,.09);
  box-shadow:var(--shadow-lg);
  font-family:var(--mono); font-size:13px; line-height:1.7; color:#c9d4e5;
}
.code-tabs{ display:flex; align-items:center; gap:4px; padding:8px 10px; border-bottom:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.02); overflow-x:auto; }
.code-tabs button{
  border:0; background:transparent; color:rgba(255,255,255,.5); cursor:pointer;
  padding:6px 12px; border-radius:8px; font-family:var(--mono); font-size:12.5px; white-space:nowrap;
}
.code-tabs button[aria-selected="true"]{ background:rgba(0,212,255,.12); color:var(--accent); }
.code-tabs .file{ margin-left:auto; color:rgba(255,255,255,.35); font-size:12px; padding-right:6px; }
.code pre{ margin:0; padding:20px 22px; overflow-x:auto; }
.code [role="tabpanel"][hidden]{ display:none; }
.tk-k{ color:#7cc7ff; } .tk-s{ color:#8fe3b0; } .tk-c{ color:#5d6b82; font-style:italic; }
.tk-n{ color:#ffc580; } .tk-f{ color:#00d4ff; } .tk-p{ color:#e7a6ff; }

/* ---------- Industries / use cases ---------- */
.uc{ display:grid; grid-template-columns:320px 1fr; gap:clamp(32px, 5vw, 72px); padding:48px 0; border-top:1px solid var(--line); }
.uc:first-of-type{ border-top:0; padding-top:0; }
.uc-head{ display:flex; flex-direction:column; gap:14px; position:sticky; top:96px; align-self:start; }
.uc-head h2{ font-size:28px; }
.uc-body{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.uc-body .card{ padding:22px; }
.uc-body .card h3{ font-size:16.5px; }
.uc-body .card p{ font-size:14.5px; }
.uc-quote{
  grid-column:1/-1; padding:20px 22px; border-radius:var(--r);
  background:var(--bg-soft); border:1px dashed var(--line-strong); font-size:15px; color:var(--muted);
}
.uc-quote b{ color:var(--text); font-weight:600; }
@media (max-width: 900px){ .uc{ grid-template-columns:1fr; } .uc-head{ position:static; } }
@media (max-width: 600px){ .uc-body{ grid-template-columns:1fr; } }

/* ---------- Pricing ---------- */
.billing{
  display:inline-flex; padding:4px; border-radius:999px; background:var(--bg-soft); border:1px solid var(--line);
}
.billing button{
  border:0; background:transparent; cursor:pointer; padding:8px 18px; border-radius:999px;
  font-size:14px; font-weight:500; color:var(--muted);
}
.billing button[aria-pressed="true"]{ background:#fff; color:var(--text); box-shadow:var(--shadow-sm); }
.billing .save{ margin-left:6px; font-size:12px; color:var(--accent-ink); }
.plans{ display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; margin-top:40px; align-items:stretch; }
@media (max-width: 960px){ .plans{ grid-template-columns:1fr; max-width:520px; margin-left:auto; margin-right:auto; } }
.plan{ display:flex; flex-direction:column; gap:20px; padding:32px; border-radius:var(--r-lg); border:1px solid var(--line); background:#fff; position:relative; }
.plan.featured{ background:var(--night); color:var(--night-text); border-color:var(--night); box-shadow:0 30px 60px -20px rgba(7,11,20,.5); }
.plan.featured .muted{ color:var(--night-muted); }
.plan .badge{
  position:absolute; top:24px; right:24px; padding:4px 10px; border-radius:999px; font-size:12px; font-weight:500;
  background:var(--accent); color:var(--night);
}
.plan h3{ font-size:20px; }
.plan .price{ display:flex; align-items:baseline; gap:6px; }
.plan .price b{ font-size:48px; font-weight:600; letter-spacing:-.04em; line-height:1; }
.plan .price span{ color:var(--muted); font-size:15px; }
.plan.featured .price span{ color:var(--night-muted); }
.plan .note{ font-size:13px; color:var(--muted-2); min-height:20px; margin-top:-12px; }
.plan.featured .note{ color:var(--night-muted); }
.plan .btn{ width:100%; }
.plan.featured .btn:not(.btn-primary){ background:transparent; color:#fff; border-color:rgba(255,255,255,.25); }
.plan hr{ border:0; border-top:1px solid var(--line); margin:0; width:100%; }
.plan.featured hr{ border-top-color:var(--night-line); }
.plan .ticks{ margin:0; }
.plan .ticks li{ font-size:14.5px; }
.plan.featured .ticks li::before{
  background:rgba(0,212,255,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}

.compare-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--r-lg); background:#fff; }
.compare{ width:100%; border-collapse:collapse; min-width:640px; font-size:14.5px; }
.compare th, .compare td{ padding:14px 20px; text-align:left; border-bottom:1px solid var(--line); }
.compare thead th{ font-size:14px; font-weight:600; background:var(--bg-soft); position:sticky; top:0; }
.compare tbody tr:last-child td{ border-bottom:0; }
.compare td:not(:first-child), .compare th:not(:first-child){ text-align:center; width:18%; }
.compare .grp td{ background:var(--bg-soft); font-family:var(--mono); font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); }
.compare .y{ color:var(--accent-ink); font-weight:600; }
.compare .n{ color:var(--muted-2); }

/* ---------- FAQ ---------- */
.faq{ display:flex; flex-direction:column; border-top:1px solid var(--line); }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{
  list-style:none; cursor:pointer; padding:22px 40px 22px 0; position:relative;
  font-size:17px; font-weight:500;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:""; position:absolute; right:4px; top:50%; width:14px; height:14px; margin-top:-7px;
  background:linear-gradient(currentColor,currentColor) center/14px 2px no-repeat, linear-gradient(currentColor,currentColor) center/2px 14px no-repeat;
  transition:transform .2s ease; color:var(--muted);
}
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq details p{ margin:0 0 22px; color:var(--muted); max-width:72ch; }

/* ---------- Values / team ---------- */
.value{ padding:28px 0; border-top:1px solid var(--line); display:grid; grid-template-columns:64px 1fr; gap:20px; }
.value .num{ font-family:var(--mono); font-size:13px; color:var(--accent-ink); padding-top:4px; }
.value h3{ font-size:20px; margin-bottom:8px; }
.value p{ margin:0; color:var(--muted); }

.teams{ display:grid; grid-template-columns:repeat(5, 1fr); gap:12px; }
@media (max-width: 960px){ .teams{ grid-template-columns:repeat(2, 1fr); } }
.team{ padding:20px; border-radius:var(--r); background:rgba(255,255,255,.03); border:1px solid var(--night-line); }
.team svg{ width:22px; height:22px; color:var(--accent); margin-bottom:14px; }
.team b{ display:block; color:#fff; font-weight:500; }
.team span{ font-size:13.5px; color:var(--night-muted); }

/* ---------- Careers ---------- */
.roles{ border-top:1px solid var(--line); }
.role{
  display:grid; grid-template-columns:1fr 180px 160px 24px; gap:16px; align-items:center;
  padding:22px 4px; border-bottom:1px solid var(--line); transition:background .15s ease;
}
.role:hover{ background:var(--bg-soft); }
.role b{ font-size:17px; font-weight:500; }
.role small{ display:block; color:var(--muted); font-size:14px; margin-top:2px; }
.role .meta{ color:var(--muted); font-size:14.5px; }
.role svg{ width:18px; height:18px; color:var(--muted); transition:transform .15s ease, color .15s ease; }
.role:hover svg{ transform:translateX(3px); color:var(--accent-ink); }
.role[hidden]{ display:none; }
@media (max-width: 760px){ .role{ grid-template-columns:1fr 24px; } .role .meta{ display:none; } }
.filters{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
.filters button{
  border:1px solid var(--line); background:#fff; padding:7px 14px; border-radius:999px; font-size:14px; cursor:pointer; color:var(--muted);
}
.filters button[aria-pressed="true"]{ background:var(--night); border-color:var(--night); color:#fff; }

/* ---------- Forms ---------- */
.form{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form .full{ grid-column:1/-1; }
@media (max-width: 600px){ .form{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:6px; }
.field label{ font-size:14px; font-weight:500; }
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; border-radius:12px; border:1px solid var(--line-strong); background:#fff;
  font-size:15px; transition:border-color .15s ease, box-shadow .15s ease;
}
.field textarea{ min-height:130px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:0; border-color:var(--accent-600); box-shadow:0 0 0 4px var(--accent-soft); }
.form-note{ font-size:13px; color:var(--muted); }
.form-success{ display:none; padding:20px; border-radius:var(--r); background:rgba(18,183,106,.08); border:1px solid rgba(18,183,106,.3); }
.form-success.show{ display:block; }

/* ---------- Prose (legal) ---------- */
.legal{ display:grid; grid-template-columns:240px 1fr; gap:64px; align-items:start; }
@media (max-width: 900px){ .legal{ grid-template-columns:1fr; } .legal .toc{ display:none; } }
.toc{ position:sticky; top:100px; display:flex; flex-direction:column; gap:2px; font-size:14px; }
.toc a{ padding:6px 12px; border-left:2px solid var(--line); color:var(--muted); }
.toc a:hover{ color:var(--text); border-left-color:var(--accent); }
.prose{ max-width:72ch; color:#2b3546; }
.prose h2{ font-size:22px; margin:44px 0 12px; scroll-margin-top:96px; color:var(--text); }
.prose h2:first-child{ margin-top:0; }
.prose p, .prose li{ font-size:16px; line-height:1.75; }
.prose ul{ padding-left:20px; }
.prose code{ font-family:var(--mono); font-size:.9em; background:var(--bg-soft); border:1px solid var(--line); padding:1px 6px; border-radius:6px; }
.callout{ padding:16px 18px; border-radius:var(--r); background:var(--accent-soft); border:1px solid rgba(0,212,255,.3); font-size:14.5px; color:var(--text); }

/* ---------- CTA band ---------- */
.cta-band{
  position:relative; overflow:hidden; border-radius:28px;
  padding:clamp(40px, 6vw, 72px); background:var(--night); color:#fff;
  display:grid; grid-template-columns:1.4fr 1fr; gap:32px; align-items:center;
}
.cta-band .glow{ width:600px; height:600px; right:-200px; top:-300px; }
.cta-band > *:not(.glow){ position:relative; }
.cta-band .lead{ color:var(--night-muted); }
.cta-band .eyebrow{ color:var(--accent); }
.cta-band .btn:not(.btn-primary){ background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.18); color:#fff; }
.cta-band .actions{ display:flex; flex-wrap:wrap; gap:12px; justify-content:flex-end; }
@media (max-width: 860px){ .cta-band{ grid-template-columns:1fr; } .cta-band .actions{ justify-content:flex-start; } }

/* ---------- Footer ---------- */
.site-footer{ background:var(--night); color:var(--night-muted); padding:72px 0 32px; font-size:14.5px; }
.foot-grid{ display:grid; grid-template-columns:2fr repeat(4, 1fr); gap:32px; }
@media (max-width: 900px){ .foot-grid{ grid-template-columns:1fr 1fr; } .foot-brand{ grid-column:1/-1; } }
.foot-brand p{ max-width:34ch; margin:16px 0 0; }
.site-footer .certs{ flex-direction:row; flex-wrap:wrap; gap:8px; margin-top:24px; }
.certs li{
  display:flex; align-items:center; gap:8px; padding:7px 10px 7px 8px;
  border-radius:10px; border:1px solid var(--night-line); background:rgba(255,255,255,.03);
}
.certs svg{ width:17px; height:17px; color:var(--accent); }
.certs b{ display:block; color:#fff; font-size:12.5px; font-weight:500; line-height:1.2; }
.certs span{ display:block; font-family:var(--mono); font-size:9.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--night-muted); }
.site-footer h4{ font-size:13px; font-family:var(--mono); font-weight:500; text-transform:uppercase; letter-spacing:.08em; color:rgba(255,255,255,.4); margin-bottom:16px; }
.site-footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.site-footer a:hover{ color:#fff; }
.site-footer .brand{ color:#fff; }
.foot-base{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px;
  margin-top:56px; padding-top:24px; border-top:1px solid var(--night-line); font-size:13px;
}
.foot-base .links{ display:flex; gap:20px; flex-wrap:wrap; }
.sys-status{ display:inline-flex; align-items:center; gap:8px; }
.sys-status::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 3px rgba(18,183,106,.2); }

/* ---------- Reveal ---------- */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .float-chip{ animation:none; }
}

/* ---------- Misc ---------- */
.kv{ display:grid; grid-template-columns:auto 1fr; gap:8px 20px; font-size:14.5px; }
.kv dt{ color:var(--muted); }
.kv dd{ margin:0; }
.divider{ height:1px; background:var(--line); border:0; margin:0; }
.center{ text-align:center; }
.mt-8{ margin-top:8px; } .mt-16{ margin-top:16px; } .mt-24{ margin-top:24px; } .mt-40{ margin-top:40px; } .mt-64{ margin-top:64px; }
.swatch{ border-radius:var(--r); overflow:hidden; border:1px solid var(--line); background:#fff; }
.swatch .chip{ height:110px; }
.swatch .info{ padding:14px 16px; font-size:14px; display:flex; justify-content:space-between; gap:12px; }
.swatch code{ font-family:var(--mono); color:var(--muted); font-size:13px; }
