:root {
  --bg: #0f1419;
  --bg-elevated: #161d26;
  --surface: #1c2530;
  --text: #e8ecf1;
  --muted: #8b9aab;
  --accent: #3d8bfd;
  --accent-dim: #2563eb;
  --amber: #f59e0b;
  --signal: #5eead4;
  --border: #2a3544;
  --border-bright: #3d4f63;
  --radius: 8px;
  --font-sans: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "Consolas", "SF Mono", ui-monospace, monospace;
  font-family: var(--font-sans);
  line-height: 1.55;
  color: var(--text);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.35rem; }

/* Header */
.site-header {
  background: rgba(15, 20, 25, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text);
}
.logo-mark { color: var(--amber); }
nav a {
  margin-left: 1.35rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
nav a:hover { color: var(--signal); }

/* Hero */
.hero {
  position: relative;
  padding: 3.25rem 0 3.75rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(61, 139, 253, 0.08) 0%, transparent 45%),
    linear-gradient(300deg, rgba(245, 158, 11, 0.06) 0%, transparent 40%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 39px,
      rgba(42, 53, 68, 0.35) 39px,
      rgba(42, 53, 68, 0.35) 40px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      rgba(42, 53, 68, 0.2) 39px,
      rgba(42, 53, 68, 0.2) 40px
    );
  background-color: var(--bg-elevated);
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  border: 1px solid var(--border-bright);
  color: var(--signal);
  background: rgba(94, 234, 212, 0.06);
}
.badge-dim { color: var(--muted); background: transparent; border-color: var(--border); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--amber);
  margin: 0 0 0.65rem;
  font-weight: 600;
}
h1 {
  font-size: clamp(1.65rem, 4.2vw, 2.35rem);
  margin: 0 0 1rem;
  line-height: 1.18;
  font-weight: 650;
}
.lead {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
}

/* Signal diagram */
.signal-panel {
  margin: 0;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.signal-svg {
  width: 100%;
  height: auto;
  display: block;
}
.svg-block { fill: #121820; stroke: #3d4f63; stroke-width: 1.5; }
.svg-bus { stroke: url(#busGrad); }
.svg-core { stroke: var(--amber); fill: rgba(245, 158, 11, 0.08); }
.svg-ana { stroke: #ef4444; }
.svg-label {
  fill: var(--text);
  font-size: 13px;
  font-family: var(--font-mono);
  text-anchor: middle;
  font-weight: 600;
}
.svg-sublabel {
  fill: var(--muted);
  font-size: 10px;
  font-family: var(--font-mono);
  text-anchor: middle;
}
.svg-accent { fill: var(--amber); }
.svg-bus-line { stroke: var(--accent); stroke-width: 2; }
.svg-wave { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svg-conn { stroke: #64748b; stroke-width: 2; fill: none; }
.signal-cap {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

/* Sections */
.section { padding: 3.25rem 0; }
.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}
h2 {
  margin-top: 0;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--text);
}

.cards { display: grid; gap: 1.1rem; }
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  border-top: 2px solid var(--accent-dim);
  transition: border-color 0.2s;
}
.card:hover { border-top-color: var(--amber); }
.card-icon {
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.card-icon-amber { color: var(--amber); }
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  color: var(--text);
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.spec-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-bright);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--surface);
}
.spec-table th,
.spec-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  width: 28%;
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #141b24;
}
.spec-table td { color: var(--muted); }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

.section-intro {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 62ch;
  margin: 0 0 1.5rem;
}

.marques-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin: 0 0 0.85rem;
}

.marque-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.marque-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent-dim);
}
.marque-card:hover { border-left-color: var(--amber); }

.marque-name {
  font-weight: 650;
  font-size: 0.98rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.marque-lines {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--muted);
  line-height: 1.4;
}

.note, .fine { font-size: 0.82rem; color: var(--muted); margin-top: 1rem; }

.app-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 600px) {
  .app-list { grid-template-columns: 1fr 1fr; }
}
.app-list li {
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  border-left: 3px solid var(--amber);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.app-list strong { color: var(--text); font-weight: 600; }

.contact-block { max-width: 36rem; }
.contact-line { font-size: 1.15rem; margin: 0.5rem 0; }
.contact-line a {
  color: var(--signal);
  text-decoration: none;
  font-family: var(--font-mono);
}
.contact-line a:hover { text-decoration: underline; }

.site-footer {
  padding: 1.75rem 0 2.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}
.footer-tags {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--border-bright);
}