:root {
  --bg: #fbfaf7; --surface: #ffffff; --text: #16161a; --muted: #5d5d66; --line: #e7e5df;
  --accent: #ff4f2e; --accent-ink: #ffffff; --soft: #fff1ec;
  --radius: 18px; --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111113; --surface: #1a1a1e; --text: #f3f2ee; --muted: #a4a3ab; --line: #2a2a30; --soft: #2a1812; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header.site { 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); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; font-size: 19px; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.brand i { font-style: normal; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 16px; }
nav.top a { text-decoration: none; color: var(--muted); margin-left: 22px; font-size: 15px; }
nav.top a:hover { color: var(--text); }
.cta {
  display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 700; padding: 15px 26px; border-radius: 14px; font-size: 17px;
  transition: transform .15s, box-shadow .15s; box-shadow: 0 8px 24px -10px var(--accent);
}
.cta:hover { transform: translateY(-2px); }
.cta.ghost { background: transparent; color: var(--text); box-shadow: none; border: 1.5px solid var(--line); }

.hero { padding: 72px 0 56px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 20px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 30px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { color: var(--muted); font-size: 14px; margin-top: 16px; }
.phone {
  background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.25);
  max-width: 340px; justify-self: center; width: 100%;
}
.phone .msg { background: var(--soft); border-radius: 16px 16px 16px 4px; padding: 12px 14px; font-size: 14px; margin-bottom: 10px; }
.phone .msg.me { background: var(--accent); color: var(--accent-ink); border-radius: 16px 16px 4px 16px; margin-left: 30%; }
.phone .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.phone .chips span { border: 1.5px solid var(--line); border-radius: 10px; padding: 5px 9px; font-size: 13px; }
.phone .chips span.on { border-color: var(--accent); background: var(--soft); font-weight: 700; }

section.block { padding: 64px 0; border-top: 1px solid var(--line); }
section.block h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 12px; }
section.block .sub { color: var(--muted); margin: 0 0 36px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feat b { display: block; font-size: 18px; margin: 10px 0 6px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
.feat .ico { font-size: 26px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 12px; }
.steps ol { padding: 0; margin: 0; display: contents; }
ul.tariffs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
li.tariff { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
li.tariff.hot { border-color: var(--accent); }
li.tariff b { font-size: 20px; }
li.tariff span { color: var(--muted); }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }

footer.site { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer.site .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 6px; }

article.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 64px; }
article.doc h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 6px; }
article.doc .date { color: var(--muted); margin-bottom: 32px; }
article.doc h2 { font-size: 21px; margin: 34px 0 10px; }
article.doc p, article.doc li { color: var(--text); }
article.doc ol, article.doc ul { padding-left: 22px; }
article.doc .req { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .grid, .steps, ul.tariffs { grid-template-columns: 1fr; }
  nav.top a:not(.keep) { display: none; }
}
