:root {
  --bg: #0d1015;
  --bg-2: #12161d;
  --panel: #161b23;
  --border: #252c37;
  --text: #dfe4ec;
  --dim: #9aa4b2;
  --muted: #6c7685;
  --accent: #78a6dc;
  --accent-strong: #9cc0ec;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #111720 0, var(--bg) 640px) no-repeat, var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
}

p code,
li code {
  padding: 0.1em 0.35em;
  border: 1px solid var(--border);
  border-radius: 0.3em;
  background: var(--bg-2);
}

/* Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 76rem;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  background: rgb(13 16 21 / 82%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.wordmark {
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.wordmark:hover {
  color: var(--text);
  text-decoration: none;
}

.mark {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.3rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgb(120 166 220 / 70%);
  vertical-align: 0.1rem;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
}

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

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

.gh {
  display: inline-flex;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 0.4rem;
}

/* Layout */

main {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0 1rem;
  border-top: 1px solid var(--border);
}

.tagline {
  display: inline-block;
  margin: 0 0 1.2rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--dim);
  font-size: 0.85rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  margin: 0 0 1.4rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 750;
}


h2 {
  max-width: 42rem;
  margin: 0 0 2.5rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.small {
  color: var(--dim);
  font-size: 0.9rem;
}

/* Hero */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 5rem 0;
  text-align: center;
}

.hero-text {
  max-width: 44rem;
}

.hero .cta {
  justify-content: center;
}

.hero .command {
  max-width: 34rem;
  margin: 0 auto;
  text-align: left;
}

.hero-shot {
  width: 100%;
}

.lede {
  color: var(--dim);
  font-size: 1.08rem;
}

.lede strong {
  color: var(--text);
}

.cta {
  display: flex;
  gap: 0.8rem;
  margin: 1.8rem 0 1.2rem;
}

.button {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.button:hover {
  border-color: var(--accent);
  color: var(--text);
  text-decoration: none;
}

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

.button.primary:hover {
  background: var(--accent-strong);
}

.command {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.45rem;
  background: var(--bg-2);
  overflow-x: auto;
}

.command code {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
}

.prompt {
  color: var(--accent);
  user-select: none;
}

.copy {
  flex-shrink: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 0.72rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.copy:hover {
  color: var(--text);
}

/* Figures */

.shot {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 70%), 0 0 0 1px rgb(255 255 255 / 2%);
}

.shot figcaption {
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--dim);
  font-size: 0.85rem;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-shot {
  box-shadow: 0 40px 120px -30px rgb(120 166 220 / 22%), 0 30px 80px -30px rgb(0 0 0 / 80%);
}

/* Features */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

.feature.flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}

.feature.flip .feature-text {
  order: 2;
}

.feature-text p {
  color: var(--dim);
}

.more {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 0.9rem 2rem;
  margin: 0 0 4rem;
  padding: 0;
  list-style: none;
  color: var(--dim);
  font-size: 0.95rem;
}

.more li {
  padding-left: 1rem;
  border-left: 2px solid var(--border);
}

.more strong {
  color: var(--text);
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0 0 4rem;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: rgb(22 27 35 / 60%);
}

.steps p {
  margin: 0;
  color: var(--dim);
  font-size: 0.95rem;
}

.step {
  color: var(--accent);
  font: 0.8rem var(--mono);
  letter-spacing: 0.1em;
}

/* Local and safe */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.card {
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: rgb(22 27 35 / 60%);
}

.card p {
  margin: 0;
  color: var(--dim);
  font-size: 0.93rem;
}

/* Install */

.install {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 3rem;
  align-items: start;
}

.install ul {
  padding-left: 1.1rem;
  color: var(--dim);
}

.terminal {
  margin: 0;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: var(--bg-2);
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.8;
}

.out {
  color: var(--muted);
}

/* Footer */

.foot {
  max-width: 76rem;
  margin: 5rem auto 0;
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.foot p {
  margin: 0.3rem 0;
}

/* Narrow screens */

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

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

  .feature.flip .feature-text {
    order: 0;
  }

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

  .nav nav a:not(.gh) {
    display: none;
  }
}
