/* ============================================================
   AI GATEWAY — Design System
   Geometric Swiss sans · deep blue→violet · cinematic ink
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Ink (dark canvas) */
  --ink-950: #05070f;
  --ink-925: #080b16;
  --ink-900: #0b0f1d;
  --ink-850: #0f1426;
  --ink-800: #131a30;
  --ink-750: #1a2240;
  --ink-700: #232c4e;

  /* Paper (light canvas) */
  --paper: #f5f7fb;
  --paper-2: #ffffff;
  --paper-sunk: #eef1f8;

  /* Text */
  --on-dark: #eaeefb;
  --on-dark-2: #aab3d0;
  --on-dark-3: #6f7aa0;
  --on-light: #0a0e1c;
  --on-light-2: #4c5577;
  --on-light-3: #7a82a0;

  /* Accent — deep blue → violet (oklch harmonized) */
  --blue: oklch(0.62 0.185 264);
  --blue-bright: oklch(0.70 0.17 266);
  --violet: oklch(0.62 0.185 296);
  --violet-bright: oklch(0.70 0.16 298);
  --blue-hex: #3f6bf0;
  --violet-hex: #8a64f0;
  --grad: linear-gradient(118deg, var(--blue) 0%, var(--violet) 100%);
  --grad-soft: linear-gradient(118deg, oklch(0.62 0.185 264 / 0.16), oklch(0.62 0.185 296 / 0.16));

  /* Lines */
  --line-d: rgba(255,255,255,0.09);
  --line-d-2: rgba(255,255,255,0.055);
  --line-l: rgba(10,14,28,0.10);
  --line-l-2: rgba(10,14,28,0.06);

  /* Status */
  --danger: oklch(0.66 0.19 18);
  --safe: oklch(0.72 0.15 162);

  /* Geometry */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 56px);

  /* Type */
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --shadow-soft: 0 2px 8px rgba(8,11,22,0.06), 0 18px 50px -22px rgba(8,11,22,0.18);
  --shadow-card: 0 1px 2px rgba(8,11,22,0.05), 0 24px 60px -30px rgba(20,30,80,0.30);
  --shadow-glow: 0 0 0 1px rgba(120,150,255,0.14), 0 30px 80px -30px rgba(70,90,240,0.55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ink-950);
  color: var(--on-dark);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--violet-hex); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }

.bg-ink { background: var(--ink-950); color: var(--on-dark); }
.bg-ink-2 { background: var(--ink-925); color: var(--on-dark); }
.bg-paper { background: var(--paper); color: var(--on-light); }

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--on-dark-2);
}
.bg-paper .eyebrow { color: var(--blue-hex); }
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--grad);
  box-shadow: 0 0 12px 1px rgba(110,120,255,0.7);
}
.bg-paper .eyebrow::before { box-shadow: none; }

h1, h2, h3 { font-weight: 700; line-height: 1.06; letter-spacing: -0.025em; }
.display {
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.h-sec {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.h-card { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; }
.lede { font-size: clamp(1.05rem, 1.55vw, 1.3rem); line-height: 1.55; color: var(--on-dark-2); font-weight: 400; }
.bg-paper .lede { color: var(--on-light-2); }
.muted { color: var(--on-dark-2); }
.bg-paper .muted { color: var(--on-light-2); }

.grad-text {
  background: linear-gradient(108deg, var(--blue-bright), var(--violet-bright));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.97rem; letter-spacing: -0.01em;
  padding: 14px 24px; border-radius: 999px;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap; position: relative; isolation: isolate;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s cubic-bezier(.2,.7,.3,1); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  color: #fff; background: var(--blue-hex);
  background-image: var(--grad);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 14px 34px -14px rgba(80,90,240,0.85);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 20px 44px -14px rgba(90,100,255,0.95); }
.btn--ghost {
  color: var(--on-dark); border: 1px solid var(--line-d);
  background: rgba(255,255,255,0.03); backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.07); transform: translateY(-2px); }
.bg-paper .btn--ghost { color: var(--on-light); border-color: var(--line-l); background: #fff; }
.bg-paper .btn--ghost:hover { border-color: rgba(10,14,28,0.25); box-shadow: var(--shadow-soft); }
.btn--lg { padding: 17px 30px; font-size: 1.02rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 0.95rem; color: var(--blue-bright);
  transition: gap .25s;
}
.bg-paper .link-arrow { color: var(--blue-hex); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s; }
.link-arrow:hover { gap: 11px; }

/* ============================================================
   HEADER
   ============================================================ */
.announce {
  background: var(--ink-925);
  border-bottom: 1px solid var(--line-d-2);
  font-size: 0.84rem; color: var(--on-dark-2);
  position: relative; z-index: 60;
}
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; text-align: center; flex-wrap: wrap; }
.announce strong { color: var(--on-dark); font-weight: 600; }
.announce a { color: var(--blue-bright); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; flex-shrink: 0; }
.announce a:hover { text-decoration: underline; }
.announce .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 0 0 rgba(80,220,160,0.6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(80,220,160,0.5);} 70%{box-shadow:0 0 0 7px rgba(80,220,160,0);} 100%{box-shadow:0 0 0 0 rgba(80,220,160,0);} }

.site-header { position: sticky; top: 0; z-index: 50; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: var(--ink-925); backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line-d-2); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); min-height: 76px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo__mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 4px 12px rgba(90,100,255,0.45)); }
.logo__text { font-weight: 800; font-size: 1.18rem; letter-spacing: -0.03em; color: #fff; white-space: nowrap; }
.logo__text span { color: var(--on-dark-2); font-weight: 600; }

/* Primary menu */
.menu { display: flex; align-items: center; gap: 2px; margin-left: auto; min-width: 0; }
.menu > li { position: relative; flex-shrink: 0; }
.menu > li > a, .menu__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 12px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 550; color: var(--on-dark-2);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.menu > li > a:hover, .menu__trigger:hover, .menu > li.open > .menu__trigger { color: #fff; background: rgba(255,255,255,0.05); }
.menu__trigger svg { width: 12px; height: 12px; transition: transform .3s; opacity: .7; }
.menu > li.open .menu__trigger svg { transform: rotate(180deg); }

.nav__right { display: flex; align-items: center; gap: 14px; flex: none; margin-left: 4px; }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 300px; padding: 10px;
  background: rgba(14,19,38,0.92); backdrop-filter: blur(22px);
  border: 1px solid var(--line-d); border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -25px rgba(0,0,0,0.8);
  opacity: 0; visibility: hidden; transition: opacity .26s, transform .26s; z-index: 80;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 18px; }
.dropdown--wide { min-width: 680px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.menu > li.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; gap: 13px; padding: 12px 13px; border-radius: 12px; transition: background .2s; align-items: flex-start; }
.dropdown a:hover { background: rgba(255,255,255,0.05); }
.dd-ico { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-d); color: var(--blue-bright); }
.dd-ico svg { width: 18px; height: 18px; }
.dd-tt { font-weight: 650; font-size: 0.92rem; color: var(--on-dark); letter-spacing: -0.01em; white-space: nowrap; }
.dd-ds { font-size: 0.8rem; color: var(--on-dark-3); line-height: 1.4; margin-top: 2px; }

/* Burger */
.burger { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-d); flex: none; }
.burger span { display: block; width: 18px; height: 1.6px; background: var(--on-dark); margin: 4px auto; transition: .3s; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--ink-925); padding: 24px var(--gutter); transform: translateY(-100%); transition: transform .45s cubic-bezier(.5,0,0,1); overflow-y: auto; }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.mm-close { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-d); display: grid; place-items: center; }
.mobile-menu nav { margin-top: 28px; display: flex; flex-direction: column; }
.mobile-menu nav > a:not(.btn), .mm-group > span { padding: 16px 0; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; border-top: 1px solid var(--line-d-2); display: block; }
.mm-group__items a { padding: 9px 0 9px 16px; font-size: 1rem; color: var(--on-dark-2); display: block; }
.mobile-menu nav > .btn {
  display: inline-flex;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  margin-top: 28px;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  border-top: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(60px, 8vw, 120px); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy { max-width: 600px; }
.hero h1 { margin: 22px 0 24px; }
.hero .lede { max-width: 520px; }
.hero__cta { display: flex; align-items: center; gap: 16px; margin-top: 38px; flex-wrap: wrap; }
.hero__meta { margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.86rem; color: var(--on-dark-2); }
.hero__meta div { display: flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--safe); flex: none; }

/* Ambient background */
.ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient__grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(var(--line-d-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-d-2) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
}
.ambient__blob {
  position: absolute; border-radius: 50%; opacity: 0.38;
  /* Soft gradient instead of filter:blur — much cheaper to animate */
  will-change: transform;
}
.ambient__blob.b1 {
  width: 620px; height: 620px; top: -240px; left: -120px;
  background: radial-gradient(circle, rgba(63,107,240,0.55) 0%, rgba(63,107,240,0.2) 38%, transparent 68%);
  animation: drift1 22s ease-in-out infinite;
}
.ambient__blob.b2 {
  width: 520px; height: 520px; bottom: -220px; right: -80px;
  background: radial-gradient(circle, rgba(138,100,240,0.48) 0%, rgba(138,100,240,0.18) 38%, transparent 68%);
  animation: drift2 26s ease-in-out infinite;
}
@keyframes drift1 { 50% { transform: translate3d(60px, 50px, 0) scale(1.08); } }
@keyframes drift2 { 50% { transform: translate3d(-50px, -40px, 0) scale(1.06); } }

/* ============================================================
   GATEWAY VISUAL (signature)
   ============================================================ */
.gateway { position: relative; aspect-ratio: 1 / 0.92; width: 100%; }
.gw-stage {
  position: absolute; inset: 0;
  border: 1px solid var(--line-d);
  border-radius: var(--r-xl);
  background:
     radial-gradient(120% 90% at 50% 0%, rgba(63,107,240,0.14), transparent 60%),
     linear-gradient(165deg, var(--ink-800), var(--ink-925));
  box-shadow: var(--shadow-card), 0 0 0 1px rgba(120,150,255,0.06);
  overflow: hidden;
  contain: layout paint;
}
.gw-stage::before { content: none; }
.gw-label { position: absolute; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-3); z-index: 5; }
.gw-label.l-left { top: 18px; left: 20px; }
.gw-label.l-right { top: 18px; right: 20px; text-align: right; }

/* endpoint nodes */
.gw-node {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 9px; border-radius: 11px;
  background: rgba(18,24,46,0.94); border: 1px solid var(--line-d);
  font-size: 0.8rem; font-weight: 600; color: var(--on-dark);
  white-space: nowrap;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,0.8);
}
.gw-node .dot { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; flex: none; background: var(--grad-soft); color: var(--blue-bright); }
.gw-node .dot svg { width: 13px; height: 13px; }
.gw-node.is-ai .dot { background: rgba(138,100,240,0.16); color: var(--violet-bright); }
.gw-node--sm { padding: 6px 10px 6px 7px; font-size: 0.74rem; gap: 6px; }
.gw-node--sm .dot { width: 18px; height: 18px; border-radius: 6px; }
.gw-node--sm .dot svg { width: 11px; height: 11px; }

/* status pill */
.gw-status { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); z-index: 6; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: rgba(22,28,52,0.94); border: 1px solid rgba(120,150,255,0.32); font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-bright); }
.gw-status .ring { width: 7px; height: 7px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 8px rgba(80,220,160,0.9); }

/* cost monitor HUD */
.gw-cost { position: absolute; left: 16px; bottom: 16px; z-index: 6; width: min(238px, 52%); padding: 12px 14px; border-radius: 14px; background: rgba(9,12,24,0.94); border: 1px solid var(--line-d); box-shadow: 0 16px 34px -18px rgba(0,0,0,0.85); }
.gw-cost__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--on-dark-3); }
.gw-cost__live { display: inline-flex; align-items: center; gap: 5px; color: var(--safe); }
.gw-cost__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 8px rgba(80,220,160,0.9); animation: blink 1.8s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.gw-cost__row { display: flex; align-items: baseline; gap: 7px; margin: 8px 0; }
.gw-cost__amt { font-size: 1.2rem; font-weight: 750; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.gw-cost__lim { font-size: 0.7rem; color: var(--on-dark-3); }
.gw-cost__bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.09); overflow: hidden; }
.gw-cost__fill { height: 100%; width: 62%; border-radius: 999px; background: var(--grad); transition: width .55s cubic-bezier(.2,.7,.3,1); }
.gw-cost.alert .gw-cost__fill { background: linear-gradient(90deg, #efa040, #e8643c); }
.gw-cost.alert .gw-cost__amt { color: #ffce98; }
.gw-cost.alert .gw-cost__head .gw-cost__live { color: #efa040; }

/* membrane */
.gw-membrane {
  position: absolute; top: 9%; bottom: 30%; left: 50%; width: 2px;
  transform: translateX(-50%); z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(120,150,255,0.65), rgba(150,120,255,0.65), transparent);
}
.gw-membrane::before { content: ""; position: absolute; inset: -30px -22px; background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(90,110,250,0.22), transparent 70%); pointer-events: none; }
.gw-scan {
  position: absolute; top: 0; left: -10px; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle, rgba(150,170,255,0.9), transparent 65%);
  animation: scan 3.2s ease-in-out infinite;
  will-change: top;
}
@keyframes scan { 0%,100% { top: 0; } 50% { top: calc(100% - 22px); } }

.gw-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 6;
  width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(30,38,70,0.95), rgba(14,19,38,0.95));
  border: 1px solid rgba(140,160,255,0.4);
  box-shadow: 0 0 0 6px rgba(80,100,240,0.08), 0 20px 50px -16px rgba(70,90,240,0.7);
  color: #fff;
}
.gw-core svg { width: 30px; height: 30px; }
.gw-core::after { content: ""; position: absolute; inset: -1px; border-radius: 20px; background: var(--grad); opacity: .14; }

/* flowing tokens */
.gw-token {
  position: absolute; z-index: 5; left: 0; top: 0;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px; border-radius: 8px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; white-space: nowrap;
  background: rgba(22,28,52,0.95); border: 1px solid var(--line-d); color: var(--on-dark-2);
  transform: translate3d(0, 0, 0);
  contain: layout style;
}
.gw-token .tg { width: 5px; height: 5px; border-radius: 50%; background: var(--on-dark-3); flex: none; }
.gw-token.safe { border-color: rgba(80,200,150,0.4); color: #c7f3df; }
.gw-token.safe .tg { background: var(--safe); }
.gw-token.sensitive { border-color: rgba(240,120,120,0.45); color: #ffd0d0; }
.gw-token.sensitive .tg { background: var(--danger); }
.gw-token.masked { border-color: rgba(120,150,255,0.5); color: var(--blue-bright); }
.gw-token.masked .tg { background: var(--blue-bright); }
.gw-flash { animation: flash .45s ease-out; }
@keyframes flash { 0% { filter: brightness(1); } 35% { filter: brightness(1.35); } 100% { filter: brightness(1); } }

.gw-caption { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; z-index: 6; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-3); }
.gw-caption b { color: var(--safe); font-weight: 600; }

/* ============================================================
   PILLARS (3 cards)
   ============================================================ */
.sec-head { max-width: 760px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .h-sec { margin: 18px 0 0; }
.sec-head .lede { margin-top: 18px; }

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

.card {
  position: relative; padding: 32px; border-radius: var(--r-lg);
  background: var(--paper-2); border: 1px solid var(--line-l-2);
  box-shadow: var(--shadow-soft);
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s, border-color .35s;
  overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: rgba(63,107,240,0.25); }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.card:hover::after { transform: scaleX(1); }
.card__ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-soft); color: var(--blue-hex); border: 1px solid rgba(63,107,240,0.18); margin-bottom: 22px; }
.card__ico svg { width: 26px; height: 26px; }
.card .h-card { margin-bottom: 11px; }
.card p { color: var(--on-light-2); font-size: 0.97rem; }

/* dark variant card */
.card-d {
  position: relative; padding: 30px; border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(20,26,48,0.7), rgba(11,15,29,0.6));
  border: 1px solid var(--line-d); transition: transform .35s, border-color .35s, background .35s;
  overflow: hidden;
}
.card-d:hover { transform: translateY(-5px); border-color: rgba(120,140,255,0.35); background: linear-gradient(165deg, rgba(26,33,60,0.8), rgba(14,19,36,0.7)); }
.card-d p { color: var(--on-dark-2); font-size: 0.96rem; }

.pillar-foot {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.pillar-foot p { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 650; letter-spacing: -0.02em; max-width: 560px; line-height: 1.35; }

/* ============================================================
   HOW IT WORKS (steps)
   ============================================================ */
.how-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px,5vw,72px); align-items: start; }
.benefit { padding: 22px 0; border-top: 1px solid var(--line-d-2); display: flex; gap: 16px; }
.benefit:first-child { border-top: none; padding-top: 0; }
.benefit svg { width: 22px; height: 22px; color: var(--blue-bright); flex: none; margin-top: 2px; }
.benefit p { color: var(--on-dark-2); font-size: 0.98rem; }

.steps { display: flex; flex-direction: column; gap: 0; counter-reset: s; position: relative; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 26px 28px 26px 0; }
.step::before { content: ""; position: absolute; left: 31px; top: 0; bottom: 0; width: 1px; background: var(--line-d); }
.step:first-child::before { top: 32px; }
.step:last-child::before { bottom: auto; height: 32px; }
.step__num {
  position: relative; z-index: 2; width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 1.05rem; color: #fff;
  background: linear-gradient(160deg, rgba(30,38,70,0.95), rgba(14,19,38,0.95));
  border: 1px solid var(--line-d); transition: border-color .3s, box-shadow .3s;
}
.step:hover .step__num { border-color: rgba(120,140,255,0.5); box-shadow: 0 0 0 5px rgba(80,100,240,0.10), 0 14px 30px -12px rgba(70,90,240,0.7); }
.step__body { padding-top: 6px; }
.step__body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step__body p { color: var(--on-dark-2); font-size: 0.97rem; }

/* ============================================================
   WHY (feature rows / split)
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border: 1px solid var(--line-l-2); border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-soft); }
.why-item { padding: 38px 34px; border-right: 1px solid var(--line-l-2); transition: background .3s; position: relative; }
.why-item:last-child { border-right: none; }
.why-item:hover { background: var(--paper); }
.why-item__n { font-family: var(--mono); font-size: 0.78rem; color: var(--blue-hex); letter-spacing: 0.1em; }
.why-item h3 { font-size: 1.22rem; margin: 18px 0 12px; letter-spacing: -0.02em; }
.why-item p { color: var(--on-light-2); font-size: 0.96rem; margin-bottom: 22px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta { position: relative; overflow: hidden; }
.cta__panel {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  padding: clamp(48px, 7vw, 90px);
  background: linear-gradient(135deg, var(--ink-850), var(--ink-925));
  border: 1px solid var(--line-d);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta__panel::before { content:""; position: absolute; width: 460px; height: 460px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(63,107,240,0.4), transparent 65%); filter: blur(40px); }
.cta__panel::after { content:""; position: absolute; width: 380px; height: 380px; left: -120px; bottom: -180px; background: radial-gradient(circle, rgba(138,100,240,0.34), transparent 65%); filter: blur(50px); }
.cta__l, .cta__r { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.03em; line-height: 1.04; }
.cta p { color: var(--on-dark-2); margin-top: 14px; font-size: 1.08rem; }
.cta__contact { display: flex; flex-direction: column; gap: 14px; }
.cta__contact .btn { align-self: flex-start; }
.cta__links { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.cta__links a { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark-2); font-weight: 500; transition: color .2s; }
.cta__links a:hover { color: #fff; }
.cta__links svg { width: 17px; height: 17px; color: var(--blue-bright); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-950); border-top: 1px solid var(--line-d-2); padding-block: clamp(56px, 7vw, 88px) 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__brand { max-width: 300px; }
.footer__brand p { color: var(--on-dark-3); font-size: 0.9rem; margin-top: 18px; line-height: 1.6; }
.footer h4 { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-3); font-weight: 500; margin-bottom: 20px; }
.footer__col a { display: block; padding: 7px 0; color: var(--on-dark-2); font-size: 0.92rem; transition: color .2s, padding-left .2s; }
.footer__col a:hover { color: #fff; padding-left: 5px; }
.footer__bottom { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-d-2); display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__bottom p { color: var(--on-dark-3); font-size: 0.84rem; }
.footer__socials { display: flex; gap: 10px; }
.footer__socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-d); display: grid; place-items: center; color: var(--on-dark-2); transition: .25s; }
.footer__socials a:hover { color: #fff; border-color: rgba(120,140,255,0.4); background: rgba(255,255,255,0.04); }
.footer__socials svg { width: 17px; height: 17px; }

/* ============================================================
   INNER PAGES (Overview, Product detail)
   ============================================================ */
.page-hero { position: relative; overflow: hidden; padding-top: clamp(52px, 7vw, 104px); padding-bottom: clamp(48px, 6vw, 84px); }
.page-hero__inner { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 9px; align-items: center; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--on-dark-3); margin-bottom: 24px; }
.breadcrumb a { color: var(--on-dark-2); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: 0.45; }

.page-hero--split .page-hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.page-hero h1 { margin: 18px 0 22px; }
.page-hero .lede { max-width: 560px; }

/* Overview hero supporting block */
.hero-support { margin-top: 30px; max-width: 560px; display: flex; flex-direction: column; gap: 16px; }
.hero-support p { color: var(--on-dark-2); font-size: 1.02rem; }
.hero-support .pop { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -0.02em; color: #fff; line-height: 1.2; }

/* Stat card (product hero) */
.stat-card { position: relative; padding: clamp(30px, 4vw, 44px); border-radius: var(--r-xl); background: linear-gradient(165deg, var(--ink-800), var(--ink-925)); border: 1px solid var(--line-d); box-shadow: var(--shadow-card), 0 0 0 1px rgba(120,150,255,0.06); overflow: hidden; }
.stat-card::before { content: none; }
.stat-card__inner { position: relative; z-index: 2; }
.stat-card__big { font-size: clamp(4rem, 9vw, 6.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 0.92; font-variant-numeric: tabular-nums; background: linear-gradient(118deg, var(--blue-bright), var(--violet-bright)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card p { color: var(--on-dark-2); margin-top: 18px; max-width: 380px; font-size: 1rem; }
.stat-card__src { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-3); margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-d-2); display: flex; gap: 9px; align-items: center; }
.stat-card__src svg { width: 15px; height: 15px; color: var(--blue-bright); flex: none; }

/* FAQ accordion */
.faq { max-width: 880px; margin-top: 52px; border-top: 1px solid var(--line-l-2); }
.bg-ink .faq, .bg-ink-2 .faq { border-top-color: var(--line-d-2); }
.faq details { border-bottom: 1px solid var(--line-l-2); }
.bg-ink .faq details, .bg-ink-2 .faq details { border-bottom-color: var(--line-d-2); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: clamp(1.05rem, 1.6vw, 1.28rem); font-weight: 700; letter-spacing: -0.02em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-hex); }
.bg-ink .faq summary:hover, .bg-ink-2 .faq summary:hover { color: var(--blue-bright); }
.faq .q-ico { width: 32px; height: 32px; border-radius: 9px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-l); transition: transform .35s cubic-bezier(.2,.7,.3,1), background .3s, border-color .3s; }
.bg-ink .faq .q-ico, .bg-ink-2 .faq .q-ico { border-color: var(--line-d); }
.faq .q-ico svg { width: 16px; height: 16px; }
.faq details[open] .q-ico { transform: rotate(135deg); background: var(--grad); border-color: transparent; color: #fff; }
.faq__a { padding: 0 56px 28px 0; max-width: 720px; color: var(--on-light-2); font-size: 1.02rem; line-height: 1.65; }
.bg-ink .faq__a, .bg-ink-2 .faq__a { color: var(--on-dark-2); }

/* Requirements / Solution */
.reqsol { display: flex; flex-direction: column; gap: 18px; margin-top: 52px; }
.reqsol__row { display: grid; grid-template-columns: 0.95fr 1.25fr; border: 1px solid var(--line-d); border-radius: var(--r-lg); overflow: hidden; transition: border-color .3s; }
.reqsol__row:hover { border-color: rgba(120,140,255,0.3); }
.reqsol__req { padding: clamp(24px,3vw,34px); background: rgba(255,255,255,0.022); border-right: 1px solid var(--line-d); }
.reqsol__sol { padding: clamp(24px,3vw,34px); }
.rs-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.rs-label.req { color: var(--on-dark-3); }
.rs-label.sol { color: var(--blue-bright); }
.rs-label svg { width: 15px; height: 15px; }
.reqsol__req p { font-weight: 650; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--on-dark); line-height: 1.4; }
.reqsol__sol p { color: var(--on-dark-2); font-size: 0.99rem; }

/* Results band */
.results-panel { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(40px, 6vw, 72px); background: linear-gradient(135deg, rgba(63,107,240,0.14), rgba(138,100,240,0.12)); border: 1px solid rgba(120,140,255,0.22); text-align: center; }
.results-panel .rs-label { justify-content: center; color: var(--blue-bright); }
.results-panel p { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.18; max-width: 900px; margin: 14px auto 0; }

/* Related platform grid */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line-d); background: linear-gradient(165deg, rgba(20,26,48,0.5), rgba(11,15,29,0.4)); transition: transform .3s, border-color .3s, background .3s; }
.related a:hover { transform: translateY(-4px); border-color: rgba(120,140,255,0.35); background: linear-gradient(165deg, rgba(26,33,60,0.7), rgba(14,19,36,0.5)); }
.related a span { font-weight: 650; letter-spacing: -0.01em; }
.related a.current { border-color: rgba(120,140,255,0.5); background: var(--grad-soft); }
.related a svg { width: 18px; height: 18px; color: var(--blue-bright); flex: none; transition: transform .3s; }
.related a:hover svg { transform: translateX(3px); }

/* ============================================================
   SETUP CONSOLE (Overview static illustration — previews the 7 steps)
   ============================================================ */
.setup-card { position: relative; border: 1px solid var(--line-d); border-radius: var(--r-xl); padding: clamp(20px, 2.4vw, 28px); background: linear-gradient(165deg, var(--ink-800), var(--ink-925)); box-shadow: var(--shadow-card), 0 0 0 1px rgba(120,150,255,0.06); overflow: hidden; }
.setup-card::before { content: none; }
.setup-card__inner { position: relative; z-index: 2; }
.sc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sc-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em; color: #fff; }
.sc-title .sc-dot { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(80,90,240,0.8); }
.sc-title .sc-dot svg { width: 15px; height: 15px; }
.sc-badge { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-3); border: 1px solid var(--line-d); border-radius: 999px; padding: 5px 10px; flex: none; }
.sc-progress { margin: 20px 0 16px; }
.sc-progress__head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 9px; }
.sc-progress__n { color: var(--blue-bright); }
.sc-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.sc-bar__fill { height: 100%; border-radius: 999px; background: var(--grad); box-shadow: 0 0 12px rgba(110,130,255,0.6); }
.sc-list { display: flex; flex-direction: column; gap: 2px; }
.sc-item { display: flex; align-items: center; gap: 12px; padding: 10px 11px; border-radius: 11px; border: 1px solid transparent; }
.sc-mark { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; font-family: var(--mono); font-size: 0.72rem; font-weight: 600; }
.sc-mark svg { width: 14px; height: 14px; }
.sc-label { flex: 1; font-size: 0.86rem; font-weight: 600; letter-spacing: -0.01em; color: var(--on-dark-2); }
.sc-status { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; flex: none; }
.sc-item.done .sc-mark { background: var(--grad); color: #fff; }
.sc-item.done .sc-label { color: var(--on-dark); }
.sc-item.done .sc-status { color: var(--safe); }
.sc-item.active { background: rgba(120,140,255,0.08); border-color: rgba(120,140,255,0.3); }
.sc-item.active .sc-mark { background: rgba(120,150,255,0.16); color: var(--blue-bright); border: 1px solid rgba(120,150,255,0.5); }
.sc-item.active .sc-label { color: #fff; }
.sc-item.active .sc-status { color: var(--blue-bright); }
.sc-item.todo .sc-mark { border: 1px solid var(--line-d); color: var(--on-dark-3); }
.sc-item.todo .sc-status { color: var(--on-dark-3); }

/* ============================================================
   TIMELINE (Overview 7 steps)
   ============================================================ */
.timeline { position: relative; margin-top: 60px; }
.timeline__track { position: absolute; left: 35px; top: 32px; bottom: 60px; width: 2px; background: var(--line-l); }
.timeline__fill { position: absolute; left: 35px; top: 32px; width: 2px; height: 0; background: var(--grad); box-shadow: 0 0 12px rgba(110,130,255,0.6); transition: height .15s linear; }
.tl-step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: clamp(20px, 3vw, 38px); padding-bottom: 56px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-num { position: relative; z-index: 2; width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--line-l-2); box-shadow: var(--shadow-soft); transition: transform .4s cubic-bezier(.2,.7,.3,1), border-color .4s, box-shadow .4s; }
.tl-num svg { width: 28px; height: 28px; color: var(--blue-hex); }
.tl-num__n { position: absolute; top: -10px; right: -10px; width: 28px; height: 28px; border-radius: 9px; background: var(--grad); color: #fff; font-family: var(--mono); font-size: 0.78rem; font-weight: 600; display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(80,90,240,0.8); }
.tl-step.in .tl-num { transform: scale(1.04); border-color: rgba(63,107,240,0.3); box-shadow: var(--shadow-card); }
.tl-body { padding-top: 6px; }
.tl-body h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.025em; }
.tl-sub { margin-top: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
.tl-sub__item { padding-left: 18px; position: relative; }
.tl-sub__item::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); }
.tl-sub__item b { font-weight: 700; color: var(--on-light); letter-spacing: -0.01em; }
.tl-sub__item span { color: var(--on-light-2); font-size: 0.95rem; }

/* ============================================================
   SECURITY PAGE (flagship)
   ============================================================ */
.ico-box { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--grad-soft); color: var(--blue-bright); border: 1px solid rgba(120,140,255,0.2); margin-bottom: 20px; }
.ico-box svg { width: 26px; height: 26px; }

/* Security operations console (hero signature) */
.sec-console { position: relative; border: 1px solid var(--line-d); border-radius: var(--r-xl); background: linear-gradient(165deg, var(--ink-800), var(--ink-925)); box-shadow: var(--shadow-card), 0 0 0 1px rgba(120,150,255,0.06); padding: 26px; overflow: hidden; }
.sec-console__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-console__head .ttl { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); }
.sec-status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--safe); border: 1px solid rgba(80,200,150,0.35); border-radius: 999px; padding: 5px 10px; }
.sec-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 8px rgba(80,220,160,0.9); animation: blink 1.8s infinite; }
.shield-wrap { position: relative; height: 150px; display: grid; place-items: center; }
.shield-rings { position: absolute; width: 150px; height: 150px; display: grid; place-items: center; }
.shield-rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(120,150,255,0.45); animation: ring 3s ease-out infinite; }
.shield-rings span:nth-child(2) { animation-delay: 1s; }
.shield-rings span:nth-child(3) { animation-delay: 2s; }
@keyframes ring { 0% { transform: scale(.42); opacity: .85; } 100% { transform: scale(1); opacity: 0; } }
.shield-core { position: relative; z-index: 2; width: 74px; height: 74px; border-radius: 21px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 0 0 6px rgba(80,100,240,0.10), 0 18px 40px -14px rgba(80,90,240,0.85); }
.shield-core svg { width: 34px; height: 34px; }
.sec-log { display: flex; flex-direction: column; gap: 1px; font-family: var(--mono); margin-top: 8px; border-top: 1px solid var(--line-d-2); padding-top: 12px; }
.sec-log__row { display: flex; align-items: center; gap: 10px; padding: 6px 6px; border-radius: 7px; font-size: 11px; }
.sec-log__row .t { color: var(--on-dark-3); font-size: 9.5px; flex: none; }
.sec-log__row .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.sec-log__row .msg { color: var(--on-dark); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sec-log__row .st { font-size: 8.5px; letter-spacing: 0.06em; text-transform: uppercase; flex: none; }
.sec-log__row.ok .dot { background: var(--safe); box-shadow: 0 0 7px rgba(80,220,160,0.8); } .sec-log__row.ok .st { color: var(--safe); }
.sec-log__row.info .dot { background: var(--blue-bright); box-shadow: 0 0 7px rgba(120,150,255,0.8); } .sec-log__row.info .st { color: var(--blue-bright); }
.sec-log__row.warn .dot { background: #efa040; box-shadow: 0 0 7px rgba(240,160,64,0.8); } .sec-log__row.warn .st { color: #efa040; }
.sec-log__row.new { animation: logIn .45s ease-out; }
@keyframes logIn { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: none; } }

/* Product security — interactive explorer */
.psec { display: grid; grid-template-columns: 0.92fr 1.18fr; gap: 22px; margin-top: 56px; }
.psec__nav { display: flex; flex-direction: column; gap: 8px; }
.psec__item { display: flex; align-items: center; gap: 16px; padding: 17px 20px; border-radius: var(--r); border: 1px solid var(--line-d); background: rgba(255,255,255,0.02); text-align: left; cursor: pointer; transition: border-color .3s, background .3s; width: 100%; }
.psec__item .n { font-family: var(--mono); font-size: 0.8rem; color: var(--on-dark-3); flex: none; }
.psec__item .t { font-weight: 650; letter-spacing: -0.01em; color: var(--on-dark-2); }
.psec__item:hover { border-color: rgba(120,140,255,0.3); }
.psec__item.active { background: var(--grad-soft); border-color: rgba(120,140,255,0.5); }
.psec__item.active .n { color: var(--blue-bright); }
.psec__item.active .t { color: #fff; }
.psec__view { position: relative; border: 1px solid var(--line-d); border-radius: var(--r-lg); background: linear-gradient(165deg, var(--ink-800), var(--ink-925)); box-shadow: var(--shadow-card); padding: clamp(28px, 4vw, 46px); overflow: hidden; min-height: 340px; display: flex; flex-direction: column; justify-content: center; }
.psec__panel { display: none; }
.psec__panel.active { display: block; animation: fadeUp .5s cubic-bezier(.2,.7,.3,1); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.psec__panel .num { font-family: var(--mono); font-size: 0.8rem; color: var(--blue-bright); letter-spacing: 0.1em; }
.psec__panel h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); letter-spacing: -0.025em; margin: 10px 0 14px; }
.psec__panel p { color: var(--on-dark-2); font-size: 1.04rem; max-width: 470px; }

/* Privacy commitment chips */
.pchips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.pchip { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-bright); border: 1px solid rgba(120,140,255,0.3); border-radius: 999px; padding: 5px 11px; }

/* ============================================================
   PRICING
   ============================================================ */
.bill-toggle { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid var(--line-d); background: rgba(255,255,255,0.03); }
.bill-toggle button { padding: 9px 20px; border-radius: 999px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-2); transition: color .25s, background .25s; }
.bill-toggle button.active { color: #fff; background: var(--grad); box-shadow: 0 8px 20px -10px rgba(80,90,240,0.9); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--r-lg); border: 1px solid var(--line-d); background: linear-gradient(165deg, rgba(20,26,48,0.6), rgba(11,15,29,0.5)); transition: transform .35s, border-color .35s; }
.price-card:hover { transform: translateY(-5px); border-color: rgba(120,140,255,0.3); }
.price-card.popular { border-color: rgba(120,140,255,0.55); background: linear-gradient(165deg, rgba(28,35,66,0.8), rgba(14,19,36,0.6)); box-shadow: var(--shadow-glow); }
.price-card__tag { position: absolute; top: -11px; left: 30px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: var(--grad); border-radius: 999px; padding: 5px 12px; box-shadow: 0 8px 18px -8px rgba(80,90,240,0.9); }
.price-card__name { font-size: 1.4rem; font-weight: 750; letter-spacing: -0.02em; }
.price-card__desc { color: var(--on-dark-2); font-size: 0.92rem; margin-top: 10px; }
.price-card__price { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 6px; }
.price-card__price .cur { font-size: 1.5rem; font-weight: 700; color: var(--on-dark-2); align-self: flex-start; margin-top: 6px; }
.price-card__price .amt { font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.price-card__price .per { font-family: var(--mono); font-size: 0.85rem; color: var(--on-dark-3); }
.price-card__price .p-yr { display: none; }
.price-grid.show-yr .p-mo { display: none; }
.price-grid.show-yr .p-yr { display: inline; }
.price-card__quote {
  margin: 20px 0 4px;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.price-card .btn { margin: 22px 0 26px; justify-content: center; }
.price-feats { display: flex; flex-direction: column; gap: 13px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line-d-2); }
.price-feat { display: flex; align-items: flex-start; gap: 11px; font-size: 0.92rem; color: var(--on-dark-2); }
.price-feat svg { width: 18px; height: 18px; color: var(--blue-bright); flex: none; margin-top: 1px; }

.volume { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.volume__card { padding: 24px; border-radius: var(--r); border: 1px solid var(--line-d); background: rgba(255,255,255,0.02); }
.volume__band { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.volume__unit { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-3); margin-top: 8px; }
.volume__val { margin-top: 14px; font-size: 1.5rem; font-weight: 750; color: var(--blue-bright); }

.addons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.addon { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line-l-2); background: var(--paper-2); box-shadow: var(--shadow-soft); transition: transform .3s, box-shadow .3s; }
.addon:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.addon h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.addon p { color: var(--on-light-2); font-size: 0.94rem; margin: 10px 0 20px; flex: 1; }

/* ============================================================
   CONTACT FORM / CAREERS / RESOURCE BAND
   ============================================================ */
.form-card { position: relative; border: 1px solid var(--line-d); border-radius: var(--r-xl); background: linear-gradient(165deg, var(--ink-800), var(--ink-925)); box-shadow: var(--shadow-card), 0 0 0 1px rgba(120,150,255,0.06); padding: clamp(26px, 3.4vw, 40px); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-3); margin-bottom: 9px; }
.form-field { width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-d); background: rgba(255,255,255,0.03); color: var(--on-dark); font: inherit; font-size: 0.96rem; transition: border-color .2s, background .2s; }
.form-field::placeholder { color: var(--on-dark-3); }
.form-field:focus { outline: none; border-color: rgba(120,150,255,0.6); background: rgba(255,255,255,0.05); }
textarea.form-field { resize: vertical; min-height: 120px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.turnstile-field { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.turnstile-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-3); }
.turnstile-missing { margin: 0; font-size: 0.84rem; color: var(--on-dark-3); }
.form-error { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(224, 89, 106, 0.12); border: 1px solid rgba(224, 89, 106, 0.35); color: #F5B8BF; font-size: 0.9rem; line-height: 1.5; }
.form-success { position: absolute; inset: 0; background: rgba(10, 11, 15, 0.96); border-radius: var(--r-xl); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 32px; opacity: 0; pointer-events: none; transition: opacity .4s cubic-bezier(.2,.7,.3,1); }
.form-success.show { opacity: 1; pointer-events: auto; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; animation: checkPop .5s cubic-bezier(.2,.7,.3,1); }
@keyframes checkPop { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.form-success h3 { font-size: 1.6rem; letter-spacing: -0.02em; margin: 0; color: var(--on-dark); }
.form-success p { color: var(--on-dark-2); margin: 0; max-width: 36ch; }
.form-card .btn { width: 100%; justify-content: center; }

/* Careers */
.jobs-filter { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 44px; }
.job-chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-d); font-size: 0.88rem; font-weight: 600; color: var(--on-dark-2); background: rgba(255,255,255,0.02); transition: .25s; }
.job-chip:hover { color: #fff; border-color: rgba(120,140,255,0.35); }
.job-chip.active { color: #fff; background: var(--grad-soft); border-color: rgba(120,140,255,0.5); }
.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.job-card { display: flex; flex-direction: column; padding: 26px 28px; border-radius: var(--r-lg); border: 1px solid var(--line-d); background: linear-gradient(165deg, rgba(20,26,48,0.55), rgba(11,15,29,0.45)); transition: transform .3s, border-color .3s; }
.job-card:hover { transform: translateY(-4px); border-color: rgba(120,140,255,0.35); }
.job-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.job-card__loc { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-3); }
.job-type { margin-left: auto; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-bright); border: 1px solid rgba(120,140,255,0.3); border-radius: 999px; padding: 4px 9px; flex: none; }
.job-card h3 { font-size: 1.18rem; letter-spacing: -0.02em; margin-bottom: 10px; }
.job-card p { color: var(--on-dark-2); font-size: 0.92rem; flex: 1; margin-bottom: 18px; }
.jobs-empty { display: none; grid-column: 1 / -1; padding: 56px 24px; text-align: center; border: 1px dashed var(--line-d); border-radius: var(--r-lg); color: var(--on-dark-2); font-size: 1.05rem; }
.jobs-empty.show { display: block; }

/* Resource band */
.resource-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: clamp(30px,4vw,44px); border-radius: var(--r-xl); border: 1px solid var(--line-d); background: linear-gradient(135deg, rgba(63,107,240,0.12), rgba(138,100,240,0.10)); }
.resource-band h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.025em; line-height: 1.12; max-width: 620px; }
.resource-band .eyebrow { margin-bottom: 14px; }

/* ============================================================
   LEGAL (Privacy / Terms)
   ============================================================ */
.legal-banner { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 92px) clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line-d-2); }
.legal-banner h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; margin-top: 18px; }
.legal-banner .updated { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--on-dark-3); }
.legal-banner .updated::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 8px rgba(80,220,160,0.7); }
.article { max-width: 820px; margin-inline: auto; }
.article > p, .article > ul { color: var(--on-light-2); font-size: 1.02rem; line-height: 1.72; margin-bottom: 20px; }
.article h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.02em; margin: 48px 0 18px; padding-top: 28px; border-top: 1px solid var(--line-l-2); }
.article h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.article ul { padding-left: 4px; list-style: none; }
.article ul li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.article ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); }
.article a { color: var(--blue-hex); font-weight: 600; }
.article a:hover { text-decoration: underline; }
.article strong { color: var(--on-light); font-weight: 700; }
.article .lead { font-size: 1.12rem; color: var(--on-light); font-weight: 500; }

/* Statement hero variant — for text-heavy headers (e.g. Careers) */
.page-hero--statement { text-align: center; padding-bottom: clamp(48px, 6vw, 88px); }
.page-hero--statement .page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin-inline: auto;
}
.page-hero--statement .breadcrumb { justify-content: center; }
.hero-statement {
  font-size: clamp(1.7rem, 3.1vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.24;
  margin: 24px 0 0;
  max-width: 56ch;
  text-wrap: balance;
}
.hero-cue { display: inline-flex; align-items: center; gap: 9px; margin-top: 38px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2); transition: color .25s; }
.hero-cue:hover { color: #fff; }
.hero-cue svg { width: 18px; height: 18px; color: var(--blue-bright); animation: cueBounce 1.8s ease-in-out infinite; }
@keyframes cueBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1280px) {
  .logo__text { font-size: 1.05rem; }
  .menu > li > a, .menu__trigger { padding: 8px 9px; font-size: 0.86rem; gap: 5px; }
  .menu__trigger svg { width: 11px; height: 11px; }
  .nav__right .btn { padding: 11px 16px; font-size: 0.86rem; }
  .nav__right .btn svg { width: 15px; height: 15px; }
}
@media (max-width: 1160px) {
  .announce .pulse { display: none; }
  .menu, .nav__right .btn { display: none; }
  .burger { display: block; }
  .nav__right { gap: 8px; }
  .hero__inner { grid-template-columns: 1fr; }
  .gateway { max-width: 560px; margin-inline: auto; order: 2; }
  .how-grid { grid-template-columns: 1fr; }
  .cta__panel { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .grid-3, .why-grid { grid-template-columns: 1fr; }
  .why-item { border-right: none; border-bottom: 1px solid var(--line-l-2); }
  .why-item:last-child { border-bottom: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .grid-2 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 1080px) {
  .page-hero--split .page-hero__inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .reqsol__row { grid-template-columns: 1fr; }
  .reqsol__req { border-right: none; border-bottom: 1px solid var(--line-d); }
  .related { grid-template-columns: 1fr; }
  .tl-sub { grid-template-columns: 1fr; }
  .fm-feats { grid-template-columns: 1fr; }
  .psec { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .volume { grid-template-columns: 1fr 1fr; }
  .addons-grid { grid-template-columns: 1fr; }
  .jobs { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tl-step { grid-template-columns: 56px 1fr; gap: 18px; }
  .tl-num { width: 56px; height: 56px; border-radius: 16px; }
  .tl-num svg { width: 24px; height: 24px; }
  .timeline__track, .timeline__fill { left: 27px; }
  .faq__a { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ambient__blob { animation: none !important; }
  .gw-scan { animation: none !important; }
}

/* Lighter hero when the browser/device signals low resources */
@media (prefers-reduced-motion: reduce), (update: slow) {
  .hero .ambient__blob { animation: none !important; opacity: 0.28; }
}
html.perf-lite .hero .ambient__blob { animation: none !important; opacity: 0.28; }
html.perf-lite .gw-scan { animation: none !important; opacity: 0.45; }
html.perf-lite .gw-cost__live i { animation: none !important; }
