:root {
  color-scheme: dark;
  --bg: #07020f;
  --panel: #150a24;
  --panel-strong: #211033;
  --text: #f8f5ff;
  --muted: #b9abc8;
  --line: #3a2552;
  --accent: #b66cff;
  --accent-soft: rgba(182, 108, 255, 0.16);
  --success: #45e08f;
  --danger: #ff6b8a;
  --caution: #f5c451;
  --radius: 8px;
  --shell: min(1180px, calc(100vw - 40px));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(182, 108, 255, 0.18), transparent 32rem),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05), transparent 28rem),
    var(--bg);
  color: var(--text);
}

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

a:focus-visible {
  outline: 2px solid rgba(206, 150, 255, 0.88);
  outline-offset: 2px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  width: var(--shell);
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  box-shadow: 0 0 0 10px rgba(182, 108, 255, 0.08);
}

.brand-mark img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
}

.brand-copy strong,
.brand-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(185, 148, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(17, 21, 31, 0.62);
}

.site-nav a {
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--panel);
  color: var(--text);
  outline: none;
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 28px;
  align-items: center;
  min-height: min(680px, calc(100vh - 132px));
  padding: 46px 0 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 14px;
  font-size: 8rem;
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 2.35rem;
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.lede {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(182, 108, 255, 0.28);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 850;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.button svg,
.feature-card svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(206, 150, 255, 0.52);
  box-shadow: 0 0 20px rgba(182, 108, 255, 0.16);
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  border-color: transparent;
  background: var(--accent);
  color: #160720;
}

.button-secondary {
  background: rgba(182, 108, 255, 0.16);
  color: var(--text);
}

.button-ghost {
  background: rgba(17, 21, 31, 0.62);
  color: var(--muted);
}

.hero-panel,
.release-card,
.feature-card,
.download-card,
.steps article,
.safety-card {
  border: 1px solid rgba(185, 148, 255, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(32, 15, 58, 0.76), rgba(18, 8, 34, 0.72)),
    rgba(17, 21, 31, 0.82);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.hero-panel {
  overflow: hidden;
}

.panel-titlebar {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(185, 171, 200, 0.14);
  background: rgba(13, 7, 22, 0.82);
}

.panel-titlebar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(185, 171, 200, 0.34);
}

.panel-titlebar span:first-child {
  background: var(--danger);
}

.panel-titlebar span:nth-child(2) {
  background: var(--caution);
}

.panel-titlebar span:nth-child(3) {
  background: var(--success);
}

.panel-titlebar__logo {
  width: 20px;
  height: 20px;
  margin-left: 4px;
  border-radius: 5px;
  object-fit: cover;
}

.panel-titlebar strong {
  color: var(--muted);
  font-size: 0.76rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.preview-card {
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(185, 171, 200, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.preview-card-wide {
  grid-column: 1 / -1;
}

.preview-card p,
.preview-card small,
.console-preview span {
  color: var(--muted);
}

.preview-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.5rem;
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(69, 224, 143, 0.13);
}

.console-preview {
  display: grid;
  gap: 8px;
  margin: 0 14px 14px;
  padding: 13px;
  border: 1px solid rgba(185, 171, 200, 0.14);
  border-radius: var(--radius);
  background: #070a10;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 16px;
  padding-top: 44px;
}

.release-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.release-card__logo {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(185, 148, 255, 0.18);
  border-radius: var(--radius);
  background: var(--accent-soft);
  box-shadow: 0 0 0 10px rgba(182, 108, 255, 0.08);
  overflow: hidden;
}

.release-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-card p,
.feature-card p,
.download-card p,
.steps p,
.safety-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 10px;
  padding: 3px 8px;
  border: 1px solid rgba(185, 171, 200, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
}

.release-meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.release-meta div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(185, 171, 200, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.release-meta dt,
.release-meta dd {
  margin: 0;
}

.release-meta dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.release-meta dd {
  overflow: hidden;
  color: var(--text);
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.feature-card {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 210px;
  padding: 16px;
}

.feature-card svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

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

.download-card {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.download-card .button {
  width: 100%;
}

.install-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-top: 44px;
}

.steps {
  display: grid;
  gap: 10px;
}

.steps article {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 900;
}

.safety-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 44px;
  padding: 18px;
}

.safety-card div {
  max-width: 760px;
}

.site-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: var(--shell);
  margin: 0 auto;
  padding: 44px 0 30px;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer span:first-child {
  color: var(--text);
  font-weight: 850;
}

.site-footer a {
  color: var(--accent);
  font-weight: 850;
}

@media (max-width: 980px) {
  :root {
    --shell: min(100vw - 28px, 760px);
  }

  .hero,
  .release-card,
  .install-layout {
    grid-template-columns: 1fr;
  }

  .release-card__logo {
    width: 52px;
    height: 52px;
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
  }

  h1 {
    font-size: 5.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .lede {
    font-size: 1.06rem;
  }

  .feature-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .hero-actions,
  .hero-actions .button,
  .feature-grid,
  .download-grid {
    width: 100%;
  }

  .hero-actions .button,
  .feature-grid,
  .download-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .feature-grid,
  .download-grid {
    display: grid;
  }

  .release-meta div {
    grid-template-columns: 1fr;
  }

  .safety-card {
    align-items: stretch;
    flex-direction: column;
  }
}
