/* Private proposal pages (p/pervym-delom): the sigrasel.pro world carried over as is. Black ground,
   Sg Display caps for headings, Inter for reading, JetBrains Mono only for numbers, queries and dates.
   Hairlines open sections, white sheets hold the evidence, sky is the colour of action. */
@font-face {
  font-family: 'Sg Display';
  src: url('../../assets/fonts/sofia-sans-xcond-cyrillic.woff2') format('woff2');
  font-weight: 900 1000; font-style: normal; font-display: swap; size-adjust: 122%;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Sg Display';
  src: url('../../assets/fonts/sofia-sans-xcond-latin.woff2') format('woff2');
  font-weight: 900 1000; font-style: normal; font-display: swap; size-adjust: 122%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { font-family: 'Sg Display Fallback'; src: local('Impact'), local('Arial Narrow Bold'); size-adjust: 103%; }

:root {
  color-scheme: dark;
  --bg: #060606; --fg: #FFFFFF; --soft: #CFCFCF; --muted: #9A9A9A;
  --line: rgba(255,255,255,.14); --line-strong: rgba(255,255,255,.36);
  --sky: #C9E2FE; --blue: #0079FF; --blue-ink: #0057C2;
  --ink: #060606; --ink-soft: rgba(6,6,6,.74); --ink-muted: rgba(6,6,6,.6); --ink-line: rgba(6,6,6,.16);
  --display: 'Sg Display', 'Sg Display Fallback', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-color: #2b2b2b var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.55; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--fg); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--blue); }
::selection { background: var(--blue); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
a, button, input { -webkit-tap-highlight-color: rgba(201,226,254,.24); }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Light that follows the cursor, as on the home page. */
.glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glow i { position: absolute; left: 0; top: 0; width: 1200px; height: 1200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201,226,254,.13), rgba(201,226,254,.045) 50%, rgba(201,226,254,0) 100%); transform: translate3d(72vw, 16vh, 0) translate(-50%, -50%); will-change: transform; }
main, .foot { position: relative; z-index: 1; }

/* Header: the site's floating bar, with the reading progress along its bottom edge. */
.hdr { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.hdr-in { pointer-events: auto; position: relative; overflow: hidden; width: min(1392px, calc(100% - 2 * clamp(12px, 2vw, 24px))); height: 64px; padding: 0 8px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(6,6,6,.74); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.brand { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; text-decoration: none; color: var(--fg); }
.brand b { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.brand span { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brand:hover { color: var(--fg); }
.hdr-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; font-size: 15px; }
.hdr-nav a { padding: 8px 12px; text-decoration: none; color: var(--fg); transition: background-color .25s ease, color .25s ease; }
.hdr-nav a:hover { color: var(--blue); }
.hdr-nav a[aria-current="true"] { background: var(--fg); color: var(--ink); }
.hdr-cta { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 8px 0 16px; background: var(--sky); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .15s ease; }
.hdr-cta:hover { background: var(--blue); color: var(--ink); }
.ico { display: grid; place-items: center; width: 28px; height: 28px; background: var(--ink); color: var(--fg); flex: none; }
.ico svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.hdr-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--sky); transform: scaleX(0); transform-origin: left; }
@media (max-width: 1179px) { .hdr-nav { display: none; } .brand span { display: none; } }

/* Section system. */
.sec { max-width: 1440px; margin: 0 auto; padding: clamp(72px, 9vw, 136px) var(--gutter); }
.h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; }
.h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.18; letter-spacing: -.005em; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--soft); max-width: 36em; text-wrap: pretty; }
.copy { font-size: 16px; line-height: 1.6; color: var(--soft); max-width: 40em; text-wrap: pretty; }
.small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(40px, 6vw, 120px); align-items: end; }
.start { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 120px); }
.stick { align-self: start; position: sticky; top: 112px; display: grid; gap: 20px; }
@media (max-width: 1023px) { .head, .split { grid-template-columns: minmax(0, 1fr); } .stick { position: static; } }

/* A section printed on white paper. */
.sheet { position: relative; background: #CCCCCC; color: var(--ink); }
.sheet ::selection { background: var(--ink); color: #FFFFFF; }
.sheet .lead, .sheet .copy { color: var(--ink-soft); }
.sheet .small { color: var(--ink-muted); }
.sheet a { color: var(--ink); }
.sheet a:hover { color: var(--blue-ink); }

/* Actions. */
.btn { display: inline-flex; align-items: center; gap: 16px; height: 56px; padding: 0 10px 0 24px; border: 0; background: var(--sky); color: var(--ink); font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.btn:hover { background: var(--blue); color: var(--ink); }
.btn .ico { width: 36px; height: 36px; }
.btn--ink { background: var(--ink); color: #FFFFFF; }
.btn--ink .ico { background: #FFFFFF; color: var(--ink); }
.btn--ink:hover { background: var(--blue); color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); font-size: 16px; font-weight: 500; text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.more span { display: inline-block; transition: transform .35s var(--ease); }
.more:hover { border-color: var(--blue); }
.more:hover span { transform: translateX(4px); }
.sheet .more { border-color: rgba(6,6,6,.36); }

/* Placeholders the team fills in before sending. */
.ph { border: 1px dashed var(--line-strong); padding: 14px 18px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.ph-k { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--sky); margin-right: 8px; }
.sheet .ph { border-color: rgba(6,6,6,.32); color: var(--ink-muted); }
.sheet .ph-k { color: var(--blue-ink); }

/* Hero: the promise at home-page scale, next to the search it will power. */
.hero { max-width: 1440px; margin: 0 auto; padding: calc(96px + clamp(12px, 2.4vw, 32px)) var(--gutter) clamp(56px, 7vw, 104px); container-type: inline-size; }
.h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: min(9.6cqi, 17svh); line-height: 1.12; letter-spacing: -.005em; }
.h1 span { display: block; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 2.6vw, 40px); margin-top: clamp(28px, 3vw, 44px); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero-copy .lead { color: var(--soft); }
.offer { display: grid; width: 100%; border-bottom: 1px solid var(--line); }
.offer li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 6px 22px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.offer li > b, .offer li > span { grid-column: 2; }
.offer-ic { grid-column: 1; grid-row: 1 / span 2; width: 72px; height: 52px; margin-top: 2px; overflow: visible; }
.offer-ic * { vector-effect: non-scaling-stroke; }
.ic-frame { fill: none; stroke: rgba(255,255,255,.62); stroke-width: 1.25; }
.ic-line { fill: none; stroke: rgba(255,255,255,.4); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.ic-dot { fill: rgba(255,255,255,.7); }
.ic-fill { fill: #FFFFFF; }
.ic-sky { fill: rgba(201,226,254,.14); stroke: var(--sky); stroke-width: 1.25; }
.ic-card { fill: none; stroke: rgba(255,255,255,.32); stroke-width: 1.25; }
.ic-ray { fill: none; stroke: rgba(201,226,254,.3); stroke-width: 1; }
.ic-page { fill: #060606; stroke: var(--sky); stroke-width: 1.25; }
.ic-hub { fill: var(--sky); }
@media (max-width: 767px) { .offer li { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; } .offer-ic { width: 56px; height: 40px; } }
.offer b { font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; line-height: 1.3; }
.offer span { font-size: 16px; line-height: 1.55; color: var(--soft); }
.gains { width: 100%; }
.gains-h { margin-bottom: 4px; font-size: 15px; font-weight: 500; color: var(--fg); }
.gains ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.gains li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 0; }
.gain-ic { width: 40px; height: 40px; overflow: visible; }
.gain-ic * { vector-effect: non-scaling-stroke; }
.ic-sky-line { fill: none; stroke: var(--sky); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gains p { display: grid; gap: 3px; }
.gains b { font-size: 16px; font-weight: 600; line-height: 1.3; }
.gains span { font-size: 14px; line-height: 1.45; color: var(--soft); }
@media (max-width: 767px) { .gains ul { grid-template-columns: minmax(0, 1fr); } }
.proof { display: grid; gap: 22px; align-content: start; margin: 0; }
.proof-shots { display: grid; grid-template-columns: minmax(0, 1.52fr) minmax(0, .66fr); gap: 12px; align-items: start; }
.proof-shot { display: block; border: 1px solid var(--line-strong); background: #111; }
.proof-shot img { display: block; width: 100%; height: auto; }
.proof-shot:hover { border-color: var(--blue); }
.proof-shot { cursor: zoom-in; }
.zoom { max-width: min(1200px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line-strong); background: #0b0b0b; color: var(--fg); overflow: auto; }
.zoom::backdrop { background: rgba(6,6,6,.86); }
.zoom img { display: block; width: auto; max-width: 100%; max-height: calc(100vh - 34px); margin: 0 auto; cursor: zoom-out; }
.zoom-x { all: unset; position: fixed; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; background: var(--fg); color: var(--ink); cursor: pointer; }
.zoom-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.zoom-x:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.proof-cap { display: grid; gap: 12px; }
.proof-cap p { font-size: 16px; line-height: 1.6; color: var(--soft); max-width: 44em; }
.proof .proof-meta { margin-top: -12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.step-k { display: block; margin-bottom: .35em; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--sky); }
.options--steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options--steps .opt .h3 { font-size: clamp(30px, 3vw, 44px); color: var(--fg); }
@media (max-width: 767px) { .proof-shots { grid-template-columns: minmax(0, 1fr) minmax(0, .45fr); } .options--steps { grid-template-columns: minmax(0, 1fr); } }
.hero-meta { margin-top: auto; font-size: 13px; line-height: 1.6; color: var(--muted); }
.stage { display: flex; flex-direction: column; gap: 16px; min-height: clamp(360px, 46svh, 500px); padding: clamp(18px, 2vw, 28px); border: 1px solid var(--line); background: rgba(7,7,7,.92); }
.stage-top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ask { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line-strong); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.4; }
.ask svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--sky); stroke-width: 1.6; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--sky); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.refine { display: flex; flex-wrap: wrap; gap: 8px; }
.refine span { padding: 7px 11px; border: 1px solid var(--line); font-size: 13px; color: var(--soft); }
.refine span b { font-weight: 500; color: var(--fg); }
.results { border-top: 1px solid var(--line); }
.res { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.res b { font-size: 16px; font-weight: 500; }
.res .num { font-size: 15px; white-space: nowrap; }
.res span { font-size: 14px; color: var(--soft); }
.res small { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.stage-foot { margin-top: auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); }
@media (max-width: 1023px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-meta { margin-top: 0; } }
@media (max-width: 599px) { .h1 { font-size: 15.2cqi; line-height: 1.22; } .stage { min-height: 0; } }

/* What the buyer sees in Alice: three frames waiting for real screenshots. */
.alice { margin-top: clamp(64px, 8vw, 120px); display: grid; gap: clamp(24px, 3vw, 40px); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.shot { display: grid; grid-template-rows: auto 1fr; min-height: clamp(220px, 22vw, 320px); border: 1px dashed var(--line-strong); }
.shot-q { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px dashed var(--line-strong); font-family: var(--mono); font-size: 13px; color: var(--fg); }
.shot-q svg { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--sky); stroke-width: 1.8; }
.shot-body { display: grid; place-items: center; padding: 20px; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 899px) { .shots { grid-template-columns: minmax(0, 1fr); } .shot { min-height: 140px; } }

/* Audit on the white sheet: the real page, pinned. */
.audit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 3.4vw, 56px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.browser { border: 1px solid var(--ink-line); background: #FFFFFF; box-shadow: 0 30px 60px -32px rgba(6,6,6,.4); }
.browser-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--ink-line); font-family: var(--mono); font-size: 12px; color: var(--ink-muted); }
.browser-bar svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pinned { position: relative; }
.pin { position: absolute; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--ink); color: #FFFFFF; font: 600 13px/1 var(--mono); box-shadow: 0 0 0 4px var(--sky), 0 6px 16px rgba(6,6,6,.35); }
.findings { border-bottom: 1px solid var(--ink-line); }
.finding { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--ink-line); }
.finding .pin { position: static; transform: none; box-shadow: 0 0 0 4px var(--sky); }
.finding p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.finding p b { color: var(--ink); font-weight: 600; }
.also { margin-top: 20px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.frags { display: grid; gap: clamp(16px, 2vw, 28px); align-content: start; }
.frag img { border: 1px solid var(--ink-line); }
.frag figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.eyes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(48px, 6vw, 88px); }
.eye { display: grid; gap: 12px; align-content: start; padding-top: 18px; border-top: 1px solid var(--ink); }
.eye p { font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.fine { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(28px, 3.4vw, 56px); margin-top: clamp(64px, 8vw, 120px); padding-top: clamp(28px, 3vw, 44px); }
.fine-num { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; letter-spacing: -.005em; text-wrap: balance; max-width: 16em; }
.nw { white-space: nowrap; }
.fine-num small { display: block; margin-top: 18px; font: 500 clamp(17px, 1.4vw, 20px)/1.4 var(--sans); letter-spacing: 0; text-transform: none; }
.fine-text { display: grid; gap: 18px; align-content: start; }
.fine-text p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.law { border-bottom: 1px solid var(--ink-line); }
.law div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 10px 0; border-top: 1px solid var(--ink-line); font-size: 14px; }
.law span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Audit: a checklist beside the pinned screenshot, the fines as one segmented bar */
.checks { display: grid; align-content: start; }
.checks-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.checks-h b { font-size: 19px; font-weight: 600; }
.checks-h span { font-family: var(--mono); font-size: 14px; color: var(--ink-soft); }
.check { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--ink-line); }
.check .pin { position: static; transform: none; width: 26px; height: 26px; font-size: 12px; box-shadow: 0 0 0 3px var(--sky); }
.check-x { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(6,6,6,.28); }
.check-x svg { width: 10px; height: 10px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.check p { display: grid; gap: 1px; }
.check p > b { font-size: 16px; font-weight: 600; line-height: 1.35; }
.check p > span { font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.fines { display: grid; gap: 20px; margin: clamp(56px, 7vw, 104px) 0 0; padding-top: clamp(28px, 3vw, 44px); }
.seg-bar { display: flex; gap: 2px; height: 28px; }
.seg-bar span { display: flex; align-items: center; min-width: 0; padding: 0 12px; border-radius: 4px; background: var(--ink); color: #FFFFFF; font: 600 13px/1 var(--sans); white-space: nowrap; }
.seg-bar span:hover { background: var(--blue-ink); }
.fine-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px clamp(20px, 2.4vw, 40px); }
.fine-legend li { display: grid; gap: 4px; padding-top: 12px; border-top: 1px solid var(--ink-line); }
.fine-legend b { font-family: var(--mono); font-size: 14px; font-weight: 500; }
.fine-legend span { font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.fine-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 767px) {
  .fine-legend { grid-template-columns: minmax(0, 1fr); }
  .seg-bar span { padding: 0 8px; font-size: 12px; }
}
/* Contract guarantees, drawn like the PageSpeed ring on the homepage */
.g-stats { margin-top: clamp(64px, 8vw, 112px); }
.g-grid { --g-viz: 120px; --g-gap: 14px; --g-num: clamp(36px, 3.4vw, 52px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); margin-top: 28px; }
.g-item { display: grid; grid-template-rows: auto var(--g-viz) var(--g-num) auto; row-gap: var(--g-gap); align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.g-label { font-size: 12px; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.g-num { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: var(--g-num); line-height: 1; white-space: nowrap; }
.g-note { font-size: 15px; line-height: 1.45; color: var(--soft); max-width: 22em; text-wrap: pretty; }
.g-ring { grid-row: 2 / span 2; align-self: center; position: relative; display: grid; place-items: center; width: calc(var(--g-viz) + var(--g-gap) + var(--g-num)); max-width: 100%; aspect-ratio: 1; }
.g-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.g-ring circle { fill: none; }
.g-dial { stroke: rgba(255,255,255,.22); stroke-width: 4; stroke-dasharray: .55 5.858; }
.g-track { stroke: rgba(255,255,255,.16); stroke-width: 1.25; }
.g-arc { stroke: var(--sky); stroke-width: 1.25; stroke-dasharray: 364.42; stroke-dashoffset: 29.15; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1); }
.g-mark { stroke: var(--sky); stroke-width: 1.25; transition: opacity .4s ease 1.2s; }
[data-g][data-on="false"] .g-arc { stroke-dashoffset: 364.42; }
[data-g][data-on="false"] .g-mark { opacity: 0; }
.g-viz { width: 100%; max-width: 220px; height: var(--g-viz); overflow: visible; }
.g-viz * { vector-effect: non-scaling-stroke; }
.g-line { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1.25; }
.g-soft { fill: none; stroke: rgba(255,255,255,.26); stroke-width: 1.25; stroke-linecap: round; }
.g-led { fill: var(--sky); }
.g-led--off { fill: rgba(255,255,255,.22); }
.g-shield { fill: #060606; stroke: var(--sky); stroke-width: 1.5; stroke-linejoin: round; }
.g-check, .g-tick { fill: none; stroke: var(--sky); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.g-axis { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1; }
.g-stage { fill: none; stroke: rgba(255,255,255,.3); stroke-width: 1.25; }
.g-stage--done { fill: var(--sky); stroke: var(--sky); }
.g-done { fill: rgba(201,226,254,.14); stroke: var(--sky); stroke-width: 1.25; }
.g-todo { fill: none; stroke: rgba(255,255,255,.3); stroke-width: 1.25; }
.g-n { fill: var(--muted); font: 500 12px var(--mono); text-anchor: middle; }
.days.days--talk { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.days--talk .day b { font-family: var(--sans); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 18px; line-height: 1.4; max-width: 18em; }
@media (prefers-reduced-motion: reduce) { .g-arc, .g-mark { transition: none; } }
@media (max-width: 899px) { .g-grid { grid-template-columns: minmax(0, 1fr); } .g-ring { width: 180px; } }
/* Case rows with real mobile PageSpeed Insights marks */
.case-list { display: grid; margin-top: 18px; border-bottom: 1px solid var(--line); }
.case-row { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 16px 22px; padding: 20px 0; border-top: 1px solid var(--line); }
.case-shot { display: block; align-self: start; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); }
.case-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-shot:hover { border-color: var(--blue); }
.case-txt { display: grid; gap: 10px; align-content: start; container: case / inline-size; }
.case-txt .case-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; color: var(--fg); }
.case-name b { font-size: 17px; font-weight: 600; }
.case-name span { font-size: 13px; color: var(--muted); }
.case-links { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 6px; border: 1px solid var(--line-strong); }
.cl { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 14px; color: var(--fg); font-size: 14px; font-weight: 500; line-height: 1.2; text-decoration: none; transition: color .3s var(--ease), border-color .3s var(--ease); }
.cl::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.cl + .cl { border-top: 1px solid var(--line-strong); }
.cl .cl-ic { margin-left: auto; }
.cl:hover, .cl:focus-visible { color: var(--ink); }
.cl:hover::before, .cl:focus-visible::before { transform: scaleX(1); }
.cl:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; z-index: 1; }
@container case (min-width: 400px) {
  .case-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cl--main { grid-column: 1 / -1; }
  .cl--site { border-left: 1px solid var(--line-strong); }
  .cl { white-space: nowrap; }
}
.cl--main { background: var(--sky); color: var(--ink); }
.cl--main::before { background: var(--fg); }
.cl-ic, .cl-mark { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.cl-mark .cl-hot { stroke: var(--sky); transition: stroke .3s var(--ease), transform .45s var(--ease); transform-origin: 8px 11.5px; }
.cl-mark .cl-dot { fill: currentColor; stroke: none; }
.cl:hover .cl-hot, .cl:focus-visible .cl-hot { stroke: var(--blue-ink); }
.cl:hover .cl-mark path.cl-hot[d^="M8 11.5"], .cl:focus-visible .cl-mark path.cl-hot[d^="M8 11.5"] { transform: rotate(32deg); }
.cl:hover .cl-ic--r, .cl:focus-visible .cl-ic--r { transform: translateX(3px); }
.cl:hover .cl-ic--ne, .cl:focus-visible .cl-ic--ne { transform: translate(2px, -2px); }
.cl--site span { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: -.01em; }
@media (prefers-reduced-motion: reduce) { .cl, .cl::before, .cl-ic, .cl-mark, .cl-mark .cl-hot { transition: none; } }
.psi5-list { --psi-c: var(--sky); --psi-track: rgba(201,226,254,.2); --psi-fill: rgba(201,226,254,.06); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.psi-mini { grid-template-columns: repeat(5, 52px); gap: 10px; margin-top: 2px; }
.psi5-item { display: grid; justify-items: center; align-content: start; gap: 5px; text-align: center; min-width: 0; }
.psi5-mark { position: relative; width: 42px; aspect-ratio: 1; display: grid; place-items: center; }
.psi5-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.psi5-base { fill: var(--psi-fill); stroke: var(--psi-track); stroke-width: 6; stroke-linejoin: round; }
.psi5-arc { fill: none; stroke: var(--psi-c); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: var(--v) 100; }
.psi5-num { position: relative; font: 600 12px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--fg); }
.psi5-tri .psi5-num { transform: translateY(26%); font-size: 10px; }
.psi5-label { font-size: 10px; line-height: 1.2; color: var(--muted); white-space: nowrap; }
/* Over a case's rings: whose numbers these are. Google's audit of the live site, not a figure of ours. */
.case-txt .psi-cap { margin-bottom: -4px; font-size: 13px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
@media (max-width: 767px) { .case-row { grid-template-columns: 92px minmax(0, 1fr); gap: 12px 14px; } .cl { min-height: 44px; } .psi-mini { grid-template-columns: repeat(5, 42px); gap: 5px; } .psi-mini .psi5-mark { width: 38px; } }
.verdict { margin-top: clamp(40px, 5vw, 64px); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; max-width: 34em; text-wrap: pretty; }
@media (max-width: 1023px) { .audit, .fine, .frags { grid-template-columns: minmax(0, 1fr); } .eyes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .pinned .pin { width: 24px; height: 24px; font-size: 11px; box-shadow: 0 0 0 3px var(--sky); } }

/* Market: six practices read as a legend, four signals underneath. */
.practices { margin-top: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.practice { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6px clamp(24px, 3vw, 48px); padding: 20px 0; border-top: 1px solid var(--line); align-items: baseline; }
.practice b { font-weight: 500; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; letter-spacing: -.01em; }
.practice span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.signals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 48px); margin-top: clamp(64px, 8vw, 120px); }
.signal { display: grid; gap: 14px; align-content: start; padding-top: 18px; border-top: 1px solid var(--fg); }
.signal p { font-size: 16px; line-height: 1.6; color: var(--soft); max-width: 34em; }
.src { display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: 12px; }
.src a { color: var(--muted); }
.src a:hover { color: var(--blue); }
.sheet .src a { color: var(--ink-muted); }
.after { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 899px) { .practice, .signals { grid-template-columns: minmax(0, 1fr); } }

/* Accordions: the open goal is the inverse of the page, as on the home page. */
.acc { --acc-line: var(--line); --acc-on-bg: #FFFFFF; --acc-on-fg: var(--ink); --acc-soft: var(--soft); --acc-on-soft: var(--ink-soft); --acc-on-line: var(--ink-line); border-bottom: 1px solid var(--acc-line); }
.acc-item { border-top: 1px solid var(--acc-line); padding: 0 20px; transition: background-color .3s ease, color .3s ease; }
.acc-item[data-open="true"] { background: var(--acc-on-bg); color: var(--acc-on-fg); border-top-color: var(--acc-on-bg); }
.acc-q { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 16px; gap: 24px; align-items: center; padding: 24px 0; }
.acc-q:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.acc-qt { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px 32px; align-items: baseline; }
.acc-t { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 2.8vw, 44px); line-height: 1; }
.acc-s { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; color: var(--acc-soft); text-wrap: pretty; transition: color .3s ease; }
.acc-item[data-open="true"] .acc-s { color: var(--acc-on-soft); }
.acc-x { position: relative; width: 16px; height: 16px; }
.acc-x::before, .acc-x::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.acc-x::after { transform: rotate(90deg); }
.acc-item[data-open="true"] .acc-x::after { transform: rotate(0deg); }
@media (hover: hover) { .acc-item:not([data-open="true"]) .acc-q:hover { color: var(--blue); } }
.acc-a { padding: 0 36px 28px 0; }
.acc-a[hidden] { display: none; }
.acc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.acc-list li { padding: 12px 0; border-top: 1px solid var(--acc-on-line); font-size: 16px; line-height: 1.5; }
.acc-a p { font-size: 16px; line-height: 1.6; color: var(--acc-on-soft); max-width: 44em; text-wrap: pretty; }
@media (max-width: 767px) { .acc-item { padding: 0 14px; } .acc-qt, .acc-list { grid-template-columns: minmax(0, 1fr); } .acc-a { padding-right: 0; } }

.words { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(40px, 6vw, 120px); margin-top: clamp(72px, 9vw, 136px); align-items: start; }
.words .copy + .small { margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 14px; border: 1px solid var(--line-strong); font-family: var(--mono); font-size: 13px; line-height: 1.3; }
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(72px, 9vw, 136px); }
.channel { display: grid; gap: 12px; align-content: start; padding-top: 18px; border-top: 1px solid var(--fg); }
.channel p { font-size: 16px; line-height: 1.6; color: var(--soft); }
.flow { margin-top: clamp(64px, 8vw, 120px); display: grid; gap: 28px; }
.flow-line { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow-step { display: grid; gap: 14px; align-content: start; padding-right: 20px; }
.node { display: flex; align-items: center; }
.node > span:first-child { flex: none; width: 10px; height: 10px; background: var(--sky); }
.node > span:last-child { flex: 1; height: 1px; margin-right: -20px; background: var(--line-strong); }
.flow-step:last-child .node > span:last-child { display: none; }
.flow-step b { font-weight: 500; font-size: 17px; }
.flow-step p { font-size: 15px; line-height: 1.5; color: var(--soft); }
.note { font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 1023px) {
  .words, .channels { grid-template-columns: minmax(0, 1fr); }
  .flow-line { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .flow-step { padding: 0 0 0 18px; border-left: 1px solid var(--line-strong); }
  .flow-step .node { display: none; }
}

/* Two paths: one switch redraws the field of cities. */
.seg { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); }
.seg button { all: unset; box-sizing: border-box; cursor: pointer; height: 44px; padding: 0 22px; font-size: 15px; font-weight: 500; color: var(--fg); transition: background-color .2s ease, color .2s ease; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--ink); }
.seg button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (hover: hover) { .seg button[aria-pressed="false"]:hover { color: var(--blue); } }
.field-wrap { margin-top: 20px; }
.field { position: relative; height: clamp(340px, 40vw, 540px); border: 1px solid var(--line); background: rgba(7,7,7,.94); overflow: hidden; }
.field canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.field-cap { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--soft); }
.field-cap b { font-weight: 500; color: var(--fg); }
.options { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 2.4vw, 32px); margin-top: clamp(28px, 3vw, 44px); }
.opt { display: grid; gap: 12px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.opt--set { border-top: 2px solid var(--sky); }
.opt--small .h3 { font-size: clamp(24px, 2vw, 30px); color: var(--soft); }
.opt--set .h3 { font-size: clamp(36px, 3.6vw, 56px); }
.opt p { font-size: 16px; line-height: 1.55; color: var(--soft); max-width: 36em; }
.opt .num { font-size: 14px; color: var(--fg); }
.badge { display: inline-block; margin-left: 12px; padding: 5px 8px; background: var(--sky); color: var(--ink); font: 600 12px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; vertical-align: .55em; }
@media (max-width: 1023px) { .options { grid-template-columns: minmax(0, 1fr); } .field { height: clamp(320px, 96vw, 460px); } }

/* Price lines and lists of what is included. */
.price { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(52px, 5.4vw, 84px); line-height: .95; letter-spacing: -.005em; }
.price-note { font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--muted); }
.sheet .price-note { color: var(--ink-muted); }
.rows { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
.row > span:first-child { font-size: 17px; line-height: 1.45; }
.row > span:last-child { font-size: 14px; color: var(--muted); white-space: nowrap; text-align: right; }
.sheet .rows, .sheet .row { border-color: var(--ink-line); }
.sheet .row > span:last-child { color: var(--ink-muted); }
.sub { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 20px; }
@media (max-width: 599px) { .row { grid-template-columns: minmax(0, 1fr); } .row > span:last-child { text-align: left; white-space: normal; } }

/* The network on white: five steps of the harness. */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.step { display: grid; gap: 12px; align-content: start; padding: 20px 20px 8px 0; }
.step + .step { padding-left: 20px; border-left: 1px solid var(--ink-line); }
.step-n { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 5vw, 84px); line-height: .82; color: rgba(6,6,6,.5); }
.step b { font-size: 17px; font-weight: 600; }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.set-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 120px); margin-top: clamp(64px, 8vw, 120px); align-items: start; }
.wave { margin-top: 18px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.wave b { color: var(--ink); font-weight: 600; }
.goal { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(40px, 6vw, 120px); margin-top: clamp(64px, 8vw, 120px); padding-top: clamp(28px, 3vw, 44px); align-items: start; }
.goal-h { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 3.9vw, 60px); line-height: 1; letter-spacing: -.005em; text-wrap: balance; }
.goal-side { display: grid; gap: 18px; }
.set-price { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(40px, 6vw, 120px); margin-top: clamp(56px, 7vw, 104px); padding: clamp(24px, 2.6vw, 40px); background: var(--ink); color: #FFFFFF; align-items: end; }
.set-price .price-note { color: var(--soft); }
@media (max-width: 1023px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink-line); }
  .set-grid, .goal, .set-price { grid-template-columns: minmax(0, 1fr); }
}

/* Money: a calculator that waits for the client's own numbers. */
.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 120px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.inputs { display: grid; gap: 18px; }
.inputs label { display: grid; gap: 8px; font-size: 15px; color: var(--soft); }
.input { width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 0; background: transparent; color: var(--fg); font: 500 18px/1 var(--mono); font-variant-numeric: tabular-nums; caret-color: var(--sky); }
.input::placeholder { color: #8C8C8C; }
.input:focus { outline: none; border-color: var(--sky); }
.input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.out { border-bottom: 1px solid var(--line); }
.out-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; padding: 22px 0; border-top: 1px solid var(--line); align-items: baseline; }
.out-row .h3 { font-size: clamp(30px, 2.8vw, 42px); }
.out-row .num { font-size: clamp(20px, 1.8vw, 26px); text-align: right; }
.out-row small { grid-column: 1 / -1; font-size: 14px; line-height: 1.5; color: var(--muted); }
.out-row[data-pick="true"] .h3 { color: var(--sky); }
.table-wrap { margin-top: clamp(56px, 7vw, 104px); overflow-x: auto; }
.cmp { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.cmp th, .cmp td { padding: 14px 16px 14px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { border-top: 0; padding-bottom: 12px; font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1; text-transform: uppercase; }
.cmp thead th:first-child { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--muted); }
.cmp tbody th { width: 22%; font-weight: 500; color: var(--muted); }
.cmp td { color: var(--soft); }
.cmp .is-set { color: var(--fg); background: rgba(201,226,254,.06); padding-left: 16px; }
.cmp thead .is-set { color: var(--sky); background: rgba(201,226,254,.06); padding-left: 16px; }
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(56px, 7vw, 104px); }
.term { display: grid; gap: 12px; align-content: start; padding-top: 18px; border-top: 1px solid var(--fg); }
.term p { font-size: 16px; line-height: 1.6; color: var(--soft); }
@media (max-width: 1023px) { .calc, .terms { grid-template-columns: minmax(0, 1fr); } }
/* On a phone each comparison row becomes a pair: the question, then the two answers side by side. */
@media (max-width: 767px) {
  .table-wrap { overflow: visible; }
  .cmp { min-width: 0; font-size: 14px; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 10px; padding: 14px 0; border-top: 1px solid var(--line); }
  .cmp tbody th, .cmp td { display: block; width: auto; padding: 0; border: 0; }
  .cmp tbody th { grid-column: 1 / -1; padding-bottom: 8px; }
  .cmp td::before { content: attr(data-label); display: block; margin-bottom: 4px; font: 500 11px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .cmp .is-set { padding: 8px 10px; }
  .cmp td.is-set::before { color: var(--sky); }
  .cmp td:not(.is-set) { padding-top: 8px; }
}

/* Why us: the list, the work, and an inverse panel for why them. */
.why { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 120px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.why-list { border-bottom: 1px solid var(--line); }
.why-list > li { display: grid; gap: 10px; padding: 22px 0; border-top: 1px solid var(--line); }
.why-list b { font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.01em; }
.why-list p { font-size: 16px; line-height: 1.6; color: var(--soft); max-width: 40em; }
.cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.case { display: grid; gap: 8px; text-decoration: none; color: var(--fg); }
.case-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #111111; }
.case-img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: box-shadow .3s ease; }
.case-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case span { font-size: 13px; color: var(--muted); }
.case:hover { color: var(--fg); }
.case:hover .case-img::after { box-shadow: inset 0 0 0 1px var(--blue); }
.you { position: sticky; top: 112px; display: grid; gap: 18px; padding: clamp(24px, 2.6vw, 40px); background: #FFFFFF; color: var(--ink); }
.you p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.you p.pledge { color: var(--ink); font-weight: 600; }
.passport { margin-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(40px, 6vw, 120px); }
.pp { border-bottom: 1px solid var(--line); }
.pp div { display: grid; grid-template-columns: minmax(110px, 2fr) minmax(0, 5fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.pp dt { font-size: 14px; font-weight: 500; color: var(--sky); }
.pp dd { font-size: 16px; line-height: 1.5; color: var(--soft); }
@media (max-width: 1023px) { .why, .passport { grid-template-columns: minmax(0, 1fr); } .you { position: static; } .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .pp div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* First thirty days on one axis. */
.days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 72px); }
.day { display: grid; gap: 14px; align-content: start; padding-right: 24px; }
.day .node > span:last-child { margin-right: -24px; }
.day:last-child .node > span:last-child { display: none; }
.day .num { font-size: 13px; color: var(--sky); }
.day b { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 2.2vw, 34px); line-height: 1; }
.day p { font-size: 15px; line-height: 1.55; color: var(--soft); }
@media (max-width: 1023px) {
  .days { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .day { padding: 0 0 0 18px; border-left: 1px solid var(--line-strong); }
  .day .node { display: none; }
}

/* Finale: the action colour at first-screen scale. */
.fin { padding: clamp(72px, 9vw, 136px) var(--gutter) clamp(48px, 6vw, 88px); background: var(--sky); color: var(--ink); }
.fin ::selection { background: var(--ink); color: #FFFFFF; }
.fin-in { max-width: 1344px; margin: 0 auto; container-type: inline-size; }
.fin-h { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: min(13cqi, 220px); line-height: 1.12; letter-spacing: -.01em; }
.fin-h span { display: block; }
.fin-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(40px, 6vw, 120px); align-items: end; margin-top: clamp(40px, 5vw, 72px); }
.fin-act { display: grid; gap: 22px; justify-items: start; }
.fin-act p { font-size: clamp(24px, 2.4vw, 36px); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); max-width: 18em; text-wrap: balance; }
.fin-contacts { display: grid; }
.fin-contacts > div { display: grid; gap: 6px; padding: 18px 0; border-top: 1px solid rgba(6,6,6,.2); }
.fin-contacts dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(6,6,6,.62); }
.fin-contacts dd { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 2.8vw, 44px); line-height: 1; letter-spacing: -.005em; }
.fin-contacts a { color: var(--ink); text-decoration: none; white-space: nowrap; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.fin-contacts a:hover { color: var(--ink); text-decoration-line: underline; }
@media (max-width: 767px) { .fin-row { grid-template-columns: minmax(0, 1fr); } .fin-h { font-size: 16cqi; } }

/* Footer. */
.foot { max-width: 1440px; margin: 0 auto; padding: 24px var(--gutter) 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--fg); }

/* Market page: the full comparison, dark. */
.mk-hero { max-width: 1440px; margin: 0 auto; padding: calc(96px + clamp(12px, 2.4vw, 32px)) var(--gutter) clamp(40px, 5vw, 72px); container-type: inline-size; display: grid; gap: 28px; }
.mk-hero .h1 { font-size: min(7.6cqi, 15svh); }
.mk-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
/* Folded blocks: a plaque with the block's key thesis; the body opens on demand */
.fold { padding-top: 0; padding-bottom: 0; }
.fold[data-open="true"] { padding-bottom: clamp(72px, 9vw, 136px); }
.sheet .fold { padding-top: clamp(20px, 2.4vw, 32px); padding-bottom: clamp(20px, 2.4vw, 32px); }
.sheet .fold[data-open="true"] { padding-bottom: clamp(72px, 9vw, 136px); }
.sheet + .fold { padding-top: clamp(20px, 2.4vw, 32px); }
.fold-h { margin: 0; font: inherit; }
.fold-q { all: unset; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) auto; gap: 12px clamp(28px, 4vw, 80px); align-items: center; width: 100%; padding: clamp(24px, 2.8vw, 40px) 0; cursor: pointer; }
.fold-t { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.06; letter-spacing: -.005em; text-wrap: balance; transition: color .2s ease; }
.fold-s { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; color: var(--soft); text-wrap: pretty; }
.sheet .fold-s { color: var(--ink-soft); }
/* Toggle: a pill that says what it does, «Подробнее» with a chevron down, «Свернуть» with it up. */
.fold-x { justify-self: end; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 20px; border-radius: 999px; background: var(--sky); color: var(--ink); font: 600 15px/1 var(--sans); white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.fold-x::before { content: "Подробнее"; }
.fold-x::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s var(--ease); }
.fold[data-open="true"] .fold-x::before { content: "Свернуть"; }
.fold[data-open="true"] .fold-x::after { margin-top: 4px; transform: rotate(-135deg); }
.sheet .fold-x { background: var(--ink); color: #FFFFFF; }
@media (hover: hover) { .fold-q:hover .fold-x { background: var(--blue); color: #FFFFFF; } }
@media (hover: hover) { .fold-q:hover .fold-t { color: var(--blue); } .sheet .fold-q:hover .fold-t { color: var(--blue-ink); } }
.fold-q:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.fold-body { padding-top: clamp(4px, 1vw, 12px); }
.fold-body[hidden] { display: none; }
.fold-lead { max-width: 44em; }
@media (max-width: 767px) {
  .fold-q { grid-template-columns: minmax(0, 1fr); }
  .fold-t { grid-column: 1; grid-row: 1; font-size: clamp(28px, 8.4vw, 38px); }
  .fold-x { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 4px; height: 40px; font-size: 14px; }
  .fold-s { grid-column: 1 / -1; grid-row: 2; }
}
/* Market infographics: ranked demand bars and the SERP presence grid */
.mk-viz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 72px); margin-top: clamp(40px, 5vw, 72px); }
.viz { margin: 0; display: grid; gap: 22px; align-content: start; padding-top: 18px; border-top: 1px solid var(--fg); }
.viz-h { display: grid; gap: 4px; }
.viz-h b { font-size: 19px; font-weight: 600; line-height: 1.3; }
.viz-h span { font-size: 13px; color: var(--muted); }
.bars { width: 100%; border-collapse: collapse; }
.bars tr { display: grid; gap: 8px; }
.bars tr + tr { margin-top: 18px; }
.bars th { padding: 0; text-align: left; font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--soft); }
.bars td { padding: 0; }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar { flex: none; width: calc((100% - 120px) * var(--w)); min-width: 2px; height: 16px; border-radius: 0 4px 4px 0; background: var(--sky); transition: background-color .2s ease; }
.bars tr:hover .bar { background: #FFFFFF; }
.bar-v { display: inline-flex; align-items: baseline; gap: 8px; font-size: 17px; font-weight: 600; white-space: nowrap; }
.bar-v small { font-size: 12px; font-weight: 400; color: var(--muted); }
.dots { border-collapse: collapse; width: 100%; }
.dots th, .dots td { padding: 0; }
.dots .grp th { padding-bottom: 10px; font-size: 12px; font-weight: 500; color: var(--muted); text-align: left; }
.dots .grp th[colspan] { padding-left: 6px; }
.dots .qs th { height: 0; }
.dots tbody th { padding-right: 12px; text-align: left; font-size: 14px; font-weight: 500; color: var(--soft); white-space: nowrap; }
.dots td { position: relative; width: 26px; height: 32px; padding: 0 7px; text-align: center; }
.dots .g { border-left: 1px solid var(--line); }
.dots td.n { width: auto; padding-left: 12px; font-family: var(--mono); font-size: 13px; color: var(--soft); text-align: right; white-space: nowrap; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); vertical-align: middle; transition: transform .15s ease; }
.dot.on { background: #E8E8E8; box-shadow: none; }
.dots .me th, .dots .me td { background: rgba(201,226,254,.08); }
.dots .me th, .dots .me td.n { color: var(--fg); font-weight: 600; }
.dots .me .dot { box-shadow: inset 0 0 0 1.5px var(--sky); }
.dots td[data-tip]:hover .dot { transform: scale(1.3); }
.dots td[data-tip]:hover::after { content: attr(data-tip); position: absolute; bottom: calc(100% - 4px); left: 50%; z-index: 6; transform: translateX(-50%); padding: 7px 10px; background: #151515; border: 1px solid var(--line-strong); font: 500 12px/1.35 var(--sans); color: var(--fg); white-space: nowrap; pointer-events: none; }
.dots td.r[data-tip]:hover::after { left: auto; right: 0; transform: none; }
.dots .n-sl { display: none; }
.dots-key { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.dots-key > span { display: inline-flex; align-items: center; gap: 8px; }
.dots-key a { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.dots-key a:hover { color: var(--blue); }
.rivals { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px clamp(24px, 3vw, 48px); margin-top: clamp(48px, 6vw, 80px); padding-top: 18px; border-top: 1px solid var(--line); align-items: baseline; }
.rivals-h { font-size: 14px; font-weight: 500; color: var(--sky); }
.rivals ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px clamp(20px, 2.4vw, 40px); }
.rivals li { display: grid; gap: 4px; font-size: 15px; line-height: 1.45; color: var(--soft); }
.rivals li a { font-weight: 600; color: var(--fg); text-decoration: none; }
.rivals li a:hover { color: var(--blue); }
/* Solution: four goals mapped to two tools, channels as one panel */
.map { display: grid; gap: clamp(28px, 3.4vw, 48px); margin-top: clamp(40px, 5vw, 72px); }
.map-band { display: grid; grid-template-columns: minmax(0, 6fr) clamp(88px, 10vw, 150px) minmax(0, 5fr); align-items: stretch; }
.map-goals { display: grid; grid-auto-rows: 1fr; border-bottom: 1px solid var(--line); }
.map-goals li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.map-goals li > div { display: grid; gap: 6px; }
.map-goals li::after { content: ""; position: absolute; right: -5px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--bg); border: 1.5px solid rgba(255,255,255,.6); box-sizing: border-box; }
.map-band--net .map-goals li::after { background: var(--sky); border-color: var(--sky); }
.map-goals b { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.04; }
.map-goals span { font-size: 15px; line-height: 1.45; color: var(--soft); }
.goal-ic { width: 36px; height: 36px; fill: none; stroke: rgba(255,255,255,.72); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.goal-ic .gs { stroke: var(--sky); }
.map-wire { display: block; width: 100%; height: 100%; overflow: visible; }
.map-wire path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.wire { stroke: rgba(255,255,255,.34); stroke-width: 1.5; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease); }
.wire-flow { stroke: rgba(255,255,255,.75); stroke-width: 1.5; stroke-dasharray: 1.5 8.5; animation: wire-flow 2.4s linear infinite; transition: opacity .6s ease 1s; }
.map-band--net .wire { stroke: rgba(201,226,254,.45); }
.map-band--net .wire-flow { stroke: var(--sky); stroke-width: 2; animation-duration: 1.4s; }
@keyframes wire-flow { to { stroke-dashoffset: -20; } }
.map[data-on="false"] .wire { stroke-dashoffset: 100; }
.map[data-on="false"] .wire-flow { opacity: 0; }
.map-drop { display: none; }
.map-tool { position: relative; align-self: center; display: grid; gap: 10px; justify-items: start; padding: clamp(22px, 2.4vw, 34px); background: #101010; border: 1px solid var(--line-strong); }
.map-tool::before { content: ""; position: absolute; left: -6px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 4px var(--bg); }
.map-tool--net { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.map-tool--net::before { background: var(--sky); }
.map-ic { width: 72px; height: 52px; margin-bottom: 6px; overflow: visible; }
.map-ic * { vector-effect: non-scaling-stroke; }
.map-tool--net .ic-ray { stroke: rgba(6,6,6,.3); }
.map-tool--net .ic-dot { fill: var(--ink); }
.map-tool--net .ic-page { fill: var(--sky); stroke: var(--ink); }
.map-tool--net .ic-hub { fill: var(--ink); }
.map-tool b { font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.2; }
.map-tool > span:last-child { font-size: 15px; line-height: 1.5; color: var(--soft); }
.map-tool--net > span:last-child { color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { .wire, .wire-flow { transition: none; animation: none; } .wire-flow { display: none; } }
.ch { margin-top: clamp(64px, 8vw, 112px); }
.ch-rows { margin-top: 24px; border-bottom: 1px solid var(--line); }
.ch-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 18px clamp(24px, 3vw, 48px); padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.ch-name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 32px); line-height: 1; }
.meter { display: grid; gap: 10px; }
.meter + .meter { margin-top: 20px; }
.meter-top { display: flex; align-items: baseline; gap: 12px; }
.meter-v { font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; line-height: 1; }
.meter-l { font-size: 14px; line-height: 1.4; color: var(--soft); }
.meter-track { display: block; height: 8px; border-radius: 4px; background: rgba(201,226,254,.16); overflow: hidden; }
.meter-fill { display: block; height: 100%; width: var(--v); border-radius: 4px; background: var(--sky); }
.ch-what { display: grid; gap: 12px; }
.ch-what > p:first-child { font-size: 17px; line-height: 1.45; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-i { padding: 6px 10px; border: 1px solid var(--line-strong); font-size: 13px; line-height: 1.3; color: var(--soft); }
.tag-q { font-family: var(--mono); }
.mini-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; }
.mini-flow li { display: flex; align-items: center; gap: 6px; }
.mf-node { padding: 8px 12px; border: 1px solid var(--sky); font-size: 14px; white-space: nowrap; }
.mini-flow svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 899px) {
  .mk-viz, .ch-row { grid-template-columns: minmax(0, 1fr); }
  .rivals, .rivals ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .dots td { width: 20px; height: 30px; padding: 0 4px; }
  .dots .grp th { white-space: nowrap; }
  .dots tbody th { padding-right: 8px; font-size: 13px; }
  .dots td.n { padding-left: 8px; font-size: 12px; }
  .dots .grp th { font-size: 11px; }
  .dots tr > :last-child { display: none; }
  .map-band { grid-template-columns: minmax(0, 1fr); }
  .map-wire, .map-goals li::after { display: none; }
  .map-drop { display: block; position: relative; height: 44px; }
  .map-drop::before { content: ""; position: absolute; left: 17px; top: 0; bottom: 8px; border-left: 1.5px solid rgba(255,255,255,.4); }
  .map-drop::after { content: ""; position: absolute; left: 13px; bottom: 6px; width: 8px; height: 8px; border-right: 1.5px solid rgba(255,255,255,.4); border-bottom: 1.5px solid rgba(255,255,255,.4); transform: rotate(45deg); }
  .map-band--net .map-drop::before, .map-band--net .map-drop::after { border-color: var(--sky); }
  .map-tool { align-self: stretch; }
  .map-tool::before { display: none; }
}
/* Accordion groups in the solution block */
.acc-label { margin: clamp(32px, 4vw, 48px) 0 14px; font-size: 14px; font-weight: 500; color: var(--sky); }
/* Yandex SERP on the market page */
.sp { width: 100%; margin-top: clamp(32px, 4vw, 56px); border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.sp th, .sp td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sp th:first-child { padding-left: 0; }
.sp th:last-child, .sp td:last-child { padding-right: 0; }
.sp thead th { font-size: 12px; font-weight: 500; color: var(--muted); vertical-align: bottom; border-bottom-color: var(--fg); }
.sp tbody th { width: 27%; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.sp tbody th a { color: var(--fg); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.sp tbody th a:hover { color: var(--blue); }
.sp td { color: var(--soft); }
.sp td.num { width: 11%; font-family: var(--mono); font-size: 13px; white-space: nowrap; color: var(--fg); }
.sp .grp th { width: auto; padding-top: 28px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--sky); border-bottom-color: var(--line-strong); }
.sp-note { margin-top: 14px; max-width: 52em; }
.sp-verdict { margin-top: clamp(48px, 6vw, 80px); padding-top: 18px; border-top: 1px solid var(--fg); max-width: 34em; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; font-weight: 500; color: var(--fg); }
@media (max-width: 767px) {
  .sp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sp tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .sp th, .sp td, .sp tbody th, .sp td.num { display: block; width: auto; padding: 0; border: 0; white-space: normal; }
  .sp tbody th { padding-bottom: 4px; }
  .sp td::before { content: attr(data-label) ": "; font-family: var(--sans); font-size: 12px; color: var(--muted); }
  .sp .grp { padding: 22px 0 8px; border-bottom-color: var(--line-strong); }
  .sp .grp th { padding: 0; }
}
/* Demand from Wordstat on the market page */
.dm { width: 100%; margin-top: clamp(32px, 4vw, 56px); border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.dm th, .dm td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: baseline; }
.dm th:first-child { padding-left: 0; text-align: left; }
.dm th:last-child, .dm td:last-child { padding-right: 0; }
.dm thead th { font-size: 12px; font-weight: 500; color: var(--muted); vertical-align: bottom; border-bottom-color: var(--fg); }
.dm tbody th { font-weight: 500; color: var(--fg); }
.dm td { font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; color: var(--soft); white-space: nowrap; }
.dm tfoot th, .dm tfoot td { border-top: 1px solid var(--fg); border-bottom: 0; color: var(--fg); font-weight: 600; }
.dm .tag { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--sky); }
.dm-src { margin-top: 14px; }
.dm-signals .signal .h3 { font-size: clamp(24px, 2.2vw, 32px); }
.dm-tail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(24px, 4vw, 64px); margin-top: clamp(56px, 7vw, 96px); }
.dm-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; align-content: start; }
.dm-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--soft); }
.dm-list li span:last-child { font-family: var(--mono); font-size: 13px; color: var(--fg); white-space: nowrap; }
@media (max-width: 767px) {
  .dm { font-size: 13px; }
  .dm th, .dm td { padding: 12px 5px; }
  .dm td { font-size: 12px; }
  .dm thead th { font-size: 11px; }
  .dm-tail, .dm-list { grid-template-columns: minmax(0, 1fr); }
}
.patterns { margin-top: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.patterns li { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 4px 32px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
.patterns a { font-weight: 500; font-size: 18px; text-decoration: none; }
.patterns span { font-size: 15px; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 28px; }
.filters button { all: unset; box-sizing: border-box; cursor: pointer; height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); font: 500 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--soft); font-variant-numeric: tabular-nums; }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.filters button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.filters .count { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mk { width: 100%; margin-top: 18px; border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 1.45; }
.mk thead th { position: sticky; top: 84px; z-index: 2; padding: 12px 12px 10px; border-bottom: 1px solid var(--fg); background: var(--bg); text-align: left; vertical-align: bottom; font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mk td { padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--soft); }
.mk td.out { background: rgba(201,226,254,.07); color: var(--fg); }
.mk .co { display: block; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: 1; color: var(--fg); }
.mk .co-meta { display: block; margin-top: 6px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.mk ul { display: grid; gap: 6px; }
.mk .tag { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mk .links { display: grid; gap: 5px; font-family: var(--mono); font-size: 12px; }
.mk .links a { color: var(--muted); overflow-wrap: anywhere; }
.mk .links a:hover { color: var(--blue); }
.mk tr[hidden] { display: none; }
@media (max-width: 900px) {
  .mk, .mk thead, .mk tbody, .mk tr, .mk td { display: block; width: 100%; }
  .mk thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mk tbody tr { margin-bottom: 14px; padding: 6px 14px 4px; border: 1px solid var(--line); }
  .mk td { padding: 12px 0; }
  .mk td:last-child { border-bottom: 0; }
  .mk td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .mk td.out { margin: 0 -14px; padding: 12px 14px; width: auto; }
}
.theses-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.tgroup { margin-top: clamp(40px, 5vw, 64px); scroll-margin-top: 96px; }
.tgroup > h3 { padding-bottom: 12px; border-bottom: 1px solid var(--fg); }
.thesis { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.thesis p { font-size: 16px; line-height: 1.6; color: var(--soft); max-width: 46em; text-wrap: pretty; }
.thesis .src { grid-column: 1; }
.copy-btn { all: unset; box-sizing: border-box; grid-column: 2; grid-row: 1 / span 2; align-self: start; cursor: pointer; height: 34px; padding: 0 12px; border: 1px solid var(--line-strong); font: 500 12px/34px var(--mono); color: var(--soft); white-space: nowrap; }
.copy-btn:hover { color: var(--fg); border-color: var(--fg); }
.copy-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.copy-all { all: unset; box-sizing: border-box; cursor: pointer; height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); font: 500 13px/44px var(--mono); color: var(--fg); }
.copy-all:hover { border-color: var(--fg); }
.copy-all:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 599px) { .thesis { grid-template-columns: minmax(0, 1fr); } .copy-btn { grid-column: 1; grid-row: auto; justify-self: start; } .patterns li { grid-template-columns: minmax(0, 1fr); } }

/* Password gate in the built pages. */
.gate { min-height: 100svh; display: grid; place-items: center; padding: 24px var(--gutter); position: relative; z-index: 1; }
.gate-box { width: min(460px, 100%); display: grid; gap: 22px; }
.gate .brand { padding: 0; }
.gate-h { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 9vw, 76px); line-height: 1.04; }
.gate p { font-size: 16px; line-height: 1.55; color: var(--soft); }
.gate form { display: grid; gap: 10px; }
.gate label { font-size: 14px; color: var(--soft); }
.gate-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.gate .btn { height: 56px; padding: 0 22px; }
.gate .btn[disabled] { opacity: .6; cursor: progress; }
.gate-err { min-height: 1.5em; font-size: 14px; color: #FF9A9A; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Very narrow phones (320–379px): header button, cases in one column, tighter dot table. */
@media (max-width: 379px) {
  .hdr-in { padding: 0 6px 0 14px; }
  .hdr-cta { gap: 8px; padding: 0 6px 0 10px; font-size: 13px; }
  .case-row { grid-template-columns: minmax(0, 1fr); }
  .case-shot { width: 136px; }
  .dots td { width: 16px; padding: 0 2px; }
  .dots tbody th { font-size: 12px; padding-right: 6px; }
}

/* Rounded header: panel, links, call button and its icon, nested radii. */
.hdr-in { border-radius: 18px; }
.hdr-nav a { border-radius: 10px; }
.hdr-cta { border-radius: 12px; }
.hdr-cta .ico { border-radius: 7px; }

/* ===== МирАвто: blocks of this proposal on top of the «Первым делом» styles ===== */
.buyer-questions { margin-top: 8px; border-bottom: 1px solid var(--ink-line); }
.buyer-questions > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(32px, 5vw, 80px); padding: 28px 0; border-top: 1px solid var(--ink-line); }
.buyer-questions dt { font-size: clamp(20px, 2vw, 28px); font-weight: 500; line-height: 1.3; letter-spacing: -.01em; max-width: 24ch; }
.buyer-questions dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 60ch; }
.buyer-questions a { text-underline-offset: 3px; }
.mini-flow--lg { margin: 8px 0 clamp(28px, 3vw, 44px); }
.mini-flow--lg .mf-node { padding: 12px 18px; border-radius: 999px; font-size: 15px; }
.why-list--solo { max-width: 860px; }
.economy-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 120px); align-items: start; }
.equation { color: var(--sky); font-size: clamp(24px, 2.5vw, 36px); line-height: 1.3; max-width: 23ch; }
.equation span { display: block; padding: 10px 0; }
.economy-body .copy { display: grid; gap: 18px; }
.you-steps { display: grid; counter-reset: st; }
.you-steps li { counter-increment: st; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 14px; padding: 14px 0; border-top: 1px solid var(--ink-line); }
.you-steps li::before { content: counter(st); grid-row: 1 / span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sky); color: var(--ink); font: 600 14px/1 var(--sans); }
.you-steps b { font-size: 17px; font-weight: 600; }
.you-steps p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
#paths .g-stats { margin-top: clamp(56px, 7vw, 104px); }
@media (max-width: 1023px) { .economy-body { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .buyer-questions > div { grid-template-columns: minmax(0, 1fr); padding: 22px 0; } .mini-flow--lg .mf-node { padding: 10px 14px; font-size: 14px; } }

/* Ad landing (/razrabotka/): the quiz button sits on the first screen and closes the page. */
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-cta-note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--soft); }
.hero-cta-note a { color: var(--fg); text-underline-offset: 3px; }
.start-act { display: grid; gap: 28px; justify-items: start; }

/* «Как мы работаем»: the shoot behind a texture next to the studio's standards, then everything it does itself. */
.work { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px clamp(40px, 6vw, 120px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
/* Column widths follow the two photos' proportions, so both stand at one height. */
.work-shots { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; }
.work-shots figure { display: grid; gap: 10px; align-content: start; }
.work-shots figcaption { font-size: 13px; line-height: 1.4; color: var(--muted); }
.work-shot { display: block; border: 1px solid var(--line-strong); background: #111111; cursor: zoom-in; }
.work-shot img { width: 100%; height: auto; }
.work-shot:hover { border-color: var(--blue); }
.work-list { counter-reset: work; border-bottom: 1px solid var(--line); }
.work-list > li { counter-increment: work; display: grid; grid-template-columns: clamp(56px, 5.4vw, 84px) minmax(0, 1fr); gap: 10px clamp(16px, 1.8vw, 28px); padding: 28px 0; border-top: 1px solid var(--line); }
/* Step numbers set large in the display face of the headings. */
.work-list > li::before { content: counter(work); grid-row: 1 / span 2; align-self: start; margin-top: -.06em; font-family: var(--display); font-weight: 900; font-size: clamp(60px, 5.6vw, 88px); line-height: .82; font-variant-numeric: tabular-nums; color: var(--sky); }
.work-list b { font-size: clamp(19px, 1.6vw, 22px); font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.work-list p { font-size: 16px; line-height: 1.6; color: var(--soft); max-width: 40em; text-wrap: pretty; }
.work-list > li > * { grid-column: 2; }
.work-api { display: block; max-width: 520px; margin-top: 8px; border: 1px solid var(--line-strong); background: #FFFFFF; cursor: zoom-in; }
.work-api img { width: 100%; height: auto; }
.work-api:hover { border-color: var(--blue); }
.work-list .work-api-cap { font-size: 13px; line-height: 1.4; color: var(--muted); }
/* The photos stay in view while the longer list scrolls past them. */
@media (min-width: 1024px) { .work-shots { position: sticky; top: 112px; } }
.turnkey { display: grid; gap: 16px; margin-top: clamp(64px, 8vw, 112px); }
.turnkey-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.turnkey-list li { display: flex; gap: 12px; align-items: flex-start; min-height: 92px; padding: 18px 16px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; text-wrap: balance; }
.turnkey-list li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 3px; background: var(--sky); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3.2 3.2L12 3.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3.2 3.2L12 3.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
/* Ten services split evenly: five across, two on narrower screens. */
@media (max-width: 1023px) { .work { grid-template-columns: minmax(0, 1fr); } .work-shots { max-width: 640px; } .turnkey-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .turnkey-list li { min-height: 0; padding: 14px 12px 16px; font-size: 15px; gap: 10px; } .work-list > li { grid-template-columns: 48px minmax(0, 1fr); gap: 8px 14px; padding: 24px 0; } .work-list > li::before { font-size: 56px; } }

/* «Ещё кейсы» under the Amex proof: the three cases peek out of the button, the fill sweeps in like the case links. */
.cases-btn { position: relative; isolation: isolate; overflow: hidden; justify-self: start; display: inline-flex; align-items: center; gap: 16px; min-height: 60px; margin-top: 4px; padding: 8px 10px 8px 8px; border: 1px solid var(--line-strong); color: var(--fg); font-size: 16px; font-weight: 500; line-height: 1.2; text-decoration: none; transition: color .3s var(--ease), border-color .3s var(--ease); }
.cases-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.cases-btn-thumbs { display: flex; }
.cases-btn-thumbs img { width: 56px; height: 42px; object-fit: cover; object-position: top; border: 1px solid var(--line-strong); background: #111111; box-shadow: 0 0 0 2px var(--bg); transition: transform .45s var(--ease), box-shadow .3s var(--ease); }
.cases-btn:hover .cases-btn-thumbs img, .cases-btn:focus-visible .cases-btn-thumbs img { box-shadow: 0 0 0 2px var(--sky); }
.cases-btn-thumbs img + img { margin-left: -16px; }
.cases-btn .ico { width: 36px; height: 36px; margin-left: 8px; background: var(--sky); color: var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease); }
.cases-btn .ico svg { transition: transform .35s var(--ease); }
.cases-btn:hover, .cases-btn:focus-visible { color: var(--ink); border-color: var(--sky); }
.cases-btn:hover::before, .cases-btn:focus-visible::before { transform: scaleX(1); }
.cases-btn:hover .ico, .cases-btn:focus-visible .ico { background: var(--ink); color: #FFFFFF; }
.cases-btn:hover .ico svg, .cases-btn:focus-visible .ico svg { transform: translateY(2px); }
.cases-btn:hover .cases-btn-thumbs img:nth-child(2) { transform: translateX(6px); }
.cases-btn:hover .cases-btn-thumbs img:nth-child(3) { transform: translateX(12px); }
.cases-btn:hover .cases-btn-t { transform: translateX(12px); }
.cases-btn-t { transition: transform .45s var(--ease); }
@media (prefers-reduced-motion: reduce) { .cases-btn, .cases-btn::before, .cases-btn-thumbs img, .cases-btn-t, .cases-btn .ico, .cases-btn .ico svg { transition: none; } }

/* «Что входит в сайт» says what the site is for while still folded. */
.fold-s .fold-promise { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.fold-promise svg { flex: none; width: 24px; height: 24px; margin-top: 1px; fill: none; stroke: var(--blue-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* «Почему наши сайты лучше»: reasons as cards, each with its own proof, then the comparison with a one-person contractor. */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(40px, 5vw, 72px); }
.bt { grid-column: 1 / -1; display: grid; gap: 18px; align-content: start; padding: clamp(22px, 2.6vw, 40px); border: 1px solid var(--line); background: #0C0C0C; }
/* Half cards stack as a column, so their last line (the live time, the replay) sits on the bottom edge, level across the row. */
.bt--half { grid-column: auto; display: flex; flex-direction: column; }
.bt .bt-live, .bt-replay { margin-top: auto; }
.bt--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3.4vw, 56px); align-items: center; }
.bt--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.bt--flip .bt-fig { order: -1; }
.bt-txt { display: grid; gap: 18px; align-content: start; }
.bt-ic { width: 44px; height: 44px; overflow: visible; }
.bt-ic * { vector-effect: non-scaling-stroke; }
.bt-h { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 2.3vw, 36px); line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; }
.bt p { font-size: 16px; line-height: 1.6; color: var(--soft); max-width: 40em; text-wrap: pretty; }
.bt-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bt-tags li { padding: 7px 12px; border: 1px solid var(--line-strong); font-size: 14px; line-height: 1.3; color: var(--fg); }
.bt-fig { display: grid; gap: 10px; margin: 0; }
.bt-fig figcaption { font-size: 13px; line-height: 1.45; color: var(--muted); }
.bt-shot { display: block; overflow: hidden; border: 1px solid var(--line-strong); background: #111111; }
.bt-shot img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.bt-shot:hover { border-color: var(--blue); }
@media (hover: hover) { .bt-shot:hover img { transform: scale(1.025); } }
/* The thin button of the site: a line frame and a white mark, both turn blue on hover. */
.bt-link { justify-self: start; display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding: 0 8px 0 18px; border: 1px solid var(--line-strong); color: var(--fg); font-size: 15px; font-weight: 500; text-decoration: none; transition: border-color .15s ease; }
.bt-link .ico { width: 32px; height: 32px; background: var(--fg); color: var(--ink); transition: background-color .15s ease, color .15s ease; }
.bt-link:hover, .bt-link:focus-visible { border-color: var(--blue); color: var(--fg); }
.bt-link:hover .ico, .bt-link:focus-visible .ico { background: var(--blue); color: #FFFFFF; }
.bt-checks { display: grid; gap: 12px; }
.bt-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.bt-checks li::before, .vs-yes { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23C9E2FE'/%3E%3Cpath d='M7 12.4l3.2 3.2 6.8-7' fill='none' stroke='%23060606' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.bt-checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; }
/* Live: when the main content of this page appeared on the visitor's device. Shown only at 2.5 s or less (landing.js). */
.bt .bt-live { display: flex; align-items: baseline; gap: 10px; padding-top: 4px; font-size: 14px; line-height: 1.45; color: var(--soft); }
.bt .bt-live[hidden] { display: none; }
.bt-live b { font-family: var(--mono); font-weight: 600; color: var(--sky); font-variant-numeric: tabular-nums; }
.bt-live-dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); transform: translateY(-1px); }
.bt-live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--sky); animation: bt-ping 2.4s var(--ease) infinite; }
@keyframes bt-ping { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.bt-steps { display: grid; gap: 16px; }
.bt-steps li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px 16px; align-items: baseline; }
.bt-k { grid-row: span 2; justify-self: start; padding: 4px 9px; background: rgba(201,226,254,.1); color: var(--sky); font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.bt-steps b { font-size: 17px; font-weight: 600; line-height: 1.35; }
.bt-steps li > span:last-child { font-size: 15px; line-height: 1.5; color: var(--soft); }
/* A visit as Вебвизор replays it: the page, the cursor's path and two clicks. */
.bt-replay { width: 100%; height: auto; }
.rp-page { fill: #121212; stroke: var(--line-strong); stroke-width: 1; }
.rp-line { fill: none; stroke: var(--line); }
.rp-dot { fill: rgba(255,255,255,.22); }
.rp-rec { fill: var(--sky); }
.rp-strong { fill: rgba(255,255,255,.34); }
.rp-soft { fill: rgba(255,255,255,.08); }
.rp-btn { fill: none; stroke: var(--sky); stroke-width: 1.25; }
.rp-path { fill: none; stroke: var(--sky); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: .012 .014; }
.rp-ring { fill: none; stroke: var(--sky); stroke-width: 1; opacity: .6; }
.rp-click { fill: var(--sky); }
.rp-cursor { fill: #FFFFFF; stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
@keyframes rp-blink { 50% { opacity: .25; } }
.rp-rec { animation: rp-blink 1.6s steps(1) infinite; }
@media (prefers-reduced-motion: reduce) { .bt-live-dot::after, .rp-rec { animation: none; } .bt-shot img { transition: none; } }
/* Versus: what a web designer, an SEO specialist and the studio each cover. */
.vs { width: 100%; margin-top: 8px; border-collapse: collapse; }
.vs th, .vs td { padding: 14px 16px; vertical-align: middle; }
.vs thead th { padding-top: 0; padding-bottom: 14px; font-size: 14px; font-weight: 600; line-height: 1.3; text-align: center; color: var(--soft); }
.vs tbody th { text-align: left; font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--fg); }
.vs td { width: 16%; text-align: center; }
.vs tbody tr:nth-child(odd) > * { background: rgba(255,255,255,.03); }
.vs .vs-us { background: rgba(201,226,254,.07); }
.vs tbody tr:nth-child(odd) > .vs-us { background: rgba(201,226,254,.1); }
.vs thead .vs-us { color: var(--sky); }
.vs-s { display: none; }
.vs-mk { display: inline-block; width: 24px; height: 24px; vertical-align: middle; }
.vs-part { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10.75' fill='none' stroke='%23FFFFFF' stroke-opacity='.55' stroke-width='1.5'/%3E%3Cpath d='M12 1.25a10.75 10.75 0 0 0 0 21.5z' fill='%23FFFFFF' fill-opacity='.55'/%3E%3C/svg%3E") center / contain no-repeat; }
.vs-no { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12h10' stroke='%23FFFFFF' stroke-opacity='.32' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.vs-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.bt .vs-legend { font-size: 13px; color: var(--muted); }
.vs-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.vs-legend .vs-mk { width: 18px; height: 18px; }
@media (max-width: 1023px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bt--wide, .bt--flip { grid-template-columns: minmax(0, 1fr); }
  .bt--flip .bt-fig { order: 0; }
}
@media (max-width: 599px) {
  .bt-steps li { grid-template-columns: minmax(0, 1fr); }
  .bt-k { grid-row: auto; margin-bottom: 4px; }
  .vs th, .vs td { padding: 12px 8px; }
  .vs thead th { font-size: 13px; }
  .vs tbody th { font-size: 15px; }
  .vs td { width: 19%; }
  .vs-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .vs-s { display: inline; }
}
/* Narrow phones (320–379px): the card and the table give up padding so all four columns fit. */
@media (max-width: 379px) {
  .bt { padding: 20px 16px; }
  .vs th, .vs td { padding: 10px 3px; }
  .vs tbody th { padding-left: 8px; font-size: 14px; }
  .vs thead th { font-size: 12px; }
  .vs-mk { width: 22px; height: 22px; }
}

/* The quiz opens over this page (quiz.js and quiz.css, built from src/quiz by `npm run build:quiz-landing`).
   It reads four tokens the site's tokens.css defines; while it is open the page under it does not scroll. */
:root { --text-mute: #9A9A9A; --stage: #070707; --r-pill: 10px; --r-control: 12px; }
html[data-overlay] body { overflow: hidden; }

/* «Работаем по всей России» under the quiz button: queries come from every region, the Amex case names only Krasnodar. */
.hero-geo { flex-basis: 100%; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; line-height: 1.5; color: var(--soft); }
.hero-geo svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--sky); stroke-width: 1.5; }

/* Telegram in the corner, one tap from anywhere on the page: the panel of the header with its sky button.
   While the cookie notice is open the button stands above it (landing.js sets --tg-lift); the quiz takes it away. */
.tg-fab {
  position: fixed; z-index: 40;
  right: max(clamp(16px, 2vw, 24px), env(safe-area-inset-right));
  bottom: calc(max(clamp(16px, 2vw, 24px), env(safe-area-inset-bottom)) + var(--tg-lift, 0px));
  display: flex; align-items: center; gap: 12px;
  height: 56px; padding: 5px 20px 5px 5px;
  border: 1px solid var(--line); border-radius: 18px;
  background: rgba(6,6,6,.74); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  color: var(--fg); font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap; text-decoration: none;
  transition: bottom .45s var(--ease), border-color .15s ease;
}
.tg-fab-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--ink); transition: background-color .15s ease; }
.tg-fab-ic svg { width: 22px; height: 22px; fill: currentColor; }
@media (hover: hover) {
  .tg-fab:hover { color: var(--fg); border-color: var(--blue); }
  .tg-fab:hover .tg-fab-ic { background: var(--blue); }
}
html[data-overlay] .tg-fab { display: none; }
/* Up to 520px the cookie notice spans the screen (consent.js): above it the button would cover the quiz button. */
@media (max-width: 520px) { html[data-notice] .tg-fab { display: none; } }
/* Phones keep the square button; its name stays for screen readers. */
@media (max-width: 767px) {
  .tg-fab { padding: 5px; }
  .tg-fab-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .tg-fab { transition: none; } }
@media print { .tg-fab { display: none; } }
