:root {
  color-scheme: dark;
  --bg: #050608;
  --panel: #111318;
  --panel-soft: #181b22;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #f5f5f5;
  --danger: #ef4444;
  --ok: #22c55e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.12), transparent 34rem),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 100% 100%, 48px 48px, 48px 48px, auto;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  border-radius: 6px;
  background: #fff;
  color: #000;
  padding: 0.65rem 0.9rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 8, 0.78);
  backdrop-filter: blur(18px);
}

.nav,
.hero,
.section,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand,
.nav-links,
.hero-actions,
.stats {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 800;
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav-links {
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--text);
}

.nav-action,
.button {
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

.nav-action {
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.28rem 0.72rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
}

.lead,
.section p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0 2rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.05rem;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.nav-action:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.34);
}

.button.primary {
  background: #fff;
  color: #050608;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.07);
}

.stats {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.stats div {
  min-width: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 0.9rem 1rem;
}

.stats dt {
  font-size: 1.6rem;
  font-weight: 850;
}

.stats dd {
  margin: 0;
  color: var(--muted);
}

.hero-visual {
  display: grid;
  min-height: 520px;
  place-items: center;
}

.console-panel {
  width: min(100%, 430px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), transparent 34%),
    rgba(15, 17, 22, 0.9);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.08);
  padding: 1rem;
}

.panel-top {
  display: flex;
  gap: 0.42rem;
  margin-bottom: 1rem;
}

.panel-top span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  margin-top: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
}

.panel-row span {
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-row.active span {
  color: #86efac;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0.45rem;
  margin-top: 1rem;
}

.signal-grid i {
  aspect-ratio: 1;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.09);
}

.signal-grid i:nth-child(2n) {
  background: rgba(34, 197, 94, 0.2);
}

.signal-grid i:nth-child(5) {
  background: rgba(239, 68, 68, 0.42);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-head {
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature,
.check-list,
.cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.feature {
  padding: 1.2rem;
}

.feature p {
  margin-bottom: 0;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: start;
}

.check-list {
  margin: 0;
  padding: 1rem;
  list-style: none;
}

.check-list li {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
  color: var(--muted);
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  content: "✓";
  margin-right: 0.7rem;
  color: var(--ok);
}

.cta {
  margin-bottom: 4rem;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
}

.footer span {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .hero,
  .split,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 380px;
  }
}

@media (max-width: 520px) {
  .nav,
  .hero,
  .section,
  .footer {
    width: min(100% - 24px, 1120px);
  }

  .nav-action {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  .button {
    width: 100%;
  }

  .stats div {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
