/*
  DIRECTION CONTRACT — Мостик управления (Command Bridge)
  THESIS: Оплата — не витрина, а сводка командного мостика: платёж читается
  как боевая обстановка (обратный отсчёт, шкалы состояния, наводка на цель),
  а не как ряд одинаковых карточек "иконка + текст".
  OWN-WORLD: Чёрное поле, фосфорно-оранжевое и кислотно-зелёное свечение,
  хазард-шевроны, семисегментные/табличные цифры, рамки-схемы с выносными
  линиями. Unbounded (дисплей) + Golos Text (текст) + JetBrains Mono (данные).
  STORY: Посетитель узнаёт "это не магазин с карточками" за один экран, видит
  живой отсчёт зачисления и шкалу лимита 0%/6%, выбирает регион как наводку
  на цель, оформляет платёж без трения.
  FIRST VIEWPORT: Полноэкранное чёрное поле, крупный счётчик "2–15 мин",
  шкала первого пополнения, три схемы региона, primary CTA внизу блока.
  FORM: Мир №3 из розданной колоды (командные залы меха-аниме), обошедший
  назначенное направление «обменник»; seed key 0c85a4e5.
  FINISH: unreviewed and undocumented is unfinished; this build ends with the
  finish review, the verdict, DESIGN.md, and every shipping raster carrying
  its provenance.
*/

/* ============ TOKENS ============ */
:root{
  --bg: #0a0908;
  --bg-1: #121110;
  --bg-2: #1a1815;
  --panel: #15130f;
  --line: rgba(255,141,61,.22);
  --line-strong: rgba(255,141,61,.4);
  --text: #f2eee6;
  --text-dim: #a99f8f;
  --text-faint: #6e6455;

  --orange: #ff8d3d;
  --orange-2: #ffb26b;
  --green: #8dff5a;
  --red: #ff3b3b;
  --amber: #ffce4a;

  --font-display: "Unbounded", "Arial Narrow", sans-serif;
  --font-body: "Golos Text", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 2px;
  --measure: 68ch;
  --container: 1180px;
  --gutter: 24px;

  --ease: cubic-bezier(.16,1,.3,1);
}

/* ============ RESET ============ */
*, *::before, *::after{ box-sizing: border-box; }
html{ color-scheme: dark; -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg{ display:block; max-width:100%; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input{ font: inherit; color: inherit; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,p{ margin:0; }

::selection{ background: var(--orange); color: #150c04; }

/* focus ring — themed, never suppressed */
:focus-visible{ outline: 2px solid var(--orange); outline-offset: 2px; }

/* scrollbar */
*{ scrollbar-color: var(--orange) var(--bg-1); scrollbar-width: thin; }
*::-webkit-scrollbar{ width: 10px; height: 10px; }
*::-webkit-scrollbar-track{ background: var(--bg-1); }
*::-webkit-scrollbar-thumb{ background: var(--line-strong); border: 2px solid var(--bg-1); }

/* tabular numerals wherever digits line up */
.mono, .num, .qty-control span, #qtyValue, .price, .summary-row span:last-child,
.pay-btn span, #checkoutTotal, #payBtnTotal, #payBtnTotal2, #sumAmount, #sumFee,
#sumTotal, #btnTotal, .fee-badge, .countdown, .stat-badge{
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.icon{ width: 1em; height: 1em; fill: none; stroke: currentColor; flex: none; }
.icon.filled{ fill: currentColor; stroke: none; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============ HAZARD MOTIF (decorative, used sparingly) ============ */
.hazard-rule{
  height: 6px;
  background: repeating-linear-gradient(135deg, var(--orange) 0 10px, transparent 10px 20px);
  opacity: .55;
}
.corner-frame{ position: relative; }
.corner-frame::before, .corner-frame::after{
  content: ""; position: absolute; width: 10px; height: 10px;
  border: 1.5px solid var(--orange); opacity: .8;
}
.corner-frame::before{ top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.corner-frame::after{ bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ============ LAYOUT HELPERS ============ */
.container{ max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section{ max-width: var(--container); margin: 0 auto; padding: 56px var(--gutter); }
.section h2{
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.section-head{ display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:24px; }
.section-head h2{ margin-bottom:0; }
.see-all{
  font-family: var(--font-mono); font-size: 13px; color: var(--orange-2);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; white-space:nowrap;
}
.see-all:hover{ color: var(--text); border-color: var(--orange); }

/* ============ HEADER ============ */
.site-header{
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 24px;
  padding: 14px max(var(--gutter), calc((100% - var(--container)) / 2));
  background: rgba(10,9,8,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo{
  display:flex; align-items:center; gap:8px;
  font-family: var(--font-display); font-weight:700; font-size:15px;
  letter-spacing: .04em; text-transform: uppercase; white-space:nowrap;
}
.logo .mark{ width:26px; height:26px; color: var(--orange); }
.logo .accent{ color: var(--orange); }

.header-nav{ display:flex; align-items:center; gap:18px; flex:1; min-width:0; }
.dropdown{ position:relative; }
.dropdown-btn{
  display:flex; align-items:center; gap:6px;
  font-family: var(--font-mono); font-size:13px; letter-spacing:.03em; text-transform:uppercase;
  color: var(--text-dim); white-space:nowrap;
  cursor:pointer; list-style:none;
}
.dropdown-btn::-webkit-details-marker{ display:none; }
.dropdown-btn:hover{ color: var(--text); }
.dropdown-btn .icon{ width:12px; height:12px; transition: transform .15s var(--ease); }
.dropdown[open] .dropdown-btn .icon{ transform: rotate(180deg); }
.dropdown[open] .dropdown-btn{ color: var(--text); }

.dropdown-menu{
  position:absolute; top: calc(100% + 10px); left:0; z-index:50;
  min-width: 240px;
  display:flex; flex-direction:column;
  border:1px solid var(--line-strong); background: var(--panel);
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
}
.dropdown-menu a{
  display:flex; align-items:center; gap:10px;
  padding:11px 14px; font-size:13.5px; color: var(--text-dim);
  border-bottom:1px solid var(--line);
}
.dropdown-menu a:last-child{ border-bottom:0; }
.dropdown-menu a .icon{ width:15px; height:15px; color: var(--orange); flex:none; }
.dropdown-menu a .flag{ width:22px; height:15px; flex:none; }
.dropdown-menu a:hover{ color: var(--text); background: var(--bg-2); }

.search-box{
  display:flex; align-items:center; gap:8px;
  flex: 1; max-width: 340px;
  padding: 8px 12px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  color: var(--text-dim);
}
.search-box:focus-within{ border-color: var(--line-strong); color: var(--text); }
.search-box .icon{ width:15px; height:15px; flex:none; }
.search-box input{
  background:none; border:0; color: var(--text); width:100%; font-size:14px;
}
.search-box input::placeholder{ color: var(--text-faint); }

.blog-link{
  display:flex; align-items:center; gap:6px;
  font-family: var(--font-mono); font-size:13px; letter-spacing:.03em; text-transform:uppercase;
  color: var(--text-dim); white-space:nowrap;
}
.blog-link .icon{ width:14px; height:14px; }
.blog-link:hover{ color: var(--text); }

.header-actions{ display:flex; align-items:center; gap:16px; }
.cart-icon{
  position:relative; display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; color: var(--text-dim); border:1px solid var(--line);
}
.cart-icon:hover{ color: var(--text); border-color: var(--line-strong); }
.cart-icon .icon{ width:18px; height:18px; }
.cart-icon .badge{
  position:absolute; top:-7px; right:-7px;
  min-width:16px; height:16px; padding:0 3px;
  display:flex; align-items:center; justify-content:center;
  background: var(--orange); color:#160c03;
  font-family: var(--font-mono); font-size:10px; font-weight:700;
  border-radius:1px;
}
.cart-icon .badge[hidden]{ display:none; }

/* ============ BREADCRUMBS ============ */
.breadcrumbs{
  padding-top:16px; padding-bottom:4px;
  font-family: var(--font-mono); font-size:12px; letter-spacing:.02em;
  color: var(--text-faint); text-transform: uppercase;
}
.breadcrumbs a:hover{ color: var(--orange-2); }
.breadcrumbs span{ margin: 0 6px; }

/* ============ HOME HERO ============ */
.home-hero{
  position: relative;
  display:grid; grid-template-columns: 1.1fr .9fr; gap:48px;
  align-items:center;
  max-width: var(--container); margin:0 auto; padding: 48px var(--gutter) 40px;
  overflow: hidden;
}
.home-hero::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(600px 300px at 12% 0%, rgba(255,141,61,.14), transparent 60%),
    radial-gradient(500px 260px at 100% 100%, rgba(141,255,90,.08), transparent 60%);
}
.home-hero h1{
  font-family: var(--font-display); font-weight:700;
  font-size: clamp(30px, 4.4vw, 52px); line-height:1.05;
  text-transform: uppercase; text-wrap: balance;
}
.home-hero .lead{
  margin-top:18px; max-width: 46ch; color: var(--text-dim); font-size:16px;
}
.badge-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.stat-badge{
  display:flex; align-items:center; gap:8px;
  padding:8px 12px; font-size:12.5px; letter-spacing:.02em;
  border:1px solid var(--line); background: var(--bg-1); color: var(--orange-2);
}
.stat-badge .icon{ width:14px; height:14px; }

.trust-list{ margin-top:22px; display:flex; flex-direction:column; gap:9px; }
.trust-list li{ display:flex; align-items:flex-start; gap:10px; color: var(--text-dim); font-size:14.5px; }
.trust-list .ico{
  flex:none; width:18px; height:18px; margin-top:1px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line-strong); color: var(--green);
}
.trust-list .ico .icon{ width:11px; height:11px; }

.catalog-cta{
  display:inline-flex; align-items:center; gap:8px; margin-top:28px;
  padding:13px 22px; font-family: var(--font-mono); font-size:13px;
  letter-spacing:.04em; text-transform:uppercase;
  color:#140b03; background: var(--orange);
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.catalog-cta:hover{ background: var(--orange-2); transform: translateX(2px); }
.catalog-cta .icon{ width:13px; height:13px; }

.icon-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; }
.icon-tile{
  display:flex; flex-direction:column; align-items:center; gap:10px;
  padding:20px 10px; text-align:center;
  border:1px solid var(--line); background: var(--bg-1);
  font-size:13px; color: var(--text-dim);
  transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.icon-tile:hover{ border-color: var(--line-strong); color: var(--text); background: var(--bg-2); }
.icon-tile .ico-circle{
  width:38px; height:38px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line-strong); color: var(--orange);
  overflow:hidden;
}
.icon-tile .ico-circle .icon{ width:20px; height:20px; }
.icon-tile .ico-circle img.sbp-icon{ width:22px; height:22px; filter: none; }
.icon-tile .ico-circle svg.flag{ width:100%; height:100%; }

/* ============ CONDITION BAR (fee / limit gauge) ============ */
.condition-bar{ display:flex; flex-direction:column; gap:8px; }
.condition-bar .row{ display:flex; justify-content:space-between; align-items:baseline; font-size:13px; }
.condition-bar .row .label{ color: var(--text-dim); font-family: var(--font-mono); text-transform:uppercase; letter-spacing:.03em; font-size:11.5px; }
.condition-bar .row .value{ font-family: var(--font-mono); color: var(--text); }
.condition-bar .track{
  display:grid; grid-auto-flow:column; grid-auto-columns:1fr; gap:3px; height:10px;
}
.condition-bar .seg{ background: var(--bg-2); border:1px solid var(--line); }
.condition-bar .seg.on{ background: var(--green); border-color: var(--green); }
.condition-bar .seg.over{ background: var(--orange); border-color: var(--orange); }
.condition-bar .seg.danger{ background: var(--red); border-color: var(--red); }

/* ============ COUNTDOWN / MONUMENTAL STAT ============ */
.countdown-panel{
  border:1px solid var(--line); background: var(--panel);
  padding: 26px 24px; display:flex; flex-direction:column; gap:6px;
}
.countdown-panel .label{
  font-family: var(--font-mono); font-size:11.5px; letter-spacing:.05em;
  text-transform:uppercase; color: var(--text-faint);
}
.countdown-panel .value{
  font-family: var(--font-mono); font-weight:600;
  font-size: clamp(34px, 6vw, 56px); line-height:1;
  color: var(--orange);
  text-shadow: 0 0 18px rgba(255,141,61,.5), 0 0 2px rgba(255,141,61,.8);
}
.countdown-panel .value small{ font-size:.36em; color: var(--text-dim); text-shadow:none; margin-left:8px; }

/* ============ CAROUSEL ============ */
.carousel-wrap{ position:relative; }
.carousel{
  display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding-bottom:4px; scrollbar-width:none;
}
.carousel::-webkit-scrollbar{ display:none; }
.carousel-card{
  flex:0 0 220px; scroll-snap-align:start;
  display:flex; flex-direction:column; gap:14px;
  padding:20px; border:1px solid var(--line); background: var(--bg-1);
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.carousel-card:hover{ border-color: var(--orange); background: var(--bg-2); }
.carousel-card .ico-circle{
  width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line-strong); color: var(--orange); overflow:hidden; flex:none;
}
.carousel-card .ico-circle .icon{ width:22px; height:22px; }
.carousel-card .name{ font-size:14.5px; font-weight:600; }
.carousel-card .desc{ font-size:12px; color: var(--text-faint); margin-top:4px; }
.carousel-card .price{ margin-top:auto; padding-top:10px; font-family: var(--font-mono); font-size:16px; color: var(--orange-2); border-top:1px solid var(--line); }
.carousel-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line-strong); background: var(--bg); color: var(--text-dim);
  z-index:5;
}
.carousel-nav:hover{ color: var(--orange); border-color: var(--orange); }
.carousel-nav.prev{ left:-14px; }
.carousel-nav.next{ right:-14px; }
.carousel-nav .icon{ width:14px; height:14px; }
.carousel-nav.prev .icon{ transform: rotate(180deg); }

/* ============ SECTIONS: HITS + CATALOG ============ */
.hits-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
.hit-card{
  display:flex; align-items:center; gap:14px;
  padding:16px; border:1px solid var(--line); background: var(--bg-1);
  transition: border-color .15s var(--ease);
}
.hit-card:hover{ border-color: var(--line-strong); }
.hit-card .ico-circle{
  width:42px; height:42px; flex:none; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line-strong); color: var(--orange);
}
.hit-card .ico-circle .icon{ width:20px; height:20px; }
.hit-card .info{ flex:1; min-width:0; }
.hit-card .name{ font-size:14.5px; font-weight:600; }
.hit-card .desc{ font-size:12.5px; color: var(--text-faint); margin-top:2px; }
.buy-btn{
  flex:none; padding:9px 14px; font-family: var(--font-mono); font-size:12.5px;
  letter-spacing:.02em; text-transform:uppercase;
  border:1px solid var(--line-strong); color: var(--orange-2);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.buy-btn:hover{ background: var(--orange); color:#140b03; border-color: var(--orange); }

.catalog-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:14px; }
.catalog-card{
  position:relative;
  display:flex; flex-direction:column; gap:12px;
  padding:22px 18px; border:1px solid var(--line); background: var(--bg-1);
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.catalog-card:hover{ border-color: var(--orange); background: var(--bg-2); }
.catalog-card .ico-circle{
  width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line-strong); color: var(--orange); overflow:hidden;
}
.catalog-card .ico-circle .icon{ width:22px; height:22px; }
.catalog-card .name{ font-size:15px; font-weight:600; }
.catalog-card .desc{ font-size:12.5px; color: var(--text-faint); margin-top:4px; }
.fee-badge{
  display:inline-flex; align-items:center; gap:6px; margin-top:8px;
  font-size:11.5px; color: var(--green); letter-spacing:.02em;
}
.fee-badge .icon{ width:11px; height:11px; }
.catalog-card .price{ margin-top:8px; font-size:13px; color: var(--orange-2); }

/* ============ GAME KEYS ============ */
.keys-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:14px; }
.keys-grid.keys-grid-3{ grid-template-columns: repeat(3, 1fr); }
.key-card{
  display:flex; flex-direction:column;
  border:1px solid var(--line); background: var(--bg-1); overflow:hidden;
  transition: border-color .15s var(--ease);
}
.key-card:hover{ border-color: var(--orange); }
.key-card .art{ position:relative; aspect-ratio: 460 / 215; background: var(--bg-2); overflow:hidden; }
.key-card .art img{ width:100%; height:100%; object-fit:cover; }
.key-card .body{ padding:14px; display:flex; flex-direction:column; gap:10px; flex:1; }
.key-card .name{ font-size:13.5px; font-weight:600; line-height:1.3; }
.key-card .price{ font-family: var(--font-mono); font-size:14px; color: var(--orange-2); }
.key-card .request{
  margin-top:auto; display:flex; align-items:center; gap:8px;
  font-family: var(--font-mono); font-size:12px; letter-spacing:.02em; text-transform:uppercase;
  color: var(--text-dim); padding-top:10px; border-top:1px solid var(--line);
}
.key-card .request .icon{ width:14px; height:14px; color: var(--orange); flex:none; }
.key-card .request:hover{ color: var(--orange-2); }
.keys-note{
  max-width: var(--container); margin: 0 auto 32px; padding: 0 var(--gutter);
  font-size:13px; color: var(--text-faint); max-width: var(--measure);
}

/* ============ BLOG GRID / INDEX ============ */
.blog-grid, .blog-index-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:16px; }
.blog-index-grid{ grid-template-columns: repeat(3, 1fr); }
.blog-card{
  display:flex; gap:14px; padding:16px;
  border:1px solid var(--line); background: var(--bg-1);
  transition: border-color .15s var(--ease);
}
.blog-card:hover{ border-color: var(--line-strong); }
.blog-index-grid .blog-card{ flex-direction:column; }
.thumb{
  flex:none; width:56px; height:56px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line-strong); color: var(--orange);
  background:
    repeating-linear-gradient(135deg, rgba(255,141,61,.08) 0 6px, transparent 6px 12px);
}
.blog-index-grid .thumb{ width:100%; height:96px; }
.thumb .icon{ width:22px; height:22px; }
.blog-card .body{ min-width:0; }
.blog-card .meta{
  font-family: var(--font-mono); font-size:11px; letter-spacing:.03em;
  color: var(--text-faint); text-transform:uppercase;
}
.blog-card .title{ margin-top:6px; font-size:14.5px; font-weight:600; line-height:1.35; }
.blog-card .excerpt{ margin-top:6px; font-size:13px; color: var(--text-dim); line-height:1.5; }

/* ============ BLOG COVERS (SVG schematics, assets/blog/*.svg) ============ */
.thumb.has-cover{
  padding:0; overflow:hidden; background: var(--bg); border-color: var(--line);
}
.thumb.has-cover img{
  width:100%; height:100%; object-fit:cover; object-position:center;
  transition: filter .2s var(--ease), transform .4s var(--ease);
}
.blog-card:hover .thumb.has-cover img{ filter: brightness(1.15) saturate(1.1); transform: scale(1.03); }
.blog-grid .thumb.has-cover{ width:200px; height:84px; }
@media (prefers-reduced-motion: reduce){
  .thumb.has-cover img{ transition:none; }
  .blog-card:hover .thumb.has-cover img{ transform:none; }
}

/* ============ FOOTER ============ */
.site-footer{ border-top:1px solid var(--line); margin-top:40px; }
.footer-grid{
  max-width: var(--container); margin:0 auto; padding:40px var(--gutter);
  display:grid; grid-template-columns: repeat(3, 1fr); gap:32px;
}
.footer-col h4{
  font-family: var(--font-mono); font-size:11.5px; letter-spacing:.06em;
  text-transform:uppercase; color: var(--text-faint); margin-bottom:14px;
}
.footer-col{ display:flex; flex-direction:column; gap:9px; }
.footer-col a{ display:flex; align-items:center; gap:8px; font-size:13.5px; color: var(--text-dim); }
.footer-col a .icon{ width:13px; height:13px; color: var(--orange); }
.footer-col a:hover{ color: var(--text); }

/* ============ HERO (sub-pages) ============ */
.hero{ max-width: var(--container); margin:0 auto; padding: 40px var(--gutter) 8px; }
.hero h1{
  font-family: var(--font-display); font-weight:700; text-transform:uppercase;
  font-size: clamp(26px, 4vw, 40px); line-height:1.08; text-wrap:balance;
}
.hero .highlight{ color: var(--orange); }
.hero p{ margin-top:14px; max-width:60ch; color: var(--text-dim); font-size:15.5px; }

/* ============ PROMO BANNER ============ */
.promo-banner{
  max-width: var(--container); margin: 24px auto 0; padding: 20px var(--gutter);
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  border:1px solid var(--green); background: rgba(141,255,90,.06);
}
.promo-banner .label{ font-family: var(--font-mono); font-size:11px; letter-spacing:.05em; color: var(--green); text-transform:uppercase; }
.promo-banner .big{ margin-top:6px; font-family: var(--font-display); font-size:22px; font-weight:700; color: var(--green); }
.promo-banner .big span{ font-family: var(--font-body); font-weight:400; font-size:14px; color: var(--text-dim); margin-left:8px; }
.promo-banner .fine-print{ margin-top:8px; font-size:12px; color: var(--text-faint); max-width:60ch; }
.promo-banner .promo-check{
  flex:none; width:40px; height:40px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--green); color: var(--green);
}

/* ============ FEATURE PILLS ============ */
.feature-pills{ max-width: var(--container); margin: 20px auto 0; padding:0 var(--gutter); display:flex; flex-wrap:wrap; gap:10px; }
.pill{ display:flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid var(--line); font-size:12.5px; color: var(--text-dim); }
.pill .check{ display:flex; color: var(--green); }
.pill .check .icon{ width:12px; height:12px; }

/* ============ PAYMENT CARD ============ */
.payment-card{
  max-width: 560px; margin: 32px auto 64px; padding: 26px;
  border:1px solid var(--line); background: var(--panel);
  display:flex; flex-direction:column; gap:20px;
}
.field-label{
  display:block; margin-bottom:10px;
  font-family: var(--font-mono); font-size:11.5px; letter-spacing:.05em;
  text-transform:uppercase; color: var(--text-faint);
}
.region-select{ display:grid; grid-template-columns: repeat(3, 1fr); gap:8px; }
.region-option{
  position:relative; display:flex; flex-direction:column; align-items:center; gap:8px;
  padding:14px 8px; border:1px solid var(--line); font-size:12.5px; color: var(--text-dim);
  cursor:pointer; transition: border-color .15s var(--ease), color .15s var(--ease);
}
.region-option:hover{ border-color: var(--line-strong); }
.region-option.active{ border-color: var(--orange); color: var(--text); background: rgba(255,141,61,.06); }
.region-option .flag{ width:28px; height:19px; border-radius:1px; overflow:hidden; }
.region-option .warn{
  position:absolute; top:6px; right:6px; width:14px; height:14px;
  display:flex; align-items:center; justify-content:center;
  color: var(--amber);
}
.region-option .warn .icon{ width:12px; height:12px; }

.input-lg{
  width:100%; padding:13px 14px; background: var(--bg-1);
  border:1px solid var(--line); color: var(--text); font-size:15px;
}
.input-lg::placeholder{ color: var(--text-faint); }
.input-lg:focus{ border-color: var(--orange); }

.amount-row{ display:flex; gap:8px; }
.amount-row .input-lg{ flex:1; font-family: var(--font-mono); }
.currency-select{
  flex:none; display:flex; align-items:center; gap:6px; padding:0 14px;
  border:1px solid var(--line); font-family: var(--font-mono); font-size:13px; color: var(--text-dim);
}

.quick-amounts{ display:flex; gap:8px; flex-wrap:wrap; }
.quick-amount{
  padding:8px 14px; border:1px solid var(--line); font-family: var(--font-mono);
  font-size:13px; color: var(--text-dim); transition: border-color .15s var(--ease), color .15s var(--ease);
}
.quick-amount:hover{ border-color: var(--line-strong); color: var(--text); }
.quick-amount.active{ border-color: var(--orange); color: var(--orange); background: rgba(255,141,61,.08); }

.summary{ border:1px solid var(--line); padding:14px 16px; display:flex; flex-direction:column; gap:8px; }
.summary-row{ display:flex; justify-content:space-between; font-size:13.5px; color: var(--text-dim); }
.summary-row span:last-child{ color: var(--text); }
.summary-row.total{ padding-top:8px; border-top:1px solid var(--line); font-size:15px; }
.summary-row.total span:last-child{ color: var(--orange); font-weight:600; }
.fee-free{ color: var(--green) !important; }

.pay-btn{
  width:100%; display:flex; align-items:center; justify-content:center; gap:10px;
  padding:15px; font-family: var(--font-mono); font-size:14px; letter-spacing:.02em; text-transform:uppercase;
  transition: filter .15s var(--ease), transform .15s var(--ease);
}
.pay-btn:hover{ filter:brightness(1.08); }
.pay-btn:active{ transform: scale(.995); }
.pay-btn.primary{ background: var(--orange); color:#140b03; }
.pay-btn.secondary{ border:1px solid var(--line-strong); color: var(--text-dim); }
.pay-btn.secondary:hover{ color: var(--text); border-color: var(--orange); }
.pay-btn .sbp-badge img{ width:18px; height:18px; }
.pay-btn[disabled]{ opacity:.4; cursor:not-allowed; filter:none; }

.legal-note{ font-size:11.5px; color: var(--text-faint); line-height:1.6; }
.legal-note a{ color: var(--text-dim); text-decoration: underline; text-underline-offset:2px; }
.legal-note a:hover{ color: var(--orange-2); }

.legal-requisites dl{ display:grid; grid-template-columns:200px 1fr; gap:8px 20px; margin:0; }
.legal-requisites dt{ color:var(--text-dim); font-size:14px; }
.legal-requisites dd{ margin:0; color:var(--text); font-size:14px; }
@media (max-width:560px){
  .legal-requisites dl{ grid-template-columns:1fr; gap:2px 0; }
  .legal-requisites dt{ margin-top:14px; font-weight:600; color:var(--text-dim); }
  .legal-requisites dt:first-child{ margin-top:0; }
}

/* ============ CHECKOUT ============ */
.checkout-wrap{ max-width:560px; margin:0 auto; padding: 32px var(--gutter) 64px; display:flex; flex-direction:column; gap:20px; }
.checkout-wrap h1{
  font-family: var(--font-display); font-weight:700; text-transform:uppercase;
  font-size: clamp(22px, 3.4vw, 30px);
}
.product-row{ display:flex; align-items:center; gap:14px; padding:16px; border:1px solid var(--line); background: var(--panel); }
.product-icon{ width:44px; height:44px; flex:none; display:flex; align-items:center; justify-content:center; border:1px solid var(--line-strong); color: var(--orange); }
.product-icon .icon{ width:22px; height:22px; }
.product-info .name{ font-size:14.5px; font-weight:600; }
.product-info .price{ margin-top:4px; font-size:13px; color: var(--text-dim); }
.remove-item{ margin-left:auto; color: var(--text-faint); }
.remove-item:hover{ color: var(--red); }
.remove-item .icon{ width:16px; height:16px; }

.qty-row{ display:flex; align-items:center; justify-content:space-between; }
.qty-control{ display:flex; align-items:center; gap:0; border:1px solid var(--line); }
.qty-btn{ width:36px; height:36px; display:flex; align-items:center; justify-content:center; color: var(--text-dim); }
.qty-btn:hover{ color: var(--orange); }
.qty-btn .icon{ width:12px; height:12px; }
.qty-control span{ min-width:32px; text-align:center; font-size:14px; }

.field-group label{
  display:block; margin-bottom:8px; font-family: var(--font-mono); font-size:11.5px;
  letter-spacing:.04em; text-transform:uppercase; color: var(--text-faint);
}
.field-hint{ margin-top:6px; font-size:12px; color: var(--text-faint); }
.promo-row{ display:flex; gap:8px; }
.apply-btn{ flex:none; padding:0 18px; border:1px solid var(--line-strong); font-family: var(--font-mono); font-size:12.5px; text-transform:uppercase; color: var(--text-dim); }
.apply-btn:hover{ color: var(--orange); border-color: var(--orange); }

.empty-cart{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:16px;
  padding: 56px 20px; border:1px solid var(--line); background: var(--panel);
}
.empty-cart .ico-circle{
  width:52px; height:52px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--line-strong); color: var(--text-faint);
}
.empty-cart .ico-circle .icon{ width:24px; height:24px; }
.empty-cart .title{ font-size:16px; font-weight:600; }
.empty-cart .desc{ font-size:13.5px; color: var(--text-dim); max-width:38ch; }

/* ============ ARTICLE / LEGAL TYPOGRAPHY ============ */
.article-cover{
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
}
.article-cover .thumb{ width:100%; height:200px; margin-top:8px; }
.article-cover .thumb .icon{ width:34px; height:34px; }
.article-wrap{ max-width: var(--measure); margin:0 auto; padding: 24px var(--gutter) 64px; }
.article-wrap > .meta{
  font-family: var(--font-mono); font-size:12px; letter-spacing:.03em;
  text-transform:uppercase; color: var(--text-faint);
}
.article-wrap h1{
  margin-top:12px; font-family: var(--font-display); font-weight:700;
  text-transform:uppercase; font-size: clamp(24px, 3.6vw, 34px); line-height:1.14; text-wrap:balance;
}
.article-body{ margin-top:26px; display:flex; flex-direction:column; gap:16px; color: var(--text-dim); font-size:15.5px; }
.article-body h2{
  margin-top:10px; font-family: var(--font-display); font-weight:600; text-transform:uppercase;
  font-size:19px; color: var(--text); letter-spacing:.01em;
}
.article-body p{ line-height:1.7; }
.article-body ul{ display:flex; flex-direction:column; gap:8px; padding-left:0; }
.article-body ul li{
  position:relative; padding-left:20px; line-height:1.6;
}
.article-body ul li::before{
  content:""; position:absolute; left:0; top:9px; width:8px; height:1.5px; background: var(--orange);
}
.article-body a{ color: var(--orange-2); text-decoration:underline; text-underline-offset:2px; }
.article-body strong{ color: var(--text); }

.article-cta{
  margin-top:32px; padding:20px; border:1px solid var(--line-strong); background: var(--panel);
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.article-cta .text{ font-size:14.5px; font-weight:600; }

/* ============ MOTION: one authored entrance ============ */
@media (prefers-reduced-motion: no-preference){
  .home-hero > div:first-child, .hero, .payment-card, .checkout-wrap{
    animation: rise .5s var(--ease) both;
  }
  .icon-grid .icon-tile{ animation: rise .5s var(--ease) both; }
  .icon-grid .icon-tile:nth-child(1){ animation-delay: .02s; }
  .icon-grid .icon-tile:nth-child(2){ animation-delay: .06s; }
  .icon-grid .icon-tile:nth-child(3){ animation-delay: .10s; }
  .icon-grid .icon-tile:nth-child(4){ animation-delay: .14s; }
  .icon-grid .icon-tile:nth-child(5){ animation-delay: .18s; }
  .icon-grid .icon-tile:nth-child(6){ animation-delay: .22s; }
}
@keyframes rise{ from{ opacity:0; transform: translateY(10px); } to{ opacity:1; transform:none; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px){
  .home-hero{ grid-template-columns: 1fr; }
  .icon-grid{ grid-template-columns: repeat(3, 1fr); }
  .catalog-grid{ grid-template-columns: repeat(2, 1fr); }
  .keys-grid{ grid-template-columns: repeat(3, 1fr); }
  .hits-grid{ grid-template-columns: 1fr; }
  .blog-grid{ grid-template-columns: 1fr; }
  .blog-index-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: repeat(3, 1fr); gap:24px; }
  .search-box{ display:none; }
}

@media (max-width: 680px){
  .site-header{ flex-wrap:wrap; gap:12px; padding:12px 16px; }
  .header-nav{ order:3; width:100%; }
  .dropdown{ display:none; }
  .container, .section, .home-hero, .hero, .footer-grid, .breadcrumbs{ padding-left:16px; padding-right:16px; }
  .home-hero{ gap:32px; padding-top:28px; }
  .icon-grid{ grid-template-columns: repeat(2, 1fr); }
  .catalog-grid{ grid-template-columns: 1fr; }
  .keys-grid{ grid-template-columns: repeat(2, 1fr); }
  .keys-grid.keys-grid-3{ grid-template-columns: repeat(2, 1fr); }
  .blog-index-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap:28px; }
  .region-select{ grid-template-columns: 1fr; }
  .carousel-nav{ display:none; }
  .promo-banner{ flex-direction:column; align-items:flex-start; }
  .payment-card, .checkout-wrap{ margin-left:16px; margin-right:16px; width:auto; }
}

/* плашка «Топ-5 в РФ» */
.stat-badge--top{ background: var(--orange); color:#160c03; border-color: var(--orange); font-weight:700; }
.stat-badge--top .icon{ color:#160c03; }
