:root {
  --bg: #fafaf9;
  --fg: #111110;
  --muted: #5d5b57;
  --line: #e4e2dd;
  --card: #ffffff;
  --accent: #f5c400;
  --accent-fg: #111110;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0e;
    --fg: #f3f2ef;
    --muted: #a8a59f;
    --line: #2a2926;
    --card: #181816;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; letter-spacing: -0.02em; text-decoration: none; font-size: 1.15rem; }
.brand span { background: var(--accent); color: var(--accent-fg); padding: 0 6px; border-radius: 6px; margin-left: 2px; }
nav.site a { text-decoration: none; color: var(--muted); margin-left: 20px; font-size: 0.95rem; }
nav.site a:hover { color: var(--fg); }

.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 16px; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 620px; margin: 0 auto 28px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 650;
  text-decoration: none; background: var(--fg); color: var(--bg); border: 1px solid var(--fg);
}
.btn.ghost { background: transparent; color: var(--fg); }
.btn + .btn { margin-left: 8px; }

section { padding: 48px 0; }
section h2 { font-size: 1.8rem; letter-spacing: -0.02em; margin: 0 0 8px; }
section .lead { color: var(--muted); margin: 0 0 28px; }

.demos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 640px; margin: 0 auto; }
.demos figure { margin: 0; }
.demos video { width: 100%; aspect-ratio: 9 / 16; border-radius: var(--radius); background: #000; display: block; }
.demos figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.credit { font-size: 0.8rem; color: var(--muted); margin-top: 16px; }

.steps, .features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: var(--fg); }
.price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 0; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.plan ul { padding-left: 18px; margin: 14px 0 20px; color: var(--muted); font-size: 0.95rem; flex: 1; }
.plan .btn { text-align: center; }
.note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }

details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 8px 0 0; }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer.site a { text-decoration: none; margin-right: 16px; }
footer.site a:hover { color: var(--fg); }

.legal { padding: 48px 0; }
.legal h1 { letter-spacing: -0.02em; margin: 0 0 4px; }
.legal .updated { color: var(--muted); margin: 0 0 28px; }
.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--fg); }

@media (max-width: 760px) {
  .demos, .steps, .features, .plans { grid-template-columns: 1fr; }
  .demos { max-width: 360px; margin: 0 auto; }
  nav.site a { margin-left: 14px; }
  nav.site a.hide-sm { display: none; }
  .hero { padding-top: 48px; }
}
