:root {
  color-scheme: dark;
  --bg: #170d18;
  --panel: #211323;
  --raise: #2b1a2d;
  --line: #46304a;
  --text: #f8eff4;
  --muted: #c5b0c0;
  --rose: #ff7d9c;
  --low: #432c45;
  --mid: #793a5b;
  --high: #bd4a73;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1.0625rem/1.6 Inter, "Segoe UI Variable Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, dl, dd, figure { margin: 0; }
ol { padding: 0; list-style: none; }
h1, h2 { font-weight: 640; line-height: 1.07; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.3rem; font-weight: 620; line-height: 1.25; letter-spacing: -0.015em; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 32px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 14px; z-index: 20; padding: 8px 14px; background: var(--rose); color: var(--bg); border-radius: 8px; }
.low { fill: var(--low); } .mid { fill: var(--mid); } .high { fill: var(--high); } .crit { fill: var(--rose); }

.top { position: sticky; top: 0; z-index: 10; background: rgba(23, 13, 24, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 640; text-decoration: none; white-space: nowrap; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { text-decoration: none; font-size: 0.975rem; }
nav a:not(.button) { color: var(--muted); }
nav a:not(.button):hover { color: var(--text); }
.button { display: inline-block; padding: 15px 26px; border-radius: 12px; background: var(--rose); color: #260a16; font-weight: 640; text-decoration: none; transition: background 0.15s; }
.button:hover { background: #ff9bb3; }
.button.small { padding: 9px 18px; border-radius: 10px; }
.ghost { text-underline-offset: 6px; text-decoration-color: var(--high); }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; padding-block: clamp(56px, 8vw, 112px); }
.lead { margin-top: 26px; max-width: 52ch; color: var(--muted); font-size: 1.175rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.matrix { width: 100%; max-width: 460px; justify-self: end; }
.matrix svg { display: block; width: 100%; height: auto; }
.matrix text { fill: var(--muted); font-size: 14px; }
.route { fill: none; stroke: var(--text); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; opacity: 0.65; }
.ring { fill: none; stroke: var(--text); stroke-width: 2; opacity: 0.75; }
.dot { fill: var(--text); transform: translate(-186px, 186px); animation: treat 8s ease-in-out infinite; }
@keyframes treat {
  0%, 14% { transform: translate(0, 0); opacity: 1; }
  34%, 46% { transform: translate(-124px, 62px); }
  66%, 92% { transform: translate(-186px, 186px); opacity: 1; }
  96% { transform: translate(-186px, 186px); opacity: 0; }
  97% { transform: translate(0, 0); opacity: 0; }
  100% { transform: translate(0, 0); opacity: 1; }
}
figcaption { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0 0 11%; color: var(--muted); font-size: 0.9375rem; }
figcaption span { display: inline-flex; align-items: center; gap: 9px; }
figcaption i { width: 14px; height: 14px; border-radius: 4px; }
.k-crit { background: var(--rose); } .k-low { background: var(--low); border: 1px solid #7d5f82; }

.block { padding-block: clamp(72px, 9vw, 120px); }
.head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; margin-bottom: 44px; }
.head p { color: var(--muted); font-size: 1.125rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards article { display: flex; flex-direction: column; padding: 32px; border-radius: 18px; background: var(--raise); }
.cards p { margin-top: 12px; color: var(--muted); }
.cards .gets { margin-top: auto; padding-top: 28px; color: var(--text); }
b { font-weight: 620; }
.gets b { color: var(--rose); }
.for { margin-top: 36px; max-width: 64ch; color: var(--muted); font-size: 1.125rem; }
.for b { color: var(--text); }

.panel { background: var(--panel); padding-block: clamp(72px, 9vw, 120px); }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; }
.ways > div { padding: 32px; }
.ways > div + div { border-left: 1px solid var(--line); }
.ways p { margin-top: 12px; color: var(--muted); }
.ways .price { margin-top: 4px; color: var(--rose); }
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; margin-top: 52px; }
.terms dt { font-weight: 620; }
.terms dd { margin-top: 4px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 11px; font-weight: 640; background: var(--rose); color: #260a16; }
.steps li:nth-child(2)::before { background: var(--high); color: #fff; }
.steps li:nth-child(3)::before { background: var(--mid); color: #fff; }
.steps li:nth-child(4)::before { background: var(--low); color: #fff; }
.steps p { margin-top: 8px; color: var(--muted); }

.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; padding-bottom: 64px; }
.cta, .company { padding: clamp(28px, 4vw, 52px); border-radius: 22px; }
.cta { background: var(--rose); color: #260a16; }
.cta p { margin: 18px 0 30px; font-size: 1.125rem; }
.mail { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 640; text-underline-offset: 6px; overflow-wrap: anywhere; }
.cta a:focus-visible { outline-color: #260a16; }
.company { background: var(--raise); }
.company dl { margin-top: 18px; }
.company dl div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 2px 16px; padding-block: 12px; border-top: 1px solid var(--line); font-size: 0.975rem; }
.company dt { color: var(--muted); }
.company dd { overflow-wrap: anywhere; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 28px; padding-block: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }

@media (max-width: 920px) {
  .hero, .head, .contact { grid-template-columns: minmax(0, 1fr); }
  .matrix { justify-self: start; }
  .cards, .ways { grid-template-columns: minmax(0, 1fr); }
  .ways > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) { nav a:not(.button) { display: none; } }
@media (max-width: 560px) {
  .steps, .terms { grid-template-columns: minmax(0, 1fr); }
  .company dl div { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .dot { animation: none; } * { transition: none !important; } }
