/**
 * Cerynix - support portal
 * Copyright (c) 2026 SIA Cerynix. All rights reserved.
 * Proprietary and confidential.
 * SPDX-License-Identifier: LicenseRef-Cerynix-Proprietary
 *
 * Mirrors apps/landing brand + design tokens (dark premium enterprise SaaS,
 * Inter-first with system fallback, no external font/script/image requests so
 * the strict CSP holds). Base tokens and shared components below are shared
 * verbatim with the landing site; support-specific components are appended in
 * the "SUPPORT PORTAL" section at the end of this file.
 */

/* ---------- design tokens (handoff §6) ---------- */
:root {
  --bg: #020817;
  --bg-2: #07111f;
  --bg-3: #0b1220;

  --surface: #0f172a;
  --surface-2: #111c2f;
  --surface-3: #121f35;

  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.28);

  --fg: #f8fafc;
  --fg-2: #e2e8f0;
  --fg-3: #cbd5e1;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --muted-3: #475569;

  --cyan: #22d3ee;
  --blue: #2563eb;
  --blue-2: #3b82f6;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --purple: #7c3aed;

  --ok: #22c55e;
  --ok-soft: rgba(34, 197, 94, 0.12);
  --warn: #f59e0b;
  --warn-soft: rgba(245, 158, 11, 0.12);
  --crit: #ef4444;
  --crit-soft: rgba(239, 68, 68, 0.12);
  --info: #38bdf8;

  /* legacy aliases kept for pricing/legal pages */
  --primary: var(--blue);
  --accent: var(--violet-2);
  --brand-from: var(--cyan);
  --brand-to: var(--violet);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius: 16px;

  --maxw: 1200px;
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-num: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, sans-serif;

  --grad-brand: linear-gradient(135deg, #22d3ee 0%, #2563eb 52%, #8b5cf6 100%);
  --grad-card: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(8, 13, 26, 0.98));
  --shadow-cta: 0 12px 36px -8px rgba(37, 99, 235, 0.55);
  --shadow-card: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-panel: 0 40px 90px -42px rgba(0, 0, 0, 0.85);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(1200px 620px at 16% -8%, rgba(37, 99, 235, 0.14), transparent 62%),
    radial-gradient(900px 500px at 92% 4%, rgba(167, 139, 250, 0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100dvh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(37, 99, 235, 0.32); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 32px;
}

.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- header ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(2, 8, 23, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.10);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand-mark { flex: 0 0 auto; }
.brand .tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: var(--fg-3);
  font-weight: 500;
}
.nav-links a { transition: color 0.15s ease; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-signin {
  font-size: 15px;
  color: var(--fg-3);
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-signin:hover { color: var(--fg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 44px -8px rgba(37, 99, 235, 0.7);
}
.btn-ghost {
  border-color: var(--border-strong);
  color: var(--fg-2);
  background: rgba(15, 23, 42, 0.5);
}
.btn-ghost:hover { border-color: rgba(59, 130, 246, 0.5); color: var(--fg); }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* ---------- section base ---------- */
section { padding-block: 96px; }
section + section { padding-top: 0; }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.10);
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-2);
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(40px, 6.4vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  font-weight: 800;
}
h2 {
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 800;
}
h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }

.lead {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 32px;
  line-height: 1.65;
}
.note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted-2);
}
.pull-center { text-align: center; }
.pull-center .lead { margin-inline: auto; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  right: 8%;
  width: 520px;
  height: 1100px;
  transform: rotate(18deg);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.16), rgba(37, 99, 235, 0.12) 45%, transparent 80%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image: radial-gradient(rgba(148, 163, 184, 0.10) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy .eyebrow-pill { margin-bottom: 28px; }
.hero-copy h1 { max-width: 12ch; }
.hero-copy .lead { margin: 0 0 36px; max-width: 52ch; }
.hero-cta { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }

.trust-tags {
  display: flex;
  gap: 34px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring-beam {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: conic-gradient(#22d3ee 0turn, #2563eb 0.55turn, #8b5cf6 0.78turn, rgba(148, 163, 184, 0.14) 0.78turn);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 80px -10px rgba(37, 99, 235, 0.5);
}
.ring-inner {
  width: 214px;
  height: 214px;
  border-radius: 50%;
  background: radial-gradient(circle, #0b1220, #050d1c);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.12);
  gap: 4px;
}
.ring-label {
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
}
.ring-pct {
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ring-grade {
  color: var(--ok);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.orbit-card {
  position: absolute;
  padding: 14px 15px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--grad-card);
  box-shadow: var(--shadow-card);
  z-index: 2;
}
.orbit-card .oc-lab {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.orbit-card .oc-val {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.orbit-card .oc-delta { font-size: 11px; margin-top: 4px; font-weight: 500; }
.oc-delta.up { color: var(--ok); }
.oc-delta.down { color: var(--crit); }
.oc-delta.flat { color: var(--muted); }

.orbit-tl { top: 12px; left: -14px; width: 184px; }
.orbit-br { bottom: 26px; right: -18px; width: 200px; }
.orbit-bl { bottom: 78px; left: -8px; width: 178px; border-color: rgba(239, 68, 68, 0.28); background: linear-gradient(180deg, rgba(30, 15, 20, 0.98), rgba(12, 8, 13, 0.98)); }
.orbit-bl .oc-row { display: flex; justify-content: space-between; align-items: center; }
.orbit-bl .oc-tag { color: var(--crit); font-size: 10px; font-weight: 700; letter-spacing: 0.02em; }
.orbit-bl .oc-name { font-size: 13px; font-weight: 600; margin-top: 8px; }

.orbit-freshness { display: flex; align-items: center; gap: 12px; }
.freshness-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: conic-gradient(#22d3ee 0turn, #2563eb 0.68turn, rgba(148, 163, 184, 0.16) 0.68turn);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.freshness-inner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0b1220;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}
.freshness-list { font-size: 11px; line-height: 1.5; }
.freshness-list .fl-fresh { color: var(--ok); }
.freshness-list .fl-expiring { color: var(--warn); }

.hero-sample { margin: 24px 0 0; font-size: 11px; color: var(--muted-2); text-align: center; }

/* ---------- TRUST BAR (framework coverage) ---------- */
.trust-strip {
  border-block: 1px solid rgba(148, 163, 184, 0.08);
  padding-block: 32px;
}
.trust-strip .lab {
  text-align: center;
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  margin-bottom: 20px;
}
.trust-frameworks {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--fg-3);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  max-width: 900px;
  margin-inline: auto;
}
.trust-frameworks span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  opacity: 0.85;
}
.trust-frameworks svg { flex: 0 0 auto; opacity: 0.9; }
/* honest "on the roadmap" chip — frameworks we do not cover yet */
.trust-frameworks .soon {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--fg-3);
  opacity: 0.9;
}

/* ---------- FEATURE CARDS (6-up, colored icons) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(8, 13, 26, 0.6));
  transition: border-color 0.2s ease, transform 0.15s ease, background 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feat:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(8, 13, 26, 0.9));
}
.feat .fi {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feat .fi svg { width: 22px; height: 22px; }
.fi-blue { background: rgba(37, 99, 235, 0.14); border: 1px solid rgba(59, 130, 246, 0.30); color: var(--blue-2); }
.fi-cyan { background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.30); color: var(--cyan); }
.fi-amber { background: rgba(245, 158, 11, 0.14); border: 1px solid rgba(245, 158, 11, 0.30); color: var(--warn); }
.fi-violet { background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.30); color: var(--violet-2); }
.feat h3 { font-size: 18px; margin: 0 0 8px; }
.feat p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; flex: 1; }
.feat .learn {
  color: var(--blue-2);
  font-size: 14px;
  font-weight: 600;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s ease;
}
.feat:hover .learn { gap: 10px; }

/* ---------- PLATFORM tile card ---------- */
.platform-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 52px;
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, 0.12), transparent 45%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(8, 13, 26, 0.6));
}
.platform-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.platform-copy h2 { line-height: 1.1; margin-bottom: 18px; }
.platform-copy p { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 380px; margin: 0; }
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.tile:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}
.tile-l { display: flex; align-items: center; gap: 12px; }
.tile-chip {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}
.tc-blue { background: rgba(37, 99, 235, 0.15); border: 1px solid rgba(59, 130, 246, 0.30); color: var(--blue-2); }
.tc-cyan { background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.30); color: var(--cyan); }
.tc-amber { background: rgba(245, 158, 11, 0.14); border: 1px solid rgba(245, 158, 11, 0.30); color: var(--warn); }
.tc-violet { background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.30); color: var(--violet-2); }
.tile-arrow { color: var(--muted-3); font-size: 18px; }
.tile.aura {
  border-color: rgba(139, 92, 246, 0.30);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(37, 99, 235, 0.10));
}
.tile.aura .tile-chip { background: linear-gradient(135deg, #8b5cf6, #2563eb); color: #fff; border: none; }
.tile.aura .tile-arrow { color: var(--violet-2); }

/* ---------- FRAMEWORKS trio ---------- */
.framework-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fw {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5), rgba(8, 13, 26, 0.5));
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fw-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.fw-head h3 { font-size: 20px; margin: 0; }
.fw-scope {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.fw p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }
.fw-meter {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-top: 20px;
}
.fw-meter > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--grad-brand);
}
.fw-count {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  font-weight: 700;
  font-size: 13px;
}

/* ---------- PRODUCT SCREENSHOT ---------- */
.shot {
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.75);
}
.shot-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.shot-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); font-family: var(--font-num); }
.shot-body { padding: 28px; }

.shot-cc {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.cc-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.cc-metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.cc-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cc-kpi {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: var(--surface);
}
.cc-kpi .k-lab { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.cc-kpi .k-val { font-family: var(--font-num); font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.cc-kpi .k-note { font-size: 11px; margin-top: 4px; color: var(--muted); }
.cc-kpi .k-note.ok { color: var(--ok); }
.cc-trend {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--surface);
}
.cc-trend-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 10px;
}
.cc-trend-head .up { color: var(--ok); font-weight: 600; }

.cc-domains {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}
.cc-domains-lab {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dbar { display: flex; align-items: center; gap: 12px; font-size: 12.5px; }
.dbar-l { width: 150px; flex: 0 0 auto; color: var(--muted); }
.dbar-t {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  display: block;
}
.dbar-t > span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #22d3ee, #2563eb);
}
.dbar-v { width: 44px; flex: 0 0 auto; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; font-family: var(--font-num); }

/* ---------- INSIGHTS (chart cards) ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.insight {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.insight h3 { font-size: 16px; margin: 0 0 14px; }
.insight p { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin: 14px 0 0; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: 0 0 auto; }
.legend b { color: var(--fg); font-family: var(--font-num); font-variant-numeric: tabular-nums; }

/* ---------- AURA showcase ---------- */
.aura-band {
  position: relative;
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 24px;
  padding: 52px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(139, 92, 246, 0.20), transparent 45%),
    linear-gradient(180deg, rgba(20, 15, 40, 0.6), rgba(8, 10, 26, 0.6));
}
.aura-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.aura-copy .eyebrow-pill { margin-bottom: 22px; }
.aura-copy h2 { line-height: 1.1; margin-bottom: 18px; }
.aura-copy p { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 420px; margin: 0 0 26px; }

.aura-chat {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(8, 13, 26, 0.95));
  padding: 22px;
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.7);
}
.chat-me {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}
.chat-me-bubble {
  max-width: 70%;
  padding: 11px 15px;
  border-radius: 14px 14px 4px 14px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.30);
  font-size: 13px;
  color: var(--fg-2);
}
.chat-bot { display: flex; gap: 12px; }
.chat-bot-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: linear-gradient(135deg, #8b5cf6, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.chat-bot-body { flex: 1; min-width: 0; }
.answer-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}
.answer-lab {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.answer-lab.facts { color: var(--cyan); }
.answer-lab.rec { color: var(--violet-2); }
.answer-body {
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.6;
  margin-bottom: 14px;
}
.answer-body:last-child { margin-bottom: 0; }
.answer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}
.answer-sources { display: flex; gap: 6px; flex-wrap: wrap; }
.answer-src {
  font-size: 10px;
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.20);
  border-radius: 6px;
  padding: 3px 8px;
}
.answer-conf {
  font-size: 11px;
  color: var(--ok);
  font-weight: 600;
  flex: 0 0 auto;
}
.aura-disclaimer { font-size: 10px; color: var(--muted-3); margin-top: 10px; }
.aura-suggestions {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.aura-suggestions span {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 7px 13px;
}

/* ---------- REPORT preview ---------- */
.report-band {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 52px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5), rgba(8, 13, 26, 0.5));
}
.report-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.report-copy h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; margin-bottom: 14px; }
.report-copy p { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 400px; margin: 0 0 24px; }
.report-checks { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.report-checks li { display: flex; gap: 10px; align-items: center; color: var(--fg-3); font-size: 14px; }
.report-checks li::before { content: '✓'; color: var(--ok); font-weight: 800; }
.pdf-mock {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 1 / 1.32;
  border-radius: 14px;
  background: linear-gradient(180deg, #0b1220, #070d18);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85);
  padding: 34px;
  display: flex;
  flex-direction: column;
}
.pdf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.pdf-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.pdf-conf {
  font-size: 9px;
  color: var(--warn);
  border: 1px solid rgba(245, 158, 11, 0.40);
  border-radius: 6px;
  padding: 3px 8px;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.pdf-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.pdf-meta { color: var(--muted-2); font-size: 12px; margin-bottom: 24px; }
.pdf-score { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.pdf-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(#22d3ee 0turn, #2563eb 0.55turn, #8b5cf6 0.78turn, rgba(148, 163, 184, 0.14) 0.78turn);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.pdf-ring-in {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #0b1220;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pdf-ring-in .n { font-family: var(--font-num); font-size: 22px; font-weight: 800; }
.pdf-ring-in .g { color: var(--ok); font-size: 9px; font-weight: 600; }
.pdf-numbers {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  font-family: var(--font-num);
}
.pdf-numbers .n { color: var(--fg); font-weight: 600; }
.pdf-summary-lab {
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.10em;
  font-weight: 700;
  margin-bottom: 8px;
}
.pdf-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.14);
  margin-bottom: 8px;
}
.pdf-foot {
  margin-top: auto;
  color: var(--muted-3);
  font-size: 9px;
  text-align: center;
}

/* ---------- SECURITY band ---------- */
.security-band {
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(167, 139, 250, 0.12), transparent 60%),
    radial-gradient(500px 260px at 0% 100%, rgba(34, 211, 238, 0.10), transparent 60%),
    var(--surface);
  padding: 52px;
}
.security-band h2 { max-width: 20ch; }
.checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.checks li::before {
  content: '✓';
  color: var(--ok);
  font-weight: 800;
  flex: 0 0 auto;
  margin-top: 1px;
}
.checks li b { color: var(--fg); font-weight: 600; }

/* ---------- AUDIENCE ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.aud {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.aud:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.04); }
.aud .ai {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.aud .ai svg { width: 20px; height: 20px; }
.aud h3 { font-size: 15px; margin: 0 0 6px; letter-spacing: -0.005em; }
.aud p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }

/* ---------- HOW IT WORKS ---------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-weight: 800;
  font-family: var(--font-num);
  margin-bottom: 14px;
  background: var(--grad-brand);
  color: #05121f;
}
.step h3 { font-size: 17px; margin: 0 0 6px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* ---------- FINAL CTA ---------- */
.final-band {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 72px 48px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(8, 13, 26, 0.7));
}
.final-band::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(rgba(148, 163, 184, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 70%);
  pointer-events: none;
}
.final-band > * { position: relative; }
.final-band h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.025em; margin-bottom: 18px; max-width: 22ch; margin-inline: auto; }
.final-band .lead { max-width: 52ch; margin: 0 auto 32px; }
.final-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- STATS band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  padding: 40px;
}
.stats .s-val {
  font-family: var(--font-num);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats .s-lab { color: var(--muted); font-size: 13px; margin-top: 6px; line-height: 1.5; }

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid rgba(148, 163, 184, 0.10);
  padding-block: 56px 40px;
  color: var(--muted);
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 44px;
}
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 300px; }
.foot-brand .fb-mark { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; }
.foot-brand .fb-tag { color: var(--muted-2); font-size: 13px; line-height: 1.65; }
.foot-col h4 { font-size: 13px; font-weight: 700; color: var(--fg-2); margin: 0 0 14px; letter-spacing: 0.02em; text-transform: none; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.foot-col a { color: var(--muted); transition: color 0.15s ease; }
.foot-col a:hover { color: var(--fg); }

.foot-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.10);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.foot-disclaimer {
  color: var(--muted-3);
  font-size: 11.5px;
  line-height: 1.7;
  max-width: 900px;
}
.foot-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted-2);
  font-size: 12px;
  gap: 20px;
  flex-wrap: wrap;
}
.foot-copy .fc-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .platform-grid { grid-template-columns: 1fr; gap: 32px; }
  .aura-grid { grid-template-columns: 1fr; gap: 32px; }
  .report-grid { grid-template-columns: 1fr; gap: 32px; }
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .brand .tag { display: none; }
  section { padding-block: 72px; }

  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { height: 460px; }
  .hero::before { display: none; }

  .features { grid-template-columns: repeat(2, 1fr); }
  .framework-trio { grid-template-columns: 1fr; }
  .platform-card { padding: 32px 24px; }
  .tiles { grid-template-columns: 1fr; }
  .aura-band { padding: 32px 24px; }
  .report-band { padding: 32px 24px; }
  .security-band { padding: 32px 24px; }
  .final-band { padding: 48px 24px; }

  .insights-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .checks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 28px; }
  .shot-cc { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .cc-metrics { min-width: 0; }
  .cc-kpis { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .shot-body { padding: 20px; }

  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; max-width: 100%; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  h1 { font-size: clamp(34px, 9vw, 44px); }
  .features { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cc-kpis { grid-template-columns: 1fr; }
  .trust-frameworks { justify-content: center; gap: 14px; font-size: 14px; }
  .orbit-tl { top: 4px; left: 0; width: 158px; padding: 12px; }
  .orbit-br { bottom: 4px; right: 0; width: 168px; padding: 12px; }
  .orbit-bl { bottom: 60px; left: 0; width: 156px; padding: 12px; }
  .ring-beam { width: 240px; height: 240px; }
  .ring-inner { width: 180px; height: 180px; }
  .ring-pct { font-size: 52px; }
  .hero-visual { height: 420px; }
}

/* ---------- reduced motion + touch ---------- */
@media (hover: none) {
  .feat:hover, .aud:hover, .tile:hover {
    transform: none;
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.02);
  }
  .btn-primary:hover {
    transform: none;
    box-shadow: var(--shadow-cta);
  }
  .feat:hover .learn { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==================================================================
   LEGAL + PRICING PAGES (kept intact for pricing.html and /privacy /terms /dpa /subprocessors)
   ================================================================== */

/* ---- pricing ---- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
  align-items: start;
}
.tier {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tier-pop {
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.3), 0 24px 60px -28px rgba(37, 99, 235, 0.6);
  position: relative;
}
.tier-badge {
  position: absolute;
  top: -11px;
  left: 26px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
}
.brand-gradient { background: var(--grad-brand); }
.tier h3 { font-size: 20px; margin: 0; }
.tier .t-tag { color: var(--muted); font-size: 13px; margin: -6px 0 0; }
.tier .t-price { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.tier .t-price small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.tier ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.tier li { display: flex; gap: 9px; font-size: 13.5px; color: var(--fg); }
.tier li::before { content: '✓'; color: var(--ok); font-weight: 800; }
.tier li.muted { color: var(--muted); }
.tier li.muted::before { content: '-'; color: var(--muted); }
.tier .btn { margin-top: auto; width: 100%; justify-content: center; }

.cmp-wrap { margin-top: 48px; overflow-x: auto; }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 13.5px; }
.cmp th, .cmp td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--border); }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--fg); font-weight: 500; }
.cmp thead th { font-size: 14px; font-weight: 700; }
.cmp thead th span { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.cmp .yes { color: var(--ok); font-weight: 700; }
.cmp .no { color: var(--muted); }
.cmp tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.cmp td.lim { font-family: var(--font); color: var(--muted); }

.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.faq .q { border: 1px solid var(--border); border-radius: 14px; padding: 20px; background: var(--surface); }
.faq .q h4 { margin: 0 0 8px; font-size: 15px; }
.faq .q p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .cmp tbody tr:hover { background: transparent; }
}

/* ---- shared card (legacy, still used by legal pages if any) ---- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.card:hover { border-color: rgba(37, 99, 235, 0.55); transform: translateY(-2px); }
.card h3 { margin: 14px 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
@media (hover: none) {
  .card:hover { transform: none; border-color: var(--border); }
}

/* ---- legal / prose pages ---- */
.legal { max-width: 820px; margin: 0 auto; }
.legal-banner {
  border: 1px solid rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.09);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg);
  margin: 6px 0 30px;
}
.legal .meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.legal h2 { font-size: 20px; margin: 34px 0 10px; }
.legal h3 { font-size: 15.5px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--muted); font-size: 14.5px; line-height: 1.72; }
.legal ul { padding-left: 20px; display: grid; gap: 7px; margin: 10px 0; }
.legal a { color: var(--brand-from); }
.legal .toc { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 4px 0 8px; font-size: 13.5px; }
.legal .tbl-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--border); border-radius: 12px; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 13.5px; }
.legal th, .legal td { padding: 10px 13px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); line-height: 1.6; }
.legal tbody tr:last-child td { border-bottom: 0; }
.legal thead th { color: var(--fg); font-weight: 700; font-size: 12.5px; white-space: nowrap; background: var(--surface); }
.legal tbody td { color: var(--muted); }
.legal tbody th[scope='row'] { color: var(--fg); font-weight: 600; }

/* ---- legacy footer (used by legal/pricing pages that don't use .foot-grid) ---- */
.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--fg); }
.disclaimer { margin-top: 18px; font-size: 12.5px; max-width: 78ch; line-height: 1.5; }

/* ==================================================================
   SUPPORT PORTAL — home + illustrated install guide
   (self-contained; reuses the tokens/components above)
   ================================================================== */

/* ---- sub-brand tag in the nav ---- */
.brand .tag.support-tag { color: var(--cyan); }

/* ---- support hero (compact, doc-oriented) ---- */
.support-hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}
.support-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.20;
  background-image: radial-gradient(rgba(148, 163, 184, 0.10) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(180deg, #000 55%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  pointer-events: none;
  z-index: 0;
}
.support-hero > .wrap { position: relative; z-index: 1; }
.support-hero h1 { font-size: clamp(34px, 5vw, 56px); max-width: 16ch; }
.support-hero .lead { max-width: 60ch; }

/* ---- breadcrumb ---- */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-2);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.crumbs a { color: var(--muted); transition: color 0.15s ease; }
.crumbs a:hover { color: var(--fg); }
.crumbs .sep { color: var(--muted-3); }
.crumbs .here { color: var(--fg-3); }

/* ---- support cards grid (home) ---- */
.support-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.scard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(8, 13, 26, 0.6));
  transition: border-color 0.2s ease, transform 0.15s ease, background 0.2s ease;
}
.scard.is-link:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(8, 13, 26, 0.9));
}
.scard .fi {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.scard .fi svg { width: 22px; height: 22px; }
.scard h3 { font-size: 18px; margin: 0 0 8px; }
.scard p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; flex: 1; }
.scard .learn {
  color: var(--blue-2);
  font-size: 14px;
  font-weight: 600;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s ease;
}
.scard.is-link:hover .learn { gap: 10px; }
.scard .soon-chip {
  align-self: flex-start;
  margin-top: 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}

/* ---- guide layout ---- */
.guide { max-width: 860px; margin: 0 auto; padding-block: 56px 96px; }
.guide-intro { margin-bottom: 40px; }
.guide-intro p { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 66ch; }

/* on-page table of contents */
.toc-box {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 22px 24px;
  margin: 28px 0 8px;
}
.toc-box h2 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 14px;
  font-weight: 700;
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  counter-reset: toc;
}
.toc-list a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 14px;
  color: var(--fg-3);
  padding: 3px 0;
  transition: color 0.15s ease;
}
.toc-list a:hover { color: var(--fg); }
.toc-list a::before {
  counter-increment: toc;
  content: counter(toc);
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  flex: 0 0 auto;
  min-width: 16px;
}

/* guide step / section */
.gstep { margin-top: 56px; scroll-margin-top: 88px; }
.gstep-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.gstep-num {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 17px;
  color: #05121f;
  background: var(--grad-brand);
}
.gstep-head h2 { margin: 0; font-size: clamp(22px, 3vw, 28px); }
.gstep > p { color: var(--muted); font-size: 15px; line-height: 1.72; max-width: 68ch; }
.gstep ul, .gstep ol { color: var(--muted); font-size: 15px; line-height: 1.72; max-width: 68ch; padding-left: 22px; }
.gstep li { margin: 6px 0; }
.gstep li b, .gstep p b { color: var(--fg-2); font-weight: 600; }
.gstep a { color: var(--cyan); }
.gstep h3 { margin: 30px 0 8px; font-size: 17px; }
.gstep code.inl {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--fg-2);
  white-space: nowrap;
}

/* code blocks (copy-paste friendly) */
.code {
  position: relative;
  margin: 18px 0;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  overflow: hidden;
  background: #060c17;
  box-shadow: var(--shadow-card);
}
.code-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.05);
}
.code-head i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.code-head .r { background: #ff5f57; }
.code-head .y { background: #febc2e; }
.code-head .g { background: #28c840; }
.code-head .lab {
  margin-left: 8px;
  font-size: 11px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}
.code pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.65;
  color: #d7e2f2;
  -webkit-overflow-scrolling: touch;
}
.code pre code { font-family: inherit; color: inherit; white-space: pre; }
.code pre .cmt { color: var(--muted-2); }

/* output block (results, not commands) */
.output {
  margin: 14px 0;
  border: 1px solid var(--border);
  border-left: 3px solid var(--ok);
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.04);
  padding: 12px 16px;
  overflow-x: auto;
}
.output .olab {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ok);
  margin-bottom: 6px;
}
.output pre {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--fg-3);
  white-space: pre;
}

/* callouts */
.callout {
  margin: 22px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  background: var(--surface);
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-3);
}
.callout .ct-lab {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.callout.note { border-color: rgba(59, 130, 246, 0.35); background: rgba(37, 99, 235, 0.07); }
.callout.note .ct-lab { color: var(--blue-2); }
.callout.warn { border-color: rgba(245, 158, 11, 0.42); background: var(--warn-soft); }
.callout.warn .ct-lab { color: var(--warn); }
.callout.tip { border-color: rgba(34, 211, 238, 0.35); background: rgba(34, 211, 238, 0.06); }
.callout.tip .ct-lab { color: var(--cyan); }
.callout b { color: var(--fg); font-weight: 600; }
.callout code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(148, 163, 184, 0.14);
  border-radius: 5px;
  padding: 1px 5px;
}
.callout ul { margin: 8px 0 0; padding-left: 20px; }
.callout li { margin: 5px 0; }

/* screenshots / figures */
figure.shotfig {
  margin: 26px 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  box-shadow: 0 30px 70px -32px rgba(0, 0, 0, 0.8);
}
figure.shotfig .shotfig-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
figure.shotfig .shotfig-bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
figure.shotfig .shotfig-bar .u {
  margin-left: 10px;
  font-size: 11px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
figure.shotfig img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--border);
}
figure.shotfig figcaption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
figure.shotfig figcaption b { color: var(--fg-2); font-weight: 600; }

/* prereq / mapping table inside guide */
.gtable-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--border); border-radius: 12px; }
.gtable { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 13.5px; }
.gtable th, .gtable td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); line-height: 1.55; }
.gtable tbody tr:last-child td { border-bottom: 0; }
.gtable thead th { color: var(--fg); font-weight: 700; font-size: 12.5px; background: var(--surface); white-space: nowrap; }
.gtable td { color: var(--muted); }
.gtable td:first-child { color: var(--fg-3); font-weight: 500; white-space: nowrap; }
.gtable code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: rgba(148, 163, 184, 0.12);
  border-radius: 5px;
  padding: 1px 5px;
  white-space: nowrap;
}

/* back-to-top / footer helper link row */
.guide-foot {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

/* ---- support responsive ---- */
@media (max-width: 900px) {
  .support-cards { grid-template-columns: 1fr; }
  .toc-list { grid-template-columns: 1fr; }
  .support-hero { padding: 48px 0 28px; }
  .gstep-head { gap: 12px; }
}
@media (hover: none) {
  .scard.is-link:hover { transform: none; border-color: var(--border); background: linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(8, 13, 26, 0.6)); }
  .scard.is-link:hover .learn { gap: 6px; }
}
