/* ============================================================
   Secutune — marketing site styles
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* palette */
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;

  --ink-950: #060a16;
  --ink-900: #0a0f1f;
  --ink-800: #111827;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white: #ffffff;

  --crit: #ef4444;
  --high: #f59e0b;
  --med:  #38bdf8;
  --ok:   #10b981;

  /* semantic */
  --bg: var(--white);
  --bg-tint: var(--slate-50);
  --text: #0d1526;
  --text-soft: var(--slate-600);
  --text-mute: var(--slate-500);
  --border: var(--slate-200);
  --primary: var(--blue-600);
  --primary-d: var(--blue-700);

  --grad-brand: linear-gradient(135deg, var(--cyan-400) 0%, var(--blue-600) 60%, var(--blue-700) 100%);
  --grad-dark: radial-gradient(120% 120% at 80% 0%, #15234a 0%, var(--ink-900) 45%, var(--ink-950) 100%);

  --shadow-sm: 0 1px 2px rgba(13, 21, 38, .06), 0 1px 3px rgba(13, 21, 38, .08);
  --shadow-md: 0 8px 24px rgba(13, 21, 38, .08), 0 2px 6px rgba(13, 21, 38, .05);
  --shadow-lg: 0 24px 60px rgba(13, 21, 38, .16), 0 8px 20px rgba(13, 21, 38, .08);
  --shadow-glow: 0 30px 80px rgba(37, 99, 235, .35);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head: 'Sora', var(--font-sans);

  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; margin: 0; color: var(--text); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 820px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--bg-tint); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px;
}
.kicker-light { color: var(--cyan-400); }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; }
.section-sub { margin-top: 16px; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--text-soft); }
.section-sub.light { color: var(--slate-300); }

/* ---------- Sub-page hero ---------- */
.page-hero { position: relative; padding: clamp(44px, 6vw, 76px) 0 clamp(30px, 4vw, 48px); background: var(--grad-dark); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(62% 72% at 18% 12%, rgba(34,211,238,.18), transparent 70%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; max-width: 840px; text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.85rem); font-weight: 800; line-height: 1.12; color: #fff; }
.page-hero p { margin-top: 16px; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--slate-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .96rem;
  padding: 12px 22px; border-radius: 999px; border: 0;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 22px rgba(37, 99, 235, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 99, 235, .38); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; }
.brand-mark { display: inline-flex; }
.brand-name { font-size: 1.22rem; letter-spacing: -.02em; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 500; font-size: .96rem; color: var(--text-soft); position: relative; padding: 4px 0;
  transition: color .2s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad-brand); border-radius: 2px; transition: width .25s ease;
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.header-cta { display: flex; }

.nav-toggle {
  display: none; background: none; border: 0; width: 42px; height: 42px; border-radius: 10px;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center; margin-left: auto;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--border); background: #fff; padding: 16px var(--gutter) 24px;
}
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav a { display: block; padding: 13px 4px; font-weight: 600; border-bottom: 1px solid var(--slate-100); }
.mobile-nav .btn { margin-top: 18px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; background: var(--grad-dark); color: #fff; overflow: hidden; padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(40px, 6vw, 70px); }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 12% 18%, rgba(34, 211, 238, .18), transparent 70%),
    radial-gradient(45% 55% at 88% 8%, rgba(37, 99, 235, .28), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 30%, transparent 80%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 60px);
  align-items: center; padding-bottom: 40px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: .85rem; font-weight: 600;
  color: var(--cyan-400); background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .25);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(34,211,238,.2); }

.hero-copy h1 {
  font-size: clamp(1.8rem, 3.9vw, 2.8rem); font-weight: 800; letter-spacing: -.03em;
  line-height: 1.1; max-width: 17ch; text-wrap: balance;
  background: linear-gradient(180deg, #fff 30%, #cddbff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h1-br { display: none; }
@media (min-width: 600px) { .h1-br { display: inline; } .hero-copy h1 { max-width: 22ch; } }
.hero-copy h1 .hl {
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-500));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.lede { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--slate-300); max-width: 520px; text-wrap: pretty; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-points { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.hero-points li { display: flex; align-items: center; gap: 10px; color: var(--slate-300); font-size: .98rem; }
.hero-points .ic { width: 20px; height: 20px; flex: none; color: var(--cyan-400); background: rgba(34,211,238,.12); border-radius: 50%; padding: 3px; }

/* ---- Dashboard mockup ---- */
.hero-visual { position: relative; }
.hero-glow { position: absolute; inset: 10% -6% -12% -6%; background: var(--grad-brand); filter: blur(60px); opacity: .35; border-radius: 50%; z-index: 0; }

/* ---- Floating product dashboard ---- */
.hero-dash {
  position: relative; z-index: 1; max-width: 480px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.hd-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hd-pill {
  display: flex; align-items: center; gap: 9px;
  background: #0d1426; border: 1px solid rgba(255,255,255,.1); border-radius: 13px;
  padding: 11px 12px; box-shadow: var(--shadow-md);
}
.hd-num { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; line-height: 1; }
.n-cyan { color: var(--cyan-400); }
.n-red { color: #f87171; }
.n-violet { color: #a78bfa; }
.hd-meta { display: flex; flex-direction: column; min-width: 0; }
.hd-meta b { font-size: .68rem; color: #fff; font-weight: 600; line-height: 1.15; }
.hd-meta i { font-style: normal; font-size: .6rem; color: var(--slate-400); }

.hd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.hd-col { display: flex; flex-direction: column; gap: 12px; }
.hd-card {
  background: #0d1426; border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  padding: 16px; box-shadow: var(--shadow-lg);
}
.hd-title { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--slate-400); margin-bottom: 10px; }

/* Compliance donut */
.hd-compliance { display: flex; flex-direction: column; align-items: center; }
.hd-compliance .hd-title { align-self: flex-start; }
.hd-comp-body { flex: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hd-donut { position: relative; width: 116px; height: 116px; }
.hd-donut svg { width: 116px; height: 116px; }
.hd-donut-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hd-donut-c strong { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff; line-height: 1; }
.hd-donut-c span { font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); margin-top: 3px; }
.hd-rows { width: 100%; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.hd-rows li { display: flex; align-items: center; gap: 8px; font-size: .76rem; }
.hd-rows b { color: #fff; font-family: var(--font-head); font-weight: 700; }
.hd-rows span { color: var(--slate-400); }
.hd-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.hd-dot.ok { background: var(--ok); }
.hd-dot.warn { background: var(--high); }
.hd-foot { align-self: stretch; display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .7rem; font-weight: 600; color: var(--ok); }
.hd-foot svg { width: 11px; height: 11px; }
.hd-compliance .hd-rows { margin-top: 16px; }

/* Risk gauge */
.hd-gauge { display: flex; justify-content: center; }
.hd-gauge svg { width: 100%; max-width: 158px; height: auto; }
.hd-gauge-num { fill: #fff; font-family: var(--font-head); font-weight: 800; font-size: 16px; text-anchor: middle; }
.hd-gauge-lbl { fill: var(--slate-400); font-size: 7.5px; text-anchor: middle; text-transform: uppercase; letter-spacing: .08em; }
.hd-legend { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.hd-legend li { display: flex; align-items: center; gap: 7px; font-size: .72rem; color: var(--slate-400); }
.hd-legend i { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.hd-legend b { margin-left: auto; color: #fff; font-weight: 700; }

/* Patch status bars */
.hd-bar-row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 9px; margin-bottom: 10px; }
.hd-bar-row:last-child { margin-bottom: 0; }
.hd-bar-lbl { font-size: .7rem; color: var(--slate-400); }
.hd-bar { height: 8px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
.hd-bar i { display: block; height: 100%; width: var(--w); border-radius: 999px; }
.hd-bar i.ok { background: linear-gradient(90deg, var(--cyan-400), #10b981); }
.hd-bar i.warn { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.hd-bar-row b { font-size: .74rem; color: #fff; font-weight: 700; font-family: var(--font-head); }
.dash {
  position: relative; z-index: 1; border-radius: var(--radius-lg); overflow: hidden;
  background: #0d1426; border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-lg); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s ease;
}
.hero-visual:hover .dash { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg); }
.dash-topbar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: #0a101f; border-bottom: 1px solid rgba(255,255,255,.07); }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a3550; }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.dash-url { font-size: .76rem; color: var(--slate-400); background: #131c33; padding: 4px 12px; border-radius: 6px; margin: 0 auto; }

.dash-body { display: grid; grid-template-columns: 140px 1fr; min-height: 380px; }
.dash-side { background: #0a101f; border-right: 1px solid rgba(255,255,255,.06); padding: 16px 12px; }
.dash-logo { display: flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: #fff; margin-bottom: 18px; }
.dash-side ul { display: flex; flex-direction: column; gap: 4px; }
.dash-side li { display: flex; align-items: center; gap: 9px; font-size: .8rem; color: var(--slate-400); padding: 8px 9px; border-radius: 8px; }
.dash-side li .si { width: 14px; height: 14px; border-radius: 4px; background: #1d2942; }
.dash-side li.active { background: rgba(37,99,235,.16); color: #fff; }
.dash-side li.active .si { background: var(--grad-brand); }

.dash-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.stat { background: #111a30; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 11px 12px; }
.stat-label { display: block; font-size: .68rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: .04em; }
.stat-value { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: #fff; margin: 3px 0; }
.stat-trend { font-size: .68rem; font-weight: 600; }
.stat-trend.up { color: var(--ok); } .stat-trend.down { color: var(--cyan-400); } .stat-trend.flat { color: var(--high); }

.dash-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.card { background: #111a30; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 12px; }
.card-head { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--slate-300); font-weight: 600; margin-bottom: 12px; }
.pill { font-size: .68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.pill-ok { background: rgba(16,185,129,.16); color: #34d399; }
.pill-warn { background: rgba(245,158,11,.16); color: #fbbf24; }
.pill-dark { background: rgba(34,211,238,.14); color: var(--cyan-400); }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; }
.bars span { flex: 1; height: var(--h); background: linear-gradient(180deg, var(--cyan-400), var(--blue-600)); border-radius: 5px 5px 2px 2px; opacity: .9; transform-origin: bottom; animation: growBar .9s ease backwards; }
.bars span:nth-child(odd) { animation-delay: .05s; }
@keyframes growBar { from { transform: scaleY(.1); opacity: 0; } to { transform: scaleY(1); opacity: .9; } }

.donut-card { display: flex; flex-direction: column; }
.donut {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 8px; position: relative;
  background: conic-gradient(#ef4444 0 18%, #f59e0b 18% 45%, #38bdf8 45% 100%);
  -webkit-mask: radial-gradient(circle 27px at center, transparent 98%, #000 100%);
  mask: radial-gradient(circle 27px at center, transparent 98%, #000 100%);
}
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-center strong { font-family: var(--font-head); font-size: .9rem; color: #fff; }
.donut-center span { font-size: .6rem; color: var(--slate-400); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; }
.legend li { display: flex; align-items: center; gap: 5px; font-size: .68rem; color: var(--slate-400); }
.legend i { width: 9px; height: 9px; border-radius: 3px; }
.c-crit { background: var(--crit); } .c-high { background: var(--high); } .c-med { background: var(--med); }

.table-card .mini-table { display: flex; flex-direction: column; gap: 8px; }
.mini-table li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; font-size: .76rem; color: var(--slate-300); }
.mini-table .app { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.mini-table .ver { color: var(--slate-400); font-size: .68rem; }
.logo { width: 18px; height: 18px; border-radius: 5px; flex: none; background: #1d2942; }
.logo.l1 { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.logo.l2 { background: linear-gradient(135deg,#22d3ee,#2563eb); }
.logo.l3 { background: linear-gradient(135deg,#ef4444,#7c3aed); }
.logo.l4 { background: linear-gradient(135deg,#10b981,#06b6d4); }
.logo.l5 { background: linear-gradient(135deg,#f97316,#eab308); }
.badge { font-size: .64rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.b-crit { background: rgba(239,68,68,.18); color: #f87171; }
.b-high { background: rgba(245,158,11,.18); color: #fbbf24; }
.b-eol { background: rgba(124,58,237,.2); color: #a78bfa; }

/* ---- Trust strip ---- */
.trust-strip { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; }
.trust-strip > span { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate-400); }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.trust-chip { font-size: .85rem; font-weight: 600; color: var(--slate-300); border: 1px solid rgba(255,255,255,.14); padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.03); }

/* ============================================================
   Problem
   ============================================================ */
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.problem-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--slate-300); }
.prob-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg, rgba(34,211,238,.14), rgba(37,99,235,.14)); color: var(--primary); margin-bottom: 18px; }
.prob-icon svg { width: 26px; height: 26px; }
.problem-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.problem-card p { font-size: .95rem; color: var(--text-soft); }

/* ============================================================
   Features
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; overflow: hidden; }
.feature-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--slate-300); }
.feature-card:hover::before { transform: scaleX(1); }
.feat-icon { display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 13px; background: linear-gradient(135deg, rgba(34,211,238,.16), rgba(37,99,235,.16)); color: var(--primary); margin-bottom: 18px; }
.feat-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.feat-count {
  font-family: var(--font-head); font-weight: 800; font-size: .82rem; line-height: 1;
  color: var(--primary); background: linear-gradient(135deg, rgba(34,211,238,.16), rgba(37,99,235,.16));
  border: 1px solid rgba(37,99,235,.22); padding: 4px 10px; border-radius: 999px;
}
.feature-card p { font-size: .95rem; color: var(--text-soft); }
.features-more { margin-top: clamp(28px, 4vw, 44px); text-align: center; }
.features-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--primary); transition: gap .2s ease, color .2s ease; }
.features-link:hover { gap: 12px; color: var(--primary-dark, var(--primary)); }
.features-link span { transition: transform .2s ease; }
.features-link:hover span { transform: translateX(2px); }
.feature-card .features-link { margin-top: 16px; font-size: .92rem; }

/* ============================================================
   Features page — hero extras, sub-nav, pillars, deep-dives
   ============================================================ */
.page-hero-actions { margin-top: 24px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.page-hero-proof { margin-top: 20px; display: flex; gap: 10px 12px; flex-wrap: wrap; justify-content: center; }
.page-hero-proof .chip { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--slate-300); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); padding: 8px 15px; border-radius: 999px; }
.page-hero-proof .chip svg { width: 16px; height: 16px; color: var(--cyan-400); }

.page-subnav { position: sticky; top: 69px; z-index: 90; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: var(--shadow-sm); }
.page-subnav .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.page-subnav a { white-space: nowrap; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--text-soft); padding: 8px 15px; border-radius: 999px; transition: background .2s ease, color .2s ease; }
.page-subnav a:hover { background: var(--slate-100); color: var(--text); }
.page-subnav a.active { background: var(--primary); color: #fff; }

/* ---------- Feature detail pages ---------- */
.feature-hero { position: relative; padding: clamp(38px, 5.5vw, 68px) 0 clamp(34px, 5vw, 54px); background: var(--grad-dark); color: #fff; overflow: hidden; }
.feature-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(58% 70% at 14% 8%, rgba(34,211,238,.16), transparent 70%); pointer-events: none; }
.feature-hero .container { position: relative; z-index: 1; }
.fh-back { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--slate-300); margin-bottom: 16px; transition: color .2s ease; }
.fh-back:hover { color: #fff; }
.fh-back svg { width: 15px; height: 15px; }
.feature-hero h1 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); font-weight: 800; color: #fff; max-width: 760px; }
.feature-hero .fh-intro { margin-top: 14px; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--slate-300); max-width: 680px; }
.fh-actions { margin-top: 22px; }

/* hero dashboard cards */
.fp-cards { margin-top: clamp(28px, 4vw, 40px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.fp-card { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 18px; }
.fp-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 14px; }
.fp-tag { flex: none; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cyan-400); background: rgba(34,211,238,.12); padding: 3px 8px; border-radius: 999px; }
.fp-stat { font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1; color: #fff; }
.fp-stat .fp-unit { font-size: 1rem; font-weight: 700; color: var(--slate-400); margin-left: 2px; }
.fp-sub { margin-top: 7px; font-size: .82rem; color: var(--slate-400); }
.fp-sub .fp-delta { color: var(--ok); font-weight: 700; }

/* mini bar rows */
.fp-bars { display: flex; flex-direction: column; gap: 11px; }
.fp-brow { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; font-size: .82rem; color: var(--slate-300); }
.fp-brow b { color: #fff; font-weight: 700; }
.fp-bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.fp-bar i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--grad-brand); }
.fp-bar i.warn { background: var(--high); }
.fp-bar i.crit { background: var(--crit); }
.fp-bar i.ok { background: var(--ok); }

/* small list rows with chips */
.fp-list { display: flex; flex-direction: column; gap: 11px; }
.fp-li { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .85rem; color: var(--slate-200); font-weight: 600; }
.fp-li small { display: block; color: var(--slate-400); font-size: .72rem; font-weight: 500; margin-top: 1px; }
.fp-chip { font-family: var(--font-head); font-weight: 800; font-size: .76rem; padding: 3px 9px; border-radius: 999px; flex: none; color: #fff; }
.fp-chip.crit { background: rgba(239,68,68,.9); }
.fp-chip.high { background: rgba(245,158,11,.92); }
.fp-chip.med { background: rgba(56,189,248,.92); }
.fp-chip.ok { background: rgba(16,185,129,.92); }
.fp-chk { flex: none; width: 18px; height: 18px; color: var(--ok); }

/* layout: left tree + content */
.feature-layout { display: grid; grid-template-columns: 256px 1fr; gap: clamp(28px, 4vw, 56px); padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(48px, 7vw, 80px); align-items: start; }
.feature-sidebar { position: sticky; top: 92px; }
.feature-tree { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; background: var(--bg); box-shadow: var(--shadow-sm); }
.ft-group { font-family: var(--font-head); font-weight: 700; font-size: .71rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); padding: 14px 10px 6px; }
.feature-tree .ft-group:first-child { padding-top: 4px; }
.feature-tree ul { display: flex; flex-direction: column; gap: 2px; margin-bottom: 4px; }
.feature-tree a { display: block; font-size: .91rem; font-weight: 500; color: var(--text-soft); padding: 8px 11px; border-radius: 9px; border-left: 2px solid transparent; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.feature-tree a:hover { background: var(--slate-100); color: var(--text); }
.feature-tree a[aria-current="page"] { color: var(--primary); background: rgba(37,99,235,.08); border-left-color: var(--primary); font-weight: 700; }

.feature-content > h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
.feature-content .lead { color: var(--text-soft); font-size: clamp(1.02rem, 1.4vw, 1.14rem); margin-top: 14px; }
.fc-block { margin-top: clamp(34px, 5vw, 50px); }
.fc-block h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; margin-bottom: 4px; }
.fc-block > p { color: var(--text-soft); margin-top: 10px; }
.feature-content .feature-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 22px; }
.feature-content .fs-list { margin-top: 20px; }

@media (max-width: 900px) {
  .feature-layout { grid-template-columns: 1fr; }
  .feature-sidebar { position: static; }
  .fp-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .fp-cards { grid-template-columns: 1fr; }
}

.pillar-head { max-width: 760px; margin: 0 0 clamp(28px, 4vw, 40px); }
.pillar-head .kicker { margin-bottom: 12px; }
.pillar-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.pillar-head p { margin-top: 12px; color: var(--text-soft); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 640px; }

.spotlight-rows { display: flex; flex-direction: column; gap: clamp(44px, 7vw, 84px); }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.feature-split.reverse .fs-copy { order: 2; }
.feature-split.reverse .fs-visual { order: 1; }
.fs-copy h3 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 800; margin-bottom: 14px; }
.fs-copy > p { color: var(--text-soft); font-size: 1.04rem; }
.fs-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.fs-list li { position: relative; padding-left: 30px; color: var(--text-soft); font-size: .98rem; }
.fs-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background-color: rgba(34,211,238,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232563eb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5 8.5 14 15 6.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 13px; }
.fs-list strong { color: var(--text); font-weight: 700; }

.fs-visual { display: flex; justify-content: center; }
.fs-panel { width: 100%; max-width: 430px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px; }
.fs-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: .98rem; margin-bottom: 16px; }
.fs-panel-head .tag { flex: none; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--primary); background: rgba(37,99,235,.1); padding: 4px 9px; border-radius: 999px; }
.fs-rrow { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--border); }
.fs-rrow:first-of-type { border-top: 0; padding-top: 2px; }
.fs-rrow b { font-weight: 600; font-size: .9rem; }
.fs-rrow > div > span { display: block; font-size: .74rem; color: var(--text-mute); margin-top: 1px; }
.fs-meter { text-align: right; }
.fs-bar { height: 7px; border-radius: 999px; background: var(--slate-100); overflow: hidden; margin-bottom: 5px; }
.fs-bar i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--grad-brand); }
.fs-meter span { font-size: .72rem; color: var(--text-mute); }
.score-chip { font-family: var(--font-head); font-weight: 800; font-size: .92rem; padding: 4px 11px; border-radius: 999px; }
.sch-crit { color: #b91c1c; background: rgba(239,68,68,.14); }
.sch-high { color: #b45309; background: rgba(245,158,11,.16); }
.sch-med { color: var(--blue-700); background: rgba(56,189,248,.18); }
.fs-panel-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: .8rem; color: var(--text-mute); display: flex; align-items: center; gap: 8px; }
.fs-panel-foot svg { width: 15px; height: 15px; color: var(--ok); flex: none; }

.tenant-list { width: 100%; max-width: 430px; display: flex; flex-direction: column; gap: 10px; }
.tenant-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow-sm); }
.tenant-ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); font-family: var(--font-head); font-weight: 800; font-size: .8rem; flex: none; }
.tenant-row b { font-size: .92rem; font-weight: 600; }
.tenant-row span { display: block; font-size: .74rem; color: var(--text-mute); }
.tenant-row .pillish { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--ok); background: rgba(16,185,129,.12); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }

.integrations { text-align: center; }
.integrations .kicker { margin-bottom: 14px; }
.integrations h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
.integrations > p { margin: 12px auto 0; max-width: 560px; color: var(--text-soft); }
.integration-chips { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.integration-chips .chip { font-size: .9rem; font-weight: 600; color: var(--text-soft); border: 1px solid var(--border); background: var(--bg); padding: 9px 18px; border-radius: 999px; box-shadow: var(--shadow-sm); }

/* ============================================================
   Security insights (dark)
   ============================================================ */
.section-dark { background: var(--grad-dark); color: #fff; position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 90% 10%, rgba(37,99,235,.25), transparent 70%); pointer-events: none; }
.security-layout { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.security-copy h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.insight-list { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.insight-list li { display: flex; gap: 16px; }
.ins-num { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(34,211,238,.14); border: 1px solid rgba(34,211,238,.3); color: var(--cyan-400); font-family: var(--font-head); font-weight: 700; }
.insight-list strong { display: block; color: #fff; font-size: 1.02rem; }
.insight-list p { color: var(--slate-400); font-size: .92rem; margin-top: 2px; }

.risk-panel { background: rgba(13, 20, 38, .7); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg); backdrop-filter: blur(6px); }
.risk-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1rem; }
.risk-row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.06); }
.risk-app { display: flex; align-items: center; gap: 10px; }
.risk-app strong { display: block; color: #fff; font-size: .86rem; font-weight: 600; }
.risk-app span { font-size: .7rem; color: var(--slate-400); }
.risk-meter { height: 7px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; }
.rm { display: block; height: 100%; width: var(--w); border-radius: 999px; animation: meterGrow 1s ease backwards; }
@keyframes meterGrow { from { width: 0; } }
.rm-crit { background: linear-gradient(90deg,#f97316,#ef4444); }
.rm-high { background: linear-gradient(90deg,#fbbf24,#f59e0b); }
.rm-med { background: linear-gradient(90deg,#38bdf8,#2563eb); }
.score { font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; min-width: 28px; text-align: right; }
.sc-crit { color: #f87171; } .sc-high { color: #fbbf24; } .sc-med { color: #60a5fa; }
.risk-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); font-size: .74rem; color: var(--slate-400); }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-left: 6px; }
.risk-cta { margin-left: auto; color: var(--cyan-400); font-weight: 600; }

/* ============================================================
   Workflow
   ============================================================ */
.workflow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.wf-step { position: relative; display: flex; flex-direction: column; align-items: center; }

/* connecting rail (horizontal) — drawn from previous marker centre to this one */
.wf-step::before {
  content: ""; position: absolute; top: 37px; left: -50%; width: 100%; height: 3px; z-index: 0;
  background: linear-gradient(90deg, rgba(37, 99, 235, .25) 0%, var(--cyan-400) 100%);
  border-radius: 3px; transform: scaleX(0); transform-origin: left center;
  transition: transform .6s cubic-bezier(.4, .8, .3, 1); transition-delay: calc(var(--i) * .12s);
}
.wf-step:first-child::before { display: none; }
.workflow.in .wf-step::before { transform: scaleX(1); }

.wf-marker {
  position: relative; z-index: 1; width: 74px; height: 74px; border-radius: 50%;
  flex-shrink: 0;
  display: grid; place-items: center; color: var(--primary);
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box;
  border: 2px solid transparent; box-shadow: 0 8px 20px rgba(37, 99, 235, .16);
  transition: transform .28s ease, box-shadow .28s ease;
}
.wf-step:hover .wf-marker { transform: translateY(-5px) scale(1.04); box-shadow: 0 16px 30px rgba(37, 99, 235, .3); }
.wf-icon { display: grid; place-items: center; }
.wf-icon svg { width: 30px; height: 30px; }
.wf-dot { position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(34, 211, 238, .5); opacity: 0; pointer-events: none; }
.wf-step:hover .wf-dot { animation: wfPulse 1.3s ease-out infinite; }
@keyframes wfPulse { 0% { transform: scale(.92); opacity: .6; } 100% { transform: scale(1.28); opacity: 0; } }

.wf-content { text-align: center; margin-top: 20px; }
.wf-num { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); background: rgba(37, 99, 235, .09); padding: 4px 11px; border-radius: 999px; margin-bottom: 11px; }
.wf-step h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 6px; }
.wf-step p { font-size: .9rem; color: var(--text-soft); max-width: 210px; margin: 0 auto; }

/* ============================================================
   Use cases
   ============================================================ */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usecase { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.usecase:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.uc-check { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 11px; background: linear-gradient(135deg, var(--cyan-400), var(--blue-600)); color: #fff; margin-bottom: 16px; }
.uc-check svg { width: 22px; height: 22px; }
.usecase h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.usecase p { font-size: .95rem; color: var(--text-soft); }
.usecase-cta { background: var(--grad-dark); color: #fff; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.usecase-cta h3 { color: #fff; }
.usecase-cta p { color: var(--slate-300); margin-bottom: 16px; }

/* ============================================================
   Positioning
   ============================================================ */
.position-card { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.position-col { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.position-col h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 18px; }
.pos-list { display: flex; flex-direction: column; gap: 12px; }
.pos-list li { position: relative; padding-left: 30px; font-size: .96rem; color: var(--text-soft); }
.pos-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background-size: 12px; background-repeat: no-repeat; background-position: center; }
.pos-keep li::before { background-color: rgba(100,116,139,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23475569' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5 8.5 14 15 6.5'/%3E%3C/svg%3E"); }
.pos-add li::before { background-color: rgba(34,211,238,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232563eb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5 8.5 14 15 6.5'/%3E%3C/svg%3E"); }
.position-vs { display: flex; align-items: center; justify-content: center; }
.position-vs span { width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--grad-brand); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; box-shadow: var(--shadow-md); }
.position-note { text-align: center; margin-top: 26px; color: var(--text-mute); font-size: .98rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: var(--slate-300); box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 22px; height: 22px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 13px; height: 2px; background: var(--primary); border-radius: 2px; transform: translate(-50%,-50%); transition: transform .25s ease; }
.faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%,-50%) rotate(0); }
.faq-body { padding: 0 22px 22px; }
.faq-body p { color: var(--text-soft); font-size: .98rem; }

/* ============================================================
   CTA band / waitlist
   ============================================================ */
.cta-band { background: var(--grad-dark); color: #fff; padding: clamp(60px, 8vw, 100px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 15% 20%, rgba(34,211,238,.18), transparent 70%); pointer-events: none; }
.cta-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.cta-copy h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
.cta-copy p { margin-top: 16px; color: var(--slate-300); font-size: 1.08rem; max-width: 480px; }
.cta-points { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.cta-points li { display: flex; align-items: center; gap: 9px; color: var(--slate-300); font-size: .95rem; }
.cta-points .ic { width: 20px; height: 20px; color: var(--cyan-400); }

.cta-form-wrap { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg); backdrop-filter: blur(8px); }
.waitlist-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--slate-300); }
.field .opt { color: var(--slate-500); font-weight: 400; }
.field input, .field select {
  font-family: inherit; font-size: .96rem; color: #fff; background: rgba(8, 13, 26, .6);
  border: 1.5px solid rgba(255,255,255,.14); border-radius: 11px; padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder { color: var(--slate-500); }
.field input:focus, .field select:focus { outline: none; border-color: var(--cyan-400); box-shadow: 0 0 0 3px rgba(34,211,238,.18); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field select option { color: #0d1526; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-fineprint { font-size: .76rem; color: var(--slate-500); text-align: center; }
.form-fineprint a { color: var(--slate-300); text-decoration: underline; }
.form-status { font-size: .9rem; font-weight: 600; padding: 12px 14px; border-radius: 11px; text-align: center; }
.form-status.ok { background: rgba(16,185,129,.16); color: #34d399; border: 1px solid rgba(16,185,129,.3); }
.form-status.err { background: rgba(239,68,68,.16); color: #f87171; border: 1px solid rgba(239,68,68,.3); }
.field input.invalid, .field select.invalid { border-color: var(--crit); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink-950); color: var(--slate-400); padding: clamp(48px, 6vw, 72px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand-name { color: #fff; }
.footer-tag { margin: 16px 0; font-size: .92rem; max-width: 320px; line-height: 1.7; }
.footer-mail { color: var(--cyan-400); font-weight: 600; font-size: .95rem; }
.footer-mail:hover { text-decoration: underline; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .92rem; color: var(--slate-400); transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
.footer-bottom p { color: var(--slate-500); }
.footer-note { max-width: 560px; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
  .dash { transform: none; }
  .security-layout { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }

  /* Workflow — vertical timeline */
  .workflow { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
  /* Single continuous rail from first marker centre to last marker centre */
  .workflow::before {
    content: ""; position: absolute; left: 36px; top: 37px; bottom: 37px;
    width: 2px; background: linear-gradient(to bottom, var(--cyan-400), var(--blue-600));
    border-radius: 2px; transform: scaleY(0); transform-origin: top center;
    transition: transform .9s cubic-bezier(.4, .8, .3, 1) .15s;
  }
  .workflow.in::before { transform: scaleY(1); }
  /* Remove all per-step connector lines on mobile */
  .wf-step::before,
  .wf-step:first-child::before,
  .wf-step:last-child::before { display: none; }
  .wf-step { flex-direction: row; align-items: flex-start; gap: 24px; padding-bottom: 40px; }
  .wf-step:last-child { padding-bottom: 0; }
  .wf-content { text-align: left; margin-top: 8px; }
  .wf-content p { max-width: none; margin: 0; }
  .cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .position-card { grid-template-columns: 1fr; }
  .position-vs { transform: rotate(90deg); }

  .feature-split { grid-template-columns: 1fr; gap: 32px; }
  .feature-split .fs-copy, .feature-split.reverse .fs-copy { order: 1; }
  .feature-split .fs-visual, .feature-split.reverse .fs-visual { order: 2; }
  .fs-panel, .tenant-list { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .feature-grid, .problem-grid, .workflow, .usecase-grid { grid-template-columns: 1fr; }
  .hd-strip { grid-template-columns: 1fr; }
  .hd-donut, .hd-donut svg { width: 104px; height: 104px; }
  .hd-bar-row { grid-template-columns: 42px 1fr auto; gap: 7px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .btn { flex: 1; }
}
