/* mob1 «Облако сверху, все решения внизу» — q3 with a designed PHONE first screen (< 960px; see the block
   «mob1: phone first screen» after the hero). Desktop >= 960px is q3 unchanged.
   q3 «Облако и офер» — grown from p1. First screen: a split navy screen, the whole fixed offer on the left and the
   coretypes phrase cloud on a deeper plate on the right (phone: cloud first, then name, role and one button).
   Below the first screen: p1 unchanged (paper sheets, round lens language). CoreTypes radii: 10px buttons, 18px plates. EB Garamond + Roboto. */

:root {
  --ink: #16222F;          /* deep ground */
  --navy: #284257;         /* plate */
  --paper: #EEF1F5;        /* paper-white strokes and type on navy */
  --page: #F3F5F8;         /* light ground */
  --white: #FFFFFF;
  --board: #E3E8EE;        /* cool board under paper sheets */
  --sheet: #FBFCFD;        /* paper sheet */
  --text: #434244;         /* body on light */
  --head: #16222F;         /* headings on light */
  --muted: #5A6472;        /* secondary on light (5.5:1 on --page) */
  --cta: #194C8E;          /* CTA blue on light */
  --lit: #5C8BD6;          /* lit cell on navy */
  --lit-line: #A9C2EA;     /* relation arcs on navy */
  --on-navy: #C3CEDA;      /* body on navy (6.6:1 on --navy) */
  --rule: #D7DEE6;         /* hairline on light */
  --rule-navy: rgba(238, 241, 245, .14);

  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans: Roboto, "Segoe UI", Arial, sans-serif;

  --author-photo-max: 440px;
  --wrap: 1280px;
  --gutter: 20px;
  --r-1: 3px;
  --r-2: 6px;
  --r-btn: 10px;
  --r-card: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sec: 72px;
}
@media (min-width: 900px) { :root { --gutter: 40px; --sec: 120px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--page); color: var(--text);
  font: 400 1rem/1.65 var(--sans); font-kerning: normal;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  caret-color: var(--cta);
}
@media (min-width: 900px) { body { font-size: 1.0625rem; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, dl { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
::selection { background: var(--cta); color: #fff; }
:focus-visible { outline: 2px solid var(--lit); outline-offset: 3px; border-radius: 2px; }
.sym-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: var(--r-1); font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }

.h2 {
  font: 500 clamp(2.25rem, 1.55rem + 2.6vw, 3.75rem)/1.04 var(--serif);
  letter-spacing: -.012em; color: var(--head); text-wrap: balance;
}

/* Elements toggled with the hidden attribute stay hidden even when a class sets display (e.g. .form). */
[hidden] { display: none !important; }
.nobr { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 12px 26px; border-radius: var(--r-btn); border: 1px solid transparent;
  font: 500 1rem/1.25 var(--sans); letter-spacing: .005em; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost { border-color: rgba(238, 241, 245, .5); color: var(--paper); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(238, 241, 245, .07); }
.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover { background: #123B70; }

.text-link {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: rgba(169, 194, 234, .6); transition: text-decoration-color .25s, color .25s;
}
.text-link:hover { text-decoration-color: currentColor; color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--paper); border-bottom: 1px solid rgba(238, 241, 245, .08); }
.header-inner { display: flex; align-items: center; gap: 8px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; font: 500 1.375rem/1 var(--serif); letter-spacing: .005em; }
.brand-mark { width: 22px; height: 22px; }
.brand-mark .g-base { fill: none; stroke: rgba(238, 241, 245, .6); stroke-width: 1.4; }
.brand-mark .g-hl { fill: var(--lit); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; min-width: 44px; padding: 0 4px 0 12px;
  background: none; border: 0; color: var(--paper); font: 500 .9375rem var(--sans); cursor: pointer;
}
.nav-toggle-mark { position: relative; width: 22px; height: 12px; }
.nav-toggle-mark i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle-mark i:first-child { top: 1px; }
.nav-toggle-mark i:last-child { top: 9px; }
.nav-open .nav-toggle-mark i:first-child { top: 5px; transform: rotate(45deg); }
.nav-open .nav-toggle-mark i:last-child { top: 5px; transform: rotate(-45deg); }
/* phone: the menu panel drops under the bar */
.nav-panel {
  position: absolute; left: 0; right: 0; top: 64px; display: flex; flex-direction: column; background: var(--ink);
  border-bottom: 1px solid rgba(238, 241, 245, .12);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .45s var(--ease), visibility 0s .45s;
}
.nav-open .nav-panel { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .45s var(--ease), visibility 0s; }
.nav ul { padding: 8px var(--gutter) 28px; }
.nav li + li { border-top: 1px solid rgba(238, 241, 245, .1); }
.nav a { display: flex; align-items: center; min-height: 56px; font: 400 1.75rem/1.1 var(--serif); text-decoration: none; color: var(--paper); }
.nav a:hover { color: var(--lit-line); }
html:not(.js) .nav-panel { position: static; clip-path: none; visibility: visible; flex-basis: 100%; }
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .header-inner { flex-wrap: wrap; height: auto; padding-block: 12px; }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .nav-panel, html:not(.js) .nav-panel { position: static; flex-direction: row; align-items: center; flex-basis: auto; clip-path: none; visibility: visible; background: none; border: 0; transition: none; }
  .nav ul { display: flex; gap: 4px; padding: 0; }
  .nav li + li { border: 0; }
  .nav a {
    min-height: 44px; padding: 0 12px; font: 400 .9375rem/1 var(--sans); color: #C9D3DE; position: relative;
  }
  .nav a::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: 10px; height: 1px; background: var(--lit-line);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .nav a:hover { color: var(--paper); }
  .nav a:hover::after { transform: scaleX(1); }
}

/* ---------- 1. Hero: split navy screen — the full offer + the listening panel ----------
   The phrase cloud is adapted from the coretypes.com home first screen (Designer of coretypes.com,
   handoff 2026-10-20: C:/websites/coretypes/Website/Design/projects/home/handoff_lextarrel/cloud_demo.html).
   Phone: cloud first (it takes what the text leaves), then name + role, one button; the offer and the test
   link follow under it. Desktop: the text column on the navy field, the cloud on a deeper plate on the right
   whose two inner edges are reading scales; a small lens marker rides the scale on the side of the signs. */
.hero { --deep: #1E3344; background: var(--navy); color: var(--paper); }
.hero-grid { max-width: 640px; margin-inline: auto; padding: 0 var(--gutter) 44px; }
.stage { display: flex; flex-direction: column; min-height: calc(100svh - 64px); padding: 18px 0 22px; }

.hero-title { font: 500 2.625rem/1 var(--serif); letter-spacing: -.015em; color: #fff; }
.hero-role {
  margin-top: 8px; max-width: 30ch; font: italic 400 1.1875rem/1.3 var(--serif);
  color: #DCE3EC; text-wrap: balance;
}
.hero-cta { margin-top: 18px; width: 100%; min-height: 46px; }
.hero-offer {
  position: relative; max-width: 44ch; margin-top: 10px; padding-top: 24px; color: var(--on-navy);
}
/* the offer's rule starts in a small lens: a ring with a lit centre, then a hairline that fades out */
.hero-offer::before {
  content: ""; position: absolute; left: 13px; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(238, 241, 245, .38), rgba(238, 241, 245, .12) 70%, rgba(238, 241, 245, 0));
}
.hero-offer::after {
  content: ""; position: absolute; left: 0; top: -5px; width: 11px; height: 11px; border-radius: 50%;
  border: 1px solid rgba(238, 241, 245, .75); background: radial-gradient(circle, var(--paper) 0 1.5px, transparent 2px);
}
.hero-test { margin-top: 22px; width: 100%; padding-inline: 14px; font-size: .9375rem; white-space: nowrap; }

/* the main button: white with volume and the running ink spark (coretypes type-page button), no arrow */
.btn--vol {
  position: relative; border-color: #fff; color: var(--navy);
  background: linear-gradient(#fff, #EEF0F3);
  box-shadow: inset 0 -2px 0 rgba(40, 66, 87, .12), 0 8px 18px -10px rgba(0, 0, 0, .6);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), color .25s var(--ease);
}
.btn--vol:hover { color: var(--cta); transform: translateY(-1px); box-shadow: inset 0 -2px 0 rgba(40, 66, 87, .12), 0 14px 24px -12px rgba(0, 0, 0, .7); }
.btn--vol:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(40, 66, 87, .12), 0 4px 10px -8px rgba(0, 0, 0, .6); }
.btn--vol:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn--vol::after {
  content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 2px; pointer-events: none; border-radius: 2px;
  background: linear-gradient(90deg, rgba(25, 76, 142, 0), var(--cta)); box-shadow: 0 0 6px 1px rgba(25, 76, 142, .55);
  offset-path: inset(0 round var(--r-btn)); offset-rotate: auto; offset-anchor: 100% 50%;
  animation: q-run 4.5s linear infinite;
}
@keyframes q-run { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.hero .btn--ghost:focus-visible { outline-color: #fff; }

/* the listening panel and the cloud */
.listen { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; min-height: 300px; margin-bottom: 24px; }
.scale, .reader { display: none; }
.cloud { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.cl { display: flex; align-items: flex-start; gap: 10px; max-width: 76%; margin-left: calc(var(--t) * 24%); transition: opacity .6s; }
.cl.r { flex-direction: row-reverse; text-align: right; }
.cl .say { font: 400 clamp(18px, 5.1vw, 20px)/1.3 var(--serif); color: rgba(255, 255, 255, .95); }
.cl .q { color: rgba(255, 255, 255, .45); }
.cl .tp { flex: 0 0 auto; padding-top: 2px; color: #fff; }
.cl .tp svg { display: block; width: 32px; height: 32px; overflow: visible; }
.cl .who {
  display: block; margin-top: 4px; font: 500 10.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .66);
}
/* with JS the passes run: hidden slots first, then word by word, the sign draws, the name shows */
.js .cl { opacity: 0; }
.js .cl.on { opacity: 1; }
.js .cl.dim { opacity: .4; }
.js .cloud.out .cl { opacity: 0; transition: opacity .6s; }
.js .cl .say .w { opacity: 0; transition: opacity .2s; }
.js .cl .say .w.in { opacity: 1; }
.js .cl .tp svg [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.4, .1, .2, 1); }
.js .cl .tp svg .sf { opacity: 0; transition: opacity .4s .5s; }
.js .cl.drawn .tp svg [pathLength] { stroke-dashoffset: 0; }
.js .cl.drawn .tp svg .sf { opacity: 1; }
.js .cl .who { opacity: 0; transition: opacity .5s .4s; }
.js .cl.drawn .who { opacity: 1; }
/* resetting is instant; only appearing is animated */
.js .cl:not(.drawn) .who, .js .cl:not(.drawn) .tp svg * { transition: none; }

@media (min-width: 560px) {
  .hero-cta, .hero-test { width: auto; padding-inline: 30px; font-size: 1rem; }
}

@media (min-width: 960px) {
  /* one grid: [gutter][button 1][rest of the text column][the cloud plate] */
  .hero-grid {
    --padL: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    display: grid; max-width: none; padding: 0;
    grid-template-columns: var(--padL) auto minmax(0, 1fr) 50%;
    grid-template-rows: minmax(40px, 1fr) auto auto auto auto auto minmax(48px, 1.15fr);
    min-height: max(620px, calc(100svh - 64px));
  }
  .stage, .hero-head, .hero-acts { display: contents; }
  .hero-title, .hero-role, .hero-offer { grid-column: 2 / 4; margin-right: clamp(32px, 4vw, 72px); }
  .hero-title { grid-row: 2; font-size: clamp(4rem, 2.1rem + 3.3vw, 5.75rem); line-height: .94; letter-spacing: -.02em; }
  .hero-role { grid-row: 3; margin-top: 22px; max-width: 30ch; text-wrap: balance; font-size: clamp(1.5rem, 1rem + .95vw, 2rem); line-height: 1.24; }
  .hero-offer { grid-row: 4; margin-top: 40px; padding-top: 30px; font-size: 1.125rem; line-height: 1.62; }
  .hero-cta, .hero-test { grid-row: 5; align-self: start; margin-top: 44px; min-height: 54px; }
  .hero-cta { grid-column: 2; font-size: 1.0625rem; padding-inline: 34px; }
  .hero-test { grid-column: 3; justify-self: start; margin-left: 12px; white-space: nowrap; }

  .listen {
    grid-column: 4; grid-row: 1 / -1; margin: 14px 14px 14px 0; min-height: 0;
    padding: clamp(40px, 7vh, 72px) clamp(56px, 5.4vw, 92px);
    background: var(--deep); border-radius: var(--r-card);
    box-shadow: inset 0 1px 0 rgba(238, 241, 245, .06), 0 30px 60px -40px rgba(6, 12, 18, .7);
  }
  /* the plate's quiet inset frame, following its radius */
  .listen::before {
    content: ""; position: absolute; inset: 10px; border: 1px solid rgba(238, 241, 245, .06);
    border-radius: calc(var(--r-card) - 8px); pointer-events: none;
  }
  /* two reading scales: a hairline spine, short ticks every 10px, long ticks every 50px */
  .scale {
    display: block; position: absolute; top: clamp(40px, 7vh, 72px); bottom: clamp(40px, 7vh, 72px); width: 11px;
    background:
      linear-gradient(rgba(238, 241, 245, .2), rgba(238, 241, 245, .2)) 0 0 / 1px 100% no-repeat,
      repeating-linear-gradient(rgba(238, 241, 245, .42) 0 1px, transparent 1px 50px) 0 0 / 11px 100% no-repeat,
      repeating-linear-gradient(rgba(238, 241, 245, .2) 0 1px, transparent 1px 10px) 0 0 / 5px 100% no-repeat;
    opacity: .45; transition: opacity .8s var(--ease);
  }
  .scale--l { left: 26px; }
  .scale--r { right: 26px; transform: scaleX(-1); }
  .listen[data-side="l"] .scale--l, .listen[data-side="r"] .scale--r { opacity: 1; }
  /* the reader: a small lit lens on the active scale, level with the sign being read */
  .reader {
    display: block; position: absolute; top: 0; left: 21px; width: 11px; height: 11px; margin-top: -5.5px;
    border-radius: 50%; border: 1px solid rgba(238, 241, 245, .85);
    background: radial-gradient(circle, #fff 0 1.6px, var(--deep) 2.2px);
    transform: translateY(var(--y, 0px)); opacity: 0;
    transition: transform .9s var(--ease), opacity .6s var(--ease);
  }
  .reader i {
    position: absolute; top: 4.5px; left: 14px; width: var(--reach, 18px); height: 1px;
    background: linear-gradient(90deg, rgba(238, 241, 245, .55), rgba(238, 241, 245, .08));
    transition: width .9s var(--ease);
  }
  .listen[data-side="r"] .reader { left: auto; right: 21px; }
  .listen[data-side="r"] .reader i { left: auto; right: 14px; transform: scaleX(-1); transform-origin: center; }
  .listen.is-reading .reader { opacity: 1; }

  .cloud { gap: 18px; }
  .cl { gap: 16px; }
  .cl .say { font-size: clamp(1.25rem, .78rem + .82vw, 1.5rem); line-height: 1.3; }
  .cl .tp { padding-top: 1px; }
  .cl .tp svg { width: 40px; height: 40px; }
  .cl .who { margin-top: 7px; font-size: 11.5px; letter-spacing: .12em; }
}
/* narrower desktops: the test link takes its own row under the main button instead of wrapping */
@media (min-width: 960px) and (max-width: 1179px) {
  .hero-test { grid-row: 6; grid-column: 2 / 4; margin: 12px 0 0; }
}
@media (min-width: 960px) and (max-height: 700px) {
  .listen { padding-block: 36px; }
  .scale { top: 36px; bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn--vol::after { display: none; }
}

/* ---------- mob1: phone first screen (< 960px) ----------
   Order kept: cloud -> name + role -> both buttons, all inside the first screen. A compact 52px header; the cloud
   sits on a quiet plate that echoes the desktop listening panel (deep navy, 18px radius, an inset hairline frame)
   with the desktop's tick scale shrunk to a slim margin on the reading side (left on pass 1, right on pass 2) and
   the small reader lens riding it. Under the plate: H1, the role in italic on two lines, «Написать мне» (full
   width, 46px, volume + ink spark) and the test link as a full-width outlined 46px button. The stage keeps a
   bottom band clear of the review bar (--clear). The offer opens the next screen as a serif lead under the
   small-lens rule. The cloud fits its slots: 5 phrases if >= 420px, else 4, and mob1.js drops to 3 when 4 do not
   fit (375x667). */
@media (max-width: 959px) {
  :root { --hdr: 52px; --clear: 24px; }
  html { scroll-padding-top: 64px; }
  .header-inner { height: var(--hdr); }
  .brand { gap: 10px; font-size: 1.25rem; }
  .brand-mark { width: 20px; height: 20px; }
  .nav-panel { top: var(--hdr); }

  .hero-grid { padding-bottom: 56px; }
  .stage {
    height: calc(100svh - var(--hdr)); min-height: 520px;
    padding: 12px 0 var(--clear);
  }

  /* the plate */
  .listen {
    flex: 1 1 0; min-height: 0; margin: 0 -8px 22px;
    padding: 18px 22px;
    background: var(--deep); border-radius: var(--r-card);
    box-shadow: inset 0 1px 0 rgba(238, 241, 245, .06), 0 24px 40px -32px rgba(6, 12, 18, .8);
  }
  .listen::before {
    content: ""; position: absolute; inset: 6px; border: 1px solid rgba(238, 241, 245, .07);
    border-radius: calc(var(--r-card) - 6px); pointer-events: none;
  }
  /* the slim reading scale: hairline spine, short ticks every 10px, long every 50px; only the reading side shows */
  .scale {
    display: block; position: absolute; top: 22px; bottom: 22px; width: 7px;
    background:
      linear-gradient(rgba(238, 241, 245, .22), rgba(238, 241, 245, .22)) 0 0 / 1px 100% no-repeat,
      repeating-linear-gradient(rgba(238, 241, 245, .45) 0 1px, transparent 1px 50px) 0 0 / 7px 100% no-repeat,
      repeating-linear-gradient(rgba(238, 241, 245, .22) 0 1px, transparent 1px 10px) 0 0 / 4px 100% no-repeat;
    opacity: 0; transition: opacity .8s var(--ease);
  }
  .scale--l { left: 11px; }
  .scale--r { right: 11px; transform: scaleX(-1); }
  .listen[data-side="l"] .scale--l, .listen[data-side="r"] .scale--r { opacity: 1; }
  .reader {
    display: block; position: absolute; top: 0; left: 8px; width: 7px; height: 7px; margin-top: -3.5px;
    border-radius: 50%; border: 1px solid rgba(238, 241, 245, .85);
    background: radial-gradient(circle, #fff 0 1px, var(--deep) 1.5px);
    transform: translateY(var(--y, 0px)); opacity: 0;
    transition: transform .9s var(--ease), opacity .6s var(--ease);
  }
  .reader i { display: none; }
  .listen[data-side="r"] .reader { left: auto; right: 8px; }
  .listen.is-reading .reader { opacity: 1; }
  .js .cloud { min-height: 0; overflow: hidden; }

  /* the decision block */
  .hero-title { font-size: clamp(2.375rem, 1.6rem + 3.4vw, 2.625rem); line-height: .98; letter-spacing: -.018em; }
  .hero-role { margin-top: 8px; max-width: 24em; font-size: 1.1875rem; line-height: 1.28; }
  .hero-acts { display: grid; gap: 10px; margin-top: 18px; }
  .hero-cta, .hero-test { margin: 0; width: 100%; min-height: 46px; height: 46px; padding-block: 0; }
  .hero-test { padding-inline: 12px; font-size: .9375rem; border-color: rgba(238, 241, 245, .42); }

  /* the offer: the lead of the next screen, under the small-lens rule */
  .hero-offer {
    max-width: 30ch; margin-top: 0; padding-top: 30px;
    font: 400 1.375rem/1.4 var(--serif); color: #DCE3EC; text-wrap: pretty;
  }

  /* no JS: the static pass shows complete, the screen grows to hold it */
  html:not(.js) .stage { height: auto; }
}
@media (min-width: 560px) and (max-width: 959px) {
  .hero-acts { grid-auto-flow: column; justify-content: start; }
  .hero-cta, .hero-test { width: auto; padding-inline: 30px; font-size: 1rem; }
  .hero-offer { max-width: 34ch; }
}
@media (max-width: 959px) and (max-height: 700px) {
  .stage { padding-top: 10px; }
  .listen { padding-block: 14px; margin-bottom: 18px; }
  .scale { top: 18px; bottom: 18px; }
  .cloud { gap: 10px; }
  .hero-title { font-size: 2.375rem; }
  .hero-acts { margin-top: 16px; }
}

/* tooltips for type signs below the first screen (method figure, team chart) */
.mwrap, .twrap { position: relative; }
/* the designed tooltip (aria-hidden: the name is already the accessible name) */
.tip {
  position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 4;
  padding: 6px 11px 7px; border-radius: 8px; white-space: nowrap; pointer-events: none;
  font: 500 .8125rem/1 var(--sans); letter-spacing: .01em;
  background: var(--paper); color: var(--ink); box-shadow: 0 8px 18px -8px rgba(10, 18, 26, .6);
  opacity: 0; transform: translate(-50%, 4px); transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.tip::after { content: ""; position: absolute; left: 50%; top: 100%; width: 7px; height: 7px; margin: -4px 0 0 -3.5px; background: inherit; transform: rotate(45deg); border-radius: 0 0 2px 0; }
.tip-below .tip { bottom: auto; top: calc(100% + 6px); transform: translate(-50%, -4px); }
.tip-below .tip::after { top: auto; bottom: 100%; margin: 0 0 -4px -3.5px; border-radius: 2px 0 0 0; }
.hot:hover .tip { opacity: 1; transform: translate(-50%, 0); }
.hot { position: absolute; border-radius: 50%; }
.mwrap .tip { background: var(--head); color: var(--paper); }

/* ---------- 2. Method (met4c «Тип освещает человека»): claim | the person lit by the type ---------- */
.mx { position: relative; background: var(--page); padding: 44px 0 40px; border-bottom: 1px solid var(--rule); }
.mx .method-title { margin-bottom: 14px; }
/* paragraph 1 as the lead; the three sentences echo the drawing: claim, the broken beam (muted), the speech (ink) */
.mx-lead { max-width: 46ch; font: 400 1.125rem/1.45 var(--serif); color: var(--head); text-wrap: pretty; }
.mx-s2 { color: var(--muted); }
.mx-s1 { font-weight: 500; }
.mx-fig { position: relative; margin: 0; }
.mx-fig--a { margin: 14px calc(var(--gutter) * -.5) 0; }
.mx-wrap--wide { display: none; }
.mx-svg { display: block; width: 100%; height: auto; overflow: visible; }
.mx-svg--b { overflow: hidden; }
.mx-svg * { vector-effect: non-scaling-stroke; }
.mx-svg .l-sign * { vector-effect: none; }

/* Part A: the instrument */
.mx-axis { stroke: rgba(40, 66, 87, .3); stroke-width: 1; stroke-dasharray: 2 5; fill: none; }
.mx-axis-mark { stroke: rgba(40, 66, 87, .5); stroke-width: 1; fill: none; }
.mx-q-box { fill: var(--page); stroke: rgba(40, 66, 87, .42); stroke-width: 1; }
.mx-q-dot { fill: #6F7F91; }
.mx-q-bar { fill: rgba(40, 66, 87, .14); }
.mx-q-beam { stroke: rgba(40, 66, 87, .42); stroke-width: 1; stroke-dasharray: 3 3; fill: none; }
.mx-q-crack { stroke: rgba(40, 66, 87, .78); stroke-width: 1.3; stroke-linecap: round; fill: none; }
.mx-q-frag { stroke: rgba(40, 66, 87, .7); stroke-width: 1.1; stroke-dasharray: 3 3.5; stroke-linecap: round; fill: none; }
.mx-q-mote { fill: rgba(40, 66, 87, .5); }
.mx-cone { fill: rgba(25, 76, 142, .07); }
.mx-ray { stroke: rgba(25, 76, 142, .4); stroke-width: 1; fill: none; }
.mx-ray--edge { stroke: rgba(25, 76, 142, .8); stroke-width: 1.3; }
.mx-wave { fill: none; stroke: var(--cta); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.mx-wave-in { fill: none; stroke: rgba(25, 76, 142, .55); stroke-width: 1.2; stroke-linejoin: round; }
.mx-node { fill: var(--cta); }
.mx-lens { filter: drop-shadow(0 18px 24px rgba(22, 34, 47, .1)); }
.mx-lens .mx-body { fill: rgba(251, 252, 253, .86); }
.mx-lens .mx-glass { fill: rgba(40, 66, 87, .05); }
.mx-lens .mx-tick { stroke: rgba(40, 66, 87, .42); stroke-width: 1; fill: none; }
.mx-lens .mx-bezel { stroke: rgba(40, 66, 87, .36); stroke-width: 1; fill: none; }
.mx-lens .mx-ring { stroke: rgba(40, 66, 87, .22); stroke-width: 1; fill: none; }
.mx-lens .mx-ring--dash { stroke-dasharray: 2 4; stroke: rgba(40, 66, 87, .32); }
.mx-lens .mx-ring--in { stroke: rgba(25, 76, 142, .45); }
.mx-lens .mx-rim { stroke: var(--head); stroke-width: 1.8; fill: none; }
.mx-lens .mx-rim--out { stroke: rgba(40, 66, 87, .22); stroke-width: 1; }
.mx-focus { filter: drop-shadow(0 12px 14px rgba(22, 34, 47, .26)); }
.mx-reticle { fill: none; stroke: var(--cta); stroke-width: 1.6; stroke-linecap: round; }
/* the phone drawing is small: thicker fragments so the break reads */
.mx-wrap--narrow .mx-q-frag { stroke-width: 1.5; stroke-dasharray: 3.5 3; }
.mx-wrap--narrow .mx-q-crack { stroke-width: 1.7; }
.mx-wrap--narrow .mx-q-beam { stroke-width: 1.2; }

/* type lenses on paper (method drawings) */
.m-lens .l-body { fill: var(--sheet); }
.m-lens .l-up { fill: rgba(40, 66, 87, .05); }
.m-lens .l-tick { fill: none; stroke: rgba(40, 66, 87, .3); stroke-width: 1; }
.m-lens .l-rim { fill: none; stroke: rgba(40, 66, 87, .5); stroke-width: 1.2; }
.m-lens .l-sign { color: var(--navy); stroke-width: 1.5; }
.m-lens--main .l-body { fill: var(--navy); }
.m-lens--main .l-up { fill: rgba(255, 255, 255, .13); }
.m-lens--main .l-tick { stroke: rgba(238, 241, 245, .45); }
.m-lens--main .l-rim { stroke: var(--head); stroke-width: 1.5; }
.m-lens--main .l-sign { color: #fff; }

/* Part B: the person. Unlit = dashed contour; lit = wavefronts from the sign, solid contour */
.mx-b { margin-top: 2px; }
.mx-fig--b { margin: 0 calc(var(--gutter) * -.5) 12px; }
/* the quiet world: hatched, faint */
.wq-ground { fill: none; stroke: rgba(40, 66, 87, .1); stroke-width: 1; }
.wq-ridge { fill: none; stroke: rgba(40, 66, 87, .26); stroke-width: 1; stroke-dasharray: 2 3; }
.wq-hz { fill: none; stroke: rgba(40, 66, 87, .32); stroke-width: 1; }
.wq-path-fill { fill: var(--page); }
.wq-path { fill: none; stroke: rgba(40, 66, 87, .32); stroke-width: 1; stroke-dasharray: 3 3; }
.wq-face { fill: var(--page); }
.wq-hatch { fill: none; stroke: rgba(40, 66, 87, .2); stroke-width: 1; }
.wq-obj { fill: none; stroke: rgba(40, 66, 87, .36); stroke-width: 1; stroke-linejoin: round; }
.wq-walked { fill: none; stroke: rgba(40, 66, 87, .35); stroke-width: 1.2; stroke-linecap: round; }
/* the beam and the lit world: crisp ink, the steps and the fork in blue */
.wb-tint { fill: rgba(25, 76, 142, .06); }
.wb-wave { fill: none; stroke: rgba(25, 76, 142, .14); stroke-width: .8; }
.wb-edge { fill: none; stroke: rgba(25, 76, 142, .5); stroke-width: 1; }
.wl-ground { fill: none; stroke: rgba(25, 76, 142, .2); stroke-width: 1; }
.wl-ridge { fill: none; stroke: var(--head); stroke-width: 1.1; stroke-linejoin: round; }
.wl-path-fill { fill: var(--sheet); }
.wl-path { fill: none; stroke: var(--head); stroke-width: 1.3; stroke-linejoin: round; }
.wl-face { fill: var(--sheet); }
.wl-obj { fill: none; stroke: var(--head); stroke-width: 1.3; stroke-linejoin: round; }
.wl-step { fill: none; stroke: var(--cta); stroke-width: 2; stroke-linecap: round; }
.wl-fork { fill: var(--sheet); stroke: var(--cta); stroke-width: 1.6; }
.wl-node { fill: var(--cta); }
/* the walker: a solid scale figure; the far limbs a tone lighter, the near limbs cut from the coat by a paper hairline */
.wk-near { fill: var(--head); }
.wk-far { fill: #56677A; }
.wk-sep { fill: none; stroke: var(--page); stroke-width: 1.3; stroke-linejoin: round; }
.mx-bound { max-width: 52ch; }
.mx .method-note { color: var(--text); font-size: 1rem; line-height: 1.55; }
.mx .method-link { margin-top: 10px; font: 500 1.125rem/1.4 var(--serif); color: var(--head); }
.mx .text-link { text-decoration-color: rgba(25, 76, 142, .45); }
.mx .text-link:hover { color: var(--cta); text-decoration-color: currentColor; }

/* tooltips: hover, keyboard focus, and a tap (focus) on touch; the B sign is hover-only (one focus stop) */
.mx .hot { cursor: default; }
.mx .hot:focus-visible { outline: 2px solid var(--cta); outline-offset: 4px; border-radius: 50%; }
.mx .hot:focus .tip, .mx .hot:hover .tip { opacity: 1; transform: translate(-50%, 0); }

/* drawn once when a figure scrolls in from below the fold (default state is fully drawn) */
.mx-fig.is-drawing .mx-wave { stroke-dasharray: 1; animation: m-draw 1.8s var(--ease) .1s both; }
.mx-fig.is-drawing .mx-wave-in { animation: m-in .5s var(--ease) 1.5s both; }
.mx-fig.is-drawing .mx-ray { stroke-dasharray: 1; animation: m-draw .9s var(--ease) 1.8s both; }
.mx-fig.is-drawing .mx-cone { animation: m-in .9s var(--ease) 1.9s both; }
.mx-fig--a.is-drawing .mx-focus { animation: m-focus 1s var(--ease) 2.3s both; }
.mx-fig.is-drawing .mx-scatter { animation: mx-burst 1s var(--ease) .6s both; transform-box: fill-box; transform-origin: 0 50%; }
.mx-fig--b.is-drawing .pb-body { animation: m-in 1s var(--ease) both; }
.mx-fig--b.is-drawing .mx-part { animation: m-focus 1s var(--ease) .3s both; }
.mx-fig--b.is-drawing .pb-light, .mx-fig--b.is-drawing .pb-lit { animation: pb-spread 1.6s var(--ease) .9s both; }
@keyframes m-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes m-focus { from { filter: blur(6px) grayscale(1); opacity: .45; } }
@keyframes m-in { from { opacity: 0; } }
@keyframes mx-burst { from { opacity: 0; transform: scale(.6); } }
@keyframes pb-spread { from { opacity: 0; } }

@media (min-width: 560px) {
  .mx-fig--a, .mx-fig--b { margin-inline: 0; }
}
@media (min-width: 760px) {
  .mx-wrap--wide { display: block; }
  .mx-wrap--narrow { display: none; }
  .mx-lead { font-size: 1.1875rem; }
  .mx .method-note { font-size: 1.0625rem; }
}
@media (min-width: 1000px) {
  .mx { padding: 64px 0 56px; }
  /* two halves; the person's figure rises to the heading line, its text closes the right half */
  .mx-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 5vw, 80px); align-items: end; }
  .mx .method-title { margin-bottom: 16px; }
  .mx-lead { font-size: 1.25rem; line-height: 1.45; }
  .mx-fig--a { margin: 18px 0 0; }
  .mx-b { margin: 0; }
  .mx-fig--b { margin: 0 0 14px; }
}

/* ---------- 3. About «Four sides»: portrait in a ticked bezel, four theses as quadrants ---------- */
.a3 { --a3-d: 200px; --a3-ring: 14px; --a3-line: #A7B4C3; background: var(--white); padding: 56px 0 64px; }
.a3-title { text-align: center; margin-bottom: 32px; }
.a3-stage { position: relative; }
.a3-portrait {
  position: relative; width: var(--a3-d); height: var(--a3-d); margin: 0 auto 44px;
}
.a3-portrait img {
  display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 26%;
  border-radius: 50%; background: #E6E2DC;
  box-shadow: 0 24px 48px -30px rgba(22, 34, 47, .45);
}
.a3-bezel {
  position: absolute; inset: calc(var(--a3-ring) * -1); width: calc(100% + var(--a3-ring) * 2); height: calc(100% + var(--a3-ring) * 2);
  max-width: none; overflow: visible; fill: none; stroke: var(--a3-line); stroke-width: 1; pointer-events: none;
}
.a3-bezel circle, .a3-bezel path { vector-effect: non-scaling-stroke; }
.a3-bezel path { stroke: var(--navy); }
.a3-theses { display: grid; gap: 22px; }
.a3-thesis { position: relative; }
.a3-node {
  display: inline-block; width: 10px; height: 10px; margin-right: 12px; vertical-align: .32em;
  border: 1.25px solid var(--navy); border-radius: 50%; background: var(--white);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.a3-key { font: italic 500 1.75rem/1.1 var(--serif); color: var(--navy); }
.a3-thesis p { margin-top: 8px; max-width: 46ch; color: #39414C; text-wrap: pretty; }
.a3-links { display: none; }
.a3-thesis:hover .a3-node { background: var(--cta); border-color: var(--cta); }

@media (min-width: 600px) {
  .a3 { --a3-d: 232px; --a3-ring: 16px; }
  .a3-theses { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
}

@media (min-width: 1024px) {
  .a3 { --a3-d: 240px; --a3-ring: 16px; padding: 60px 0 68px; }
  .a3-title { margin-bottom: 36px; }
  .a3-portrait { position: absolute; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); }
  .a3-theses {
    grid-template-columns: minmax(0, 1fr) 340px minmax(0, 1fr); grid-auto-rows: 1fr;
    column-gap: 0; row-gap: 48px; align-items: center;
  }
  .a3-thesis { display: grid; align-content: start; height: 100%; } /* tops aligned: keys in a row share one line whatever the text length */
  .a3-thesis:nth-child(odd) { grid-column: 1; text-align: right; padding-right: 28px; }
  .a3-thesis:nth-child(even) { grid-column: 3; padding-left: 28px; }
  .a3-thesis:nth-child(odd) p { margin-left: auto; }
  .a3-thesis p { max-width: 36ch; }
  .a3-node { position: absolute; top: 50%; margin: -5px 0 0; }
  .a3-thesis:nth-child(odd) .a3-node { right: -5px; }
  .a3-thesis:nth-child(even) .a3-node { left: -5px; }
  .a3-key { font-size: 2rem; }
  .a3-thesis p { margin-top: 10px; }
  .a3-links {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%;
    overflow: visible; pointer-events: none; fill: none; stroke: var(--a3-line); stroke-width: 1;
  }
  .a3-links path { transition: stroke .3s var(--ease); }
  .a3-stage:has(.a3-q1:hover) .a3-l1, .a3-stage:has(.a3-q2:hover) .a3-l2,
  .a3-stage:has(.a3-q3:hover) .a3-l3, .a3-stage:has(.a3-q4:hover) .a3-l4 { stroke: var(--cta); }
}
@media (min-width: 1280px) {
  .a3 { --a3-d: 288px; --a3-ring: 18px; }
  .a3-theses { grid-template-columns: minmax(0, 1fr) 440px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .a3-node, .a3-links path { transition: none; }
}

/* ---------- 4. For people (people1 «Вы и другие») ---------- */
.p1 { background: var(--page); padding: 44px 0 48px; }
.p1-head { display: grid; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--head); }
.p1-lede {
  max-width: 34ch; font: italic 400 1.3125rem/1.3 var(--serif); color: var(--navy); text-wrap: pretty;
}
.p1-row { display: flow-root; padding: 16px 0 18px; border-bottom: 1px solid var(--rule); }
.p1-title { font: 500 1.1875rem/1.2 var(--serif); color: var(--head); text-wrap: balance; transition: color .3s var(--ease); }
.p1-row p { margin-top: 6px; max-width: 64ch; line-height: 1.55; }
.p1-cta { margin-top: 24px; }

/* the glyph: floated like a drop cap; the title sits beside it, the text runs on underneath */
.pg { position: relative; float: left; width: 64px; height: 64px; margin: 2px 16px 6px 0; }
.pg-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pg .lens .l-tick { fill: none; stroke-width: 1.1; }
.pg-you .l-body { fill: var(--navy); }
.pg-you .l-up { fill: rgba(255, 255, 255, .12); }
.pg-you .l-tick { stroke: rgba(238, 241, 245, .4); }
.pg-you .l-rim { fill: none; stroke: var(--head); stroke-width: 1.6; }
.pg-you .l-sign { color: #fff; stroke-width: 1.7; }
.pg-other .l-body { fill: var(--sheet); }
.pg-other .l-up { fill: rgba(40, 66, 87, .05); }
.pg-other .l-tick { stroke: rgba(40, 66, 87, .28); }
.pg-other .l-rim { fill: none; stroke: rgba(40, 66, 87, .55); stroke-width: 1.3; }
.pg-other .l-sign { color: var(--navy); stroke-width: 1.7; opacity: .8; }
.pg-other--s .l-sign { stroke-width: 2.1; }
.pg-bezel { fill: none; stroke: var(--navy); stroke-width: 1.2; opacity: .55; }
.pg-ring { fill: none; stroke: rgba(40, 66, 87, .35); stroke-width: 1; }
.pg-ret { fill: none; stroke: var(--cta); stroke-width: 1.9; stroke-linecap: round; }
.pg-arc { fill: none; stroke: #7F93AC; stroke-width: 1.5; stroke-linecap: round; transition: stroke .3s var(--ease); }
.pg-arc--strong { stroke: var(--cta); stroke-width: 2.1; }
.pg-arc--weak { stroke: #8E9BAB; stroke-dasharray: .035 .06; stroke-width: 1.5; }
.pg-field { fill: none; stroke: rgba(40, 66, 87, .55); stroke-width: 1.3; }
.pg-field--in { fill: var(--sheet); stroke: var(--cta); stroke-width: 1.3; }
.pg-hatch { fill: none; stroke: rgba(40, 66, 87, .24); stroke-width: 1.2; }
.pg-path { fill: none; stroke: var(--cta); stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: .02 .045; }
.pg-chev { fill: none; stroke: var(--cta); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-spiral { fill: none; stroke: #8FA3BC; stroke-width: 1.4; stroke-linecap: round; }
.pg-step { fill: var(--cta); }
.pg-goal { fill: var(--sheet); stroke: var(--cta); stroke-width: 1.6; }
.pg .hot { cursor: default; }
.pg .hot:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; border-radius: 50%; }
.pg .hot:focus .tip, .pg .hot:hover .tip { opacity: 1; transform: translate(-50%, 0); }
.pg .tip { background: var(--head); color: var(--paper); }

.p1-row:hover .p1-title { color: var(--cta); }
.p1-row:hover .pg-arc { stroke: var(--cta); }
.p1-row:hover .pg-spiral { stroke: var(--cta); }

/* drawn once when a row scrolls in from below the fold (default state is fully drawn) */
.p1-row.is-drawing .pg-svg [pathLength] { stroke-dasharray: 1; animation: m-draw 1.1s var(--ease) .15s both; }
.p1-row.is-drawing .pg-path { stroke-dasharray: .02 .045; animation: m-in .8s var(--ease) .3s both; }
.p1-row.is-drawing .pg-arc--weak { stroke-dasharray: .035 .06; animation: m-in .8s var(--ease) .5s both; }
.p1-row.is-drawing .pg-step, .p1-row.is-drawing .pg-chev, .p1-row.is-drawing .pg-other { animation: m-in .7s var(--ease) .7s both; }
.p1-row.is-drawing .pg-you .l-sign [pathLength] { animation-delay: .1s; }

@media (min-width: 900px) {
  .p1 { padding: 60px 0 60px; }
  .p1-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; align-items: end; padding-bottom: 22px; }
  .p1-lede { max-width: 32ch; font-size: 1.75rem; line-height: 1.3; }
  .p1-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(3, auto); column-gap: 64px; }
  .p1-list { grid-column: 1 / -1; grid-row: 1 / -1; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; grid-auto-flow: column; }
  .p1-cta { grid-column: 2; grid-row: 3; align-self: start; margin-top: 26px; }
  .p1-row { padding: 20px 0 20px; }
  .p1-row p { margin-top: 8px; }
  .p1-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 24px; align-content: start; }
  .pg { float: none; grid-row: 1 / span 2; width: 84px; height: 84px; margin: -4px 0 0; }
  .p1-title, .p1-row p { grid-column: 2; }
  .p1-title { font-size: 1.375rem; }
  .p1-row p { line-height: 1.6; }
}
@media (prefers-reduced-motion: reduce) {
  .p1-title, .pg-arc { transition: none; }
}

/* ---------- 5. For business (biz6 «Карта, которая следит») ---------- */
.biz { background: var(--navy); color: var(--paper); padding: var(--sec) 0; }
.biz .h2 { color: var(--paper); }
.bz-head { display: grid; gap: 18px; justify-items: start; }
.bz-lede { max-width: 42ch; text-wrap: pretty; font: 400 clamp(1.1875rem, 1.1rem + .35vw, 1.375rem)/1.42 var(--serif); color: #DCE3EC; }
.bz-cta { margin-top: 6px; }

/* the map: an inset ink plate, 16 lenses on four quadra tracks */
.bm {
  position: relative; padding: 14px; border-radius: var(--r-card);
  background: var(--ink); border: 1px solid rgba(238, 241, 245, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.bm-svg { width: 100%; height: auto; overflow: visible; }
.bm-in { position: relative; }
.bm-track { fill: rgba(238, 241, 245, .025); stroke: rgba(238, 241, 245, .06); stroke-width: 1; }
.bm-lens * { transition: fill .45s var(--ease), stroke .45s var(--ease), color .45s var(--ease), opacity .45s var(--ease); }
.bm-lens .l-body { fill: #1B2C3C; }
.bm-lens .l-up { fill: rgba(255, 255, 255, 0); }
.bm-lens .l-tick { fill: none; stroke: rgba(238, 241, 245, .1); stroke-width: .8; }
.bm-lens .l-rim { fill: none; stroke: rgba(238, 241, 245, .13); stroke-width: 1; }
.bm-lens .l-sign { color: rgba(238, 241, 245, .22); stroke-width: 1.3; }
/* lit: a team member */
.bm[data-s="1"] .x1-on, .bm[data-s="2"] .x2-on, .bm[data-s="3"] .x3-on { --on: 1; }
.bm[data-s="1"] .x1-on .l-body, .bm[data-s="2"] .x2-on .l-body, .bm[data-s="3"] .x3-on .l-body, .bm[data-s="4"] .x4-ext .l-body { fill: #22384C; }
.bm[data-s="1"] .x1-on .l-tick, .bm[data-s="2"] .x2-on .l-tick, .bm[data-s="3"] .x3-on .l-tick, .bm[data-s="4"] .x4-ext .l-tick { stroke: rgba(169, 194, 234, .35); }
.bm[data-s="1"] .x1-on .l-rim, .bm[data-s="2"] .x2-on .l-rim, .bm[data-s="3"] .x3-on .l-rim, .bm[data-s="4"] .x4-ext .l-rim { stroke: rgba(169, 194, 234, .75); stroke-width: 1.2; }
.bm[data-s="1"] .x1-on .l-sign, .bm[data-s="2"] .x2-on .l-sign, .bm[data-s="3"] .x3-on .l-sign, .bm[data-s="4"] .x4-ext .l-sign { color: #DCE6F4; stroke-width: 1.5; }
/* key: the leader / «you» */
.bm[data-s="3"] .x3-key .l-body, .bm[data-s="4"] .x4-key .l-body { fill: #3A5B78; }
.bm[data-s="3"] .x3-key .l-up, .bm[data-s="4"] .x4-key .l-up { fill: rgba(255, 255, 255, .12); }
.bm[data-s="3"] .x3-key .l-tick, .bm[data-s="4"] .x4-key .l-tick { stroke: rgba(238, 241, 245, .5); }
.bm[data-s="3"] .x3-key .l-rim, .bm[data-s="4"] .x4-key .l-rim { stroke: #fff; stroke-width: 1.4; }
.bm[data-s="3"] .x3-key .l-sign, .bm[data-s="4"] .x4-key .l-sign { color: #fff; stroke-width: 1.6; }
/* soft: workshops, the whole map warmed evenly */
.bm[data-s="5"] .x5-soft .l-body { fill: #203345; }
.bm[data-s="5"] .x5-soft .l-tick { stroke: rgba(169, 194, 234, .22); }
.bm[data-s="5"] .x5-soft .l-rim { stroke: rgba(169, 194, 234, .42); }
.bm[data-s="5"] .x5-soft .l-sign { color: rgba(220, 230, 244, .72); stroke-width: 1.4; }
.bm[data-s="5"] .bm-track { fill: rgba(238, 241, 245, .045); stroke: rgba(169, 194, 234, .16); }

/* relations: synergy solid, friction dashed, neutral hairline */
.bm-st { opacity: 0; transition: opacity .35s var(--ease); }
.bm[data-s="1"] .bm-st1, .bm[data-s="2"] .bm-st2, .bm[data-s="3"] .bm-st3, .bm[data-s="4"] .bm-st4 { opacity: 1; transition: opacity .5s var(--ease) .18s; }
.bm-arc { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.bm-s { stroke: var(--lit-line); stroke-width: 1.6; }
.bm-f { stroke: rgba(238, 241, 245, .62); stroke-width: 1.3; stroke-dasharray: 5 6; }
.bm-n { stroke: rgba(238, 241, 245, .28); stroke-width: 1; }
.bm-arc--ring { stroke-width: 2.2; }
.bm-arc--one { stroke-width: 2; stroke: rgba(238, 241, 245, .88); stroke-dasharray: 6 6; }
.bm-ret, .bm-ext { fill: none; stroke: var(--paper); stroke-width: 1.3; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .35s var(--ease); }
.bm-ext { stroke: rgba(238, 241, 245, .7); stroke-dasharray: 3 5; }
.bm[data-s="3"] .bm-ret, .bm[data-s="4"] .bm-ret, .bm[data-s="4"] .bm-ext { opacity: 1; transition: opacity .5s var(--ease) .18s; }
.bm-hot { display: none; }
.bm-hot.is-lit { display: block; cursor: default; }
.bm-hot:focus-visible { outline: 2px solid var(--lit-line); outline-offset: 4px; border-radius: 50%; }
.bm-hot:hover .tip, .bm-hot:focus .tip { opacity: 1; transform: translate(-50%, 0); }

/* static per-service copies (phone) never animate */
.bm--inline, .bm--inline * { transition: none !important; }

/* the services: airy text blocks, each opened by a quadra-dot marker sitting on a hairline */
.bz-scrolly { margin-top: 40px; }
.bz-list { list-style: none; }
.bs-item { padding: 0 0 48px; }
.bs-item:last-child { padding-bottom: 0; }
.bs-body { position: relative; padding-top: 26px; border-top: 1px solid var(--rule-navy); }
.bs-body::before { /* the hairline draws itself in the lit colour when the service is active */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--lit-line);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.bs-mark {
  position: absolute; left: 0; top: -9px; display: grid; grid-template-columns: repeat(2, 6px); gap: 4px;
  padding: 0 12px 0 0; background: var(--navy);
}
.bs-mark i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid rgba(169, 194, 234, .7); transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.bs-t { font: 500 1.5rem/1.2 var(--serif); letter-spacing: .003em; color: #fff; text-wrap: balance; transition: color .4s var(--ease); }
.bs-body p { margin-top: 12px; max-width: 46ch; color: var(--on-navy); text-wrap: pretty; }
.bm--inline { width: 100%; max-width: 296px; margin-top: 24px; padding: 14px; }
.bz-map { display: none; }

/* phone: every service carries its own map, so every marker is filled */
@media (max-width: 999.98px) { .bs-mark i { background: var(--paper); border-color: var(--paper); } }

@media (min-width: 1000px) {
  .biz.bz { padding: 96px 0 40px; }
  .bz-head {
    grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; column-gap: clamp(40px, 5vw, 80px);
    padding-bottom: 36px; border-bottom: 1px solid var(--rule-navy);
  }
  .bz-head .h2 { align-self: end; }
  .bz-lede { max-width: 50ch; font-size: 1.25rem; }
  .bz-cta { margin: 0; }
  .bz-scrolly {
    margin-top: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 6vw, 112px);
  }
  .bs-item, .bs-item:last-child { display: flex; align-items: center; min-height: 58vh; padding: 0; }
  .bs-body { width: 100%; max-width: 34rem; padding-top: 30px; }
  .bs-t { font-size: 1.75rem; }
  .bs-body p { margin-top: 14px; font-size: 1.0625rem; line-height: 1.7; }
  .bm--inline { display: none; }
  /* active (desktop): marker filled, hairline drawn, title in full white; inactive titles step back only when JS runs */
  .bs-item.is-on .bs-body::before { transform: scaleX(1); }
  .bs-item.is-on .bs-mark i { background: var(--paper); border-color: var(--paper); }
  .bz.is-js .bs-item:not(.is-on) .bs-t { color: #8FA3B8; }
  .bz-map {
    display: grid; place-items: center; align-self: start;
    position: sticky; top: var(--hdr, 64px); height: calc(100vh - var(--hdr, 64px));
  }
  .bm--sticky { width: min(100%, 540px, calc(100vh - var(--hdr, 64px) - 96px)); min-width: 380px; padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .bm-lens *, .bm-st, .bm-ret, .bm-ext, .bs-body::before, .bs-mark i, .bs-t { transition: none !important; }
}

/* ---------- 6. How (hn1 «Связка»): three numbered lenses on one fine axis, ending in a lit lens ----------
   Shares its ground, left edge and 12-column rhythm with #not-for below: steps start on columns 1 / 5 / 9,
   the not-for list starts on column 5 (under step 2). Phone: the axis turns vertical on the left. */
.how { background: var(--page); padding: var(--sec) 0 56px; }
.axis { --ls: 56px; position: relative; margin-top: 36px; }
/* the axis: a fine navy line through the lens centres, down to the lit lens */
.axis::before {
  content: ""; position: absolute; left: calc(var(--ls) / 2); top: calc(var(--ls) / 2); bottom: 22px;
  width: 1px; background: linear-gradient(var(--navy), var(--navy)) no-repeat; background-size: 1px 100%; opacity: .55;
}
.steps { position: relative; display: grid; gap: 28px; }
.step { display: grid; grid-template-columns: var(--ls) minmax(0, 1fr); column-gap: 20px; align-items: start; align-content: start; }
.step-lens { position: relative; display: grid; place-items: center; width: var(--ls); height: var(--ls); }
.sl-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sl-body { fill: var(--sheet); }
.sl-tick { fill: none; stroke: rgba(40, 66, 87, .34); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sl-rim { fill: none; stroke: rgba(40, 66, 87, .62); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.sl-in { fill: none; stroke: rgba(40, 66, 87, .14); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sl-tick, .sl-rim { transform-origin: 50% 50%; transition: transform .7s var(--ease), stroke .35s var(--ease); }
.step-num {
  position: relative; font: 500 1.75rem/1 var(--serif); color: var(--cta);
  font-variant-numeric: lining-nums tabular-nums; transform: translateY(-.04em);
}
.step-text { padding-top: 6px; }
.step-title { font: 500 1.5rem/1.2 var(--serif); color: var(--head); }
.step p { margin-top: 6px; max-width: 34ch; }
/* hover: the bezel turns a notch and the rim takes the ink, like a lens brought into focus */
.step:hover .sl-tick { transform: rotate(15deg); stroke: rgba(25, 76, 142, .55); }
.step:hover .sl-rim { stroke: var(--cta); }
.axis-end { display: block; width: 44px; height: 44px; margin: 22px 0 0 calc(var(--ls) / 2 - 22px); position: relative; }
.ll-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.axis-end .l-tick { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.axis-end .l-rim { fill: none; vector-effect: non-scaling-stroke; }
.axis-end .l-sign { stroke-width: 1.7; }
.axis-end::after { /* a faint halo: the lens is lit */
  content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(25, 76, 142, .22);
}
@media (min-width: 760px) {
  .axis { --ls: 76px; margin-top: 48px; }
  /* horizontal: from the first lens centre to the lit lens on the right edge */
  .axis::before { left: calc(var(--ls) / 2); right: 26px; top: calc(var(--ls) / 2); bottom: auto; width: auto; height: 1px; background-size: 100% 1px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; gap: 0 32px; }
  .step { grid-template-columns: minmax(0, 1fr); row-gap: 22px; padding-right: 8px; }
  .step-num { font-size: 2.25rem; }
  .step-text { padding-top: 0; }
  .axis-end { position: absolute; right: 0; top: calc(var(--ls) / 2 - 26px); width: 52px; height: 52px; margin: 0; }
}
@media (min-width: 1100px) { .steps { column-gap: 40px; } .step-title { font-size: 1.625rem; } }

/* ---------- 7. Not-for (hn3 «Граница»): the method's field and its drawn edge ---------- */
.notfor { background: var(--white); padding: var(--sec) 0; }
.edge { display: grid; gap: 24px; justify-items: start; }
.edge-fig { margin: 0; width: 160px; }
.nf-svg { display: block; width: 100%; height: auto; overflow: visible; }
.nf-out { fill: none; stroke: #9AA4B0; stroke-width: 1.2; stroke-dasharray: 2.2 2.8; stroke-linecap: round; }
.nf-out--in { stroke: #D3D9E0; stroke-width: 1; stroke-dasharray: 1 3; }
.nf-bezel { fill: none; stroke: var(--navy); stroke-width: 1.4; }
.nf-bezel-t { fill: none; stroke: var(--navy); stroke-width: 1; stroke-opacity: .55; }
.nf-field { fill: var(--navy); }
.nf-up { fill: #33536C; }
.nf-tick { fill: none; stroke: var(--paper); stroke-width: 1.1; stroke-opacity: .7; }
.nf-core { fill: var(--paper); }
.nf-pt { fill: var(--white); stroke: #9AA4B0; stroke-width: 1.2; }
.edge-text { min-width: 0; }
.edge .h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.edge-list { margin-top: 22px; }
.edge-list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px dashed #C4CBD3; }
.edge-list li:first-child { padding-top: 0; }
.edge-list li::before {
  content: ""; position: absolute; left: 1px; top: calc(12px + .78em - 5px); width: 10px; height: 10px;
  border-radius: 50%; border: 1.2px solid #9AA4B0; background: var(--white);
}
.edge-list li:first-child::before { top: calc(.78em - 5px); }
.edge-note { margin-top: 22px; font: italic 400 1.3125rem/1.4 var(--serif); color: var(--navy); max-width: 50ch; }
@media (min-width: 900px) {
  .edge { grid-template-columns: minmax(260px, 4fr) minmax(0, 7fr); gap: 72px; align-items: center; max-width: 1120px; }
  .edge-fig { width: 100%; max-width: 340px; justify-self: center; }
  .edge-list li { font-size: 1.0625rem; }
}

/* ---------- 9. Books (bf3): navy band, heading left, a compact ledger of three works right ---------- */
.books { background: var(--navy); color: var(--paper); padding: calc(var(--sec) * .75) 0; }
.books .h2 { color: var(--paper); }
.books-grid { display: grid; gap: 28px; }
.books-head { display: grid; gap: 22px; justify-items: start; align-content: start; }
.books-cta .btn { min-width: 200px; }
.btn--light:focus-visible { outline-color: var(--lit-line); }

.ledger { border-top: 1px solid var(--rule-navy); }
.lg-row {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--rule-navy);
}
.lg-thumb { position: relative; width: 84px; height: 108px; }
/* a cover in a thin light mount */
.lg-cover {
  position: absolute; left: 0; bottom: 0; width: 64px; aspect-ratio: 2 / 3; padding: 3px;
  border: 1px solid rgba(238, 241, 245, .42); border-radius: 3px; background: rgba(238, 241, 245, .06);
  box-shadow: 0 14px 18px -12px rgba(8, 14, 20, .7);
  transition: transform .45s var(--ease), border-color .3s var(--ease);
}
.lg-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 1px; }
.lg-thumb:not(.lg-thumb--stack) .lg-cover { left: 10px; }
/* the series: a tiny stack of three, the back two stepping up and right */
.lg-thumb--stack .lg-cover:nth-child(1) { transform: translate(20px, -12px); }
.lg-thumb--stack .lg-cover:nth-child(2) { transform: translate(10px, -6px); }
.lg-thumb--stack .lg-cover:nth-child(1) img, .lg-thumb--stack .lg-cover:nth-child(2) img { opacity: .72; }
.lg-title { font: 500 1.3125rem/1.2 var(--serif); color: var(--paper); text-wrap: balance; }
.lg-text p { margin-top: 6px; color: var(--on-navy); max-width: 46ch; font-size: .9375rem; line-height: 1.55; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .lg-row:hover .lg-cover { border-color: rgba(238, 241, 245, .8); }
  .lg-row:hover .lg-thumb:not(.lg-thumb--stack) .lg-cover { transform: translateY(-4px); }
  .lg-row:hover .lg-thumb--stack .lg-cover:nth-child(1) { transform: translate(26px, -16px) rotate(4deg); }
  .lg-row:hover .lg-thumb--stack .lg-cover:nth-child(2) { transform: translate(13px, -8px) rotate(2deg); }
  .lg-row:hover .lg-thumb--stack .lg-cover:nth-child(3) { transform: translateY(-2px); }
}

@media (min-width: 900px) {
  .books-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: start; }
  .books-head { gap: 32px; padding-top: 4px; }
  .lg-row { grid-template-columns: 120px minmax(0, 1fr); gap: 32px; padding: 20px 0; }
  .lg-thumb { width: 120px; height: 146px; }
  .lg-cover { width: 90px; }
  .lg-thumb:not(.lg-thumb--stack) .lg-cover { left: 14px; }
  .lg-thumb--stack .lg-cover:nth-child(1) { transform: translate(28px, -16px); }
  .lg-thumb--stack .lg-cover:nth-child(2) { transform: translate(14px, -8px); }
  .lg-title { font-size: 1.5rem; }
  .lg-text p { font-size: 1rem; }
}
@media (min-width: 900px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .lg-row:hover .lg-thumb--stack .lg-cover:nth-child(1) { transform: translate(34px, -20px) rotate(4deg); }
  .lg-row:hover .lg-thumb--stack .lg-cover:nth-child(2) { transform: translate(17px, -10px) rotate(2deg); }
}
@media (min-width: 1100px) { .books-grid { gap: 88px; } }

/* ---------- 11. FAQ (bf1): sticky h2 left, refined accordion right; markers are small ticked lenses ---------- */
.faq { background: var(--white); padding: var(--sec) 0 calc(var(--sec) * .75); }
.faq-grid { display: grid; gap: 28px; }
.acc { border-top: 1px solid var(--head); }
.acc-item { border-bottom: 1px solid var(--rule); }
.acc-head { font: inherit; }
.acc-btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0;
  background: none; border: 0; text-align: left; cursor: pointer; color: var(--head);
  font: 500 1.25rem/1.3 var(--serif);
}
.acc-q { transition: color .25s; text-wrap: balance; }
.acc-btn:hover .acc-q, .is-open .acc-q { color: var(--cta); }
.acc-btn:focus-visible { outline-offset: 4px; }
/* lens marker: a ticked bezel around a rim; open = the rim fills with ink and the bezel turns */
.acc-mark { flex: none; width: 36px; height: 36px; }
.acc-mark svg { width: 100%; height: 100%; overflow: visible; }
.am-tick { fill: none; stroke: rgba(40, 66, 87, .36); stroke-width: 3; stroke-dasharray: .9 3.94; transform-origin: 20px 20px; transition: transform .6s var(--ease), stroke .35s; }
.am-rim { fill: #fff; stroke: var(--navy); stroke-width: 1.1; transition: fill .35s var(--ease), stroke .35s var(--ease); }
.am-h, .am-v { stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; transform-origin: 20px 20px; transition: transform .35s var(--ease), stroke .35s; }
.acc-btn:hover .am-tick { transform: rotate(18deg); stroke: rgba(25, 76, 142, .6); }
.acc-btn:hover .am-rim { stroke: var(--cta); }
.is-open .am-tick { transform: rotate(45deg); stroke: rgba(25, 76, 142, .7); }
.is-open .am-rim { fill: var(--cta); stroke: var(--cta); }
.is-open .am-h, .is-open .am-v { stroke: #fff; }
.is-open .am-v { transform: scaleY(0); }
.acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease); }
.acc-inner { overflow: hidden; }
.acc-inner p { padding: 0 0 22px 0; max-width: 60ch; color: var(--text); }
html.js .acc-item:not(.is-open) .acc-panel { grid-template-rows: 0fr; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 88px; align-items: start; }
  .faq-title { position: sticky; top: 112px; }
  .acc-btn { padding: 22px 0; }
  .acc-inner p { padding: 0 56px 26px 0; }
}
@media (prefers-reduced-motion: reduce) { .am-tick, .am-rim, .am-h, .am-v, .acc-panel { transition: none; } }

/* ---------- 12. Elsewhere (rc2 «Сайты-спутники») ----------
   CoreTypes = the central lens (its mark in a ticked bezel); the other sites = satellite lenses on an orbit,
   joined to it by fine spokes (drawn by rc2.js). Phone: CoreTypes card on top, satellites hang on one vertical line.
   The list takes 3–5 entries with no CSS change (row count comes from :has()). */
.refs { --node: 40px; --lx: 68px; --lens: 96px; background: var(--white); padding: calc(var(--sec) * .5) 0 calc(var(--sec) * .8); }
.refs-grid { display: grid; gap: 28px; padding-top: calc(var(--sec) * .5); background: linear-gradient(var(--rule), var(--rule)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.refs-stage { position: relative; }
.refs-orbit { display: none; }
.ref-list { position: relative; display: grid; gap: 14px; }
.ref-link { position: relative; display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.ref-text { display: grid; gap: 3px; min-width: 0; }
.ref-name { font: 500 1.3125rem/1.22 var(--serif); color: var(--head); text-wrap: balance; transition: color .25s var(--ease); }
.ref-note { color: var(--muted); font-size: .9375rem; line-height: 1.45; }

/* the central lens */
.ref-lens {
  position: relative; flex: none; display: grid; place-items: center; width: var(--lens); aspect-ratio: 1;
  border-radius: 50%; background: #fff; color: var(--navy);
  box-shadow: 0 1px 0 rgba(22, 34, 47, .04), 0 22px 40px -26px rgba(22, 34, 47, .45);
}
.ref-bezel { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: transform .8s var(--ease); }
.ref-bezel circle { fill: none; }
.rb-rim { stroke: var(--navy); stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: stroke .3s var(--ease); }
.rb-tick { stroke: rgba(40, 66, 87, .42); stroke-width: 9; stroke-dasharray: .35 4.65; }
.rb-major { stroke: var(--navy); stroke-width: 12; stroke-dasharray: .8 29.2; transition: stroke .3s var(--ease); }
.rb-inner { stroke: rgba(40, 66, 87, .28); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ref-lens .ct-mark { position: relative; width: 50%; height: auto; aspect-ratio: 1; transition: color .3s var(--ease); }
.ref--home .ref-name { font-size: clamp(1.875rem, 1.6rem + 1.1vw, 2.5rem); line-height: 1; letter-spacing: -.01em; }
.ref--home .ref-text { gap: 8px; }
a.ref-link:hover .ref-bezel { transform: rotate(12deg); }
a.ref-link:hover .rb-rim, a.ref-link:hover .rb-major { stroke: var(--cta); }
a.ref-link:hover .ct-mark { color: var(--cta); }

/* satellite nodes: a small lens (ticked bezel + rim + core); a placeholder = a dashed rim only */
.ref-node { position: relative; z-index: 1; flex: none; width: var(--node); height: var(--node); }
.ref-node svg { width: 100%; height: 100%; overflow: visible; }
.rn-tick { fill: none; stroke: rgba(40, 66, 87, .38); stroke-width: 3; stroke-dasharray: .9 3.8; transform-origin: 20px 20px; transition: transform .6s var(--ease), stroke .3s; }
.rn-rim { fill: #fff; stroke: var(--navy); stroke-width: 1.2; transition: fill .3s var(--ease), stroke .3s var(--ease); }
.rn-core { fill: var(--navy); transition: fill .3s var(--ease); }
.ref--soon .rn-rim { fill: var(--white); stroke: #8E9BAB; stroke-dasharray: 2.4 3; }

/* satellite cards */
.ref:not(.ref--home) .ref-text {
  flex: 1; padding: 16px 20px 17px; border-radius: var(--r-card); background: var(--page); border: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ref.ref--soon .ref-text { background: transparent; border: 1px dashed #B9C4D0; }
.ref--soon .ref-name { color: var(--muted); font-size: 1.1875rem; }
a.ref-link:hover .ref-text { background: #fff; border-color: rgba(25, 76, 142, .35); transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(22, 34, 47, .45); }
.ref--home a.ref-link:hover .ref-text { background: none; border: 0; transform: none; box-shadow: none; }
a.ref-link:hover .ref-name { color: var(--cta); }
a.ref-link:hover .rn-tick { transform: rotate(30deg); stroke: rgba(25, 76, 142, .65); }
a.ref-link:hover .rn-rim { fill: var(--cta); stroke: var(--cta); }
a.ref-link:hover .rn-core { fill: #fff; }
.ref-link:focus-visible { outline: none; }
.ref:not(.ref--home) .ref-link:focus-visible .ref-text { outline: 2px solid var(--lit); outline-offset: 3px; }
.ref--home .ref-link:focus-visible .ref-lens { outline: 2px solid var(--lit); outline-offset: 5px; }

/* phone: CoreTypes card on top, satellites on one vertical line through the lens centre */
@media (max-width: 759px) {
  .ref--home { position: relative; }
  .ref--home .ref-link { padding: 18px 20px; border-radius: var(--r-card); background: var(--page); gap: 18px; }
  .ref--home .ref-lens { box-shadow: 0 14px 26px -20px rgba(22, 34, 47, .45); }
  .ref:not(.ref--home) { position: relative; padding-left: calc(var(--lx) - var(--node) / 2); }
  .ref:not(.ref--home) .ref-link { gap: 14px; }
  /* the line: from under the lens down to the last node; dashed where it leads to a placeholder */
  .ref--home::after { content: ""; position: absolute; left: var(--lx); top: calc(18px + var(--lens)); bottom: -14px; width: 0; margin-left: -.5px; border-left: 1px solid rgba(40, 66, 87, .4); }
  .ref:not(.ref--home)::before { content: ""; position: absolute; left: var(--lx); top: 0; height: 50%; width: 0; margin-left: -.5px; border-left: 1px solid rgba(40, 66, 87, .4); }
  .ref:not(.ref--home):not(:last-child)::after { content: ""; position: absolute; left: var(--lx); top: 50%; bottom: -14px; width: 0; margin-left: -.5px; border-left: 1px solid rgba(40, 66, 87, .4); }
  .ref--soon::before, .ref--soon::after, .ref:has(+ .ref--soon)::after { border-left-style: dashed !important; border-left-color: #A5B1BE !important; }
  /* a hairline stub joins each node to its card */
  .ref:not(.ref--home) .ref-link::before { content: ""; position: absolute; left: var(--node); width: 14px; top: 50%; height: 0; border-top: 1px solid rgba(40, 66, 87, .4); }
  .ref--soon .ref-link::before { border-top: 1px dashed #A5B1BE; }
}
@media (max-width: 379px) {
  .refs { --lx: 60px; --lens: 88px; }
  .ref--home .ref-link { padding: 16px; gap: 16px; }
  .ref--home::after { top: calc(16px + var(--lens)); }
  .ref:not(.ref--home) .ref-text { padding: 14px 16px 15px; }
}

/* tablet/desktop: the lens on the left, satellites on an orbit to its right */
@media (min-width: 760px) {
  .refs { --lens: 210px; --node: 44px; }
  .refs-orbit { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  .ref-list {
    --n: 2; grid-template-columns: var(--lens-col, 250px) minmax(0, 1fr); column-gap: 64px; row-gap: 14px;
    grid-template-rows: minmax(0, 1fr) repeat(var(--n), auto) minmax(0, 1.4fr);
  }
  .ref-list:has(> .ref:nth-child(4)) { --n: 3; }
  .ref-list:has(> .ref:nth-child(5)) { --n: 4; }
  .ref-list:has(> .ref:nth-child(6)) { --n: 5; }
  .ref-list:has(> .ref:nth-child(7)) { --n: 6; }
  .ref--home { grid-column: 1; grid-row: 1 / -1; align-self: center; }
  .ref--home .ref-link { flex-direction: column; align-items: center; text-align: center; gap: 22px; }
  .ref:not(.ref--home) { grid-column: 2; max-width: 520px; margin-left: var(--shift, 0px); }
  /* satellites take rows 2…n+1 between the two flexible rows, so the stack centres on the lens */
  .ref-list > .ref:nth-child(2) { grid-row: 2; }
  .ref-list > .ref:nth-child(3) { grid-row: 3; }
  .ref-list > .ref:nth-child(4) { grid-row: 4; }
  .ref-list > .ref:nth-child(5) { grid-row: 5; }
  .ref-list > .ref:nth-child(6) { grid-row: 6; }
  .ref-list > .ref:nth-child(7) { grid-row: 7; }
  .ref:not(.ref--home) .ref-link { gap: 18px; }
  .ref:not(.ref--home) .ref-text { padding: 18px 22px 19px; }
  /* lines drawn by rc2.js */
  .ro-orbit { fill: none; stroke: rgba(40, 66, 87, .38); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 0 6; }
  .ro-spoke { fill: none; stroke: rgba(40, 66, 87, .42); stroke-width: 1; transition: stroke .3s var(--ease); }
  .ro-spoke.is-soon { stroke: #B4BFCB; stroke-dasharray: 4 4; }
  .ro-spoke.is-hot { stroke: var(--cta); }
}
@media (min-width: 1200px) {
  .refs { --lens: 220px; }
  .refs-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 88px; align-items: start; }
  .ref-list { --lens-col: 240px; column-gap: 64px; }
}
@media (prefers-reduced-motion: reduce) { .ref-bezel, .ref-lens .ct-mark, .rn-tick, .ref-text { transition: none !important; } }

/* ---------- 13. Contact (rc2): navy band, white form card ---------- */
.contact { background: var(--navy); color: var(--paper); padding: calc(var(--sec) * .85) 0; }
.contact .h2 { color: var(--paper); }
.contact-grid { display: grid; gap: 40px; }
.contact-intro { display: grid; gap: 36px; align-content: start; }
.contact-lead { margin-top: 20px; max-width: 38ch; color: var(--on-navy); }
.contact-foot { display: grid; gap: 18px; }
.contact-note { max-width: 40ch; padding-top: 18px; border-top: 1px solid var(--rule-navy); color: var(--on-navy); font-size: .9375rem; line-height: 1.55; }

.form-card {
  position: relative; background: #fff; color: var(--text); border-radius: var(--r-card); padding: 26px 20px 28px;
  box-shadow: 0 30px 60px -36px rgba(8, 16, 26, .7);
}
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font: 500 .875rem/1.3 var(--sans); color: var(--navy); transition: color .2s; }
.field:focus-within > label { color: var(--cta); }
.field input[type=text], .field input[type=email], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px; background: var(--page); color: var(--head);
  border: 1px solid #CDD5DF; border-radius: var(--r-btn); font: 400 1rem/1.4 var(--sans);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 148px; display: block; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8E9BAB; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--cta); box-shadow: 0 0 0 4px rgba(25, 76, 142, .14); }
/* invalid: a calm brick edge, tinted field, the label takes the same tone */
.field [aria-invalid="true"] { border-color: #A44A3F; background: #FBF4F2; box-shadow: inset 3px 0 0 #A44A3F; }
.field [aria-invalid="true"]:focus { box-shadow: inset 3px 0 0 #A44A3F, 0 0 0 4px rgba(164, 74, 63, .16); border-color: #A44A3F; }
.field:has([aria-invalid="true"]) > label { color: #8E3A31; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 48px; cursor: pointer; }
.select-wrap::after {
  content: ""; position: absolute; right: 19px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border: solid var(--navy); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; transition: border-color .2s;
}
.select-wrap:focus-within::after { border-color: var(--cta); }
.field--check { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding-top: 2px; }
.field--check label { font-weight: 400; color: var(--text); font-size: .9375rem; line-height: 1.5; padding-top: 1px; }
.field--check:focus-within > label { color: var(--text); }
.field--check label a { color: var(--cta); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.field--check label a:hover { color: #123B70; text-decoration-thickness: 2px; }
.field--check input {
  appearance: none; width: 24px; height: 24px; margin: 0; background: var(--page); border: 1px solid #8E9BAB; border-radius: 6px; cursor: pointer;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.field--check input:hover { border-color: var(--navy); }
.field--check input:focus-visible { outline: none; border-color: var(--cta); box-shadow: 0 0 0 4px rgba(25, 76, 142, .18); }
.field--check input:checked {
  background: var(--cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  border-color: var(--cta);
}
.field--check input[aria-invalid="true"] { border-color: #A44A3F; background-color: #FBF4F2; box-shadow: 0 0 0 3px rgba(164, 74, 63, .14); }
.form-error {
  grid-column: 1 / -1; padding: 12px 16px 12px 18px; border-radius: var(--r-btn); background: #FBF4F2;
  box-shadow: inset 3px 0 0 #A44A3F; color: #7E3229; font-size: .9375rem; line-height: 1.45;
}
.form-error:not([hidden]) { animation: rc2-in .35s var(--ease); }
.form-foot { grid-column: 1 / -1; display: grid; gap: 20px; }
.form-foot > .field { grid-column: auto; }
.form[hidden], .form-error[hidden], .form-done[hidden] { display: none; }
.field--submit .btn { width: 100%; min-height: 54px; font-size: 1rem; }
.field--submit .btn:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; }
/* success: the form gives way to a lit lens and one line */
.form-done:not([hidden]) {
  display: grid; justify-items: start; align-content: center; gap: 20px; min-height: min(var(--done-h, 280px), 340px); padding: 8px 4px;
  animation: rc2-in .5s var(--ease);
}
.form-done:focus { outline: none; }
.done-lens svg { width: 56px; height: 56px; overflow: visible; }
.done-lens .rn-tick { stroke: rgba(25, 76, 142, .6); animation: rc2-turn 1.4s var(--ease) both; }
.done-lens .rn-rim { fill: var(--cta); stroke: var(--cta); }
.done-lens .rn-core { fill: #fff; }
.done-text { font: italic 400 clamp(1.625rem, 1.4rem + .9vw, 2.125rem)/1.25 var(--serif); color: var(--navy); }
@keyframes rc2-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes rc2-turn { from { transform: rotate(-90deg); } }
@media (prefers-reduced-motion: reduce) { .form-error:not([hidden]), .form-done:not([hidden]), .done-lens .rn-tick { animation: none; } }
@media (min-width: 480px) {
  .form { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .field--wide { grid-column: 1 / -1; }
}
@media (min-width: 640px) {
  .form-card { padding: 36px; }
  .field--submit { justify-items: start; }
  .field--submit .btn { width: auto; min-width: 200px; }
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .contact-intro { padding-top: 6px; gap: 44px; }
  .form-card { padding: 40px 44px 44px; }
  .form-done:not([hidden]) { min-height: var(--done-h, 280px); }
}
@media (min-width: 1200px) {
  .contact-grid { gap: 104px; }
  /* consent and the button share one line */
  .form-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; padding-top: 4px; }
  .field--submit .btn { min-width: 0; padding-inline: 34px; }
}

/* ---------- 14. Path: quiet contact sheet on the footer ground ---------- */
/* #path and the footer share one ink band; everything here is deliberately low-contrast and small */
.path, .site-footer { --fg-quiet: #8C99A8; --fg-soft: #A3AFBC; --sheet-ground: #1B2A39; background: var(--ink); color: var(--fg-quiet); }
.path { padding: 56px 0 40px; }
.path-grid { display: grid; gap: 28px; }
.path-title { font: 500 1.375rem/1.1 var(--serif); color: var(--fg-soft); letter-spacing: .005em; }
.path-list { display: grid; gap: 8px; margin-top: 16px; font-size: .875rem; line-height: 1.55; max-width: 58ch; }
.path-list { gap: 12px; }
.path-list li { display: grid; gap: 1px; }
.path-year { font: italic 500 .9375rem/1.45 var(--serif); color: var(--fg-soft); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
/* wide: one column of labels as wide as the widest («Начало 2010-х.»), right-aligned against the text */
@media (min-width: 560px) {
  .path-list { grid-template-columns: max-content minmax(0, 1fr); gap: 8px 14px; }
  .path-list li { grid-column: 1 / -1; grid-template-columns: subgrid; gap: 0 14px; }
  .path-year { text-align: right; }
}

/* the proof sheet: a slightly lifted dark card holding a 3x3 grid of grey frames */
.cs {
  --cell: 96px;
  display: grid; grid-template-columns: repeat(3, minmax(0, var(--cell))); gap: 14px 10px;
  justify-content: start; width: max-content; max-width: 100%;
  padding: 12px 12px 10px; border-radius: var(--r-2);
  background: var(--sheet-ground); box-shadow: inset 0 0 0 1px rgba(238, 241, 245, .05);
}
.cs-shot { margin: 0; }
.cs-thumb {
  display: block; aspect-ratio: 4 / 3; border-radius: 2px; overflow: hidden; background: #22313F;
  outline-offset: 3px;
}
.cs-thumb img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) brightness(.78) contrast(.92); opacity: .82;
  transition: filter .35s var(--ease), opacity .35s var(--ease), transform .5s var(--ease);
}
.cs-thumb:hover img, .cs-thumb:focus-visible img { filter: none; opacity: 1; transform: scale(1.04); }
.cs-thumb:focus-visible { outline: 2px solid var(--lit-line); }
.cs-shot figcaption { margin-top: 5px; font-size: .75rem; line-height: 1.2; color: var(--fg-quiet); font-variant-numeric: lining-nums tabular-nums; letter-spacing: .02em; }
.cs-shot b { font-weight: 400; }
.cs-rest { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cs-cell:has(.cs-thumb:hover, .cs-thumb:focus-visible) figcaption { color: var(--fg-soft); }

@media (min-width: 900px) {
  .path { padding: 72px 0 48px; }
  .path-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: start; }
  .path-list { font-size: .875rem; }
  .cs { --cell: 84px; margin-top: 4px; }
}

/* ---------- Footer: quiet colophon row under the sheet ---------- */
.site-footer { padding: 0 0 88px; }
.footer-inner { display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid rgba(238, 241, 245, .09); font-size: .8125rem; line-height: 1.55; }
.foot-mark { display: flex; align-items: center; gap: 10px; }
.glyph--foot { width: 22px; height: 22px; flex: none; }
.glyph--foot .g-base { fill: none; stroke: rgba(238, 241, 245, .3); stroke-width: 1.4; }
.glyph--foot .g-hl { fill: #4F6E99; }
.wordmark { font: 500 1.125rem/1 var(--serif); color: #66768A; letter-spacing: .01em; white-space: nowrap; user-select: none; }
.disclaimer { max-width: 72ch; }
.legal { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.legal a { color: var(--fg-soft); text-underline-offset: 4px; text-decoration-color: rgba(238, 241, 245, .25); transition: color .2s, text-decoration-color .2s; }
.legal a:hover { color: var(--paper); text-decoration-color: currentColor; }
/* language switcher: the current code in the legal line, as quiet as the © line; the other codes open upwards.
   Codes only (aria-hidden), the screen reader hears each language's own name. No-JS: the codes stand in a row. */
.legal { align-items: center; }
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 6px; margin: -8px 0 -8px -6px;
  background: none; border: 0; border-radius: 4px; color: var(--fg-quiet); cursor: pointer;
  font: 500 .6875rem/1 var(--sans); letter-spacing: .1em; transition: color .2s;
}
.lang-btn:hover, .lang.is-open .lang-btn { color: var(--fg-soft); }
.lang-list {
  position: absolute; left: -6px; bottom: calc(100% + 4px); display: grid; padding: 3px;
  background: var(--sheet-ground); border: 1px solid rgba(238, 241, 245, .07); border-radius: 6px;
  opacity: 0; visibility: hidden; transform: translateY(3px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
}
.lang.is-open .lang-list { opacity: 1; visibility: visible; transform: none; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s; }
.lang-list a {
  display: flex; align-items: center; min-width: 34px; min-height: 28px; padding: 0 6px; border-radius: 4px;
  color: var(--fg-quiet); font: 500 .6875rem/1 var(--sans); letter-spacing: .1em; text-decoration: none;
}
.lang-list a[href]:hover { color: var(--paper); background: rgba(238, 241, 245, .05); }
.lang-list a[aria-current] { color: var(--fg-soft); text-decoration: underline; text-decoration-color: rgba(238, 241, 245, .3); text-underline-offset: 4px; cursor: default; }
html:not(.js) .lang-btn { display: none; }
html:not(.js) .lang-list { position: static; display: flex; gap: 2px; padding: 0; background: none; border: 0; opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .lang-list, .lang.is-open .lang-list { transition: none; } }
/* phone/tablet: the legal line wraps unpredictably, so the code sits at the right end of the wordmark row */
@media (max-width: 899px) {
  .footer-inner { position: relative; }
  .js .lang { position: absolute; right: calc(var(--gutter) - 6px); top: 19px; } /* the code's letters on the gutter line */
  .js .lang-btn { margin: 0; }
  .js .lang-list { left: auto; right: 0; }
}
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; align-items: start; }
  .foot-mark { margin-top: -1px; }
}

/* ---------- Doc page (privacy.html): the site header and footer, a quiet ledger of sections between ----------
   Same paper ground and hairlines as the light blocks; the title at the page's h2 scale, the date line in the
   serif italic, each section a ledger row (heading left, text right on wide screens) like «Мои книги». */
.doc { padding: 48px 0 72px; }
.doc-head { padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.doc-title { font: 500 clamp(2.25rem, 1.55rem + 2.6vw, 3.75rem)/1.04 var(--serif); letter-spacing: -.012em; color: var(--head); text-wrap: balance; }
.doc-since { margin-top: 12px; font: italic 400 1.1875rem/1.4 var(--serif); color: var(--muted); }
.doc-sec { display: grid; gap: 8px; padding: 24px 0 26px; border-bottom: 1px solid var(--rule); }
.doc-sec h2 { font: 500 1.375rem/1.2 var(--serif); color: var(--head); text-wrap: balance; }
.doc-sec p { max-width: 62ch; }
.doc-sec a { color: var(--cta); text-underline-offset: 3px; text-decoration-color: rgba(25, 76, 142, .35); transition: text-decoration-color .2s; }
.doc-sec a:hover { text-decoration-color: currentColor; }
.page-doc .site-footer { padding-top: 32px; }
.page-doc .footer-inner { border-top: 0; }
@media (min-width: 760px) {
  .doc { padding: 72px 0 112px; }
  .doc-head { padding-bottom: 36px; }
  .doc-sec { grid-template-columns: minmax(0, 340px) minmax(0, 62ch); gap: 48px; padding: 30px 0 32px; }
  .doc-sec h2 { padding-top: 1px; }
}

/* ---------- Lightbox (opened from the sheet) ---------- */
.lb {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 64px 16px 150px; border: 0; background: transparent; color: var(--on-navy);
  display: none; place-items: center; overflow: hidden; touch-action: pinch-zoom;
}
.lb[open] { display: grid; animation: lb-in .28s var(--ease) both; }
.lb::backdrop { background: rgba(9, 14, 20, .94); }
.lb-fig { margin: 0; display: grid; justify-items: center; gap: 14px; max-width: 100%; }
.lb-frame { display: grid; place-items: center; }
.lb-img {
  display: block; width: auto; height: auto; max-width: min(1120px, calc(100vw - 32px)); max-height: calc(100dvh - 260px);
  border-radius: 10px; background: #1B2A39; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6);
}
.lb.is-swap .lb-img { animation: lb-swap .3s var(--ease) both; }
.lb-cap { font-size: .9375rem; color: var(--on-navy); text-align: center; }
.lb-cap .cs-rest { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
.lb-cap b { font: italic 500 1.125rem var(--serif); color: var(--paper); margin-right: 6px; font-variant-numeric: lining-nums; }
.lb-btn {
  position: fixed; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(238, 241, 245, .22); background: rgba(22, 34, 47, .6); color: var(--paper); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.lb-btn:hover:not(:disabled) { background: var(--navy); border-color: rgba(238, 241, 245, .5); }
.lb-btn:focus-visible { outline: 2px solid var(--lit-line); outline-offset: 3px; }
.lb-btn:disabled { opacity: .3; cursor: default; }
.lb-close { top: 12px; right: 12px; }
.lb-prev, .lb-next { bottom: 84px; }
.lb-prev { left: calc(50% - 56px); }
.lb-next { left: calc(50% + 12px); }
@media (min-width: 900px) {
  .lb { padding: 64px 96px; }
  .lb-img { max-width: min(1120px, calc(100vw - 220px)); max-height: calc(100dvh - 170px); }
  .lb-close { top: 20px; right: 24px; }
  .lb-prev, .lb-next { bottom: auto; top: calc(50% - 22px); }
  .lb-prev { left: 28px; }
  .lb-next { left: auto; right: 28px; }
}
html.lb-lock { overflow: hidden; }
@keyframes lb-in { from { opacity: 0; } }
@keyframes lb-swap { from { opacity: 0; transform: scale(.985); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* ---------- Theme additions (Architect, 2026-10-23): the rating widget under «Мой путь» ---------- */
.path-rating { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: .75rem; color: var(--fg-soft); opacity: .85; }
.path-rating .lex-rating-wp { display: inline-flex; align-items: center; gap: 8px; }
.path-rating .lex-rating-wp__value { font-variant-numeric: lining-nums tabular-nums; }
