:root {
  color-scheme: dark;
  --bg: #0d1117;
  --panel: #141a23;
  --panel-strong: #192331;
  --text: #f2f4f7;
  --muted: #a7b0bf;
  --line: #293548;
  --accent: #2e90fa;
  --accent-strong: #67e8f9;
  --gold: #f5c451;
  --green: #5ee4a7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 17, 23, 0.92);
  padding: 14px clamp(18px, 4vw, 52px);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  object-fit: cover;
}

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

nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  min-height: 88vh;
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  padding: clamp(56px, 9vw, 112px) clamp(18px, 5vw, 80px) clamp(48px, 7vw, 80px);
  overflow: hidden;
}

.hero-content,
.hero-media {
  position: relative;
}

.hero-logo {
  width: clamp(76px, 10vw, 116px);
  height: clamp(76px, 10vw, 116px);
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(60px, 10vw, 126px);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  color: #d0d8e7;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 7px;
  padding: 0 18px;
  font-weight: 800;
}

.primary {
  background: var(--accent);
  color: white;
}

.secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.terminal-window {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: #070b12;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.window-bar {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #111827;
  padding: 12px;
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--gold);
}

.window-bar span:nth-child(2) {
  background: var(--green);
}

.window-bar span:nth-child(3) {
  background: #ef4444;
}

pre {
  margin: 0;
  overflow-x: auto;
  color: #d7e2f2;
  font-size: 14px;
  line-height: 1.8;
  padding: 22px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: #111821;
}

.proof-strip div {
  min-height: 110px;
  border-right: 1px solid var(--line);
  padding: 24px clamp(18px, 4vw, 44px);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  margin-bottom: 8px;
  font-size: 18px;
}

.proof-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.section,
.split-section,
.install-section,
.downloads-section,
.docs-section {
  padding: clamp(58px, 9vw, 112px) clamp(18px, 5vw, 80px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ecosystem-grid article,
.install-panels article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

.icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 6px;
  background: #233044;
  color: var(--accent-strong);
  font-weight: 800;
}

article p,
.split-section p,
.security-list p {
  color: var(--muted);
  line-height: 1.62;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  background: #101720;
}

.workflow {
  display: grid;
  gap: 12px;
}

.workflow div {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  padding: 16px;
  color: #dce5f3;
}

.workflow span {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 900;
}

.security-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.security-list div {
  background: #101720;
  padding: 24px;
}

.install-section {
  background: #111821;
}

.install-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.install-panels pre {
  border-radius: 6px;
  background: #060a10;
  font-size: 13px;
  padding: 14px;
}

.downloads-section {
  background: #0d1117;
}

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

.download-grid article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 22px;
}

.download-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.download-grid .button {
  margin-top: auto;
}

.download-grid span {
  display: block;
  margin-top: 12px;
  color: #8f9bad;
  font-size: 13px;
  line-height: 1.45;
}

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

.doc-links a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
  color: #dce5f3;
  font-weight: 800;
}

.doc-links a:hover {
  border-color: var(--accent);
}

.docs-page h1 {
  font-size: clamp(46px, 8vw, 84px);
}

.doc-section {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 42px 18px;
}

.doc-section p,
.doc-section li {
  color: var(--muted);
  line-height: 1.7;
}

.doc-section code {
  color: #e6edf7;
}


footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px clamp(18px, 5vw, 80px);
}

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

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

  .ecosystem-grid,
  .install-panels,
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip,
  .doc-links {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

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

  .ecosystem-grid,
  .install-panels,
  .download-grid,
  .security-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  pre {
    font-size: 12px;
  }
}
