/* Hallmark · shape: Map / Diagram · genre: atmospheric · theme: Refract (deal 3/3, seed accounting-saas-accounting-app-e9ab·6c266bb9·2026-11-07·r0) · job: sign up · draw: fb4a0c
 * hero: Stage (a photograph of a detailing studio, a car on a lift, bleeds off the right edge; on a phone it is a card under the text; the cabinet demo is a link after the two doors, the owner's call on 08.11 after the offline 3D bay read as unreal) · nav: one clear bar, three doors (Telegram, VK, login to the cabinet on the site) · footer: one compact strip · imagery: two Unsplash photographs, the hero (a car on a lift) and the close (a foam wash), under the Unsplash License, which needs no credit line (the owner wants none); the product captured below, per role in the team band · signature: a real studio, the car on the lift, at full height beside a plain CRM headline · refract: material replaced at the owner's request (08.11: first "the water looks like a pool, make it on-topic", then a detailing bay with lifts, then "find a realistic photo"); paper, type, controls kept · brand kept: Onest, #1862E2 · pages: /, /blog/ (index and guides), the industry pages /crm-dlya-deteylinga/, /crm-dlya-avtomoyki/, /crm-dlya-avtoservisa/ (09.11, SEO: one page per kind of business, the same parts as the home) and 404.html
 * copy: rewritten at the owner's request (08.11: say plainly that it is a CRM, no filler, no AI tells): no rhetorical headline, no metaphors, every claim checked against the code
 * axes: light/grotesk-sans/cool · modes: light+dark (follows the device, as the cabinet does) · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V5 · weakest: R, the owner asked for parallax that Refract keeps still; held it to the hero photograph, never type */
/* Hallmark · dismissed render · the font warning comes from the file:// shots, which cannot load woff2 over file; the http shots render Onest */
/* Hallmark · dismissed F4 · the white pressed segment of a switch is its selected state, not an action; the page keeps one filled primary, the blue pill */
/* Hallmark · finish-review 08.11 (hood + copy): subagent · 8 findings · 6 resolved (narrowed window drops the demo, demo link on the hood, phone map arrows only on real links, an action under the prices, h1 at 1920, prices note measure) · 1 not reproduced (empty phone panel: a clean phone load shows the poster) · 1 open (team screen: wants a capture of the master's own view) · copy: 6 lines rewritten */
/* Hallmark · dismissed 41 · .scheme__col is dark only in the dark block, where --color-ink turns light too; its text inherits ink in both modes */
/* Hallmark · answered F15 · the scheme keeps 64px for its direction chevrons, the close 96px between the chat on the photograph and its text, the swiped team screens 24px */
/* Hallmark · dismissed 25 · the flow steps are one or two sentences beside a pinned screen; 34ch keeps each beside its step */
/* Hallmark · dismissed 59 · eleven sections: the owner asked to state what each plan includes and the free move from another CRM (the move stands apart so it reads as an offer, not a footnote under the prices); the SEO pass of 09.11 added the three doors to the industry pages under the hero */
/* Hallmark · dismissed 76 · the render harness serves a page from its own folder, so the ../img paths of the industry pages and the blog fall outside it; through the local server and on the site every image loads (Playwright, 09.11: 0 broken on /, the industry pages and /blog/) */
/* Hallmark · waive 44c · blog/index.html .journal · the blog index is a document: its list is the page and it has no hero */
/* Hallmark · waive 77 · blog/*.html .posts, .post · the blog is a reading list and reading columns, not a landing, one section by design */
/* Hallmark · waive 84 · index.html .chat, site.css .msg__btns · the bot exchange is set in type from the bot's real reply (parse.py, the confirm buttons); no capture of a real chat on sample data exists yet */
/* Hallmark · hero-review: fix · 5 findings · 4 resolved 1 partial (still text beside the product; made its own by the pool, the tilt and the ripples) */
/* Hallmark · finish-review: subagent · 8 findings · 7 resolved 1 changed (the photograph is gone: the owner asked to drop its credit line, which a CC BY photo cannot do without) · gap: people now show only as roles until the owner sends studio photos */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- page */
body { font-size: 1.0625rem; line-height: 1.6; color: var(--color-ink-2); }
h1, h2, h3 { color: var(--color-ink); }
.lead { color: var(--color-muted); }
a { color: var(--color-ink); }
a:hover { color: var(--color-accent-hi); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

/* ---------- controls: pills, one filled primary */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill);
  background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-md)/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: var(--edge-btn), var(--shadow-card); transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-hi); color: var(--color-accent-ink); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn--clear { background: color-mix(in oklab, var(--color-light) 84%, transparent); color: var(--color-ink); box-shadow: var(--edge-light), var(--shadow-card); }
.btn--clear:hover { background: var(--color-light); color: var(--color-ink); }

/* ---------- masthead: one clear bar, sticky */
.masthead { position: sticky; top: 0; z-index: var(--z-sticky-nav); }
/* a clear bar: white over the paper, never blurred */
.bar { background: color-mix(in oklab, var(--color-light) 94%, transparent); box-shadow: 0 1px 0 var(--color-rule-2); }
.bar__in { display: flex; align-items: center; gap: var(--space-xl); height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); text-decoration: none; font-weight: 600; font-size: var(--text-lg); letter-spacing: -0.015em; }
.wordmark img { width: 32px; height: 32px; border-radius: 9px; }
.bar__links { display: flex; gap: var(--space-lg); margin-left: auto; font-size: var(--text-md); }
.bar__links a { text-decoration: none; color: var(--color-ink-2); }
.bar__links a:hover { color: var(--color-accent-hi); }
.bar .btn { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.bar__actions { display: flex; gap: var(--space-xs); }
.bar__short { display: none; }
.wordmark, .bar__links a { white-space: nowrap; }
/* three doors and the links share the bar: below 70rem the doors take their short names */
@media (max-width: 70rem) {
  .bar__long { display: none; }
  .bar__short { display: inline; }
}

/* ---------- hero: a photograph of a detailing studio, a car on a lift, bleeds off the right edge and runs up under the bar */
.hero { position: relative; isolation: isolate; min-height: calc(100svh - 64px); display: grid; align-items: center; padding-block: var(--space-xl); overflow: clip visible; }
.hood { position: absolute; z-index: -1; top: var(--space-md); bottom: var(--space-xl); left: 52%; right: 0; overflow: hidden; border-radius: 56px 0 0 56px; background: var(--color-paint); }
.hood::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--hood-rim); pointer-events: none; }
.shot picture, .shot img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.shot img { object-fit: cover; object-position: 50% 50%; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 3vw + 1.1rem, 3.8rem); line-height: 1.04; max-width: none; }
.hero .lead { margin-top: var(--space-lg); max-width: 34ch; color: var(--color-ink-2); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); margin-top: var(--space-xl); }
.terms { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
/* the demo opens in the browser on sample data: a plain link after the two doors */
.demo-link { display: inline-flex; align-items: center; min-height: 48px; color: var(--color-ink); font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; transition: color var(--dur-short) var(--ease-out); }
.demo-link:hover { color: var(--color-accent-hi); }
.demo-link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-inner); }
.demo-link:active { color: var(--color-accent); }

/* ---------- small screens: one column, the photograph under the text */
@media (max-width: 60rem) {
  .bar__links { display: none; }
  .bar__in { gap: var(--space-md); justify-content: space-between; }
  .hero { min-height: 0; padding-block: var(--space-xl) var(--space-2xl); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  /* a card from the text's edge off the right edge */
  .hero .hood { position: relative; inset: auto; order: 1; justify-self: stretch; aspect-ratio: 5 / 4; max-height: 480px; margin: var(--space-xl) 0 0 var(--gutter); border-radius: 40px 0 0 40px; }
  .hero .shot img { object-position: 60% 75%; }
}
@media (max-width: 40rem) {
  /* phones keep all three doors in the bar, in short words; the narrowest show the mark without the name */
  .bar__in { gap: var(--space-sm); }
  .bar .btn { min-height: 40px; padding: 0 var(--space-xs); font-size: var(--text-sm); }
  .bar__actions { gap: var(--space-2xs); }
  .bar .wordmark { white-space: nowrap; }
  .bar .wordmark span { font-size: 0.9375rem; }
  .bar__long { display: none; }
  .bar__short { display: inline; }
  .bar .wordmark { font-size: var(--text-md); gap: var(--space-xs); }
  .hero h1 { font-size: 2.125rem; }
  .hero .lead { margin-top: var(--space-md); font-size: var(--text-md); }
  .actions { margin-top: var(--space-lg); }
  .actions .btn { padding: 0 var(--space-md); }
}
@media (max-width: 23rem) { .bar .wordmark span { display: none; } }

/* ---------- the scheme: what the studio enters, what the product counts itself (lit by the lamps' cool light), what the owner gets */
.map { padding-block: var(--section-gap) var(--section-gap-s); }
.map h2 { margin-bottom: var(--space-2xl); }
.scheme { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr); gap: var(--space-2xl); align-items: start; }
.scheme__col { position: relative; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-light); box-shadow: var(--edge-light), inset 0 0 0 1px var(--color-rule), var(--shadow-card); }
.scheme__col.is-auto { background: var(--color-lit); box-shadow: var(--edge-light), inset 0 0 0 1px var(--color-lit-2), var(--shadow-card); }
.scheme h3 { margin-bottom: var(--space-md); }
.scheme ul { list-style: none; margin: 0; padding: 0; }
.scheme li { padding-block: var(--space-sm); border-top: 1px solid var(--color-rule); }
.scheme__col.is-auto li { border-top-color: color-mix(in oklab, var(--color-lit-2) 45%, transparent); }
.scheme li b { display: block; color: var(--color-ink); font-weight: 600; line-height: 1.3; }
.scheme li span { display: block; margin-top: var(--space-3xs); font-size: var(--text-sm); line-height: 1.45; color: var(--color-ink-2); }
/* the direction, level with the column titles: a chevron in the gap before the second and the third column */
.scheme__col + .scheme__col::before { content: ""; position: absolute; left: calc(var(--space-2xl) / -2 - 9px); top: calc(var(--space-lg) + 0.6em); width: 12px; height: 12px;
  border-top: 2px solid var(--color-lit-2); border-right: 2px solid var(--color-lit-2); transform: rotate(45deg); }

/* ---------- one car, start to finish: the screen holds while the steps pass */
.flow { padding-block: var(--section-gap-s) var(--section-gap); }
.flow__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); }
.flow__pin { position: sticky; top: calc(64px + var(--space-xl)); align-self: start; display: grid; justify-items: start; }
.flow__stack { position: relative; width: min(360px, 100%); aspect-ratio: 390 / 844; border-radius: var(--radius-card); overflow: hidden; background: var(--color-light);
  box-shadow: var(--edge-light), var(--shadow-card), var(--shadow-cast); }
.flow__stack figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.flow__stack figure.is-on { opacity: 1; }
.flow__stack img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.flow__text h2 { margin-bottom: var(--space-xl); }
.flow__steps { list-style: none; margin: 0; padding: 0; }
.flow__steps li { min-height: 44svh; display: grid; align-content: center; padding-block: var(--space-xl); border-top: 1px solid var(--color-rule); }
.flow__steps li:first-child { min-height: 36svh; align-content: start; border-top: 0; padding-top: 0; }
.flow__steps h3 { font-size: var(--text-title); }
.flow__steps p { margin-top: var(--space-sm); font-size: var(--text-lead); max-width: 34ch; }
.flow__shot { display: none; }

/* ---------- people: who sees what, the real cabinet for each role on a paper-2 band */
.team { padding-block: var(--section-gap); background: var(--color-paper-2); }
.team__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.roles { margin-top: var(--space-2xl); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.roles:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 6px; border-radius: var(--radius-card); }
.role { margin: 0; }
.role__screen { width: min(100%, 300px); aspect-ratio: 390 / 844; border-radius: var(--radius-card); background: var(--color-light); box-shadow: var(--edge-light), var(--shadow-card); }
.role__screen > img { object-position: top center; }
.role figcaption { margin-top: var(--space-lg); max-width: 300px; }
.role figcaption b { display: block; font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-title); line-height: 1.2; color: var(--color-ink); }
.role figcaption span { display: block; margin-top: var(--space-2xs); color: var(--color-ink-2); }

/* ---------- the calculator: the visitor's numbers, the subscription's real price */
.calc { padding-block: var(--section-gap-s); }
.calc__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl) var(--space-3xl); align-items: start; }
.calc__head { grid-column: 1 / -1; }
.calc__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-lg); }
.calc__form .switch { grid-column: 1 / -1; }
.field { display: grid; gap: var(--space-xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.input { width: 100%; min-height: 52px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius-inner); background: var(--color-light);
  color: var(--color-ink); font: 400 var(--text-lg)/1 var(--font-body); font-variant-numeric: tabular-nums; }
.input:hover { border-color: var(--color-ink-2); }
.input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -1px; }
.input:disabled { opacity: 0.55; cursor: not-allowed; }
.input:invalid { border-color: var(--color-error); }
.switch { display: inline-flex; flex-wrap: wrap; gap: var(--space-2xs); padding: var(--space-2xs); margin: 0; border-radius: var(--radius-pill); background: var(--color-paper-3); justify-self: start; }
.switch button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: none;
  color: var(--color-ink-2); font: 500 var(--text-sm)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.switch button:hover { color: var(--color-ink); }
.switch button[aria-pressed="true"] { background: var(--color-light); color: var(--color-ink); box-shadow: var(--edge-light), var(--shadow-card); }
.switch button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.switch button:active { transform: translateY(1px); }
.switch button:disabled { opacity: 0.55; cursor: not-allowed; }
.calc__out { display: grid; padding: var(--space-xl); border-radius: var(--radius-card); background: color-mix(in oklab, var(--color-light) 86%, transparent); box-shadow: var(--edge-light), var(--shadow-card); }
.calc__figure { font-size: clamp(4.5rem, 7vw, 7.5rem); font-weight: 300; line-height: 0.95; letter-spacing: -0.04em; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.calc__figure b { font-weight: 300; }
.calc__label { margin-top: var(--space-xs); color: var(--color-muted); }
.calc__rows { margin: var(--space-xl) 0 0; }
.calc__rows div { display: flex; justify-content: space-between; gap: var(--space-md); padding-block: var(--space-sm); border-top: 1px solid var(--color-rule); }
.calc__rows dt { color: var(--color-ink-2); }
.calc__rows dd { margin: 0; color: var(--color-ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.is-solo [data-company] { display: none; }

/* ---------- prices: two plans, three periods */
.prices { padding-block: var(--section-gap) var(--section-gap-s); }
.prices__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { text-align: left; padding: var(--space-lg) var(--space-md) var(--space-lg) 0; border-bottom: 1px solid var(--color-rule); vertical-align: baseline; }
.price-table thead th { padding-block: var(--space-sm); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); white-space: nowrap; }
.price-table tbody th { font-size: var(--text-title); font-weight: 500; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.price-table td.num { font-size: var(--text-title); color: var(--color-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table .pt { display: block; margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.price-table .pt[hidden] { display: none !important; }
.prices__note { margin-top: var(--space-lg); max-width: 65ch; color: var(--color-muted); font-size: var(--text-sm); }
/* what the plans include: one list for both, then what only one plan has */
.inc { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-2xl) var(--gap-columns); margin-top: var(--space-2xl); }
.inc h3 { margin-bottom: var(--space-sm); }
.inc ul + h3 { margin-top: var(--space-xl); }
.inc ul { list-style: none; margin: 0; padding: 0; }
.inc__col:first-child ul { columns: 2; column-gap: var(--gap-columns); }
.inc li { position: relative; break-inside: avoid; padding: var(--space-xs) 0 var(--space-xs) 28px; border-top: 1px solid var(--color-rule); color: var(--color-ink-2); }
.inc li::before { content: ""; position: absolute; left: 3px; top: calc(var(--space-xs) + 0.5em); width: 11px; height: 6px; border-left: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent); transform: rotate(-45deg); }

/* ---------- the move from another CRM: free; what else the team does at the start */
.move { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.move__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl) var(--gap-columns); align-items: start; }
.move .lead { margin-top: var(--space-md); max-width: 34ch; }
.move__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.move__list li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xs) var(--space-lg); padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.move__list b { color: var(--color-ink); font-weight: 600; }
.move__list span { color: var(--color-ink-2); }
@media (max-width: 60rem) {
  .inc, .move__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .inc__col:first-child ul { columns: 1; }
  .move__list li { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- questions: the objections a studio owner asks before trying, answered with facts */
.faq { padding-block: var(--section-gap-s) var(--section-gap); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl) var(--gap-columns); align-items: start; }
.faq__list { border-top: 1px solid var(--color-rule); }
.faq details { border-bottom: 1px solid var(--color-rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 64px; padding-block: var(--space-md);
  font-size: var(--text-title); line-height: 1.25; color: var(--color-ink); cursor: pointer; list-style: none; transition: color var(--dur-short) var(--ease-out); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; margin-right: var(--space-2xs);
  transform: translateY(-3px) rotate(45deg); transition: transform var(--dur-short) var(--ease-out); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--color-accent-hi); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-inner); }
.faq summary:active { color: var(--color-accent); }
.faq details p { padding: 0 var(--space-2xl) var(--space-lg) 0; font-size: var(--text-lead); max-width: 60ch; }

/* ---------- the close: one line to the bot; the chat lies on a photograph of a foam wash */
.bot { position: relative; padding-block: var(--section-gap-l); overflow: clip; }
.bot__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.bot .lead { margin-top: var(--space-lg); max-width: 34ch; }
.chat { position: relative; isolation: isolate; margin: 0; display: grid; gap: var(--space-sm); max-width: 520px; justify-self: center; width: 100%; padding: var(--space-2xl) var(--space-xl); }
.hood--panel { inset: 0; border-radius: 40px; }
.msg { margin: 0; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card); background: var(--color-light); color: var(--color-ink);
  box-shadow: var(--edge-light), var(--shadow-card); line-height: 1.45; }
.msg p { margin: 0; }
.msg--me { justify-self: end; max-width: 85%; background: var(--color-accent); color: var(--color-accent-ink); border-bottom-right-radius: var(--space-2xs); box-shadow: var(--shadow-card); }
.msg--bot { justify-self: start; width: 88%; border-bottom-left-radius: var(--space-2xs); }
.msg__row { display: flex; justify-content: space-between; gap: var(--space-md); font-variant-numeric: tabular-nums; }
.msg__btns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xs); margin-top: var(--space-sm) !important; }
.msg__btns span { display: grid; place-items: center; min-height: 40px; border-radius: var(--radius-inner); background: var(--color-paper-2); font-size: var(--text-sm); font-weight: 500; }
.msg--done { width: auto; }

/* ---------- the blog: an index of short guides, and each guide as one readable column */
.journal { padding-block: var(--space-2xl) var(--section-gap-s); }
.journal h1 { font-size: var(--text-display-s); max-width: 22ch; }
.journal .container > .lead { margin-top: var(--space-md); }
.bar__links a[aria-current="page"] { color: var(--color-ink); text-decoration: underline; text-underline-offset: 0.3em; }
.posts { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; max-width: 880px; border-top: 1px solid var(--color-rule); }
.posts li { border-bottom: 1px solid var(--color-rule); }
.posts a { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: var(--space-2xs) var(--space-lg); padding-block: var(--space-lg); color: var(--color-ink); text-decoration: none; }
.posts time { grid-row: span 2; padding-top: 0.4em; font-size: var(--text-sm); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.posts b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-title); line-height: 1.2; transition: color var(--dur-short) var(--ease-out); }
.posts span { color: var(--color-ink-2); }
.posts a:hover b { color: var(--color-accent-hi); }
.posts a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-inner); }
.posts a:active b { color: var(--color-accent); }
.post { max-width: calc(68ch + 2 * var(--gutter)); }
.post__back { display: inline-block; margin-bottom: var(--space-lg); font-size: var(--text-sm); color: var(--color-ink-2); }
.post__meta { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.post .lead { margin-top: var(--space-lg); color: var(--color-ink-2); }
.post h2 { margin-top: var(--space-2xl); font-size: var(--text-2xl); }
.post h2 + p, .post h2 + ul, .post h2 + ol { margin-top: var(--space-md); }
.post p, .post li { font-size: 1.125rem; line-height: 1.65; }
.post ul, .post ol { margin: 0; padding-left: 1.25em; }
.post li + li { margin-top: var(--space-xs); }
.post ol + p { margin-top: var(--space-md); }
.post__shot { margin: var(--space-xl) 0 0; }
.post__shot img { width: min(100%, 320px); border-radius: var(--radius-card); box-shadow: var(--edge-light), var(--shadow-card); }
.post__shot figcaption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }
.post__end { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-rule); }
@media (max-width: 40rem) {
  .posts a { grid-template-columns: minmax(0, 1fr); }
  .posts time { grid-row: auto; padding-top: 0; }
}

/* ---------- colophon */
/* one compact strip: the wordmark and the links on a line, the seller's details under them */
.colophon { padding-block: var(--space-xl); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); }
.colophon__in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-xl); }
.colophon .wordmark { font-size: var(--text-md); }
.colophon .wordmark img { width: 24px; height: 24px; border-radius: 7px; }
.colophon__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin-left: auto; }
.colophon__links a { color: var(--color-ink-2); white-space: nowrap; }
.colophon__legal { flex-basis: 100%; max-width: none; color: var(--color-muted); }

@media (max-width: 60rem) {
  /* one column, top to bottom: enter, counted, received; the chevrons turn down */
  .map h2 { margin-bottom: var(--space-xl); }
  .scheme { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .scheme__col + .scheme__col::before { left: calc(50% - 6px); top: calc(var(--space-xl) / -2 - 9px); transform: rotate(135deg); }
  .flow__grid, .calc__grid, .bot__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .faq details p { padding-right: 0; }
  .flow__pin { display: none; }
  .flow__steps li, .flow__steps li:first-child { min-height: 0; align-content: start; padding-block: var(--space-xl); border-top: 1px solid var(--color-rule); }
  .flow__shot { display: block; width: min(300px, 80%); margin: 0 0 var(--space-lg); border-radius: var(--radius-card); box-shadow: var(--edge-light), var(--shadow-card); }
  /* phones: the three screens side by side, swiped */
  .team__head { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .roles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: var(--space-md);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: var(--space-md); }
  .roles::-webkit-scrollbar { display: none; }
  .role { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .calc__form { grid-template-columns: minmax(0, 1fr); }
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xs) var(--space-md); padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); }
  .price-table th, .price-table td { padding: 0; border: 0; }
  .price-table tbody th { grid-column: 1 / -1; }
  .price-table td::before { content: attr(data-label); display: block; font-size: var(--text-sm); color: var(--color-muted); }
  .chat { padding: var(--space-xl) var(--space-md); }
  .hood--panel { border-radius: 28px; }
}

/* ---------- depth on scroll (the owner's parallax): the hero photograph drifts a little inside its frame; type never moves */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero .shot img { scale: 1.08; animation: shot-drift linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
    @keyframes shot-drift { to { transform: translateY(3%); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .masthead, .btn, .demo-link { transition: none; }
}
/* dark mode: light text on a dark ground reads heavier, so the body steps down 50 units (tokens.css carries the colours) */
@media (prefers-color-scheme: dark) {
  body { font-weight: 350; }
}

/* ---------- industry pages (/crm-dlya-…/): the same system; a page per kind of business, its own screens and questions */
.page-hero { padding-block: var(--space-2xl) var(--section-gap-s); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl) var(--gap-columns); align-items: center; }
.page-hero h1 { font-size: clamp(2.5rem, 3vw + 1.1rem, 3.8rem); line-height: 1.04; overflow-wrap: break-word; min-width: 0; }
.page-hero .lead { margin-top: var(--space-lg); max-width: 38ch; color: var(--color-ink-2); }
.page-hero__screen { justify-self: center; width: min(100%, 320px); aspect-ratio: 390 / 844; margin: 0; border-radius: var(--radius-card); overflow: hidden; background: var(--color-light);
  box-shadow: var(--edge-light), var(--shadow-card), var(--shadow-cast); }
.page-hero__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.feat { padding-block: var(--section-gap-s); }
.feat h2 { margin-bottom: var(--space-2xl); max-width: 26ch; }
.feat__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap-columns); }
.feat__list li { padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); }
.feat__list h3 { font-size: var(--text-title); line-height: 1.25; }
.feat__list p { margin-top: var(--space-xs); max-width: 52ch; }
.feat__note { margin-top: var(--space-xl); max-width: 65ch; color: var(--color-muted); font-size: var(--text-sm); }
.posts--plain a { grid-template-columns: minmax(0, 1fr); }
.related { padding-block: var(--section-gap-s); }
.related .kinds__list { margin-top: var(--space-xl); }
@media (max-width: 60rem) {
  .page-hero__grid, .feat__list { grid-template-columns: minmax(0, 1fr); }
  .page-hero__screen { justify-self: start; width: min(78%, 300px); }
}
/* ---------- the three kinds of business under the hero: a door to each industry page */
.kinds { padding-block: var(--space-3xl) 0; }
.kinds h2 { font-size: var(--text-2xl); max-width: none; }
.kinds__list { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap-columns); }
.kinds__list a { display: grid; gap: var(--space-2xs); padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); color: var(--color-ink); text-decoration: none; }
.kinds__list b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-title); line-height: 1.2; transition: color var(--dur-short) var(--ease-out); }
.kinds__list span { color: var(--color-ink-2); }
.kinds__list a:hover b { color: var(--color-accent-hi); }
.kinds__list a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-inner); }
.kinds__list a:active b { color: var(--color-accent); }
@media (max-width: 60rem) { .kinds__list { grid-template-columns: minmax(0, 1fr); } }
/* ---------- registers and payments: only what the cabinet really drives, each with the maker's mark */
.integ { padding-block: var(--section-gap-s); }
.integ h2 { margin-bottom: var(--space-2xl); }
.integ__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.integ__group h3 { margin-bottom: var(--space-xs); }
.integ__group > p { max-width: 52ch; color: var(--color-ink-2); }
.integ__list { list-style: none; margin: var(--space-lg) 0 0; padding: 0; }
.integ__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-md); align-items: center; padding-block: var(--space-sm); border-top: 1px solid var(--color-rule); }
.integ__list b { display: block; color: var(--color-ink); font-weight: 600; }
.integ__list small { display: block; color: var(--color-ink-2); font-size: var(--text-sm); }
.integ img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 1px var(--color-rule-2); }
.integ__icons { list-style: none; margin: var(--space-lg) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg) var(--space-sm); }
.integ__icons li { display: grid; justify-items: start; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.integ__note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); max-width: 60ch; }
@media (max-width: 60rem) { .integ__grid { grid-template-columns: minmax(0, 1fr); } }