:root {
  color-scheme: dark;
  --page: #151711;
  --surface: #1d2118;
  --surface-raised: #24291e;
  --line: #353b2d;
  --text: #f4f4e9;
  --muted: #b3b8a5;
  --quiet: #a2aa92;
  --lime: #dff175;
  --ink: #1b2113;
  --mono: ui-monospace, "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 16px/1.55 Arial, Helvetica, sans-serif;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 28px; }
.wrap { width: min(1224px, calc(100% - 112px)); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 5; top: 8px; left: 8px; padding: 12px; background: var(--lime); color: var(--ink); }

.site-header { border-bottom: 1px solid #2b3024; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; line-height: 1.07; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: var(--lime); color: var(--ink); }
.brand-mark svg { width: 26px; height: 26px; }
.brand small { display: block; margin-bottom: 4px; color: var(--quiet); font: 700 9px/1 var(--mono); letter-spacing: .16em; }
.brand strong { display: block; font-size: 15px; letter-spacing: .07em; }
.main-nav { display: flex; align-items: center; gap: clamp(23px, 4vw, 52px); color: var(--muted); font-size: 14px; font-weight: 600; }
.main-nav a, .back-top { transition: color .18s; }
.main-nav a:hover, .back-top:hover { color: var(--lime); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 10px 15px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.2; transition: background .18s, border-color .18s, color .18s; }
.button .icon { width: 18px; height: 18px; }
.header-action, .button-outline { border-color: #414935; background: transparent; color: var(--text); }
.header-action { color: var(--lime); }
.header-action:hover, .button-outline:hover, .button-outline[aria-expanded="true"] { background: #2b3420; border-color: #606e3d; }
.button-primary { background: var(--lime); color: var(--ink); padding-inline: 17px; }
.button-primary:hover { background: #effba1; }
.button-ghost { background: #191c16a8; border-color: #d3dac069; color: var(--text); }
.button-ghost:hover { background: #282e20; border-color: #e1e8cc; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  align-items: center;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid #414735;
  border-radius: 18px;
  background: radial-gradient(ellipse at 10% 0%, #303a24, #1b2117 65%);
}
.hero-copy { container-type: inline-size; padding: clamp(22px, 3.65vw, 53px); }
.hero-photo { display: block; width: 100%; height: auto; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
  padding: 7px 10px;
  border: 1px solid #a0b45f66;
  border-radius: 5px;
  background: #202a19b3;
  color: #e0f28b;
  font: 700 11px/1 var(--mono);
  letter-spacing: .1em;
}
.hero-tag span { width: 6px; height: 6px; border-radius: 100%; background: var(--lime); box-shadow: 0 0 12px #e1f48273; }
.hero h1 { margin: 0 0 15px -.045em; font-size: clamp(40px, 6.1vw, 94px); font-size: clamp(38px, 19.5cqi, 102px); font-weight: 900; line-height: .88; letter-spacing: -.083em; }
.hero-subtitle { font-size: clamp(19px, 2.1vw, 27px); font-weight: 700; letter-spacing: -.025em; }
.hero-description { max-width: 420px; margin-top: 8px; color: #d8ddcb; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.hero-actions .button { min-height: 50px; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.fact { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 20px clamp(14px, 2.25vw, 29px); }
.fact + .fact { border-left: 1px solid var(--line); }
.fact-icon { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border: 1px solid #465136; border-radius: 9px; color: var(--lime); background: #2b3422; }
.fact h2 { font-size: 17px; line-height: 1.2; }
.fact p { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.35; }

.section { margin-top: 79px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.eyebrow { margin-bottom: 9px; color: var(--quiet); font: 700 12px/1.2 var(--mono); letter-spacing: .13em; }
.eyebrow span { color: var(--lime); }
.section h2 { font-size: clamp(36px, 4.65vw, 62px); font-weight: 800; line-height: 1.02; letter-spacing: -.055em; }
.section-description { max-width: 470px; margin-top: 10px; color: var(--muted); font-size: 16px; }
.compare-button { flex: none; align-self: end; }
.compare-button .compare-chevron { width: 15px; height: 15px; color: var(--quiet); transition: transform .2s; }
.compare-button[aria-expanded="true"] .compare-chevron { transform: rotate(180deg); }

.mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.mode-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.assault { --mode-color: #eaba7e; --mode-surface: #332b1d; }
.territory { --mode-color: #d6ea8b; --mode-surface: #2b3420; }
.flag { --mode-color: #e5a299; --mode-surface: #382926; }
.mode-visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 142px;
  border-bottom: 1px solid var(--line);
  background-color: var(--mode-surface);
  background-image: linear-gradient(90deg, #e0dcc910 1px, transparent 1px), linear-gradient(#e0dcc910 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center;
  color: var(--mode-color);
}
.mode-visual::after { position: absolute; inset: 0; content: ""; box-shadow: inset 0 0 58px #1418105e; pointer-events: none; }
.mode-index { position: absolute; z-index: 1; top: 11px; left: 12px; padding: 4px 5px; border: 1px solid #f1edcd32; border-radius: 3px; background: var(--mode-surface); font: 12px/1 var(--mono); }
.mode-map { width: min(100%, 249px); max-height: 100%; }
.map-line { stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.map-soft { stroke: currentColor; stroke-width: 1; opacity: .33; }
.map-dot { fill: currentColor; }
.map-ring { stroke: currentColor; fill: var(--mode-surface); stroke-width: 1.5; }
.mode-copy { display: flex; min-height: 166px; flex-direction: column; align-items: flex-start; padding: 18px 20px 20px; }
.mode-copy h3 { font-size: clamp(18px, 2vw, 26px); line-height: 1.16; letter-spacing: -.03em; }
.mode-copy p { margin-top: 7px; margin-bottom: 12px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.mode-tag { margin-top: auto; padding: 3px 7px; border: 1px solid var(--line); border-radius: 4px; color: var(--mode-color); font-size: 11px; font-weight: 700; }

.comparison { margin-bottom: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.comparison table { width: 100%; table-layout: fixed; border-collapse: collapse; text-align: left; }
.comparison caption { padding: 12px 15px; border-bottom: 1px solid var(--line); color: var(--quiet); font-size: 13px; text-align: left; }
.comparison th, .comparison td { padding: 12px 15px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.comparison th:first-child { width: 17%; }
.comparison th:not(:first-child), .comparison td { border-left: 1px solid var(--line); }
.comparison thead th { background: var(--surface-raised); }
.comparison td { color: var(--muted); }
.comparison tr:last-child td, .comparison tbody tr:last-child th { border-bottom: 0; }

.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: start; gap: clamp(24px, 6vw, 86px); padding: clamp(24px, 4vw, 53px); border: 1px solid var(--line); border-radius: 15px; background: radial-gradient(ellipse at 0 0, #2d3521, #1c2118 65%); }
.pricing h2 { font-size: clamp(35px, 4.25vw, 58px); }
.tariffs { display: grid; gap: 8px; margin-top: 21px; }
.tariff { display: flex; min-height: 53px; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border: 1px solid #3c4532; border-radius: 8px; background: #1c2117; }
.tariff[data-active] { background: #333d23; border-color: #737f47; }
.tariff-name { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; line-height: 1.25; }
.tariff-dot { width: 7px; height: 7px; flex: none; border: 1px solid #8c9977; border-radius: 50%; }
.tariff[data-active] .tariff-dot { background: var(--lime); border-color: var(--lime); }
.tariff-price { white-space: nowrap; font-size: 14px; }
.tariff-price span { color: var(--muted); }
.tariff[data-active] strong { color: var(--lime); }

.calculator { min-width: 0; padding: 20px; border: 1px solid #47523a; border-radius: 12px; background: #22291d; }
.calculator h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.calculator h3 .icon { width: 20px; height: 20px; color: var(--lime); }
.calculator label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 5px; }
.step, .stepper input { min-height: 46px; border: 1px solid #4b553e; border-radius: 7px; color: var(--text); }
.step { display: grid; place-items: center; padding: 0; background: #313c27; }
.step:hover { background: #465532; }
.step:disabled { color: #a0aa91; background: #272f21; cursor: default; }
.stepper input { width: 100%; min-width: 0; padding: 4px 8px; background: #181d14; font-size: 20px; font-weight: 700; text-align: center; }
.stepper input[aria-invalid="true"] { border-color: #e5a299; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.presets button { min-height: 38px; padding: 4px 10px; border: 1px solid #45503a; border-radius: 6px; background: #262e20; color: var(--muted); font-size: 12px; line-height: 1.1; }
.presets button:hover, .presets button[aria-pressed="true"] { border-color: #788753; background: #394429; color: var(--lime); }
.count-help { margin-top: 6px; color: #f2b9ab; font-size: 13px; }
.result { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 5px 10px; margin-top: 14px; padding: 13px 14px; border: 1px solid #5d6b40; border-radius: 8px; background: #303b23; }
.result div { min-width: 0; }
.result p { color: #d0d8b6; font-size: 13px; }
.result output { display: block; color: var(--lime); font-size: clamp(30px, 3.4vw, 45px); font-weight: 800; line-height: 1.1; letter-spacing: -.055em; overflow-wrap: anywhere; }
.result span { padding-bottom: 3px; color: #e2e9cf; font-size: 13px; white-space: nowrap; }
.order { margin-top: 12px; }
.order-button { width: 100%; cursor: pointer; }
.order-button::-webkit-details-marker { display: none; }
.order[open] .order-button .icon { transform: rotate(180deg); }
.order-phone { margin-top: 7px; padding: 9px 13px; border: 1px solid #47523a; border-radius: 8px; }
.order-phone p { color: var(--muted); font-size: 13px; }
.order-phone a { color: var(--lime); font-size: 18px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.site-footer { margin-top: 76px; border-top: 1px solid #30372a; }
.footer-inner { min-height: 91px; }
.footer-inner p, .back-top { color: var(--muted); font-size: 13px; }
.back-top { display: inline-flex; align-items: center; gap: 6px; }
.back-top .icon { width: 17px; height: 17px; }

@media (max-width: 940px) {
  .wrap { width: calc(100% - 56px); }
  .mode-copy { min-height: 155px; padding-inline: 15px; }
  .fact { padding: 15px 12px; gap: 9px; }
  .fact h2 { font-size: 15px; }
}

@media (max-width: 780px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-photo { grid-row: 1; }
}

@media (max-width: 700px) {
  [id] { scroll-margin-top: 14px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 65px; }
  .main-nav { display: none; }
  .header-action { min-height: 42px; padding-inline: 10px; font-size: 13px; }
  .hero { margin-top: 13px; border-radius: 13px; }
  .hero-copy { padding: 22px 19px 24px; }
  .hero h1 { margin-bottom: 11px; font-size: clamp(43px, 12.3vw, 84px); font-size: clamp(40px, 19.5cqi, 84px); }
  .hero-tag { margin-bottom: 15px; }
  .hero-subtitle { font-size: 20px; line-height: 1.2; }
  .hero-description { font-size: 15px; line-height: 1.45; }
  .hero-actions { gap: 7px; margin-top: 17px; }
  .hero-actions .button { min-height: 46px; padding-inline: 9px; gap: 5px; font-size: 12px; }
  .hero-actions .icon { width: 15px; height: 15px; }
  .facts { grid-template-columns: 1fr; margin-top: 10px; }
  .fact { padding: 10px 13px; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fact-icon { width: 36px; height: 36px; }
  .fact-icon .icon { width: 19px; height: 19px; }
  .fact p { margin-top: 2px; }
  .section { margin-top: 53px; }
  .section h2 { font-size: clamp(33px, 8.8vw, 49px); }
  .section-description { font-size: 15px; }
  .section-head { align-items: start; flex-direction: column; gap: 13px; margin-bottom: 12px; }
  .compare-button { align-self: start; min-height: 44px; }
  .mode-grid { grid-template-columns: 1fr; gap: 8px; }
  .mode-card { display: grid; grid-template-columns: minmax(91px, 30%) minmax(0, 1fr); }
  .mode-visual { height: auto; min-height: 120px; border-bottom: 0; border-right: 1px solid var(--line); }
  .mode-map { width: 133%; max-width: 225px; }
  .mode-index { left: 6px; top: 6px; font-size: 10px; }
  .mode-copy { min-height: 0; padding: 12px; }
  .mode-copy h3 { font-size: 19px; }
  .mode-copy p { margin-top: 4px; margin-bottom: 6px; font-size: 13px; }
  .mode-tag { font-size: 10px; }
  .comparison th:first-child { width: 21%; }
  .comparison th, .comparison td { padding: 9px 6px; font-size: 12px; }
  .comparison caption { padding: 8px; }
  .pricing { grid-template-columns: 1fr; gap: 17px; padding: 15px; }
  .tariffs { margin-top: 12px; }
  .tariff-name, .tariff-price { font-size: 13px; }
  .calculator { padding: 13px; }
  .site-footer { margin-top: 48px; }
  .footer-inner { min-height: 71px; }
  .footer-inner p { display: none; }
}

@media (max-width: 365px) {
  .hero-actions .button { flex: 1 1 auto; }
  .hero-copy { padding-inline: 14px; }
  .hero-subtitle { font-size: 18px; }
  .pricing { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
