/* =====================================================================
   SPIDER C2 — Public Marketing Site
   Design system + components, single stylesheet, no build step.
   Inspired by the polish of Linear / Vercel / Datadog / Cloudflare.
   ===================================================================== */

/* ── 1. Tokens ────────────────────────────────────────────────────── */
:root {
  /* Colors — neutral spine */
  --bg-0:           #07070d;
  --bg-1:           #0b0b14;
  --bg-2:           #11111d;
  --surface:        #14141f;
  --surface-2:      #1a1a28;
  --border:         rgba(255,255,255,.07);
  --border-strong:  rgba(255,255,255,.14);

  --text:           #f1f3f8;
  --text-secondary: #b8bcc8;
  --text-muted:     #7a7f93;
  --text-faint:     #4a4e5e;

  /* Brand */
  --indigo:   #6366f1;
  --violet:   #8b5cf6;
  --cyan:     #22d3ee;
  --emerald:  #10b981;
  --amber:    #f59e0b;
  --rose:     #f87171;

  --grad-brand:  linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --grad-cool:   linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);
  --grad-text:   linear-gradient(180deg, #ffffff 0%, #b8bcc8 100%);
  --grad-glow:   radial-gradient(circle at center, rgba(99,102,241,.35) 0%, transparent 70%);

  /* Geometry */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;
  --max: 1440px;        /* default content max */
  --max-wide: 1720px;   /* hero / dashboard / full-bleed sections */
  --pad-x: clamp(16px, 4vw, 56px);  /* fluid horizontal padding */

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 4px 24px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.04) inset;
  --shadow-lg: 0 16px 64px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.06) inset;
  --shadow-glow: 0 0 0 1px rgba(99,102,241,.3), 0 12px 40px rgba(99,102,241,.25);

  /* Type */
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ── 2. Reset + base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-feature-settings: "ss01", "ss02", "cv01", "cv02";
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: rgba(99,102,241,.4); color: #fff; }

/* ── 3. Background ambience ───────────────────────────────────────── */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(circle at 15% -10%, rgba(99,102,241,.18), transparent 50%),
    radial-gradient(circle at 85% 10%, rgba(139,92,246,.15), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(34,211,238,.10), transparent 60%),
    var(--bg-0);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, black 0%, transparent 80%);
  mask-image: radial-gradient(circle at 50% 30%, black 0%, transparent 80%);
  pointer-events: none;
}

/* ── 4. Layout helpers ────────────────────────────────────────────── */
.container       { max-width: var(--max);      margin: 0 auto; padding: 0 var(--pad-x); }
.container-wide  { max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(40px, 6vw, 64px) 0; }
.center { text-align: center; }
.divider {
  height: 1px; background: var(--border);
  max-width: var(--max); margin: 0 auto;
}

/* Grids — smoother breakpoints than the old 980 / 640 jump */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── 5. Header / Nav ──────────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 50;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(7,7,13,.7);
  border-bottom: 1px solid var(--border);
}
header.site .row {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-wide); margin: 0 auto;
  padding: 14px var(--pad-x);
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-weight: 800; font-size: 21px; color: var(--text);
  letter-spacing: -.015em;
  position: relative;
  transition: transform .25s ease;
}
.brand:hover { transform: translateY(-1px); }
.brand > span:last-child {
  display: flex; flex-direction: column;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5ff 60%, #c4b5fd 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: 0 1px 24px rgba(99,102,241,.25);
}
.brand-mark {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  position: relative;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 18px rgba(99,102,241,.55))
          drop-shadow(0 2px 6px rgba(236,72,153,.25));
  transition: filter .25s ease, transform .25s ease;
}
.brand-mark::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(99,102,241,.55), rgba(236,72,153,.55), rgba(139,92,246,.55), rgba(99,102,241,.55));
  filter: blur(8px); opacity: .55; z-index: -1;
  animation: brandSpin 8s linear infinite;
}
.brand-mark::after {
  content: ""; position: absolute; inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), transparent 55%);
  pointer-events: none;
}
.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
  filter: drop-shadow(0 10px 28px rgba(99,102,241,.75))
          drop-shadow(0 4px 12px rgba(236,72,153,.45));
}
@keyframes brandSpin { to { transform: rotate(360deg); } }
.brand-mark img {
  width: 100%; height: 100%; object-fit: contain;
  position: relative; z-index: 1;
}
.brand small {
  display: block;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1px;
  -webkit-text-fill-color: var(--text-muted);
}
.brand small em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
@media (max-width: 480px) {
  .brand { font-size: 18px; gap: 10px; }
  .brand-mark { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-mark::before { animation: none; }
}
nav.site { display: flex; align-items: center; gap: 4px; }
nav.site a {
  padding: 8px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}
nav.site a:hover { color: var(--text); background: rgba(255,255,255,.04); }
nav.site a.active { color: var(--text); }
nav.site a.cta {
  margin-left: 12px; padding: 9px 18px;
  background: linear-gradient(180deg, rgba(99,102,241,.95), rgba(99,102,241,.85));
  color: #fff;
  border-radius: var(--r-md);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(99,102,241,.5), 0 6px 20px rgba(99,102,241,.35);
  transition: transform .15s, box-shadow .15s;
}
nav.site a.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(99,102,241,.7), 0 10px 30px rgba(99,102,241,.5);
}
@media (max-width: 820px) {
  nav.site a:not(.cta) { display: none; }
  .brand small { display: none; }
}
@media (max-width: 480px) {
  nav.site a.cta { padding: 8px 12px; font-size: 13px; }
  nav.site a.cta::after { content: ""; }
}

/* ── 6. Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; font-size: 14.5px; font-weight: 600;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.04);
  color: var(--text);
  transition: transform .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
}
.btn-primary {
  background: var(--grad-brand);
  border: none;
  box-shadow: var(--shadow-glow);
  color: #fff;
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px rgba(99,102,241,.7), 0 16px 40px rgba(99,102,241,.45);
}
.btn-ghost { background: transparent; border-color: var(--border); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* ── 7. Eyebrow / pill ────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.3);
  color: var(--indigo);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,.2);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* ── 8. Section headers ───────────────────────────────────────────── */
.section-title {
  max-width: 720px; margin: 0 auto clamp(36px, 5vw, 64px);
  text-align: center;
}
.section-title h2 {
  margin: 16px 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -.025em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-title p {
  margin: 0; color: var(--text-secondary);
  font-size: 17px;
}

/* ── 9. HERO ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 96px) var(--pad-x) clamp(40px, 6vw, 64px);
  text-align: center;
  overflow: hidden;
}
.hero .glow {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero .glow::before {
  content: ""; position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(99,102,241,.3) 0%, transparent 60%);
  filter: blur(40px);
}
.hero-inner { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; }
.hero h1 {
  margin: 24px 0 20px;
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -.035em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  max-width: 680px; margin: 0 auto 36px;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-secondary);
  line-height: 1.55;
}
.hero .meta {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
  margin-top: 36px;
  color: var(--text-muted); font-size: 12.5px;
}
.hero .meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero .meta svg { color: var(--emerald); }

/* ── 10. Hero dashboard mockup ────────────────────────────────────── */
.dash {
  margin: clamp(40px, 6vw, 64px) auto 0;
  max-width: var(--max-wide);
  border-radius: var(--r-xl);
  padding: clamp(8px, 1vw, 12px);
  background:
    linear-gradient(135deg, rgba(99,102,241,.4), rgba(139,92,246,.2) 50%, rgba(34,211,238,.3));
  box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
  position: relative;
}
.dash::before {
  content: ""; position: absolute; inset: -50px;
  background: var(--grad-glow);
  filter: blur(60px); z-index: -1; opacity: .6;
}
.dash-inner {
  border-radius: 18px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  overflow: hidden;
  border: 1px solid var(--border);
}
.dash-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.2);
}
.dash-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.1); }
.dash-bar .dot.r { background: #ff5f57; }
.dash-bar .dot.y { background: #febc2e; }
.dash-bar .dot.g { background: #28c840; }
.dash-bar .url {
  margin-left: 16px; padding: 4px 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--r-sm); font-size: 12px; color: var(--text-muted);
  font-family: var(--f-mono);
}
.dash-bar .url::before { content: "🔒  "; }
.dash-grid {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  min-height: 480px;
  gap: 0;
}
@media (max-width: 1180px) { .dash-grid { grid-template-columns: 200px 1fr; } }
@media (max-width: 980px)  { .dash-grid { grid-template-columns: 1fr; min-height: 0; } }
.dash-side {
  padding: 18px 14px;
  background: rgba(0,0,0,.15);
  border-right: 1px solid var(--border);
}
.dash-side .group { font-size: 10px; color: var(--text-faint);
  text-transform: uppercase; letter-spacing: .12em; margin: 14px 6px 6px; }
.dash-side .item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 6px; font-size: 13px;
  color: var(--text-secondary); cursor: default;
}
.dash-side .item.active { background: rgba(99,102,241,.15); color: #fff; }
.dash-side .item svg { color: var(--text-muted); width: 14px; height: 14px; }
.dash-side .item.active svg { color: var(--indigo); }
.dash-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.dash-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi {
  padding: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.kpi .lab { font-size: 10.5px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .1em; }
.kpi .val { font-size: 22px; font-weight: 700; margin-top: 4px;
  background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpi .delta { font-size: 11px; color: var(--emerald); margin-top: 2px; }
.kpi .delta.bad { color: var(--rose); }
.dash-cams {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1;
}
.cam {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background:
    linear-gradient(45deg, rgba(99,102,241,.05), rgba(139,92,246,.10)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 4px, transparent 4px 8px),
    var(--bg-2);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.cam::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.06), transparent 60%);
}
.cam .label {
  position: absolute; top: 6px; left: 8px;
  font-size: 9px; font-family: var(--f-mono);
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.5); padding: 2px 6px; border-radius: 3px;
}
.cam .live {
  position: absolute; top: 6px; right: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9px; color: #fff;
  background: rgba(248,113,113,.85);
  padding: 2px 6px; border-radius: 3px;
}
.cam .live::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: #fff;
  animation: pulse 1.2s infinite;
}
.dash-aside {
  padding: 18px 16px; border-left: 1px solid var(--border);
  background: rgba(0,0,0,.15);
  display: flex; flex-direction: column; gap: 14px;
}
.dash-aside h4 { font-size: 11px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .12em; margin: 0; }
.event {
  padding: 10px 12px; border-radius: 8px;
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  font-size: 12px;
}
.event .time { font-family: var(--f-mono); color: var(--text-faint); font-size: 10.5px; }
.event .msg { color: var(--text-secondary); margin-top: 2px; }
.event.warn { border-left: 2px solid var(--amber); }
.event.crit { border-left: 2px solid var(--rose); }
.event.ok { border-left: 2px solid var(--emerald); }

/* Below the 1180/980 dash-grid breakpoints, hide the heavy side panels
   so the main camera grid keeps the available width. */
@media (max-width: 1180px) { .dash-aside { display: none; } }
@media (max-width: 980px)  { .dash-side  { display: none; } }
@media (max-width: 560px) {
  .dash-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dash-cams { grid-template-columns: repeat(2, 1fr); }
  .kpi { padding: 10px 12px; }
  .kpi .val { font-size: 18px; }
  .dash-bar .url { display: none; }
}

/* ── 11. Module / feature cards ───────────────────────────────────── */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  background: linear-gradient(180deg, var(--surface), rgba(20,20,31,.6));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform .2s, border-color .2s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at top, rgba(99,102,241,.08), transparent 70%);
  opacity: 0; transition: opacity .25s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,.4);
}
.card:hover::before { opacity: 1; }
.card .ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(99,102,241,.2), rgba(139,92,246,.1));
  border: 1px solid rgba(99,102,241,.3);
  color: var(--indigo);
  display: grid; place-items: center;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -.005em; }
.card p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.card .tag {
  display: inline-block; margin-top: 16px;
  padding: 3px 10px; border-radius: var(--r-full);
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  font-size: 10.5px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}

/* Color variants for the icon */
.card.violet .ico { background: linear-gradient(135deg, rgba(139,92,246,.2), rgba(236,72,153,.1));
  border-color: rgba(139,92,246,.3); color: var(--violet); }
.card.cyan .ico { background: linear-gradient(135deg, rgba(34,211,238,.2), rgba(99,102,241,.1));
  border-color: rgba(34,211,238,.3); color: var(--cyan); }
.card.emerald .ico { background: linear-gradient(135deg, rgba(16,185,129,.2), rgba(34,211,238,.1));
  border-color: rgba(16,185,129,.3); color: var(--emerald); }
.card.amber .ico { background: linear-gradient(135deg, rgba(245,158,11,.2), rgba(248,113,113,.1));
  border-color: rgba(245,158,11,.3); color: var(--amber); }
.card.rose .ico { background: linear-gradient(135deg, rgba(248,113,113,.2), rgba(236,72,153,.1));
  border-color: rgba(248,113,113,.3); color: var(--rose); }

/* ── 12. Stats strip ──────────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), rgba(20,20,31,.4));
  overflow: hidden;
}
.stat { padding: clamp(20px, 3vw, 28px) clamp(16px, 2vw, 24px); text-align: center;
  border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat .num {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-family: var(--f-sans);
  line-height: 1.1;
}
.stat .lab {
  margin-top: 6px; font-size: clamp(10.5px, 1vw, 12px); color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .08em;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
}

/* ── 13. Architecture / split sections ────────────────────────────── */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split h2 {
  margin: 14px 0; font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.split p.lead { color: var(--text-secondary); font-size: 16px; margin: 0 0 24px; }
.split ul.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.split ul.checks li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14.5px; color: var(--text-secondary);
}
.split ul.checks li::before {
  content: ""; flex-shrink: 0;
  width: 18px; height: 18px; border-radius: 50%;
  margin-top: 2px;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.4);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-position: center;
}

/* ── 14. Code window ──────────────────────────────────────────────── */
.code {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  box-shadow: var(--shadow-lg);
}
.code header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,.25);
}
.code header .dot { width: 11px; height: 11px; border-radius: 50%; }
.code header .file {
  margin-left: 12px; font-size: 11.5px; color: var(--text-muted);
  font-family: var(--f-mono);
}
.code pre {
  margin: 0; padding: 18px 22px;
  font-family: var(--f-mono); font-size: 13px; line-height: 1.7;
  color: var(--text-secondary);
  overflow-x: auto;
}
.code .k { color: #c4b5fd; }
.code .s { color: #86efac; }
.code .c { color: var(--text-faint); font-style: italic; }
.code .n { color: #fcd34d; }

/* ── 15. Comparison table ─────────────────────────────────────────── */
.cmp-wrap { overflow-x: auto; }
table.cmp {
  width: 100%; border-collapse: collapse;
  background: var(--surface); border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--border);
  font-size: 14px;
}
table.cmp th, table.cmp td {
  padding: 16px 20px; text-align: left;
  border-bottom: 1px solid var(--border);
}
table.cmp thead th {
  background: rgba(0,0,0,.25);
  font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted);
}
table.cmp thead th.us {
  color: var(--indigo);
  background: linear-gradient(180deg, rgba(99,102,241,.18), rgba(139,92,246,.05));
}
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp td.tick {
  color: var(--emerald); font-weight: 700; text-align: center;
}
table.cmp td.cross {
  color: var(--text-faint); text-align: center;
}
table.cmp td.us {
  background: rgba(99,102,241,.06);
  color: var(--text);
}

/* ── 16. CTA band ─────────────────────────────────────────────────── */
.cta-band {
  position: relative;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 3vw, 32px);
  text-align: center;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(99,102,241,.3), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139,92,246,.3), transparent 50%);
  filter: blur(40px);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800; letter-spacing: -.02em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-band p { color: var(--text-secondary); margin: 0 0 28px; font-size: 16.5px; }

/* ── 17. Page hero (subpages) ─────────────────────────────────────── */
.page-hero {
  padding: clamp(56px, 8vw, 96px) var(--pad-x) clamp(32px, 5vw, 48px); text-align: center;
  position: relative;
}
.page-hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.05;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero p {
  max-width: 660px; margin: 0 auto;
  color: var(--text-secondary); font-size: 17px;
}

/* ── 18. Prose ────────────────────────────────────────────────────── */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 {
  margin: 48px 0 16px; font-size: 24px; font-weight: 700;
  letter-spacing: -.015em;
}
.prose h3 { margin: 32px 0 10px; font-size: 18px; font-weight: 600; }
.prose p, .prose li { color: var(--text-secondary); font-size: 15.5px; line-height: 1.7; }
.prose ul { padding-left: 22px; }
.prose ul li { margin-bottom: 8px; }
.prose strong { color: var(--text); font-weight: 600; }

/* ── 19. Form ─────────────────────────────────────────────────────── */
.form {
  max-width: 560px; margin: 0 auto;
  display: grid; gap: 16px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.form .field { display: grid; gap: 6px; }
.form label {
  font-size: 12.5px; font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: .02em;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-2); color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: 14.5px; font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form textarea:focus, .form select:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(99,102,241,.18);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form .row2 { grid-template-columns: 1fr; } }

/* ── 20. Footer ───────────────────────────────────────────────────── */
footer.site {
  margin-top: clamp(40px, 8vw, 80px);
  padding: clamp(40px, 6vw, 64px) var(--pad-x) 28px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.4));
}
footer.site .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  max-width: var(--max-wide); margin: 0 auto;
}
@media (max-width: 920px)  { footer.site .grid { grid-template-columns: 1fr 1fr 1fr; }
  footer.site .about      { grid-column: 1 / -1; }
}
@media (max-width: 560px)  { footer.site .grid { grid-template-columns: 1fr 1fr; }
  footer.site .about      { grid-column: 1 / -1; }
}
footer.site .legal {
  max-width: var(--max-wide); margin: 48px auto 0;
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--text-faint); font-size: 12.5px;
}
footer.site h5 {
  margin: 0 0 14px; font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-faint); font-weight: 700;
}
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer.site ul li a {
  color: var(--text-muted); font-size: 14px;
  transition: color .15s;
}
footer.site ul li a:hover { color: var(--text); }
footer.site .about p {
  color: var(--text-muted); font-size: 14px; line-height: 1.6;
  max-width: 360px; margin: 12px 0 16px;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--emerald);
}
.status-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,.18);
  animation: pulse 1.6s infinite;
}

/* "Modules:" caption inside solution cards */
.card .meta-line {
  margin-top: 14px;
  color: var(--text-faint);
  font-size: 12.5px;
}
.card .meta-line strong { color: var(--text-secondary); font-weight: 600; }

/* Tiny note under contact form / similar */
.form-note { font-size: 12px; color: var(--text-muted); margin: 0; }

/* Small spacing helpers used by inline content */
.mt-14 { margin-top: 14px; }
.mt-28 { margin-top: 28px; }

/* ── 21. Misc utilities ───────────────────────────────────────────── */
.muted { color: var(--text-muted); }
.mono { font-family: var(--f-mono); }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.fade-in { animation: fadeUp .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .32s; }

/* ── 22. SPIDER 7D pill row (Demark / Deter / Delay / Detect / Deny / Defend / Definite) */
.sevenD {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin: 24px 0 8px;
}
.sevenD .pill {
  width: clamp(58px, 8vw, 76px);
  height: clamp(58px, 8vw, 76px);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: -.005em;
  color: #fff;
  border: 2px solid rgba(255,255,255,.18);
  box-shadow: 0 8px 24px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  position: relative;
}
.sevenD .pill:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 18px 36px rgba(0,0,0,.55); }
.sevenD .pill:focus-visible { outline: 2px solid #6366f1; outline-offset: 4px; }
.sevenD .pill::after {
  content: ""; position: absolute; right: 4px; bottom: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: grid; place-items: center;
  font-size: 9px; font-weight: 800; color: #0f172a;
  line-height: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.sevenD .pill::after { content: "i"; font-style: italic; }
.sevenD-hint {
  margin: 10px 0 0; font-size: 12.5px;
  color: var(--text-muted); font-weight: 500;
}

/* ── 22b. 7D explainer modal ───────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(5,8,16,.78);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 20px; opacity: 0;
  transition: opacity .25s ease;
}
.modal-backdrop.open { display: flex; opacity: 1; }
.modal-card {
  width: min(560px, 100%);
  background: linear-gradient(180deg, rgba(28,28,42,.98), rgba(18,18,28,.98));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05);
  padding: 28px;
  position: relative;
  transform: translateY(12px) scale(.98);
  transition: transform .25s ease;
}
.modal-backdrop.open .modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 18px; font-weight: 700;
  display: grid; place-items: center; cursor: pointer;
  transition: background .15s, color .15s;
}
.modal-close:hover { background: rgba(255,255,255,.12); color: var(--text); }
.modal-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.modal-orb {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px; color: #fff;
  border: 2px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 28px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.2);
  flex-shrink: 0;
}
.modal-orb.demark   { background: linear-gradient(135deg,#3b82f6,#1e40af); }
.modal-orb.deter    { background: linear-gradient(135deg,#9ca3af,#4b5563); }
.modal-orb.delay    { background: linear-gradient(135deg,#10b981,#047857); }
.modal-orb.detect   { background: linear-gradient(135deg,#ef4444,#991b1b); }
.modal-orb.deny     { background: linear-gradient(135deg,#fbbf24,#b45309); color: #1a0f00; }
.modal-orb.defend   { background: linear-gradient(135deg,#f8fafc,#cbd5e1); color: #0f172a; border-color: rgba(0,0,0,.1); }
.modal-orb.definite { background: linear-gradient(135deg,#1f2937,#000000); }
.modal-title { display: flex; flex-direction: column; gap: 2px; }
.modal-title h3 { margin: 0; font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -.01em; }
.modal-title .modal-step { font-size: 11px; font-weight: 600; color: var(--text-muted); letter-spacing: .12em; text-transform: uppercase; }
.modal-tag { font-size: 13px; color: var(--text-secondary); margin: 0 0 14px; font-weight: 500; }
.modal-body { font-size: 14.5px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 16px; }
.modal-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-muted);
}
.modal-foot button {
  background: rgba(99,102,241,.12); border: 1px solid rgba(99,102,241,.4);
  color: #a5b4fc; font-weight: 600; font-size: 12.5px;
  padding: 6px 12px; border-radius: var(--r-sm); cursor: pointer;
  transition: background .15s;
}
.modal-foot button:hover { background: rgba(99,102,241,.22); }
.sevenD .pill.demark   { background: linear-gradient(135deg,#3b82f6,#1e40af); }
.sevenD .pill.deter    { background: linear-gradient(135deg,#9ca3af,#4b5563); }
.sevenD .pill.delay    { background: linear-gradient(135deg,#10b981,#047857); }
.sevenD .pill.detect   { background: linear-gradient(135deg,#ef4444,#991b1b); }
.sevenD .pill.deny     { background: linear-gradient(135deg,#fbbf24,#b45309); color: #1a0f00; }
.sevenD .pill.defend   { background: linear-gradient(135deg,#f8fafc,#cbd5e1); color: #0f172a; border-color: rgba(0,0,0,.1); }
.sevenD .pill.definite { background: linear-gradient(135deg,#1f2937,#000000); }

/* Industry / vertical tiles */
.tile {
  position: relative;
  padding: 22px;
  background: linear-gradient(180deg, var(--surface), rgba(20,20,31,.6));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s, border-color .2s;
  overflow: hidden;
}
.tile:hover { transform: translateY(-3px); border-color: rgba(99,102,241,.35); }
.tile h3 {
  margin: 0; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.tile h3::before {
  content: ""; width: 3px; height: 18px; border-radius: 2px;
  background: var(--grad-brand);
}
.tile .img-wrap {
  width: 100%; aspect-ratio: 16 / 10;
  border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, rgba(99,102,241,.06), rgba(139,92,246,.04));
  border: 1px solid var(--border);
  display: grid; place-items: center;
}
.tile .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s var(--ease-out, ease);
}
.tile:hover .img-wrap img { transform: scale(1.05); }
.tile ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tile ul li {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.5;
}
.tile ul li::before {
  content: ""; flex-shrink: 0;
  width: 14px; height: 14px; border-radius: 50%;
  margin-top: 4px;
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.4);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-position: center;
}

/* Clients (logos) strip */
.clients-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px; align-items: center;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.clients-strip img {
  width: 100%; max-width: 140px; margin: 0 auto;
  height: 60px; object-fit: contain;
  filter: grayscale(1) brightness(1.6) opacity(.7);
  transition: filter .2s, transform .2s;
}
.clients-strip img:hover { filter: none; transform: scale(1.06); }
@media (max-width: 980px) { .clients-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .clients-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 16px; } }

/* Contact info card */
.contact-info {
  display: grid; gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.contact-info .ci-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .ci-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(99,102,241,.18), rgba(139,92,246,.08));
  border: 1px solid rgba(99,102,241,.28);
  color: var(--indigo);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-info .ci-text h5 { margin: 0 0 2px; font-size: 13px; font-weight: 700; }
.contact-info .ci-text p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.55; }
.contact-info .ci-text a { color: var(--indigo); }

.map-frame {
  width: 100%; height: 300px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  filter: grayscale(.4) contrast(1.05) brightness(.85);
}

/* Two-column hero layout — text left, illustration right.
   Mirrors the legacy SPIDER hero shape but with the new dark theme.    */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.hero-split .hero-text { text-align: left; }
.hero-split .hero-text h1 { text-align: left; }
.hero-split .hero-text .lead { margin-left: 0; margin-right: 0; }
.hero-split .hero-text .sevenD { justify-content: flex-start; }
.hero-split .hero-text .btn-row { justify-content: flex-start; }
.hero-split .hero-text .meta { justify-content: flex-start; }

@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 24px; }
  .hero-split .hero-text { text-align: center; }
  .hero-split .hero-text h1 { text-align: center; }
  .hero-split .hero-text .sevenD,
  .hero-split .hero-text .btn-row,
  .hero-split .hero-text .meta { justify-content: center; }
  .hero-split .hero-art { order: -1; }   /* image first on mobile */
}

/* Hero illustration art panel — fills its column */
.hero-art {
  position: relative;
  width: 100%;
  display: grid; place-items: center;
}
.hero-art::before {
  content: ""; position: absolute; inset: -10% -8%;
  background: radial-gradient(ellipse at center, rgba(99,102,241,.35) 0%, rgba(139,92,246,.18) 35%, transparent 70%);
  filter: blur(40px); z-index: 0;
  animation: heroPulse 6s ease-in-out infinite;
}
.hero-art::after {
  content: ""; position: absolute; inset: 10%;
  background: radial-gradient(circle, transparent 50%, rgba(99,102,241,.08) 80%, transparent 100%);
  border-radius: 50%; z-index: 0;
}
.hero-art img {
  position: relative; z-index: 1;
  width: 100%; height: auto;
  max-height: clamp(360px, 60vh, 640px);
  object-fit: contain;
  filter: drop-shadow(0 30px 80px rgba(99,102,241,.4))
          drop-shadow(0 10px 30px rgba(0,0,0,.5));
  animation: heroFloat 7s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes heroPulse {
  0%, 100% { opacity: .65; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art img, .hero-art::before { animation: none; }
}

/* Tighter hero on small screens — drop the bottom padding since the illus
   already provides visual weight. */
@media (max-width: 640px) {
  .hero { padding-bottom: 24px; }
  .hero-art img { max-height: 320px; }
}

/* Legacy single-column hero illustration wrapper (kept for backward compat) */
.hero-illus {
  margin-top: clamp(36px, 5vw, 56px);
  padding: 0; background: transparent; box-shadow: none;
}
.hero-illus img {
  width: 100%; height: auto; max-height: 560px;
  object-fit: contain; display: block;
  filter: drop-shadow(0 30px 80px rgba(99,102,241,.35));
}

/* "About strap" centred card with legacy Tata copy */
.about-strap {
  text-align: center; max-width: 980px; margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
}
.about-strap p {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--text-secondary);
  margin: 0 0 14px; line-height: 1.7;
}
.about-strap p.muted-line {
  font-size: 15px; color: var(--text-muted); margin-bottom: 20px;
}
.about-strap strong { color: var(--text); font-weight: 600; }

/* Partner banner card (large image with thin border) */
.partner-banner { padding: 16px; }
.partner-banner img {
  width: 100%; height: auto; display: block;
  border-radius: 10px;
}

/* Footer Tata block link override */
footer.site .about p strong { color: var(--text); font-weight: 600; }
footer.site .about p a { color: var(--accent); }
footer.site .legal a { color: var(--text-secondary); text-decoration: underline; }

/* Tata attribution + newsletter */
.newsletter {
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  max-width: 520px; margin: 0 auto;
  padding: 8px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
}
.newsletter input {
  background: transparent; border: none; outline: none; color: var(--text);
  padding: 10px 14px; font-size: 14px; font-family: inherit;
}
.newsletter button {
  padding: 10px 20px; border-radius: var(--r-full);
  background: var(--grad-brand); color: #fff; border: none;
  font-weight: 600; font-size: 13.5px; cursor: pointer;
}
@media (max-width: 480px) {
  .newsletter { grid-template-columns: 1fr; border-radius: var(--r-md); }
  .newsletter button { width: 100%; }
}

/* Architecture topology box */
.topology {
  position: relative;
  padding: 32px;
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 32px),
    var(--surface);
  border: 1px solid var(--border);
  min-height: clamp(320px, 38vw, 460px);
  overflow: hidden;
}
.topology .node {
  position: absolute;
  padding: clamp(6px, .8vw, 8px) clamp(10px, 1.2vw, 14px);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: clamp(10px, 1.1vw, 12px); font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
@media (max-width: 480px) {
  .topology .node { font-size: 9.5px; padding: 5px 9px; }
}
.topology .node.core {
  border-color: rgba(99,102,241,.5);
  background: linear-gradient(180deg, rgba(99,102,241,.18), var(--bg-2));
  color: #fff; font-weight: 700;
  box-shadow: 0 0 30px rgba(99,102,241,.3);
}
.topology .node .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,.2);
  animation: pulse 1.8s infinite;
}

/* ── 23. Contact page extras ──────────────────────────────────────── */

/* hero stats strip */
.contact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 28px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.contact-stats > div {
  text-align: center;
  padding: 14px 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}
.contact-stats strong {
  display: block;
  font-size: clamp(20px, 2.4vw, 28px); font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; letter-spacing: -.02em;
}
.contact-stats span {
  display: block; margin-top: 4px;
  font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .12em; font-weight: 600;
}

/* channel cards */
.channel-grid { gap: 18px; }
.ch-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px;
  background: linear-gradient(180deg, var(--surface), rgba(20,20,31,.6));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none; color: var(--text);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.ch-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,.08), transparent 50%);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.ch-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,.45);
  box-shadow: 0 18px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(99,102,241,.15);
}
.ch-card:hover::before { opacity: 1; }
.ch-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.18);
}
.ch-icon.ch-sales { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.ch-icon.ch-eng   { background: linear-gradient(135deg, #10b981, #047857); }
.ch-icon.ch-sup   { background: linear-gradient(135deg, #f59e0b, #b45309); }
.ch-icon.ch-prt   { background: linear-gradient(135deg, #ec4899, #be185d); }
.ch-card h3 {
  margin: 4px 0 0; font-size: 17px; font-weight: 700;
}
.ch-card p {
  margin: 0; font-size: 13.5px; color: var(--text-secondary);
  line-height: 1.55; flex: 1;
}
.ch-link {
  font-size: 12.5px; font-weight: 600;
  color: #a5b4fc;
  letter-spacing: .01em;
  margin-top: 4px;
}

/* form-head with status pill */
.form-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 18px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.form-head h3 {
  margin: 0 0 4px; font-size: 19px; font-weight: 700; color: var(--text);
}
.form-head p {
  margin: 0; font-size: 13px; color: var(--text-secondary); line-height: 1.5;
}

/* placeholder styling for inputs */
.form input::placeholder,
.form textarea::placeholder {
  color: rgba(255,255,255,.25);
}

/* consent checkbox */
.field-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 4px;
  font-size: 13px; color: var(--text-secondary); line-height: 1.5;
}
.field-check input[type="checkbox"] {
  margin-top: 3px; width: 16px; height: 16px;
  accent-color: #6366f1;
  flex-shrink: 0;
}
.field-check a { color: #a5b4fc; text-decoration: underline; text-underline-offset: 2px; }

/* form actions row */
.form-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 6px;
}
.form-actions .btn:disabled {
  opacity: .65; cursor: not-allowed;
}

/* map link below iframe */
.map-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px;
  font-size: 12.5px; font-weight: 600;
  color: #a5b4fc;
  text-decoration: none;
  transition: color .15s;
}
.map-link:hover { color: #c4b5fd; }

/* steps timeline */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.steps li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px;
  background: linear-gradient(180deg, var(--surface), rgba(20,20,31,.6));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .2s, transform .2s;
}
.steps li:hover { border-color: rgba(99,102,241,.35); transform: translateY(-2px); }
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-brand);
  color: #fff; font-weight: 800; font-size: 16px;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(99,102,241,.35), inset 0 1px 0 rgba(255,255,255,.2);
}
.steps h4 {
  margin: 0 0 6px; font-size: 15px; font-weight: 700;
  color: var(--text); letter-spacing: -.005em;
}
.steps p {
  margin: 0; font-size: 13.5px; color: var(--text-secondary); line-height: 1.55;
}

/* FAQ */
.faq {
  display: grid; gap: 10px;
  max-width: 880px; margin: 0 auto;
}
.faq details {
  background: linear-gradient(180deg, var(--surface), rgba(20,20,31,.6));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0;
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(99,102,241,.35); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 16px 18px;
  font-size: 14.5px; font-weight: 600;
  color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(99,102,241,.15);
  color: #a5b4fc; font-weight: 800;
  display: grid; place-items: center;
  transition: transform .2s, background .2s;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; transform: rotate(180deg); background: rgba(99,102,241,.3); }
.faq details > p {
  margin: 0; padding: 0 18px 18px;
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.6;
}
.faq a { color: #a5b4fc; text-decoration: underline; text-underline-offset: 2px; }

/* split layout — make form column slightly wider on contact */
@media (min-width: 980px) {
  .split { grid-template-columns: 1fr 1.25fr; }
}
