:root {
  color-scheme: dark;
  --bg: #08080c;
  --panel: #141219;
  --panel-2: #1d1728;
  --text: #f8f4ff;
  --muted: #c9bdd9;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #8e5cff;
  --accent-2: #34d399;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(142, 92, 255, 0.2), transparent 36rem),
    linear-gradient(135deg, #07070b, #111018 48%, #0a0c10);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 12, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
  font-weight: 900;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a,
.site-footer a {
  text-decoration: none;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.not-found-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 54px 0;
}

.hero-copy,
.section {
  display: grid;
  gap: 18px;
}

.eyebrow {
  margin: 0;
  color: #d9c8ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 7vw, 5.9rem);
  line-height: 0.96;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.1rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow),
.section > p {
  max-width: 720px;
  font-size: 1.05rem;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

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

.hero-panel,
.download-section,
.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 18, 25, 0.82);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.hero-panel {
  display: grid;
  gap: 22px;
  padding: 20px;
}

.window-bar {
  display: flex;
  gap: 7px;
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

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

.status-grid div {
  display: grid;
  gap: 6px;
  min-height: 108px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.status-grid small {
  color: var(--muted);
}

.status-grid b {
  align-self: end;
  font-size: 1.35rem;
}

.progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.section {
  padding: 72px 0;
}

.feature-grid {
  margin-top: 10px;
}

.feature-grid article {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.download-section {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 28px;
}

.update-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.update-path span {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .download-section {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .download-section {
    grid-template-columns: 1fr;
  }

  .status-grid,
  .feature-grid,
  .update-path {
    grid-template-columns: 1fr;
  }
}
