:root {
  color-scheme: dark;

  --font-display: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --bg: #070606;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 45, 90, 0.3);

  --text: #f4f3f7;
  --text-dim: #b9ada6;
  --text-faint: #8a7d77;

  --accent-1: #ff1e00;
  --accent-2: #ff4000;
  --accent-soft: #ff7a94;
  --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --accent-glow: rgba(255, 45, 90, 0.18);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at 15% 0%, rgba(75, 12, 0, 0.542), transparent 32%),
    radial-gradient(circle at 80% 24%, rgb(0, 0, 0), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 20px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

.site-nav {
  display: flex;
  gap: 28px;
  margin-right: auto;
}

.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0 18px;
  height: 38px;
  font-size: 0.9rem;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.button:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out; 
}

.button.primary {
  background: var(--accent-gradient);
  color: #fff;
}

.button.primary:hover {
  opacity: 0.92;
}

.button.secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--accent-1);
}

.button.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-dim);
}

.button.ghost:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

/* ---------- Type ---------- */

h1, h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  line-height: 0.98;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-1);
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 56px;
  align-items: center;
  padding: 60px 0 96px;
}

.hero-copy {
  max-width: 580px;
}

.hero-lede {
  margin-top: 24px;
  color: var(--text-dim);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.palette-strip {
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.palette-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin: 0 0 16px;
}

.palette-swatches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 26px;
}

.palette-swatches li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.palette-swatches li::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  flex: none;
  align-self: center;
}

.swatch-name {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.swatch-hex {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-faint);
}

.hero-media {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.video-frame {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 45, 90, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.14));
  box-shadow: 0 40px 120px rgba(60, 6, 18, 0.45);
}

.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-caption {
  color: var(--text-faint);
  font-size: 0.86rem;
  text-align: center;
}

/* ---------- Section shells ---------- */

.section-features,
.section-panel,
.section-install {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.section-intro {
  max-width: 620px;
  margin-bottom: 44px;
}

.section-intro h2 {
  margin-top: 6px;
}

.panel-lede {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* ---------- Feature spec list ---------- */

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.spec-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.spec-list p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.65;
}

.spec-tag {
  justify-self: start;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--accent-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  white-space: normal;
  line-height: 1.5;
}

/* ---------- N-panel showcase ---------- */

.panel-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: start;
}

.panel-image {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  padding: 18px;
  width: 100%;
  max-width: 340px;
}

.panel-callouts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-callouts li {
  position: relative;
  padding-left: 20px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 0.86rem;
}

.panel-callouts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-1);
}

/* ---------- Install steps ---------- */

.install-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.install-steps li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.step-number {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--accent-1);
  letter-spacing: 0.04em;
}

.install-steps p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.6;
}

.install-steps strong {
  color: var(--text);
  font-weight: 600;
}

.install-steps a {
  color: var(--accent-2);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}

.install-steps a:hover {
  text-decoration-color: var(--accent-2);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 44px 0 64px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  color: var(--text-faint);
  font-size: 0.92rem;
}

.site-footer p {
  max-width: 560px;
  line-height: 1.6;
}

.site-footer strong {
  color: var(--text-dim);
  font-weight: 600;
}

.discord-tag {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--accent-soft);
}

.site-footer a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.86rem;
  white-space: nowrap;
}

.site-footer a:hover {
  color: var(--text);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .hero-media {
    order: -1;
  }

  .video-frame {
    max-width: 320px;
  }

  .spec-list li {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .spec-tag {
    justify-self: start;
  }

  .panel-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 0 18px;
  }

  .site-header {
    flex-wrap: wrap;
    row-gap: 14px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: 20px;
  }

  .hero-actions .button {
    flex: 1 1 auto;
  }

  .install-steps li {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .site-footer {
    flex-direction: column;
  }
}