:root {
  --bg: #080809;
  --bg-elevated: #101012;
  --border: #1f1f23;
  --text: #e8e8ea;
  --muted: #8b8b93;
  --accent: #c4c4cc;
  --accent-dim: #5c5c66;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  width: min(1080px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 8, 9, 0.88);
  backdrop-filter: blur(12px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

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

.hero {
  padding: 7rem 0 5rem;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: end;
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.hero-aside {
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, #111114 0%, #0b0b0d 100%);
}

.hero-aside p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-aside strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
  font-weight: 500;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn-primary:hover {
  background: #d6d6da;
}

.btn-ghost:hover {
  border-color: var(--accent-dim);
  background: var(--bg-elevated);
}

.section {
  padding: 5rem 0;
}

.section--border {
  border-top: 1px solid var(--border);
}

.section-head {
  margin-bottom: 3rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  max-width: 36rem;
}

/* Feature showcase */

.feature-showcase {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-block--reverse .feature-shot {
  order: 2;
}

.feature-block--reverse .feature-copy {
  order: 1;
}

.feature-shot {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: 8px;
  overflow: hidden;
}

.feature-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-copy h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.feature-copy p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 0.875rem;
  color: var(--accent);
}

.feature-copy li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-dim);
}

/* Use cases */

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}

.use-case {
  padding: 1.75rem;
  background: var(--bg);
}

.use-case h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.use-case p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.pricing-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.pricing-card--featured {
  border-color: var(--accent-dim);
  background: linear-gradient(165deg, #131316 0%, #101012 100%);
}

.pricing-label {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

.pricing-amount {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.pricing-amount span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

.pricing-desc {
  margin: 0 0 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.pricing-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.pricing-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent-dim);
}

.pricing-cta {
  text-align: center;
}

.pricing-cta p {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.pricing-cta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-cta a:hover {
  color: var(--text);
}

/* Download */

.download-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.download-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.download-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 500;
}

.download-card p {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.version-line {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.version-badge {
  display: inline-block;
  margin: 0 0.35rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #111114;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}

.version-date {
  color: var(--muted);
  font-size: 0.85rem;
}

.version-hint {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.install-cmd {
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #0d0d0f;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  word-break: break-all;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-grid,
  .feature-block,
  .feature-block--reverse .feature-shot,
  .feature-block--reverse .feature-copy,
  .use-case-grid,
  .pricing-grid,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .feature-block--reverse .feature-shot,
  .feature-block--reverse .feature-copy {
    order: unset;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .feature-showcase {
    gap: 3rem;
  }
}
