/* ==========================================================================
   STRATIUM — HUD Operativo
   Bloomberg x NASA control x IDE dark.
   Geist + Geist Mono. Data-first. Cinematic.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  /* ===== Core palette ===== */
  --bg:              #0F1118;
  --bg-1:            #13151D;
  --bg-2:            #181A24;
  --bg-3:            #1E2130;
  --bg-panel:        rgba(14,16,23,0.72);
  --bg-panel-solid:  #0E1017;

  --ink:             #ECEEF2;
  --ink-2:           #9AA1B3;
  --ink-3:           #5F6678;
  --ink-4:           #2B2F3C;
  --ink-5:           #1A1C25;

  --accent:          #4FD1E3;
  --accent-bright:   #9CF0FA;
  --accent-deep:     #0D8CA0;
  --accent-dim:      rgba(79,209,227,0.15);

  --signal:          #E84E5A;   /* alert / critical */
  --gold:            #D4B065;   /* premium / limited */
  --success:         #4ADE80;

  --line:            rgba(255,255,255,0.06);
  --line-2:          rgba(255,255,255,0.10);
  --line-strong:     rgba(255,255,255,0.18);
  --line-accent:     rgba(79,209,227,0.30);
  --line-signal:     rgba(232,78,90,0.35);
  --line-gold:       rgba(212,176,101,0.35);

  /* ===== Typography ===== */
  --sans:            "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:            "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  --serif:           "Instrument Serif", Georgia, serif;

  --ease:            cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-io:         cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:        140ms;
  --dur-base:        260ms;
  --dur-slow:        520ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "cv11", "ss01", "ss03";
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

/* ==================== BACKGROUND STACK ==================== */
.bg-stage {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(110,95,220,0.18), transparent 60%),
    radial-gradient(ellipse at 15% 85%, rgba(100,80,200,0.10), transparent 55%),
    var(--bg);
}
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
}
.bg-noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence baseFrequency='0.9'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.9'/></svg>");
}
.bg-scanlines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.12;
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255,255,255,0.012) 3px, rgba(255,255,255,0.012) 4px);
}
.globe-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  width: 100vw; height: 100vh; opacity: 1;
  mix-blend-mode: screen;
  filter: saturate(1.15);
}

.root { position: relative; z-index: 2; }

/* ==================== UTILITY TYPE ==================== */
.mono { font-family: var(--mono); font-feature-settings: "calt" 0, "ss04" 1; }
.serif { font-family: var(--serif); }
.serif-italic { font-family: var(--serif); font-style: italic; font-weight: 400; }

.kicker {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.kicker--signal::before { background: var(--signal); box-shadow: 0 0 10px var(--signal); }
.kicker--gold::before { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.kicker--static::before { animation: none; }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.6); }
}

/* ==================== TICKER BAR (top) ==================== */
.ticker-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: 28px; background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-3); overflow: hidden;
}
.ticker-bar .status {
  flex-shrink: 0; padding: 0 18px; height: 100%;
  border-right: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
  color: var(--accent);
}
.ticker-bar .status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}
.ticker-bar .stream {
  flex: 1; overflow: hidden; position: relative;
}
.ticker-bar .stream-inner {
  display: inline-flex; gap: 32px; white-space: nowrap;
  animation: ticker-scroll 90s linear infinite;
  padding-left: 100%;
}
.ticker-bar .stream-item { color: var(--ink-2); }
.ticker-bar .stream-item .k { color: var(--ink-3); }
.ticker-bar .stream-item .v { color: var(--accent); margin-left: 8px; }
.ticker-bar .stream-item .up { color: var(--success); }
.ticker-bar .stream-item .down { color: var(--signal); }
.ticker-bar .clock {
  flex-shrink: 0; padding: 0 18px; height: 100%;
  border-left: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-2);
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==================== HEADER ==================== */
.site-header {
  position: fixed; top: 28px; left: 0; right: 0; z-index: 55;
  height: 64px;
  background: rgba(6,7,11,0.7);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
.site-header.scrolled {
  background: rgba(6,7,11,0.92);
  border-bottom-color: var(--line-2);
}
.header-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; gap: 40px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 36px; height: 36px; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(79,209,227,0.25));
}
.footer .brand-logo { width: 32px; height: 32px; }
.brand-mark {
  width: 32px; height: 32px; position: relative;
  background: var(--bg-2); border: 1px solid var(--line-accent);
  display: flex; align-items: center; justify-content: center;
}
.brand-mark::before, .brand-mark::after {
  content: ''; position: absolute; background: var(--accent); box-shadow: 0 0 6px var(--accent);
}
.brand-mark::before { width: 14px; height: 2px; }
.brand-mark::after { width: 2px; height: 14px; }
.brand-mark .dot {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent-bright); box-shadow: 0 0 8px var(--accent);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.brand-name { font-family: var(--sans); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.brand-badge { font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.14em; text-transform: uppercase; padding-left: 12px; border-left: 1px solid var(--line); margin-left: 4px; }

.nav { display: flex; gap: 4px; margin-left: 24px; }
.nav a {
  font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--ink-2);
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; position: relative;
  transition: color var(--dur-base) var(--ease);
}
.nav a::before {
  content: ''; position: absolute; inset: 0;
  border: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a:hover::before { border-color: var(--line-accent); }
.nav .num { color: var(--ink-3); margin-right: 6px; }

.header-meta {
  margin-left: auto; display: flex; align-items: center; gap: 16px;
}
.header-meta .capacity {
  font-family: var(--mono); font-size: 11px; color: var(--gold);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border: 1px solid var(--line-gold);
  display: flex; align-items: center; gap: 8px;
}
.header-meta .capacity::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 22px; border: 1px solid transparent;
  transition: all var(--dur-base) var(--ease);
  cursor: pointer;
  white-space: nowrap; position: relative;
}
.btn svg { width: 12px; height: 12px; transition: transform 220ms var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--accent); color: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 0 0 rgba(79,209,227,0);
}
.btn--primary:hover {
  background: var(--accent-bright);
  box-shadow: 0 0 32px rgba(79,209,227,0.5), inset 0 0 0 1px rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.btn--ghost {
  background: rgba(255,255,255,0.015); color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-dim);
}
.btn--signal {
  background: transparent; color: var(--signal);
  border-color: var(--line-signal);
}
.btn--signal:hover { background: rgba(232,78,90,0.08); border-color: var(--signal); }

/* corner ticks */
.btn--corners { position: relative; }
.btn--corners::before, .btn--corners::after {
  content: ''; position: absolute; width: 6px; height: 6px;
  border: 1px solid var(--accent); pointer-events: none;
}
.btn--corners::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.btn--corners::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }

/* ==================== SECTION FRAME ==================== */
.section {
  position: relative; padding: 120px 32px;
  border-top: 1px solid var(--line);
}
.section:first-of-type { border-top: 0; }
.section-inner { max-width: 1440px; margin: 0 auto; position: relative; }

.section-label {
  position: absolute; top: -12px; left: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); background: var(--bg);
  padding: 0 10px 0 0;
}
.section-label .num { color: var(--ink-3); margin-right: 10px; }

.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  margin-bottom: 72px; padding-top: 32px;
}
.section-title {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(40px, 4.4vw, 64px);
  letter-spacing: -0.035em; line-height: 1.02;
  color: var(--ink);
}
.section-title em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--accent);
}
.section-title .gold { font-family: var(--serif); font-style: italic; color: var(--gold); font-weight: 400; }
.section-lede {
  font-size: 16px; line-height: 1.65; color: var(--ink-2);
  max-width: 520px;
}

/* ==================== HERO ==================== */
.hero {
  position: relative; padding: 180px 32px 120px;
  min-height: 100vh;
  display: flex; align-items: center;
}
.hero-inner {
  max-width: 1440px; margin: 0 auto; width: 100%;
  position: relative;
}

.hero-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.14em; text-transform: uppercase;
  padding-bottom: 16px; margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.hero-meta .left { display: flex; gap: 24px; align-items: center; }
.hero-meta .left .coord { color: var(--accent); }
.hero-meta .right { display: flex; gap: 18px; }
.hero-clock {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.hero-clock .dot-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start;
}

.hero-title {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 36px;
}
.hero-title .row { display: block; overflow: hidden; }
.hero-title em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  color: var(--accent);
}
.hero-title .marker {
  display: inline-block; width: 0.6em; height: 0.12em;
  background: var(--accent); margin: 0 0.08em 0.2em;
  vertical-align: middle;
  box-shadow: 0 0 16px var(--accent);
}

.hero-lede {
  font-size: 18px; line-height: 1.55; color: var(--ink-2);
  max-width: 560px; margin-bottom: 40px;
}
.hero-lede b { color: var(--ink); font-weight: 500; }

.hero-ctas { display: flex; gap: 12px; margin-bottom: 56px; align-items: center; }
.hero-ctas .hint {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.12em; text-transform: uppercase; margin-left: 8px;
}
.hero-ctas .hint kbd {
  display: inline-block; padding: 2px 6px; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--ink-2); margin-right: 4px;
  font-family: var(--mono); font-size: 10px;
}

/* Hero live dashboard panel (replaces graph) */
.hero-dash {
  background: var(--bg-panel);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.hero-dash::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.hero-dash-hd {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-dash-hd .title { color: var(--accent); display: flex; align-items: center; gap: 8px; }
.hero-dash-hd .title::before { content: ''; width: 6px; height: 6px; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.hero-dash-hd .controls { display: flex; gap: 4px; }
.hero-dash-hd .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-4); }

.hero-dash-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }

.kpi-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.kpi {
  padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.kpi .k {
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px;
}
.kpi .v {
  font-family: var(--sans); font-weight: 500; font-size: 24px;
  letter-spacing: -0.02em; line-height: 1; color: var(--ink);
  font-feature-settings: "tnum" 1;
}
.kpi .v.accent { color: var(--accent); text-shadow: 0 0 20px rgba(79,209,227,0.4); }
.kpi .v .unit { font-size: 11px; color: var(--ink-3); margin-left: 4px; font-weight: 400; }
.kpi .delta {
  font-family: var(--mono); font-size: 10px; margin-top: 4px;
  letter-spacing: 0.08em;
}
.kpi .delta.up { color: var(--success); }
.kpi .delta.down { color: var(--signal); }
.kpi .sparkline {
  margin-top: 10px; height: 28px;
}
.kpi .sparkline svg { width: 100%; height: 100%; overflow: visible; }
.kpi .sparkline path { fill: none; stroke: var(--accent); stroke-width: 1.2; }
.kpi .sparkline .area { fill: url(#spark-grad); opacity: 0.25; stroke: none; }

.stream {
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 14px 16px;
}
.stream-hd {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px;
}
.stream-hd .live { color: var(--success); display: flex; align-items: center; gap: 6px; }
.stream-hd .live::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--success); box-shadow: 0 0 6px var(--success); animation: pulse-dot 1.6s ease-in-out infinite; }
.stream-list { display: flex; flex-direction: column; gap: 6px; max-height: 180px; overflow: hidden; mask-image: linear-gradient(180deg, black, black 85%, transparent); }
.stream-item {
  font-family: var(--mono); font-size: 11px; color: var(--ink-2);
  display: flex; gap: 12px; align-items: center;
  padding: 6px 0; border-bottom: 1px dashed var(--line);
  opacity: 0; animation: fade-in 420ms var(--ease) forwards;
}
@keyframes fade-in { to { opacity: 1; } }
.stream-item .time { color: var(--ink-3); min-width: 60px; }
.stream-item .tag {
  display: inline-block; padding: 1px 6px; font-size: 9px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.stream-item .tag.ok { color: var(--success); border: 1px solid var(--success); }
.stream-item .tag.ia { color: var(--accent); border: 1px solid var(--accent); }
.stream-item .tag.sys { color: var(--gold); border: 1px solid var(--gold); }
.stream-item .msg { flex: 1; }

/* hero proof stats below */
.hero-proof {
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 0;
  margin-top: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative; z-index: 2;
  background: linear-gradient(180deg, rgba(6,7,11,0.55), rgba(6,7,11,0.72));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.proof-cell {
  padding: 24px 24px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.proof-cell:last-child { border-right: 0; }
.proof-cell .k {
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.18em; text-transform: uppercase;
  text-shadow: 0 0 8px rgba(6,7,11,0.9);
}
.proof-cell .v {
  font-family: var(--sans); font-weight: 300; font-size: 38px;
  letter-spacing: -0.03em; color: var(--ink); line-height: 1;
  font-feature-settings: "tnum" 1;
  text-shadow: 0 2px 12px rgba(6,7,11,0.95), 0 0 24px rgba(6,7,11,0.6);
}
.proof-cell .v em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.proof-cell .v .unit { font-size: 14px; color: var(--ink-3); margin-left: 2px; }
.proof-cell.proof-sig .v { color: var(--signal); }

/* ==================== MANIFIESTO ==================== */
.manifesto {
  padding: 140px 32px; position: relative;
  background: linear-gradient(180deg, transparent, rgba(10,11,17,0.6) 30%, rgba(10,11,17,0.6) 70%, transparent);
}
.manifesto .section-inner { max-width: 1100px; }
.manifesto-title {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(44px, 5vw, 76px);
  letter-spacing: -0.04em; line-height: 1.02;
  margin-bottom: 56px; max-width: 900px;
}
.manifesto-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.manifesto-grid {
  display: grid; grid-template-columns: 120px 1fr 1fr; gap: 48px;
  padding-top: 40px; border-top: 1px solid var(--line);
}
.manifesto-col h4 {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 20px;
}
.manifesto-col p {
  font-size: 16px; line-height: 1.65; color: var(--ink-2);
  margin-bottom: 18px;
}
.manifesto-col p b { color: var(--ink); font-weight: 500; }
.manifesto-col p em { font-style: italic; color: var(--accent); font-family: var(--serif); font-size: 18px; }
.manifesto-num {
  font-family: var(--serif); font-style: italic; font-size: 88px;
  color: var(--ink-4); line-height: 0.9;
}

/* ==================== SERVICES ==================== */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.service {
  background: var(--bg); padding: 44px 40px 40px;
  position: relative; overflow: hidden;
  transition: background var(--dur-base) var(--ease);
  min-height: 340px;
}
.service::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--mx,50%) var(--my,50%), rgba(79,209,227,0.06), transparent 60%);
  opacity: 0; transition: opacity 420ms var(--ease);
}
.service:hover { background: var(--bg-1); }
.service:hover::before { opacity: 1; }

.service-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 36px;
}
.service-num {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.18em;
}
.service-num .ref { color: var(--ink-3); margin-right: 10px; }
.service-icon {
  width: 40px; height: 40px; position: relative;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.service-icon::before, .service-icon::after {
  content: ''; position: absolute; width: 5px; height: 5px;
  border: 1px solid var(--accent);
}
.service-icon::before { top: -3px; left: -3px; border-right: 0; border-bottom: 0; }
.service-icon::after { bottom: -3px; right: -3px; border-left: 0; border-top: 0; }
.service-icon svg { width: 18px; height: 18px; }

.service h3 {
  font-family: var(--sans); font-weight: 400; font-size: 26px;
  letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px;
}
.service h3 em { font-family: var(--serif); font-style: italic; color: var(--accent); }

.service p {
  color: var(--ink-2); font-size: 14px; line-height: 1.6;
  max-width: 440px; margin-bottom: 28px;
}

.service-specs {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 20px; border-top: 1px dashed var(--line);
}
.service-spec {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-2); padding: 4px 0;
}
.service-spec .k { color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; }
.service-spec .v { color: var(--accent); }

/* ==================== PROCESS MAP ==================== */
.processmap-panel {
  background: var(--bg-panel); border: 1px solid var(--line-2);
  padding: 40px 44px; position: relative; overflow: hidden;
  backdrop-filter: blur(14px);
}
.processmap-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.pm-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.pm-toolbar .title { color: var(--accent); }
.pm-toolbar .controls { display: flex; gap: 18px; align-items: center; }
.pm-toolbar button {
  font-family: var(--mono); font-size: 11px; color: var(--ink-2);
  padding: 6px 12px; border: 1px solid var(--line-2); letter-spacing: 0.1em; text-transform: uppercase;
  transition: all var(--dur-base) var(--ease);
}
.pm-toolbar button:hover { border-color: var(--accent); color: var(--accent); }
.pm-toolbar button.active { background: var(--accent); color: var(--bg); border-color: var(--accent); }

.pm-stage {
  position: relative; height: 340px;
  background:
    linear-gradient(rgba(79,209,227,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79,209,227,0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  overflow: hidden;
}
.pm-stage svg { width: 100%; height: 100%; overflow: visible; }
.pm-node { cursor: pointer; transition: filter 300ms var(--ease); }
.pm-node rect { fill: var(--bg-2); stroke: var(--line-strong); stroke-width: 1; transition: all 260ms var(--ease); }
.pm-node.active rect { stroke: var(--accent); filter: drop-shadow(0 0 12px var(--accent)); }
.pm-node.fired rect { stroke: var(--success); filter: drop-shadow(0 0 10px var(--success)); }
.pm-node text.label { font-family: var(--mono); font-size: 10px; fill: var(--ink); letter-spacing: 0.12em; text-transform: uppercase; }
.pm-node text.meta { font-family: var(--mono); font-size: 9px; fill: var(--ink-3); }
.pm-node .icon { fill: var(--accent); }
.pm-edge { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.pm-edge.active { stroke: var(--accent); stroke-width: 1.5; filter: drop-shadow(0 0 4px var(--accent)); }
.pm-packet { fill: var(--accent-bright); filter: drop-shadow(0 0 6px var(--accent)); }

.pm-legend {
  display: flex; gap: 24px; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.pm-legend .item { display: flex; align-items: center; gap: 8px; }
.pm-legend .sw { width: 10px; height: 10px; }
.pm-legend .sw.ok { background: var(--success); box-shadow: 0 0 6px var(--success); }
.pm-legend .sw.ia { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.pm-legend .sw.sys { border: 1px solid var(--line-strong); }

.pm-detail {
  margin-top: 20px; padding: 20px;
  background: var(--bg-2); border-left: 2px solid var(--accent);
}
.pm-detail .stage {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px;
}
.pm-detail h4 { font-family: var(--sans); font-weight: 500; font-size: 18px; margin-bottom: 8px; }
.pm-detail p { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin-bottom: 12px; }
.pm-detail .stats { display: flex; gap: 24px; }
.pm-detail .stats div { display: flex; flex-direction: column; gap: 2px; }
.pm-detail .stats .k { font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.14em; text-transform: uppercase; }
.pm-detail .stats .v { font-family: var(--mono); font-size: 14px; color: var(--accent); }

/* ==================== DIAGNOSTIC QUIZ ==================== */
.diag-panel {
  background: var(--bg-panel); border: 1px solid var(--line-2);
  display: grid; grid-template-columns: 320px 1fr;
  min-height: 460px; backdrop-filter: blur(14px);
  position: relative; overflow: hidden;
}
.diag-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.diag-aside {
  padding: 32px 28px; background: var(--bg-1);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.diag-aside .kicker { margin-bottom: 18px; }
.diag-aside h3 {
  font-family: var(--sans); font-weight: 400; font-size: 28px;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px;
}
.diag-aside h3 em { font-family: var(--serif); font-style: italic; color: var(--gold); }
.diag-aside p { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin-bottom: 24px; }
.diag-steps { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.diag-step-dot {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-left: 2px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all var(--dur-base) var(--ease);
}
.diag-step-dot.active { border-left-color: var(--accent); color: var(--accent); background: rgba(79,209,227,0.05); }
.diag-step-dot.done { border-left-color: var(--success); color: var(--success); }
.diag-step-dot .n { width: 20px; }

.diag-stage { padding: 32px 40px; display: flex; flex-direction: column; }
.diag-progress {
  height: 2px; background: var(--line); margin-bottom: 32px; overflow: hidden;
}
.diag-progress .bar { height: 100%; background: var(--accent); transition: width 480ms var(--ease); box-shadow: 0 0 8px var(--accent); }
.diag-q {
  font-family: var(--sans); font-weight: 400; font-size: 26px;
  letter-spacing: -0.02em; line-height: 1.25;
  margin-bottom: 28px; flex-grow: 0;
}
.diag-q em { font-family: var(--serif); font-style: italic; color: var(--accent); }
.diag-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.diag-opt {
  padding: 16px 20px; text-align: left;
  background: var(--bg-2); border: 1px solid var(--line);
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  transition: all 220ms var(--ease);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.diag-opt:hover { border-color: var(--accent); color: var(--accent); background: rgba(79,209,227,0.04); }
.diag-opt.selected { border-color: var(--accent); background: rgba(79,209,227,0.08); color: var(--accent); }
.diag-opt .key { font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.14em; margin-left: 12px; }

.diag-footer {
  margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.1em;
}

/* Diagnostic result */
.diag-result { padding: 32px 40px; }
.diag-result .score-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px;
  padding: 24px; background: var(--bg-2); border: 1px solid var(--line-accent);
}
.diag-result .score-big {
  font-family: var(--sans); font-weight: 300; font-size: 88px;
  letter-spacing: -0.05em; line-height: 0.9;
  color: var(--accent); text-shadow: 0 0 40px rgba(79,209,227,0.4);
  font-feature-settings: "tnum" 1;
}
.diag-result .score-big span { font-size: 24px; color: var(--ink-3); }
.diag-result .verdict h4 {
  font-family: var(--mono); font-size: 11px; color: var(--gold);
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 10px;
}
.diag-result .verdict p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.diag-result .recommendations { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.diag-result .rec {
  padding: 14px 18px; border: 1px solid var(--line);
  display: flex; gap: 12px; align-items: center;
  font-size: 13px; color: var(--ink-2);
}
.diag-result .rec .chk { color: var(--accent); font-family: var(--mono); }
.diag-result .cta-row { display: flex; gap: 12px; }

/* ==================== ROI ==================== */
.roi-panel {
  background: var(--bg-panel); border: 1px solid var(--line-2);
  padding: 48px; backdrop-filter: blur(14px);
  position: relative; overflow: hidden;
}
.roi-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.roi-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
.roi-inputs { display: flex; flex-direction: column; gap: 28px; }
.roi-input-group label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px;
}
.roi-input-group label .val { font-family: var(--sans); font-size: 20px; color: var(--accent); letter-spacing: -0.01em; text-transform: none; font-weight: 500; font-feature-settings: "tnum" 1; }

.roi-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 2px;
  background: var(--line-strong); outline: 0; cursor: pointer;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
  box-shadow: 0 0 14px var(--accent);
  transition: transform 180ms var(--ease);
}
.roi-slider::-webkit-slider-thumb:hover { transform: scale(1.25); }
.roi-slider::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
  box-shadow: 0 0 14px var(--accent);
}

.roi-presets { display: flex; gap: 6px; margin-top: 6px; }
.roi-presets button {
  font-family: var(--mono); font-size: 10px; padding: 4px 10px;
  border: 1px solid var(--line-2); color: var(--ink-3);
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all var(--dur-base) var(--ease);
}
.roi-presets button:hover, .roi-presets button.active { color: var(--accent); border-color: var(--accent); }

.roi-results { display: flex; flex-direction: column; gap: 0; }
.roi-result-row {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  gap: 16px;
}
.roi-result-row:last-of-type { border-bottom: 0; }
.roi-result-row .k { font-family: var(--mono); font-size: 11px; color: var(--ink-2); letter-spacing: 0.14em; text-transform: uppercase; }
.roi-result-row .v {
  font-family: var(--sans); font-weight: 300; font-size: 36px;
  letter-spacing: -0.03em; line-height: 1; color: var(--ink);
  font-feature-settings: "tnum" 1;
  text-align: right;
}
.roi-result-row .v em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.roi-result-row.hero-row .v { font-size: 64px; color: var(--accent); text-shadow: 0 0 40px rgba(79,209,227,0.35); }

.roi-chart { margin-top: 30px; height: 140px; position: relative; }
.roi-chart svg { width: 100%; height: 100%; overflow: visible; }
.roi-chart .axis { stroke: var(--line); stroke-width: 1; }
.roi-chart .area { fill: url(#roi-grad); opacity: 0.35; }
.roi-chart .line { fill: none; stroke: var(--accent); stroke-width: 1.5; filter: drop-shadow(0 0 4px var(--accent)); }
.roi-chart .baseline { fill: none; stroke: var(--signal); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.7; }
.roi-chart .break-even {
  stroke: var(--gold); stroke-width: 1; stroke-dasharray: 2 3;
}
.roi-chart-caption {
  display: flex; justify-content: space-between; margin-top: 10px;
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.roi-chart-caption .leg { display: flex; gap: 14px; }
.roi-chart-caption .leg span { display: flex; align-items: center; gap: 6px; }
.roi-chart-caption .leg .ln { width: 16px; height: 2px; }
.roi-chart-caption .leg .ln.acc { background: var(--accent); }
.roi-chart-caption .leg .ln.sig { border-top: 1px dashed var(--signal); }

/* ==================== AGENT CHAT ==================== */
.agent-panel {
  background: var(--bg-panel); border: 1px solid var(--line-2);
  overflow: hidden; position: relative;
  backdrop-filter: blur(14px);
}
.agent-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.agent-hd {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.agent-hd .title {
  display: flex; align-items: center; gap: 10px; color: var(--accent);
}
.agent-hd .title .avatar {
  width: 20px; height: 20px; background: var(--bg-2); border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 10px;
}
.agent-hd .status { color: var(--success); display: flex; align-items: center; gap: 6px; }
.agent-hd .status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 6px var(--success); animation: pulse-dot 1.8s ease-in-out infinite; }

.agent-body { padding: 24px; height: 400px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.agent-body::-webkit-scrollbar { width: 3px; }
.agent-body::-webkit-scrollbar-thumb { background: var(--line-strong); }

.agent-msg { display: flex; gap: 12px; max-width: 85%; }
.agent-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.agent-msg .bubble {
  padding: 12px 16px; border: 1px solid var(--line-2);
  font-size: 14px; line-height: 1.55; color: var(--ink);
  background: var(--bg-2);
}
.agent-msg.user .bubble {
  background: rgba(79,209,227,0.08); border-color: var(--line-accent);
  color: var(--accent);
}
.agent-msg .avatar {
  flex-shrink: 0; width: 28px; height: 28px; background: var(--bg-2);
  border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; color: var(--accent);
  letter-spacing: 0.1em;
}
.agent-msg.user .avatar { border-color: var(--line-accent); color: var(--accent); }
.agent-msg .bubble p { margin: 0 0 6px; }
.agent-msg .bubble p:last-child { margin-bottom: 0; }
.agent-msg .bubble b { color: var(--accent); font-weight: 500; }

.agent-typing {
  display: flex; gap: 6px; align-items: center;
  padding: 16px 18px; border: 1px solid var(--line-2); width: max-content;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  background: var(--bg-2);
}
.agent-typing .dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  animation: typing 1.4s ease-in-out infinite;
}
.agent-typing .dot:nth-child(2) { animation-delay: 0.15s; }
.agent-typing .dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.85); }
  30% { opacity: 1; transform: scale(1); }
}

.agent-suggestions {
  padding: 16px 24px; border-top: 1px solid var(--line);
  display: flex; gap: 8px; flex-wrap: wrap;
}
.agent-sug {
  font-family: var(--mono); font-size: 11px; padding: 8px 14px;
  border: 1px solid var(--line-2); color: var(--ink-2);
  letter-spacing: 0.06em; transition: all var(--dur-base) var(--ease);
}
.agent-sug:hover { border-color: var(--accent); color: var(--accent); background: rgba(79,209,227,0.04); }

.agent-input {
  padding: 16px 20px; border-top: 1px solid var(--line);
  display: flex; gap: 10px; align-items: center;
  background: var(--bg-1);
}
.agent-input .prompt { font-family: var(--mono); color: var(--accent); font-size: 13px; }
.agent-input input {
  flex: 1; background: transparent; border: 0; outline: 0;
  font-family: var(--mono); font-size: 13px; color: var(--ink);
  padding: 6px 0; letter-spacing: 0.02em;
}
.agent-input input::placeholder { color: var(--ink-3); }
.agent-input button {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  padding: 6px 14px; border: 1px solid var(--line-accent);
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: all var(--dur-base) var(--ease);
}
.agent-input button:hover { background: var(--accent); color: var(--bg); }
.agent-input button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ==================== METHOD ==================== */
.method-track {
  position: relative; display: grid; grid-template-columns: 260px 1fr; gap: 56px;
  min-height: 480px;
}
.method-rail { position: sticky; top: 140px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.method-step-btn {
  display: flex; gap: 16px; padding: 16px 18px; text-align: left;
  border-left: 2px solid var(--line); position: relative;
  transition: all var(--dur-base) var(--ease);
  align-items: center;
}
.method-step-btn .n {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.14em;
  min-width: 28px;
}
.method-step-btn .t { font-family: var(--sans); font-size: 15px; color: var(--ink-2); font-weight: 400; }
.method-step-btn.active { border-left-color: var(--accent); background: linear-gradient(90deg, rgba(79,209,227,0.05), transparent); }
.method-step-btn.active .n { color: var(--accent); }
.method-step-btn.active .t { color: var(--ink); }
.method-step-btn .duration { font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.1em; margin-left: auto; }

.method-stage {
  position: relative; padding: 44px 48px; min-height: 480px;
  background: var(--bg-panel); border: 1px solid var(--line-2);
  overflow: hidden;
}
.method-stage::before { content: ''; position: absolute; top: 0; right: 0; width: 1px; height: 40%; background: linear-gradient(180deg, var(--accent), transparent); }
.method-panel { opacity: 0; visibility: hidden; position: absolute; inset: 44px 48px; transition: opacity 420ms var(--ease); }
.method-panel.active { opacity: 1; visibility: visible; position: relative; inset: auto; }
.method-panel .kicker { margin-bottom: 20px; }
.method-panel h3 {
  font-family: var(--sans); font-weight: 300; font-size: 40px;
  letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 20px;
}
.method-panel h3 em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.method-panel .desc { color: var(--ink-2); font-size: 15px; line-height: 1.65; max-width: 600px; margin-bottom: 32px; }
.method-panel .deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 32px; }
.method-panel .deliv {
  padding: 12px 16px; border: 1px solid var(--line);
  display: flex; gap: 12px; align-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
}
.method-panel .deliv .check { color: var(--accent); }
.method-panel .meta { display: flex; gap: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.method-panel .meta div { display: flex; flex-direction: column; gap: 2px; }
.method-panel .meta .k { font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing: 0.14em; text-transform: uppercase; }
.method-panel .meta .v { font-family: var(--sans); font-size: 18px; color: var(--ink); font-weight: 400; }
.method-panel .meta .v em { font-family: var(--serif); font-style: italic; color: var(--accent); }

/* ==================== FAQ ==================== */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.faq {
  border-bottom: 1px solid var(--line);
  transition: background var(--dur-base) var(--ease);
}
.faq:hover { background: rgba(255,255,255,0.012); }
.faq-q {
  padding: 24px 0; display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px; align-items: center;
  cursor: pointer; width: 100%;
}
.faq-q .n { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.14em; }
.faq-q .t { font-family: var(--sans); font-size: 18px; font-weight: 400; color: var(--ink); text-align: left; letter-spacing: -0.01em; }
.faq-q .plus {
  width: 24px; height: 24px; position: relative; flex-shrink: 0;
  transition: transform 380ms var(--ease);
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ''; position: absolute; background: var(--accent);
}
.faq-q .plus::before { width: 16px; height: 1px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-q .plus::after { width: 1px; height: 16px; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform 380ms var(--ease); }
.faq.open .faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a {
  display: grid; grid-template-columns: 60px 1fr 24px; gap: 24px;
  max-height: 0; overflow: hidden; transition: max-height 520ms var(--ease);
}
.faq.open .faq-a { max-height: 600px; padding-bottom: 28px; }
.faq-a .body {
  grid-column: 2; color: var(--ink-2); font-size: 15px; line-height: 1.65;
  max-width: 720px;
}
.faq-a .body b { color: var(--ink); font-weight: 500; }
.faq-a .body .stack {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
}
.faq-a .body .stack .pill {
  padding: 4px 10px; border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 11px; color: var(--ink-2);
  letter-spacing: 0.08em;
}

/* ==================== CTA PROGRESSIVE FUNNEL ==================== */
.funnel { padding: 140px 32px; position: relative; }
.funnel-inner { max-width: 1200px; margin: 0 auto; }
.funnel-head {
  text-align: center; margin-bottom: 72px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.funnel-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px;
  border: 1px solid var(--line-gold); color: var(--gold);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.funnel-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.funnel-title {
  font-family: var(--sans); font-weight: 300; font-size: clamp(44px, 5vw, 72px);
  letter-spacing: -0.04em; line-height: 1.02; max-width: 900px;
}
.funnel-title em { font-family: var(--serif); font-style: italic; color: var(--gold); font-weight: 400; }
.funnel-title .big { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); font-size: 1.1em; }

.funnel-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: stretch; }
.funnel-step {
  background: var(--bg-panel); border: 1px solid var(--line-2);
  padding: 32px 28px; position: relative;
  display: flex; flex-direction: column; gap: 14px;
  transition: all var(--dur-base) var(--ease);
  cursor: pointer; text-align: left;
}
.funnel-step:hover { border-color: var(--accent); transform: translateY(-2px); }
.funnel-step .step-n {
  font-family: var(--mono); font-size: 10px; color: var(--accent);
  letter-spacing: 0.2em; text-transform: uppercase;
}
.funnel-step h4 { font-family: var(--sans); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
.funnel-step p { color: var(--ink-2); font-size: 13px; line-height: 1.55; }
.funnel-step .action {
  margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
}
.funnel-step .action svg { width: 14px; height: 14px; transition: transform 220ms var(--ease); }
.funnel-step:hover .action svg { transform: translateX(4px); }
.funnel-step--primary { background: linear-gradient(160deg, rgba(79,209,227,0.1), rgba(79,209,227,0.02)); border-color: var(--line-accent); }
.funnel-step .duration {
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid var(--line-2);
  align-self: flex-start;
}
.funnel-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-family: var(--mono); font-size: 14px;
  padding: 0 8px;
}

.funnel-note {
  margin-top: 32px; padding: 20px 24px;
  background: var(--bg-1); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.06em; line-height: 1.6;
  display: flex; justify-content: space-between; align-items: center;
}
.funnel-note b { color: var(--accent); font-weight: 500; }

/* ==================== FOOTER ==================== */
.footer {
  padding: 100px 32px 40px; border-top: 1px solid var(--line);
  background: var(--bg-1);
}
.footer-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand p { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin: 20px 0 24px; max-width: 380px; }
.footer-addr { font-family: var(--mono); font-size: 12px; color: var(--ink-3); line-height: 1.7; }
.footer-addr b { display: block; color: var(--ink-2); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; font-size: 10px; margin-bottom: 6px; }
.footer-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: var(--ink-2); transition: color 200ms var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1440px; margin: 0 auto; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-3);
}
.footer-bottom a { color: var(--ink-3); margin-left: 24px; }
.footer-bottom a:hover { color: var(--ink-2); }

/* ==================== WHATSAPP FAB ==================== */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 50px; height: 50px; border-radius: 50%;
  background: #16A34A; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(22,163,74,0.35), 0 0 0 6px rgba(22,163,74,0.08);
  transition: transform 260ms var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 22px; height: 22px; color: white; }

/* ==================== SCROLL REVEAL ==================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) {
  .hero-grid, .section-head, .roi-grid, .method-track,
  .diag-panel, .funnel-steps, .footer-inner, .manifesto-grid,
  .services-grid { grid-template-columns: 1fr !important; }
  .funnel-arrow { transform: rotate(90deg); padding: 8px 0; }
  .nav { display: none; }
  .hero-title { font-size: 48px; }
  .ticker-bar .clock { display: none; }
}

/* ==================== MOBILE (<= 760px) ==================== */
@media (max-width: 760px) {
  html, body { overflow-x: hidden; }

  /* Section frame */
  .section { padding: 72px 18px; }
  .section-head { gap: 20px; margin-bottom: 36px; padding-top: 22px; }
  .section-title { font-size: clamp(30px, 8.5vw, 44px); }
  .section-lede { font-size: 14.5px; }
  .section-label { font-size: 10px; letter-spacing: 0.16em; }

  /* Ticker */
  .ticker-bar { font-size: 10px; }
  .ticker-bar .status { padding: 0 12px; gap: 6px; }
  .ticker-bar .stream-inner { gap: 22px; }

  /* Header */
  .site-header { height: 56px; }
  .header-inner { padding: 0 14px; gap: 10px; }
  .brand-logo { width: 28px; height: 28px; }
  .brand-name { font-size: 14px; }
  .brand-badge { display: none; }
  .header-meta { gap: 8px; margin-left: auto; }
  .header-meta .capacity {
    font-size: 9px; padding: 4px 8px; gap: 6px;
    letter-spacing: 0.05em;
  }
  .header-meta .capacity::before { width: 5px; height: 5px; }

  /* Buttons */
  .btn { padding: 9px 14px; font-size: 10.5px; gap: 8px; letter-spacing: 0.06em; }
  .btn svg { width: 11px; height: 11px; }

  /* Hero */
  .hero { padding: 120px 18px 72px; min-height: auto; align-items: flex-start; }
  .hero-meta {
    flex-direction: column; align-items: flex-start; gap: 10px;
    font-size: 10px; letter-spacing: 0.1em;
    padding-bottom: 14px; margin-bottom: 32px;
  }
  .hero-meta .left { flex-wrap: wrap; gap: 14px; }
  .hero-meta .right { flex-wrap: wrap; gap: 12px; }
  .hero-grid { gap: 36px; }
  .hero-title { font-size: clamp(38px, 11vw, 56px); margin-bottom: 22px; line-height: 0.98; }
  .hero-lede { font-size: 15.5px; margin-bottom: 26px; }
  .hero-ctas { flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
  .hero-ctas .hint { display: none; }

  /* Hero live dashboard */
  .hero-dash-hd { padding: 11px 13px; font-size: 9.5px; letter-spacing: 0.08em; }
  .hero-dash-body { padding: 14px; gap: 12px; }
  .kpi-row { grid-template-columns: 1fr; gap: 8px; }
  .kpi { padding: 12px 14px; }
  .kpi .v { font-size: 22px; }
  .kpi .sparkline { height: 24px; margin-top: 8px; }
  .stream { padding: 12px 14px; }
  .stream-hd { font-size: 9px; letter-spacing: 0.1em; }
  .stream-list { max-height: 150px; gap: 4px; }
  .stream-item { font-size: 10px; gap: 8px; padding: 5px 0; }
  .stream-item .time { min-width: 48px; }
  .stream-item .tag { font-size: 8px; padding: 1px 5px; }

  /* Hero proof stats (4 + auto) */
  .hero-proof {
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
  }
  .proof-cell {
    padding: 18px 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .proof-cell:nth-child(2n) { border-right: 0; }
  .proof-cell:last-child {
    grid-column: 1 / -1;
    border-right: 0; border-bottom: 0;
  }
  .proof-cell .v { font-size: 28px; }
  .proof-cell .v .unit { font-size: 12px; }

  /* Manifesto */
  .manifesto { padding: 80px 18px; }
  .manifesto-title { font-size: clamp(28px, 8vw, 40px); margin-bottom: 32px; }
  .manifesto-grid { gap: 22px; padding-top: 24px; }
  .manifesto-num { font-size: 36px; }

  /* Services */
  .service { padding: 24px 18px; }
  .service-head { gap: 14px; }
  .service h3 { font-size: 22px; }
  .service p { font-size: 14px; }
  .service-specs { grid-template-columns: 1fr; gap: 6px; }

  /* Process Map */
  .processmap-panel { padding: 20px 16px; }
  .pm-toolbar {
    flex-direction: column; align-items: stretch; gap: 12px;
    margin-bottom: 18px; padding-bottom: 14px;
  }
  .pm-toolbar .title { font-size: 10.5px; letter-spacing: 0.1em; }
  .pm-toolbar .controls {
    overflow-x: auto; gap: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .pm-toolbar .controls::-webkit-scrollbar { display: none; }
  .pm-toolbar button {
    padding: 6px 10px; font-size: 10px;
    white-space: nowrap; flex-shrink: 0;
  }
  .pm-stage { height: 260px; }
  .pm-node text.label { font-size: 9px; letter-spacing: 0.08em; }
  .pm-node text.meta { font-size: 8px; }
  .pm-legend {
    flex-wrap: wrap; gap: 12px;
    font-size: 9px; letter-spacing: 0.1em;
    padding-top: 12px; margin-top: 14px;
  }
  .pm-detail { padding: 16px 14px; }
  .pm-detail h4 { font-size: 16px; }
  .pm-detail p { font-size: 13px; }
  .pm-detail .stats { flex-wrap: wrap; gap: 14px; }

  /* Diagnostic */
  .diag-panel { min-height: auto; }
  .diag-aside {
    padding: 22px 18px;
    border-right: 0; border-bottom: 1px solid var(--line);
  }
  .diag-aside h3 { font-size: 22px; }
  .diag-aside p { font-size: 13.5px; margin-bottom: 18px; }
  .diag-stage { padding: 22px 18px; }
  .diag-q { font-size: 19px; margin-bottom: 22px; }
  .diag-options { grid-template-columns: 1fr; }
  .diag-opt { padding: 14px 16px; font-size: 13.5px; }
  .diag-footer {
    font-size: 10px; flex-wrap: wrap; gap: 10px;
    padding-top: 18px;
  }
  .diag-result { padding: 22px 18px; }
  .diag-result .score-row {
    grid-template-columns: 1fr; padding: 18px;
    gap: 14px; margin-bottom: 24px;
  }
  .diag-result .score-big { font-size: 60px; }
  .diag-result .score-big span { font-size: 18px; }
  .diag-result .cta-row { flex-wrap: wrap; gap: 10px; }
  .diag-result .rec { padding: 12px 14px; font-size: 12.5px; }

  /* Agent Chat */
  .agent-hd { padding: 12px 14px; font-size: 10px; letter-spacing: 0.08em; }
  .agent-body { padding: 16px; height: 360px; gap: 12px; }
  .agent-msg { max-width: 92%; }
  .agent-msg .bubble { padding: 10px 14px; font-size: 13.5px; }
  .agent-suggestions {
    padding: 10px 14px; flex-wrap: wrap; gap: 6px;
  }
  .agent-sug { padding: 6px 10px; font-size: 10px; }
  .agent-input { padding: 11px 14px; gap: 8px; }
  .agent-input input { font-size: 13.5px; }

  /* ROI */
  .roi-panel { padding: 22px 18px; }
  .roi-grid { gap: 32px; }
  .roi-inputs { gap: 22px; }
  .roi-input-group label {
    flex-wrap: wrap; gap: 6px;
    font-size: 10px; letter-spacing: 0.08em;
    margin-bottom: 12px;
  }
  .roi-input-group label .val { font-size: 18px; }
  .roi-presets { flex-wrap: wrap; gap: 6px; }
  .roi-presets button { padding: 4px 8px; font-size: 9.5px; }
  .roi-result-row {
    grid-template-columns: 1fr;
    gap: 4px; padding: 14px 0;
  }
  .roi-result-row .v {
    font-size: 26px; text-align: left;
  }
  .roi-result-row.hero-row .v { font-size: 40px; }
  .roi-chart { height: 110px; margin-top: 22px; }
  .roi-chart-caption {
    flex-direction: column; gap: 6px;
    align-items: flex-start; font-size: 9px;
  }
  .roi-chart-caption .leg { gap: 12px; flex-wrap: wrap; }

  /* Method */
  .method-track { gap: 22px; min-height: auto; }
  .method-rail {
    position: static; top: auto;
    flex-direction: row; gap: 6px;
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .method-rail::-webkit-scrollbar { display: none; }
  .method-step-btn {
    flex: 0 0 auto; flex-direction: column;
    align-items: flex-start; gap: 6px;
    padding: 10px 14px; min-width: 150px;
    border-left: 0; border-bottom: 2px solid var(--line);
  }
  .method-step-btn.active {
    border-left: 0;
    border-bottom-color: var(--accent);
    background: linear-gradient(180deg, rgba(79,209,227,0.05), transparent);
  }
  .method-step-btn .duration { margin-left: 0; }
  .method-stage {
    padding: 24px 18px; min-height: auto;
  }
  .method-panel { inset: auto; }
  .method-panel.active { position: relative; inset: auto; }
  .method-panel h3 {
    font-size: 26px; margin-bottom: 16px; line-height: 1.1;
  }
  .method-panel .desc { font-size: 14px; margin-bottom: 22px; }
  .method-panel .deliverables {
    grid-template-columns: 1fr; gap: 8px; margin-bottom: 22px;
  }
  .method-panel .deliv { padding: 10px 14px; font-size: 11.5px; }
  .method-panel .meta {
    flex-wrap: wrap; gap: 18px; padding-top: 16px;
  }
  .method-panel .meta .v { font-size: 15px; }

  /* FAQ */
  .faq-q {
    grid-template-columns: 28px 1fr 24px;
    gap: 12px; padding: 18px 0;
  }
  .faq-q .n { font-size: 10px; letter-spacing: 0.1em; }
  .faq-q .t { font-size: 14.5px; }
  .faq-a { grid-template-columns: 28px 1fr 24px; gap: 12px; }
  .faq.open .faq-a { padding-bottom: 22px; }
  .faq-a .body { font-size: 13.5px; }

  /* Funnel */
  .funnel { padding: 80px 18px; }
  .funnel-head { margin-bottom: 36px; gap: 14px; }
  .funnel-title { font-size: clamp(30px, 8vw, 44px); }
  .funnel-step { padding: 22px 18px; }
  .funnel-step h4 { font-size: 17px; }
  .funnel-step p { font-size: 12.5px; }
  .funnel-step .action { font-size: 10px; }
  .funnel-arrow { padding: 4px 0; }
  .funnel-note {
    flex-direction: column; align-items: flex-start;
    gap: 10px; padding: 16px 18px; font-size: 11px;
    margin-top: 24px;
  }

  /* Footer */
  .footer { padding: 56px 18px 36px; }
  .footer-inner { gap: 32px; margin-bottom: 32px; }
  .footer-brand p { font-size: 13px; }
  .footer-bottom {
    flex-direction: column; align-items: flex-start;
    gap: 12px; padding-top: 20px; font-size: 10.5px;
  }
  .footer-bottom > div:last-child {
    display: flex; flex-wrap: wrap; gap: 14px;
  }
  .footer-bottom a { margin-left: 0; }

  /* WhatsApp FAB */
  .whatsapp-fab { right: 14px; bottom: 14px; }
}

/* ==================== VOICE FAB + MODAL ==================== */
.voice-fab {
  position: fixed; bottom: 88px; right: 24px; z-index: 60;
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, #1A1C25 0%, #D4B065 140%);
  border: 1px solid rgba(212,176,101,0.45);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 10px 30px rgba(212,176,101,0.30), 0 0 0 6px rgba(212,176,101,0.06);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.voice-fab:hover { transform: scale(1.08); box-shadow: 0 14px 40px rgba(212,176,101,0.45), 0 0 0 6px rgba(212,176,101,0.10); }
.voice-fab svg { width: 22px; height: 22px; color: var(--gold); }
@media (max-width: 820px) { .voice-fab { right: 14px; bottom: 76px; } }

.voice-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,7,11,0.78); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: voice-fade-in 200ms var(--ease);
}
@keyframes voice-fade-in { from { opacity: 0; } to { opacity: 1; } }

.voice-modal {
  background: #0A0C12; border: 1px solid rgba(212,176,101,0.30);
  border-radius: 14px; max-width: 480px; width: 100%; max-height: 85vh;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,176,101,0.10) inset;
  animation: voice-slide-up 280ms var(--ease);
}
@keyframes voice-slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.voice-modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 18px 20px 14px; border-bottom: 1px solid rgba(212,176,101,0.15);
  background: linear-gradient(180deg, rgba(212,176,101,0.04) 0%, transparent 100%);
}
.voice-modal-title {
  font-family: var(--mono, 'Geist Mono', monospace); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.voice-modal-sub { font-size: 14px; color: var(--ink); font-weight: 500; }
.voice-modal-close {
  background: transparent; border: 0; cursor: pointer; color: var(--ink-2);
  width: 32px; height: 32px; font-size: 26px; line-height: 1;
  border-radius: 6px; transition: background 200ms var(--ease), color 200ms var(--ease);
}
.voice-modal-close:hover { background: rgba(255,255,255,0.06); color: var(--ink); }

.voice-modal-body { padding: 20px; flex: 1; overflow-y: auto; }

.voice-roles-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px; margin-bottom: 16px;
}
.voice-role-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 18px 12px; gap: 6px; cursor: pointer;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(212,176,101,0.18);
  border-radius: 10px; color: var(--ink); text-align: center;
  transition: border-color 200ms var(--ease), background 200ms var(--ease), transform 200ms var(--ease);
}
.voice-role-card:hover { border-color: var(--gold); background: rgba(212,176,101,0.06); transform: translateY(-2px); }
.voice-role-icon { font-size: 32px; }
.voice-role-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.voice-role-sublabel { font-size: 11px; color: var(--ink-2); }

.voice-modal-hint {
  font-size: 11px; color: var(--ink-2); text-align: center;
  font-family: var(--mono, monospace); letter-spacing: 0.05em;
  padding-top: 8px; border-top: 1px solid rgba(212,176,101,0.10);
}

.voice-warning {
  background: rgba(212,176,101,0.08); border: 1px solid rgba(212,176,101,0.30);
  color: var(--gold); padding: 10px 12px; border-radius: 8px;
  font-size: 12px; margin-bottom: 14px; line-height: 1.4;
}

.voice-widget-host { min-height: 240px; display: flex; align-items: center; justify-content: center; }
.voice-modal-loading {
  font-family: var(--mono, monospace); font-size: 12px;
  color: var(--ink-2); text-align: center; padding: 30px;
}

.voice-back-btn {
  margin-top: 12px; background: transparent; border: 1px solid rgba(212,176,101,0.20);
  color: var(--ink-2); padding: 8px 14px; border-radius: 6px; cursor: pointer;
  font-size: 12px; font-family: var(--mono, monospace); letter-spacing: 0.06em;
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.voice-back-btn:hover { border-color: var(--gold); color: var(--gold); }

.voice-modal-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-top: 1px solid rgba(212,176,101,0.15);
  background: rgba(212,176,101,0.02);
}
.voice-footer-text { font-size: 12px; color: var(--ink-2); }
.voice-footer-cta {
  font-family: var(--mono, monospace); font-size: 11px; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--gold); text-decoration: none;
  border: 1px solid var(--gold); padding: 8px 14px; border-radius: 6px;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.voice-footer-cta:hover { background: var(--gold); color: #0A0C12; }
