:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --text: #141a26;
  --muted: #5d6677;
  --line: #e4e8ee;
  --card: #ffffff;
  --accent: #1f6feb;
  --accent-text: #ffffff;
  --accent-soft: #e8f0fe;
  --ok: #188038;
  --shadow: 0 1px 2px rgba(20, 26, 38, .06), 0 8px 24px rgba(20, 26, 38, .06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1218;
    --bg-soft: #151a22;
    --text: #e8ebf1;
    --muted: #9aa3b3;
    --line: #262d39;
    --card: #181d26;
    --accent: #5b9cff;
    --accent-text: #0f1218;
    --accent-soft: #1b2a44;
    --ok: #5cc27a;
    --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%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

header { border-bottom: 1px solid var(--line); background: var(--bg); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font-weight: 800; font-size: 19px; letter-spacing: -.01em; text-decoration: none; color: var(--text); }
.brand span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--text); }

.btn { display: inline-block; background: var(--accent); color: var(--accent-text); text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 10px; }
.btn:hover { filter: brightness(1.05); }
.btn-small { padding: 8px 16px; font-size: 15px; color: var(--accent-text) !important; }

.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 46px; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 18px; }
.hero p.sub { font-size: 20px; color: var(--muted); margin: 0 0 28px; }
.hero .meta { margin-top: 16px; color: var(--muted); font-size: 15px; }

.profile { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 22px; font-size: 14px; }
.profile .name { font-size: 18px; font-weight: 700; margin: 0; }
.profile .rating { color: var(--muted); margin: 2px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.block { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.block h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.block p { margin: 0; line-height: 1.5; }
.check { color: var(--ok); font-weight: 700; margin-right: 6px; }
.services { margin: 0; padding: 0; list-style: none; }
.services li { margin: 2px 0; }

section { padding: 64px 0; }
section.soft { background: var(--bg-soft); }
h2 { font-size: 32px; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 12px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 36px; max-width: 680px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-text); font-weight: 700; margin-bottom: 12px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

.price-card { max-width: 520px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 32px; text-align: center; }
.price-card .amount { font-size: 56px; font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 8px 0; }
.price-card .per { color: var(--muted); margin-bottom: 22px; }
.price-card ul { text-align: left; list-style: none; padding: 0; margin: 0 0 24px; }
.price-card li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.price-card li:last-child { border-bottom: 0; }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.cta { text-align: center; }
.cta p { color: var(--muted); margin: 0 0 24px; }

main.doc { padding: 48px 0 24px; }
main.doc h1 { font-size: 36px; margin: 0 0 8px; letter-spacing: -.01em; }
main.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.note { color: var(--muted); font-size: 15px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .grid, .steps { grid-template-columns: 1fr; }
  nav a.hide-sm { display: none; }
}

.hero h1 { margin-bottom: 14px; }
.included { margin: 0 0 24px; padding: 0; list-style: none; }
.included li { padding: 5px 0; font-size: 17px; }
.ba { display: grid; gap: 14px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.tag.before { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.tag.after { background: var(--accent-soft); color: var(--accent); }
.profile.empty-card { box-shadow: none; background: var(--bg-soft); }
.empty { color: var(--muted); font-style: italic; }
.chip.grey { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.why p { font-size: 19px; max-width: 760px; margin: 0; }

.hero { padding: 40px 0 56px; }
.hero .wrap { grid-template-columns: 1fr 1.15fr; align-items: start; gap: 40px; }
.ba { grid-template-columns: 1fr 1fr; align-items: start; }
.ba .profile { padding: 16px; font-size: 13px; }
.ba .profile .name { font-size: 16px; }
.ba .chip { font-size: 11px; }
@media (max-width: 860px) { .ba { grid-template-columns: 1fr; } }
.hero h1 { font-size: 40px; }

.contact-text { color: var(--muted); font-size: 15px; }
.contact-line { font-weight: 600; margin: 0; }
.ba { align-items: stretch; grid-auto-rows: 1fr; }

.btn { border: 0; cursor: pointer; font: inherit; }
.btn-ghost { background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 12px 18px; font: inherit; cursor: pointer; }
.contact-dialog { border: 1px solid var(--line); border-radius: 16px; padding: 0; width: min(460px, 92vw); background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.contact-dialog::backdrop { background: rgba(10, 14, 22, .45); }
.contact-dialog form { padding: 24px; display: grid; gap: 8px; }
.contact-dialog h3 { margin: 0 0 8px; font-size: 20px; }
.contact-dialog label { font-weight: 600; font-size: 15px; margin-top: 6px; }
.contact-dialog .optional { font-weight: 400; color: var(--muted); }
.contact-dialog input, .contact-dialog textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); width: 100%; }
.contact-dialog textarea { resize: vertical; }
.contact-status { min-height: 22px; margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.contact-status.ok { color: var(--ok); }
.contact-status.error { color: #d93025; }
.contact-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .ba { grid-template-columns: 1fr; } }
