/* ============================================================
   Ciphero — AI Security Platform · shared web design system
   Violet brand. Outfit display, Inter body, IBM Plex Mono.
   ============================================================ */
:root {
  --bg:        #050311;
  --bg-2:      #0a0620;
  --panel:     rgba(22,16,46,0.55);
  --panel-2:   rgba(18,14,38,0.42);
  --text:      #eceef4;
  --muted:     #a2a0b8;
  --dim:       #6b6884;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(149,128,255,0.22);
  --accent:    #a78bfa;
  --accent-2:  #b5a0ff;
  --accent-3:  #c4b5fd;
  --accent-deep:#6f45ff;
  --accent-bg: rgba(137,103,255,0.12);
  --accent-line:rgba(149,128,255,0.30);
  --green:     #4ade80;
  --red:       #fb7185;
  --amber:     #e0a35c;
  --display:   'Outfit', 'Inter', system-ui, sans-serif;
  --sans:      'Inter', system-ui, -apple-system, sans-serif;
  --mono:      'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --maxw:      1180px;
  --nav-h:     70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}
/* violet ambience (absolute so full-page renders correctly) */
body::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1500px 820px at 50% -140px, #1a0f45 0%, #0b0722 46%, rgba(5,3,17,0) 78%),
    radial-gradient(820px 560px at 88% 40px, rgba(111,69,255,0.14), transparent 70%),
    radial-gradient(720px 480px at 6% 10px, rgba(137,103,255,0.10), transparent 70%),
    #050311;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(137,103,255,0.35); color: #fff; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.06; font-weight: 700; }
h1 { font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.028em; }
h3 { font-size: 20px; letter-spacing: -0.02em; }
p  { color: var(--muted); }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); display: inline-block; }
.hl { color: var(--accent-2); }
.lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); font-weight: 300; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 16px 20px;
  transition: padding .3s ease;
}
.nav-inner {
  width: 100%; max-width: var(--maxw);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  height: 56px; padding: 0 10px 0 16px;
  border: 1px solid var(--line);
  background: rgba(10,7,26,0.55);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-radius: 15px;
  box-shadow: 0 16px 50px -28px rgba(0,0,0,0.9);
  transition: background .3s, border-color .3s;
}
.nav.scrolled .nav-inner { background: rgba(9,6,24,0.85); border-color: var(--line-2); }
/* gap is the wordmark-to-emblem spacing; .bt adds its own padding-left so the
   separator bar keeps the same distance it had at gap:10px. */
.brand { display: flex; align-items: center; gap: 5px; min-width: 0; }
/* emblem_white.png is 1024x1024 but its glyph only occupies x288..707, so ~59%
   of the file width is transparent padding — about 7px per side at 24px. The
   negative margins cancel that, so the visual gap matches the CSS gap above. */
.brand img { width: 24px; height: 24px; margin: 0 -7px; }
.brand .bn { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand .bt { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); border-left: 1px solid var(--line-2); padding-left: 10px; margin-left: 10px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 26px; justify-self: center; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color .15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 12px; justify-self: end; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: inherit; font-weight: 600; font-size: 14.5px; padding: 11px 18px; border: 0; border-radius: 10px; appearance: none; -webkit-appearance: none; transition: transform .15s, box-shadow .15s, border-color .15s, background .15s; cursor: pointer; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { color: #fff; background: linear-gradient(180deg, #9779ff, #6f45ff); box-shadow: 0 12px 34px -14px rgba(111,69,255,0.8); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 46px -14px rgba(111,69,255,0.95); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.btn-sm { padding: 9px 15px; font-size: 13.5px; border-radius: 9px; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.sec-head { max-width: 720px; }
.sec-head .kicker { margin-bottom: 16px; }
.sec-head h2 { margin-bottom: 16px; }
.divider { height: 1px; background: var(--line); border: none; }

/* ---------- hero ---------- */
.hero { padding: calc(var(--nav-h) + 74px) 0 84px; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { margin: 20px 0 22px; max-width: 15ch; }
.hero .lead { max-width: 54ch; }
.hero-art { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; max-width: 900px; z-index: 1; pointer-events: none; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; opacity: 0.9;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 28%, #000 62%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 28%, #000 62%); }
/* isolated statue figure anchored right (transparent PNG) with a violet aura */
.hero-figure { position: absolute; top: 0; right: max(0px, calc((100% - var(--maxw)) / 2)); bottom: 0; width: 46%; max-width: 620px; z-index: 1; pointer-events: none; }
.hero-figure::before { content: ""; position: absolute; right: 4%; top: 140px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(137,103,255,0.30), rgba(124,58,237,0.07) 48%, transparent 72%); filter: blur(4px); }
/* top-anchored so the marble head (10.13% down the PNG) lands on the headline top (~190px) */
.hero-figure img { position: absolute; right: 0; top: 116px; height: 720px; width: auto; object-fit: contain; object-position: top right; opacity: 0.97;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.55) 18%, #000 44%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.55) 18%, #000 44%); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { margin-top: 26px; font-family: var(--mono); font-size: 12.5px; color: var(--dim); letter-spacing: 0.02em; }

/* ---------- generic grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ---------- cards ---------- */
.card { border: 1px solid var(--line); border-radius: 16px; background: var(--panel-2); padding: 26px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-bg); border: 1px solid var(--accent-line); display: grid; place-items: center; margin-bottom: 16px; }
.card .ic svg { width: 21px; height: 21px; stroke: var(--accent-2); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14.5px; line-height: 1.55; }

/* ---------- product cards (statues) ---------- */
.prod { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(24,17,50,0.55), rgba(10,7,26,0.5)); padding: 26px 26px 24px; overflow: hidden; transition: border-color .2s, transform .2s; }
.prod:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.prod.available { border-color: var(--accent-line); box-shadow: 0 0 0 1px rgba(137,103,255,0.10) inset; }
.prod .statue { height: 132px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 18px; }
.prod .statue img { height: 100%; width: auto; filter: drop-shadow(0 14px 26px rgba(0,0,0,0.6)); }
.prod .prow { display: flex; align-items: center; gap: 10px; }
.prod h3 { font-size: 23px; }
.prod .pill { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--dim); }
.prod .pill.now { color: var(--accent-2); border-color: var(--accent-line); background: var(--accent-bg); }
.prod .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin: 12px 0 8px; }
.prod p { font-size: 14px; line-height: 1.56; flex: 1; }
.prod .go { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--accent-2); }
.prod .go svg { width: 15px; height: 15px; transition: transform .15s; }
.prod:hover .go svg { transform: translateX(3px); }

/* ---------- screenshot window ---------- */
.win { border: 1px solid var(--accent-line); border-radius: 14px; overflow: hidden; background: #0a0820; box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9); }
.win .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(137,103,255,0.05); border-bottom: 1px solid var(--line); }
.win .bar i { width: 9px; height: 9px; border-radius: 50%; background: #39435a; }
.win .bar .u { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.03em; }
.win img { display: block; width: 100%; }
.shot { border: 1px solid var(--accent-line); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9); }
.shot img { display: block; width: 100%; }
.cap { font-size: 12.5px; color: var(--dim); margin-top: 12px; line-height: 1.5; }
.cap b { color: #cbc6e0; font-weight: 600; }

/* ---------- animated verifier factory (orpheus §03) ---------- */
.vf { border: 1px solid var(--accent-line); border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #0c0925, #0a0820); box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9); }
.vf-bar { display: flex; align-items: center; gap: 6px; padding: 11px 15px; background: rgba(137,103,255,0.06); border-bottom: 1px solid var(--line); }
.vf-bar i { width: 9px; height: 9px; border-radius: 50%; background: #39435a; }
.vf-u { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.03em; }
.vf-body { padding: 22px 22px 24px; min-height: 306px; }
.vf-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.vf-field { min-height: 80px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(8,6,22,0.6);
  padding: 15px 16px; font-size: 16px; line-height: 1.55; color: var(--text); }
.vf-caret { display: none; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.16em; background: var(--accent-2); animation: vf-blink 1s step-end infinite; }
@keyframes vf-blink { 0%, 50% { opacity: 1 } 50.01%, 100% { opacity: 0 } }
.vf[data-state="typing"] .vf-caret { display: inline-block; }

.vf-btn { margin-top: 16px; display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans); font-weight: 600; font-size: 14px;
  color: #fff; border: 1px solid transparent; border-radius: 10px; padding: 11px 18px; cursor: default;
  background: linear-gradient(180deg, #7c5cff, var(--accent-deep)); box-shadow: 0 12px 28px -14px rgba(111,69,255,0.85);
  transition: box-shadow .2s, filter .2s; }
.vf-btn svg { width: 16px; height: 16px; }
.vf-btn-a { display: inline-flex; align-items: center; gap: 8px; }
.vf-btn-b { display: none; align-items: center; gap: 9px; }
.vf-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; animation: vf-spin .7s linear infinite; }
@keyframes vf-spin { to { transform: rotate(360deg) } }
.vf[data-state="generating"] .vf-btn { filter: saturate(1.15); box-shadow: 0 0 0 4px rgba(111,69,255,0.20), 0 12px 28px -14px rgba(111,69,255,0.85); }
.vf[data-state="generating"] .vf-btn-a { display: none; }
.vf[data-state="generating"] .vf-btn-b { display: inline-flex; }

.vf-out { margin-top: 20px; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.vf[data-state="done"] .vf-out { opacity: 1; transform: translateY(0); }
.vf-out-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.vf-ok { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(74,222,128,0.14); border: 1px solid rgba(74,222,128,0.42); }
.vf-ok svg { width: 15px; height: 15px; stroke: var(--green); }
.vf-name { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--text); }
.vf-mode { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--amber);
  border: 1px solid rgba(224,163,92,0.35); background: rgba(224,163,92,0.10); border-radius: 999px; padding: 4px 11px; }
.vf-mode i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(224,163,92,0.16); }
.vf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.vf-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.07em; color: var(--accent-3);
  border: 1px solid var(--accent-line); background: var(--accent-bg); border-radius: 7px; padding: 5px 9px; }
.vf-tag-x { color: var(--accent-2); border-color: rgba(149,128,255,0.45); }

/* ---------- live event stream (orpheus §04) ---------- */
.ev { border: 1px solid var(--accent-line); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #0c0925, #0a0820); box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9); }
.ev-bar { display: flex; align-items: center; gap: 6px; padding: 11px 15px; background: rgba(137,103,255,0.06); border-bottom: 1px solid var(--line); }
.ev-bar > i { width: 9px; height: 9px; border-radius: 50%; background: #39435a; }
.ev-u { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.03em; }
.ev-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--green); }
.ev-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: ev-pulse 1.6s ease-out infinite; }
@keyframes ev-pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5) } 100% { box-shadow: 0 0 0 8px rgba(74,222,128,0) } }
.ev-list { height: 300px; overflow: hidden; padding: 4px 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
.ev-row { display: flex; align-items: center; gap: 13px; padding: 11px 17px; border-bottom: 1px solid rgba(255,255,255,0.04); font-family: var(--mono); font-size: 13px; }
.ev-row.ev-in { animation: ev-enter .5s ease both; }
@keyframes ev-enter { 0% { opacity: 0; transform: translateY(-10px); background: rgba(137,103,255,0.15); } 100% { opacity: 1; transform: translateY(0); background: transparent; } }
.ev-src { color: var(--dim); font-size: 11px; min-width: 52px; flex: 0 0 auto; }
.ev-act { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1 1 auto; min-width: 0; }
.ev-v { flex: 0 0 auto; font-size: 10px; letter-spacing: 0.07em; padding: 3px 9px; border-radius: 6px; border: 1px solid; }
.ev-v.allowed { color: var(--green); border-color: rgba(74,222,128,0.4); background: rgba(74,222,128,0.10); }
.ev-v.blocked { color: var(--red); border-color: rgba(251,113,133,0.4); background: rgba(251,113,133,0.10); }
.ev-v.flagged { color: var(--amber); border-color: rgba(224,163,92,0.4); background: rgba(224,163,92,0.10); }

/* live-framed product windows (orpheus §04 dashboards) */
.win .bar .win-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--green); }
.win .bar .win-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: ev-pulse 1.6s ease-out infinite; }
.win-media { position: relative; overflow: hidden; }
.win-media img { display: block; width: 100%; }
.win.live .win-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(181,160,255,0.12) 50%, transparent 58%);
  transform: translateX(-120%); animation: win-sheen 7.5s ease-in-out infinite; }
@keyframes win-sheen { 0%, 60% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) {
  .win.live .win-media::after { animation: none; opacity: 0; }
  .win .bar .win-live i, .ev-live i { animation: none; }
}

/* ---------- split rows (text + visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split.rev .split-visual { order: -1; }
.split-text h2 { margin-bottom: 16px; }
.vlist { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.vlist > div { position: relative; padding-left: 22px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.vlist > div::before { content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--accent); }
.vlist b { color: var(--text); font-weight: 600; }

/* ---------- numbered flow (demo steps) ---------- */
.step { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.step .num { font-family: var(--mono); font-weight: 700; font-size: 14px; color: var(--accent); border: 1px solid var(--accent-line); background: var(--accent-bg); border-radius: 9px; padding: 8px 11px; }
.step .stitle { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.02em; }
.step .sline { flex: 1; height: 1px; background: var(--line); }
.step .stag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }

/* ---------- band / callout ---------- */
.band { border: 1px solid var(--accent-line); background: var(--accent-bg); border-radius: 16px; padding: 22px 26px; display: flex; align-items: center; gap: 16px; }
.band svg { flex: 0 0 auto; width: 26px; height: 26px; stroke: var(--accent-2); }
.band .bt { font-size: 16px; line-height: 1.5; color: var(--text); font-weight: 500; }
.band .bt b { color: var(--accent-2); font-weight: 700; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.chip { font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; color: var(--accent-2); border: 1px solid var(--accent-line); background: var(--accent-bg); border-radius: 999px; padding: 8px 13px; }

/* ---------- flow diagram (endpoint) ---------- */
.flow { border: 1px solid var(--accent-line); border-radius: 16px; background: var(--panel-2); padding: 20px; }
.fnode { border: 1px solid var(--line); border-radius: 11px; padding: 14px 16px; background: rgba(255,255,255,0.02); }
.fnode.acc { border-color: var(--accent-line); background: var(--accent-bg); }
.fnode .fio { font-family: var(--display); font-weight: 700; font-size: 15px; }
.fnode .fm { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.fconn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.fconn svg { width: 13px; height: 13px; stroke: var(--accent); }
.fsplit { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 11px; }
.fpill { border-radius: 10px; padding: 11px; font-size: 13px; font-weight: 600; text-align: center; border: 1px solid; display: flex; align-items: center; justify-content: center; gap: 7px; }
.fpill svg { width: 14px; height: 14px; }
.fpill.ok { color: var(--green); border-color: rgba(74,222,128,0.30); background: rgba(74,222,128,0.07); }
.fpill.block { color: var(--red); border-color: rgba(251,113,133,0.30); background: rgba(251,113,133,0.07); }

/* ---------- big CTA ---------- */
.cta-band { border-radius: 22px; padding: 46px 44px; background: linear-gradient(140deg, #7c5cf0 0%, #6f45ff 60%, #5a37d6 100%); box-shadow: 0 30px 80px -40px rgba(111,69,255,0.7); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 8px; font-size: 15px; }
.cta-band .btn-primary { background: #fff; color: var(--accent-deep); box-shadow: 0 12px 30px -12px rgba(0,0,0,0.4); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 46px 0 40px; }
  .footer-top { display: grid; grid-template-columns: minmax(0, 1.7fr) auto auto auto; gap: 48px; align-items: start; }
  .footer-brand { max-width: 340px; }
.footer .brand .bn { font-size: 17px; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; font-size: 14px; color: var(--muted); margin-bottom: 9px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); flex-wrap: wrap; }
.footer-bottom .mono { letter-spacing: 0.06em; }
.footer-legal { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: var(--dim); transition: color .15s; }
.footer-legal a:hover { color: var(--text); }
/* trust row: SOC 2 cert + social icons (transparent) */
.footer-trust { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.footer-cert { display: inline-flex; align-items: center; gap: 13px; }
.footer-cert img { height: 62px; width: auto; display: block; }
.footer-cert-txt { display: flex; flex-direction: column; line-height: 1.35; }
.footer-cert-txt b { font-size: 13px; color: var(--muted); font-weight: 600; }
.footer-cert-txt span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.footer-social { display: inline-flex; align-items: center; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); color: var(--muted); background: transparent; transition: color .15s, border-color .15s, transform .15s, background .15s; }
.footer-social a:hover { color: var(--text); border-color: var(--accent-line); background: var(--accent-bg); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- misc ---------- */
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center.sec-head { max-width: 760px; }
.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 10px; }
.stat .v { font-family: var(--display); font-weight: 700; font-size: clamp(30px,4vw,42px); color: var(--accent-2); letter-spacing: -0.02em; }
.stat .k { font-size: 13px; color: var(--muted); margin-top: 6px; }
.threats { border: 1px solid rgba(251,113,133,0.28); background: rgba(251,113,133,0.05); border-radius: 16px; padding: 22px 26px; }
.threats .th { display: flex; align-items: center; gap: 9px; color: var(--red); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.threats ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.threats li { position: relative; padding-left: 18px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.threats li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.threats li b { color: #f0d9d9; font-weight: 600; }

/* ---------- nav dropdowns ---------- */
.nav-item { position: relative; }
.nav-item > .nav-top { display: inline-flex; align-items: center; gap: 5px; }
.nav-top .caret { opacity: 0.65; transition: transform .15s; }
.nav-item:hover .nav-top .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); padding-top: 12px; opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd-panel { min-width: 272px; background: rgba(12,9,32,0.97); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border: 1px solid var(--line-2); border-radius: 14px; padding: 8px; box-shadow: 0 24px 60px -24px rgba(0,0,0,0.85); }
.dd-panel a { display: block; padding: 11px 12px; border-radius: 9px; transition: background .12s; }
.dd-panel a:hover { background: var(--accent-bg); }
.dd-panel .d-title { display: block; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--text); }
.dd-panel .d-sub { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; }

/* ---------- mobile nav ---------- */
.nav-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255,255,255,0.03); color: var(--text); cursor: pointer; flex: 0 0 auto; }
.nav-toggle .ic-close { display: none; }
.nav.open .nav-toggle .ic-open { display: none; }
.nav.open .nav-toggle .ic-close { display: block; }
.mobile-menu { display: none; }

/* ---------- contact form ---------- */
.form-wrap { max-width: 640px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field .req { color: var(--accent-2); }
.field input, .field select, .field textarea { width: 100%; font-family: var(--sans); font-size: 15px; color: var(--text); background: rgba(255,255,255,0.03); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, background .15s; color-scheme: dark; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(137,103,255,0.06); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b5a0ff' stroke-width='2.4'><path d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-errors { border: 1px solid rgba(251,113,133,0.30); background: rgba(251,113,133,0.06); color: #f3dcdf; border-radius: 12px; padding: 13px 16px; font-size: 13.5px; margin-bottom: 22px; }
.form-errors ul { margin: 6px 0 0 18px; }
.thanks { text-align: center; max-width: 560px; margin: 0 auto; }
.thanks h1, .thanks .lead { margin-left: auto; margin-right: auto; }
.thanks .tick { width: 66px; height: 66px; border-radius: 50%; background: var(--accent-bg); border: 1px solid var(--accent-line); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks .tick svg { width: 32px; height: 32px; stroke: var(--accent-2); }

/* ---------- blog / news index ---------- */
.post-list { display: flex; flex-direction: column; gap: 18px; max-width: 900px; }
.post-card { display: block; border: 1px solid var(--line); border-radius: 16px; background: var(--panel-2); padding: 28px 30px; transition: border-color .2s, transform .2s, background .2s; }
.post-card:hover { border-color: var(--accent-line); transform: translateY(-3px); background: var(--panel); }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--dim); }
.post-meta .chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.post-meta .chip svg { width: 11px; height: 11px; }
.post-cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.post-dot { color: var(--dim); }
.post-meta time { color: var(--dim); }
.post-source { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--muted); }
.post-card .post-title { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; color: var(--text); margin: 14px 0 10px; transition: color .15s; }
.post-card:hover .post-title { color: var(--accent-3); }
.post-excerpt { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 16px; max-width: 70ch; }
.post-more { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--accent-2); }
.post-more svg { width: 15px; height: 15px; transition: transform .15s; }
.post-card:hover .post-more svg { transform: translateX(3px); }

/* ---------- blog / article ---------- */
.post-hero { border-bottom: 1px solid var(--line); padding-bottom: 44px; overflow: visible; }
.post-head { max-width: 768px; margin: 0 auto; }
.post-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); transition: color .15s; }
.post-back:hover { color: var(--text); }
.post-back svg { width: 15px; height: 15px; }
.post-h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.08; max-width: 20ch; }
.post-lead { max-width: 62ch; margin-top: 20px; }

.article { max-width: 768px; margin-left: auto; margin-right: auto; }
.article > p { color: var(--muted); font-size: 17px; line-height: 1.78; margin-bottom: 22px; }
.article strong { color: var(--text); font-weight: 600; }
.article h2 { font-size: clamp(24px, 3vw, 30px); margin: 48px 0 18px; }
.article h3 { font-size: 19px; margin: 30px 0 12px; }
.article p a, .article li a, .article blockquote a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color .15s; }
.article p a:hover, .article li a:hover, .article blockquote a:hover { color: var(--accent-3); }
.article a.btn { text-decoration: none; }
.article a.btn-primary, .article a.btn-primary:hover { color: #fff; }
.article a.btn-ghost, .article a.btn-ghost:hover { color: var(--text); }
.article ul { list-style: none; margin: 0 0 24px; display: flex; flex-direction: column; gap: 12px; }
.article li { position: relative; padding-left: 22px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.article li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--accent); }
.article blockquote { margin: 32px 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--accent); }
.article blockquote p { font-family: var(--display); font-weight: 500; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: var(--text); margin-bottom: 14px; }
.article blockquote cite { font-style: normal; font-size: 14px; color: var(--accent-2); font-family: var(--mono); letter-spacing: 0.02em; }

.callout { border: 1px solid var(--accent-line); background: var(--accent-bg); border-radius: 16px; padding: 24px 28px; margin-bottom: 40px; }
.callout h3 { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 16px; color: var(--accent-2); margin: 0 0 16px; }
.callout h3 svg { stroke: var(--accent-2); }
.callout ul { margin: 0; }
.callout li { color: var(--text); }
.callout li strong { color: #fff; }

.statgrid { margin: 34px 0; }
.numstat { text-align: center; padding: 22px 16px; }
.numstat .v { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3.4vw, 36px); color: var(--accent-2); letter-spacing: -0.02em; }
.numstat .k { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.4; }

.team-card { margin: 40px 0 0; }
.team-card h3 { margin: 0 0 20px; font-size: 17px; }
.team-card .grid-3 { gap: 22px; }
.member .m-name { font-family: var(--display); font-weight: 600; color: var(--text); font-size: 15.5px; }
.member .m-role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--accent); margin-top: 4px; }
.member .m-note { font-size: 13px; color: var(--dim); margin-top: 6px; line-height: 1.45; }

.contact-card { margin: 24px 0 0; }
.contact-card h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.contact-card p { color: var(--muted); }

.post-share { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); }
.post-share-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.share-links { display: flex; align-items: center; gap: 16px; }
.share-links .sl { color: var(--muted); transition: color .15s, transform .15s; }
.share-links .sl:hover { color: var(--accent-2); transform: translateY(-1px); }
.view-all { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--accent-2); }
.view-all svg { width: 15px; height: 15px; transition: transform .15s; }
.view-all:hover svg { transform: translateX(3px); }

/* ---------- tier comparison (Community · Pro · Enterprise) ---------- */
.tiers-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; -webkit-overflow-scrolling: touch; background: var(--panel-2); }
.tiers { width: 100%; border-collapse: collapse; min-width: 760px; }
.tiers th, .tiers td { padding: 15px 20px; text-align: left; vertical-align: middle; font-size: 14px; border-bottom: 1px solid var(--line); }
.tiers thead th { vertical-align: bottom; border-bottom: 1px solid var(--line-2); }
.tiers tfoot td { border-bottom: none; padding-top: 18px; padding-bottom: 20px; }
.tiers .feat { color: var(--muted); font-weight: 500; max-width: 380px; font-size: 15.5px; }
.tiers .tier-name { display: block; font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--text); }
.tiers .tier-tag { display: block; font-size: 14px; color: var(--dim); font-weight: 400; margin-top: 3px; }
.tiers .tier-badge,
.tiers-card-head .tier-badge { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); background: var(--accent-bg); border: 1px solid var(--accent-line); border-radius: 999px; padding: 3px 9px; margin-bottom: 8px; }
.tiers .yes { color: var(--green); font-weight: 700; }
.tiers .no { color: var(--dim); }
.tiers .val { color: var(--text); font-size: 15.5px; }
.tiers .c-pro { background: var(--accent-bg); }
.tiers thead .c-pro { background: rgba(137,103,255,0.15); }
.tiers tfoot .btn { width: 100%; justify-content: center; color: #fff; }
.tiers tfoot .btn.btn-ghost { color: var(--text); }

/* Mobile tabbed plan view — hidden on desktop, swapped in below 900px so the
   comparison never falls back to a cramped horizontal scroll. */
.tiers-mobile { display: none; }
.tiers-tablist { display: none; gap: 6px; padding: 5px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; }
.tiers-mobile.is-enhanced .tiers-tablist { display: flex; }
.tiers-tab { flex: 1 1 0; min-width: 0; padding: 11px 10px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-family: var(--display); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.tiers-tab:hover { color: var(--text); }
.tiers-tab.is-active { background: var(--accent-bg); color: var(--accent-2); box-shadow: inset 0 0 0 1px var(--accent-line); }
.tiers-tab:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.tiers-panel { margin-top: 18px; }
.tiers-panel:focus { outline: none; }
.tiers-panel:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; border-radius: 16px; }
.tiers-card { border: 1px solid var(--line); border-radius: 16px; background: var(--panel-2); padding: 22px 20px; }
.tiers-card.is-featured { border-color: var(--accent-line); background: var(--accent-bg); }
.tiers-card-head { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.tiers-card-head .tier-name { display: block; font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--text); }
.tiers-card-head .tier-tag { display: block; font-size: 14px; color: var(--dim); margin-top: 3px; }
.tiers-feats { list-style: none; margin: 0; padding: 0; }
.tiers-feat-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tiers-feat-row:last-child { border-bottom: 0; }
.tiers-feat-label { color: var(--muted); font-size: 15px; font-weight: 500; }
.tiers-feat-val { flex: 0 0 auto; text-align: right; }
.tiers-feat-val .yes { color: var(--green); font-weight: 700; }
.tiers-feat-val .no { color: var(--dim); }
.tiers-feat-val .val { color: var(--text); font-weight: 600; }
.tiers-card-cta { margin-top: 20px; }
.tiers-card-cta .btn { width: 100%; justify-content: center; color: #fff; }
/* In the mobile cards every plan gets one primary-looking CTA, so the ghost
   button (Enterprise) matches the Pro primary button. */
.tiers-card-cta .btn.btn-ghost { color: #fff; border: 0; background: linear-gradient(180deg, #9779ff, #6f45ff); box-shadow: 0 12px 34px -14px rgba(111,69,255,0.8); }
.tiers-card-cta .btn.btn-ghost:hover { border-color: transparent; box-shadow: 0 18px 46px -14px rgba(111,69,255,0.95); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: inline-flex; justify-self: end; }
  .mobile-menu { display: flex; flex-direction: column; gap: 4px; position: fixed; left: 16px; right: 16px; top: 82px; z-index: 90; background: rgba(10,7,26,0.98); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); border: 1px solid var(--line-2); border-radius: 16px; padding: 12px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.9); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s, transform .2s; }
  .nav.open .mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu a { padding: 13px 14px; border-radius: 10px; font-size: 16px; color: var(--muted); }
  .mobile-menu a:hover, .mobile-menu a:active { background: var(--accent-bg); color: var(--text); }
  .mobile-menu .btn { width: 100%; justify-content: center; margin-top: 8px; color: #fff; }
  .grid-3, .grid-2, .grid-4, .split, .stat-row, .threats ul, .field-row { grid-template-columns: 1fr; }
  .statgrid { grid-template-columns: 1fr 1fr; }
  .hero-art { left: 0; width: 100%; max-width: none; opacity: 0.4; }
  .hero-art img { object-position: 72% 20%;
    -webkit-mask-image: linear-gradient(to bottom, #000 12%, rgba(0,0,0,0.4) 55%, transparent 88%);
            mask-image: linear-gradient(to bottom, #000 12%, rgba(0,0,0,0.4) 55%, transparent 88%); }
  .hero-figure { width: 66%; max-width: none; opacity: 0.26; }
  .hero-figure::before { display: none; }
  .hero-figure img { right: -10%; top: auto; bottom: 0; height: 90%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 58%);
            mask-image: linear-gradient(to right, transparent 0%, #000 58%); }
  .split { gap: 32px; }
  .split.rev .split-visual { order: 0; }
  .platform-visual { display: none; }
  .tiers-wrap { display: none; }
  .tiers-mobile { display: block; }
  .section { padding: 64px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 40px; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) {
  .brand .bt { display: none; }
  .cta-band { padding: 32px 26px; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-figure { opacity: 0.16; }
  .step { flex-wrap: wrap; }
  .step .sline, .step .stag { display: none; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
}
