:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --text: #1c1b19;
  --muted: #5d5a54;
  --line: #e6e1d8;
  --accent: #2f5bea;
  --accent-ink: #ffffff;
  --accent-soft: #e8eefe;
  --ok: #1f7a4d;
  --radius: 14px;
  --max: 1080px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body.handwerk {
  --accent: #e0621a;
  --accent-soft: #fdeee4;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141412;
    --surface: #1d1c1a;
    --text: #f1eee8;
    --muted: #aaa59c;
    --line: #34322e;
    --accent-soft: #232b45;
  }
  :root:not([data-theme="light"]) body.handwerk { --accent-soft: #3a2618; }
}
:root[data-theme="dark"] {
  --bg: #141412; --surface: #1d1c1a; --text: #f1eee8; --muted: #aaa59c; --line: #34322e; --accent-soft: #232b45;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

header.top { border-bottom: 1px solid var(--line); background: var(--surface); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.logo span { color: var(--accent); }

.hero { padding: 72px 0 48px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 18px; max-width: 18ch; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; margin: 0 0 28px; }
.eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 99px; margin-bottom: 18px; }

.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); border: 0; padding: 14px 24px; border-radius: 10px; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none; font-family: inherit; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

section { padding: 56px 0; }
section h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: -0.02em; margin: 0 0 12px; }
section p.sub { color: var(--muted); margin: 0 0 32px; max-width: 65ch; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .grid.four { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg, .ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.demo { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .demo { grid-template-columns: 1fr; } }
.demo .card p + p { margin-top: 10px; }
.demo .card.in { border-style: dashed; font-style: italic; }
.demo .label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 10px; }

.price { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.price .card.featured { border: 2px solid var(--accent); }
.amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; }
.amount small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.strike { text-decoration: line-through; color: var(--muted); margin-right: 8px; }
.price ul { padding-left: 20px; color: var(--muted); }
.price .btn { width: 100%; text-align: center; margin-top: 12px; }

form.waitlist { display: grid; gap: 12px; max-width: 520px; }
form.waitlist input[type=email], form.waitlist input[type=text], form.waitlist select {
  padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 1rem; font-family: inherit; width: 100%;
}
form.waitlist label.consent { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
form.waitlist .hp { position: absolute; left: -9999px; }
.msg { font-weight: 600; }
.msg.ok { color: var(--ok); }
.msg.err { color: #c0392b; }

.check { max-width: 640px; }
.check .q { margin-bottom: 18px; }
.check .q p { font-weight: 600; margin: 0 0 8px; }
.check .opts { display: flex; gap: 8px; flex-wrap: wrap; }
.check .opts button { background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 8px 16px; border-radius: 99px; cursor: pointer; font-family: inherit; font-size: .95rem; }
.check .opts button.sel { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.result { margin-top: 20px; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px; }
summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin: 10px 0 0; }

dialog { border: 0; border-radius: var(--radius); padding: 28px; max-width: 460px; width: calc(100% - 32px); background: var(--surface); color: var(--text); }
dialog::backdrop { background: rgba(0,0,0,.45); }
dialog h3 { margin-top: 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
footer a { color: var(--muted); margin-right: 16px; }
.note { font-size: .85rem; color: var(--muted); }

.legal { max-width: 760px; padding: 48px 16px; margin: 0 auto; }
.legal h1 { letter-spacing: -0.02em; }
.placeholder { background: #fff3b0; color: #1c1b19; padding: 0 4px; border-radius: 4px; }
