:root {
  --bg: #fbfaf7;
  --bg2: #f1efe9;
  --card: #ffffff;
  --text: #17191c;
  --muted: #5d636b;
  --line: #e3e0d8;
  --brand: #0f766e;
  --brand2: #14b8a6;
  --brand-ink: #ffffff;
  --hot: #e8590c;
  --shadow: 0 10px 30px rgba(20, 30, 40, .08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1113; --bg2: #151a1d; --card: #1a2024; --text: #e9ecee; --muted: #9aa3aa;
    --line: #2a3237; --brand: #2dd4bf; --brand2: #14b8a6; --brand-ink: #062320; --hot: #ff8a3d;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1113; --bg2: #151a1d; --card: #1a2024; --text: #e9ecee; --muted: #9aa3aa;
  --line: #2a3237; --brand: #2dd4bf; --brand2: #14b8a6; --brand-ink: #062320; --hot: #ff8a3d;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Inter", "Segoe UI", system-ui, -apple-system, sans-serif; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -.03em; }
h1 span { color: var(--brand); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
section { padding: 72px 0; }
.sub { color: var(--muted); margin-top: -.4em; }
.fine { color: var(--muted); font-size: .85rem; }

.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .row { height: 64px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--text); text-decoration: none; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--text); }
nav a.btn { color: var(--brand-ink); }
@media (max-width: 720px) { nav a:not(.btn) { display: none; } }

.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 10px; padding: 13px 22px; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: transform .1s, filter .15s; }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.small { padding: 8px 14px; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: wait; }

.hero { padding: 64px 0 56px; background: radial-gradient(900px 400px at 85% 10%, color-mix(in srgb, var(--brand2) 16%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--brand); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.lead strong { color: var(--text); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 12px; }

.mock { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar b { margin-left: 8px; font-size: .9rem; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.meter-row { display: grid; grid-template-columns: 130px 1fr 42px; align-items: center; gap: 10px; font-size: .88rem; }
.meter-row em { font-style: normal; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.meter { height: 9px; border-radius: 99px; background: var(--bg2); overflow: hidden; }
.meter div { height: 100%; background: var(--brand); border-radius: 99px; }
.meter div.hot { background: var(--hot); }
.toast { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, var(--card)); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); font-size: .88rem; }
.toast span { color: var(--muted); }
.toast.alt { background: color-mix(in srgb, var(--hot) 10%, var(--card)); border-color: color-mix(in srgb, var(--hot) 28%, var(--line)); }

.pain { background: var(--bg2); padding: 48px 0; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.three p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .three { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.steps b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.features { padding-top: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid article { padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.grid p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: var(--brand); color: var(--brand-ink); vertical-align: middle; }

.privacy { background: var(--bg2); }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.split p { color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-size: .75rem; display: grid; place-items: center; margin-top: 3px; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; align-items: start; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.plan.hi { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan ul { padding-left: 1.1em; color: var(--muted); margin: 0; }
.price { font-size: 2rem; font-weight: 800; margin: 0 0 .6em; }
.price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); padding: 3px 10px; border-radius: 99px; }

.signup { background: linear-gradient(180deg, var(--bg), var(--bg2)); }
form { display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
label { display: block; font-weight: 600; font-size: .95rem; }
label > input:not([type=checkbox]), label > select, label > textarea { display: block; margin-top: 6px; }
.opt { color: var(--muted); font-weight: 400; }
input[type=email], input[type=text], select, textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent); border-color: var(--brand); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; cursor: pointer; background: var(--bg); }
.chips label:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, var(--bg)); }
.chips input { accent-color: var(--brand); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#msg { margin: 0; min-height: 1.4em; font-weight: 600; }
#msg.ok { color: var(--brand); }
#msg.err { color: var(--hot); }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .9rem; }
footer .fine { flex: 1 1 380px; }

.doc { padding: 48px 0 72px; }
.doc h2 { font-size: 1.3rem; margin-top: 1.6em; }
.doc p, .doc li { color: var(--muted); }

.lang { font-weight: 700; font-size: .85rem; border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; }
@media (max-width: 720px) { nav a.lang { display: inline-block; } }
