:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #5a5a5a;
  --accent: #0a5cd8;
  --border: #e2e2e2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --fg: #eaeaea;
    --muted: #a0a0a0;
    --accent: #6ea8ff;
    --border: #2a2d33;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
nav {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
nav a.brand {
  color: var(--fg);
  font-weight: 700;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
nav a.brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: block;
}
nav a:hover { color: var(--accent); }
h1 { font-size: 28px; margin-bottom: 4px; }
h2 { font-size: 19px; margin-top: 36px; }
.updated { color: var(--muted); font-size: 13px; margin-bottom: 32px; }
p, li { color: var(--fg); }
ul { padding-left: 22px; }
a { color: var(--accent); }
footer {
  margin-top: 60px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}
footer a { margin: 0 2px; }

/* Marketing homepage */
.wrap.wide { max-width: 980px; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 auto 18px;
  max-width: 780px;
}
.hero .lede {
  max-width: 620px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}
.cta-badge {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
}
.cta-secondary {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
}

.shot {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.35);
  display: block;
}
.hero-shot { margin: 0 auto; }

.features { margin-top: 72px; }
.features h2, .showcase h2, .pricing h2 { text-align: center; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 28px;
}
.feature h3 { font-size: 16px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

.showcase { margin-top: 88px; }
.showcase-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 56px;
}
.showcase-row.reverse { grid-template-columns: 1fr 1.3fr; }
.showcase-row.reverse .shot { order: 2; }
.showcase-copy h2 { text-align: left; margin-top: 0; font-size: 22px; }
.showcase-copy p { color: var(--muted); }

.pricing { margin-top: 88px; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.price-grid.single {
  grid-template-columns: minmax(0, 360px);
  justify-content: center;
}
.price-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.price-card h3 { margin: 0 0 10px; font-size: 16px; }
.price-card .price {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 14px;
}
.price-card .price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.price-card p:not(.price) { color: var(--muted); font-size: 14px; margin: 0; }

@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .feature-grid, .price-grid { grid-template-columns: 1fr; }
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; }
  .showcase-row.reverse .shot { order: 2; }
}
