:root {
  --bg: #f7f8f6; --surface: #ffffff; --ink: #14201b; --muted: #5d6b64; --line: #e2e7e3;
  --brand: #0b6e4f; --brand-2: #0e8a63; --brand-soft: #e6f3ee; --accent: #c8932e;
  --radius: 14px; --shadow: 0 1px 2px rgba(16, 32, 26, .05), 0 8px 24px rgba(16, 32, 26, .06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1412; --surface: #151d1a; --ink: #e8efeb; --muted: #9aaba3; --line: #24302b;
    --brand: #23b583; --brand-2: #3fd09e; --brand-soft: #16302a; --accent: #e0b25a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* header */
.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 .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.top nav { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.top nav a.plain { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a.plain:hover { color: var(--ink); }
@media (max-width: 640px) { .top nav a.plain { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: scale(.98); }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-2); }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }

/* hero */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
h1 { font-size: clamp(30px, 5.2vw, 50px); line-height: 1.12; margin: 0 0 16px; letter-spacing: -.02em; }
h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); margin: 0 0 26px; max-width: 34em; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; font-size: 13px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: var(--brand); margin-bottom: 10px; }
.mock-head small { color: var(--muted); font-weight: 600; }
.mock-row { display: flex; gap: 10px; align-items: center; padding: 9px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; border-left: 3px solid var(--brand); }
.mock-row .ph { width: 34px; height: 34px; border-radius: 7px; background: linear-gradient(135deg, var(--brand-soft), var(--line)); flex: 0 0 auto; }
.mock-row b { display: block; font-size: 13px; }
.mock-row span { color: var(--muted); font-size: 12px; }
.tag { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.tag.kid { background: #efe7fb; color: #6a3fb5; }
.mock-bar { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.mock-bar i { font-style: normal; font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 8px; background: var(--brand); color: #fff; }

/* sections */
section { padding: 48px 0; }
h2 { font-size: clamp(24px, 3.6vw, 34px); line-height: 1.2; margin: 0 0 10px; letter-spacing: -.01em; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 40em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin: 10px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--brand-soft); color: var(--brand); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.feat { display: flex; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.feat .ic { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.feat .ic svg { width: 20px; height: 20px; }
.feat b { display: block; margin-bottom: 2px; }
.feat span { color: var(--muted); font-size: 15px; }

/* pricing */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.price .card.big { display: flex; flex-direction: column; justify-content: center; }
.amount { font-size: clamp(34px, 6vw, 48px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.amount small { font-size: 16px; color: var(--muted); font-weight: 600; }
.list { list-style: none; padding: 0; margin: 14px 0 0; }
.list li { padding: 6px 0 6px 26px; position: relative; color: var(--muted); }
.list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 14px; height: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* faq */
details.q { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
details.q summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.q summary::after { content: "+"; color: var(--brand); font-weight: 800; }
details.q[open] summary::after { content: "–"; }
details.q p { margin: 10px 0 0; color: var(--muted); }

.final { text-align: center; background: var(--brand); color: #fff; border-radius: 20px; padding: 40px 20px; }
.final h2 { color: #fff; }
.final p { color: rgba(255, 255, 255, .85); margin: 0 0 22px; }
.final .btn { background: #fff; color: var(--brand); }

footer { padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--muted); }

/* legal page */
.doc { max-width: 760px; padding-top: 32px; padding-bottom: 48px; }
.doc h1 { font-size: clamp(26px, 4vw, 36px); }
.doc h2 { font-size: 20px; margin-top: 28px; }
.doc p, .doc li { color: var(--muted); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }

/* mobile */
@media (max-width: 860px) {
  .hero { padding: 32px 0 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .grid3, .features, .price { grid-template-columns: 1fr; }
  section { padding: 36px 0; }
}
@media (max-width: 420px) {
  .cta .btn { width: 100%; }
  .top .btn.small { padding: 7px 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
