/* Тема виртуальный-номер-бесплатно.рф — «ценник и прайс-лист».
   Мотив счёта: пунктирная «перфорация» рамок и линеек (чек рвётся по
   пунктиру), квадратные «бирки» с точкой-отверстием у номеров секций
   и вопросов, горчичная маркер-подсветка под словами заголовков,
   капительные «ключи» в таблице фактов, отрывная кассовая лента в
   финальном CTA (пунктирный горизонтальный ритм — у коммутатора полосы
   прямые сплошные, у дискового аппарата кольца). Палитра — меловая
   бумага с горчичным ценником (#9a7b0a); кнопки светлыми не делаем:
   тёмные чернила на горчице, как надпись на ценнике. Шрифт заголовков —
   Franklin Gothic (у соседей Georgia/Palatino/Optima/Baskerville/моно/
   Verdana/Trebuchet/Futura/Didot/Gill Sans — такой гарнитуры нет). */

:root {
  --font-head: "Franklin Gothic Medium", "Franklin Gothic", "Avenir Next Condensed", "Arial Narrow", Arial, sans-serif;
  --bg: #fafaf5;             /* меловая бумага */
  --bg-alt: #f1f0e2;
  --card: #fffefb;
  --line: #ddd8c2;
  --ink: #262318;            /* чернила ценника */
  --radius: 4px;
  --tint: #f4edcf;           /* горчичная подсветка */
  --deep: #2b2515;           /* тёмный кофе — финальная плита */
}

/* Заголовки: плотный газетный гротеск ценников */
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.01em; }
h2 { line-height: 1.28; }

/* Шапка: светлая, у бренда — квадратная бирка с отверстием */
.topbar { background: var(--card); border-bottom: 1px dashed var(--line); box-shadow: none; }
.topbar .brand { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); }
.topbar .brand::before {
  content: "";
  display: inline-block;
  width: 13px; height: 13px;
  background: var(--accent);
  border-radius: 2px;
  -webkit-mask: radial-gradient(circle 2.5px at 3.5px 3.5px, transparent 98%, #000) ;
            mask: radial-gradient(circle 2.5px at 3.5px 3.5px, transparent 98%, #000);
  margin-right: 10px;
}
.topbar .nav a { color: var(--muted); }
.topbar .nav a:hover { color: var(--accent); }

/* Кнопки: надпись на ценнике — тёмные чернила на горчице, полка снизу */
.btn { border-radius: 3px; background: var(--accent); color: var(--ink); box-shadow: 0 2px 0 var(--deep); }
.btn:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); color: var(--ink); }
section.sec-cta .btn { background: var(--accent); color: var(--ink); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45); }
section.sec-cta .btn:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); color: var(--ink); }

/* Hero: меловой лист с пунктирной кромкой чека сверху и снизу */
.hero {
  padding: 56px 0 48px;
  border-top: 6px dashed var(--tint);
  border-bottom: 6px dashed var(--tint);
  background: var(--bg);
}
.hero .wrap { border-left: none; padding-left: 0; }
.hero h1 { max-width: 24em; }
.hero h1 em, .hero h1 strong { font-style: normal; background: linear-gradient(transparent 62%, var(--tint) 62%); }
.hero .lead { color: #6b6555; }
.hero-note { font-family: var(--font-head); letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; color: var(--accent); }

/* Секции: номер — на квадратной бирке с отверстием */
section.sec { padding: 46px 0 42px; }
section.sec-alt { background: var(--bg-alt); border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
section.sec h2::before {
  counter-increment: sec;
  content: counter(sec);
  display: inline-block;
  width: 1.9em; height: 1.9em; line-height: 1.9em;
  background: var(--tint);
  border: 1px solid var(--accent);
  border-radius: 3px;
  text-align: center;
  font-size: 0.56em;
  font-weight: 700;
  vertical-align: 0.3em;
  margin-right: 12px;
  color: var(--accent);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.6);
}

/* Карточки: «отрывные» бланки с пунктиром и уголком-надсечкой */
.cards { gap: 18px; margin: 22px 0; }
.card {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  position: relative;
}
.card::after {
  content: "";
  position: absolute;
  top: 8px; right: 8px;
  width: 7px; height: 7px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}
.card h3::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  margin-right: 9px;
}
.card a { color: var(--ink); }
.card.quote { background: var(--tint); border-left: 1px dashed var(--line); }
.card.quote p:first-child { font-family: var(--font-head); font-size: 16px; }

/* Списки: маркер — засечка ценника */
.checks li { padding-left: 26px; }
.checks li::before {
  content: "";
  left: 2px; top: 12px;
  width: 9px; height: 9px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* Таблица фактов: ключи капителью ценника, лейки пунктиром */
.facts th, .facts td { border-bottom: 1px dashed var(--line); padding: 12px 6px; }
.facts tbody tr:first-child th, .facts tbody tr:first-child td { border-top: 1px solid var(--line); }
.facts th {
  color: var(--accent);
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-align: left;
  width: 11em;
}
.facts td { color: #4a4636; }

/* FAQ: чек без боксов — пунктирные линейки, вопросы на бирках */
#faq { counter-reset: faq; }
details { border: none; border-bottom: 1px dashed var(--line); padding: 6px 0; counter-increment: faq; }
details summary { padding: 13px 32px 13px 0; font-family: var(--font-head); font-size: 17px; }
details summary::before {
  content: counter(faq);
  display: inline-block;
  width: 26px; height: 26px; line-height: 26px;
  background: var(--tint);
  border: 1px solid var(--accent);
  border-radius: 3px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  vertical-align: -6px;
  margin-right: 12px;
}
details[open] { background: transparent; }
details p { color: #4a4636; padding-left: 38px; }

/* Статьи: крошки с засечками, таблицы с горчичной шапкой */
.crumbs a { color: var(--accent); }
.article table th { background: var(--tint); color: var(--ink); font-family: var(--font-head); text-transform: uppercase; font-size: 13px; letter-spacing: 0.04em; }
.article table td { color: #4a4636; }
.article table th, .article table td { border-bottom: 1px dashed var(--line); }
.related li::marker { color: var(--accent); }

/* CTA-блок в статьях: отрывной талон с пунктирной кромкой */
.ctabox {
  background: var(--card);
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  padding: 26px 28px;
}

/* Финальный CTA: тёмная кассовая лента с пунктирным ритмом отрыва */
section.sec-cta {
  background:
    repeating-linear-gradient(to bottom, transparent 0 34px, rgba(244, 237, 207, 0.16) 34px 35px),
    var(--deep);
  border-top: 6px dashed var(--accent);
}
section.sec-cta h2 { color: #f3efdc; }
section.sec-cta p { color: #b8b097; }
section.sec-cta .btn:hover { filter: brightness(1.06); }

/* Футер и cookie-бар */
.footer { background: var(--bg-alt); border-top: 1px dashed var(--line); }
.footer-brand { color: var(--ink); }
.cookiebar { background: var(--deep); }

::selection { background: var(--tint); }
