/* The landing of 4clevel.com: variant A ("SPIN") of the owner's prototype
   (.claude/plans/landing-cms/prototype-v2.html) on the app's design system. The prototype's shapes and layout are
   kept; its colours are the app's tokens (src/frontend/app/styles/tokens.css, light: the landing has no dark version)
   and its type is the app's: Inter at the app's sizes and weights (base.css, primitives.css, site.css), never the
   mock-up's scale (owner's rule for mock-ups). A plain file: no build step. */

/* The file is in four areas, each a part's of the move to the v3 mock-up (.claude/plans/landing-v3/RELEASE.md):
   system (а) — tokens, type, header, foot, buttons, sections, grid, labels, stand-ins; A and the shared sections (б);
   B (в); the drawings of the app (д). Each area has its own @media at its end: a part changes only its own lines. */

/* == system (а) == */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  /* Inter 4.1, the official release (rsms/inter, SIL OFL 1.1: fonts/LICENSE.txt), cut to the landing's alphabets:
     344 KiB whole, 138 KiB cut (taste-skill perf, 2026-12-03: its budget is 160), every axis and layout feature kept,
     so the pages draw pixel for pixel as with the whole file. Latin with Latin Extended-A (Polish), Cyrillic with
     Ukrainian's letters, the punctuation, arrows and signs the texts use; a letter outside it falls back to the
     system's font. Made with fontTools:
       pyftsubset InterVariable.woff2 --flavor=woff2 --layout-features='*' --name-IDs='*' --notdef-outline --no-hinting
         --unicodes=U+0000-00FF,U+0100-017F,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0300-0308,U+0329,
           U+0400-045F,U+0490-0491,U+04B0-04B1,U+2000-206F,U+20AC,U+20BD,U+2116,U+2122,U+2190-2199,U+2212,U+2215,
           U+2713-2715,U+FEFF,U+FFFD
     A new file, a new ?v= here and in the views' preload (LandingPagesTest). */
  src: url("fonts/InterVariable.woff2?v=4.1s") format("woff2");
}

/* ---- The app's tokens (tokens.css, light) ---- */
:root {
  color-scheme: light;
  --bg: #F6F6F8;
  --surface: #FFFFFF;
  --surface-2: #FAFAFB;
  --border: #E6E8EB;
  --border-strong: #DADCE1;
  --text-1: #061836;
  --text-2: #6A7487;
  --text-3: #9CA2AF;
  --text-on-accent: #FFFFFF;
  --accent: #005AFF;
  --accent-hover: #0047C9;
  --accent-soft: #EAF1FF;
  --accent-ring: rgba(0, 90, 255, 0.18);
  --error: #FF195E;
  --error-soft: #FFF7F9;
  --chairman: #E97E00;
  --chairman-soft: #FFEFD6;
  --contour-direction: #248A3D;
  --contour-engine: #5B3FB5;
  --contour-market: #0059B3;
  --board-tension: #A35A00;
  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* The prototype's roles, on those tokens. */
  --ink: var(--text-1);
  /* A shade darker than the app's --text-2 (#6A7487, 4.15:1 on the tinted grounds): 5.2:1 and up on every ground of
     the page (owner, 2026-12-02). */
  --muted: #5B6578;
  --line: var(--border);
  --alt: var(--bg);
  /* The app's --radius-lg, as the v3 mock-up's cards (panel-visual.md, section 7). */
  --r: 16px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(6, 24, 54, 0.04), 0 8px 24px rgba(6, 24, 54, 0.06);
  /* A director's stance (the examples): a label's ink and its wash. */
  /* The app's green with a fifth of ink: 5.2:1 on its wash (the green alone, 3.9:1). */
  --yes: color-mix(in srgb, var(--contour-direction) 80%, var(--text-1));
  --yes-soft: color-mix(in srgb, var(--contour-direction) 10%, var(--surface));
  --no: color-mix(in srgb, var(--error) 75%, var(--text-1));
  /* A wash of a tenth, as --yes-soft's: 1.16:1 to white, so the label keeps its shape on a white card (the app's
     --error-soft, 1.05:1, was lost there); its words 5.1:1 on it. */
  --no-soft: color-mix(in srgb, var(--error) 10%, var(--surface));
  --cond: var(--board-tension);
  --cond-soft: var(--chairman-soft);

  /* Landing v3 (.claude/plans/landing-v3/panel-visual.md, section 1): the mock-up's roles on the app's tokens. Body
     text a shade lighter than ink; words and lines on the dark and blue sections; the firm border of a card. */
  --body: color-mix(in srgb, var(--text-1) 50%, var(--text-2));
  --on-dark: color-mix(in srgb, var(--surface) 85%, var(--ink));
  --accent-on-dark: color-mix(in srgb, var(--accent) 40%, var(--surface));
  --line-dark: color-mix(in srgb, var(--surface) 14%, var(--ink));
  --border-firm: #C1C5CD;
  --shadow-float: 0 1px 2px rgba(6, 24, 54, 0.04), 0 28px 56px -28px rgba(6, 24, 54, 0.22);
  /* The hero's session alone, lifted off the white page and seen on every side (the owner's variant C,
     2026-12-03): it reaches 24 above, 56 aside and 88 under. */
  --shadow-lift: 0 1px 3px rgba(6, 24, 54, 0.08), 0 10px 24px -4px rgba(6, 24, 54, 0.12), 0 32px 72px -16px rgba(6, 24, 54, 0.3);
  --r-xs: 8px;
  /* The header's height (60 on a phone): its row, the menu's list under it, a section's place under it. */
  --top-h: 64px;
}

* { box-sizing: border-box; }
/* No smooth scroll-behavior on the page: a Tab to a control below the window would glide it in for most of a second,
   the focus out of sight meanwhile (taste-skill focus-visible). The examples' panel glides by landing.js. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
/* Headings break between words only (no hyphens: a split word in a heading reads badly); a word longer than the
   column still breaks rather than widen the page. Their lines are balanced and a paragraph keeps no lone last word,
   as the mock-up's. */
h1, h2, h3, h4 { margin: 0 0 0.5em; color: var(--ink); overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
/* t-display */
h1 { font-size: clamp(38px, 10vw, 64px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
/* t-h2 on a phone, t-h1 from the tablet up */
h2 { font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -0.012em; }
@media (min-width: 640px) { h2 { font-size: 36px; line-height: 1.2; letter-spacing: -0.018em; } }
/* t-h3 */
h3 { font-size: 18px; line-height: 1.4; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--accent); }
:where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 4px var(--accent-ring); border-radius: 8px; }
::selection { background: var(--accent-soft); color: var(--ink); }
/* The keyboard's first stop (page.blade.php): off the screen until it has the focus, then over the header, in the
   window wherever the page is scrolled to. */
.skip { position: fixed; left: 16px; top: -100px; z-index: 30; background: var(--surface); color: var(--ink); font-weight: 600; padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- The rail: the mock-up's column of 1240 (content-box there) and our fields, 16 and 32 from 640 ---- */
.wrap { max-width: 1304px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }
.muted { color: var(--muted); }
/* t-body-lg */
.lead { font-size: 18px; line-height: 1.6; color: var(--ink); }

/* ---- Header (the mock-up's without its languages, which are the foot's alone, owner 2026-12-03: the logo, the
   menu, «Log in» and the blue «Start»). Every link is a thumb's 44 px tall on any screen. ---- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
/* The logo at the left, the menu in the middle of the rail, «Log in» and «Start» at the right; a side never narrower
   than what it holds, so words too long for the row widen the header past the window, and landing.js puts the menu
   under its button then (.top-tight). */
.top-in { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; column-gap: 24px; height: var(--top-h); }
.logo { font-weight: 700; font-size: 18px; letter-spacing: -0.03em; line-height: 1; color: var(--ink); text-decoration: none; margin-right: auto; }
a.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo span { color: var(--accent); }
.logo-sm { margin-right: 0; }
.top-end { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 24px; }
.top-login { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.top-login:hover, .top-nav a:hover { color: var(--body); text-decoration: underline; text-underline-offset: 4px; }
/* The menu: the page's sections (App\Landing\Menu), as «Log in» in a row. */
.top-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
/* Its button, as the white button of the page (44 × 44, the firm frame): two lines, a cross while the list is open. */
.top-toggle { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border-firm); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color 0.15s; }
.top-toggle:hover { border-color: var(--ink); }
.top-toggle svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.top-toggle .top-cross, .top-toggle[aria-expanded="true"] .top-bars { display: none; }
.top-toggle[aria-expanded="true"] .top-cross { display: inline; }
/* Under 1024, and wherever the row does not fit (.top-tight): the button, and the list under the header over the rest
   of the window while it is open, a row of 56 per section (taste-skill system.md, Nav). The page under it stands still
   (.top-locked). Without the script a narrow window has no menu: the button would do nothing. 1023.98, as landing.js:
   a zoomed window may be 1023.5 wide. */
@media (max-width: 1023.98px) {
  .top-nav { display: none; }
  .top-toggle { display: grid; }
}
.top.top-tight .top-nav { display: none; }
.top.top-tight .top-toggle { display: grid; }
@media (scripting: none) {
  .top .top-toggle { display: none; }
}
.top.is-open .top-nav {
  display: block; position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--top-h));
  overflow-y: auto; overscroll-behavior: contain; background: var(--surface); border-top: 1px solid var(--line);
}
.top.is-open .top-nav ul { flex-direction: column; gap: 0; max-width: 1304px; margin: 0 auto; padding: 12px 16px 32px; }
@media (min-width: 640px) { .top.is-open .top-nav ul { padding-inline: 32px; } }
.top.is-open .top-nav a { display: flex; width: 100%; min-height: 56px; font-size: 18px; border-bottom: 1px solid var(--line); white-space: normal; }
/* Locked, the page keeps its scrollbar's place: it does not shift under the open list. Only while locked: a browser
   that hides its scrollbar (a screenshot's) would show the place as a white strip. */
.top-locked { overflow: hidden; scrollbar-gutter: stable; }
/* A section the menu leads to comes under the header, not behind it. */
main > section[id] { scroll-margin-top: var(--top-h); }

/* ---- Buttons: the mock-up's blue and white, and their pair for the ink and blue sections (owner, 2026-12-02); the
   app's type (600, 15 px as btn-lg, 14 in the header), 52 px tall as the mock-up's. ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; font: 600 15px/1.3 var(--font-sans); text-decoration: none; border-radius: 12px; padding: 12px 24px; transition: background-color 0.15s, border-color 0.15s, color 0.15s; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn svg { flex: none; }
.btn-primary { background: var(--accent); color: var(--text-on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border-firm); }
.btn-ghost:hover { border-color: var(--ink); }
/* On ink and on the blue: white with ink words (17.6:1), and a frame of white on the blue at three quarters, 3.65:1
   (the mock-up's 60 %, 2.84:1, is under the 3:1 of a control's edge). */
.btn-light { background: var(--surface); color: var(--ink); }
.btn-light:hover { background: var(--line); }
.btn-ghost-light { background: transparent; color: var(--text-on-accent); border-color: color-mix(in srgb, var(--surface) 75%, var(--accent)); }
/* Its hover a wash of 8 % white: the words stay 4.75:1 on the blue (12 %, 4.44:1). */
.btn-ghost-light:hover { border-color: var(--surface); background: color-mix(in srgb, var(--surface) 8%, transparent); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.try-note { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 520px; }

/* ---- Sections: white, grey (.sec-alt), ink (.sec-dark) and blue (.sec-blue). A dark or blue section carries
   .on-dark too: its headings and strong words white, its text in the section's colour (--on-dark on ink, 12.8:1;
   white on the blue, 5.4:1 — --on-dark there is 3.9:1), and the ring of the focus white (the blue one is lost on
   both; AccessibilityTest). A white card inside such a section carries .on-light: ink words, a blue ring. ---- */
.sec { padding: 96px 0; }
.sec-alt { background: var(--alt); }
.sec-dark { background: var(--ink); color: var(--on-dark); }
.sec-blue { background: var(--accent); color: var(--text-on-accent); }
.on-dark :where(h1, h2, h3, h4, strong) { color: var(--text-on-accent); }
.on-dark :where(.lead, .muted, .try-note) { color: inherit; }
.on-dark :where(a:not(.btn)) { color: inherit; }
.on-dark .on-light { color: var(--ink); }
.on-dark .on-light :where(h1, h2, h3, h4, strong) { color: var(--ink); }
.on-dark .on-light :where(.muted, .try-note) { color: var(--muted); }
.on-dark .on-light :where(a:not(.btn)) { color: var(--accent); }
.on-dark .on-light :focus-visible { outline-color: var(--accent); }
.on-dark :focus-visible { outline-color: var(--text-on-accent); }

/* ---- Rows on lines (the mock-up's text rows): a line above each, ink above the first of a group ---- */
.row { padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.rows > .row:first-child { border-top-color: var(--ink); }

/* ---- The grid of two columns on the rail of 1240 (panel-visual.md, section 3). .split — a heading and its text,
   405 / 771 (the mock-up's flex 1 300 / 2 560, gap 64); .split-card — a text and a card, 664 / 512; .split-end — a
   wide text and a narrow column, 771 / 405 (the closing call: at its foot). One column to 960. ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 20px 64px; align-items: start; }
.split-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.split-end { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 40px 64px; align-items: end; }

/* ---- The grey stand-in for a photo (until the photo comes; partials/shot) ---- */
.ph { margin: 0; border-radius: var(--r); background: repeating-linear-gradient(-45deg, var(--bg) 0 12px, var(--surface-2) 12px 24px); border: 1.5px dashed var(--border-strong); color: var(--muted); overflow: hidden; position: relative; width: 100%; }
.ph-body { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; text-align: center; padding: 20px; font-size: 14px; font-weight: 500; }
.ph-photo { aspect-ratio: 1 / 1; }

/* ---- A director's stance (the examples' voices, the drawings) ---- */
/* The mock-up's label (partials/stance): its icon and words, r8. «With a condition» is 4.62:1 on its wash; the
   sceptic's is white on ink (17.6:1), the violet gone; .tag-plain is a status beside them («Done»). */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; line-height: 1.4; border-radius: var(--r-xs); padding: 3px 8px; }
.tag svg { flex: none; }
.tag-yes { background: var(--yes-soft); color: var(--yes); }
.tag-no { background: var(--no-soft); color: var(--no); }
.tag-cond { background: var(--cond-soft); color: var(--cond); }
.tag-skeptic { background: var(--ink); color: var(--text-on-accent); }
.tag-plain { background: var(--surface); color: var(--body); border: 1px solid var(--border-firm); padding: 2px 7px; }

/* ---- Foot (owner 2026-12-04, .claude/plans/landing-footer/PLAN.md): the mock-up's white row grown into the
   skill's footer-columns: the logo, and beside it the page's sections and the contacts, 96 apart (owner 2026-12-04:
   nearer the logo than the page's .split columns); then a line and the bottom line. Every link and heading a 44 px
   row. ---- */
.foot { padding: 64px 0 16px; font-size: 15px; color: var(--ink); border-top: 1px solid var(--line); }
/* Under the blue or the ink close the edge of its ground parts them; under a white section, the line. */
main:has(> section:last-child:is(.sec-blue, .sec-dark)) + .foot { border-top: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot-top { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 24px 96px; align-items: start; }
.foot-brand { display: flex; flex-wrap: wrap; align-items: center; column-gap: 28px; min-width: 0; }
/* Each column in its own track; with no sections the contacts take theirs beside the logo. */
.foot-sections { grid-column: 2; min-width: 0; }
.foot-contact { grid-column: 3; min-width: 0; }
.foot-brand + .foot-contact { grid-column: 2; }
.foot-head { display: flex; align-items: center; min-height: 44px; margin: 0; font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.foot address { font-style: normal; }
.foot a { display: flex; align-items: center; width: fit-content; max-width: 100%; min-height: 44px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.foot a[href]:not(.logo, [aria-current]):hover { color: var(--body); text-decoration: underline; text-underline-offset: 4px; }
/* The bottom line (owner 2026-12-04, PLAN-legal.md): the legal pages on the left, the language picker and
   «© <year> 4clevel.com. All rights reserved.» on the right. */
.foot-legal { margin-top: 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 24px; padding-top: 8px; }
.foot-docs { display: flex; flex-wrap: wrap; column-gap: 24px; min-width: 0; }
.foot .foot-docs a { color: var(--muted); }
.foot .foot-docs a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.foot-end { display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; margin-left: auto; }
.foot-legal p { display: flex; align-items: center; min-height: 44px; margin: 0; }
/* The language picker: a pill with the globe and the page's language; its list opens upwards over the line. */
.lang-pick { position: relative; }
.lang-pick summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 500; cursor: pointer; list-style: none; user-select: none; }
.lang-pick summary::-webkit-details-marker { display: none; }
.lang-pick summary:hover, .lang-pick[open] summary { border-color: var(--border-firm); }
.lang-pick svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lang-globe { color: var(--muted); }
.lang-chevron { transition: transform 0.15s ease; }
.lang-pick[open] .lang-chevron { transform: rotate(180deg); }
.foot .lang-pick ul { position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 30; min-width: 200px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-float); }
.foot .lang-pick a { justify-content: space-between; gap: 12px; width: 100%; padding: 0 10px; border-radius: 8px; color: var(--ink); }
.foot .lang-pick a:hover { background: var(--bg); color: var(--ink); text-decoration: none; }
/* The page's language: bolder and ticked, not told by its colour alone. */
.foot .lang-pick a[aria-current="page"] { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .lang-chevron { transition: none; } }

/* ---- A legal page (App\Landing\PageView::legal): its title and its text in a reading column. ---- */
.legal-in { max-width: 72ch; }
.legal-in h1 { margin-bottom: 32px; font-size: clamp(32px, 6vw, 44px); line-height: 1.15; }
.legal-text { font-size: 16px; line-height: 1.65; color: var(--body); }
.legal-text h2 { margin: 40px 0 12px; font-size: 22px; }
.legal-text h3 { margin: 28px 0 8px; }
.legal-text ul, .legal-text ol { margin: 0 0 1em; padding-left: 1.4em; }
.legal-text li + li { margin-top: 6px; }
.legal-text blockquote { margin: 0 0 1em; padding-left: 16px; border-left: 3px solid var(--line); }
.legal-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---- Pictures (<x-picture>, App\Landing\ImageSlots): each in its place's shape, the stand-in's when there is
   none. The <img> carries its width and height, so the page keeps the room before the picture arrives. ---- */
.pic { display: block; }
.pic img { display: block; width: 100%; height: auto; border-radius: var(--r); background: var(--bg); }

/* ---- Tablet and phone ---- */
@media (max-width: 960px) {
  .split, .split-card, .split-end { grid-template-columns: minmax(0, 1fr); }
  /* The foot: the logo across, the sections and the contacts in two halves under it (a lone column in the
     first). */
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-sections, .foot-brand + .foot-contact { grid-column: 1; }
  .foot-contact { grid-column: 2; }
}
@media (max-width: 639px) {
  .sec { padding: 64px 0; }
  /* The header in one row (the mock-up's is three on a phone): the logo, «Log in» and the menu's button; «Start» is
     the first screen's. */
  :root { --top-h: 60px; }
  .top-in { column-gap: 8px; }
  .top-end { gap: 12px; }
  .top .btn-sm { display: none; }
  .top-login { font-size: 14px; }
  .btn { width: 100%; white-space: normal; text-align: center; }
  /* The foot's contacts the wider half: «Telegram @a_balahanski» stays one line at 390. */
  .foot { padding-top: 48px; }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: 16px; }
  .foot-legal { margin-top: 32px; }
  /* A lone contacts column (no section has its word) across both halves, not in the narrow one. */
  .foot-brand + .foot-contact { grid-column: 1 / -1; }
  /* The bottom line: the legal pages, then the picker on the left, its list under the thumb, and «©» beside it or,
     longer than the room left, under it. */
  .foot-end { width: 100%; justify-content: space-between; margin-left: 0; }
  .foot .lang-pick ul { left: 0; right: auto; }
  .legal { padding-top: 48px; }
}
/* Under 360 the halves break «На этой странице» and the Telegram link in two: one column, the contacts under the
   sections. */
@media (max-width: 359px) {
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .foot-contact { grid-column: 1; }
}

/* == A и общие (б) == */

/* Variant A's sections and the four B shares with it (examples, models, FAQ, final) on the v3 mock-up
   (.claude/plans/landing-v3/panel-visual.md, sections 2-4 and 6): a heading at the left of its .split and its text at
   the right, rows on lines, the dark and the blue sections whole. */

/* ---- What the sections share ---- */
.split > h2 { margin: 0; }
/* A column of a .split: its parts apart by the mock-up's 28 (40 above a drawing), the buttons at their own width. */
.col { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.col > * { margin: 0; }
.col-start { align-items: flex-start; }
.col-loose { gap: 40px; }
/* A button no wider than its column: an editor's longer words wrap rather than run past it (961 leaves 287). */
.split .btn { max-width: 100%; white-space: normal; text-align: center; }
/* The text of a row, an intro and the models' paragraphs: t-body-lg a shade lighter than ink (--body, 9.5:1). */
.body-lg { margin: 0; font-size: 18px; line-height: 1.6; color: var(--body); }

/* ---- Hero: the heading across the rail, the lead and the buttons, then the session ---- */
.hero { padding: clamp(48px, 6vw, 88px) 0 96px; }
.hero > .wrap > h1 { margin: 0 0 clamp(36px, 4.6vw, 68px); }
.hero .split { row-gap: 40px; }

/* ---- The pains and their cost: one group of rows over two sections ---- */
.sec-flush { padding: 0; }
.sec-foot { padding-top: 0; }
.sec-foot .row:last-child { padding-bottom: 0; }
.asks { list-style: none; margin: 0; padding: 0; }
.asks li { padding: 20px 0; border-top: 1px solid var(--line); font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; text-wrap: pretty; }
.asks li:first-child { padding-top: 0; border-top: 0; }
.asks li:last-child { padding-bottom: 0; }

/* ---- «Now imagine»: on ink; the statement white ---- */
.statement { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--text-on-accent); }

/* ---- A's steps: a heading and its text at the column's edge, lines between (no numbers: owner 2026-12-03) ---- */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step { padding: 28px 0; border-top: 1px solid var(--border-firm); }
.step:first-child { padding-top: 0; border-top: 0; }
.step:last-child { padding-bottom: 0; }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; color: var(--body); }

/* ---- The plan's points: a tick on a line ---- */
.plan-list { display: flex; flex-direction: column; gap: 16px; }
.checks { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.checks li { display: flex; align-items: flex-start; gap: 14px; padding: 15px 0; border-top: 1px solid var(--line); font-size: 18px; line-height: 1.45; }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--accent); }

/* ---- Comparison: no frame, 4clevel's column white ---- */
.cmp-split { row-gap: 32px; }
.table-wrap { min-width: 0; overflow-x: auto; }
.cmp { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 16px; line-height: 1.45; text-align: left; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; vertical-align: top; }
.cmp thead td { width: 25%; padding: 0; }
.cmp thead th { width: 35%; padding: 18px 22px 16px; vertical-align: bottom; font-size: 14px; font-weight: 600; color: var(--muted); }
.cmp thead th.col-us { width: auto; font-size: 18px; color: var(--ink); background: var(--surface); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.cmp tbody th { padding-left: 0; padding-right: 16px; font-weight: 600; border-top: 1px solid var(--border-firm); }
.cmp tbody td { color: var(--body); border-top: 1px solid var(--border-firm); }
.cmp tbody td.col-us { color: var(--ink); font-weight: 600; background: var(--surface); border-top-color: var(--line); }
.cmp tbody tr:last-child td.col-us { border-radius: 0 0 var(--r-sm) var(--r-sm); }

/* ---- Models: a tile each ---- */
.prose { display: flex; flex-direction: column; gap: 16px; }
.models { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr)); gap: 12px; }
.chip-model { display: flex; align-items: center; justify-content: center; min-height: 84px; padding: 12px; border: 1px solid var(--border-firm); border-radius: var(--r-sm); font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; text-align: center; }
/* A model's logo (App\Landing\ModelLogos), the brand's own in its colours, every one of one height. An app icon
   (Kimi's) takes the rounded corners of one; Gemini's has none to round. */
.model-logo { display: block; width: 40px; height: 40px; }
img.model-logo { border-radius: 22%; }

/* ---- Examples: the tabs one under another, the session in a white panel, its verdict on ink ---- */
.ex-side { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.ex-head { display: flex; flex-direction: column; gap: 12px; }
.ex-head > * { margin: 0; }
.ex-note { font-size: 15px; line-height: 1.5; color: var(--muted); }
.ex-tabs { display: flex; flex-direction: column; gap: 4px; }
.ex-tab { display: flex; align-items: baseline; gap: 14px; width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid transparent; border-radius: var(--r-sm); background: transparent; font: 500 16px/1.35 var(--font-sans); color: var(--body); text-align: left; cursor: pointer; transition: background-color 0.15s, border-color 0.15s; }
.ex-tab:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); }
/* The chosen one white with a frame of accent (5.0:1 on the grey; the mock-up's grey frame is 1.6:1). */
.ex-tab[aria-selected="true"] { background: var(--surface); border-color: var(--accent); color: var(--ink); font-weight: 600; }
.ex-num { flex: none; font-size: 13px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.ex-tab[aria-selected="true"] .ex-num { font-weight: 600; color: var(--accent); }
.ex-main { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.ex-panels { align-self: stretch; }
/* Its scroll-margin: where a chosen panel's top comes back to (landing.js), under the header beside the tabs' top. */
.ex-panel { display: flex; flex-direction: column; gap: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 40px); scroll-margin-top: 88px; box-shadow: var(--shadow-float); }
/* The flex above would show a panel the script hid. */
.ex-panel[hidden] { display: none; }
.ex-top { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ex-top > * { margin: 0; }
.ex-panel h3 { font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; }
.ex-sit { font-size: 16px; line-height: 1.6; color: var(--body); }
.ex-sit strong { font-weight: 600; color: var(--ink); }
.voices { display: flex; flex-direction: column; }
/* A voice: the role and its label beside the words while the panel has room (the mock-up's flex 1 170 / 3 360), one
   under the other on a phone. */
.voice { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 22px 0; border-top: 1px solid var(--line); }
.voice-head { flex: 1 1 170px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.voice-head strong { font-size: 16px; font-weight: 600; line-height: 1.3; }
.voice p { flex: 3 1 360px; min-width: 0; margin: 0; font-size: 16px; line-height: 1.6; color: var(--body); }
.verdict { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.5vw, 32px); border-radius: var(--r-sm); background: var(--ink); color: var(--on-dark); }
.verdict h4 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--accent-on-dark); }
.verdict dl { margin: 0; display: flex; flex-direction: column; }
.vd-row { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 13px 0; border-top: 1px solid var(--line-dark); }
.vd-row:last-child { padding-bottom: 0; }
.vd-row dt { flex: 0 0 150px; font-size: 15px; line-height: 1.5; color: var(--text-3); }
.vd-row dd { flex: 1 1 320px; min-width: 0; margin: 0; font-size: 16px; line-height: 1.5; }
.vd-row:first-child dd { font-weight: 600; color: var(--text-on-accent); }

/* ---- The case: the photo at the left, at most 420 (ImageSlots' case_photo) ---- */
.trust { align-items: center; row-gap: 32px; }
.trust-photo { width: 100%; max-width: 420px; }
.trust blockquote { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.trust-by { display: flex; flex-direction: column; gap: 6px; }
.trust-by > * { margin: 0; }
.by { font-size: 16px; font-weight: 600; line-height: 1.5; }
.trust-by .muted { font-size: 15px; line-height: 1.5; }

/* ---- FAQ: questions on lines, the first open; «+» turns to «×» ---- */
.faq { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
/* The mock-up's question: 60 px of its own and 14 above and below (content-box: 88 a row, a thumb's 44 and more). */
.faq-item summary { box-sizing: content-box; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 60px; padding: 14px 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 600; line-height: 1.35; }
.faq-item:first-child summary { padding-top: 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-sign { flex: none; transition: transform 0.15s ease; }
.faq-item[open] .faq-sign { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 46px 24px 0; font-size: 16px; line-height: 1.6; color: var(--body); }

/* ---- The closing call: blue, the heading at the display size ---- */
.final-text h2 { font-size: clamp(38px, 10vw, 64px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.final-text, .final-cta { gap: 20px; }
.final-cta .try-note { max-width: none; }

/* ---- From the tablet up, and down to a phone ---- */
@media (min-width: 640px) {
  .asks li { font-size: 24px; letter-spacing: -0.02em; }
  .statement { font-size: 24px; letter-spacing: -0.02em; }
  .trust blockquote { font-size: 22px; }
}
/* The tabs stay in sight beside a long session while the window holds them all 88 below its top: the side is at
   most about 610 px tall from 1201 (a laptop's 700 holds it) and up to 760 at 961-1200 (Russian, tabs of three lines). */
@media (min-width: 1201px) and (min-height: 700px), (min-width: 961px) and (min-height: 860px) {
  .ex-side { position: sticky; top: 88px; }
  /* Taller than the window under the header (an editor's topics of three or four lines): it scrolls with the page,
     or its last tabs would stay under the window's foot (landing.js). */
  .ex-side.ex-loose { position: static; }
}
/* The comparison's heading and button above its table up to 1200: the left column (287 px at 961, 370 at 1200) holds
   the Russian button (304 px) only from about 1010, and an editor's longer words not even there. */
@media (max-width: 1200px) {
  .cmp-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .hero { padding-bottom: 64px; }
  .faq-item p { padding-right: 0; }
  /* The models two by two on any phone (auto-fit would give 3 + 1 from about 416 to 547). */
  .models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* The comparison as a card per row: its label, then each side named (td::before). */
  .table-wrap { overflow: visible; }
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { background: var(--surface); border: 1px solid var(--border-firm); border-radius: var(--r-sm); margin-bottom: 12px; overflow: hidden; }
  .cmp tbody th, .cmp tbody td { padding: 12px 18px; border-top: 0; }
  .cmp tbody th { padding-top: 14px; border-bottom: 1px solid var(--line); }
  .cmp tbody td + td { border-top: 1px solid var(--line); }
  .cmp tbody tr:last-child td.col-us { border-radius: 0; }
  .cmp td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 2px; }
  .cmp td.col-us::before { color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-sign { transition: none; }
}

/* == B (в) == */

/* ---- Variant B, «the founder's story» (/story …), as the v3 mock-up has it (.claude/plans/landing-v3/
   panel-visual.md, section 4 B): its sections on B's own classes (story-*, rail-*) and area (б)'s columns and
   closing line (.col, .col-start, .statement), over the system's tokens, grid (.split, .split-card, .split-end),
   sections and buttons. ---- */

/* ---- The first screen: who tells it, the heading with its end in colour, the lead, the buttons and their note at
   the left; the founder's photo, 4:5, at the right ---- */
.story-hero { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); }
.story-hero .split-end { align-items: center; }
.story-hero-text, .story-hero-head { display: flex; flex-direction: column; min-width: 0; }
.story-hero-text { gap: 28px; }
.story-hero-head { gap: 18px; }
.story-hero-text > *, .story-hero-head > * { margin: 0; }
.accent { color: var(--accent); }
.who { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--muted); }
/* The story's heading is a paragraph long: t-h2 on a phone, t-h1 from the tablet up (600, as the app's t-h1). */
.h1-story { font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -0.012em; }
@media (min-width: 640px) { .h1-story { font-size: 36px; line-height: 1.2; letter-spacing: -0.018em; } }
.story-hero .lead { max-width: 640px; }
.story-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.story-hero .try-note { max-width: 560px; }
.story-hero-photo { min-width: 0; }
.ph-hero { aspect-ratio: 4 / 5; }

/* ---- The story's cards: one on the screen at a time in a row that scrolls sideways with a snap; the drawing at the
   left, the text at the right (.claude/plans/landing-v3/panel-blade.md, section 4). On white right under the first
   screen, its bar the first thing under the hero's own room (the owner's slider export, 2026-12-03); the drawings'
   frame the firm one there, as the export's, so that they stand out of the white (their shadow stays the
   verdict's). ---- */
.story-row { padding-top: 0; }
.story-card .mock-sm { border-color: var(--border-firm); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 0 48px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin;
  /* The row clips what leaves it, the drawing's shadow (.mock-float) too: the padding gives the shadow room and the
     margin takes it back, so the cards and the foot stand where they stood. 16 at the sides — a phone's field, no
     wider than the page; 56 under — the shadow's reach (its 28 down and 56 of blur less its 28 of spread). */
  --rail-room-x: 16px; --rail-room-y: 56px;
  padding: 0 var(--rail-room-x) var(--rail-room-y); margin: 0 calc(-1 * var(--rail-room-x)) calc(-1 * var(--rail-room-y));
  scroll-padding-inline: var(--rail-room-x);
}
/* The scrollbar goes once landing.js moves the row by its segments: without the script the bar is a mouse's way on. */
.rail.rail-ready { scrollbar-width: none; }
.rail.rail-ready::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: 4px; }
.story-card {
  min-width: 0; scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 24px 64px; align-items: start;
}
.story-card-text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
/* A card without its drawing (a seeded base with no `mock`): its text across the card, not in the drawing's column. */
.story-card > .story-card-text:first-child { grid-column: 1 / -1; }
.story-card-text h2 { margin: 0; font-size: 24px; line-height: 1.3; letter-spacing: -0.012em; }
.story-card-text p { margin: 0; max-width: 700px; font-size: 18px; line-height: 1.6; color: var(--body); }
/* Under the row the button into the app. */
.rail-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: clamp(28px, 3vw, 40px); }
/* Over the row a segment per card, shown by landing.js (`hidden` until then: display:flex would beat the attribute):
   the cards behind in ink, the card in view filling in blue for 6 s, the cards ahead on the grey line. Each a button
   to its card, 3 seen and 44 to hit, a finger's target (20 above and 21 under, taken back by the margin; taste-skill
   tap-size, 2026-12-03: 24 was WCAG's least, under its 44). The segment stands full, with
   no fill, when the row does not move by itself (.is-auto off: less motion asked) and still while landing.js holds it
   (.is-held: a keyboard's focus in the story, a hand moving the row, the row away, the visitor's pause; not a mouse
   over it). At the bar's end the pause: its icon 12 on the line's middle and flush with the column's edge, 44 to hit
   (taken back by the margin, as a segment's); gone when nothing moves by itself. */
.rail-bar { display: flex; gap: 8px; margin-bottom: clamp(30px, 3.8vw, 54px); }
.rail-bar[hidden] { display: none; }
.rail-seg {
  flex: 1 1 0; min-width: 0; display: block; padding: 20px 0 21px; margin: -20px 0 -21px;
  border: 0; border-radius: 2px; background: none; cursor: pointer;
}
.rail-line { display: block; height: 3px; border-radius: 2px; background: var(--border-strong); overflow: hidden; transition: background-color 0.15s; }
.rail-seg:hover .rail-line { background: var(--border-firm); }
.rail-fill { display: block; width: 0; height: 100%; border-radius: 2px; background: var(--ink); }
.rail-seg.is-past .rail-fill { width: 100%; }
.rail-seg[aria-current="true"] .rail-fill { width: 100%; background: var(--accent); }
/* Longhands: the shorthand would set the play state back to running over .is-held's pause (it weighs more). */
.rail-bar.is-auto .rail-seg[aria-current="true"] .rail-fill {
  animation-name: rail-fill; animation-duration: 6s; animation-timing-function: linear; animation-fill-mode: forwards;
}
.rail-bar.is-held .rail-fill { animation-play-state: paused; }
@keyframes rail-fill { from { width: 0; } to { width: 100%; } }
.rail-pause {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -20.5px -16px -20.5px 0; padding: 0;
  border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; transition: color 0.15s;
}
.rail-pause:hover { color: var(--ink); }
.rail-pause svg { display: block; fill: currentColor; }
.rail-pause .rail-icon-play, .rail-pause.is-paused .rail-icon-pause { display: none; }
.rail-pause.is-paused .rail-icon-play { display: inline; }
.rail-bar:not(.is-auto) .rail-pause { display: none; }

/* familiar, build and outcome take their columns (.col.col-start) and the familiar's question that stings
   (.statement, as A's «Now imagine») from area (б). */

/* ---- «Build your own board»: the steps on lines, without numbers, the drawing of the challenge under them ---- */
.story-head { display: flex; flex-direction: column; gap: 14px; }
.story-head > * { margin: 0; }
.story-intro { font-size: 16px; line-height: 1.6; color: var(--body); }
.story-build { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.story-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.story-steps li { padding: 24px 0; border-top: 1px solid var(--border-firm); }
.story-steps li:first-child { padding-top: 0; border-top: 0; }
.story-steps li:last-child { padding-bottom: 0; }
.story-steps p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--body); }
.story-steps strong { font-weight: 600; color: var(--ink); }

/* ---- «A plan of action»: the text at the left, the verdict at the right, both on the middle ---- */
.story-outcome { align-items: center; }
.story-outcome .col { gap: 20px; }
.story-text { font-size: 18px; line-height: 1.6; color: var(--body); }

/* ---- Tablet and phone ---- */
@media (max-width: 960px) {
  /* A card's drawing over its text; the photo ours, 360 in the middle (panel-visual.md, section 7). */
  .story-card { grid-template-columns: minmax(0, 1fr); }
  /* The build's steps 32 under its button, as the mock-up's (the .split's row gap is 20). */
  .story-build { padding-top: 12px; }
  .pic-story_photo, .ph-hero { margin: 0 auto; max-width: 360px; }
}

/* == mock (д) == */

/* The drawings of the app (landing.partials.mock.*): classes mock-* only, and the stance chip's .tag (area а, its
   look). A drawing is a figure as wide as its place, its card (.mock-card) the app's look on the app's tokens
   (.claude/plans/landing-v3/panel-visual.md, section 5): .mock-float — a card that floats (every drawing's card, as
   the verdict's: owner 2026-12-03), .mock-lift — the hero's session, lifted higher, .mock-sm — the small card of variant B, .mock-form — the onboarding's form. A
   drawing follows its own width (wrapping rows, auto-fit keys, the padding's clamp), so it has no @media of the
   page's. No url() here: every url() of the file carries its ?v= (LandingPagesTest). */
.mock {
  --mock-r: 16px; /* the app's --radius-lg: a card */
  --mock-pad: clamp(20px, 7.2vw, 28px);
  --mock-gap: 20px;
  --mock-avatar-dark: color-mix(in srgb, var(--surface) 12%, var(--ink));
  margin: 0; min-width: 0;
  color: var(--ink); font-size: 16px; line-height: 1.45; text-align: left; overflow-wrap: break-word;
}
.mock-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border-firm); border-radius: var(--mock-r);
}
.mock-float { box-shadow: var(--shadow-float); }
.mock-lift { box-shadow: var(--shadow-lift); }
.mock-padded { padding: var(--mock-pad); gap: var(--mock-gap); }
.mock-sm { --mock-pad: 16px; --mock-gap: 12px; min-height: 284px; border-color: var(--line); border-radius: var(--r-sm); }
.mock-ruled { padding-top: 12px; border-top: 1px solid var(--line); }
.mock-small { font-size: 12px; line-height: 1.4; color: var(--muted); }
.mock-hint { font-size: 13px; line-height: 1.4; color: var(--muted); }
.mock .tag { flex: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.mock .tag svg { flex: none; }

/* A person: the avatar's letters, the name over the role. */
.mock-avatar {
  flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--line); color: var(--body); font-size: 13px; font-weight: 600; line-height: 1;
}
.mock-avatar-ink { background: var(--ink); color: var(--surface); }
.mock-avatar-dark { background: var(--mock-avatar-dark); color: var(--surface); }
.mock-who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.mock-name { font-size: 16px; font-weight: 600; line-height: 1.35; }
.mock-role { font-size: 14px; line-height: 1.4; color: var(--muted); }
.mock-sm .mock-avatar { width: 32px; height: 32px; font-size: 12px; }
.mock-sm .mock-name { font-size: 14px; line-height: 1.3; }
.mock-sm .mock-role { font-size: 12px; line-height: 1.35; }

/* A session: the question, «The Chairman called», a row per voice, the Skeptic last, the Chairman on ink. */
.mock-head { display: flex; flex-direction: column; gap: 6px; padding: 22px var(--mock-pad); }
.mock-q { font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; text-wrap: balance; }
.mock-called { font-size: 14px; line-height: 1.45; color: var(--muted); }
.mock-seat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px var(--mock-pad); border-top: 1px solid var(--line); }
/* A narrow card (a phone of 320) puts the chip under the name, at the right, rather than break the name's words. */
.mock-seat .mock-who { flex-basis: 6.5em; }
.mock-seat .tag, .mock-seat .mock-done { margin-left: auto; }
.mock-last { background: var(--alt); }
.mock-done {
  flex: none; padding: 4px 9px; border: 1px solid var(--border-firm); border-radius: var(--r-xs);
  background: var(--surface); color: var(--body); font-size: 13px; font-weight: 600; line-height: 1.4; white-space: nowrap;
}
.mock-chair { display: flex; flex-direction: column; gap: 16px; padding: 24px var(--mock-pad) 28px; background: var(--ink); }
.mock-chair-head { display: flex; align-items: center; gap: 14px; }
.mock-caption { font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--accent); }
.mock-chair .mock-name { color: var(--surface); }
.mock-chair .mock-caption { font-weight: 500; color: var(--accent-on-dark); }
.mock-decision { font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.mock-chair .mock-decision { color: var(--surface); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.25; }
.mock-sm .mock-head { padding: 14px 16px 12px; gap: 4px; }
.mock-sm .mock-called { font-size: 12px; line-height: 1.4; }
.mock-sm .mock-seat { padding: 9px 16px; gap: 8px; }
.mock-sm .mock-last { flex: 1 1 auto; padding: 10px 16px 14px; }
.mock-sm .tag, .mock-sm .mock-done { padding: 3px 7px; font-size: 12px; }

/* The verdict: the decision under a rule of ink, then Why, Positions and Actions. */
.mock-verdict .mock-decision { padding-top: 20px; border-top: 2px solid var(--ink); }
.mock-part { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.mock-tight { gap: 4px; }
.mock-label { font-size: 14px; font-weight: 600; line-height: 1.4; }
.mock-text { font-size: 16px; line-height: 1.5; color: var(--body); }
.mock-pos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.mock-pos .mock-text { font-size: 15px; line-height: 1.4; }
.mock-act { display: flex; align-items: baseline; gap: 12px; }
.mock-n { flex: none; min-width: 0.6em; font-size: 15px; font-weight: 600; color: var(--accent); }
.mock-act .mock-text { font-size: 15px; }

/* The end of a verdict on a card of B: Actions, Cancel if, Review on. */
.mock-block { display: flex; flex-direction: column; gap: 6px; }
.mock-block.mock-tight { gap: 4px; }
.mock-sm .mock-label { font-size: 12px; }
.mock-sm .mock-text, .mock-sm .mock-n { font-size: 12px; line-height: 1.45; }
.mock-sm .mock-act { gap: 8px; }

/* The question to the board: the directors as chips, the question with its depth and its button. */
.mock-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-chip {
  padding: 4px 10px; border: 1px solid var(--border-firm); border-radius: 999px;
  color: var(--body); font-size: 13px; font-weight: 500; line-height: 1.4; white-space: nowrap;
}
.mock-chip.mock-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.mock-compose {
  margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding: 12px;
  border: 1px solid var(--border-firm); border-radius: var(--r-sm);
}
.mock-compose-q { font-size: 14px; line-height: 1.35; }
.mock-compose-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.mock-compose-foot strong { font-weight: 600; color: var(--ink); }
.mock-btn {
  display: inline-flex; align-items: center; padding: 7px 10px; border-radius: var(--r-xs);
  background: var(--ink); color: var(--surface); font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap;
}

/* The board's contours: a contour's name and meaning, its people. */
.mock-group { display: flex; flex-direction: column; gap: 1px; }
.mock-group-name { font-size: 13px; font-weight: 600; line-height: 1.4; }
.mock-person { display: flex; align-items: center; gap: 10px; }

/* The onboarding's form: Principle, the fields, the nine challenges as keys. */
.mock-form { padding: clamp(20px, 2.6vw, 32px); gap: 26px; }
.mock-sect { display: flex; flex-direction: column; gap: 6px; }
.mock-roomy { gap: 12px; }
.mock-eyebrow { font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.mock-lead { font-size: 16px; line-height: 1.5; }
.mock-field { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--border-firm); }
.mock-field-label { font-size: 13px; line-height: 1.4; color: var(--muted); }
.mock-req { color: var(--no); }
.mock-value { font-size: 16px; line-height: 1.5; }
.mock-line { padding-bottom: 12px; border-bottom: 1px solid var(--border-firm); }
.mock-prompt { font-size: 16px; font-weight: 600; line-height: 1.4; }
.mock-keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 10px; }
.mock-key {
  display: flex; align-items: center; min-height: 52px; padding: 8px 16px;
  border: 1px solid var(--border-firm); border-radius: var(--r-sm); font-size: 15px; font-weight: 600; line-height: 1.3;
}
.mock-key.mock-on { padding: 7px 15px; border: 2px solid var(--accent); background: var(--accent-soft); }
