:root {
  --accent: oklch(0.74 0.11 195);
  --accent-hi: oklch(0.82 0.11 195);
  --text: oklch(0.94 0.012 220);
  --text-muted: oklch(0.74 0.014 220);
  --text-dim: oklch(0.70 0.014 220);
  --text-faint: oklch(0.55 0.014 220);
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  --mono: 'SF Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: linear-gradient(165deg, oklch(0.22 0.024 218) 0%, oklch(0.165 0.018 228) 60%, oklch(0.145 0.015 232) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  font-family: var(--sans);
  color: var(--text);
}

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

.page { min-height: 100vh; }
.container { max-width: 1180px; margin: 0 auto; }

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 44px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.gh-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
}
.gh-link:hover { color: var(--text); opacity: 0.85; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 44px;
  padding: 56px 0 84px 44px;
  align-items: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent);
  margin-bottom: 20px;
}
.headline {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 54px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.028em;
}
.headline .accent { color: var(--accent); }
.subhead {
  margin: 0 0 30px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-muted);
  text-wrap: pretty;
}

.actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

.install-cmd {
  display: flex;
  align-items: center;
  gap: 12px;
  background: oklch(0.155 0.016 228);
  border: 1px solid oklch(0.36 0.02 220 / 0.7);
  border-radius: 10px;
  padding: 11px 14px 11px 16px;
  font-family: var(--mono);
  font-size: 13px;
  max-width: 100%;
}
.install-cmd .prompt { color: var(--accent); }
.install-cmd .cmd-text { color: oklch(0.92 0.012 220); overflow-x: auto; white-space: nowrap; }
.copy-btn {
  background: oklch(0.30 0.022 220);
  border: 1px solid oklch(0.38 0.02 220 / 0.6);
  border-radius: 6px;
  color: oklch(0.86 0.012 220);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.copy-btn:hover { background: oklch(0.34 0.022 220); }

.download-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dmg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: oklch(0.18 0.04 220);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 10px;
  transition: filter 0.15s ease;
}
.dmg-btn:hover { color: oklch(0.18 0.04 220); filter: brightness(1.06); }
.dl-meta { font-size: 12.5px; color: var(--text-faint); }
.arch-switch {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: var(--accent);
}
.arch-switch:hover { color: var(--accent-hi); }

/* Hero screenshot — full squircle card, crossfading rotator */
.hero-shot {
  position: relative;
}
.shot-stack {
  position: relative;
  aspect-ratio: 1840 / 1160;
  filter: drop-shadow(0 22px 46px oklch(0 0 0 / 0.5)) drop-shadow(0 0 44px oklch(0.74 0.11 195 / 0.13));
}
.shot-stack .shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.shot-stack .shot.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .shot-stack .shot { transition: none; }
}
.shot-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding-right: 44px; /* visually center under the card despite the bleed layout */
}
.shot-tab {
  background: oklch(0.22 0.02 224 / 0.7);
  border: 1px solid oklch(0.36 0.02 220 / 0.5);
  border-radius: 999px;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 5px 12px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.shot-tab:hover { color: var(--text-muted); }
.shot-tab.is-active {
  color: var(--accent);
  border-color: oklch(0.74 0.11 195 / 0.5);
}
.hero-shot img.is-missing { display: none; }
.hero-shot img.is-missing ~ .hero-shot-placeholder { display: flex; }
.hero-shot-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 20% 10%, oklch(0.28 0.03 210 / 0.6), transparent 60%),
    repeating-linear-gradient(135deg, oklch(0.20 0.02 224) 0 22px, oklch(0.185 0.018 226) 22px 44px);
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 13px;
}
.hero-shot-placeholder code { color: var(--accent); }

/* Features */
.features { padding: 0 44px 64px; }
.feature-list { display: flex; flex-direction: column; }
.feature {
  display: grid;
  grid-template-columns: 56px 260px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 22px 8px;
  border-top: 1px solid oklch(0.32 0.02 220 / 0.6);
}
.feature:last-child { border-bottom: 1px solid oklch(0.32 0.02 220 / 0.6); }
.feature-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}
.feature-title { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.feature-desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-dim); }
.feature-desc code { font-family: var(--mono); font-size: 12.5px; color: oklch(0.80 0.014 220); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-faint);
  gap: 16px;
}

/* Tablet */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 44px 64px;
  }
  .hero-shot { max-width: 560px; }
  .shot-tabs { padding-right: 0; flex-wrap: wrap; }
  .headline { font-size: 44px; }
}

/* Mobile */
@media (max-width: 620px) {
  .site-header { padding: 20px 22px; }
  .hero { padding: 28px 22px 48px; }
  .headline { font-size: 34px; }
  .subhead { font-size: 15.5px; }
  .features { padding: 0 22px 48px; }
  .feature {
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      "num title"
      "num desc";
    column-gap: 14px;
    row-gap: 6px;
  }
  .feature-num { grid-area: num; }
  .feature-title { grid-area: title; }
  .feature-desc { grid-area: desc; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 6px; }
}
