:root {
  --violet: #7c5cff;
  --violet-dark: #5a3fe0;
  --violet-text: #5b3fe0;
  --violet-soft: #f0ecff;
  --green: #2bc48a;
  --green-base: #157a54;
  --gold: #ffc83d;
  --orange-soft: #fff1de;
  --bg: #ffffff;
  --surface: #f5f6fa;
  --border: #e4e6ef;
  --text: #1f1d2b;
  --body: #4b4860;
  --muted: #625f73;
}
@media (prefers-color-scheme: dark) {
  :root {
    --violet-soft: #2a2442;
    --violet-text: #b6a5ff;
    --orange-soft: #3a2b14;
    --bg: #12131a;
    --surface: #1b1d27;
    --border: #2c2f3d;
    --text: #f2f3f8;
    --body: #c9cbd8;
    --muted: #a3a6b8;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 "Nunito", system-ui, sans-serif;
  color: var(--body);
  background: var(--bg);
}
h1, h2, h3 { font-family: "Fredoka", "Nunito", system-ui, sans-serif; color: var(--text); line-height: 1.15; margin: 0; }
a { color: var(--violet-text); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 26px "Fredoka", sans-serif; color: var(--text); }
.brand svg { width: 36px; height: 36px; }
nav.top a { margin-left: 20px; font-weight: 700; text-decoration: none; color: var(--body); }
nav.top a:hover { color: var(--violet-text); }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 48px 0 72px; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--violet-text); }
.hero p.lead { font-size: 20px; margin: 18px 0 28px; max-width: 30em; }
.hero .bub { display: flex; justify-content: center; }
.hero .bub svg { width: min(320px, 70vw); height: auto; }

.btn {
  display: inline-block; padding: 14px 26px; border-radius: 16px; font: 600 18px "Fredoka", sans-serif;
  text-decoration: none; color: #fff; background: var(--violet); box-shadow: 0 5px 0 var(--violet-dark);
}
.btn.soft { background: var(--surface); color: var(--text); box-shadow: 0 5px 0 var(--border); }
.btn[aria-disabled="true"] { opacity: 0.85; cursor: default; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }

section { padding: 56px 0; }
section.tint { background: var(--surface); }
section h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; text-align: center; }
section .sub { text-align: center; max-width: 36em; margin: 12px auto 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.card { background: var(--bg); border: 2px solid var(--border); border-radius: 22px; padding: 24px; }
.card .num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--violet-soft); color: var(--violet-text);
  display: grid; place-items: center; font: 600 20px "Fredoka", sans-serif; margin-bottom: 14px;
}
.card h3 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.card p { margin: 0; }

.chat { max-width: 440px; margin: 36px auto 0; display: flex; flex-direction: column; gap: 10px; }
.msg { padding: 12px 16px; border-radius: 20px; max-width: 80%; }
.msg.them { background: var(--surface); color: var(--text); align-self: flex-start; border-bottom-left-radius: 6px; }
.msg.you { background: #6b4bf5; color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.tip { align-self: stretch; background: var(--orange-soft); border-radius: 18px; padding: 12px 16px; font-size: 15px; color: var(--text); }

.feat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.feat .card { display: flex; gap: 16px; align-items: flex-start; }
.feat .emoji { font-size: 30px; line-height: 1; }

.price { max-width: 460px; margin: 32px auto 0; text-align: center; }
.price .amt { font: 600 52px "Fredoka", sans-serif; color: var(--text); }
.price ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.price li { padding: 4px 0; }
.price li::before { content: "✓ "; color: var(--green-base); font-weight: 800; }

.care { max-width: 640px; margin: 0 auto; text-align: center; }
.care p { margin: 12px 0 0; }

footer { border-top: 2px solid var(--border); padding: 32px 0 48px; font-size: 15px; color: var(--muted); }
footer .row { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer a { color: var(--muted); margin-right: 18px; }

/* legal + simple pages */
main.doc { max-width: 700px; margin: 0 auto; padding: 24px 20px 64px; }
main.doc h1 { font-size: 38px; margin-bottom: 8px; }
main.doc h2 { font-size: 22px; margin-top: 32px; }
main.doc .draft { background: var(--orange-soft); color: var(--text); padding: 10px 14px; border-radius: 12px; }

@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .hero .bub { order: -1; }
  .steps, .feat { grid-template-columns: 1fr; }
  nav.top a:not(.keep) { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
