:root {
  --bg: #ffffff; --fg: #1d1d1f; --muted: #6e6e73; --card: #f5f5f7; --line: #e5e5ea;
  --accent: #0a66d8; --accent-fg: #ffffff; --ok: #1f8a3b; --bad: #c4312b;
  --radius: 14px; --max: 1040px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111113; --fg: #f5f5f7; --muted: #a1a1a6; --card: #1c1c1f; --line: #2c2c30; --accent: #4c9bff; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); line-height: 1.55; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 12px; }
header.top .brand { font-weight: 700; text-decoration: none; color: var(--fg); }
header.top nav a { margin-left: 16px; color: var(--muted); text-decoration: none; font-size: 15px; }
.hero { padding: 48px 0 32px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p.sub { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); max-width: 680px; margin: 0 auto 24px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--fg); }
.btn.primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.fine { color: var(--muted); font-size: 14px; margin-top: 12px; }
.demo { margin: 32px auto 0; max-width: 820px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); aspect-ratio: 16 / 10; display: grid; place-items: center; color: var(--muted); }
.demo img, .demo video { width: 100%; height: 100%; object-fit: cover; display: block; }
section { padding: 40px 0; }
section h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 20px; letter-spacing: -0.01em; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.prompts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.prompts li { background: var(--card); border-radius: 10px; padding: 12px 16px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
table.cmp th, table.cmp td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.cmp th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.price { text-align: center; }
.price .amount { font-size: 48px; font-weight: 700; margin: 0; }
details { background: var(--card); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 600; }
pre { background: var(--card); padding: 14px; border-radius: 10px; overflow-x: auto; font-size: 13px; }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 14px; }
@media (max-width: 560px) { header.top nav a { margin-left: 10px; font-size: 14px; } }
.hero h1, .card, .prompts li, td, th, p { overflow-wrap: anywhere; }
img, video, pre, table { max-width: 100%; }
