/* Hallmark · shape: Workbench (draw 581ee8, steps kept as a register) · genre: modern-minimal · theme: Blueprint (deal 2/3, seed browser-extension-online-car-8f4a·34f199a2·2026-10-26·r0) · redesign: full
 * hero: Counter · nav: edge-aligned · footer: statement (title block) · imagery: the product · signature: the example lot card on a keyline sheet, its total broken into a ledger with dimension bars · blueprint: whiteprint (light) and cyanotype (dark)
 * axes: mid/roman-serif/cool · posture: restrained on whiteprint, drenched on cyanotype · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V5 · weakest: S, the sheet could belong to any tool with a keyline look; led with the real lot card and its cost ledger instead of a feature grid */
/* Hallmark · waive 1 · the head face is Plex Serif Bold, only body and the card use the system sans · the dealt Chakra Petch cannot be served offline, so a bundled face leads every head */
/* Hallmark · waive 84 · capturing the real card would show an auction lot page with its photos and buttons · the page builds one lot card labelled Example because those pages are not ours to publish */
/* Hallmark · waive 47c · the geometry is the product's own card at full size, not a picture of something else · every value in the lot card reads as a sample and the caption says Example */
/* Hallmark · dismissed F4 · the second hero action is an outlined key with no fill, so the hero carries one filled primary */
/* Hallmark · dropped features-title, lane-title · the features head and the sale-time card title were recomposed into the sale-time section head (#time-title) and the free-features register head (#reg-title) */
/* Hallmark · answered F19 · the lot card keeps the extension's own bold, the page itself runs two weights */
/* Hallmark · answered F24 · the lot card is the extension's own surface, a drawn edge with its shadow, as in the browser */
/* Hallmark · dismissed F15 · the twelve-column grids share one gap token, the other gaps belong to a hero, a form panel and the legal reading column */
@import url("./tokens.css");
@import url("./base.css");

@font-face { font-family: "Plex Serif"; src: url("fonts/IBMPlexSerif-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/IBMPlexMono-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- общее ---------- */
.mono, .num { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }
.skip-link { position: absolute; left: var(--space-sm); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-sm) var(--space-md); background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; text-decoration: none; }
.skip-link:focus-visible { top: var(--space-sm); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: 48px; padding: 0 var(--space-lg);
  border: var(--rule-hair) solid var(--color-rule); border-radius: 0; background: transparent; color: var(--color-ink);
  font: 700 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: var(--color-paper-3); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn-primary:hover { background: var(--color-accent-deep); border-color: var(--color-accent-deep); }
.btn-secondary { background: transparent; }
.btn-text { padding-inline: 0; border-color: transparent; background: transparent; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.btn-text:hover { background: var(--color-paper-3); border-color: transparent; }
.btn-small { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
@media (pointer: coarse) { .btn { min-height: 48px; } }

/* ---------- шапка ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.site-header .wrap { display: flex; align-items: center; gap: var(--space-xs); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); margin-right: auto; color: inherit; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: var(--space-3xs); }
.brand-name { font: 700 1.375rem/1 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); }
.brand-by { font-size: var(--text-xs); line-height: 1; color: var(--color-muted); }
.nav { display: flex; align-items: center; gap: var(--space-3xs); }
.nav a, .lang-switch {
  display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-sm);
  font-size: var(--text-sm); line-height: 1; color: var(--color-ink-2); text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 calc(-1 * var(--rule-heavy)) 0 transparent; transition: color var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}
.nav a:hover, .lang-switch:hover { color: var(--color-ink); box-shadow: inset 0 calc(-1 * var(--rule-heavy)) 0 var(--color-rule); }
.nav a[aria-current="page"], .menu-panel a[aria-current="page"] { color: var(--color-ink); box-shadow: inset 0 calc(-1 * var(--rule-heavy)) 0 var(--color-rule); }
.lang-switch svg { width: 16px; height: 16px; }
.header-cta { margin-left: var(--space-xs); }
.menu { display: none; position: relative; }
.menu > summary { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); list-style: none; cursor: pointer; font-size: var(--text-sm); color: var(--color-ink); }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary svg { width: 18px; height: 18px; }
.menu[open] > summary { background: var(--color-paper-3); }
.menu-panel { color: var(--color-ink); position: absolute; right: 0; top: calc(100% + var(--space-xs)); z-index: var(--z-dropdown); display: grid; min-width: 240px; padding: var(--space-xs); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); }
.menu-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); color: var(--color-ink); text-decoration: none; font-size: var(--text-md); }
.menu-panel a:hover { background: var(--color-paper-3); }
@media (max-width: 60rem) { .nav { display: none; } .menu { display: block; } }
@media (max-width: 40rem) { .header-cta { display: none; } .lang-switch { padding: 0 var(--space-xs); } }

/* ---------- первый экран: карточка лота на листе ---------- */
.hero { border-bottom: var(--rule-heavy) solid var(--color-rule); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; gap: var(--space-xl) var(--space-2xl); min-height: calc(100svh - var(--header-h) - var(--space-md)); padding-block: var(--space-xl); }
.hero h1 { max-width: 14ch; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.04; }
.hero .lead { max-width: 34ch; margin-top: var(--space-lg); color: var(--color-ink-2); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.sheet { position: relative; justify-self: end; width: 100%; max-width: 540px; margin: 0; padding: var(--space-lg); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); }
.sheet::after { content: ""; position: absolute; inset: var(--sheet-inset); border: var(--rule-hair) solid var(--color-rule-2); pointer-events: none; }
.sheet figcaption { margin: var(--space-md) calc(-1 * var(--space-lg)) calc(-1 * var(--space-lg)); padding: var(--space-sm) var(--space-lg) var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); line-height: 1.45; color: var(--color-ink-2); }
.bidbox { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.bidbox::before, .bidbox::after { content: ""; flex: 1 1 0; border-top: var(--rule-hair) solid var(--color-rule-2); }
@media (min-width: 60rem) and (max-height: 840px) { .hero .wrap { padding-block: var(--space-md); } }
@media (max-width: 60rem) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: var(--space-xl) var(--space-2xl); }
  .sheet { justify-self: start; max-width: 520px; }
}

/* ---------- макет карточки SmartBid (как в расширении, всегда светлый) ---------- */
.lc {
  container-type: inline-size; padding: var(--space-xs) var(--space-xs) 0;
  background: linear-gradient(180deg, var(--lc-bg-1), var(--lc-bg-2));
  border: 1px solid var(--lc-edge); border-radius: 16px; box-shadow: var(--lc-shadow);
  font: 400 15.5px/1.3 var(--font-body); color: var(--lc-ink);
}
.lc-hd { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-3xs) var(--space-3xs) var(--space-xs); }
.lc-logo { width: 34px; height: 34px; }
.lc-brand { margin-right: auto; }
.lc-name { display: block; font: 700 22px/1 var(--font-body); letter-spacing: -0.5px; color: var(--lc-name); }
.lc-by { display: block; margin-top: var(--space-3xs); font-size: 12.5px; line-height: 1; color: var(--lc-by); }
.lc-tbtn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--lc-btn); color: var(--lc-btn-ink); }
.lc-tbtn svg { width: 18px; height: 18px; }
.lc-list { background: var(--lc-white); border: 1px solid var(--lc-line); border-radius: 14px; }
.lc-row { display: flex; align-items: center; gap: var(--space-sm); min-height: 50px; padding: var(--space-xs) var(--space-sm); border-top: 1px solid var(--lc-line-2); }
.lc-row:first-child { border-top: 0; }
.lc-ic { display: grid; place-items: center; width: 24px; height: 24px; color: var(--lc-blue-2); }
.lc-ic svg { width: 22px; height: 22px; }
.lc-k { flex: none; color: var(--lc-lbl); }
.lc-v { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-3xs); min-width: 0; margin-left: auto; text-align: right; }
.lc-pill { padding: var(--space-3xs) var(--space-sm); border: 1px solid var(--lc-ok-edge); border-radius: 999px; background: var(--lc-ok-bg); color: var(--lc-ok-ink); font-weight: 700; font-size: 13.5px; line-height: 1.3; }
.lc-vin { flex-direction: row; align-items: center; gap: var(--space-xs); }
.lc-vinv { font: 700 16px/1.2 var(--font-outlier); white-space: nowrap; }
.lc-copy { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--lc-field); border-radius: 9px; background: var(--lc-white); color: var(--lc-blue); }
.lc-copy svg { width: 15px; height: 15px; }
.lc-when { font: 700 16px/1.2 var(--font-outlier); font-variant-numeric: tabular-nums; }
.lc-why { font-size: 12.5px; color: var(--lc-mute); }
.lc-calc { margin-top: var(--space-xs); background: var(--lc-calc-bg); border: 1px solid var(--lc-calc-edge); border-radius: 14px; overflow: hidden; }
.lc-tot { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-sm); }
.lc-tile { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--lc-blue); color: var(--lc-white); }
.lc-tile svg { width: 20px; height: 20px; }
.lc-tot .lc-k { font-weight: 700; font-size: 15.5px; color: var(--lc-ink); }
.lc-sum { display: flex; flex-direction: column; align-items: flex-end; margin-left: auto; line-height: 1.05; }
.lc-sum b { font: 700 30px/1.05 var(--font-outlier); letter-spacing: -1px; color: var(--lc-total); }
.lc-sum sup { margin-left: var(--space-3xs); font-size: 15px; color: var(--lc-blue); }
.lc-sum small { margin-top: var(--space-2xs); font-size: 13px; color: var(--lc-sub); }
.lc-more { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--lc-more); border-radius: 10px; background: var(--lc-white); color: var(--lc-blue); }
.lc-more svg { width: 18px; height: 18px; }
.lc-det { padding: var(--space-2xs) var(--space-md) var(--space-sm); background: var(--lc-white); border-top: 1px solid var(--lc-det-edge); }
.lc-line { display: flex; align-items: center; gap: var(--space-sm); min-height: 36px; }
.lc-line .lc-ic { color: var(--lc-icon); }
.lc-line .lc-ic svg { width: 20px; height: 20px; }
.lc-line span { flex: 1 1 auto; min-width: 0; color: var(--lc-lbl); font-size: 15px; }
.lc-line b { font: 700 14.5px/1.2 var(--font-outlier); text-align: right; font-variant-numeric: tabular-nums; }
.lc-line b small { display: block; font: 400 12px/1.2 var(--font-outlier); color: var(--lc-sub); }
.lc-inp { display: inline-flex; align-items: center; gap: var(--space-xs); min-width: 120px; height: 32px; padding: 0 var(--space-sm); border: 1px solid var(--lc-field); border-radius: 9px; background: var(--lc-white); color: var(--lc-mute); font-family: var(--font-outlier); }
.lc-inp b { margin-left: auto; color: var(--lc-ink); }
.lc-ft { display: flex; align-items: center; gap: var(--space-sm); margin: var(--space-xs) 0 var(--space-xs); padding: var(--space-xs) var(--space-sm); background: var(--lc-white); border: 1px solid var(--lc-line); border-radius: 12px; font-size: 13.5px; color: var(--lc-foot); }
.lc-ft .lc-ic { color: var(--lc-blue); }
.lc-ft u { color: var(--lc-blue); text-decoration: none; }
@container (max-width: 370px) {
  .lc-why { font-size: 11.5px; }
  .lc-line span { font-size: 13px; }
  .lc-line b { font-size: 12.5px; }
  .lc-sum b { font-size: 22px; }
  .lc-row .lc-ic { display: none; }
  .lc-row { gap: var(--space-xs); padding: var(--space-xs) var(--space-sm); }
  .lc-det { padding: var(--space-2xs) var(--space-sm) var(--space-xs); }
}

/* ---------- разделы ---------- */
.section { padding-block: var(--section-gap-s); }
.section.is-roomy { padding-block: var(--section-gap); }
.section.is-ruled { padding-block: var(--section-gap-l) var(--section-gap-s); border-top: var(--rule-heavy) solid var(--color-rule); }
.section + .section { border-top: var(--rule-hair) solid var(--color-rule-2); }
.section.is-band { color: var(--color-ink); background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); border-bottom: var(--rule-hair) solid var(--color-rule); }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: end; margin-bottom: var(--space-2xl); }
.head h2 { grid-column: 1 / span 6; }
.head .lead { grid-column: 7 / -1; color: var(--color-ink-2); font-size: var(--text-lg); line-height: 1.5; }
@media (max-width: 60rem) { .head h2, .head .lead { grid-column: 1 / -1; } .head { margin-bottom: var(--space-xl); } }
.fig-note { margin-top: var(--space-md); font-size: var(--text-sm); line-height: 1.45; color: var(--color-muted); }

/* время продажи */
.sale { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); margin: 0; }
.readout { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: var(--space-xs); margin: 0; }
.ro-label { font-size: var(--text-sm); color: var(--color-muted); }
.ro-time { display: flex; align-items: baseline; gap: var(--space-sm); font: 700 clamp(4rem, 9vw, 8.5rem)/0.95 var(--font-outlier); letter-spacing: -0.05em; color: var(--color-ink); white-space: nowrap; }
.ro-approx { font-size: 0.45em; font-weight: 400; letter-spacing: 0; color: var(--color-muted); }
.ro-calc { font-size: var(--text-md); color: var(--color-ink-2); }
.sale-note { grid-column: 7 / -1; align-self: end; color: var(--color-ink-2); }
.dim { grid-column: 1 / -1; position: relative; height: 100px; }
.dim-line { position: absolute; left: 0; right: 0; top: 56px; height: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.dim-t { position: absolute; top: -8px; width: 0; height: 16px; border-left: var(--rule-hair) solid var(--color-rule); }
.dim-t.is-end { top: -9px; height: 18px; transform: rotate(45deg); }
.dim-t.is-minor { top: -4px; height: 8px; }
.dim-lbl { position: absolute; top: 72px; transform: translateX(-50%); font: 400 var(--text-sm)/1 var(--font-outlier); color: var(--color-ink-2); }
.dim-lbl.at-0 { transform: none; } .dim-lbl.at-100 { transform: translateX(-100%); }
.dim-mark { position: absolute; top: 24px; height: 32px; width: 0; border-left: var(--rule-heavy) solid var(--color-accent-deep); }
.dim-mark b { position: absolute; bottom: 100%; left: 0; transform: translateX(-50%); padding: var(--space-3xs) var(--space-xs); background: var(--color-accent); color: var(--color-accent-ink); font: 700 var(--text-sm)/1.2 var(--font-outlier); }
.at-0 { left: 0; } .at-17 { left: 16.667%; } .at-33 { left: 33.333%; } .at-50 { left: 50%; } .at-52 { left: 52.222%; } .at-67 { left: 66.667%; } .at-83 { left: 83.333%; } .at-100 { left: 100%; }
.sale figcaption { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) { .readout, .sale-note { grid-column: 1 / -1; } .dim-lbl.is-minor-lbl { display: none; } }

/* стоимость */
.cost { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; }
.cost-text { grid-column: 1 / span 5; display: grid; gap: var(--space-md); align-content: start; }
.cost-text p { color: var(--color-ink-2); }
.cost-fig { grid-column: 7 / -1; margin: 0; }
.ledger { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ledger caption { padding-bottom: var(--space-md); text-align: left; font-size: var(--text-sm); color: var(--color-muted); caption-side: bottom; padding-top: var(--space-md); padding-bottom: 0; }
.ledger th, .ledger td { padding: var(--space-md) var(--space-sm) var(--space-md) 0; border-top: var(--rule-hair) solid var(--color-rule-2); text-align: left; vertical-align: middle; font-weight: 400; }
.ledger th { width: 36%; font-size: var(--text-md); color: var(--color-ink); }
.ledger td.num { width: 28%; font: 700 var(--text-lg)/1.15 var(--font-outlier); white-space: nowrap; }
.ledger td.num small { display: block; margin-top: var(--space-3xs); font: 400 var(--text-xs)/1.2 var(--font-outlier); color: var(--color-muted); }
.ledger td.bar-cell { padding-right: 0; }
.bar { display: block; height: 14px; background: var(--color-rule); }
.bar.b-23 { width: 41.3%; } .bar.b-5 { width: 9.4%; } .bar.b-13 { width: 22.4%; } .bar.b-2 { width: 3.5%; min-width: var(--space-2xs); } .bar.b-57 { width: 100%; } /* доли итога, масштаб: самая большая статья = вся ширина */
.ledger tr.is-total th, .ledger tr.is-total td { border-top: var(--rule-heavy) solid var(--color-rule); }
.ledger tr.is-total th { font-weight: 700; }
.ledger tr.is-total td.num { font-size: var(--text-xl); font-variant-numeric: tabular-nums; }
@media (max-width: 60rem) { .cost-text, .cost-fig { grid-column: 1 / -1; } }
@media (max-width: 40rem) {
  .ledger, .ledger tbody { display: block; }
  .ledger tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-md); align-items: end; padding: var(--space-md) 0; border-top: var(--rule-hair) solid var(--color-rule-2); }
  .ledger th, .ledger td { width: auto; padding: 0; border-top: 0; }
  .ledger td.num { text-align: right; }
  .ledger td.bar-cell { grid-column: 1 / -1; padding-top: var(--space-sm); }
  .ledger tr.is-total { border-top: var(--rule-heavy) solid var(--color-rule); }
  .ledger tr.is-total td.bar-cell { display: none; }
  .ledger tr.is-total th, .ledger tr.is-total td { border-top: 0; }
}

/* реестр возможностей: заголовок сбоку */
.side { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; }
.side-head { grid-column: 1 / span 4; display: grid; gap: var(--space-md); position: sticky; top: calc(var(--header-h) + var(--space-lg)); }
.side-head .lead { font-size: var(--text-lg); color: var(--color-ink-2); }
.side .register { grid-column: 5 / -1; width: auto; }
@media (max-width: 60rem) { .side-head, .side .register { grid-column: 1 / -1; position: static; } }
.register { width: 100%; border-collapse: collapse; }
.register th, .register td { padding: var(--space-lg) var(--space-md) var(--space-lg) 0; border-top: var(--rule-hair) solid var(--color-rule-2); text-align: left; vertical-align: top; font-weight: 400; }
.register tr:first-child th, .register tr:first-child td { border-top: var(--rule-heavy) solid var(--color-rule); }
.register tr:last-child th, .register tr:last-child td { border-bottom: var(--rule-hair) solid var(--color-rule); }
.register th { width: 36%; font: 700 var(--text-lg)/1.25 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); }
.register td { color: var(--color-ink-2); text-wrap: pretty; }
@media (max-width: 40rem) { .register, .register tbody, .register tr, .register th, .register td { display: block; width: auto; } .register th { padding-bottom: var(--space-xs); border-bottom: 0; } .register td { padding-top: 0; border-top: 0 !important; } }

/* Smart Search */
.ss-sheet { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin: 0; background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); }
.ss-sheet::after { content: ""; position: absolute; inset: var(--sheet-inset); border: var(--rule-hair) solid var(--color-rule-2); pointer-events: none; }
.ss-tl { padding: var(--space-xl) var(--space-xl) var(--space-lg); border-right: var(--rule-hair) solid var(--color-rule-2); }
.ss-res { padding: var(--space-xl) var(--space-xl) var(--space-lg); }
.filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm) var(--space-2xl); margin: 0 0 var(--space-xl); }
.filters div { display: grid; gap: var(--space-3xs); padding-bottom: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.filters dt { font-size: var(--text-sm); color: var(--color-muted); }
.filters dd { margin: 0; font: 700 var(--text-md)/1.3 var(--font-body); color: var(--color-ink); }
.tl-grid { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); row-gap: var(--space-md); }
.tl-axis { grid-column: 2; position: relative; height: 24px; border-bottom: var(--rule-hair) solid var(--color-rule); font: 400 var(--text-xs)/1 var(--font-outlier); color: var(--color-ink-2); }
.tl-axis span { position: absolute; top: 0; transform: translateX(-50%); }
.tl-axis span.at-0 { transform: none; } .tl-axis span.at-100 { transform: translateX(-100%); }
.tl-axis i { position: absolute; bottom: 0; height: 6px; border-left: var(--rule-hair) solid var(--color-rule); }
.tl-window { position: absolute; top: 32px; bottom: calc(-1 * var(--space-sm)); left: 112px; width: calc((100% - 112px) * 0.66667); background: var(--color-paper-3); pointer-events: none; z-index: 0; }
.tl-window span { position: absolute; left: 0; top: calc(100% + var(--space-xs)); font-size: var(--text-xs); font-weight: 700; color: var(--color-ink-2); white-space: nowrap; }
.tl-name { position: relative; z-index: 1; align-self: center; font-size: var(--text-sm); color: var(--color-ink-2); }
.tl-track { position: relative; z-index: 1; height: 28px; }
.tl-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: var(--rule-hair) solid var(--color-rule-2); }
.tl-dot { position: absolute; top: 50%; width: 14px; height: 14px; background: var(--color-accent-deep); border: var(--rule-hair) solid var(--color-accent-deep); transform: translate(-50%, -50%) rotate(45deg); }
.tl-dot.is-out { background: var(--color-paper); }
.tl-dot.d06 { left: 6.667%; } .tl-dot.d14 { left: 15.556%; } .tl-dot.d27 { left: 29.815%; } .tl-dot.d41 { left: 45.37%; } .tl-dot.d52 { left: 58.333%; } .tl-dot.d70 { left: 77.778%; } .tl-dot.d82 { left: 91.111%; }
.tl-legend { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-muted); }
.tl-legend li { display: flex; align-items: center; gap: var(--space-xs); }
.tl-legend i { display: block; width: 10px; height: 10px; background: var(--color-accent-deep); border: var(--rule-hair) solid var(--color-accent-deep); transform: rotate(45deg); }
.tl-legend i.is-out { background: var(--color-paper); }
.res-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.res-table caption { padding-bottom: var(--space-md); text-align: left; font: 700 var(--text-lg)/1.25 var(--font-display); color: var(--color-ink); }
.res-table caption small { display: block; margin-top: var(--space-3xs); font: 400 var(--text-sm)/1.3 var(--font-body); color: var(--color-muted); }
.res-table th, .res-table td { padding: var(--space-sm) var(--space-sm) var(--space-sm) 0; border-top: var(--rule-hair) solid var(--color-rule-2); text-align: left; vertical-align: top; font-weight: 400; }
.res-table thead th { padding-block: var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); border-top: var(--rule-heavy) solid var(--color-rule); }
.res-table td:last-child, .res-table th:last-child { padding-right: 0; text-align: right; }
.res-time { font: 700 var(--text-md)/1.3 var(--font-outlier); white-space: nowrap; }
.res-bid { font: 700 var(--text-md)/1.3 var(--font-outlier); white-space: nowrap; }
.res-sub { display: block; margin-top: var(--space-3xs); font-size: var(--text-sm); color: var(--color-muted); }
.ss-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; }
.ss-facts li { text-wrap: pretty; padding: 0 var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); }
.ss-facts li:first-child { padding-left: 0; border-left: 0; }
.ss-facts li:last-child { padding-right: 0; }
@media (max-width: 60rem) {
  .ss-sheet { grid-template-columns: minmax(0, 1fr); }
  .ss-tl { border-right: 0; border-bottom: var(--rule-hair) solid var(--color-rule-2); }
  .ss-facts { grid-template-columns: minmax(0, 1fr); }
  .ss-facts li { padding: var(--space-md) 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule-2); }
  .ss-facts li:first-child { border-top: 0; padding-top: 0; }
}
@media (max-width: 40rem) {
  .ss-tl, .ss-res { padding: var(--space-lg) var(--space-md); }
  .filters { grid-template-columns: minmax(0, 1fr); }
  .tl-grid { grid-template-columns: 88px minmax(0, 1fr); }
  .tl-window { left: 88px; width: calc((100% - 88px) * 0.66667); }
  .tl-name { font-size: var(--text-xs); }
  .tl-axis .is-minor-lbl { display: none; }
}

/* цены */
.plans { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: var(--rule-hair) solid var(--color-rule); }
.plans-head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end; padding: var(--space-xl); border-bottom: var(--rule-heavy) solid var(--color-rule); }
.plans-head h2 { grid-column: 1 / span 5; }
.plans-head .lead { grid-column: 7 / -1; font-size: var(--text-lg); color: var(--color-ink-2); }
.plan { display: flex; flex-direction: column; padding: var(--space-xl); }
.plan + .plan { border-left: var(--rule-heavy) solid var(--color-rule); }
.plan-name { margin: 0; font-size: var(--text-xl); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-2xs) var(--space-sm); margin: var(--space-md) 0 0; }
.price-num { font: 700 clamp(3.5rem, 6vw, 5rem)/1 var(--font-outlier); letter-spacing: -0.05em; color: var(--color-ink); }
.price-per { font-size: var(--text-md); color: var(--color-muted); }
.disclosure { margin: var(--space-lg) 0 0; padding: var(--space-md); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); font-weight: 700; font-size: var(--text-md); line-height: 1.45; max-width: none; }
.plan ul { display: grid; align-content: start; margin: var(--space-lg) 0 var(--space-lg); padding: 0; list-style: none; }
.plan li { padding: var(--space-sm) 0; border-top: var(--rule-hair) solid var(--color-rule-2); color: var(--color-ink-2); }
.plan li:first-child { border-top: var(--rule-hair) solid var(--color-rule); }
.plan-legal { margin: 0 0 var(--space-lg); font-size: var(--text-sm); line-height: 1.55; color: var(--color-ink-2); max-width: 60ch; }
.plan-links { display: flex; flex-wrap: wrap; gap: var(--space-3xs) var(--space-lg); margin: 0 0 var(--space-lg); max-width: none; }
.plan .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 60rem) { .plans { grid-template-columns: minmax(0, 1fr); } .plans-head { padding: var(--space-lg); } .plans-head h2, .plans-head .lead { grid-column: 1 / -1; } .plan + .plan { border-left: 0; border-top: var(--rule-heavy) solid var(--color-rule); } }
@media (max-width: 40rem) { .plan, .plans-head { padding: var(--space-lg) var(--space-md); } .plan .btn { align-self: stretch; } .plan-links { flex-direction: column; align-items: flex-start; } }

/* как купить Pro: реестр шагов */
.stages { margin: 0; padding: 0; list-style: none; counter-reset: stage; border-top: var(--rule-heavy) solid var(--color-rule); }
.stages > li { counter-increment: stage; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-sm); padding: var(--space-lg) 0 var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.stages > li::before { content: counter(stage); grid-column: 1 / span 2; font: 700 var(--text-3xl)/1 var(--font-outlier); color: var(--color-ink); }
.stages h3 { grid-column: 3 / span 4; }
.stage-body { grid-column: 7 / -1; display: grid; gap: var(--space-md); justify-items: start; color: var(--color-ink-2); }
.stage-body p { max-width: 56ch; }
.path { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-sm); margin: 0; padding: 0; list-style: none; }
.path li { display: inline-flex; align-items: center; gap: var(--space-sm); }
.path li + li::before { content: ""; width: 8px; height: 8px; border-top: var(--rule-hair) solid var(--color-muted); border-right: var(--rule-hair) solid var(--color-muted); transform: rotate(45deg); }
.path span { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 36px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); font-size: var(--text-sm); }
.path span img { width: 20px; height: 20px; }
.path .is-action span { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; }
.after-steps { display: grid; gap: var(--space-sm); justify-items: start; margin-top: var(--space-xl); color: var(--color-ink-2); }
.section.is-tight-top { padding-top: var(--space-xl); border-top: 0; }
@media (max-width: 60rem) { .stages > li { grid-template-columns: 56px minmax(0, 1fr); } .stages > li::before { grid-column: 1; grid-row: 1 / span 2; } .stages h3, .stage-body { grid-column: 2; } }

/* вопросы */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; }
.faq-head { grid-column: 1 / span 4; display: grid; gap: var(--space-xl); position: sticky; top: calc(var(--header-h) + var(--space-lg)); }
.contact { display: grid; gap: var(--space-xs); padding-top: var(--space-md); border-top: var(--rule-heavy) solid var(--color-rule); }
.contact p { max-width: none; }
.contact a { display: inline-flex; min-height: 32px; align-items: center; }
.faq-list { grid-column: 6 / -1; border-top: var(--rule-heavy) solid var(--color-rule); }
.faq-list details { border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 64px; padding: var(--space-md) 0; list-style: none; cursor: pointer; font: 700 var(--text-lg)/1.3 var(--font-display); letter-spacing: var(--tracking-display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 20px; height: 20px; transition: transform var(--dur-short) var(--ease-out); }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details > div { padding: 0 0 var(--space-lg); color: var(--color-ink-2); }
.faq-list details p { margin: 0 0 var(--space-sm); }
.faq-list details p:last-child { margin-bottom: 0; }
@media (max-width: 60rem) { .faq-head, .faq-list { grid-column: 1 / -1; position: static; } }

/* ---------- подвал: штамп чертежа ---------- */
.site-footer { background: var(--color-paper-3); border-top: var(--rule-heavy) solid var(--color-rule); padding-block: var(--space-3xl) var(--space-xl); font-size: var(--text-md); color: var(--color-ink-2); }
.foot-statement { max-width: 30ch; margin: 0 0 var(--space-2xl); font: 700 var(--text-3xl)/1.12 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-wrap: balance; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 3fr)); border: var(--rule-hair) solid var(--color-rule); }
.foot-cell { padding: var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); }
.foot-cell:first-child { border-left: 0; }
.foot-about p { margin-top: var(--space-md); max-width: 34ch; }
.foot-cell h2 { margin: 0 0 var(--space-sm); font: 700 var(--text-md)/1.3 var(--font-body); letter-spacing: 0; color: var(--color-ink); max-width: none; }
.foot-cell ul { display: grid; margin: 0; padding: 0; list-style: none; }
.foot-cell a { display: inline-flex; align-items: center; min-height: 36px; color: var(--color-ink); text-decoration: none; }
.foot-cell a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.foot-legal { display: grid; gap: var(--space-xs); margin-top: var(--space-xl); font-size: var(--text-sm); line-height: 1.6; color: var(--color-ink-2); }
.foot-legal p { max-width: 72ch; }
@media (max-width: 60rem) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; border-bottom: var(--rule-hair) solid var(--color-rule); }
  .foot-cell:nth-child(3) { border-left: 0; }
  .foot-cell:nth-child(n+3) { border-top: var(--rule-hair) solid var(--color-rule); }
  .foot-cell:nth-child(2) { border-left: 0; }
}
@media (max-width: 40rem) { .foot-grid { grid-template-columns: minmax(0, 1fr); } .foot-cell { border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); } .foot-cell:first-child { border-top: 0; } .foot-statement { font-size: var(--text-2xl); } }

/* ---------- юридические страницы ---------- */
.doc-wrap { padding-block: var(--space-xl) var(--space-3xl); }
.doc { max-width: 780px; }
.doc h1 { max-width: none; margin: 0 0 var(--space-sm); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.08; }
.doc h2 { max-width: none; margin: var(--space-2xl) 0 var(--space-md); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); font-size: var(--text-xl); line-height: 1.25; }
.doc h3 { max-width: none; margin: 0 0 var(--space-sm); font: 700 var(--text-md)/1.35 var(--font-body); letter-spacing: 0; }
.doc p, .doc li { line-height: 1.7; }
.doc p:not([class]) { max-width: 70ch; }
.doc ul, .doc ol { padding-left: 1.4em; }
.doc li { margin: var(--space-2xs) 0; }
.doc .lang { margin: 0 0 var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); max-width: none; }
.doc .card { color: var(--color-ink); margin: 0 0 var(--space-xl); padding: var(--space-lg); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); }
.doc .card ul { margin: 0 0 var(--space-sm); }
.doc .card > p:last-child { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }
.doc h2 + ol { columns: 2 260px; column-gap: var(--space-xl); }
.doc h2 + ol li { margin: 0; padding: var(--space-3xs) 0; break-inside: avoid; }
.doc-layout { display: grid; grid-template-columns: minmax(0, 780px) minmax(0, 260px); justify-content: space-between; gap: var(--space-2xl); align-items: start; }
.doc-aside { position: sticky; top: calc(var(--header-h) + var(--space-lg)); margin-top: var(--space-xs); padding: var(--space-md) var(--space-lg); border: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); line-height: 1.45; }
.doc-aside-title { margin: 0 0 var(--space-sm); font-weight: 700; color: var(--color-ink); }
.doc-aside ul { display: grid; margin: 0; padding: 0; list-style: none; }
.doc-aside li a { display: block; margin: 0 calc(-1 * var(--space-sm)); padding: var(--space-xs) var(--space-sm); color: var(--color-ink); text-decoration: none; }
.doc-aside li a:hover { background: var(--color-paper-3); }
.doc-aside li a[aria-current="page"] { background: var(--color-accent); color: var(--color-accent-ink); font-weight: 700; }
.doc-aside-ru { margin: var(--space-md) 0 0; padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule-2); }
.doc-aside-note { margin: var(--space-sm) 0 0; font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 70rem) { .doc-layout { grid-template-columns: minmax(0, 1fr); } .doc-aside { display: none; } }
.doc blockquote { margin: var(--space-lg) 0; padding: var(--space-md) var(--space-lg); border: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); color: var(--color-ink); }
.doc .table-wrap { margin: var(--space-md) 0 var(--space-lg); overflow-x: auto; border: var(--rule-hair) solid var(--color-rule); background: var(--color-paper); -webkit-overflow-scrolling: touch; }
.doc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--text-sm); line-height: 1.55; }
.doc th, .doc td { padding: var(--space-sm) var(--space-md); border-top: var(--rule-hair) solid var(--color-rule-2); text-align: left; vertical-align: top; }
.doc tr:first-child th, .doc tr:first-child td { border-top: 0; }
.doc th { background: var(--color-paper-3); font-weight: 700; color: var(--color-ink); border-bottom: var(--rule-heavy) solid var(--color-rule); }
.doc td + td, .doc th + th { border-left: var(--rule-hair) solid var(--color-rule-2); }
.doc hr#ru { margin: var(--space-3xl) 0 var(--space-2xl); border: 0; height: 0; border-top: var(--rule-heavy) solid var(--color-rule); }
.doc :target { scroll-margin-top: calc(var(--header-h) + var(--space-md)); }
.doc a { color: var(--color-ink); text-decoration-color: var(--color-rule); }
.doc-langnote { margin: 0 0 var(--space-xs); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- «Спасибо» и 404 ---------- */
.notice-wrap { padding-block: var(--space-2xl) var(--space-3xl); }
.bilingual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-2xl); }
@media (max-width: 60rem) { .bilingual { grid-template-columns: minmax(0, 1fr); } }
.notice { position: relative; padding: var(--space-xl); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); }
.notice::after { content: ""; position: absolute; inset: var(--sheet-inset); border: var(--rule-hair) solid var(--color-rule-2); pointer-events: none; }
.notice-title, .notice h1 { max-width: none; margin: 0 0 var(--space-md); font-size: var(--text-2xl); line-height: 1.12; }
.notice h2 { max-width: none; margin: 0 0 var(--space-md); }
.notice h3 { max-width: none; margin: var(--space-lg) 0 var(--space-xs); font: 700 var(--text-md)/1.35 var(--font-body); letter-spacing: 0; }
.notice p, .notice li { color: var(--color-ink-2); }
.notice ol { padding-left: 1.3em; }
.notice li { margin: var(--space-xs) 0; }
.notice a { color: var(--color-ink); }
.notice-links { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin: var(--space-lg) 0 var(--space-md); }
.notice .btn { margin-top: var(--space-xs); color: var(--color-ink); }
.notice .btn-primary { color: var(--color-accent-ink); }
.notice-404 { max-width: 760px; }
.notice-code { margin: 0 0 var(--space-sm); font: 700 var(--text-3xl)/1 var(--font-outlier); color: var(--color-ink); }
@media (max-width: 40rem) { .notice { padding: var(--space-lg) var(--space-md); } }

@media print {
  .site-header, .menu, .site-footer .foot-grid { display: none !important; }
  body { background: Canvas; color: CanvasText; }
}
.notice-docs { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-lg); }
