:root {
  --bg: #F3F1EC;
  --surface: #FBFAF7;
  --ink: #121212;
  --muted: #6B6860;
  --line: #DCD8CE;
  --accent: #121212;
  --accent-ink: #FFFFFF;
  --ok: #1E7A45;
  --ok-bg: #E2F1E7;
  --warn: #A15C00;
  --warn-bg: #F8EBD6;
  --bad: #C22B2B;
  --bad-bg: #F8E0DE;
  --ui: 'Onest', system-ui, sans-serif;
  --head: 'Playfair Display', Georgia, serif;
  --r: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111111; --surface: #1A1A19; --ink: #F1EFEA; --muted: #9A968C; --line: #2E2D2A;
    --accent: #F1EFEA; --accent-ink: #121212; --ok: #6FD49A; --ok-bg: #16311F; --warn: #F0B360; --warn-bg: #33260F;
    --bad: #FF7B72; --bad-bg: #3A1716;
  }
}
:root[data-theme="dark"] {
  --bg: #111111; --surface: #1A1A19; --ink: #F1EFEA; --muted: #9A968C; --line: #2E2D2A;
  --accent: #F1EFEA; --accent-ink: #121212; --ok: #6FD49A; --ok-bg: #16311F; --warn: #F0B360; --warn-bg: #33260F;
  --bad: #FF7B72; --bad-bg: #3A1716;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--ui); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 16px; } }

/* Шапка */
header.top { border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
header.top .wrap { display: flex; align-items: center; gap: 36px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
/* Логотип: знак KZ и название — Playfair Display */
.logo .mono { width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: var(--bg); display: flex; align-items: center; justify-content: center; font: 600 19px/1 var(--head); letter-spacing: -0.03em; }
.logo .word { font: 400 17px/1 var(--head); letter-spacing: -0.02em; }
.logo.one .word { font-size: 21px; white-space: nowrap; }
nav.main { display: flex; gap: 26px; font-size: 14px; align-items: center; }
nav.main a, .ddbtn { color: var(--muted); }
nav.main a.on, nav.main a:hover, .ddbtn.on, .ddbtn:hover { color: var(--ink); }
.dd { position: relative; }
.ddbtn { border: 0; background: none; padding: 0; font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.ddbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ddmenu { display: none; position: absolute; top: calc(100% + 14px); left: -14px; width: 280px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.dd.open .ddmenu { display: block; }
.ddmenu a { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 10px; color: var(--ink) !important; }
.ddmenu a:hover { background: var(--bg); }
.ddmenu .ic { width: 36px; height: 36px; border-radius: 8px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.ddmenu sup { margin-left: auto; font-size: 11px; color: var(--muted); padding-right: 6px; }
.lang { margin-left: auto; display: flex; gap: 2px; font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { padding: 3px 10px; border-radius: 999px; color: var(--muted); transition: color .2s; } .lang a:hover { color: var(--ink); } body.home .lang a:not(.on):hover, .ftop .lang a:not(.on):hover { color: #fff; }
.lang a.on { background: var(--ink); color: var(--bg); }
.burger { display: none; border: 0; background: none; width: 36px; height: 36px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 0 6px; }
.burger span { display: block; height: 1.5px; background: currentColor; }
/* Шапка поверх фото на главной */
body.home header.top { position: absolute; top: 0; left: 0; right: 0; border-color: rgba(255,255,255,.18); color: #fff; }
body.home .logo .mono { background: #fff; color: #111; }
body.home nav.main a, body.home .ddbtn { color: rgba(255,255,255,.72); }
body.home nav.main a:hover, body.home .ddbtn:hover { color: #fff; }
body.home .lang { border-color: rgba(255,255,255,.3); }
body.home .lang a { color: rgba(255,255,255,.72); }
body.home .lang a.on { background: #fff; color: #111; }
@media (max-width: 900px) {
  .burger { display: flex; }
  .lang { margin-left: auto; }
  nav.main { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  nav.main.open { display: flex; }
  nav.main > a, .ddbtn { padding: 12px 0; color: var(--ink) !important; font-size: 16px; }
  .ddmenu { position: static; width: auto; box-shadow: none; }
}
@media (max-width: 480px) { .lang a { padding: 3px 7px; } }

/* Первый экран */
.hs { --gut: max(32px, calc((100% - 1320px) / 2 + 32px)); position: relative; height: 40vh; min-height: 340px; max-height: 520px; background: #0c0c0c; color: #fff; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.on { opacity: 1; z-index: 1; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: grayscale(1) contrast(1.15) brightness(.7); }
.slide.on img { animation: kf-zoom 8s cubic-bezier(.2,.6,.2,1) both; }
@keyframes kf-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .slide.on img { animation: none; } }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.6) 100%); }
.mega { position: absolute; left: 0; right: 0; top: 104px; z-index: 2; padding: 0 var(--gut); font-size: clamp(44px, min(6vw, 8.6vh), 108px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 300; }
.mega div { white-space: nowrap; }
.mega i { font-style: italic; }
.strip { position: absolute; z-index: 3; left: var(--gut); right: var(--gut); bottom: 16px; display: flex; align-items: center; gap: 24px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.28); font-size: 13px; }
.strip h1, .strip .h1like { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.strip p { margin: 0; opacity: .72; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip > a { font-weight: 500; white-space: nowrap; margin-right: 88px; }
.strip a span { display: inline-block; transition: transform .2s; margin-left: 6px; } .strip a:hover span { transform: translateX(4px); }
.dots { position: absolute; z-index: 4; right: var(--gut); bottom: 19px; display: flex; gap: 10px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.dots button.on { background: #fff; }
.credit { position: absolute; z-index: 3; right: var(--gut); top: 84px; font-size: 10px; opacity: .45; }
.hs.page { height: 30vh; min-height: 330px; max-height: 380px; }
.hs.page .mega { font-size: clamp(30px, min(4.2vw, 5.8vh), 64px); }
/* Внутренние страницы: заголовок прижат к нижней полосе — оба блока идут в потоке снизу вверх */
.hs.page .slide { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gut) 16px; }
.hs.page .mega { position: relative; top: auto; left: auto; right: auto; padding: 0; margin-bottom: 22px; }
.hs.page .strip { position: relative; left: auto; right: auto; bottom: auto; z-index: 3; }
.strip .crumbs2 { display: flex; gap: 6px; align-items: center; opacity: .72; white-space: nowrap; }
.strip .crumbs2 a:hover { opacity: 1; text-decoration: underline; }
.strip .sp { flex: 1; }
.strip .meta3 { white-space: nowrap; margin-right: 0; font-size: 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 3px 10px; }
.strip h1.seo { font-size: 13px; font-weight: 400; opacity: .78; text-align: right; }
.intro { font-size: 17px; color: var(--muted); max-width: 760px; margin: 0; padding: 28px 0 20px; }
@media (max-width: 720px) {
  .hs { --gut: 16px; min-height: 300px; } .hs.page { min-height: 290px; } .hs.page .mega { font-size: 6.8vw; } .hs.page .mega .i2 { white-space: normal; } .strip .crumbs2 { display: none; }
  .mega { top: 96px; font-size: 7.2vw; }
  .strip { flex-wrap: wrap; gap: 4px 12px; } .strip p { display: none; } .strip > a { margin-right: 60px; }
  .credit { display: none; }
}

/* Реклама: стандартные форматы IAB, высота зарезервирована заранее, чтобы страница не прыгала */
.adslot { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 0 40px; }
.adlabel { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.adbox { width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.adph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: 12px; background: repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in srgb, var(--line) 35%, transparent) 12px 13px); }
.adslot-leader .adbox { max-width: 728px; height: 90px; }
.list .adslot-leader { margin: 24px 0; }
.list.v-grid .adslot-leader { grid-column: 1 / -1; margin: 8px 0; }
.adslot-rect { margin: 0; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; } .adslot-rect .adbox { width: 300px; height: 250px; }
.adstack { display: flex; flex-direction: column; justify-content: center; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.adstack .adslot { margin: 0; background: none; border: 0; padding: 0; } .adslot-banner .adbox { width: min(320px, 100%); height: 100px; }
.adstack .adslot-rect .adbox { width: min(300px, 100%); }
.adslot-inline { margin: 36px 0; } .adslot-inline .adbox { max-width: 728px; height: 90px; }
@media (max-width: 760px) {
  .adslot-leader .adbox { max-width: 320px; height: 100px; }
  .adslot-inline .adbox { max-width: 300px; height: 250px; }
}
.ph-mobile { display: none; } @media (max-width: 760px) { .ph-desk { display: none; } .ph-mobile { display: inline; } }
/* Плашка cookie */
.consent { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto; background: var(--ink); color: var(--bg); border-radius: 16px; padding: 16px 18px; display: flex; gap: 16px; align-items: center; box-shadow: 0 18px 40px rgba(0,0,0,.25); font-size: 14px; }
.consent p { margin: 0; flex: 1; opacity: .9; }
.consent a { text-decoration: underline; }
.consent button { border: 1px solid currentColor; background: transparent; color: inherit; border-radius: 999px; height: 38px; padding: 0 16px; cursor: pointer; white-space: nowrap; font-size: 13px; }
.consent button.ok { background: var(--bg); color: var(--ink); border-color: var(--bg); }
@media (max-width: 640px) { .consent { flex-direction: column; align-items: stretch; } .consent .btns { display: flex; gap: 8px; } .consent button { flex: 1; } }
/* Текстовые страницы */
.doc { max-width: 760px; padding: 8px 0 72px; font-size: 17px; line-height: 1.65; }
.doc h2 { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 12px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc .upd { color: var(--muted); font-size: 14px; }
.colls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 80px; }
.coll { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: border-color .2s; }
.coll:hover { border-color: var(--ink); }
.coll .fs { display: flex; flex-direction: column; gap: 4px; font-size: 30px; line-height: 1.15; min-height: 150px; }
.coll h3 { margin: 0; font-size: 20px; font-weight: 500; }
.coll p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .colls { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding: 56px 0 36px; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(36px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.035em; font-weight: 600; margin: 0 0 20px; }
.hero p { color: var(--muted); font-size: 17px; max-width: 520px; margin: 0; }
@media (max-width: 860px) { .hero { padding-top: 40px; } }

/* Панель управления */
.toolbar { position: sticky; top: 0; z-index: 5; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toolbar .wrap { display: flex; gap: 12px; align-items: center; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.field { flex: 1 1 320px; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; height: 44px; }
.field input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 15px; }
.field:focus-within { border-color: var(--ink); }
.seg { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; height: 44px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 0 14px; font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg button.on { background: var(--ink); color: var(--bg); }
.size { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); height: 44px; padding: 0 4px; }
.size input { width: 110px; accent-color: var(--ink); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 0 8px; align-items: center; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer; color: var(--muted); }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filters .sep { width: 1px; height: 20px; background: var(--line); margin: 0 6px; }
.filters .count { margin-left: auto; font-size: 13px; color: var(--muted); }

/* Стилистики-кнопки, хлебные крошки, пресеты, вид */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); padding-top: 28px; flex-wrap: wrap; }
.crumbs a { color: var(--ink); } .crumbs a:hover { color: var(--accent); }
.schips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 4px 0 24px; }
@media (max-width: 900px) { .schips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .schip { font-size: 14px; padding: 12px 24px 12px 14px; } .schip .ic { display: none; } }
.schip { min-width: 0; }
.schip { position: relative; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 5px 26px 5px 5px; font-size: 14px; transition: border-color .15s; }
.schip:hover { border-color: var(--ink); }
.schip .ic { width: 38px; height: 38px; border-radius: 8px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; }
.schip sup { position: absolute; top: 5px; right: 8px; font-size: 10px; color: var(--muted); }
.schip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.schip.on .ic { background: rgba(255,255,255,.18); } .schip.on sup { color: inherit; opacity: .75; }
.field { position: relative; }
.field svg, .seg.icons svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.field > svg { color: var(--muted); }
.pbtn { border: 0; background: var(--bg); border-radius: 999px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; color: var(--ink); }
.presets { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.12); z-index: 10; }
.presets.on { display: block; }
.presets button { display: block; width: 100%; text-align: left; border: 0; background: transparent; border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.presets button:hover { background: var(--bg); }
.presets b { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
.presets span { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* На узких экранах переключатель прокручивается внутри себя, а не расширяет страницу */
#lic { max-width: 100%; overflow-x: auto; scrollbar-width: none; } #lic::-webkit-scrollbar { display: none; } #lic button { flex: none; }
.seg.icons button { width: 38px; padding: 0; display: flex; align-items: center; justify-content: center; position: relative; }
.seg.icons button:hover { color: var(--ink); }
#lh[data-step="1"], #lh[data-step="2"], #ls[data-step="0"], #ls[data-step="2"], #theme[data-step="1"], #theme[data-step="2"] { color: var(--accent); }
.size span { min-width: 44px; color: var(--ink); font-variant-numeric: tabular-nums; }
.chip.tall { height: 44px; padding: 0 16px; font-size: 14px; }
.count { font-size: 13px; color: var(--muted); padding: 16px 0 10px; }
.more { display: flex; justify-content: center; margin: -40px 0 72px; }

/* Список шрифтов */
.list { border-top: 1px solid var(--line); margin-bottom: 80px; }
.row { display: grid; grid-template-columns: 220px 1fr auto; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: center; cursor: pointer; }
.row:hover .pv { opacity: .6; }
.row .name { font-weight: 600; font-size: 16px; }
.row .meta { font-size: 13px; line-height: 1.45; color: var(--muted); margin-top: 6px; display: flex; flex-direction: column; }
.pv { transition: opacity .15s; font-size: var(--pv-size, 56px); text-align: var(--pv-align, left); line-height: var(--pv-lh, 1.12); letter-spacing: var(--pv-ls, 0); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; word-break: break-word; transition: color .15s; }
.miss { font-family: var(--ui) !important; font-weight: 400; color: var(--bad); text-decoration: underline wavy; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
.row .side { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.part { background: var(--warn-bg); color: var(--warn); }
.badge.no { background: var(--bad-bg); color: var(--bad); }
.badge.lic { border: 1px solid var(--line); color: var(--muted); }
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; gap: 12px; }
  .row .side { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
}
/* Вид сеткой и цветовые схемы превью */
.list.v-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 0; }
.list.v-grid .row { grid-template-columns: 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; align-items: start; }
.list.v-grid .row .side { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
.list.v-list.t-dark, .list.v-list.t-accent { border-radius: 20px; padding: 0 28px; border-top: 0; }
.t-dark { --tb: #141414; --tf: #F3F1EC; --tl: #2E2D2A; }
.t-accent { --tb: #E4DED2; --tf: #121212; --tl: rgba(0,0,0,.12); }
.list.v-list.t-dark, .list.v-list.t-accent, .list.v-grid.t-dark .row, .list.v-grid.t-accent .row { background: var(--tb); color: var(--tf); border-color: var(--tl); }
.t-dark .row, .t-accent .row { border-color: var(--tl); }
.t-dark .row .meta, .t-accent .row .meta { color: inherit; opacity: .65; }
.t-dark .row:hover .pv, .t-accent .row:hover .pv { color: inherit; opacity: .8; }
.t-dark .badge.lic, .t-accent .badge.lic { color: inherit; border-color: var(--tl); }
@media (max-width: 860px) { .list.v-grid { grid-template-columns: 1fr; } .list.v-list.t-dark, .list.v-list.t-accent { padding: 0 16px; } }
.empty { padding: 60px 0; color: var(--muted); text-align: center; }

/* Страница шрифта */
.back { display: inline-block; margin: 28px 0 0; font-size: 14px; color: var(--muted); }
.back:hover { color: var(--ink); }
.fhead { padding: 24px 0; border-bottom: 1px solid var(--line); }
.fhead h1 { font-size: clamp(56px, 11vw, 168px); line-height: 0.95; margin: 0 0 24px; font-weight: 500; letter-spacing: -0.03em; word-break: break-word; }
.fmeta { display: flex; gap: 12px 28px; flex-wrap: wrap; color: var(--muted); font-size: 14px; align-items: center; }
.fmeta b { color: var(--ink); font-weight: 500; }
.actions { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 14px; font-weight: 500; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn:hover { opacity: .88; }
section.block { padding: 48px 0; border-bottom: 1px solid var(--line); }
.bh { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.bh h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 500; margin: 0; }
.webnote { margin-top: 16px; padding: 14px 18px; border-radius: var(--r); background: var(--warn-bg); color: var(--warn); font-size: 14px; line-height: 1.5; }
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.scard .t { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 500; }
.scard .ch { font-size: 30px; letter-spacing: 0.06em; line-height: 1.3; word-break: break-all; }
@media (max-width: 720px) { .support { grid-template-columns: 1fr; } }
.editable { font-size: clamp(36px, 6vw, 88px); line-height: 1.08; outline: 0; word-break: break-word; min-height: 1.1em; }
.editable:focus { caret-color: var(--accent); }
.wf .l { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 14px 0; border-top: 1px solid var(--line); align-items: baseline; }
.wf .l:first-child { border-top: 0; }
.wf .l span { font-size: 13px; color: var(--muted); }
.wf .l div { font-size: 34px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 720px) { .wf .l { grid-template-columns: 1fr; gap: 4px; } .wf .l div { font-size: 26px; } }
.glyphs { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.glyphs div { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.glyphs div.kz { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.glyphs div.x { background: var(--bad-bg); color: var(--bad); font-family: var(--ui) !important; font-size: 22px; }
.glyphs div.x::after { content: 'нет'; position: absolute; bottom: 4px; font-size: 10px; }
.glabel { font-size: 13px; color: var(--muted); margin: 28px 0 10px; }
.glabel:first-child { margin-top: 0; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs span { color: var(--muted); }
@media (max-width: 720px) { .specs { grid-template-columns: 1fr; } }
.para { font-size: 18px; line-height: 1.6; max-width: 720px; }
.sim { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sim a { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: block; }
.sim a:hover { border-color: var(--ink); }
.sim .big { font-size: 56px; line-height: 1; margin-bottom: 20px; }
@media (max-width: 720px) { .sim { grid-template-columns: 1fr; } }
.cta { margin: 48px 0 80px; background: var(--ink); color: var(--bg); border-radius: 20px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta h3 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; margin: 0 0 10px; font-weight: 600; letter-spacing: -0.02em; }
.cta p { margin: 0; opacity: .7; }
.cta .btn { border-color: var(--bg); color: var(--bg); }
@media (max-width: 720px) { .cta { grid-template-columns: 1fr; padding: 28px; } }

/* Проверка своего шрифта */
.drop { display: block; margin: 40px 0; border: 1.5px dashed var(--line); border-radius: 20px; padding: 64px 24px; text-align: center; background: var(--surface); cursor: pointer; }
.drop.over { border-color: var(--accent); }
.drop h2 { font-size: 28px; margin: 0 0 8px; font-weight: 600; }
.drop p { color: var(--muted); margin: 0; }

/* Блог */
.bhead { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 28px; flex-wrap: wrap; }
.bhead h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1; letter-spacing: -0.03em; font-weight: 500; margin: 0; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: row dense; gap: 40px 28px; margin-bottom: 80px; }
.post { display: flex; flex-direction: column; }
.post .in { padding: 18px 2px 0; display: flex; flex-direction: column; flex: 1; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; }
.post h3 { font-size: 21px; line-height: 1.2; font-weight: 500; margin: 0 0 10px; letter-spacing: -0.01em; }
.post p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post time { margin-top: auto; font-size: 13px; color: var(--muted); }
.posts > .adslot-leader { grid-column: 1 / -1; margin: 0; }
@media (max-width: 1000px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .posts { grid-template-columns: 1fr; } }

/* Обложки статей: ч/б фото + типографика. Размеры в cqw — композиция одинакова в любой ширине карточки */
.cover { container-type: inline-size; position: relative; aspect-ratio: 6 / 5; border-radius: 14px; overflow: hidden; background: #111; color: #fff; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(.6); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.post:hover .cover img { transform: scale(1.05); }
.cv-in { position: absolute; inset: 0; padding: 5.5cqw; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.05) 38%, rgba(0,0,0,.55)); }
.cv-meta, .cv-foot { display: flex; justify-content: space-between; gap: 4cqw; font: 400 2.6cqw/1.3 'Onest', sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.cv-meta { padding-bottom: 2.4cqw; border-bottom: 1px solid rgba(255,255,255,.4); }
.cv-foot { padding-top: 2.4cqw; border-top: 1px solid rgba(255,255,255,.4); letter-spacing: .06em; text-transform: none; opacity: .85; }
.cv-main { line-height: 1.02; letter-spacing: -0.02em; }
.cover i { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; }
.cv-pair { display: flex; align-items: baseline; gap: 3cqw; font-size: 27cqw; line-height: .95; }
.cv-pair em { font: italic 400 9cqw 'Playfair Display', serif; opacity: .7; }
.cv-grid { display: grid; grid-template-columns: repeat(3, 1fr); font-size: 12cqw; line-height: 1.2; border-top: 1px solid rgba(255,255,255,.3); border-left: 1px solid rgba(255,255,255,.3); }
.cv-grid span { text-align: center; border-right: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.3); padding: .08em 0 .02em; }
.cv-weights div, .cv-fade div { line-height: 1.04; }
.cv-code { font-size: 5.4cqw; line-height: 1.45; white-space: pre; letter-spacing: 0; }
.article { max-width: 760px; margin: 0 auto; padding-bottom: 40px; }
.bhead h2, .cta h3, .article h1, .article .body h2, .doc h2, .fmega { font-family: var(--head); font-weight: 400; letter-spacing: -0.02em; }
.article h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 600; margin: 16px 0 16px; }
.article .lead { font-size: 19px; color: var(--muted); margin: 0 0 32px; }
.article .body { font-size: 18px; line-height: 1.65; }
.article .body h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; margin: 40px 0 12px; }
.article .body li { margin-bottom: 8px; }
/* Подборки сочетаний */
.themes { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 40px; }
.themes .chip { padding: 8px 16px; font-size: 14px; }
.pset { padding-top: 56px; margin-bottom: 88px; border-top: 1px solid var(--line); } .pset .bhead { margin-bottom: 10px; } .pset-t { color: var(--muted); margin: 0 0 24px; max-width: 720px; }
.plates { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 56px; }
.plates:has(.plate:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .plates, .plates:has(.plate:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .plates, .plates:has(.plate:nth-child(4):last-child) { grid-template-columns: 1fr; } }
.plate { position: relative; overflow: hidden; border-radius: 14px; min-height: 150px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: #151515; }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(.6); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.plate:hover img { transform: scale(1.06); }
.plate > span { position: relative; z-index: 1; }
.pl-n { font-size: 12px; opacity: .75; position: absolute !important; top: 14px; left: 18px; }
.pl-t { font: 400 22px/1.1 var(--head); letter-spacing: -0.01em; padding-right: 26px; }
.pl-go { position: absolute !important; right: 16px; bottom: 16px; font-size: 18px; transition: transform .2s; } .plate:hover .pl-go { transform: translateX(4px); }
.plate.on { outline: 2px solid var(--ink); outline-offset: 3px; }
.pairs > .adslot-leader { grid-column: 1 / -1; margin: 8px 0; }
.pairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; margin-bottom: 48px; }
@media (max-width: 1200px) { .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pairs { grid-template-columns: 1fr; } }
.pair { margin: 0; display: flex; flex-direction: column; }
.pp { container-type: inline-size; position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #1c1c1c; color: #fff; }
.pp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(.68); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.pair:hover .pp img { transform: scale(1.04); }
.pp::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.1) 40%, rgba(0,0,0,.6)); }
.pp-in { position: absolute; inset: 0; z-index: 1; padding: 6cqw; display: flex; flex-direction: column; }
.pp-top { display: flex; justify-content: space-between; gap: 3cqw; font: 500 3cqw/1.2 'Onest', sans-serif; opacity: .85; }
.pp-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 3.5cqw; }
.pp-lbl { font: 400 3cqw/1 'Onest', sans-serif; letter-spacing: .08em; opacity: .85; } .pp-lbl i { font-family: 'Playfair Display', serif; }
.pp-h { line-height: 1.02; letter-spacing: -0.01em; }
.pp-s { margin: 0; font-size: 4.4cqw; line-height: 1.35; max-width: 80%; opacity: .92; }
.pp-note { text-align: center; font: 400 3.2cqw/1.3 'Onest', sans-serif; opacity: .85; }
.pair figcaption { padding: 14px 2px 0; font-size: 14px; line-height: 1.45; flex: 1; display: flex; flex-direction: column; }
.pc-names { font-weight: 500; min-height: 2.9em; } .pc-names a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.pc-use { color: var(--muted); margin: 4px 0 14px; min-height: 2.9em; }
.pc-links { margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pc-links a { font-size: 12px; font-weight: 500; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; background: var(--surface); }
.pc-links a:only-child { grid-column: 1 / -1; }
.pc-links a:hover { border-color: var(--ink); }

/* Визуальные блоки статей */
.xb { margin: 32px 0 36px; }
/* Иллюстрации шире колонки текста */
.article .body .xb { width: min(1120px, calc(100vw - 80px)); position: relative; left: 50%; transform: translateX(-50%); }
@media (max-width: 720px) { .article .body .xb { width: calc(100vw - 32px); } }
.xb-cap { font-size: 13px; color: var(--muted); margin-top: 10px; }
.xb-cap a, .sw-n a, .pc-f a, .lg a, .flink { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.xb-cap a:hover, .sw-n a:hover, .pc-f a:hover, .lg a:hover, .flink:hover { text-decoration-color: currentColor; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.fcard { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; transition: border-color .2s; }
.fcard:hover { border-color: var(--ink); }
.fc-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; line-height: 1.3; } .fc-top span { color: var(--muted); text-align: right; }
.fc-s { font-size: 34px; line-height: 1.12; word-break: break-word; } .fc-s.long { font-size: 19px; line-height: 1.45; }
.fc-bot { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.fc-b { display: flex; gap: 4px; flex-wrap: wrap; } .fc-b .badge { font-size: 11px; padding: 3px 8px; }
.fc-go { font-size: 13px; font-weight: 500; white-space: nowrap; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 26px; }
.pc-h { font-size: 36px; line-height: 1.1; margin-bottom: 12px; } .pc-t { font-size: 16px; line-height: 1.55; margin: 0 0 16px; max-width: 560px; }
.pc-f { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line); }
.swap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.sw { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.sw-l { font-size: 12px; font-weight: 500; align-self: flex-start; border-radius: 999px; padding: 3px 10px; } .sw-l.bad { background: var(--bad-bg); color: var(--bad); } .sw-l.ok { background: var(--ok-bg); color: var(--ok); }
.sw-s { font-size: 30px; line-height: 1.15; } .sw-n { font-size: 13px; color: var(--muted); margin-top: auto; }
.sw-arrow { align-self: center; font-size: 22px; color: var(--muted); }
.bili, .wts { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.bl-1 { font-size: 44px; line-height: 1.1; } .bl-2 { font-size: 44px; line-height: 1.1; margin-top: 4px; }
.wts > div:not(.xb-cap) { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.wts span { font-size: 12px; color: var(--muted); } .wts b { font-size: 34px; line-height: 1.15; }
.mk-ui .phone { width: 300px; max-width: 100%; margin: 0 auto; background: #fff; color: #111; border: 8px solid #111; border-radius: 36px; padding: 18px 18px 22px; box-shadow: 0 24px 50px rgba(0,0,0,.14); }
.ph-top { font-size: 12px; text-align: center; margin-bottom: 18px; } .ph-h { font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.ph-row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid #eee; font-size: 16px; } .ph-row span { color: #999; }
.ph-btn { margin-top: 20px; background: #111; color: #fff; text-align: center; border-radius: 12px; padding: 13px; font-weight: 600; }
.mk-ui .xb-cap, .mk-sign .xb-cap, .mk-poster .xb-cap, .mk-book .xb-cap { text-align: center; }
.mk-sign .board { background: #151515; color: #F6F1E6; border-radius: 10px; padding: 34px 24px; text-align: center; box-shadow: inset 0 0 0 6px #222, 0 20px 40px rgba(0,0,0,.18); }
.bd-1 { font-size: clamp(40px, 8vw, 76px); line-height: 1; letter-spacing: .04em; } .bd-2 { font-size: 18px; margin-top: 12px; letter-spacing: .06em; opacity: .8; }
.mk-poster .poster { width: 320px; max-width: 100%; aspect-ratio: 3 / 4; margin: 0 auto; background: #E8261B; color: #111; border-radius: 6px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 24px 50px rgba(0,0,0,.18); }
.po-1 { font-size: 72px; line-height: .95; } .po-2 { display: flex; flex-direction: column; gap: 4px; font-size: 13px; border-top: 2px solid #111; padding-top: 10px; } .po-2 b { font-size: 18px; }
.mk-book .page { background: #FBF8F1; color: #1d1b17; border: 1px solid var(--line); border-radius: 4px; padding: 44px 48px; max-width: 520px; margin: 0 auto; box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.bk-ch { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-align: center; opacity: .6; } .bk-h { font-size: 30px; text-align: center; margin: 8px 0 22px; }
.mk-book p { font-size: 15px; line-height: 1.6; text-align: justify; hyphens: auto; margin: 0; } .bk-d { float: left; font-size: 58px; line-height: .8; padding: 6px 8px 0 0; }
.mk-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.lg { background: #111; color: #fff; border-radius: 14px; padding: 32px 16px 14px; text-align: center; display: flex; flex-direction: column; gap: 18px; }
.lg-m { font-size: 38px; letter-spacing: .08em; } .lg span { font-size: 12px; opacity: .65; }
@media (max-width: 640px) { .fgrid, .pgrid, .mk-logos { grid-template-columns: 1fr; } .swap { grid-template-columns: 1fr; } .sw-arrow { transform: rotate(90deg); justify-self: center; } .bl-1, .bl-2 { font-size: 30px; } .mk-book .page { padding: 28px 22px; } }
/* Страница 404 */
.e404 { position: relative; height: 100svh; min-height: 520px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding: 88px 16px 12vh; touch-action: pan-y; background: #0c0c0c; color: #F3F1EC; }
.e404 canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.e4-in { position: relative; z-index: 1; max-width: 620px; }
.e4-num { font: 400 clamp(84px, min(20vw, 27vh), 280px)/1 var(--head); font-variant-numeric: lining-nums; letter-spacing: -0.04em; margin-bottom: 1.6vh; }
.e4-num span { font-style: italic; }
.e404 h1 { font: 400 clamp(24px, min(3.4vw, 4.6vh), 42px)/1.1 var(--head); letter-spacing: -0.02em; margin: 0 0 12px; }
.e404 p { color: rgba(243,241,236,.62); font-size: 16px; margin: 0 auto 3vh; max-width: 520px; }
.e4-hint { margin-top: 14px; font-size: 12px; color: rgba(243,241,236,.45); }
.e404 .btn { border-color: rgba(243,241,236,.5); color: #F3F1EC; } .e404 .btn.primary { background: #F3F1EC; border-color: #F3F1EC; color: #111; }
body.p404 footer.foot { margin-top: 0; border-top: 1px solid rgba(255,255,255,.12); }
@media (hover: none) { .e4-hint { display: none; } }
.e4-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.article .meta2 { display: flex; gap: 16px; align-items: center; color: var(--muted); font-size: 14px; margin-top: 28px; }

footer.foot { position: relative; overflow: hidden; background: #0c0c0c; color: #fff; margin-top: 40px; }
footer.foot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(1) contrast(1.1) brightness(.45); }
footer.foot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.75)); }
footer.foot .wrap { position: relative; z-index: 1; }
.ftop { display: flex; align-items: center; gap: 36px; height: 72px; border-bottom: 1px solid rgba(255,255,255,.18); }
.ftop .logo .mono { background: #fff; color: #111; }
.ftop nav { display: flex; gap: 26px; font-size: 14px; }
.ftop nav a, .fcols a { color: rgba(255,255,255,.72); } .ftop nav a:hover, .fcols a:hover { color: #fff; }
.ftop .lang { margin-left: auto; border-color: rgba(255,255,255,.3); } .ftop .lang a { color: rgba(255,255,255,.72); } .ftop .lang a.on { background: #fff; color: #111; }
.fcols { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 32px; padding: 40px 0 8px; font-size: 14px; }
.fcols h4 { margin: 0 0 12px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); }
.fcols a { display: block; padding: 4px 0; }
.fcols p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.5; }
.fmega { font-size: clamp(48px, 10.5vw, 180px); line-height: 1.1; white-space: nowrap; overflow: hidden; padding: 24px 0 .08em; }
.fbot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0 24px; border-top: 1px solid rgba(255,255,255,.18); font-size: 12px; color: rgba(255,255,255,.55); }
@media (max-width: 900px) { .ftop nav { display: none; } .ftop .lang { margin-left: auto; } .fcols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fcols { grid-template-columns: 1fr; } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.on { opacity: 1; }

/* Вопросы и ответы на странице шрифта */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 300; font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; color: var(--muted); max-width: 760px; line-height: 1.6; }

/* Вступление на странице подборок: крупный абзац и три шага */
.plead { font: 400 clamp(20px, 2vw, 26px)/1.4 var(--head); letter-spacing: -0.01em; max-width: 900px; margin: 48px 0 40px; }
.psteps { list-style: none; margin: 0 0 64px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.psteps li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 26px; }
.ps-n { display: block; font: 400 44px/1 var(--head); font-variant-numeric: lining-nums; margin-bottom: 18px; }
.psteps b { display: block; font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.psteps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 860px) { .psteps { grid-template-columns: 1fr; } }
/* Коротко о каталоге (главная) */
.facts { padding-top: 72px; padding-bottom: 24px; }
.facts-lead { font-size: 19px; line-height: 1.6; max-width: 820px; margin: 0 0 10px; }
.facts .upd { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.tscroll { overflow-x: auto; margin-bottom: 40px; }
.ftable { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: lining-nums tabular-nums; }
.ftable th { text-align: left; font-weight: 500; color: var(--muted); font-size: 13px; padding: 0 16px 12px 0; border-bottom: 1px solid var(--ink); }
.ftable td { padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); }
.ftable td:first-child a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ftable th:not(:first-child), .ftable td:not(:first-child) { text-align: right; }
@media (max-width: 600px) { .ftable { font-size: 14px; } .ftable th { font-size: 12px; } }
