/* Сайт keyosk.pro — тот же ночной ларёк, что в миниапке: мокрая сталь, натриевая лампа,
   кремовая вывеска, бумажный чек. Сайт только тёмный, как и миниапка.
   Инлайн-стилей и скриптов на страницах нет: сайт живёт под CSP style-src 'self'. */
:root {
  --street: #141a21;
  --street-deep: #0f141a;
  --steel: #1e2630;
  --steel-lit: #26303c;
  --rim: #323d4a;
  --sign: #f3e7c4;
  --muted: #8f9aa6;
  --lamp: #f5b83d;
  --lamp-ink: #241a05;
  --lamp-glow: rgba(245, 184, 61, 0.35);
  --lamp-edge: #c38d1f;
  --crt: #8fd8f2;
  --bottle: #6cbf6a;
  --heater: #ff6a3d;
  --paper: #efe6cf;
  --paper-field: #fffaf0;
  --paper-rule: #b9ad8a;
  --paper-muted: #5f5643;
  --ink: #2a2620;
  --paper-line: #c3b796;
  --paper-error: #8f1d16;
  --paper-ok: #3f6b2a;

  --display: "Handjet", "Onest", system-ui, sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --step: 4px;
  --page: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(245, 184, 61, 0.08), transparent 70%),
    var(--street);
  color: var(--sign);
  font: 400 16px/1.55 var(--text);
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--crt); text-underline-offset: 0.2em; }
h1, h2, h3 { margin: 0; font-weight: 700; }
h2 {
  font: 700 clamp(34px, 7vw, 48px)/1 var(--display);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
h3 { font-size: 17px; line-height: 1.3; }
p { margin: 0; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.icon { width: 20px; height: 20px; flex: none; }

/* Фокус с клавиатуры виден везде: на тёмном — лампа, на бумаге — чернила. */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--lamp); outline-offset: 2px; }

/* Пиксельный угол: ступенька в 4 пикселя, как на баннерах. */
.px {
  clip-path: polygon(
    0 var(--step), var(--step) var(--step), var(--step) 0,
    calc(100% - var(--step)) 0, calc(100% - var(--step)) var(--step), 100% var(--step),
    100% calc(100% - var(--step)), calc(100% - var(--step)) calc(100% - var(--step)), calc(100% - var(--step)) 100%,
    var(--step) 100%, var(--step) calc(100% - var(--step)), 0 calc(100% - var(--step))
  );
}

.page { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* Кнопки */
.btn-lamp, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  font: 700 16px/1.2 var(--text);
  text-decoration: none;
}
.btn-lamp { background: var(--lamp); color: var(--lamp-ink); box-shadow: 0 0 28px var(--lamp-glow); }
.btn-lamp:hover { filter: brightness(1.08); }
.btn-line { border: 1px solid var(--sign); color: var(--sign); font-weight: 600; }
.btn-line:hover { border-color: var(--lamp); color: var(--lamp); }

/* Шапка */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rim);
}
.sign {
  padding: 0 8px;
  border: 2px solid var(--sign);
  color: var(--sign);
  font: 700 24px/30px var(--display);
  letter-spacing: 0.08em;
  text-decoration: none;
}
.top-nav { display: none; gap: 24px; font-size: 15px; }
.top-nav a { color: var(--sign); text-decoration: none; }
.top-nav a:hover { color: var(--lamp); }
.top-actions { display: flex; gap: 8px; }
.top-bot, .top-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 6px;
  font: 600 14px/1.2 var(--text);
  text-decoration: none;
}
.top-bot { padding: 0 12px; border: 1px solid var(--lamp); color: var(--lamp); }
.top-bot:hover { background: rgba(245, 184, 61, 0.1); }
.top-login { min-width: 44px; padding: 0 12px; background: var(--steel-lit); color: var(--sign); }
.top-login:hover { color: var(--lamp); }
.top-login-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Первый экран: плитки, тарифы строками, чек */
.shop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 16px 0 48px; }
.shop-main { display: flex; flex-direction: column; min-width: 0; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 112px;
  padding: 10px 8px;
  border: 2px solid var(--rim);
  border-radius: 8px;
  background: var(--steel);
  color: var(--sign);
  text-align: center;
  text-decoration: none;
}
.tile-art {
  position: relative;
  isolation: isolate;
  flex: none;
  width: 32px;
  height: 48px;
}
.tile-art > img:first-child { width: 100%; height: 100%; object-fit: contain; }
.tile-art .tile-mark {
  position: absolute;
  width: 158%;
  max-width: none;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  clip-path: inset(19%);
  mix-blend-mode: lighten;
}
.tile-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile-name { font-size: 14px; font-weight: 600; }
.tile-from { font-size: 12px; color: var(--lamp); white-space: nowrap; }
.tile:hover { border-color: var(--lamp); }
.tile[aria-current] { border-color: var(--lamp); background: var(--steel-lit); }
.tile.is-soon { opacity: 0.55; }
.tile.is-soon .tile-from { color: var(--muted); }

.eyebrow {
  margin: 24px 0 8px;
  color: var(--lamp);
  font: 600 12px/1.3 var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.shop-title { font: 700 42px/0.95 var(--display); letter-spacing: 0.01em; text-wrap: balance; }
.shop-title .accent { color: var(--lamp); }
.shop-lead { margin: 12px 0 20px; max-width: 540px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.shop-announcement { margin-bottom: 16px; border: 1px solid var(--rim); border-radius: 8px; background: var(--steel); }
.shop-announcement summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 10px 16px; list-style: none; cursor: pointer; }
.shop-announcement summary::-webkit-details-marker { display: none; }
.shop-announcement summary:is(:hover, :focus-visible) .plan-name { color: var(--lamp); }
.shop-announcement p { padding: 0 16px 14px; color: var(--muted); font-size: 14px; }

.plans { display: flex; flex-direction: column; gap: 6px; }
.plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 8px 14px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--sign);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.plan:hover:not(:disabled) { background: var(--steel); }
.plan[aria-pressed="true"] { border-color: var(--lamp); background: var(--steel-lit); }
.plan:disabled { cursor: not-allowed; opacity: 0.5; }
.plan-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.plan-name { font-size: 16px; font-weight: 600; }
.plan-note { color: var(--muted); font-size: 13px; line-height: 1.35; }
.plan-price { font: 700 26px/1 var(--display); white-space: nowrap; }
.plan[aria-pressed="true"] .plan-price { color: var(--lamp); }
.plan.is-off .plan-price { font: 600 13px/1.2 var(--text); color: var(--muted); }
.plan.is-off[data-priced] { opacity: 1; }
.plan.is-off[data-priced] .plan-price { color: var(--sign); font: 700 var(--plan-price-size, 26px)/1 var(--display); }

.shop-after { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.plan-more { max-width: 560px; color: var(--muted); font-size: 14px; }
.plan-more summary { cursor: pointer; color: var(--sign); font-weight: 600; min-height: 32px; display: flex; align-items: center; gap: 8px; list-style: none; }
.plan-more summary::-webkit-details-marker { display: none; }
.plan-more summary::before { content: "+"; width: 12px; color: var(--lamp); font: 700 20px/1 var(--display); }
.plan-more[open] summary::before { content: "−"; }
.plan-more ul { margin: 6px 0 0; padding-left: 20px; line-height: 1.5; }
.plan-more li + li { margin-top: 4px; }
.bot-line { color: var(--muted); font-size: 14px; }
.bot-line a { color: var(--lamp); font-weight: 600; text-decoration: none; }
.bot-line a:hover { text-decoration: underline; }

.soon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 540px;
  padding: 18px 20px;
  border: 1px dashed var(--rim);
  border-radius: 8px;
  color: var(--muted);
}
.soon b { color: var(--sign); }

/* Чек выезжает из щели принтера под вывеской */
.slot {
  position: relative;
  z-index: 2;
  height: 20px;
  border: 2px solid var(--rim);
  border-radius: 6px;
  background: var(--street-deep);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}
.slot span {
  display: block;
  height: 2px;
  margin: 8px 14px 0;
  background: var(--lamp);
  opacity: 0.55;
  box-shadow: 0 0 12px rgba(245, 184, 61, 0.6);
}
.paper { position: relative; z-index: 1; margin: -6px 10px 0; animation: paper-in 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes paper-in {
  from { transform: translateY(-56px); clip-path: inset(56px 0 0 0); }
  to { transform: none; clip-path: inset(0 0 0 0); }
}
.paper-body {
  padding: 18px 16px 16px;
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.scallop { height: 10px; background: radial-gradient(circle at 8px 0, var(--paper) 7px, transparent 7.5px) 0 0 / 16px 10px repeat-x; }
.paper-body a { color: #6b4a0c; font-weight: 600; }
.paper-body :focus-visible { outline-color: var(--ink); }

.r-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--paper-line);
  color: var(--paper-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.r-name { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0 6px; font-size: 15px; font-weight: 600; }
.r-lines { margin: 0; }
.r-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; color: var(--paper-muted); }
.r-lines dt, .r-lines dd { margin: 0; }
.r-lines dd { text-align: right; }
.r-need { margin: 12px 0 14px; padding-top: 12px; border-top: 1px dashed var(--paper-line); line-height: 1.45; }

.r-field label { display: block; margin-bottom: 6px; font-weight: 600; }
.r-input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--paper-rule);
  border-radius: 4px;
  background: var(--paper-field);
  color: var(--ink);
  font: 400 16px var(--text);
}
.r-input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.r-input[aria-invalid="true"] { border-color: #b3261e; }
.r-input[readonly] { background: transparent; }
.r-code { font: 700 24px var(--display); letter-spacing: 0.3em; }
.r-field + .r-field { margin-top: 12px; }
.r-hint { margin-top: 6px; color: var(--paper-muted); font-size: 12px; line-height: 1.4; }
.r-error { margin-top: 6px; color: var(--paper-error); font-size: 13px; line-height: 1.4; }
.r-account { padding: 10px 12px; border: 1px dashed var(--ink); border-radius: 6px; line-height: 1.45; }

.r-link {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: #6b4a0c;
  font: 600 14px var(--text);
  cursor: pointer;
}
.r-hint .r-link { min-height: 0; font-size: 12px; text-decoration: underline; }
.r-promo { margin-top: 12px; }
.r-promo-box { display: flex; gap: 8px; margin-top: 8px; }
.r-promo-box .r-input { flex: 1; min-width: 0; height: 44px; font-size: 15px; text-transform: uppercase; }
.r-apply {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font: 600 14px var(--text);
  cursor: pointer;
}
.r-promo-msg { font-size: 13px; line-height: 1.4; }
.r-promo-msg:not(:empty) { margin-top: 6px; }
.r-promo-msg.is-ok { color: var(--paper-ok); }
.r-promo-msg.is-bad { color: var(--paper-error); }

.r-methods { margin: 14px 0 0; padding: 12px 0 0; border: 0; border-top: 1px dashed var(--paper-line); }
.r-methods legend { padding: 0; font-weight: 600; float: left; width: 100%; margin-bottom: 6px; }
.r-methods div { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.r-method {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--paper-rule);
  border-radius: 4px;
  background: var(--paper-field);
  cursor: pointer;
}
.r-method:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.r-method input { margin: 0; accent-color: var(--ink); }

.r-discount { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: #8a5a16; }
.r-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--paper-line);
}
.r-total span { font-weight: 600; }
.r-total strong { font: 700 36px/1 var(--display); white-space: nowrap; }

.r-pay {
  width: 100%;
  min-height: 50px;
  margin-top: 14px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  background: var(--lamp);
  color: var(--lamp-ink);
  box-shadow: 0 5px 0 var(--lamp-edge);
  font: 700 16px/1.25 var(--text);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.r-pay:hover:not(:disabled) { filter: brightness(1.05); }
.r-pay:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 var(--lamp-edge); }
.r-pay:disabled { cursor: not-allowed; opacity: 0.55; }
.r-pay[aria-busy="true"] { cursor: progress; }
.r-pay:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.r-status { text-align: center; }
.r-info:empty { display: none; }
.r-info { margin-top: 10px; font-size: 13px; line-height: 1.4; }
.r-note { margin-top: 10px; color: var(--paper-muted); font-size: 12px; line-height: 1.4; text-align: center; }
.r-consent { margin-top: 6px; color: var(--paper-muted); font-size: 12px; text-align: center; }

.r-guarantees {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed var(--paper-line);
  list-style: none;
  line-height: 1.4;
}
.r-guarantees li { display: flex; gap: 10px; align-items: flex-start; }
.r-guarantees .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--paper-ok); }

/* Полоса фактов: только настоящие цифры */
.facts-strip { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 24px; }
.fact { padding: 18px 20px; border: 1px solid var(--rim); border-radius: 8px; background: var(--steel); }
.fact-big { color: var(--lamp); font: 700 32px/1 var(--display); }
.fact-small { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.45; }

.section { padding: 40px 0; }

/* Коротко: цены — абзац для поисковиков и ассистентов и бумажный прейскурант с официальными ценами */
.brief { display: grid; gap: 24px; align-items: start; }
.brief-copy h2 { margin-bottom: 16px; }
.brief-copy p { max-width: 34em; color: var(--muted); line-height: 1.55; }
.brief-sheet {
  min-width: 0;
  padding: 20px 16px 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.brief-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--paper-line);
  color: var(--paper-muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.brief-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.brief-table thead th { padding: 12px 6px 8px 0; color: var(--paper-muted); font-size: 12px; font-weight: 600; text-align: left; vertical-align: bottom; }
.brief-table thead th:last-child { text-align: right; padding-right: 0; }
.brief-table tbody th, .brief-table td { padding: 10px 6px 10px 0; border-top: 1px dashed var(--paper-line); text-align: left; vertical-align: top; }
.brief-table tbody th { font-weight: 600; }
.brief-table td { color: var(--paper-muted); }
.brief-table .brief-group th {
  padding-top: 16px;
  border-top: 0;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.brief-rub { display: block; margin-top: 2px; font-size: 12px; }
.brief-table .brief-ours { padding-right: 0; color: var(--ink); font: 700 20px/1.1 var(--display); text-align: right; white-space: nowrap; }
.brief-table .is-off .brief-ours, .brief-table .is-soon .brief-ours { color: var(--paper-muted); font: 600 13px/1.3 var(--text); }
.brief-table .is-off th { color: var(--paper-muted); }
.brief-note { margin-top: 12px; color: var(--paper-muted); font-size: 12px; line-height: 1.45; }

/* Что будет после оплаты: шаги на линии с точками */
.step-track { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.step-line { display: flex; flex-direction: column; gap: 8px; }
.step-dot { display: flex; align-items: center; gap: 10px; }
.step-dot::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rim);
}
.step-dot span { flex: 1; height: 2px; background: var(--rim); }
.step-line.is-lit .step-dot::before { background: var(--lamp); box-shadow: 0 0 12px rgba(245, 184, 61, 0.7); }
.step-label { color: var(--lamp); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.step-title { font-size: 19px; font-weight: 600; }
.step-text { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Тарифы колонками: «Выбрать» ставит тариф в чек */
.tariffs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.tariff {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 2px solid var(--rim);
  border-radius: 8px;
  background: var(--steel);
}
.tariff.is-picked { border-color: var(--lamp); background: var(--steel-lit); }
.tariff-picked {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--lamp);
  color: var(--lamp-ink);
  font-size: 12px;
  font-weight: 700;
}
.tariff.is-picked .tariff-picked { display: block; }
.tariff-name { font: 700 30px/1 var(--display); letter-spacing: 0.02em; }
.tariff-term { color: var(--muted); font-size: 14px; }
.tariff-price { margin-top: 4px; color: var(--lamp); font: 700 34px/1 var(--display); white-space: nowrap; }
.tariff-list { flex: 1; margin: 8px 0 12px; padding-left: 18px; color: #c9c1a8; font-size: 14px; line-height: 1.45; }
.tariff-list li + li { margin-top: 4px; }
.tariff-choose { width: 100%; border: 0; cursor: pointer; }
.tariff-choose:disabled { background: var(--steel-lit); color: var(--muted); box-shadow: none; cursor: not-allowed; }
.tariff.is-off .tariff-price { color: var(--muted); }

/* Найти заказ: номер и почта, ссылка уходит письмом на почту заказа */
.find {
  display: grid;
  gap: 20px;
  align-items: end;
  margin: 16px 0;
  padding: 24px 20px;
  border: 1px solid var(--rim);
  border-radius: 8px;
  background: var(--steel);
}
.find-copy h2 { margin-bottom: 10px; }
.find-copy p { max-width: 45ch; color: var(--muted); line-height: 1.5; }
.find-form { display: grid; gap: 12px; }
.find-field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.find-input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--rim);
  border-radius: 6px;
  background: var(--street-deep);
  color: var(--sign);
  font: 400 16px var(--text);
}
.find-input:focus { outline: 2px solid var(--lamp); outline-offset: 1px; }
.find-input[aria-invalid="true"] { border-color: var(--heater); }
.find-error { margin-top: 6px; color: var(--heater); font-size: 13px; }
.find-send { border: 0; cursor: pointer; }
.find-send[aria-busy="true"] { cursor: progress; opacity: 0.7; }
.find-status { grid-column: 1 / -1; color: var(--sign); font-size: 14px; line-height: 1.5; }
.find-status:empty { display: none; }

/* Сравнение */
.compare { display: grid; gap: 12px; }
.compare-col { padding: 20px; background: var(--steel); }
.compare-col h3 { margin-bottom: 10px; }
.compare-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.compare-col li { position: relative; padding-left: 24px; color: #c9c1a8; }
.compare-col li::before { content: "×"; position: absolute; left: 4px; color: var(--heater); font-weight: 700; }
.compare-ours { background: var(--steel-lit); box-shadow: inset 0 0 0 2px var(--lamp); }
.compare-ours li::before { content: "✓"; color: var(--bottle); }

/* Безопасность */
.safe { display: grid; gap: 12px; }
.safe-item { padding: 20px; background: var(--steel); }
.safe-item h3 { margin-bottom: 6px; color: var(--crt); }
.safe-item p { color: #c9c1a8; }

/* Вопросы */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--steel); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 18px;
  position: relative;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lamp);
  font: 700 26px/1 var(--display);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 78ch; padding: 0 18px 18px; color: #c9c1a8; }

/* Окошко открыто: ларёк переехал сюда из первого экрана */
.closing { display: grid; gap: 24px; align-items: center; padding-bottom: 56px; }
.closing-art { width: 100%; border: 2px solid var(--rim); }
.closing-copy p { margin-bottom: 22px; color: var(--muted); line-height: 1.55; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Подвал */
.foot { padding: 24px 0 112px; border-top: 1px solid var(--rim); color: var(--muted); font-size: 13px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 16px; margin-bottom: 12px; font-size: 14px; }
.foot p { margin: 8px 0; max-width: 60em; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-nav a { color: var(--sign); }

/* Полоса оплаты на телефоне: выбранный тариф, цена и «Оплатить» */
.paybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rim);
  background: rgba(15, 20, 26, 0.94);
  box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.4);
}
.paybar-text { display: flex; flex-direction: column; min-width: 0; }
.paybar-name { overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.paybar-price { font: 700 28px/1 var(--display); white-space: nowrap; }
.paybar-pay {
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 6px;
  background: var(--lamp);
  color: var(--lamp-ink);
  font: 700 16px var(--text);
  white-space: nowrap;
  cursor: pointer;
}
.paybar-pay:disabled { opacity: 0.55; cursor: not-allowed; }

@media (min-width: 561px) {
  .tiles { gap: 12px; }
  .tile { flex-direction: row; align-items: center; gap: 12px; min-height: 88px; padding: 12px 14px; text-align: left; }
  .tile-art { width: 42px; height: 62px; }
  .tile-name { font-size: 17px; }
  .tile-from { font-size: 14px; }
  .facts-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-track, .tariffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brief-sheet { padding: 24px 26px; }
  .brief-table { font-size: 15px; }
  .brief-table .brief-ours { font-size: 22px; }
  .find { padding: 28px 32px; }
  .find-form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .find-send { grid-column: 1 / -1; justify-self: start; }
}

@media (min-width: 760px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  :root { --gutter: 32px; --plan-price-size: 30px; }
  .top { flex-wrap: wrap; padding: 18px 0; }
  .sign { padding: 0 10px; font-size: 26px; line-height: 34px; }
  .top-nav { display: flex; flex-wrap: wrap; }
  .top-bot, .top-login { font-size: 15px; padding: 0 16px; }
  .top-login .icon { display: none; }
  .top-login-text { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .eyebrow { margin: 36px 0 10px; font-size: 13px; }
  .shop-title { font-size: 56px; }
  .shop-lead { margin: 16px 0 28px; font-size: 17px; }
  .plan { gap: 16px; min-height: 64px; padding: 10px 18px; }
  .plan-name { font-size: 18px; }
  .plan-note { font-size: 14px; }
  .plan-price { font-size: var(--plan-price-size); }
  .bot-line { font-size: 15px; }
  .paper { margin: -6px 14px 0; }
  .paper-body { padding: 22px 22px 18px; }
  .slot { height: 24px; }
  .slot span { margin: 10px 16px 0; }
  .r-head { font-size: 12px; }
  .r-name { padding: 12px 0 8px; font-size: 16px; }
  .r-hint { font-size: 13px; }
  .r-total strong { font-size: 42px; }
  .r-pay { min-height: 52px; margin-top: 16px; font-size: 17px; box-shadow: 0 6px 0 var(--lamp-edge); }
  .r-note { font-size: 13px; }
  .safe { grid-template-columns: repeat(3, 1fr); }
  .compare { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .closing { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
}

@media (min-width: 961px) {
  :root { --page: 1360px; --gutter: clamp(32px, 3vw, 48px); }
  .shop { gap: clamp(32px, 3vw, 48px); padding: 40px 0 72px; align-items: start; }
  .shop:has(.receipt-col:not([hidden])) { grid-template-columns: minmax(0, 1fr) clamp(350px, 32vw, 460px); }
  .shop:has(.receipt-col:not([hidden])) .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-main .plans { max-width: 880px; }
  .shop-title { font-size: 64px; }
  .plan { min-height: 68px; padding: 12px 22px; }
  .receipt-col { position: sticky; top: 24px; }
  .paper-body { padding: 26px clamp(22px, 2.2vw, 30px) 24px; }
  .facts-strip { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 40px; }
  .brief { grid-template-columns: minmax(260px, 30%) minmax(0, 1fr); gap: 48px; }
  .brief-sheet { padding: 28px 32px; }
  .step-track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .tariffs { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
  .tariff, .fact, .safe-item, .compare-col { padding: 24px; }
  .faq summary { padding: 18px 56px 18px 24px; }
  .faq details p { padding: 0 24px 20px; }
  .find { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 32px; padding: 32px 36px; }
  .find-form { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; }
  .find-send { grid-column: auto; margin-top: 27px; }
  .paybar { display: none; }
  .foot { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .paper { animation: none; }
  .r-pay { transition: none; }
}
