/* Палитра обложки книги: синий #0a34ff и белый */
:root {
  --blue: #0a34ff;
  --blue-dark: #0627c9;
  --blue-soft: #edf1ff;
  --blue-line: #d6dfff;
  --white: #ffffff;
  --bg-alt: #f6f8ff;
  --ink: #0a1a5c;
  --muted: #4b5a96;
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* header */
header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--blue-line);
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo .mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--blue);
  display: grid; place-items: center; color: var(--white); font-weight: 900; font-size: 17px;
}
nav.menu { display: flex; gap: 22px; font-size: 15px; }
nav.menu a { color: var(--muted); font-weight: 500; }
nav.menu a:hover { color: var(--blue); text-decoration: none; }
.burger { display: none; background: none; border: 1px solid var(--blue-line); color: var(--blue); border-radius: 8px; padding: 6px 10px; font-size: 18px; cursor: pointer; }

/* buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600; border: 1.5px solid var(--blue); color: var(--blue); background: var(--white); }
.btn:hover { text-decoration: none; background: var(--blue-soft); }
.btn.primary { background: var(--blue); color: var(--white); }
.btn.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

/* book — синий блок как обложка */
section.book { position: relative; overflow: hidden; border-top: none; padding: 72px 0; color: var(--white);
  background: radial-gradient(600px 400px at 85% 10%, rgba(255,255,255,.14), transparent 70%),
              radial-gradient(500px 360px at 0% 100%, rgba(0,10,90,.35), transparent 70%), var(--blue); }
section.book::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -260px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
section.book::after { content: ""; position: absolute; width: 340px; height: 340px; right: -70px; bottom: -170px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.book-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 270px 1fr; gap: 64px; align-items: center; }
.book-cover { display: block; perspective: 1200px; }
.book-3d { position: relative; display: block; border-radius: 4px 10px 10px 4px; overflow: hidden;
  transform: rotateY(-14deg) rotateX(2deg); transform-origin: left center; transition: transform .35s ease;
  box-shadow: 1px 1px 0 rgba(255,255,255,.35), 18px 28px 50px rgba(0, 8, 70, .55), 4px 6px 12px rgba(0, 8, 70, .35); }
.book-3d::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.18) 45%, rgba(0,0,0,.08)); }
.book-3d img { display: block; width: 100%; height: auto; }
.book-cover:hover .book-3d { transform: rotateY(-4deg) rotateX(0deg) translateY(-4px); }
.book-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.badge { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); color: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.22); }
section.book h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; margin: 0 0 10px; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.book-sub { margin: 0 0 22px; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.85); }
.book-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.book-points li { position: relative; padding-left: 32px; font-size: 16px; color: rgba(255,255,255,.95); }
.book-points li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; background: rgba(255,255,255,.18); color: var(--white); }
.btn-litres { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  min-height: 56px; padding: 0 28px; border-radius: 14px; background: var(--white); color: var(--blue);
  font-size: 17px; font-weight: 700; box-shadow: 0 10px 28px rgba(0, 8, 70, .35); transition: transform .15s, box-shadow .15s; }
.btn-litres:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 8, 70, .45); }
.btn-litres img { display: block; height: 20px; width: auto; }
.book-authors { margin: 22px 0 0; font-size: 15px; font-weight: 600; color: var(--white); }
.book-authors span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 2px; }

/* models block under the book */
section.models-top { border-top: none; background: var(--white); padding: 56px 0 48px; }
section.models-top h2 { max-width: 820px; line-height: 1.2; margin-bottom: 14px; }
.card-link { display: block; color: var(--ink); transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: var(--blue); text-decoration: none; transform: translateY(-2px); }
.model-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-soft); border-radius: 6px; padding: 2px 8px; margin-bottom: 10px; }

/* express calculator */
.express { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.express-form { background: var(--white); border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; }
.express-hint { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.express-form label { display: grid; grid-template-columns: 44px minmax(0, 1fr) 140px; align-items: center; gap: 12px; }
.express-form .code { font-weight: 700; color: var(--blue); background: var(--blue-soft); border-radius: 8px; text-align: center; padding: 6px 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.express-form .lbl { font-size: 15px; line-height: 1.3; }
.express-form input { font: inherit; font-size: 16px; text-align: right; color: var(--ink); background: var(--white); border: 1.5px solid var(--blue-line); border-radius: 10px; padding: 10px 12px; width: 100%; font-variant-numeric: tabular-nums; }
.express-form input:focus { outline: none; border-color: var(--blue); }
.express-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.express-actions .btn { padding: 9px 16px; font-size: 14px; }
.express-result { background: var(--blue); color: var(--white); border-radius: var(--radius); padding: 24px; min-height: 100%; }
.express-empty { color: rgba(255,255,255,.85); font-size: 16px; display: grid; place-items: center; text-align: center; min-height: 220px; }
.ex-score-empty { background: transparent; color: var(--white); border: 2px dashed rgba(255,255,255,.55); }
.ex-score-empty span { color: rgba(255,255,255,.7); }
.ex-progress { height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); margin-top: 8px; overflow: hidden; max-width: 220px; }
.ex-progress i { display: block; height: 100%; background: var(--white); border-radius: 3px; transition: width .25s; }
.ex-steps { list-style: none; counter-reset: st; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.ex-steps li { counter-increment: st; position: relative; padding-left: 36px; font-size: 14px; color: rgba(255,255,255,.92); min-height: 24px; display: flex; align-items: center; }
.ex-steps li::before { content: counter(st); position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; background: rgba(255,255,255,.18); color: var(--white); }
.ex-ghost { border-style: dashed; background: rgba(255,255,255,.05); }
.ex-ghost .ex-ind-top, .ex-ghost .pts { color: rgba(255,255,255,.6); }
.ex-ghost .bar i { width: 0; }
.express-result .ex-try { margin-top: 10px; background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.express-result .ex-try:hover { background: rgba(255,255,255,.12); }
.ex-head { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.ex-score { flex: none; width: 104px; height: 104px; border-radius: 50%; background: var(--white); color: var(--blue); display: grid; place-content: center; text-align: center; }
.ex-score b { font-size: 38px; line-height: 1; font-weight: 900; }
.ex-score span { font-size: 12px; font-weight: 600; color: var(--muted); }
.ex-title { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.ex-head p { margin: 0; color: rgba(255,255,255,.85); font-size: 14px; }
.ex-head .ex-better { margin-top: 8px; color: var(--white); }
.ex-ind { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.ex-ind-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 8px; }
.ex-ind-bar { display: flex; align-items: center; gap: 10px; }
.ex-ind-bar .bar { flex: 1; min-width: 0; background: rgba(255,255,255,.2); }
.ex-ind-bar .bar i { background: var(--white); }
.ex-ind-bar .pts { color: var(--white); min-width: 40px; text-align: right; }
.express-result .ex-more { margin-top: 10px; background: var(--white); color: var(--blue); border-color: var(--white); }
.express-result .ex-more:hover { background: var(--blue-soft); }
@media (max-width: 860px) {
  .express { grid-template-columns: minmax(0, 1fr); }
  .express-form { padding: 16px; }
  .express-form label { grid-template-columns: 40px minmax(0, 1fr) 110px; gap: 10px; }
  .express-form .lbl { font-size: 14px; }
  .ex-score { width: 84px; height: 84px; }
  .ex-score b { font-size: 30px; }
  .express-result .ex-more { display: block; text-align: center; }
}

/* hero */
.hero { padding: 72px 0; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; letter-spacing: -.02em; margin: 8px 0 14px; max-width: 820px; }
.hero p.lead { color: var(--muted); max-width: 760px; margin: 0 0 28px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stat { background: var(--blue-soft); border-radius: var(--radius); padding: 18px 20px; }
.stat b { display: block; font-size: 30px; letter-spacing: -.02em; color: var(--blue); }
.stat span { color: var(--muted); font-size: 14px; }

/* sections */
section { padding: 72px 0; border-top: 1px solid var(--blue-line); scroll-margin-top: 64px; }
section:nth-of-type(even) { background: var(--bg-alt); }
section h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.02em; margin: 0 0 8px; }
section .sub { color: var(--muted); margin: 0 0 32px; max-width: 760px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .ico { font-size: 26px; margin-bottom: 10px; }

/* tables */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--blue-line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--blue-line); white-space: nowrap; }
th { color: var(--blue); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; background: var(--blue-soft); }
tr:last-child td { border-bottom: none; }
td.num { font-variant-numeric: tabular-nums; text-align: right; }
th.num { text-align: right; }
tr.group td { background: var(--blue); color: var(--white); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
td.desc { white-space: normal; color: var(--muted); min-width: 260px; }
.bar { position: relative; height: 8px; background: var(--blue-soft); border-radius: 4px; min-width: 120px; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--blue); }
/* надёжность — оттенками синего: насыщенный = выше */
.score { display: inline-block; min-width: 46px; text-align: center; padding: 2px 8px; border-radius: 6px; font-weight: 700; font-variant-numeric: tabular-nums; border: 1.5px solid var(--blue); }
.s-hi { background: var(--blue); color: var(--white); }
.s-mid { background: var(--blue-soft); color: var(--blue); }
.s-lo { background: var(--white); color: var(--blue); border-style: dashed; }

.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tab { background: var(--white); border: 1.5px solid var(--blue-line); color: var(--muted); padding: 8px 14px; border-radius: 9px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; }
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab.active { color: var(--white); border-color: var(--blue); background: var(--blue); }
.panel { display: none; }
.panel.active { display: block; }
.note { color: var(--muted); font-size: 13px; margin-top: 12px; }

/* posts */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.posts { display: grid; gap: 12px; }
details.post { background: var(--white); border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 0; }
details.post[open] { border-color: var(--blue); }
details.post summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; gap: 14px; align-items: baseline; }
details.post summary::-webkit-details-marker { display: none; }
details.post summary::after { content: "+"; margin-left: auto; color: var(--blue); font-size: 20px; line-height: 1; }
details.post[open] summary::after { content: "−"; }
details.post summary .yr { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; min-width: 38px; }
details.post summary .t { font-weight: 600; }
details.post summary .tag { font-size: 12px; color: var(--blue); background: var(--blue-soft); border-radius: 6px; padding: 1px 8px; white-space: nowrap; font-weight: 600; }
details.post .body { padding: 0 22px 22px 74px; color: var(--ink); }
details.post .body p { margin: 0 0 12px; }
details.post .body ul, details.post .body ol { margin: 0 0 12px; padding-left: 20px; }

/* embedded video, 16:9 */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--blue-soft); border: 1px solid var(--blue-line); margin: 4px 0 12px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* article pages */
nav.menu-article { display: flex; }
.article { max-width: 760px; padding-top: 48px; padding-bottom: 72px; font-size: 17px; line-height: 1.7; }
.article h1 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 28px; }
.article h3, .article h4 { font-size: 22px; line-height: 1.3; margin: 36px 0 12px; }
.article p { margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article figure { margin: 24px 0; }
.article img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 10px; border: 1px solid var(--blue-line); }
.article figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 8px; }
.article blockquote { margin: 20px 0; padding: 12px 20px; border-left: 3px solid var(--blue); background: var(--blue-soft); border-radius: 0 10px 10px 0; }
.article-note { margin: 40px 0 20px; padding-top: 20px; border-top: 1px solid var(--blue-line); }
details.post .body a.read-more { display: inline-block; margin-top: 4px; font-weight: 600; }

/* models page */
.models { max-width: 860px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.toc a { padding: 8px 14px; border: 1.5px solid var(--blue-line); border-radius: 9px; font-size: 14px; font-weight: 600; }
.toc a:hover { border-color: var(--blue); text-decoration: none; }
section.model { padding: 48px 0 8px; border-top: none; background: none; }
section.model h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; }
.model-meta { color: var(--blue); font-weight: 600; font-size: 15px; }
.model-group { margin: 40px 0 4px; padding-bottom: 8px; border-bottom: 2px solid var(--blue); color: var(--blue); font-size: 15px !important; text-transform: uppercase; letter-spacing: .06em; }
.indicator { padding: 20px 0 8px; border-bottom: 1px solid var(--blue-line); }
.indicator h4 { display: flex; gap: 12px; align-items: baseline; margin: 0 0 10px !important; }
.ind-n { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--blue); color: var(--white); font-size: 15px; }
.premise { color: var(--ink); }
.example { background: var(--blue-soft); padding: 12px 16px; border-radius: 10px; font-size: 15px; }
.indicator .tbl-wrap { max-width: 480px; margin-bottom: 16px; }
.indicator th { white-space: normal; }
.indicator table, section.model table { font-size: 15px; }
.pts { display: inline-block; min-width: 28px; text-align: center; font-weight: 700; color: var(--blue); }
.callout ol { margin: 8px 0 0; padding-left: 20px; }
section.model td.desc { min-width: 240px; }

/* issuers database */
.db { padding-top: 48px; padding-bottom: 72px; }
.db h1 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 12px; }
.db .sub { color: var(--muted); max-width: 760px; margin: 0 0 24px; }
.db-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.db-controls input, .db-controls select { font: inherit; font-size: 15px; color: var(--ink); background: var(--white); border: 1.5px solid var(--blue-line); border-radius: 10px; padding: 11px 14px; }
.db-controls input { flex: 1 1 280px; }
.db-controls input:focus, .db-controls select:focus { outline: none; border-color: var(--blue); }
.db-table td, .db-table th { white-space: normal; }
.db-row { cursor: pointer; }
.db-row:hover td, .db-row:focus td { background: var(--bg-alt); outline: none; }
.db-row.open td { background: var(--blue-soft); }
.db-row .form { color: var(--muted); font-size: 13px; }
.db-row .unp { color: var(--muted); font-variant-numeric: tabular-nums; }
.tag-x { font-size: 11px; color: var(--blue); background: var(--blue-soft); border-radius: 5px; padding: 1px 6px; font-weight: 600; white-space: nowrap; }
.up { color: var(--blue); font-weight: 600; font-size: 13px; }
.down { color: var(--muted); font-weight: 600; font-size: 13px; }
tr.db-detail > td { background: var(--bg-alt); padding: 20px; }
.db-detail-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
.db-detail-in th { white-space: normal; }
.db-detail-in h3 { margin: 0 0 12px; font-size: 17px; }
.db-detail-in table { font-size: 14px; }
.db-detail-in td { white-space: normal; }
.asps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.asp { background: var(--white); border: 1px solid var(--blue-line); border-radius: 10px; padding: 10px 12px; }
.asp span { display: block; color: var(--muted); font-size: 12px; }
.asp b { display: block; font-size: 20px; color: var(--blue); margin: 2px 0 6px; }
.asp .bar { min-width: 0; }
@media (max-width: 860px) {
  .hide-sm { display: none; }
  nav.menu.menu-article { gap: 14px; font-size: 14px; }
  .db-table th, .db-table td { padding: 10px; }
  .db-row td:first-child { overflow-wrap: anywhere; }
  .db-detail-in, .asps { grid-template-columns: minmax(0, 1fr); }
  tr.db-detail > td { padding: 12px; }
  .db { padding-top: 32px; }
}

/* misc */
.callout { border-left: 3px solid var(--blue); background: var(--blue-soft); padding: 16px 20px; border-radius: 0 10px 10px 0; color: var(--ink); }
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
footer { background: var(--blue); color: rgba(255,255,255,.85); padding: 32px 0 40px; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .g3, .g2, .contact { grid-template-columns: 1fr; }
  nav.menu { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--blue-line); }
  nav.menu.open { display: flex; }
  nav.menu.menu-article { display: flex; flex-direction: row; align-items: center; flex-wrap: nowrap; position: static; border: none; background: none; }
  nav.menu.menu-article a { border: none; padding: 0; }
  .article { padding-top: 32px; font-size: 16px; }
  nav.menu a { padding: 14px 20px; border-top: 1px solid var(--blue-line); }
  .burger { display: block; }
  td:has(> .bar), th:empty { display: none; }
  th, td { padding: 10px 12px; }
  td.desc { min-width: 200px; font-size: 14px; }
  details.post .body { padding: 0 22px 22px; }
  details.post summary { flex-wrap: wrap; }
  .hero { padding: 52px 0; }
  section { padding: 52px 0; }
}

/* book on phones: title on top, cover beside the points, button visible on the first screen */
@media (max-width: 860px) {
  section.book { padding: 28px 0 30px; }
  section.book::before { width: 360px; height: 360px; right: -140px; bottom: -200px; }
  section.book::after { display: none; }
  .book-inner { grid-template-columns: 148px minmax(0, 1fr); grid-template-areas:
      "badges badges" "title title" "sub sub" "cover points" "btn btn" "authors authors";
    column-gap: 20px; row-gap: 0; align-items: start; }
  .book-info { display: contents; }
  .book-badges { grid-area: badges; margin-bottom: 12px; }
  .badge { font-size: 12px; padding: 5px 12px; }
  section.book h2 { grid-area: title; font-size: clamp(26px, 8vw, 34px); margin: 0 0 6px; }
  .book-sub { grid-area: sub; font-size: 13px; line-height: 1.4; margin: 0 0 22px; }
  .book-cover { grid-area: cover; width: 148px; }
  .book-3d { transform: rotateY(-10deg); }
  .book-points { grid-area: points; align-self: center; margin: 0; gap: 14px; }
  .book-points li { font-size: 15px; line-height: 1.35; padding-left: 30px; }
  .book-points li::before { width: 20px; height: 20px; font-size: 11px; }
  .btn-litres { grid-area: btn; display: flex; width: 100%; min-height: 56px; margin-top: 24px; }
  .book-authors { grid-area: authors; margin-top: 16px; font-size: 14px; text-align: center; }
  .book-authors span { display: inline; margin: 0 6px 0 0; }
}
@media (max-width: 360px) {
  .book-inner { grid-template-columns: 116px minmax(0, 1fr); column-gap: 16px; }
  .book-cover { width: 116px; }
  section.book h2 { font-size: 24px; }
  .book-sub { font-size: 12px; }
  .book-points li { font-size: 13px; }
  .book-authors { font-size: 13px; }
  .btn-litres { font-size: 15px; gap: 7px; padding: 0 14px; }
  .btn-litres img { height: 17px; }
}
}

/* english version */
.db-row .orig { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.lang-switch { font-weight: 700; color: var(--blue) !important; border: 1.5px solid var(--blue-line); border-radius: 8px; padding: 2px 8px; }
.lang-switch:hover { border-color: var(--blue); }

@media (max-width: 860px) {
  nav.menu.menu-article a.lang-switch { border: 1.5px solid var(--blue-line); padding: 2px 8px; }
  nav.menu a.lang-switch { align-self: flex-start; margin: 10px 20px; }
  nav.menu.menu-article a.lang-switch { margin: 0; }
}
nav.menu.menu-article a { white-space: nowrap; }
