:root {
  --bg: #0a0d12;
  --panel: rgba(17, 22, 31, 0.82);
  --panel-strong: rgba(21, 28, 40, 0.95);
  --ink: #edf2ff;
  --muted: #94a1bd;
  --line: rgba(173, 186, 255, 0.14);
  --accent: #7c9cff;
  --accent-soft: rgba(124, 156, 255, 0.14);
  --alert: #ff8d66;
  --shadow: 0 28px 100px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(124, 156, 255, 0.18), transparent 30%),
    radial-gradient(circle at left center, rgba(255, 141, 102, 0.12), transparent 28%),
    linear-gradient(180deg, #0a0d12 0%, #0f1520 100%);
  font-family: Sora, system-ui, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.16em;
  transition: text-decoration-color 0.2s ease, outline-color 0.2s ease;
}

a:hover,
a:active {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  text-decoration: underline;
}
code,
pre {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0 18px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 26px;
  align-items: start;
  padding: 24px 0 44px;
}

.copy-card,
.terminal-card,
.feature,
.panel,
.install-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.copy-card {
  padding: 38px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.1rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.lede,
.section-head p:last-child,
.feature p,
.panel p {
  color: var(--muted);
  line-height: 1.8;
}

.lede {
  margin: 20px 0 0;
  max-width: 58ch;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), #aabaff);
  color: #08101d;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pills span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.9rem;
}

.terminal-card {
  align-self: start;
  height: fit-content;
  padding: 12px;
}

.terminal-shell {
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.82), rgba(8, 12, 18, 0.98));
}

.terminal-top {
  display: flex;
  gap: 8px;
  padding: 18px 18px 0;
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.terminal-top span:nth-child(1) { background: #ff6a66; }
.terminal-top span:nth-child(2) { background: #ffba66; }
.terminal-top span:nth-child(3) { background: #77d184; }

.terminal-card pre {
  margin: 0;
  padding: 18px 22px 24px;
  color: #edf2ff;
  line-height: 1.7;
  overflow-x: auto;
}

.section {
  padding: 28px 0;
}

.section-head {
  max-width: 760px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.grid,
.install-grid,
.split {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

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

.feature,
.panel,
.install-card {
  padding: 24px;
}

.feature h3,
.panel h3,
.install-card h3 {
  margin-bottom: 12px;
}

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

.panel.accent {
  background:
    linear-gradient(135deg, rgba(124, 156, 255, 0.14), rgba(255, 141, 102, 0.08)),
    var(--panel-strong);
}

.panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.install-card pre {
  margin: 0;
  padding: 18px;
  border-radius: 18px;
  background: rgba(5, 8, 13, 0.96);
  color: #edf2ff;
  overflow-x: auto;
}

@media (max-width: 980px) {
  .hero,
  .grid,
  .split,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }

  .copy-card,
  .terminal-card,
  .feature,
  .panel,
  .install-card {
    border-radius: 22px;
  }

  .copy-card {
    padding: 28px;
  }
}
