:root {
  --bg: #020617;
  --surface: #08111f;
  --surface-2: #0d1827;
  --border: #223044;
  --text: #f1f7ff;
  --muted: #a8b7c9;
  --ok: #22c55e;
  --accent: #38bdf8;
  --warn: #f59e0b;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.36);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

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

a {
  color: #9cf4ba;
}

.hero {
  min-height: 74dvh;
  display: flex;
  align-items: end;
  padding: clamp(28px, 6vw, 80px);
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.72) 46%, rgba(2, 6, 23, 0.2) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.82) 0%, rgba(2, 6, 23, 0.08) 48%),
    url("https://cdn-uploads.huggingface.co/production/uploads/671faa3a541a76b548647676/uEa13KsL5wtQREVZ1ixwc.png")
      center right / cover no-repeat;
}

.hero-content {
  width: min(840px, 100%);
  padding-bottom: 18px;
}

.pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin: 0 0 14px;
  border: 1px solid rgba(34, 197, 94, 0.42);
  border-radius: 999px;
  padding: 7px 12px;
  color: #a7f3bf;
  background: rgba(34, 197, 94, 0.14);
  font-size: 13px;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1;
}

.subtitle {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.35;
}

.credit {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.credit a {
  color: #9cf4ba;
  text-decoration: none;
}

.credit a:hover {
  text-decoration: underline;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-tags span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(56, 189, 248, 0.38);
  border-radius: var(--radius);
  padding: 7px 10px;
  color: #c9f0ff;
  background: rgba(56, 189, 248, 0.12);
  font-size: 13px;
}

.band {
  padding: 48px clamp(20px, 5vw, 72px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    var(--bg);
}

.muted-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.section-heading {
  width: min(1040px, 100%);
  margin: 0 auto 24px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--ok);
  font-size: 12px;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.05;
}

.feature-grid,
.setup-grid {
  width: min(1040px, 100%);
  margin: 0 auto;
}

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

article {
  min-height: 210px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

article span {
  color: var(--accent);
  font-family: "Fira Code", "SFMono-Regular", ui-monospace, monospace;
  font-size: 13px;
}

h3 {
  margin: 26px 0 8px;
  font-size: 24px;
}

article p,
.copy p,
.settings-list p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.settings-list {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto;
}

.settings-list div {
  min-height: 150px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface-2);
}

.settings-list strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.setup-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1fr);
  gap: 20px;
  align-items: center;
}

pre {
  margin: 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: #030813;
  box-shadow: var(--shadow);
}

code {
  color: #8decae;
  font-family: "Fira Code", "SFMono-Regular", ui-monospace, monospace;
  font-size: 14px;
  line-height: 1.65;
}

.copy {
  display: grid;
  gap: 14px;
}

@media (max-width: 1100px) {
  .feature-grid,
  .settings-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 72dvh;
    align-items: end;
    background:
      linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.72) 58%, rgba(2, 6, 23, 0.24) 100%),
      url("https://cdn-uploads.huggingface.co/production/uploads/671faa3a541a76b548647676/uEa13KsL5wtQREVZ1ixwc.png")
        center top / cover no-repeat;
  }

  .feature-grid,
  .settings-list,
  .setup-grid {
    grid-template-columns: 1fr;
  }

  article {
    min-height: 0;
  }
}
