:root {
  --bg: #f7f4ee;
  --fg: #1b1a17;
  --muted: #6b675f;
  --accent: #2f6df6;
  --line: #e0dbd1;
  --radius: 14px;
}

html.dark {
  --bg: #141416;
  --fg: #e8e6e1;
  --muted: #9a968e;
  --accent: #7aa9ff;
  --line: #2a2a2e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 ui-sans-serif, -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main { max-width: 720px; margin: 0 auto; padding: 0 24px 96px; }

.masthead { max-width: 720px; margin: 0 auto; padding: 32px 24px; }
.wordmark { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--fg); text-decoration: none; }

.hero { padding: 56px 0 40px; }
.hero h1 { font-size: 44px; line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 12px; }
.lede { color: var(--muted); font-size: 19px; margin: 0; }

.products { display: grid; gap: 12px; }

.product-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.product-card h2 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.01em; }
.product-card p { margin: 0 0 12px; color: var(--muted); }
.price { font-variant-numeric: tabular-nums; font-weight: 600; }

.product h1 { font-size: 38px; line-height: 1.15; letter-spacing: -0.03em; margin: 40px 0 10px; }
.shots { margin: 32px 0; padding: 0; }
.shots img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); display: block; margin-bottom: 12px; }
.body p { margin: 0 0 18px; }

.buy { margin: 36px 0; }
.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
html.dark .button { color: #10131a; }
.button-disabled { background: var(--line); color: var(--muted); cursor: default; }

.source { color: var(--muted); font-size: 15px; }
.source a { color: var(--accent); }

.footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer a { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .product-card:hover { transform: none; }
}

.demo-notice {
  margin: 0;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
html.dark .demo-notice { color: #10131a; }
