:root {
  --bg: #081111;
  --panel: #101a1a;
  --panel-raised: #142020;
  --text: #e8f0e8;
  --muted: #91a39c;
  --line: #263939;
  --line-strong: #3c5552;
  --blue: #6bb6ff;
  --blue-dark: #9dd6ff;
  --green: #49e58f;
  --amber: #f0b45f;
  --code: #050909;
  --code-text: #d7ffe7;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(73, 229, 143, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 229, 143, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% -12rem, rgba(73, 229, 143, 0.16), transparent 34rem),
    var(--bg);
  background-size: 28px 28px, 28px 28px, auto;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

img {
  display: block;
  max-width: 100%;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand::before {
  content: "$ ";
  color: var(--green);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.hero,
.section,
.cta,
.stats,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 72px 0 44px;
  text-align: left;
}

.tag,
.kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  font-weight: 740;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 1.06;
}

h1 {
  max-width: 900px;
  margin: 0 0 20px;
  font-size: clamp(2.65rem, 5.2vw, 4.8rem);
}

h2 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(2.1rem, 4.4vw, 4.3rem);
}

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

.lede,
.section-lede {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(16, 26, 26, 0.72);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 720;
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: #071010;
}

.terminal {
  max-width: 840px;
  margin: 42px 0 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--code);
  box-shadow: var(--shadow);
  text-align: left;
}

.terminal-title {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  font-weight: 720;
}

pre {
  margin: 0;
  overflow-x: auto;
}

.terminal code,
.code-card code {
  display: block;
  padding: 18px;
  color: var(--code-text);
  font-size: 0.94rem;
  line-height: 1.6;
  white-space: pre;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--line);
}

.stats div {
  padding: 24px;
  background: rgba(16, 26, 26, 0.9);
  text-align: left;
}

.stats strong {
  display: block;
  font-size: 2.7rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--green);
}

.stats span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 86px 0 0;
}

.section > .kicker,
.section > h2,
.section > .section-lede {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.feature-grid article,
.steps article,
.install-grid article,
.compare-grid article,
details {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(16, 26, 26, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

.feature-grid article {
  min-height: 188px;
  padding: 22px;
}

.feature-grid article h3::before,
.steps article h3::before,
.install-grid article h3::before {
  content: "./";
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.feature-grid p,
.steps p,
.install-grid p,
.split p,
.compare-grid li,
details p,
.cta p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
}

.split .kicker,
.split h2 {
  text-align: left;
  margin-left: 0;
}

.code-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--code);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.steps article,
.install-grid article {
  padding: 22px;
}

.steps span,
.install-grid span {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 820;
}

.demo-card {
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.install-grid code {
  display: block;
  overflow-x: auto;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--code);
  color: var(--code-text);
  font-size: 0.84rem;
  white-space: nowrap;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.compare-grid article {
  padding: 26px;
}

ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

li + li {
  margin-top: 10px;
}

.faq {
  max-width: 900px;
}

details {
  padding: 0;
}

details + details {
  margin-top: 12px;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-size: 1.08rem;
  font-weight: 750;
}

summary::marker {
  color: var(--green);
}

details p {
  margin: -4px 22px 22px;
}

.cta {
  margin-top: 90px;
  padding: 54px 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    radial-gradient(circle at 80% 0%, rgba(73, 229, 143, 0.12), transparent 22rem),
    var(--panel-raised);
  text-align: left;
  box-shadow: var(--shadow);
}

.cta h2 {
  margin-left: 0;
  margin-right: auto;
}

.cta p {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: 1.1rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 42px 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer span {
  margin-right: auto;
  color: var(--text);
  font-weight: 760;
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .stats,
  .feature-grid,
  .steps,
  .install-grid,
  .compare-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }
}

@media (max-width: 560px) {
  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: 2.75rem;
  }

  .section {
    padding-top: 64px;
  }

  .terminal code,
  .code-card code {
    font-size: 0.78rem;
  }
}
