:root {
  --bg: #FBF8F3;
  --card: #FFFFFF;
  --ink: #1D1B22;
  --ink-2: #5F5A66;
  --ink-3: #8E8994;
  --line: #ECE6DD;
  --accent: #7A2E3A;
  --accent-ink: #FFFFFF;
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
}
body.kids { --bg: #FFF6EA; --line: #F1E4D2; --accent: #E8513D; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header.top { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 20px; letter-spacing: -.01em; text-decoration: none; }
.logo i { font-style: normal; color: var(--accent); }
.top-link { font-weight: 600; font-size: 15px; color: var(--ink-2); text-decoration: none; }

.hero { display: grid; gap: 40px; align-items: center; padding: 24px 0 64px; }
.hero h1 { font: 700 36px/1.12 var(--font); letter-spacing: -.02em; }
.hero .lead { margin-top: 16px; color: var(--ink-2); font-size: 18px; max-width: 520px; }
.cta { margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 28px; border-radius: 16px;
  background: var(--accent); color: var(--accent-ink); border: 0; font: 600 17px/1 var(--font); cursor: pointer;
  text-decoration: none; transition: transform .12s ease, opacity .12s ease;
}
.btn:active { transform: scale(.98); }
.note { margin-top: 12px; color: var(--ink-3); font-size: 15px; }

.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone {
  width: 300px; height: 620px; border-radius: 46px; background: #121114; padding: 11px;
  box-shadow: 0 40px 80px -30px rgba(29, 27, 34, .45), 0 0 0 1px rgba(0, 0, 0, .05);
}
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 36px; background: #fff; display: block; }
.phone-cap { color: var(--ink-3); font-size: 15px; text-align: center; }

section.block { padding: 56px 0; border-top: 1px solid var(--line); }
.block h2 { font: 700 28px/1.2 var(--font); letter-spacing: -.01em; margin-bottom: 24px; }
.steps { list-style: none; display: grid; gap: 22px; counter-reset: s; max-width: 640px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; counter-increment: s; }
.steps li::before {
  content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--card); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--accent);
}
.steps b { display: block; font-weight: 600; }
.steps span { color: var(--ink-2); }

.lists { display: grid; gap: 24px; }
.group h3 { font: 600 15px/1.3 var(--font); color: var(--ink-3); margin: 0 0 8px 4px; }
.rows { list-style: none; background: var(--card); border-radius: 18px; border: 1px solid var(--line); overflow: hidden; }
.rows li { padding: 14px 18px; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; }
.rows b { font-weight: 600; }
.rows span { color: var(--ink-2); }
.rows li:has(> a) { padding: 0; }
.rows a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; text-decoration: none; }

.price { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px 24px; max-width: 560px; }
.price .sum { font: 700 48px/1 var(--font); letter-spacing: -.02em; }
.price .per { color: var(--ink-2); margin-top: 8px; }
.price ul { list-style: none; margin-top: 20px; display: grid; gap: 8px; }
.price li { padding-left: 26px; position: relative; }
.price li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.price .vs { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }

.faq { max-width: 680px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 32px 18px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq p { padding: 0 0 18px; color: var(--ink-2); }

footer.foot { padding: 40px 0 56px; color: var(--ink-3); font-size: 15px; border-top: 1px solid var(--line); }
footer.foot a { color: var(--ink-2); }

/* Sheet */
.sheet-bg { position: fixed; inset: 0; background: rgba(20, 18, 24, .45); display: flex; align-items: flex-end; justify-content: center; z-index: 20; opacity: 0; transition: opacity .2s; }
.sheet-bg[hidden] { display: none; }
.sheet-bg.on { opacity: 1; }
.sheet { background: var(--card); width: 100%; max-width: 480px; border-radius: 24px 24px 0 0; padding: 28px 24px calc(28px + env(safe-area-inset-bottom)); transform: translateY(24px); transition: transform .25s ease; }
.sheet-bg.on .sheet { transform: none; }
.sheet h3 { font: 700 22px/1.25 var(--font); }
.sheet p { color: var(--ink-2); margin-top: 10px; }
.sheet input { width: 100%; height: 54px; margin-top: 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); padding: 0 16px; font: 400 17px var(--font); color: var(--ink); outline: none; }
.sheet input:focus { border-color: var(--accent); }
.sheet .btn { width: 100%; margin-top: 12px; }
.sheet .x { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--ink-3); font: 600 15px var(--font); cursor: pointer; padding: 8px; }
.sheet .err { color: var(--accent); font-size: 15px; margin-top: 8px; }

@media (min-width: 880px) {
  .hero { grid-template-columns: 1fr 340px; padding: 48px 0 88px; gap: 64px; }
  .hero h1 { font-size: 48px; }
  .lists { grid-template-columns: 1fr 1fr; }
  .sheet-bg { align-items: center; }
  .sheet { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
