/* =========================================================
   ORBITABLE — Design System
   "Sala de control" — flat industrial instrument-panel UI
   ========================================================= */

:root {
  --bg-0: #0a0b0d;
  --bg-1: #101215;
  --bg-2: #141619;
  --bg-3: #1a1d21;
  --line: #2a2d33;
  --line-soft: #23262b;

  --blue: #3fa9ff;
  --blue-soft: rgba(63, 169, 255, 0.08);
  --green: #34d399;
  --red: #f87171;
  --amber: #fbbf24;

  --text-0: #f5efe3;
  --text-1: #e9e4d8;
  --text-2: #aab0b8;
  --text-3: #7a8088;

  --radius: 2px;
  --container: 1340px;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-mono); color: var(--text-0); font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.mono { font-family: var(--font-mono); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 30px 0; position: relative; }
.section-tight { padding: 64px 0; }

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section-tight { padding: 36px 0; }
  .container { padding: 0 22px; }
}

/* Background texture: faint grid */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  pointer-events: none;
}

.watermark {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--text-3);
  opacity: 0.5;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Eyebrow / kicker — bordered tag box, not a soft pill */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  background: transparent;
  border: 1px solid var(--blue);
  padding: 6px 12px;
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.kicker::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue);
  flex-shrink: 0;
  animation: pulse-dot 1.8s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Buttons — square, flat, uppercase mono */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.15s ease;
  white-space: nowrap;
  font-family: var(--font-mono);
}
.btn-primary {
  background: var(--blue);
  color: #0a0b0d;
}
.btn-primary:hover { opacity: 0.85; }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text-1);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg { padding: 16px 30px; font-size: 12.5px; }
.btn-block { width: 100%; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,11,13,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-weight: 700; font-size: 18px; color: var(--text-0); letter-spacing: 0.02em; }

/* Logo mark (SVG icon + wordmark) — flat, single color */
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
}
.logo-mark .logo-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.logo-mark .logo-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-0);
  line-height: 1;
}
.logo-mark.logo-mark-sm .logo-icon { width: 22px; height: 22px; }
.logo-mark.logo-mark-sm .logo-text { font-size: 14px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-tel { font-size: 12.5px; color: var(--text-3); font-family: var(--font-mono); display: flex; align-items: center; gap: 6px;}

/* Language switch */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 11px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lang-switch svg { width: 14px; height: 14px; flex-shrink: 0; }
.lang-switch:hover { border-color: var(--blue); color: var(--blue); }
.mobile-menu .lang-switch { margin-top: 10px; width: fit-content; }
.nav-tel svg { width: 14px; height: 14px; }

.nav-toggle { display: none; background: none; border: none; color: var(--text-0); cursor: pointer; }

@media (max-width: 900px) {
  .nav-links, .nav-tel { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .navbar-inner { padding: 16px 22px; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 22px 24px;
  border-top: 1px solid var(--line-soft);
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 6px;
  color: var(--text-1);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 14px; }

/* Top ticker bar */
.topbar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
}
.topbar-inner a { color: var(--text-3); }
.topbar-inner a:hover { color: var(--blue); }
.topbar-right { display: flex; gap: 22px; }
@media (max-width: 720px) { .topbar-inner { display: none; } }

/* Hero */
.hero {
  position: relative;
  padding: 20px 0 30px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-size: clamp(32px, 4vw, 50px);
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: var(--blue);
}
.hero p.lead {
  font-size: 15px;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 34px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
.hero-stat .num { font-family: var(--font-mono); font-size: 24px; font-weight: 700; color: var(--text-0); }
.hero-stat .lbl { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; }

/* Panel / instrument mockup — flat, square, bordered */
.panel {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.panel-dot { display: none; }
.panel-title { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.panel-body { padding: 20px; }

.map-mock {
  position: relative;
  height: 260px;
  border-radius: var(--radius);
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.map-mock::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(148,163,184,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.map-node {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--blue);
  animation: pulse-dot 2.4s infinite ease-in-out;
}
.map-node.b { background: var(--amber); }
.map-node.g { background: var(--green); }
.map-path {
  position: absolute;
  border-top: 1.5px dashed rgba(63,169,255,0.35);
}

.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.metric-card {
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px;
}
.metric-card .k { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.metric-card .v { font-family: var(--font-mono); font-size: 20px; color: var(--blue); margin-top: 8px; font-weight: 700; }
.metric-card .v.up { color: var(--blue); }

/* readout boxes — used inside instrument panels */
.readout { border: 1px solid var(--line-soft); padding: 14px; }
.readout .k { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.readout .v { font-size: 20px; color: var(--blue); margin-top: 8px; font-weight: 700; font-family: var(--font-mono); }

/* Section headers */
.sec-head { margin-bottom: 20px; position: relative; z-index: 1; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 14px; }
.sec-head p { color: var(--text-2); font-size: 14.5px; }

/* Cards grid (kept, restyled flat/square) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s ease;
}
.card:hover { border-color: var(--blue); }
.card-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--blue);
  margin-bottom: 18px;
}
.card-icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 16px; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 13.5px; }

/* ============ Manifest list — numbered rows, replaces card grids ============ */
.spec-list { border-top: 1px solid var(--line); position: relative; z-index: 1; }
.spec-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.spec-row .spec-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  color: var(--blue);
}
.spec-row .spec-body { max-width: 720px; }
.spec-row h3 { font-size: 17px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.02em; }
.spec-row p { color: var(--text-2); font-size: 14px; }
@media (max-width: 640px) { .spec-row { grid-template-columns: 40px 1fr; gap: 14px; padding: 22px 0; } .spec-row .spec-num { font-size: 16px; } }

/* Product card — flat bordered, square corners, mono label */
.product-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: attr(data-num);
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 34px;
  color: var(--line);
  line-height: 1;
  pointer-events: none;
}
.product-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  position: relative;
}
.product-card h3 { font-size: 19px; position: relative; text-transform: uppercase; letter-spacing: 0.01em; }
.product-card p { color: var(--text-2); font-size: 13.5px; position: relative; }
.product-card .feat-list { margin-top: 4px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.product-card .feat-list li { font-size: 12.5px; color: var(--text-1); display: flex; gap: 8px; align-items: flex-start; }
.product-card .feat-list li::before { content: '›'; color: var(--blue); font-weight: 700; flex-shrink: 0; }
.product-card .more { margin-top: auto; color: var(--blue); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 6px; position: relative; }

/* Logos / trust strip */
.trust-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item { text-align: center; }
.trust-item .num { font-family: var(--font-mono); font-weight: 700; font-size: 15px; color: var(--text-0); text-transform: uppercase; }
.trust-item .lbl { font-size: 10px; color: var(--text-3); margin-top: 4px; letter-spacing: 0.06em; text-transform: uppercase; }

/* CTA banner — bordered box, no gradient */
.cta-banner {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 54px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--blue);
}
.cta-banner h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 14px; position: relative; }
.cta-banner p { color: var(--text-2); margin-bottom: 30px; position: relative; font-size: 14px; }
.cta-banner .hero-actions { justify-content: center; position: relative; }

/* Footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--text-3); font-size: 12.5px; margin-top: 14px; max-width: 280px; line-height: 1.7; }
.footer h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 16px; font-weight: 700; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 13px; color: var(--text-2); }
.footer ul a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 11px; color: var(--text-3); flex-wrap: wrap; gap: 12px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 32px; height: 32px; border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
}
.social-row a:hover { color: var(--blue); border-color: var(--blue); }

/* Page hero (interior pages) */
.page-hero {
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.breadcrumb { font-size: 11.5px; color: var(--text-3); margin-bottom: 18px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--blue); }

/* Use case tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 12px;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--text-2);
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.tag-cloud .tci {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 16px;
}
.tag-cloud .tci.lg { color: var(--blue); border-color: var(--blue); }
.tag-cloud .tci.md { color: var(--text-1); }
.tag-cloud .tci.sm { color: var(--text-3); padding: 10px 12px; }

/* Feature detail rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; gap: 30px; } }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
@media (max-width: 900px) { .feature-row.reverse .feature-copy, .feature-row.reverse .feature-visual { order: unset; } }
.feature-copy h3 { font-size: 21px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.01em; }
.feature-copy p { color: var(--text-2); margin-bottom: 20px; font-size: 14px; }
.feature-copy ul { display: flex; flex-direction: column; gap: 12px; }
.feature-copy ul li { font-size: 13.5px; color: var(--text-1); display: flex; gap: 10px; }
.feature-copy ul li::before { content: '›'; color: var(--blue); font-weight: 700; }

/* ============ Timeline — restyled as bordered numbered steps ============ */
.timeline { position: relative; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.timeline::before { content: none; }
@media (min-width: 900px) {
  .timeline { flex-direction: row; align-items: stretch; }
}
.tl-item { position: relative; padding: 24px 0; border-bottom: 1px solid var(--line); flex: 1; }
@media (min-width: 900px) {
  .tl-item { padding: 26px 24px; border-bottom: none; border-right: 1px solid var(--line); }
  .tl-item:last-child { border-right: none; }
}
.tl-item .num-badge {
  width: 34px; height: 34px;
  border: 1px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 16px;
}
.tl-item h4 { font-size: 14px; color: var(--text-0); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em; }
.tl-item p { font-size: 12.5px; color: var(--text-2); }

/* legacy steps grid */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 0; }
.step .num-badge {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 16px;
}
.step h4 { font-size: 14px; color: var(--text-0); margin-bottom: 8px; text-transform: uppercase; }
.step p { font-size: 12.5px; color: var(--text-2); }

/* Form */
.form-panel { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 11px; color: var(--text-3); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.field input, .field select, .field textarea {
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text-0);
  font-family: var(--font-mono);
  font-size: 13.5px;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-1);
  margin-bottom: 12px;
}
.contact-info-card .ic { color: var(--blue); flex-shrink: 0; }
.contact-info-card .ic svg { width: 18px; height: 18px; }
.contact-info-card h4 { font-size: 12.5px; color: var(--text-0); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.contact-info-card p { font-size: 12.5px; color: var(--text-2); }

/* Legacy industry pill list */
.industry-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.industry-pill {
  flex: 1 1 200px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.industry-pill .ic { color: var(--blue); }
.industry-pill span { font-size: 13px; color: var(--text-1); font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em; }

/* Reveal — contenido visible desde el inicio, sin depender de scroll/JS */
.reveal { opacity: 1; transform: none; }

/* ============ Device status panel (e.g. EnergyMonitor motor card) ============ */
.status-panel {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.status-panel .sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-2);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.status-panel .sp-badge .dot { width: 7px; height: 7px; flex-shrink: 0; }
.status-panel .sp-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue);
}
.status-panel .sp-icon svg { width: 26px; height: 26px; }
.status-panel .sp-time {
  font-family: var(--font-mono);
  font-size: 24px; font-weight: 700;
  color: var(--text-0);
  text-align: center;
}
.status-panel .sp-time-lbl {
  font-size: 11px; color: var(--text-3);
  text-align: center; margin-top: 4px; margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.status-panel .sp-stats { display: flex; flex-direction: column; gap: 0; }
.status-panel .sp-stat {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--text-2);
  padding: 10px 0; border-bottom: 1px solid var(--line-soft);
  text-transform: uppercase; letter-spacing: 0.03em;
}
.status-panel .sp-stat:last-child { border-bottom: none; }
.status-panel .sp-stat span:last-child { color: var(--text-0); font-weight: 700; font-family: var(--font-mono); font-size: 12.5px; }
.status-panel .sp-stat.warn span:last-child { color: var(--amber); }
.status-panel .sp-stat.ok span:last-child { color: var(--green); }

/* ============ Line chart mock ============ */
.chart-mock {
  position: relative;
  border-radius: var(--radius);
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  padding: 16px 14px 10px;
}
.chart-mock svg { width: 100%; height: auto; display: block; }
.chart-legend {
  display: flex; gap: 18px;
  font-size: 11px; color: var(--text-3);
  margin-bottom: 10px; padding-left: 2px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.chart-legend .lg-item { display: flex; align-items: center; gap: 6px; }
.chart-legend .sw { width: 14px; height: 3px; flex-shrink: 0; }

/* ============ Event / status log ============ */
.event-log { display: flex; flex-direction: column; }
.event-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}
.event-item:last-child { border-bottom: none; }
.event-item .evt-dot { width: 8px; height: 8px; flex-shrink: 0; }
.event-item .evt-dot.park { background: var(--red); }
.event-item .evt-dot.drive { background: var(--green); }
.event-item .evt-label { color: var(--text-0); font-weight: 700; min-width: 78px; text-transform: uppercase; }
.event-item .evt-sub { color: var(--text-3); font-size: 11.5px; flex: 1; }
.event-item .evt-time { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); white-space: nowrap; }

/* ============ Legal / prose pages ============ */
.prose { max-width: 760px; }
.prose h2 { font-size: 19px; margin-top: 38px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-2); font-size: 14px; margin-bottom: 14px; }
.prose ul { margin: 0 0 14px 0; display: flex; flex-direction: column; gap: 8px; }
.prose ul li { color: var(--text-2); font-size: 14px; padding-left: 18px; position: relative; }
.prose ul li::before { content: '—'; position: absolute; left: 0; color: var(--blue); }
.prose strong { color: var(--text-0); }
.prose .updated { font-size: 12px; color: var(--text-3); font-family: var(--font-mono); margin-bottom: 34px; text-transform: uppercase; letter-spacing: 0.04em; }
