:root {
  --bg: #0e1117;
  --panel: #171c25;
  --panel-2: #202735;
  --text: #eef2f8;
  --muted: #a9b4c4;
  --line: #303a4e;
  --accent: #39d98a;
  --accent-2: #68a7ff;
  --danger: #ff6b6b;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

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

.brand {
  font-weight: 700;
}

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

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

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(42px, 8vw, 96px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
}

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

h1 {
  max-width: 780px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 24px;
}

h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-weight: 700;
}

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

.button.secondary {
  background: var(--panel);
}

.terminal {
  background: #070a0f;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.terminal-header {
  display: flex;
  gap: 8px;
  padding: 14px;
  background: #111722;
  border-bottom: 1px solid var(--line);
}

.terminal-header span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--danger);
}

.terminal-header span:nth-child(2) {
  background: #ffd166;
}

.terminal-header span:nth-child(3) {
  background: var(--accent);
}

pre {
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
}

code {
  font-family: "Cascadia Code", Consolas, monospace;
  line-height: 1.55;
}

.terminal pre {
  padding: 24px;
  color: #c8f6dc;
}

.section {
  padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

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

article,
.file-list div,
.code-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

article {
  padding: 22px;
}

article p,
.split p,
.file-list span,
footer {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 36px;
  align-items: start;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.chips li {
  padding: 10px 12px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-weight: 700;
}

.code-block {
  position: relative;
  padding: 22px;
  background: #070a0f;
}

.code-block button {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
}

.file-list {
  display: grid;
  gap: 12px;
}

.file-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

footer {
  padding: 26px clamp(20px, 5vw, 72px);
}

@media (max-width: 900px) {
  .topbar,
  .hero,
  .split,
  .file-list div {
    display: block;
  }

  nav {
    margin-top: 12px;
    flex-wrap: wrap;
  }

  .terminal {
    margin-top: 34px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .file-list span {
    display: block;
    margin-top: 6px;
  }
}

