/* ============================================================
   цифровойрубль.рус — независимый информационный портал
   Design system: "Paper & Chip"
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Type */
  --font-display: 'Unbounded', 'Golos Text', system-ui, sans-serif;
  --font-body: 'Golos Text', 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --text-xs: clamp(0.75rem, 0.72rem + 0.12vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.06rem + 0.3vw, 1.3125rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.62vw, 1.6rem);
  --text-2xl: clamp(1.6rem, 1.3rem + 1.35vw, 2.35rem);
  --text-hero: clamp(1.95rem, 1.35rem + 2.7vw, 3.5rem);

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 7rem;

  /* Color — light (paper) */
  --paper: #f4f0e7;
  --paper-deep: #ebe5d8;
  --surface: #fffdf8;
  --ink: #14161a;
  --ink-2: #383d45;
  --muted: #6c7079;
  --line: #d9d2c3;
  --line-soft: #e6e0d2;

  --accent: #a85426;
  --accent-hover: #8c4319;
  --accent-soft: #f3e4d7;

  --v-false: #1f6b4f;
  --v-false-soft: #e2efe8;
  --v-partly: #9a6410;
  --v-partly-soft: #f6ecd8;
  --v-valid: #8a3324;
  --v-valid-soft: #f6e3de;

  --radius: 4px;
  --radius-lg: 10px;
  --maxw: 1200px;
  --prose: 68ch;
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, .06), 0 2px 8px rgba(20, 22, 26, .04);
  --shadow-md: 0 2px 4px rgba(20, 22, 26, .06), 0 12px 32px rgba(20, 22, 26, .08);
}

html[data-theme='dark'] {
  --paper: #101216;
  --paper-deep: #0b0d10;
  --surface: #181b21;
  --ink: #eeeae1;
  --ink-2: #c3bdb2;
  --muted: #8b9099;
  --line: #2b2f37;
  --line-soft: #23262d;

  --accent: #e0873f;
  --accent-hover: #f0a25f;
  --accent-soft: #2c1f14;

  --v-false: #5fbf95;
  --v-false-soft: #16261f;
  --v-partly: #d9a441;
  --v-partly-soft: #2a2214;
  --v-valid: #e0806c;
  --v-valid-soft: #2b1a16;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, .45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.14; letter-spacing: -0.035em; }
h1 { font-size: var(--text-2xl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 600; letter-spacing: -0.005em; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.prose { max-width: var(--prose); }
.section { padding-block: clamp(var(--space-8), 6vw, var(--space-16)); }
.section--tight { padding-block: clamp(var(--space-6), 4vw, var(--space-10)); }
.rule { border: 0; border-top: 1px solid var(--line); }
.stack > * + * { margin-top: var(--space-4); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner { display: flex; align-items: center; gap: var(--space-4); min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand__mark { color: var(--accent); flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; gap: 6px; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 0.86rem; letter-spacing: -0.04em; }
.brand__tag { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; gap: 0; margin-left: auto; align-items: center; flex-wrap: nowrap; }
.nav a {
  font-size: 0.875rem; text-decoration: none; color: var(--ink-2);
  padding: 7px 9px; border-radius: var(--radius); transition: background .18s, color .18s;
  white-space: nowrap;
}
.nav a:hover { background: var(--paper-deep); color: var(--ink); }
.nav a[aria-current='page'] { color: var(--accent); font-weight: 600; }

.hbtns { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.iconbtn {
  width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-2);
  transition: border-color .18s, color .18s, background .18s;
}
.iconbtn:hover { border-color: var(--accent); color: var(--accent); }
.ico-sun { display: none; }
[data-theme='dark'] .ico-moon { display: none; }
[data-theme='dark'] .ico-sun { display: block; }
.burger { display: none; }

@media (max-width: 1180px) {
  .burger { display: grid; }
  .nav {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: var(--space-3);
    max-height: calc(100dvh - 66px); overflow-y: auto; display: none; box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 10px; font-size: var(--text-base); border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(var(--space-8), 7vw, var(--space-16)) var(--space-10); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(var(--space-6), 5vw, var(--space-10)); align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: var(--text-hero); letter-spacing: -0.05em; line-height: 1.08; font-weight: 800; }
.hero__lead { font-size: var(--text-lg); color: var(--ink-2); max-width: 54ch; margin-top: var(--space-5); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  padding: 6px 12px; border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 100px; background: var(--accent-soft);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.dot--live { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

.hero__bg { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; }

/* ---------- Countdown ---------- */
.countdown { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); box-shadow: var(--shadow-sm); }
.countdown__label { font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.countdown__date { font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); letter-spacing: -0.01em; margin-top: 6px; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); margin-top: var(--space-4); }
.cd-cell { text-align: center; background: var(--paper-deep); border-radius: var(--radius); padding: 10px 4px; }
.cd-num { font-family: var(--font-mono); font-size: clamp(1.3rem, 3.2vw, 1.85rem); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.1; }
.cd-unit { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.countdown__note { font-size: var(--text-xs); color: var(--muted); margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--line-soft); }

/* ---------- Buttons ---------- */
.btnrow { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer;
  font-size: var(--text-sm); font-weight: 600; padding: 11px 20px; border-radius: var(--radius);
  border: 1px solid var(--accent); background: var(--accent); color: #fff;
  transition: background .18s, transform .18s, border-color .18s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--space-4); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-5); transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
a.card { text-decoration: none; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card__kicker { font-size: var(--text-xs); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.card h3 { margin-top: 10px; }
.card p { color: var(--ink-2); font-size: var(--text-sm); margin-top: 8px; }
.card__more { margin-top: auto; padding-top: var(--space-4); font-size: var(--text-sm); font-weight: 600; color: var(--accent); }

/* Stat */
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-5); }
.stat__num { font-family: var(--font-display); font-size: clamp(1.5rem, 3.2vw, 2.05rem); font-weight: 700; letter-spacing: -0.05em; color: var(--accent); line-height: 1.05; }
.stat__label { font-size: var(--text-sm); color: var(--ink-2); margin-top: 10px; }
.stat__src { font-size: var(--text-xs); color: var(--muted); margin-top: 8px; }

/* ---------- Verdict badge ---------- */
.verdict {
  display: inline-flex; align-items: center; gap: 7px; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; border: 1px solid;
}
.verdict--false { color: var(--v-false); background: var(--v-false-soft); border-color: color-mix(in srgb, var(--v-false) 35%, transparent); }
.verdict--partly { color: var(--v-partly); background: var(--v-partly-soft); border-color: color-mix(in srgb, var(--v-partly) 35%, transparent); }
.verdict--valid { color: var(--v-valid); background: var(--v-valid-soft); border-color: color-mix(in srgb, var(--v-valid) 35%, transparent); }

/* ---------- Myth article ---------- */
.myth { scroll-margin-top: 90px; border-top: 1px solid var(--line); padding-top: var(--space-8); margin-top: var(--space-8); }
.myth:first-of-type { border-top: 0; margin-top: 0; }
.myth__head { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.myth__no { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--muted); }
.myth__quote {
  font-family: var(--font-body); font-weight: 500; font-size: var(--text-lg); font-style: italic; line-height: 1.45; color: var(--ink-2);
  margin-top: var(--space-4); padding-left: var(--space-5); border-left: 3px solid var(--accent);
}
.myth__body { margin-top: var(--space-5); max-width: var(--prose); }
.myth__body p + p { margin-top: var(--space-4); }
.docbox { background: var(--paper-deep); border-left: 3px solid var(--ink-2); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--space-5); margin-top: var(--space-6); }
.docbox h4 { font-family: var(--font-body); font-size: var(--text-sm); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.docbox ul { margin: var(--space-3) 0 0; padding-left: 1.15rem; }
.docbox li { font-size: var(--text-sm); margin-top: 8px; }

/* ---------- Timeline ---------- */
.tl { position: relative; padding-left: var(--space-6); margin-top: var(--space-6); }
.tl::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.tl__item { position: relative; padding-bottom: var(--space-6); }
.tl__item::before { content: ''; position: absolute; left: calc(-1 * var(--space-6) + 3px); top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.tl__date { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .04em; color: var(--accent); font-weight: 600; }
.tl__item h3 { margin-top: 4px; font-size: var(--text-base); }
.tl__item p { font-size: var(--text-sm); color: var(--ink-2); margin-top: 6px; max-width: 62ch; }

/* ---------- Tables ---------- */
.tablewrap {
  overflow-x: auto; margin-top: var(--space-5); border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--surface);
  background-image:
    linear-gradient(to right, var(--surface) 40%, transparent),
    linear-gradient(to left, var(--surface) 40%, transparent),
    radial-gradient(farthest-side at 0 50%, rgba(20,22,26,.13), transparent),
    radial-gradient(farthest-side at 100% 50%, rgba(20,22,26,.13), transparent);
  background-repeat: no-repeat;
  background-position: left center, right center, left center, right center;
  background-size: 44px 100%, 44px 100%, 15px 100%, 15px 100%;
  background-attachment: local, local, scroll, scroll;
}
.tablehint { display: none; font-size: var(--text-xs); color: var(--muted); margin-top: 8px; }
@media (max-width: 760px) { .tablehint { display: block; } }
table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); min-width: 520px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th { font-size: var(--text-xs); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--paper-deep); }
tbody tr:last-child td { border-bottom: 0; }
td strong { font-weight: 600; }

/* ---------- FAQ / accordion ---------- */
.faq { border-top: 1px solid var(--line-soft); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: var(--space-4) 40px var(--space-4) 0;
  font-size: var(--text-base); font-weight: 600; position: relative; line-height: 1.4;
}
.faq__q::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .25s;
}
.faq.is-open .faq__q::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__a { display: none; padding: 0 var(--space-6) var(--space-5) 0; color: var(--ink-2); max-width: var(--prose); }
.faq.is-open .faq__a { display: block; }
.faq__a p + p { margin-top: var(--space-3); }

.search {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); font-size: var(--text-base);
}
.search::placeholder { color: var(--muted); }

/* ---------- Checklist ---------- */
.check { list-style: none; padding: 0; margin-top: var(--space-5); }
.check li {
  position: relative; padding-left: 34px; padding-bottom: var(--space-5); margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--line-soft);
}
.check li:last-child { border-bottom: 0; margin-bottom: 0; }
.check li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 4px;
  border: 1.5px solid var(--accent); background: var(--accent-soft);
}
.check li::after {
  content: ''; position: absolute; left: 6px; top: 8px; width: 8px; height: 4px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.check h3 { font-size: var(--text-base); }
.check p { font-size: var(--text-sm); color: var(--ink-2); margin-top: 6px; max-width: 66ch; }
.tag {
  display: inline-block; margin-top: 10px; font-size: var(--text-xs); font-weight: 600;
  padding: 4px 10px; border-radius: 100px; background: var(--paper-deep); color: var(--ink-2); border: 1px solid var(--line);
}
.tag--date { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); background: var(--accent-soft); }

/* ---------- Callout ---------- */
.callout { border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: var(--space-5); margin-top: var(--space-6); }
.callout h3 { font-size: var(--text-base); }
.callout p { font-size: var(--text-sm); color: var(--ink-2); margin-top: 8px; }

.note { font-size: var(--text-sm); color: var(--muted); }
.lead { font-size: var(--text-lg); color: var(--ink-2); max-width: 62ch; }
.section__head { max-width: 62ch; }
.section__head p { color: var(--ink-2); margin-top: var(--space-3); }

/* ---------- Book strip ---------- */
.book { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--space-8); align-items: center; }
@media (max-width: 760px) { .book { grid-template-columns: 1fr; gap: var(--space-5); } }
.book__cover { border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; border: 1px solid var(--line); }

/* ---------- Footer ---------- */
.footer { background: var(--paper-deep); border-top: 1px solid var(--line); padding-block: var(--space-8) var(--space-6); margin-top: var(--space-12); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin-top: var(--space-3); }
.footer li { margin-top: 9px; }
.footer a { font-size: var(--text-sm); color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer__bottom { margin-top: var(--space-8); padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: var(--text-xs); color: var(--muted); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; }

/* ---------- Breadcrumbs / page head ---------- */
.crumbs { font-size: var(--text-xs); color: var(--muted); padding-top: var(--space-6); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.pagehead { padding-block: var(--space-5) var(--space-8); border-bottom: 1px solid var(--line); }
.pagehead h1 { max-width: 20ch; }
.pagehead .lead { margin-top: var(--space-5); }

/* ---------- Chips / anchors ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-5); }
.chip {
  font-size: var(--text-sm); text-decoration: none; padding: 7px 14px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); transition: all .18s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Print ---------- */

/* ---- book note: ненавязчивая сноска на главу книги ---- */
.booknote {
  display: grid; grid-template-columns: 22px minmax(0,1fr) auto; gap: 14px; align-items: start;
  max-width: var(--prose); margin-top: var(--space-7);
  padding: var(--space-4) var(--space-5);
  border: 1px dashed var(--line); border-radius: var(--radius);
  background: transparent;
}
.booknote__mark { color: var(--accent); opacity: .75; margin-top: 2px; }
.booknote__ch {
  font-family: var(--font-mono, var(--font-body)); font-size: var(--text-xs);
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.booknote__t { font-size: var(--text-sm); color: var(--ink-2); margin-top: 6px; line-height: 1.55; }
.booknote__link {
  font-size: var(--text-sm); color: var(--ink-2); white-space: nowrap; align-self: center;
  border-bottom: 1px solid var(--line); padding-bottom: 1px;
}

.booknote__links { display: flex; flex-direction: column; gap: 6px; align-self: center; }
.booknote__litres { color: var(--muted); font-size: var(--text-xs); }
.booknote__litres:hover { color: var(--accent); }
.booknote__link:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 640px) {
  .booknote { grid-template-columns: 22px minmax(0,1fr); }
  .booknote__link { grid-column: 2; justify-self: start; margin-top: 4px; }
}


/* ---- фрагмент книги ---- */
.excerpt {
  max-width: var(--prose); margin: var(--space-6) 0 0;
  padding: var(--space-6) var(--space-6) var(--space-5);
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.excerpt p { font-size: var(--text-base); line-height: 1.75; color: var(--ink); }
.excerpt p + p { margin-top: var(--space-4); }
.excerpt figcaption {
  margin-top: var(--space-5); font-size: var(--text-xs); letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}


/* ---- расшифровка аббревиатуры в hero ---- */
.hero__abbr {
  font-size: var(--text-sm); color: var(--muted); margin-top: var(--space-3);
  line-height: 1.6;
}
.hero__abbr abbr { text-decoration: underline dotted var(--line); cursor: help; color: var(--ink-2); }


/* ---- блок «Коротко» (tldr) ---- */
.tldr {
  max-width: var(--prose); margin-bottom: 2.5rem;
  padding: var(--space-5) var(--space-6);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.tldr h2 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.tldr__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.tldr__list li {
  font-size: var(--text-base); line-height: 1.6; color: var(--ink-2);
  padding-left: 1.6em; position: relative;
}
.tldr__list li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

@media print {
  .header, .footer, .btnrow, .iconbtn { display: none; }
  body { background: #fff; color: #000; }
  .faq__a { display: block !important; }
}
