:root {
  --green: #128C7E; --green-d: #075E54; --ink: #10201b; --muted: #5b6b66;
  --bg: #f6faf8; --card: #fff; --line: #dbe7e2; --bubble: #dcf8c6;
}
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.6 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
       color: var(--ink); background: var(--bg); }
a { color: var(--green); }
code { background: #e8f2ee; padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
section { padding: 48px 0 8px; scroll-margin-top: 64px; }
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 0 0 16px; }
h2 { font-size: 1.7rem; margin: 0 0 20px; }
h3 { margin: 0 0 6px; font-size: 1.1rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.fine { font-size: .88rem; color: var(--muted); }

.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-weight: 800; font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.logo em { color: var(--green); font-style: normal; }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo img { width: 36px; height: 36px; }
.foot a.du7 { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.foot a.du7 img { border-radius: 4px; }
.chat-head { display: flex; align-items: center; gap: 10px; background: var(--green-d); color: #fff;
             margin: -18px -18px 10px; padding: 10px 14px; border-radius: 20px 20px 0 0; }
.chat-head img { width: 34px; height: 34px; border-radius: 50%; background: #fff; }
.chat-head span { display: grid; line-height: 1.2; font-size: .95rem; }
.chat-head small { opacity: .75; font-size: .75rem; }
nav a { margin-left: 18px; text-decoration: none; color: var(--ink); font-size: .95rem; }
nav a.btn { color: #fff; }
.logo, .btn { white-space: nowrap; }
@media (max-width: 640px) {
  nav a:not(.btn) { display: none; }
  .logo { font-size: 1.1rem; gap: 6px; }
  .logo img { width: 28px; height: 28px; }
}

.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; border: 0;
       font: inherit; font-weight: 600; padding: 12px 22px; border-radius: 999px; cursor: pointer; }
.btn:hover { background: var(--green-d); }
.btn.small { padding: 6px 14px; font-size: .9rem; }

.hero { padding-top: 56px; }
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.phone { background: #e5ddd5; border-radius: 28px; padding: 18px; border: 8px solid #1f2c34; max-width: 360px; justify-self: center; }
.chat p { margin: 8px 0; padding: 8px 12px; border-radius: 10px; max-width: 85%; font-size: .95rem;
          box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.chat .me { background: var(--bubble); margin-left: auto; width: fit-content; }
.chat .bot { background: #fff; width: fit-content; }
.chat .doc { font-weight: 600; }

.steps { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 18px;
         grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px;
                    border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 8px; }
.steps strong, .steps span { display: block; }
.steps span { color: var(--muted); }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card p { margin: 0; color: var(--muted); }

.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 640px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.plan.best { border: 2px solid var(--green); }
.price { font-size: 2rem; font-weight: 800; margin: 4px 0; }
.price small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.plan ul { padding-left: 18px; margin: 8px 0 0; color: var(--muted); }

.form { display: grid; gap: 14px; max-width: 520px; background: var(--card); border: 1px solid var(--line);
        border-radius: 14px; padding: 24px; }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
.form input:not([type=radio]):not([type=checkbox]) { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 600; font-size: .95rem; margin-bottom: 4px; }
.form .radio, .form .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.notice { background: #fff6e0; border: 1px solid #f1d38a; border-radius: 10px; padding: 12px 16px; }
.error { background: #fdecec; border: 1px solid #f3b5b5; border-radius: 10px; padding: 12px 16px; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }

.page { padding: 40px 20px; max-width: 760px; }
.foot { padding: 40px 20px; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); margin-top: 48px; }
