:root {
  --bg: #07090c;
  --surface: #11161c;
  --fg: #e8eef4;
  --muted: #8b97a5;
  --primary: #3ee0b8;
  --primary-hover: #6aead0;
  --on-primary: #06241c;
  --border: #24303a;
  --warn: #e8b86a;
  --radius: 0.5rem;
  --shadow: 0 18px 40px -28px rgb(0 0 0 / 0.7);
  --sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, [role="button"] { cursor: pointer; font-family: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; margin: 0; }

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.logo { display: flex; align-items: center; gap: 0.65rem; min-height: 44px; }
.logo svg { width: 32px; height: 32px; flex-shrink: 0; }
.logo-name { font-size: 0.875rem; font-weight: 600; letter-spacing: -0.02em; }
.logo-sub {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.nav { display: none; align-items: center; gap: 2rem; }
.nav a { font-size: 0.875rem; color: var(--muted); }
.nav a:hover { color: var(--fg); }
.menu-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg);
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { min-height: 44px; display: flex; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
}
.btn-lg { height: 48px; padding: 0 1.5rem; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); background: var(--surface); }

.section { border-bottom: 1px solid var(--border); padding: 4rem 0; }
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; }
h2 { font-size: 1.875rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 0.5rem; }
.lede { margin-top: 0.75rem; max-width: 42rem; color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

.hero { position: relative; overflow: hidden; }
.hero-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(to right, rgb(36 48 58 / 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(36 48 58 / 0.55) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding-block: 4rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--primary); }
.hero p.body { margin-top: 1.25rem; max-width: 32rem; color: var(--muted); line-height: 1.6; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-points {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.hero-points li { display: flex; align-items: flex-start; gap: 0.5rem; }
.hero-points svg { margin-top: 2px; flex-shrink: 0; color: var(--primary); }

.panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.panel-head .live { color: var(--primary); }
.radar { width: min(280px, 100%); aspect-ratio: 1; margin: 0 auto; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
}
.stats dt { color: var(--muted); }
.stats dd { margin: 0.25rem 0 0; font-variant-numeric: tabular-nums; }

.cards { margin-top: 2.5rem; display: grid; gap: 1rem; }
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.card.active { border-color: color-mix(in srgb, var(--primary) 60%, var(--border)); }
.card .os {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.card h3 { font-size: 1.5rem; margin-top: 0.5rem; }
.card .tag { color: var(--muted); font-size: 0.875rem; margin-top: 0.25rem; }
.card .sum { margin-top: 1rem; font-size: 0.875rem; line-height: 1.55; }
.card ul {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  font-size: 0.875rem;
  color: var(--muted);
}
.card li { display: flex; gap: 0.5rem; }
.card li svg { margin-top: 2px; color: var(--primary); flex-shrink: 0; }
.price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
  padding-top: 1rem;
}
.price { font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.price-note, .agent { font-size: 0.75rem; color: var(--muted); }
.agent { font-family: var(--mono); font-size: 11px; }
.card .btn { width: 100%; margin-top: 1rem; }

.table-wrap {
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.table-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.table-meta strong { font-variant-numeric: tabular-nums; }
.table-meta .ok { color: var(--primary); }
.table-meta .warn { color: var(--warn); }
.scroll { overflow-x: auto; }
table { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; font-size: 0.875rem; }
th {
  padding: 0.75rem 1rem;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
td { padding: 0.75rem 1rem; border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
tr:last-child td { border-bottom: 0; }
.host { font-family: var(--mono); font-size: 0.75rem; }
.pill {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.125rem 0.5rem;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.seen { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); }
.seen i { width: 6px; height: 6px; border-radius: 999px; display: inline-block; }
.seen i.online { background: var(--primary); }
.seen i.idle { background: var(--muted); }
.seen i.alert { background: var(--warn); }
.cpu-alert { color: var(--warn); font-variant-numeric: tabular-nums; }
.cpu { font-variant-numeric: tabular-nums; }

.quote-grid { display: grid; gap: 2.5rem; }
.steps { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: 1rem; font-size: 0.875rem; color: var(--muted); }
.steps span { font-family: var(--mono); color: var(--primary); margin-right: 0.75rem; }
.steps b { color: var(--fg); font-weight: 500; }
label, legend { display: block; font-size: 0.875rem; color: var(--muted); }
input {
  margin-top: 0.4rem;
  width: 100%;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  padding: 0 0.75rem;
  font: inherit;
  outline: none;
}
input:focus { border-color: var(--primary); }
fieldset { border: 0; padding: 0; margin: 1rem 0 0; }
.prod-picks { margin-top: 0.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.prod-picks button {
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.875rem;
}
.prod-picks button.on {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--fg);
}
.form .btn { width: 100%; margin-top: 1.5rem; }

footer { padding: 2.5rem 0; }
.foot { display: flex; flex-direction: column; gap: 1.5rem; }
.foot p { max-width: 28rem; font-size: 0.75rem; color: var(--muted); line-height: 1.55; }

@media (min-width: 768px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .mobile-nav { display: none !important; }
  .hero-points { grid-template-columns: repeat(3, 1fr); }
  .foot { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; padding-block: 6rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { grid-template-columns: 1fr 1fr; }
}
