/* ============================================================
   Kube2net — Landing Page
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #FFFFFF;
  --bg-warm: #FAFAF7;
  --surface: #F5F5F1;
  --surface-2: #EEEEE8;
  --panel: #FFFFFF;

  /* Ink */
  --ink: #0B0F1A;
  --ink-2: #1A1F2E;
  --muted: #5F6573;
  --faint: #9098A4;

  /* Lines */
  --border: #E6E5DF;
  --border-strong: #D2D1CB;
  --border-soft: #EFEEE8;

  /* Accents — Kube2net brand orange */
  --accent: #F47820;
  --accent-hover: #DD6713;
  --accent-soft: #FEF1E4;
  --accent-ink: #FFFFFF;

  --live: #10B981;
  --live-soft: #ECFDF5;
  --warn: #F59E0B;
  --warn-soft: #FEF3C7;
  --alert: #EF4444;
  --alert-soft: #FEE2E2;
  --priority: #7C3AED;

  /* Geometry */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-1: 0 1px 2px rgba(11, 15, 26, 0.04), 0 1px 1px rgba(11, 15, 26, 0.03);
  --shadow-2: 0 4px 12px rgba(11, 15, 26, 0.06), 0 1px 2px rgba(11, 15, 26, 0.04);
  --shadow-3: 0 20px 50px -20px rgba(11, 15, 26, 0.18), 0 8px 20px -10px rgba(11, 15, 26, 0.08);
  --shadow-console: 0 40px 80px -32px rgba(11, 15, 26, 0.28), 0 16px 40px -16px rgba(244, 120, 32, 0.18);

  /* Typography */
  --font-display: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-wide { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

.section { padding: 120px 0; }
.section-tight { padding: 80px 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.h-section {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.h-card {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background:
    radial-gradient(circle at 30% 30%, #FF9444, var(--accent) 60%);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 1px 2px rgba(244,120,32,0.3);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  background:
    conic-gradient(from 45deg, transparent 0 25%, rgba(255,255,255,0.85) 25% 30%, transparent 30% 50%, rgba(255,255,255,0.85) 50% 55%, transparent 55%);
  border-radius: 50%;
  mask: radial-gradient(circle, transparent 30%, #000 31%, #000 70%, transparent 71%);
  -webkit-mask: radial-gradient(circle, transparent 30%, #000 31%, #000 70%, transparent 71%);
}
.brand sup {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 2px;
  letter-spacing: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.06s ease, background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-primary:hover { background: #000; }
.btn-primary:active { transform: translateY(1px); }
.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 2px rgba(244,120,32,0.25), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--surface); }
.btn-link {
  height: auto;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(244, 120, 32, 0.10), transparent 60%),
    radial-gradient(700px 400px at -5% 30%, rgba(16, 185, 129, 0.05), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1.4fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 560px;
}
.hero h1 mark {
  background: linear-gradient(180deg, transparent 60%, rgba(244,120,32,0.18) 60%);
  color: inherit;
  padding: 0 2px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}
.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-meta-item .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Console mockup ---------- */
.console-wrap {
  position: relative;
}
.console {
  background: #FCFCFA;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-console);
  overflow: hidden;
  font-family: var(--font-body);
  position: relative;
  z-index: 2;
}
.console-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  background: linear-gradient(180deg, #FFFFFF, #F5F5F1);
  border-bottom: 1px solid var(--border);
}
.console-dots { display: flex; gap: 6px; }
.console-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #E2E2DC;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}
.console-dots span:nth-child(1) { background: #FF6058; }
.console-dots span:nth-child(2) { background: #FFBC2F; }
.console-dots span:nth-child(3) { background: #28C840; }
.console-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-left: 8px;
  letter-spacing: 0.02em;
}
.console-user {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.18);
}

.console-body {
  display: grid;
  grid-template-columns: 56px 1fr 230px;
  min-height: 520px;
}

/* Side rail */
.console-rail {
  background: #F8F8F5;
  border-right: 1px solid var(--border);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.rail-item {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  color: var(--faint);
  transition: background 0.15s, color 0.15s;
}
.rail-item:hover { background: #EFEEE8; color: var(--ink-2); }
.rail-item.active { background: var(--ink); color: #fff; }
.rail-item svg { width: 16px; height: 16px; }
.rail-sep { width: 22px; height: 1px; background: var(--border); margin: 6px 0; }

/* Main panel */
.console-main {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.console-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--border);
  margin: -4px -4px 0;
  padding: 0 4px;
}
.console-tab {
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 8px 12px;
  border-bottom: 1.5px solid transparent;
  margin-bottom: -1px;
}
.console-tab.active { color: var(--ink); border-bottom-color: var(--ink); }

.console-pages {
  display: flex;
  gap: 6px;
  align-items: center;
}
.console-page {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #fff;
}
.console-page.active { color: var(--ink); border-color: var(--ink); }
.console-page-meta { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--faint); }

/* Button grid */
.btn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.line-btn {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 11px;
  text-align: left;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: transform 0.08s, border-color 0.15s, box-shadow 0.15s;
  overflow: hidden;
}
.line-btn:hover { border-color: var(--border-strong); box-shadow: var(--shadow-1); }
.line-btn:active { transform: translateY(1px); }
.line-btn .label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.line-btn .sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.line-btn .badge {
  position: absolute;
  top: 8px; right: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--faint);
}
.line-btn .pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  align-self: flex-start;
  margin-top: auto;
}
.line-btn .pill .pip { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }

/* States */
.line-btn.active {
  background: var(--ink);
  border-color: var(--ink);
}
.line-btn.active .label,
.line-btn.active .sub { color: #fff; }
.line-btn.active .sub { color: rgba(255,255,255,0.6); }
.line-btn.active .pill {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.line-btn.active .pill .pip { background: var(--live); box-shadow: 0 0 0 2px rgba(16,185,129,0.35); }
.line-btn.active .badge { color: rgba(255,255,255,0.6); }

.line-btn.ringing {
  border-color: var(--warn);
  background: #FFFBEB;
  animation: ringPulse 1.4s ease-in-out infinite;
}
.line-btn.ringing .pill { background: var(--warn-soft); color: #92400E; }
.line-btn.ringing .pill .pip { background: var(--warn); }
@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3); }
  50% { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0); }
}

.line-btn.private {
  background: linear-gradient(180deg, #FFFFFF, #FAFAFF);
  border-color: #D9DEFF;
}
.line-btn.private .pill { background: var(--accent-soft); color: var(--accent); }
.line-btn.private .pill .pip { background: var(--accent); }

.line-btn.hoot .pill { background: #FFF1EC; color: #C2410C; }
.line-btn.hoot .pill .pip { background: #EA580C; }

.line-btn.conference .pill { background: #F3E8FF; color: var(--priority); }
.line-btn.conference .pill .pip { background: var(--priority); }

.line-btn.empty {
  background: transparent;
  border-style: dashed;
  border-color: #DDDCD6;
  align-items: center;
  justify-content: center;
  color: var(--faint);
  font-size: 18px;
  min-height: 86px;
}
.line-btn.empty:hover { border-color: var(--accent); color: var(--accent); }

.prio-stripe {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
}
.line-btn.hoot .prio-stripe { background: #EA580C; }
.line-btn.conference .prio-stripe { background: var(--priority); }
.line-btn.active .prio-stripe { background: var(--live); }
.line-btn.ringing .prio-stripe { background: var(--warn); }
.line-btn.empty .prio-stripe { display: none; }

/* Bottom controls */
.console-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.ctrl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: #fff;
}
.ctrl.on { color: var(--live); border-color: #BBF7D0; background: var(--live-soft); }
.ctrl.off { color: var(--alert); border-color: #FECACA; background: var(--alert-soft); }
.ctrl svg { width: 12px; height: 12px; }
.ctrl-spacer { flex: 1; }
.vumeter {
  display: inline-flex;
  gap: 2px;
  align-items: end;
  height: 14px;
}
.vumeter span {
  width: 3px;
  background: var(--live);
  border-radius: 1px;
  animation: vu 1s ease-in-out infinite;
}
.vumeter span:nth-child(1) { height: 6px; animation-delay: 0s; }
.vumeter span:nth-child(2) { height: 12px; animation-delay: 0.1s; }
.vumeter span:nth-child(3) { height: 9px; animation-delay: 0.2s; }
.vumeter span:nth-child(4) { height: 13px; animation-delay: 0.3s; }
.vumeter span:nth-child(5) { height: 7px; animation-delay: 0.4s; }
@keyframes vu {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

/* Right rail */
.console-side {
  background: #FAFAF7;
  border-left: 1px solid var(--border);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.side-h {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.presence-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.presence-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-2);
}
.avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  display: grid; place-items: center;
  color: #fff;
  position: relative;
  flex-shrink: 0;
}
.av-1 { background: #2547FF; }
.av-2 { background: #0F766E; }
.av-3 { background: #7C3AED; }
.av-4 { background: #DC2626; }
.av-5 { background: #B45309; }
.av-6 { background: #1F2937; }
.avatar::after {
  content: ""; position: absolute;
  bottom: -1px; right: -1px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--live);
  border: 2px solid #FAFAF7;
}
.avatar.away::after { background: var(--warn); }
.avatar.offline::after { background: var(--faint); }
.presence-row .name { flex: 1; }
.presence-row .role {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--faint);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Conference card */
.conf-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.conf-card .title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
}
.conf-card .rec {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--alert);
  letter-spacing: 0.06em;
}
.conf-card .rec .pip {
  width: 5px; height: 5px; border-radius: 50%; background: var(--alert);
  box-shadow: 0 0 0 2px rgba(239,68,68,0.15);
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }
.conf-stack {
  display: flex; gap: -6px;
}
.conf-stack .avatar { margin-left: -8px; width: 22px; height: 22px; font-size: 9px; border: 2px solid #fff; }
.conf-stack .avatar:first-child { margin-left: 0; }
.conf-stack .avatar::after { display: none; }
.conf-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}

/* Waveform */
.wave {
  display: flex;
  align-items: end;
  gap: 2px;
  height: 22px;
  margin-top: 4px;
}
.wave span {
  width: 2px;
  border-radius: 1px;
  background: var(--accent);
  opacity: 0.6;
  animation: wave 1.4s ease-in-out infinite;
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* Floating notification */
.float-toast {
  position: absolute;
  top: 28px; right: -16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-3);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  animation: toastFloat 6s ease-in-out infinite;
}
@keyframes toastFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.float-toast .icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.float-toast .txt { font-size: 12px; line-height: 1.3; }
.float-toast .txt strong { font-weight: 500; color: var(--ink); display: block; }
.float-toast .txt span { color: var(--muted); font-size: 11px; }

/* Bottom accent card */
.float-card {
  position: absolute;
  bottom: -28px; left: -32px;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-3);
  z-index: 3;
  min-width: 220px;
}
.float-card .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 6px;
}
.float-card .label .pip {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--live); box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
}
.float-card .val {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.float-card .sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 720px) {
  .console-body { grid-template-columns: 1fr; }
  .console-rail, .console-side { display: none; }
  .float-toast, .float-card { display: none; }
}

/* ---------- Logo strip ---------- */
.logos {
  padding: 56px 0 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-warm);
}
.logos-lead {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.logos-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
}
@media (max-width: 880px) { .logos-row { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } }
.logo-slot {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--muted);
  text-align: center;
  opacity: 0.78;
}
.logo-slot small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--faint);
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 2px;
}

/* ---------- Section header ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 700px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }

/* ---------- Models (Acquisition models) ---------- */
.models {
  background: var(--bg);
}
.models-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 8px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 8px;
}
@media (max-width: 920px) { .models-shell { grid-template-columns: 1fr; } }
.models-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
}
@media (max-width: 920px) { .models-tabs { flex-direction: row; overflow-x: auto; padding: 8px; gap: 6px; } }
.model-tab {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 12px;
  text-align: left;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.model-tab:hover { background: rgba(255,255,255,0.5); }
.model-tab.active { background: #fff; border-color: var(--border); box-shadow: var(--shadow-1); }
.model-tab .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  width: 22px;
  flex-shrink: 0;
  padding-top: 2px;
  letter-spacing: 0.04em;
}
.model-tab.active .num { color: var(--accent); }
.model-tab .title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 4px;
}
.model-tab .sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}
@media (max-width: 920px) {
  .model-tab { min-width: 220px; flex-shrink: 0; }
}

.model-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  min-height: 460px;
}
@media (max-width: 1080px) { .model-panel { grid-template-columns: 1fr; } }

.model-detail h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
  line-height: 1.1;
}
.model-detail p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 22px;
  text-wrap: pretty;
}
.model-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.model-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.model-checklist .chk {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-top: 1px;
}
.model-checklist .chk svg { width: 10px; height: 10px; }

.model-diagram {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.diagram-h {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.diagram-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink-2);
  position: relative;
}
.diagram-node.dimmed { opacity: 0.35; }
.diagram-node.accent { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.diagram-node .icon {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: var(--surface);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.diagram-node.accent .icon { background: var(--accent); color: #fff; }
.diagram-node .icon svg { width: 12px; height: 12px; }
.diagram-node .tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--faint);
  letter-spacing: 0.04em;
}
.diagram-connector {
  height: 14px;
  width: 1px;
  background: var(--border-strong);
  margin: 0 auto;
  position: relative;
}
.diagram-connector::after {
  content: "";
  position: absolute;
  left: -3px; top: 4px;
  width: 7px; height: 7px;
  border-right: 1.5px solid var(--border-strong);
  border-bottom: 1.5px solid var(--border-strong);
  transform: rotate(45deg);
}

/* ---------- Unified platform grid ---------- */
.uplatform {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 880px) { .feat-grid { grid-template-columns: 1fr; } }
.feat-cell {
  background: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  position: relative;
  transition: background 0.18s;
}
.feat-cell:hover { background: var(--bg-warm); }
.feat-cell .glyph {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
}
.feat-cell.cyan .glyph { background: var(--accent); }
.feat-cell.green .glyph { background: var(--live); }
.feat-cell.violet .glyph { background: var(--priority); }
.feat-cell.amber .glyph { background: var(--warn); color: var(--ink); }
.feat-cell.red .glyph { background: var(--alert); }
.feat-cell .glyph svg { width: 18px; height: 18px; }
.feat-cell h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
}
.feat-cell p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.feat-cell .tag {
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--faint);
  letter-spacing: 0.04em;
}

/* ---------- AI Recording section ---------- */
.airec-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 1000px) { .airec-grid { grid-template-columns: 1fr; gap: 40px; } }
.airec-bullets {
  display: flex;
  flex-direction: column;
  gap: 18px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.airec-bullets li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.airec-bullets li:last-child { border-bottom: 0; }
.airec-bullets .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 3px;
  letter-spacing: 0.04em;
}
.airec-bullets h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.airec-bullets p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.transcript {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.transcript-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fff, #FAFAF7);
}
.transcript-head .rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--alert);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.transcript-head .rec .pip {
  width: 6px; height: 6px; border-radius: 50%; background: var(--alert);
  animation: blink 1.4s ease-in-out infinite;
}
.transcript-head .title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.transcript-head .meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.transcript-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tline {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}
.tline .av {
  width: 24px; height: 24px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 9px;
  color: #fff;
  display: grid; place-items: center;
  margin-top: 2px;
}
.tline .who {
  display: flex; gap: 10px; align-items: baseline;
  margin-bottom: 4px;
}
.tline .who .name { font-size: 12px; font-weight: 500; }
.tline .who .ts {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--faint);
  letter-spacing: 0.03em;
}
.tline .said {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}
.tline .said mark {
  background: var(--warn-soft);
  color: var(--ink);
  padding: 0 2px;
  border-radius: 3px;
}
.tline.flag .said {
  background: var(--alert-soft);
  border-left: 2px solid var(--alert);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
}
.tline.flag .said::before {
  content: "⚠ Riesgo de cumplimiento detectado · Front-running";
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--alert);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.transcript-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
}
.metadata-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink-2);
  border: 1px solid var(--border);
}
.chip strong { color: var(--accent); font-weight: 500; }

/* ---------- Compliance section ---------- */
.compliance {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.compliance::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(244,120,32,0.22), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(16,185,129,0.06), transparent 60%);
  pointer-events: none;
}
.compliance .h-section, .compliance h2, .compliance h3 { color: #fff; }
.compliance .lede { color: rgba(255,255,255,0.65); }
.compliance .eyebrow { color: #6DDDFF; }
.compliance .eyebrow::before { background: #6DDDFF; }

.comp-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 1000px) { .comp-grid { grid-template-columns: 1fr; } }
.comp-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.comp-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: center;
}
.comp-list .ico {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
}
.comp-list .ico svg { width: 14px; height: 14px; color: #6DDDFF; }
.comp-list .name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  display: block;
}
.comp-list .desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}
.comp-list .badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.65);
}

.audit-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(20px);
}
.audit-panel h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 16px;
  display: flex; align-items: center; gap: 10px;
}
.audit-panel h4 .pip {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--live); box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
}
.audit-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 12px;
  padding: 10px 0;
  font-size: 12px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.audit-row:first-of-type { border-top: 0; }
.audit-row .ts {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}
.audit-row .event {
  color: rgba(255,255,255,0.9);
}
.audit-row .event small { color: rgba(255,255,255,0.5); display: block; font-size: 11px; }
.audit-row .status {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(16,185,129,0.15);
  color: #6EE7B7;
  text-transform: uppercase;
}
.audit-row .status.warn { background: rgba(245,158,11,0.15); color: #FCD34D; }
.audit-row .status.alert { background: rgba(239,68,68,0.15); color: #FCA5A5; }

/* ---------- Security & K8s ---------- */
.sec-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 1000px) { .sec-grid { grid-template-columns: 1fr; gap: 40px; } }
.sec-points { display: flex; flex-direction: column; gap: 22px; margin-top: 24px; }
.sec-point {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.sec-point:first-child { border-top: 0; padding-top: 0; }
.sec-point .ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.sec-point .ico svg { width: 16px; height: 16px; }
.sec-point h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.sec-point p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Architecture diagram */
.arch {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.arch::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,15,26,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,15,26,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  pointer-events: none;
}
.arch-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  position: relative;
}
.arch-h h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.arch-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--live);
  letter-spacing: 0.05em;
}
.arch-tag .pip {
  width: 6px; height: 6px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
}

.arch-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.arch-row {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.arch-row .label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.arch-row .items { display: flex; gap: 8px; flex-wrap: wrap; }
.arch-row.cloud {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.arch-row.cloud .label { color: rgba(255,255,255,0.5); }
.arch-pod {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-2);
  font-family: var(--font-mono);
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.arch-pod .pip { width: 5px; height: 5px; border-radius: 50%; background: var(--live); }
.arch-row.cloud .arch-pod {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
}
.arch-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 14px;
  position: relative;
}
.arch-connector::before {
  content: "";
  width: 1px; height: 100%;
  background: var(--border-strong);
}

/* ---------- Feature table ---------- */
.ftable-wrap {
  background: var(--bg);
}
.ftable-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.search-input {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.search-input input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  color: var(--ink);
  font-size: 14px;
}
.search-input svg { color: var(--muted); flex-shrink: 0; }
.filter-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.fchip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink-2);
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}
.fchip:hover { border-color: var(--border-strong); }
.fchip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.fchip .count { color: var(--faint); margin-left: 4px; }
.fchip.active .count { color: rgba(255,255,255,0.55); }

.ftable {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.ftable-row {
  display: grid;
  grid-template-columns: 280px 1fr 120px;
  gap: 24px;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  align-items: start;
}
.ftable-row:first-child { border-top: 0; }
.ftable-row:nth-child(even) { background: var(--bg-warm); }
.ftable-row.hidden { display: none; }
@media (max-width: 760px) {
  .ftable-row { grid-template-columns: 1fr; gap: 8px; }
}
.ft-name {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ft-name .ico {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.ft-name .ico svg { width: 12px; height: 12px; }
.ft-name h5 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.ft-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.ft-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 8px;
  background: var(--surface);
  border-radius: 5px;
  align-self: start;
  white-space: nowrap;
}

/* ---------- Specs ---------- */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 880px) { .specs-grid { grid-template-columns: 1fr; } }
.spec-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.spec-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: -0.015em;
}
.spec-card .stag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}
.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--ink-2);
}
.spec-list li:first-child { border-top: 0; }
.spec-list .k { color: var(--muted); }
.spec-list .v {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: -0.005em;
  text-align: right;
  color: var(--ink);
}

/* ---------- CTA section ---------- */
.cta {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
}
.cta-card {
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 90% 20%, rgba(244,120,32,0.30), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(16,185,129,0.1), transparent 60%);
  pointer-events: none;
}
@media (max-width: 880px) {
  .cta-card { grid-template-columns: 1fr; padding: 44px 32px; }
}
.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: #fff;
  position: relative;
  text-wrap: balance;
}
.cta-card p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  margin: 0 0 28px;
  line-height: 1.55;
  max-width: 50ch;
  position: relative;
}
.cta-card .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.cta-card .btn-primary {
  background: #fff; color: var(--ink);
}
.cta-card .btn-primary:hover { background: #f0f0e8; }
.cta-card .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.cta-card .btn-ghost:hover { background: rgba(255,255,255,0.06); }

.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  backdrop-filter: blur(10px);
}
.contact-card .role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.contact-card .name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 6px 0 4px;
}
.contact-card .title {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.contact-card .lines { display: flex; flex-direction: column; gap: 8px; }
.contact-card .lines a, .contact-card .lines span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.005em;
}
.contact-card .lines a:hover { color: #fff; }
.contact-card .lines svg { width: 14px; height: 14px; color: rgba(255,255,255,0.45); }

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0 36px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--ink-2); }
.footer ul a:hover { color: var(--accent); }
.footer .fbrand-desc {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
  max-width: 36ch;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Tweaks panel ---------- */
.tweaks-toggle {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 60;
  background: var(--ink);
  color: #fff;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-3);
}
.tweaks-toggle svg { width: 14px; height: 14px; }
.tweaks-panel {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-3);
  z-index: 60;
  padding: 18px;
  display: none;
  font-family: var(--font-body);
}
.tweaks-panel.open { display: block; }
.tweaks-panel h6 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 8px;
}
.tweaks-panel h6:first-child { margin-top: 0; }
.tweaks-panel .swatch-row { display: flex; gap: 8px; }
.swatch {
  width: 30px; height: 30px;
  border-radius: 8px;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: transform 0.1s, border-color 0.1s;
}
.swatch:hover { transform: scale(1.05); }
.swatch.active { border-color: var(--ink); }
.tweaks-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 8px;
}
.tweaks-title .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tweaks-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 22px; height: 22px;
  border-radius: 6px;
  display: grid; place-items: center;
  color: var(--muted);
}
.tweaks-close:hover { background: var(--surface); color: var(--ink); }

/* ===========================================================
   Real-product image frames
   =========================================================== */
.brand-mark-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(244,120,32,0.25));
}

.shot {
  position: relative;
  background: #0E1320;
  border: 1px solid #1F2536;
  border-radius: 14px;
  box-shadow: var(--shadow-console);
  overflow: hidden;
}
.shot-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  background: linear-gradient(180deg, #141B2A, #0E1320);
  border-bottom: 1px solid #1F2536;
}
.shot-titlebar .dots { display: inline-flex; gap: 6px; }
.shot-titlebar .dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #2B3447;
}
.shot-titlebar .dots span:nth-child(1) { background: #FF6058; }
.shot-titlebar .dots span:nth-child(2) { background: #FFBC2F; }
.shot-titlebar .dots span:nth-child(3) { background: #28C840; }
.shot-titlebar .url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6B7280;
  margin-left: 8px;
  letter-spacing: 0.02em;
}
.shot-titlebar .live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #34D399;
  letter-spacing: 0.06em;
}
.shot-titlebar .live .pip {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 3px rgba(52,211,153,0.18);
}
.shot-img {
  display: block;
  width: 100%;
  height: auto;
}
.shot-img-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* Hero shot wrapper */
.hero-shot-wrap {
  position: relative;
  perspective: 1600px;
}
.hero-shot {
  transform: rotate(0.4deg);
  transition: transform 0.4s ease;
}
.hero-shot:hover { transform: rotate(0deg) translateY(-4px); }

/* Floating overlay images on hero */
.float-shot {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  background: #0E1320;
  border: 1px solid #1F2536;
  box-shadow: var(--shadow-3);
  z-index: 3;
  animation: toastFloat 6s ease-in-out infinite;
}
.float-shot img { display: block; width: 100%; height: auto; }

.hero-float-1 {
  width: 180px;
  top: -28px;
  left: -36px;
}
.hero-float-2 {
  width: 220px;
  bottom: -32px;
  right: -28px;
  animation-delay: 1.5s;
}
@media (max-width: 1080px) {
  .hero-float-1, .hero-float-2 { display: none; }
}

/* Architecture diagram image */
.arch-image-frame {
  background: linear-gradient(180deg, #FAFAF7, #F5F5F1);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.arch-image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,15,26,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,15,26,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.arch-image-frame .arch-h { z-index: 1; }
.arch-image-frame img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}
.arch-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}
.arch-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.arch-legend-swatch {
  width: 14px; height: 4px; border-radius: 2px;
  background: var(--accent);
}
.arch-legend-swatch.dash { background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 7px); height: 2px; }
.arch-legend-swatch.solid-blue { background: #3B82F6; }
.arch-legend-swatch.solid-blue-dash { background: repeating-linear-gradient(90deg, #3B82F6 0 4px, transparent 4px 7px); height: 2px; }

/* Gateway hardware card */
.gw-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 28px;
}
@media (max-width: 720px) { .gw-card { grid-template-columns: 1fr; } }
.gw-photo {
  background: linear-gradient(135deg, #0E1320, #1A2236);
  padding: 36px;
  display: grid;
  place-items: center;
  position: relative;
}
.gw-photo::before {
  content: "K2NN100";
  position: absolute;
  top: 18px; left: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}
.gw-photo img {
  max-width: 100%;
  height: auto;
}
.gw-info {
  padding: 28px;
}
.gw-info h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.gw-info .stag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.gw-info p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 18px;
}

/* Gallery */
.gallery {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 960px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  background: #0E1320;
  border: 1px solid #1F2536;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}
.gallery-img {
  background: #0E1320;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.gallery-caption {
  padding: 14px 16px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.gallery-caption h5 {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.gallery-caption p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* Recording details inline (replaces fake transcript) */
.recdet {
  background: #0E1320;
  border: 1px solid #1F2536;
  border-radius: 14px;
  box-shadow: var(--shadow-console);
  overflow: hidden;
}
.recdet-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #141B2A, #0E1320);
  border-bottom: 1px solid #1F2536;
}
.recdet-head .dots { display: inline-flex; gap: 6px; }
.recdet-head .dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #2B3447;
}
.recdet-head .dots span:nth-child(1) { background: #FF6058; }
.recdet-head .dots span:nth-child(2) { background: #FFBC2F; }
.recdet-head .dots span:nth-child(3) { background: #28C840; }
.recdet-head .url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6B7280;
  letter-spacing: 0.02em;
}
.recdet-img {
  width: 100%;
  display: block;
}

/* Compliance: dark panel uses image */
.audit-image-shot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: #0E1320;
}
.audit-image-shot img {
  width: 100%; height: auto;
  display: block;
}

/* Themes for tweaks */
[data-theme="orange"]   { --accent: #F47820; --accent-hover: #DD6713; --accent-soft: #FEF1E4; }
[data-theme="amber"]    { --accent: #D97706; --accent-hover: #B45309; --accent-soft: #FEF3C7; }
[data-theme="graphite"] { --accent: #1F2937; --accent-hover: #0B0F1A; --accent-soft: #F1F1EF; }
[data-theme="crimson"]  { --accent: #DC2626; --accent-hover: #B91C1C; --accent-soft: #FEE2E2; }
[data-theme="amber"]  { --accent: #D97706; --accent-hover: #B45309; --accent-soft: #FEF3C7; }
[data-theme="graphite"] { --accent: #1F2937; --accent-hover: #0B0F1A; --accent-soft: #F1F1EF; }
[data-theme="crimson"]  { --accent: #DC2626; --accent-hover: #B91C1C; --accent-soft: #FEE2E2; }

/* Dark mode */
[data-mode="dark"] {
  --bg: #0A0E18;
  --bg-warm: #0E1320;
  --surface: #141929;
  --surface-2: #1B2030;
  --panel: #141929;
  --ink: #F5F5F1;
  --ink-2: #E8E8E2;
  --muted: #8B92A3;
  --faint: #5F6573;
  --border: #1F2536;
  --border-strong: #2D3346;
  --border-soft: #161B2A;
  --accent-soft: rgba(244,120,32,0.20);
}
[data-mode="dark"] .nav { background: rgba(10,14,24,0.78); }
[data-mode="dark"] .console,
[data-mode="dark"] .arch-row,
[data-mode="dark"] .transcript,
[data-mode="dark"] .feat-cell,
[data-mode="dark"] .ftable,
[data-mode="dark"] .model-panel,
[data-mode="dark"] .spec-card,
[data-mode="dark"] .conf-card,
[data-mode="dark"] .ftable-controls,
[data-mode="dark"] .search-input,
[data-mode="dark"] .fchip { background: var(--surface); }
[data-mode="dark"] .console-titlebar,
[data-mode="dark"] .console-rail,
[data-mode="dark"] .console-side { background: var(--surface-2); }
[data-mode="dark"] .line-btn { background: var(--surface-2); }
[data-mode="dark"] .line-btn.active { background: var(--ink); }
[data-mode="dark"] .line-btn.active .label,
[data-mode="dark"] .line-btn.active .sub { color: var(--bg); }
[data-mode="dark"] .console-page { background: var(--surface-2); color: var(--ink-2); }
[data-mode="dark"] .ctrl { background: var(--surface-2); }
[data-mode="dark"] .arch { background: var(--surface); }
[data-mode="dark"] .arch-pod { background: var(--surface-2); color: var(--ink-2); }
[data-mode="dark"] .ftable-row:nth-child(even) { background: var(--surface-2); }
[data-mode="dark"] .uplatform { background: var(--bg-warm); }
[data-mode="dark"] .logos { background: var(--bg-warm); }
[data-mode="dark"] .footer { background: var(--bg-warm); }
[data-mode="dark"] .btn-primary { background: var(--ink); color: var(--bg); }
[data-mode="dark"] .feat-grid { background: var(--border); }
[data-mode="dark"] .feat-cell .glyph { background: var(--accent); color: #fff; }
[data-mode="dark"] .conf-card { background: var(--surface-2); }
[data-mode="dark"] .float-toast { background: var(--surface-2); }
[data-mode="dark"] .nav.scrolled { border-bottom-color: var(--border); }
[data-mode="dark"] .search-input input { color: var(--ink); }
[data-mode="dark"] .float-card { background: var(--surface-2); border: 1px solid var(--border); }
[data-mode="dark"] body { background: var(--bg); color: var(--ink); }
[data-mode="dark"] .tweaks-panel { background: var(--surface-2); }
