:root {
  --bg: #fbf6f4;
  --surface: #ffffff;
  --ink: #2e1a24;
  --muted: #6b5560;
  --line: #ecdcd8;
  --accent: #a3385f;
  --accent-ink: #ffffff;
  --accent-soft: #f7e3ea;
  --chat-bg: #efe7e3;
  --bubble-in: #ffffff;
  --bubble-out: #d7f4dc;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a1216; --surface: #241920; --ink: #f3e7ec; --muted: #bba5af; --line: #3d2a33;
    --accent: #f08bb0; --accent-ink: #1a1216; --accent-soft: #42232f; --chat-bg: #1f171b;
    --bubble-in: #2c2027; --bubble-out: #1d4a3b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1a1216; --surface: #241920; --ink: #f3e7ec; --muted: #bba5af; --line: #3d2a33;
  --accent: #f08bb0; --accent-ink: #1a1216; --accent-soft: #42232f; --chat-bg: #1f171b;
  --bubble-in: #2c2027; --bubble-out: #1d4a3b;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }

header.top { padding-block: 18px; border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand img { width: 30px; height: 30px; }
nav.links { display: flex; gap: 6px 20px; font-size: 14px; flex-wrap: wrap; }
nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover, nav.links a[aria-current="page"] { color: var(--accent); }

.intro { padding-block: 56px 40px; }
.intro .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.intro .wrap > * { min-width: 0; }
@media (max-width: 820px) { .intro .wrap { grid-template-columns: 1fr; gap: 32px; } }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; margin: 12px 0 16px; text-wrap: balance; }
h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; margin: 0 0 12px; }
.lede { font-size: 18px; color: var(--muted); max-width: 54ch; margin: 0; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid var(--accent); font-size: 15px; cursor: pointer; font-family: inherit; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--accent); }

.chat { background: var(--chat-bg); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 10px; }
.bubble { max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.bubble.in { background: var(--bubble-in); justify-self: start; }
.bubble.out { background: var(--bubble-out); justify-self: end; }
.bubble small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }

section.block { padding-block: 40px; border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
ol.steps { padding-left: 20px; color: var(--muted); }
ol.steps li { margin-bottom: 8px; }
ol.steps b { color: var(--ink); }

main.doc { padding-block: 40px 56px; }
main.doc .wrap { max-width: 760px; }
main.doc h2 { font-size: 22px; margin-top: 32px; }
.meta { color: var(--muted); font-size: 14px; }
.note { background: var(--accent-soft); border-radius: 12px; padding: 14px 16px; }

form.signup { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-top: 20px; }
form.signup label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
form.signup input, form.signup select { font: inherit; font-weight: 400; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
form.signup .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
form.signup .check input { width: auto; margin-top: 5px; }
.soon { border: 1px dashed var(--line); border-radius: 14px; padding: 16px; color: var(--muted); margin-top: 24px; }

footer { border-top: 1px solid var(--line); padding-block: 24px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
