/* HelpMyBusiness — one stylesheet for the whole site. Mobile first: base = phone, then 640px (tablet), 1024px (desktop), 1440px (wide).
   «Нейро-нуар», editorial edition: a near-black ground, electric lime as the one accent, cool cyan used sparingly;
   Unbounded for display type, Geologica for text, JetBrains Mono for system labels.
   Composition rules (site/BRAND.md, «Дизайн»): sections are full-bleed bands parted by a change of ground or by space,
   never by boxes; lists are typographic rows with hairlines; the only framed things are the product's own windows
   (chat, lead card, report) standing on a lit stage. Motion: transform and opacity only; all of it rests under
   prefers-reduced-motion. */

/* ---------- fallback faces (Core Web Vitals) ----------
   Until Google Fonts arrive, the text is set in a local face stretched to the brand font's width and line box
   (measured in Chrome against Geologica 400, Unbounded 500, JetBrains Mono 400), so the first screen keeps its line
   breaks when the fonts swap in: no layout shift from fonts. The first screen's measures are in em, not ch (a ch is
   the width of «0» in whatever font is showing, so it would change with the swap): 1ch = 0.68em in Geologica,
   0.909em in Unbounded, 0.6em in JetBrains Mono. */
@font-face { font-family: "Geologica Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Roboto"), local("Liberation Sans"); size-adjust: 107%; ascent-override: 92%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Unbounded Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"), local("Roboto"), local("Liberation Sans"); size-adjust: 138%; ascent-override: 72%; descent-override: 17%; line-gap-override: 0%; }
@font-face { font-family: "JetBrains Mono Fallback"; src: local("Menlo"), local("Consolas"), local("Courier New"), local("Liberation Mono"); size-adjust: 100%; ascent-override: 102%; descent-override: 30%; line-gap-override: 0%; }

/* ---------- tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #07080a;
  --surface: #0d0f12;
  --deep: #050607;
  --paper: #121419;
  --ink: #f2f5ee;
  --ink-2: #bcc3b6;
  --muted: #a3aa9f;
  --accent: #c6f432;
  --accent-ink: #07080a;
  --accent-soft: rgba(198, 244, 50, .1);
  --cyan: #4be3f2;
  --soon: #f2b648;
  --line: rgba(242, 245, 238, .1);
  --line-strong: rgba(242, 245, 238, .22);
  --tg-out: rgba(198, 244, 50, .13);
  --glass-line: rgba(242, 245, 238, .11);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 70px -36px rgba(0, 0, 0, .9);
  --glow: 0 0 0 1px rgba(198, 244, 50, .55), 0 12px 36px -10px rgba(198, 244, 50, .5);
  --font-text: "Geologica", "Geologica Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Unbounded", "Unbounded Fallback", "Geologica", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font: var(--font-text);
  --display-weight: 500;
  --display-tracking: -0.03em;
  --r-sm: 8px; --r-md: 14px; --r-lg: 24px; --r-btn: 999px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --nav: 60px;
  --idx-col: 40px; --idx-gap: 16px;
  --gut: 20px;
  --gap: 12px;
  --gutter: var(--gap);
  --band: 80px;
  --t-h1: clamp(26px, calc((100vw - 44px) / 10.8), 40px);   /* «AI-співробітники» never splits: the line fits the phone */
  --t-h2: clamp(22px, calc((100vw - 44px) / 11.3), 32px);   /* «AI-адміністратора» fits one phone line */
  --t-h3: 20px;
  --t-lead: 17px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  /* the lit stage: a lime breath from its top corner and a cyan pool at its foot, on a deep ground */
  --lit: radial-gradient(90% 70% at 85% 0%, rgba(198, 244, 50, .2) 0%, rgba(198, 244, 50, 0) 62%), radial-gradient(70% 60% at 0% 100%, rgba(75, 227, 242, .1) 0%, rgba(75, 227, 242, 0) 65%), linear-gradient(180deg, #111419, #0a0c0f);
  --lit-soft: radial-gradient(80% 70% at 90% 10%, rgba(198, 244, 50, .1) 0%, rgba(198, 244, 50, 0) 60%), linear-gradient(180deg, #0f1216, #0b0d10);
  /* names the dealt moments (assets/moments, the taste-skill kit) read */
  --ground-bg: var(--lit);
  --p-bg: var(--bg); --p-surface: var(--surface); --p-inv-bg: var(--deep);
}
/* Russian «AI-администратора» is a little wider than the Ukrainian word (и against і): one step smaller on a phone, one line */
@media (max-width: 639px) { :root:lang(ru) { --t-h2: clamp(22px, calc((100vw - 44px) / 12.3), 32px); } }
@media (min-width: 640px) {
  :root { --gut: 40px; --nav: 64px; --gap: 24px; --band: 112px; --t-h1: 48px; --t-h2: 38px; --t-h3: 22px; --t-lead: 18px; }
}
@media (min-width: 1024px) {
  :root { --idx-col: 64px; --idx-gap: 24px; --gut: 64px; --nav: 72px; --band: 136px; --t-h1: clamp(48px, 4.6vw, 66px); --t-h2: clamp(36px, 3.3vw, 50px); --t-h3: 24px; --t-lead: 20px; }
}
@media (min-width: 1440px) { :root { --gut: 80px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 16px); }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.62 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
main { position: relative; display: block; }
/* the 28px grid of the brand, faint, only under the first screen */
main::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 120svh; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(242, 245, 238, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 245, 238, .035) 1px, transparent 1px);
  background-size: 28px 28px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(80% 70% at 50% 0%, #000 0%, transparent 75%); }
main > * { position: relative; z-index: 1; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
b, strong { font-weight: 500; }
h1, h2 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); text-wrap: balance; }
h1 { font-size: var(--t-h1); line-height: 1.04; }
h2 { font-size: var(--t-h2); line-height: 1.08; }
h3 { font-size: var(--t-h3); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.nw { white-space: nowrap; }
@media (max-width: 359px) { h1 .nw, h2 .nw { white-space: normal; } }
.muted { color: var(--muted); }
h2 .muted { color: color-mix(in oklab, var(--ink) 48%, var(--bg)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
code { font: 400 .9em var(--font-mono); padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); }
.placeholder { padding: 1px 6px; border-radius: 6px; background: rgba(242, 182, 72, .14); color: var(--soon); }

.wrap { width: min(100% - 2 * var(--gut), 1280px); margin-inline: auto; }
.skip-link { position: absolute; left: 0; top: 8px; z-index: 30; transform: translateY(-200%); padding: 10px 16px; border-radius: var(--r-sm); background: var(--accent); color: var(--accent-ink); font-weight: 500; }
.skip-link:focus-visible { transform: none; }

/* ---------- buttons, links, labels ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: var(--r-btn); border: 1px solid transparent;
  font-size: 16px; font-weight: 500; line-height: 1.25; text-align: center; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), color .18s var(--ease), box-shadow .22s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -14px rgba(198, 244, 50, .6); }
.btn--secondary { background: rgba(255, 255, 255, .02); color: var(--ink); border-color: var(--line-strong); }
.btn--xl { padding: 12px 32px; }
.btn .m-arrow { width: 16px; height: 16px; flex: none; transition: transform .18s var(--ease); }
.btn:active { transform: translateY(1px) scale(.98); transition-duration: .08s; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #d6fb5e; box-shadow: var(--glow); transform: translateY(-2px); }
  .btn--secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
  .btn:hover .m-arrow { transform: translateX(4px); }
  .btn:active { transform: translateY(1px) scale(.98); }
}
.btn-row { display: flex; flex-direction: column; gap: 12px; }
.btn-row .btn { width: 100%; }
@media (min-width: 640px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .btn-row .btn { width: auto; }
}
.btn-row--after { margin-top: var(--s-7); }

.link {
  background-image: linear-gradient(var(--accent), var(--accent)), linear-gradient(var(--line-strong), var(--line-strong));
  background-size: 0 1px, 100% 1px; background-position: 0 100%, 0 100%; background-repeat: no-repeat;
  padding-bottom: 2px; transition: background-size .25s var(--ease), color .2s var(--ease);
}
.link:hover, .link:focus-visible { background-size: 100% 1px, 100% 1px; color: var(--accent); }
.link-plain { transition: color .2s var(--ease); }
.link-plain:hover { color: var(--accent); }
.links-line { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: var(--s-7); font-weight: 500; }
.links-line a { display: inline-flex; align-items: center; min-height: 44px; }
.links-line .link { background-position: 0 calc(100% - 10px), 0 calc(100% - 10px); }

.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s-5); font: 400 12px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.eyebrow__n { display: flex; align-items: center; color: var(--accent); white-space: nowrap; }
.eyebrow__n::after { content: ""; width: 32px; height: 1px; margin-left: 12px; background: var(--line-strong); }
/* over the index the number sits in the index's first column and its rule fills it: the label starts where the row titles do */
.band:has(.index) .head .eyebrow { display: grid; grid-template-columns: var(--idx-col) minmax(0, auto); justify-content: start; column-gap: var(--idx-gap); }
.band:has(.index) .head .eyebrow__n::after { flex: 1 0 14px; width: auto; margin-left: 10px; }
.tag { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); font: 400 11px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.tag--accent { border-color: rgba(198, 244, 50, .35); background: var(--accent-soft); color: var(--accent); }
.badge { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font: 400 11.5px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.badge--now { color: var(--ink); }
.badge--now::before { background: var(--accent); box-shadow: 0 0 10px rgba(198, 244, 50, .85); }
.badge--beta::before { background: var(--cyan); }
.badge--service::before { background: var(--ink-2); }
.badge--soon::before { background: var(--soon); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.dot--live { background: var(--accent); box-shadow: 0 0 0 4px rgba(198, 244, 50, .16); }
.dot--now { background: var(--accent); box-shadow: 0 0 8px rgba(198, 244, 50, .8); }
.dot--beta { background: var(--cyan); }
.dot--soon { background: var(--soon); }
.dot--service { background: var(--ink-2); }
.gl { width: 22px; height: 22px; flex: none; }
.ic { flex: none; }
.ic-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- header ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--nav); border-bottom: 1px solid var(--line); }
/* the glass sits on a layer of its own: a backdrop-filter on the bar itself would trap the fixed phone menu inside it */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7, 8, 10, .8); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.nav__bar { position: relative; height: 100%; display: flex; align-items: center; gap: 12px; }
.nav__logo { display: inline-flex; align-items: center; flex: none; min-height: 44px; margin-right: auto; }
.nav__logo svg { width: 156px; height: auto; }
.nav__links { display: none; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__actions .btn { display: none; min-height: 42px; padding: 8px 18px; font-size: 15px; white-space: nowrap; }
.nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: 0; border: 0; background: transparent; cursor: pointer; border-radius: var(--r-sm); }
.nav__burger, .nav__burger::before, .nav__burger::after { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .22s var(--ease), background-color .22s var(--ease); }
.nav__burger { position: relative; }
.nav__burger::before, .nav__burger::after { content: ""; position: absolute; left: 0; }
.nav__burger::before { top: -7px; }
.nav__burger::after { top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__burger { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__burger::before { transform: translateY(7px) rotate(45deg); background: var(--accent); }
.nav__toggle[aria-expanded="true"] .nav__burger::after { transform: translateY(-7px) rotate(-45deg); background: var(--accent); }
html.menu-open, html.menu-open body { overflow: hidden; }
/* the phone menu: a full screen of large rows */
.sheet { position: fixed; inset: var(--nav) 0 0 0; z-index: 19; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; padding: 16px 0 40px; }
.sheet::before { content: ""; position: fixed; inset: var(--nav) 0 0 0; z-index: -1; pointer-events: none; background: radial-gradient(80% 50% at 100% 0%, rgba(198, 244, 50, .1), transparent 70%); }
.sheet__head { margin: 8px 0 4px; font: 400 12px/1.5 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sheet__list { margin-bottom: 24px; }
.sheet__list a { display: flex; align-items: center; gap: 14px; min-height: 60px; border-bottom: 1px solid var(--line); font: 500 21px/1.25 var(--font-text); letter-spacing: -0.01em; }
.sheet__list a .gl { color: var(--accent); }
.sheet__list--more a { min-height: 52px; font-size: 18px; color: var(--ink-2); }
.sheet .btn { width: 100%; }
.sheet__head--row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet__head--row .link { display: inline-flex; align-items: center; min-height: 44px; font: 500 14px/1.3 var(--font-text); letter-spacing: 0; text-transform: none; color: var(--accent); background-position: 0 calc(100% - 10px), 0 calc(100% - 10px); }
.sheet__team { margin-bottom: 20px; }
.sheet__dept { display: flex; align-items: center; gap: 8px; margin: 14px 0 2px; font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sheet__dept .gl { width: 15px; height: 15px; color: var(--accent); }
.sheet__roles a { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; line-height: 1.25; }
.sheet__roles small { font: 400 12px/1.3 var(--font-mono); color: var(--muted); white-space: nowrap; }
.sheet__quiz { margin: 8px 0 20px; }
@media (min-width: 640px) {
  .nav__actions .btn[data-nav-cta] { display: inline-flex; }
  .nav__logo svg { width: 172px; }
}
@media (min-width: 1280px) {
  .nav__toggle, .sheet { display: none !important; }
  .nav__bar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }
  .nav__logo { margin-right: 0; justify-self: start; }
  .nav__links { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 1.9vw, 32px); height: 100%; }
  .nav__actions { justify-self: end; }
  .nav__item { height: 100%; display: flex; align-items: center; }
  .nav__link { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .2s var(--ease); }
  .nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
  .nav__link:hover::after, .nav__link:focus-visible::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
  /* the panel spans the viewport under the bar; it opens after 150ms of hover intent, at once on keyboard focus */
  /* the panel is a solid surface (never see-through, not even while it opens): it slides in, it does not fade */
  .mega { display: block; position: absolute; top: 100%; left: calc(50% - 50vw); right: calc(50% - 50vw); background: var(--surface); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-strong); box-shadow: 0 48px 90px -30px rgba(0, 0, 0, .95); visibility: hidden; transform: translateY(-6px); transition: transform .14s var(--ease), visibility 0s linear .14s; }
  .nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { visibility: visible; transform: none; transition: transform .22s var(--ease) .15s, visibility 0s linear .15s; }
  .nav__item--mega:focus-within .mega { transition-delay: 0s; }
}
/* the quiz button joins the bar only where there is room for it */
@media (min-width: 1600px) { .nav__actions .nav__quiz { display: inline-flex; padding: 8px 16px; font-size: 14px; } }
/* the panels belong to the desktop bar only (a later plain .mega rule used to hide them there too) */
@media (max-width: 1279px) { .mega { display: none; } }
.nav__item--mega.is-shut .mega { visibility: hidden !important; }
.mega__grid--team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 28px 0 20px; }
.mega__roles { display: grid; gap: 2px; }
.mega__role { display: grid; grid-template-columns: 8px minmax(0, 1fr); align-items: center; column-gap: 10px; padding: 7px 0; }
.mega__role b { font-size: 15px; font-weight: 500; line-height: 1.3; transition: color .2s var(--ease); }
.mega__role small { grid-column: 2; font: 400 12px/1.4 var(--font-mono); color: var(--muted); }
.mega__role:hover b { color: var(--accent); }
.mega__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding: 16px 0 24px; border-top: 1px solid var(--line); font-size: 14px; }
.mega__foot .link { display: inline-flex; align-items: center; min-height: 32px; font-weight: 500; }
.mega__foot .mega__all { color: var(--accent); margin: 0; }
.mega__note { margin-right: auto; font: 400 12px/1.4 var(--font-mono); color: var(--muted); }
.mega__grid--goals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 32px 0 40px; }
.mega__col { display: grid; align-content: start; gap: 10px; padding: 0 24px; border-left: 1px solid var(--line); }
.mega__col:first-child { padding-left: 0; border-left: 0; }
.mega__head { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 400 11.5px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mega__head .gl { width: 16px; height: 16px; color: var(--accent); }
.mega__hero { display: grid; gap: 2px; padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
.mega__hero b { font-size: 16px; font-weight: 500; line-height: 1.3; transition: color .2s var(--ease); }
.mega__hero small { font: 400 12px/1.5 var(--font-mono); color: var(--accent); }
.mega__hero:hover b { color: var(--accent); }
.mega__link { display: block; padding: 5px 0; font-size: 14px; line-height: 1.35; color: var(--ink-2); transition: color .2s var(--ease); }
.mega__link:hover { color: var(--ink); }
.mega__all { justify-self: start; margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--accent); }

/* ---------- bands (sections) and their heads ---------- */
.band { padding: var(--band) 0; }
.band--surface { background: var(--surface); }
.band--deep { background: radial-gradient(80% 80% at 85% 120%, rgba(198, 244, 50, .14), rgba(198, 244, 50, 0) 60%), var(--deep); }
.head { display: grid; gap: 16px; margin-bottom: var(--s-7); }
.head .eyebrow { margin: 0; }
.head__lead { max-width: 35.32em; color: var(--ink-2); font-size: var(--t-lead); line-height: 1.55; }
@media (min-width: 1024px) {
  .head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; align-items: end; margin-bottom: 72px; }
  .head .eyebrow { grid-column: 1 / -1; }
  .head h2 { grid-column: 1 / span 7; }
  .head__lead { grid-column: 8 / span 5; padding-bottom: 6px; font-size: 17px; }
}
.row-head { margin: var(--s-8) 0 var(--s-5); font-size: var(--t-h3); }
.note { max-width: 72ch; margin-top: var(--s-6); color: var(--ink-2); font-size: 15px; }
.note > .link:only-child { display: inline-flex; align-items: center; min-height: 44px; background-position: 0 calc(100% - 10px), 0 calc(100% - 10px); }
.lead-text { max-width: 38.04em; font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }

/* the lit stage: the one framed ground, where the product's own windows stand */
.stage { position: relative; display: grid; place-items: center; padding: 20px; border-radius: var(--r-lg); background: var(--lit); overflow: hidden; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .14);
  background-image: linear-gradient(rgba(242, 245, 238, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(242, 245, 238, .04) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 20%, #000, transparent 80%); mask-image: radial-gradient(70% 70% at 70% 20%, #000, transparent 80%); }
.stage--soft { background: var(--lit-soft); }
.stage > * { width: 100%; max-width: 560px; }
@media (min-width: 640px) { .stage { padding: 48px; } }

/* ---------- hero: centred (home) ---------- */
.hero { position: relative; overflow: clip; }
.hero--centred { display: flex; flex-direction: column; height: 100svh; min-height: 600px; padding: calc(var(--nav) + 28px) 0 24px; }
.hero--centred > .wrap { flex: 1 0 auto; display: flex; flex-direction: column; }
.hero--centred .hero-text { position: relative; flex: 1 0 auto; display: flex; flex-direction: column; align-items: flex-start; }
.hero__pill { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 6px 14px 6px 12px; margin-bottom: 20px; border: 1px solid rgba(198, 244, 50, .28); border-radius: 999px; background: rgba(198, 244, 50, .06); font: 400 12.5px/1.35 var(--font-mono); color: var(--ink); }
.hero--centred h1 { font-size: var(--t-h1); max-width: 13.64em; }
.hero__lead { margin-top: 18px; max-width: 36.68em; font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
.hero--centred .btn-row { align-self: stretch; margin-top: 24px; }
/* the owner's window rising out of a lit frame that takes the rest of the first screen and fades into the ground */
/* the frame's glow and border fade out at its foot (a layer of their own); the window on it stays whole and readable */
.hero__frame { position: relative; flex: 1 1 0; min-height: 150px; align-self: stretch; margin-top: 32px; border-radius: 24px; overflow: hidden; isolation: isolate; }
.hero__frame::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(60% 90% at 50% 100%, rgba(198, 244, 50, .16), rgba(198, 244, 50, 0) 70%), #090b0d; box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .2);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
.hero__fx { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
html:not(.js) .hero__fx { background: radial-gradient(60% 70% at 50% 100%, rgba(198, 244, 50, .24), rgba(198, 244, 50, 0) 70%), radial-gradient(40% 50% at 92% 90%, rgba(75, 227, 242, .18), rgba(75, 227, 242, 0) 70%); }
.app { position: absolute; z-index: 1; left: 12px; right: 12px; top: 12px; border-radius: 18px; overflow: hidden; background: rgba(13, 16, 20, .9); border: 1px solid rgba(242, 245, 238, .12); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95), 0 0 70px -30px rgba(198, 244, 50, .35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.app__bar b { white-space: nowrap; }
.app__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .025); font-size: 14px; }
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.app__sub { margin-right: auto; color: var(--muted); font: 400 11.5px/1.4 var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__body { display: grid; grid-template-columns: minmax(0, 1fr); }
.app__inbox, .app__side { display: none; }
.app .tg { border: 0; border-radius: 0; box-shadow: none; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.app .tg__bar .tag { display: none; }
.fx-toggle { display: none; }
/* under a desktop the frame is shorter than the window: the window's foot fades into the ground instead of a hard cut */
@media (max-width: 1023px), (max-height: 820px) {
  .hero__frame { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 56px), transparent); }
}
@media (max-width: 639px) {
  .app__bar { display: none; }
  .tg--hero .msg { display: none; font-size: 14px; }
  .tg--hero .msg:first-child, .tg--hero .msg--phone { display: block; }
}
@media (min-width: 640px) {
  .hero--centred { padding-top: calc(var(--nav) + 48px); }
  .hero--centred h1 { font-size: clamp(48px, 7vw, 56px); }
  .hero--centred .btn-row { align-self: auto; }
  .app { left: 24px; right: 24px; top: 24px; }
  .app__body { grid-template-columns: minmax(0, 1fr) 260px; }
  .app__side { display: block; padding: 16px; border-left: 1px solid var(--line); }
  .app__side .lead-card { padding: 0; border: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (min-width: 1024px) {
  .hero--centred { height: 100svh; min-height: 680px; max-height: 1100px; padding-top: calc(var(--nav) + 40px); }
  .hero--centred .hero-text { align-items: center; text-align: center; }
  .hero--centred h1 { font-size: clamp(52px, 5vw, 76px); max-width: 14.54em; }
  .hero--centred .hero__lead { max-width: 39.4em; }
  .hero__frame { margin-top: 36px; }
  .app { left: 50%; right: auto; top: 24px; width: min(1120px, calc(100% - 96px)); transform: translateX(-50%); }
  .app .tg__body { padding: 12px 14px; gap: 6px; }
  .app .msg { font-size: 14.5px; line-height: 1.42; }
  .app__body { grid-template-columns: 250px minmax(0, 1fr) 300px; }
  .app__inbox { display: block; border-right: 1px solid var(--line); padding: 8px; text-align: left; }
  .app__side { text-align: left; }
  .fx-toggle { position: absolute; right: 0; top: 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(7, 8, 10, .7); color: var(--ink-2); font: 400 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
  .fx-toggle[hidden] { display: none; }
  .fx-toggle::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(198, 244, 50, .9); }
  .fx-toggle[aria-pressed="true"]::before { background: var(--muted); box-shadow: none; }
  .fx-toggle:hover { color: var(--ink); border-color: var(--line-strong); }
}
/* a short desktop screen: the shorter first reply, so the whole window stands inside its frame */
@media (min-width: 1024px) and (max-height: 960px) {
  .hero--centred { padding-top: calc(var(--nav) + 28px); }
  .hero--centred .hero__frame { margin-top: 28px; }
  .app { top: 20px; }
  .tg--hero .msg--wide { display: none; }
  .tg--hero .msg--phone { display: block; }
}
/* a narrow desktop: the chat takes the inbox's room; the pause button keeps its name but shows only its dot */
@media (min-width: 1024px) and (max-width: 1279px) {
  .app__body { grid-template-columns: minmax(0, 1fr) 280px; }
  .app__inbox { display: none; }
  .fx-toggle { width: 44px; padding: 0; justify-content: center; font-size: 0; letter-spacing: 0; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .hero--centred h1 { font-size: clamp(44px, 4.4vw, 60px); }
  .hero__pill { margin-bottom: 14px; }
  .app__bar { display: none; }
}
.app__chat { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px; border-radius: 12px; }
.app__chat.is-on { background: rgba(198, 244, 50, .08); box-shadow: inset 2px 0 0 var(--accent); }
.app__ch { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--accent); }
.app__ch .gl { width: 15px; height: 15px; }
.app__who { display: grid; min-width: 0; line-height: 1.35; }
.app__who b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__who span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__chat time { font: 400 10.5px/1.6 var(--font-mono); color: var(--muted); }

/* ---------- hero: split (item, AI, custom, goal, complex and tools pages) ---------- */
.hero--split { padding: calc(var(--nav) + 32px) 0 var(--band); }
.hero__grid { display: grid; gap: 40px; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.hero__copy .hero__lead { margin: 0; }
.hero--split h1 { max-width: 16.36em; }
@media (min-width: 1024px) { .hero--split h1 { font-size: clamp(40px, 3.7vw, 56px); } }
.hero__copy .btn-row { align-self: stretch; margin-top: 4px; }
.hero__proof { max-width: 34.8em; font: 400 13px/1.65 var(--font-mono); color: var(--ink-2); }
.hero__badge { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.hero__kind { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 400 11.5px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.hero__kind .gl { width: 16px; height: 16px; color: var(--accent); }
.hero__art { min-width: 0; min-height: 320px; }
@media (min-width: 640px) { .hero__copy .btn-row { align-self: auto; } }
@media (min-width: 1024px) {
  .hero--split { min-height: 100svh; padding: calc(var(--nav) + 56px) 0 72px; display: flex; flex-direction: column; }
  .hero--split > .wrap { flex: 1 0 auto; display: flex; }
  .hero__grid { flex: 1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: stretch; }
  .hero__copy { grid-column: 1 / span 6; gap: 24px; padding-right: 32px; align-self: center; }
  .hero__art { grid-column: 7 / span 6; min-height: 560px; max-height: calc(100svh - var(--nav) - 128px); align-self: center; height: 100%; }
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 400 12.5px/1.4 var(--font-mono); color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs .link { background-position: 0 calc(100% - 12px), 0 calc(100% - 12px); }
/* the price, set as display type */
.price-box { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line); align-self: stretch; max-width: 560px; }
.price-box__main { font: var(--display-weight) clamp(24px, 6.4vw, 34px)/1.15 var(--font-display); letter-spacing: -0.03em; color: var(--accent); }
.price-box__model { font: 400 13px/1.6 var(--font-mono); color: var(--ink-2); }
.price-box__more { font-size: 15px; color: var(--ink-2); }
.price-box--opts { padding-top: 0; border-top: 0; }
.price-box--opts .opts { margin-top: 6px; }
.opts { display: grid; margin-top: 12px; border-top: 1px solid var(--line); }
.opts li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.opts li > span small { display: block; font: 400 11px/1.6 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.opts li > b { white-space: nowrap; color: var(--accent); }
.opts li > small { grid-column: 1 / -1; font: 400 12px/1.4 var(--font-mono); color: var(--muted); }
/* the lead item of a goal, as one line to follow */
.lead-pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; align-self: stretch; max-width: 560px; padding: 16px 20px; border-left: 2px solid var(--accent); background: linear-gradient(90deg, rgba(198, 244, 50, .08), rgba(198, 244, 50, 0)); transition: background-color .2s var(--ease); }
.lead-pick__k { grid-column: 1; font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead-pick b { grid-column: 1; font-size: 19px; line-height: 1.3; }
.lead-pick__p { grid-column: 1; font: 400 13px/1.5 var(--font-mono); color: var(--accent); }
.lead-pick .m-arrow { grid-column: 2; grid-row: 1 / span 3; width: 20px; height: 20px; color: var(--accent); transition: transform .2s var(--ease); }
.lead-pick:hover .m-arrow { transform: translateX(4px); }

/* the hero enters once on load: the words rise one after another, the picture settles. Only transform moves: the
   first screen is readable from the first frame (no opacity start state), with or without script */
@media (prefers-reduced-motion: no-preference) {
  .m-enter [data-enter] :is(.hero-text, .hero__copy, .page-head__copy, .nf__copy) > * { animation: m-rise .6s var(--ease-enter) both; }
  .m-enter [data-enter] :is(.hero-text, .hero__copy, .page-head__copy, .nf__copy) > :nth-child(2) { animation-delay: .06s; }
  .m-enter [data-enter] :is(.hero-text, .hero__copy, .page-head__copy, .nf__copy) > :nth-child(3) { animation-delay: .12s; }
  .m-enter [data-enter] :is(.hero-text, .hero__copy, .page-head__copy, .nf__copy) > :nth-child(4) { animation-delay: .18s; }
  .m-enter [data-enter] :is(.hero-text, .hero__copy, .page-head__copy, .nf__copy) > :nth-child(5) { animation-delay: .24s; }
  .m-enter [data-enter] :is(.hero-text, .hero__copy, .page-head__copy, .nf__copy) > :nth-child(n+6) { animation-delay: .3s; }
  .m-enter [data-enter] .hero__frame { animation: m-rise-far .8s var(--ease-enter) .15s both; }
  .m-enter [data-enter] .hero__art, .m-enter [data-enter] .page-head__aside { animation: m-settle .85s var(--ease-enter) .1s both; }
}
.m-enter-done [data-enter] :is(.hero-text, .hero__copy, .page-head__copy, .nf__copy) > *, .m-enter-done [data-enter] :is(.hero__frame, .hero__art, .page-head__aside) { animation: none; }
@keyframes m-rise { from { transform: translateY(14px); } }
@keyframes m-rise-far { from { transform: translateY(40px); } }
@keyframes m-settle { from { transform: scale(.97); } }
/* the hero's chat plays once on a desktop (site.js): replies wait, the AI types, the owner's card lands last */
[data-demo] [data-step] { transition: opacity .32s var(--ease-enter), transform .44s var(--ease-enter); }
[data-demo] [data-step].is-wait { opacity: 0; transform: translateY(8px); }
[data-demo].is-prep [data-step] { transition: none; }
.msg--typing { display: flex; align-items: center; gap: 4px; padding: 12px 14px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: m-dot 1s ease-in-out infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes m-dot { 0%, 80%, 100% { opacity: .35; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }

/* ---------- page heads (catalog, pricing, complexes, quiz, legal) ---------- */
.page-head { padding: calc(var(--nav) + 48px) 0 56px; }
.page-head__grid { display: grid; gap: 32px; }
.page-head h1 { font-size: clamp(32px, 9.4vw, 48px); max-width: 14.54em; }
@media (max-width: 639px) {
  .page-head { padding: calc(var(--nav) + 32px) 0 40px; }
  .page-head__lead { margin-top: 14px; font-size: 16px; }
  .page-head__grid { gap: 24px; }
  .page-head--catalog .quiz-mini { padding: 16px 18px; }
  .page-head--catalog .quiz-mini b { font-size: 17px; }
}
.page-head__lead { margin-top: 20px; max-width: 42.12em; font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
@media (min-width: 640px) { .page-head h1 { font-size: clamp(52px, 7.4vw, 72px); } }
@media (min-width: 1024px) {
  .page-head { padding: calc(var(--nav) + 96px) 0 88px; }
  .page-head__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .page-head__copy { grid-column: 1 / span 8; }
  .page-head__aside { grid-column: 9 / span 4; }
  .page-head h1 { font-size: clamp(52px, 5.2vw, 80px); line-height: 1.02; max-width: 16.36em; }
}
.page-head--legal h1, .page-head--quiz h1 { font-size: clamp(24px, 7.6vw, 64px); }
.page-head__grid > *, .nf > * { min-width: 0; }
h1, h2 { overflow-wrap: break-word; }
.quiz-mini { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 22px 24px; border-radius: var(--r-lg); background: var(--lit); box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .22); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.quiz-mini__k { font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.quiz-mini b { grid-column: 1; font-size: 19px; line-height: 1.3; }
.quiz-mini .m-arrow { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--accent); transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .quiz-mini:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--accent); } .quiz-mini:hover .m-arrow { transform: translateX(4px); } }
/* the table of contents as numbered pills */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.toc a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: border-color .2s var(--ease), color .2s var(--ease); }
.toc a span { font: 400 11px/1 var(--font-mono); color: var(--accent); }
.toc a:hover { border-color: var(--accent); color: var(--ink); }

/* ---------- the index (home: five goals and the complexes as typographic rows) ---------- */
.index { border-top: 1px solid var(--line-strong); counter-reset: idx; }
.index__row { position: relative; display: grid; grid-template-columns: var(--idx-col) minmax(0, 1fr) 24px; gap: 6px var(--idx-gap); align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.index__row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-enter); }
.index__n { grid-row: 1; font: 400 12px/1 var(--font-mono); color: var(--accent); }
.index__title { grid-column: 2; font: var(--display-weight) clamp(20px, 5.6vw, 24px)/1.15 var(--font-display); letter-spacing: -0.025em; transition: transform .35s var(--ease-enter), color .2s var(--ease); }
.index__text { grid-column: 2; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.index__meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 12px; font: 400 12.5px/1.5 var(--font-mono); color: var(--muted); }
.index__meta b { font-weight: 400; color: var(--accent); }
.index__go { grid-column: 3; grid-row: 1; align-self: center; color: var(--muted); transition: transform .3s var(--ease), color .2s var(--ease); }
.index__go .m-arrow { width: 20px; height: 20px; }
@media (min-width: 1024px) {
  .index__row { grid-template-columns: 64px minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr) 40px; gap: 24px; padding: 30px 0; align-items: center; }
  .index__title { grid-column: 2; font-size: clamp(24px, 2.3vw, 34px); }
  .index__text { grid-column: 3; grid-row: 1; }
  .index__meta { grid-column: 4; grid-row: 1; flex-direction: column; gap: 2px; }
  .index__go { grid-column: 5; justify-self: end; }
}
@media (hover: hover) and (pointer: fine) {
  .index__row:hover::after { transform: scaleX(1); }
  .index__row:hover .index__title { transform: translateX(10px); color: var(--accent); }
  .index__row:hover .index__go { color: var(--accent); transform: translateX(4px); }
}
.quiz-line { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 12px 16px; align-items: center; margin-top: var(--s-7); padding: 24px; border-radius: var(--r-lg); background: var(--lit); box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .22); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.quiz-line__h { font-size: 17px; line-height: 1.4; color: var(--ink-2); }
.quiz-line__h b { display: block; margin-top: 2px; font: var(--display-weight) clamp(20px, 5.4vw, 26px)/1.2 var(--font-display); letter-spacing: -0.025em; color: var(--ink); }
.quiz-line__qs { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-line__qs span { padding: 6px 12px; border-radius: 999px; background: rgba(7, 8, 10, .55); border: 1px solid var(--line); font: 400 12px/1.4 var(--font-mono); color: var(--ink-2); }
.quiz-line .index__go { grid-column: 2; grid-row: 1; color: var(--accent); }
@media (min-width: 1024px) {
  .quiz-line { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) 40px; padding: 32px 40px; }
  .quiz-line__qs { grid-column: 2; grid-row: 1; justify-content: flex-end; }
  .quiz-line .index__go { grid-column: 3; justify-self: end; }
}
@media (hover: hover) and (pointer: fine) { .quiz-line:hover { box-shadow: inset 0 0 0 1px var(--accent), 0 20px 60px -30px rgba(198, 244, 50, .5); transform: translateY(-2px); } .quiz-line:hover .index__go { transform: translateX(4px); } }

/* the home's index beside the quiz's first question: the rows take seven columns, the stage five */
@media (min-width: 1024px) {
  .showcase.showcase--index, .showcase.showcase--kits { align-items: stretch; }
  .showcase--index > .index, .showcase--kits > .kits { grid-column: 1 / span 7; }
  .showcase--index > .showcase__art, .showcase--kits > .showcase__art { grid-column: 8 / span 5; }
  .showcase--index .index__row { grid-template-columns: var(--idx-col) minmax(0, 1fr) auto 24px; gap: 4px var(--idx-gap); padding: 22px 0; }
  .showcase--index .index__title { grid-column: 2; grid-row: 1; font-size: clamp(20px, 1.65vw, 25px); }
  .showcase--index .index__text { grid-column: 2; grid-row: 2; font-size: 14.5px; }
  .showcase--index .index__meta { grid-column: 3; grid-row: 1 / span 2; align-self: center; text-align: right; align-items: flex-end; }
  .showcase--index .index__go { grid-column: 4; grid-row: 1 / span 2; }
  .showcase--index .index__n { grid-row: 1 / span 2; align-self: center; }
}
.quiz-start { place-items: stretch; align-content: center; padding: 24px; }
.quiz-start__panel { display: grid; gap: 16px; }
.quiz-start__k { display: flex; align-items: center; gap: 10px; font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.quiz-start__k .gl { width: 18px; height: 18px; color: var(--accent); }
.quiz-start__q { font: var(--display-weight) clamp(24px, 6vw, 32px)/1.15 var(--font-display); letter-spacing: -0.03em; }
.quiz-start__opts { display: grid; gap: 8px; }
.quiz-start__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .02); font-size: 16px; line-height: 1.35; transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease), color .2s var(--ease); }
.quiz-start__opt .m-arrow { width: 18px; height: 18px; flex: none; color: var(--accent); transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .quiz-start__opt:hover { border-color: var(--accent); background: rgba(198, 244, 50, .08); transform: translateY(-2px); } .quiz-start__opt:hover .m-arrow { transform: translateX(4px); } }
.quiz-start__foot { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 640px) { .quiz-start { padding: 40px; } }

/* ---------- showcase: rows of words beside the product on its stage ---------- */
.showcase { display: grid; gap: 40px; }
.showcase__text { display: grid; align-content: start; gap: 24px; }
.showcase__text .eyebrow { margin: 0; }
.showcase__art { min-height: 360px; }
@media (min-width: 1024px) {
  .showcase { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: stretch; }
  .showcase > :first-child { grid-column: 1 / span 6; }
  .showcase__art { grid-column: 8 / span 5; }
  .band--deep .showcase__text { align-self: center; padding-right: 32px; }
}
.features { border-top: 1px solid var(--line-strong); }
.features__row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.features__row .gl { grid-row: 1 / span 2; margin-top: 2px; color: var(--accent); }
.features__row h3 { font-size: 19px; }
.features__row p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; max-width: 52ch; }
.stack { display: grid; gap: 14px; width: 100%; max-width: 420px; }

/* ---------- statements (the dealt type moments) ---------- */
.statement { min-height: 100svh; padding: calc(var(--band) * 1.1) 0; }
.statement .mo-la__type { font-size: clamp(44px, 12vw, 168px); max-width: 12ch; }
.statement .mo-la__sub { max-width: 56ch; color: var(--ink-2); }
.statement .mo-wh__text { font-size: clamp(26px, 4.2vw, 58px); line-height: 1.14; max-width: 24ch; }
.mo-lt__type { font-size: clamp(42px, 11vw, 120px); }
@media (min-width: 1024px) { .page-head .mo-lt__type { font-size: clamp(64px, 7.6vw, 128px); } }

/* ---------- plans: four open columns ---------- */
.plans { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line-strong); }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.plan__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.plan__head h3 { font: var(--display-weight) 22px/1.2 var(--font-display); letter-spacing: -0.02em; }
.plan__for { color: var(--ink-2); font-size: 15px; line-height: 1.5; min-height: 3em; }
.plan__price b { display: block; font: var(--display-weight) clamp(26px, 7vw, 40px)/1.05 var(--font-display); letter-spacing: -0.035em; }
.plan__price span { font: 400 12.5px/1.6 var(--font-mono); color: var(--muted); }
.plan .btn { align-self: flex-start; }
.plan__list { display: grid; gap: 10px; margin-top: 6px; }
.plan__list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.plan--popular { padding-left: 20px; padding-right: 20px; background: linear-gradient(180deg, rgba(198, 244, 50, .1), rgba(198, 244, 50, 0) 70%); box-shadow: inset 0 2px 0 var(--accent); }
.plan--popular .plan__price b { color: var(--accent); }
@media (min-width: 640px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan { padding: 32px 24px; border-left: 1px solid var(--line); }
  .plan:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .plan--popular:nth-child(2n+1) { padding-left: 24px; }
}
@media (min-width: 1100px) {
  .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .plan { padding: 40px 28px 44px; border-bottom: 0; }
  .plan:nth-child(2n+1) { border-left: 1px solid var(--line); padding-left: 28px; }
  .plan:first-child { border-left: 0; padding-left: 0; }
  .plan--popular:first-child { padding-left: 28px; }
  .plans { border-bottom: 1px solid var(--line); }
}

/* ---------- flow: three steps on one line, each with its screen ---------- */
.flow { display: grid; gap: 48px; }
.flow__step { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.flow__step::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(198, 244, 50, .9); }
.flow__n { font: 400 13px/1 var(--font-mono); letter-spacing: .08em; color: var(--accent); }
.flow__text { color: var(--ink-2); max-width: 40ch; }
.flow__ui { display: grid; place-items: center; min-height: 240px; margin-top: 12px; padding: 24px; border-radius: var(--r-lg); background: var(--lit-soft); box-shadow: inset 0 0 0 1px var(--line); }
.flow__ui > * { width: 100%; max-width: 360px; }
@media (min-width: 1024px) {
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .flow__ui { min-height: 200px; padding: 20px; }
  /* the order steps fit one screen on a laptop: the section is that screen */
  .band:has(> .wrap > .flow), .band:has(> .wrap > .calc-grid) { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 96px; }
  .band:has(> .wrap > .flow) .head, .band:has(> .wrap > .calc-grid) .head { margin-bottom: 48px; }
  .band:has(> .wrap > .flow) .btn-row--after { margin-top: 32px; }
}

/* ---------- rows: the catalog, related items, tools, roles (a price list, not cards) ----------
   An item row: the status, the name (its link stretched over the whole row), the line, the price, and the action
   into the bot as a second link that sits above the stretched one. The custom page's examples are plain a.row. */
.items { border-top: 1px solid var(--line-strong); }
.row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease-enter), background-color .3s var(--ease); }
.row::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .3s var(--ease-enter); }
.row__status { grid-column: 1 / -1; }
.row__main { grid-column: 1 / -1; display: grid; gap: 4px; min-width: 0; }
.row__title { font-size: 18px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; transition: color .2s var(--ease); }
.row__title.row__link { justify-self: start; padding-block: 11px; margin-block: -11px; }
.row__link::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.row__text { font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 64ch; }
.row__meta { font: 400 12px/1.5 var(--font-mono); color: var(--muted); }
.row__price { grid-column: 1; display: grid; gap: 2px; font-size: 15px; }
.row__price b { color: var(--ink); white-space: nowrap; }
.row__price small { font-size: 13px; color: var(--muted); }
.row__alt { font: 400 12px/1.5 var(--font-mono); }
.row__act { position: relative; z-index: 1; grid-column: 2; justify-self: end; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(198, 244, 50, .45); color: var(--accent); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease); }
.row__act .m-arrow { width: 14px; height: 14px; flex: none; transition: transform .18s var(--ease); }
.row__act--wait { border-color: var(--line-strong); color: var(--ink); }
.row__act:active { transform: translateY(1px) scale(.98); }
.row__go { grid-column: 2; grid-row: 1 / span 3; align-self: center; color: var(--muted); transition: transform .3s var(--ease), color .2s var(--ease); }
.row__go .m-arrow { width: 18px; height: 18px; }
a.row { grid-template-columns: minmax(0, 1fr) 24px; }
a.row .row__status, a.row .row__main { grid-column: 1; }
/* a phone: the line keeps to two lines, so a long list scans quickly */
@media (max-width: 899px) { .item .row__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; } }
@media (min-width: 900px) {
  .row { grid-template-columns: 148px minmax(0, 1fr) minmax(170px, 230px) 176px; gap: 24px; padding: 24px 0; }
  .row__status { grid-column: 1; grid-row: 1; }
  .row__main { grid-column: 2; grid-row: 1; }
  .row__price { grid-column: 3; grid-row: 1; text-align: right; justify-items: end; }
  .row__act { grid-column: 4; grid-row: 1; }
  a.row { grid-template-columns: 148px minmax(0, 1fr) minmax(180px, 260px) 32px; }
  a.row .row__status { grid-column: 1; }
  a.row .row__main { grid-column: 2; }
  .row__go { grid-column: 4; grid-row: 1; justify-self: end; }
}
@media (hover: hover) and (pointer: fine) {
  .row:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(198, 244, 50, .06), rgba(198, 244, 50, 0) 60%); }
  .row:hover::before { transform: scaleY(1); }
  .row:hover .row__title { color: var(--accent); }
  .row:hover .row__go { color: var(--accent); transform: translateX(4px); }
  .row__act:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
  .row__act:hover .m-arrow { transform: translateX(3px); }
}

/* ---------- the AI team: roles as rows (name and job, the role's glyph with its status and «від», the action), by department ----------
   The name starts on the container's edge; the glyph sits with the status and takes its colour (lime works, cyan beta, grey queue). */
.roles { border-top: 1px solid var(--line-strong); }
.role { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease-enter), background-color .3s var(--ease); }
.role::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .3s var(--ease-enter); }
.role__main { grid-column: 1 / -1; display: grid; gap: 2px; min-width: 0; }
.role__name { justify-self: start; padding-block: 11px; margin-block: -11px; font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; transition: color .2s var(--ease); }
.role__job { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.role__meta { grid-column: 1; display: flex; align-items: center; gap: 12px; min-width: 0; }
.role__gl { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(198, 244, 50, .08); box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .22); color: var(--accent); }
.role__gl .gl { width: 18px; height: 18px; }
.role[data-status="beta"] .role__gl { background: rgba(75, 227, 242, .07); box-shadow: inset 0 0 0 1px rgba(75, 227, 242, .2); color: var(--cyan); }
.role[data-status="soon"] .role__gl { background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.role__st { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; min-width: 0; }
.role__price { font: 400 13px/1.4 var(--font-mono); color: var(--ink); white-space: nowrap; }
.role__price small { font-size: 12px; color: var(--muted); }
.role__act { position: relative; z-index: 1; grid-column: 2; justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .02); color: var(--ink); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease); }
.role__act .m-arrow { width: 14px; height: 14px; flex: none; transition: transform .18s var(--ease); }
.role__act:active { transform: translateY(1px) scale(.98); }
.role__act-s { display: none; }
@media (max-width: 639px) {
  /* a longer row: «на місяць» goes under the price, clear of the action */
  .roles--wide .role__price small { display: block; }
  .role { padding: 14px 0; }
  .role__st { flex-direction: column; align-items: flex-start; gap: 0; }
  .role__act { padding: 8px 14px; }
  .role__act .m-arrow { display: none; }
  .role__act-l { display: none; }
  .role__act-s { display: inline; }
}
/* the home band below a wide laptop or on a short screen: what works and the beta stay as rows, each department's queue
   folds into one line of names, the stage keeps only «Мій відділ» (two screens at 375x812, 768x1024, 1024x768, 1280x800) */
.roster__queue { display: none; }
@media (max-width: 1279px), (max-height: 860px) {
  .team-stage .collage__w--2 { display: none; }
  .team-stage .collage__w--1 { grid-column: 1 / -1; }
  .team-stage .collage__w--1 .topics__list { padding-bottom: 0; }
  .roster .role[data-status="soon"] { display: none; }
  .roster__queue { display: block; padding: 12px 0 4px; font-size: 15px; line-height: 2.1; color: var(--ink-2); }
  .roster__queue > span { margin-right: 4px; font: 400 11.5px/1.6 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .roster__queue .link { display: inline-block; padding-block: 11px; margin-block: -11px; background-position: 0 calc(100% - 11px), 0 calc(100% - 11px); color: var(--ink); white-space: nowrap; }
}
@media (max-width: 1023px) {
  .roster { gap: 20px; }
  #ai-team .roster__head { padding: 8px 0; }
  .team-stage .collage__w--2 { display: none; }
  .team-stage .collage__w--1 { grid-column: 1 / -1; }
  .team-stage .collage__w--1 .topics__list { padding-bottom: 0; }
  .team-side { gap: 16px; }
  /* a row: name and job on the left, the action beside them, the glyph, status and price on one line under */
  .roster .role { row-gap: 6px; }
  .roster .role__main { grid-column: 1; grid-row: 1; }
  .roster .role__meta { grid-column: 1; grid-row: 2; }
  .roster .role__st { flex-direction: row; align-items: center; gap: 0 12px; }
  .roster .role__act { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  /* the three rental terms as one line of words */
  #ai-team .terms { display: flex; flex-wrap: wrap; align-items: baseline; padding-top: 12px; }
  #ai-team .terms li { display: inline; padding: 0; border: 0; }
  #ai-team .terms li + li::before { content: "·"; margin: 0 10px; color: var(--muted); }
  #ai-team .terms b { font-size: 16px; }
  #ai-team .terms span { display: none; }
}
@media (max-width: 639px) {
  .band#ai-team { padding-block: 44px; }
  .band#ai-team .head { margin-bottom: 20px; }
  .roster { gap: 14px; }
  .roster__queue { font-size: 14.5px; line-height: 1.9; padding-top: 6px; }
  .roster .role { padding: 12px 0; }
  .roster .role__job { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .roster .role__gl { width: 26px; height: 26px; border-radius: 8px; }
  .roster .role__gl .gl { width: 15px; height: 15px; }
  .team-side .links-line a + a { display: none; }
  /* on a phone the departments, their rows and queue lines are the picture of the team: the stage waits for a wider screen */
  .team-stage { display: none; }
  .team-stage .topics__list span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .team-stage .topics__list li { padding: 10px 14px; }
}
@media (min-width: 1024px) {
  /* fixed status and action columns: every row's glyph and button stand on the same lines */
  .role { grid-template-columns: minmax(0, 1fr) 190px 186px; column-gap: 20px; padding: 14px 0; }
  .role__main { grid-column: 1; }
  .role__meta { grid-column: 2; }
  .role__st { flex-direction: column; align-items: flex-start; }
  .role__act { grid-column: 3; }
  /* the /ai bands and a role's own page: a longer line, the glyph, status and price under it, the action on the right */
  .roles--wide .role { grid-template-columns: minmax(0, 1fr) 186px; padding: 20px 0; }
  .roles--wide .role__main { grid-column: 1; }
  .roles--wide .role__meta { grid-column: 1; grid-row: 2; }
  .roles--wide .role__st { flex-direction: row; align-items: center; }
  .roles--wide .role__act { grid-column: 2; grid-row: 1 / span 2; }
}
@media (hover: hover) and (pointer: fine) {
  .role:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(198, 244, 50, .06), rgba(198, 244, 50, 0) 60%); }
  .role:hover::before { transform: scaleY(1); }
  .role:hover .role__name { color: var(--accent); }
  .role__act:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
  .role__act:hover .m-arrow { transform: translateX(3px); }
}
.roster { display: grid; gap: 32px; align-content: start; }
@media (min-width: 1024px) {
  /* the band is two screens on a laptop: its rows and the stage stand in the middle of them */
  .band#ai-team { min-height: calc(2 * 100vh); display: flex; flex-direction: column; justify-content: center; padding-block: 104px; }
  .band#ai-team .head { margin-bottom: 56px; }
  .roster .role { padding-block: 11px; }
}
/* a department's head: its name on the line where the role names start (after the glyph column), the count on the right */
.roster__head { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line-strong); font: 400 12px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.roster__head > span:first-child { color: var(--ink); }
.roster__n { margin-left: auto; }
.roster .roles { border-top: 0; }
.team-side { display: grid; align-content: start; gap: 32px; }
.team-side .links-line { margin-top: 0; }
.team-stage { padding: 28px 20px 32px; }
.terms { border-top: 1px solid var(--line-strong); }
.terms li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.terms b { font: var(--display-weight) 18px/1.3 var(--font-display); letter-spacing: -0.02em; }
.terms span { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 640px) { .team-stage { padding: 40px; } }
@media (min-width: 1024px) {
  .showcase--team, .showcase--dept { align-items: start; }
  .showcase--team > .roster, .showcase--dept > .roles { grid-column: 1 / span 7; }
  .showcase--team > .team-side { grid-column: 8 / span 5; }
  .showcase--dept > .showcase__art { grid-column: 8 / span 5; align-self: stretch; }
}
/* two product windows overlapping on a stage: the collage of the day version, without tilt */
.collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); width: 100%; max-width: 560px; }
.collage__w { min-width: 0; }
.collage__w--1 { grid-column: 1 / span 11; grid-row: 1; position: relative; z-index: 1; }
.collage__w--2 { grid-column: 3 / -1; grid-row: 2; position: relative; z-index: 2; margin-top: -32px; }
/* the first window keeps an empty foot where the second one overlaps it: no line of it is hidden */
.collage__w--1 :is(.tg__body, .topics__list, .report__rows, .doc-mock__rows, .lead-card__btns) { padding-bottom: 44px; }
.collage__w--1 .sheet-mock table { margin-bottom: 40px; }
.collage__w--1 .browser-mock__page { padding-bottom: 48px; }
@media (max-width: 639px) { .collage__w--1 { grid-column: 1 / -1; } .collage__w--2 { grid-column: 2 / -1; } }
.collage__w--2 > * { box-shadow: var(--glass-shadow), 0 30px 60px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(198, 244, 50, .18); }
.rent-line { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 6px 14px 6px 12px; border: 1px solid rgba(198, 244, 50, .28); border-radius: 18px; background: rgba(198, 244, 50, .06); font: 400 12.5px/1.45 var(--font-mono); color: var(--ink); }
.toc--depts { margin-top: 0; }
.connect { display: grid; align-content: start; gap: 32px; }
.connect__h { margin-bottom: 4px; font: 400 11.5px/1.5 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.connect__list { border-top: 1px solid var(--line-strong); }
.connect__list li { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.connect__ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); color: var(--accent); }
.connect__ic .gl { width: 18px; height: 18px; }
.role-price { display: grid; align-content: start; gap: 20px; }
.role-price__main { display: grid; gap: 6px; font: var(--display-weight) clamp(26px, 6.4vw, 44px)/1.1 var(--font-display); letter-spacing: -0.035em; color: var(--accent); }
.role-price__main small { font: 400 13px/1.5 var(--font-mono); letter-spacing: 0; color: var(--muted); }

/* a phone: a link that names a row (a table's row head, a set's parts, an add-on, a complex) reaches 44px without moving the line */
@media (max-width: 899px) {
  .table tbody th .link, .kit__parts .link, .rows li > span > .link, .feature h3 .link-plain, .facts__list li > .link:first-child { display: inline-block; padding-block: 12px; margin-block: -12px; background-position: 0 calc(100% - 12px), 0 calc(100% - 12px); }
}
/* simple price rows: a name and its price */
.rows { border-top: 1px solid var(--line-strong); }
.rows li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rows li > span { display: grid; gap: 2px; max-width: 70ch; }
.rows small { display: block; font-size: 14px; color: var(--muted); }
.rows li > b { white-space: nowrap; color: var(--accent); }
.rows .badge { margin: 4px 0; }

/* complexes and team bundles as rows */
.kits { border-top: 1px solid var(--line-strong); }
.kit { display: grid; gap: 14px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.kit__name { font: var(--display-weight) clamp(20px, 5.4vw, 24px)/1.2 var(--font-display); letter-spacing: -0.025em; }
.kit__text { margin-top: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.5; max-width: 52ch; }
.kit__meta { display: grid; gap: 8px; align-content: start; font: 400 12.5px/1.5 var(--font-mono); color: var(--muted); }
.kit__parts { display: grid; gap: 4px; font: 400 14px/1.45 var(--font-text); color: var(--ink-2); }
.kit__price { display: grid; gap: 2px; align-content: start; }
.kit__price s { font: 400 12.5px/1.5 var(--font-mono); color: var(--muted); }
.kit__price b { font-size: 18px; color: var(--accent); }
.kit__price small { font: 400 12.5px/1.5 var(--font-mono); color: var(--muted); }
.kit .btn { justify-self: start; }
@media (min-width: 1024px) {
  .kit { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; padding: 36px 0; }
  .kit__main { grid-column: 1 / span 5; }
  .kit__meta { grid-column: 6 / span 3; padding-top: 6px; }
  .kit__price { grid-column: 9 / span 2; padding-top: 4px; }
  .kit .btn { grid-column: 11 / span 2; justify-self: end; }
  .kits--compact .kit { grid-template-columns: minmax(0, 1fr); padding: 28px 0; }
}

.kit__name a { display: inline-flex; align-items: center; min-height: 44px; }
.kit__foot { display: contents; }
.kits--compact .kit { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 24px 0; }
.kits--compact .kit__main, .kits--compact .kit__meta { grid-column: 1; }
.kits--compact .kit__meta { display: grid; gap: 4px; padding: 0; }
.kits--compact .kit__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.kits--compact .kit__price { padding: 0; }
.kits--compact .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }

/* a complex given a whole band: words left, its estimate on a lit stage right */
.features-list { display: grid; gap: 0; }
.feature { display: grid; gap: 32px; padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav) + 16px); }
.features-list .feature:first-child { border-top: 0; padding-top: 0; }
.feature__text { display: grid; align-content: start; gap: 16px; }
.feature__n { font: 400 12px/1 var(--font-mono); color: var(--accent); }
.feature h3 { font: var(--display-weight) clamp(26px, 6.4vw, 40px)/1.08 var(--font-display); letter-spacing: -0.03em; }
.feature__lead { color: var(--ink-2); font-size: 17px; max-width: 48ch; }
.feature__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font: 400 12.5px/1.5 var(--font-mono); color: var(--muted); }
.feature__price { display: grid; gap: 2px; font: var(--display-weight) clamp(20px, 5vw, 26px)/1.2 var(--font-display); letter-spacing: -0.025em; color: var(--accent); }
.feature__price small { font: 400 12.5px/1.5 var(--font-mono); letter-spacing: 0; color: var(--muted); }
.feature__art { min-height: 300px; }
@media (min-width: 1024px) {
  .feature { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 72px 0; align-items: center; }
  .feature__text { grid-column: 1 / span 5; }
  .feature__art { grid-column: 7 / span 6; min-height: 380px; }
}

/* ---------- details: a numbered list beside a facts table ---------- */
.details { display: grid; gap: 48px; }
@media (min-width: 1024px) { .details { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } .details > :first-child { grid-column: 1 / span 6; } .details > :last-child { grid-column: 8 / span 5; } }
.numbered { border-top: 1px solid var(--line-strong); }
.numbered li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.numbered__n { font: 400 12px/1.9 var(--font-mono); color: var(--accent); }
.facts { border-top: 1px solid var(--line-strong); }
.facts__row { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts__row dt { font: 400 11.5px/1.6 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts__row dd { display: grid; gap: 10px; justify-items: start; font-size: 15.5px; line-height: 1.55; }
.facts__row dd > span { color: var(--ink-2); }
.facts__list { display: grid; gap: 8px; }
.facts__list li { position: relative; padding-left: 16px; color: var(--ink-2); }
.facts__list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--accent); }
.ticks { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.ticks li { position: relative; padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 1.4em; width: 10px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.timeline { border-top: 1px solid var(--line-strong); }
.timeline li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline__n { grid-row: 1 / span 2; font: 400 12px/1.9 var(--font-mono); color: var(--accent); }
.timeline b { font-size: 17px; }
.timeline li > span:last-child { grid-column: 2; color: var(--ink-2); font-size: 15.5px; }

/* steps: big outlined numbers on a hairline */
.steps { display: grid; gap: 32px; counter-reset: st; }
.step { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.step__num { font: var(--display-weight) 32px/1 var(--font-display); letter-spacing: -0.04em; color: var(--accent); }
.step p { color: var(--ink-2); max-width: 42ch; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .step__num { font-size: 36px; } }
.facts-row { display: grid; gap: 24px; margin-top: var(--s-7); }
.facts-row li { display: grid; gap: 4px; padding-top: 16px; border-top: 2px solid var(--accent); }
.facts-row b { font: var(--display-weight) 20px/1.25 var(--font-display); letter-spacing: -0.02em; }
.facts-row span { color: var(--ink-2); font-size: 15px; }
@media (min-width: 640px) { .facts-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.figure { display: grid; gap: 10px; align-content: start; }
.t-stat { font: var(--display-weight) clamp(40px, 11vw, 80px)/1 var(--font-display); letter-spacing: -0.04em; color: var(--accent); }
.figure__label { font-size: 15px; line-height: 1.45; color: var(--ink-2); max-width: 24ch; }
@media (min-width: 1024px) { .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line-strong); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 16px 16px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { padding-top: 14px; font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.table tbody th { font-weight: 500; }
.table td b { color: var(--accent); }
.table tbody tr { transition: background-color .2s var(--ease); }
.table tbody tr:hover { background: rgba(198, 244, 50, .035); }
@media (max-width: 899px) {
  .table-wrap { overflow: visible; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table tr { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .table th, .table td { display: block; position: relative; padding: 0 0 0 128px; border: 0; }
  .table tbody th { padding: 0 0 4px; font-size: 17px; }
  .table td::before { content: attr(data-label); position: absolute; left: 0; top: 0; width: 116px; font: 400 11px/1.9 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
}

/* ---------- calculator ---------- */
.calc-grid { display: grid; gap: 40px; align-items: start; }
.calc, .calc-out, .calc__fields .field { min-width: 0; }
.calc__fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 24px; }
.field { display: grid; gap: 6px; }
.field label { font: 400 12px/1.5 var(--font-mono); letter-spacing: .04em; color: var(--ink-2); }
.field input, .field select { width: 100%; min-height: 52px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; font: var(--display-weight) 24px/1.2 var(--font-display); letter-spacing: -0.02em; transition: border-color .2s var(--ease); }
.field input:hover { border-color: var(--ink-2); }
.field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; border-bottom-color: var(--accent); }
.calc__fields .field { padding: 0; }
@media (min-width: 640px) { .calc__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--wide { grid-column: 1 / -1; } }
/* the result is an open column under a lime rule (no box), on the page's split line */
.calc-out { display: grid; align-content: start; gap: 24px; padding-top: 24px; border-top: 2px solid var(--accent); }
.calc-out__label { font: 400 12px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.calc-out__big { margin: 8px 0 12px; font: var(--display-weight) clamp(26px, 6.6vw, 48px)/1 var(--font-display); letter-spacing: -0.04em; color: var(--accent); }
.calc-out__big output { font-variant-numeric: tabular-nums; }
.calc-out__row { color: var(--ink-2); max-width: 52ch; }
.calc-out__formula { font: 400 12px/1.6 var(--font-mono); color: var(--muted); }
.meter { display: grid; gap: 14px; }
.meter li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; font-size: 14px; color: var(--ink-2); }
.meter b { color: var(--ink); font-variant-numeric: tabular-nums; }
.meter i { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), rgba(198, 244, 50, .4)); transform-origin: left; transform: scaleX(var(--w, 0)); transition: transform .45s var(--ease-enter); }
.meter li:nth-child(2) i { background: var(--cyan); }
.meter li:nth-child(3) i { background: var(--ink-2); }
@media (min-width: 1024px) { .calc-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } .calc { grid-column: 1 / span 6; } .calc-out { grid-column: 8 / span 5; padding-top: 28px; } }

/* ---------- FAQ: the head on the left, open questions on the right ---------- */
.split-head { display: grid; gap: 40px; }
@media (min-width: 1024px) { .band:has(> .split-head) { min-height: 100svh; } }
.split-head__side { display: grid; align-content: start; gap: 20px; }
.split-head__side .eyebrow { margin: 0; }
.faq__tools { display: grid; gap: 14px; color: var(--ink-2); font-size: 15px; max-width: 40ch; }
@media (min-width: 1024px) { .split-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } .split-head__side { grid-column: 1 / span 6; padding-right: 32px; } .split-head > .qa { grid-column: 8 / span 5; } }
.qa { border-top: 1px solid var(--line-strong); }
.qa__item { border-bottom: 1px solid var(--line); }
.qa__item summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: 18px 48px 18px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 500; line-height: 1.35; transition: color .2s var(--ease); }
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary::before, .qa__item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--accent); transition: transform .3s var(--ease); }
.qa__item summary::after { transform: rotate(90deg); }
.qa__item[open] summary::after { transform: rotate(0deg); }
.qa__item summary:hover { color: var(--accent); }
.qa__a { padding: 0 48px 24px 0; color: var(--ink-2); line-height: 1.65; }

/* ---------- catalog ---------- */
.catalog { padding: 0 0 var(--band); }
.filters { display: grid; gap: 16px; padding: 24px 0 8px; margin-bottom: var(--s-6); border-top: 1px solid var(--line); }
.search { position: relative; display: grid; gap: 6px; }
.search label { font: 400 12px/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search input { width: 100%; min-height: 60px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; font: var(--display-weight) clamp(20px, 5vw, 28px)/1.2 var(--font-display); letter-spacing: -0.02em; }
@media (max-width: 639px) { .search input { font-size: 18px; } }
.search input::placeholder { color: color-mix(in oklab, var(--ink) 50%, var(--bg)); }
.search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; border-bottom-color: var(--accent); }
.chips { display: none; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .chip:not([aria-pressed="true"]):hover { border-color: var(--accent); color: var(--ink); } }
.selects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.selects .field select { font: 400 15px/1.3 var(--font-text); letter-spacing: 0; min-height: 48px; cursor: pointer; }
.selects .field option { background: var(--surface); }
.filters__count { font: 400 12.5px/1.5 var(--font-mono); color: var(--muted); }
.filters__more > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.filters__more > summary::-webkit-details-marker { display: none; }
.filters__more > summary::after { content: "+"; font: 400 22px/1 var(--font-mono); color: var(--accent); transition: transform .25s var(--ease); }
.filters__more[open] > summary::after { transform: rotate(45deg); }
.filters__more[open] > summary { margin-bottom: 8px; }
.filters__more .selects--more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.filters__more .selects--more .field:last-child { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .filters__more .selects--more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters__more .selects--more .field:last-child { grid-column: auto; }
}
@media (min-width: 640px) {
  .chips { display: flex; }
  .selects--phone { display: none; }
  .selects--more { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 760px; }
}
/* the catalog's first screen holds its head, the search, the filters and the first rows (1440×900, 375×812) */
.page-head--catalog { padding: calc(var(--nav) + 20px) 0 16px; }
.page-head--catalog .eyebrow { margin-bottom: 12px; }
.page-head--catalog h1 { font-size: clamp(24px, 7.4vw, 40px); max-width: 18.18em; }
@media (max-width: 639px) { .cat-group__h { font-size: 22px; } .catalog .search input { font-size: 17px; } }
.page-head--catalog .page-head__lead { margin-top: 10px; font-size: 16px; }
.page-head--catalog .page-head__grid { gap: 14px; }
.filters { gap: 10px; padding-top: 14px; margin-bottom: 12px; }
.filters .search input { min-height: 52px; }
@media (max-width: 639px) {
  .page-head--catalog .page-head__more { display: none; }
  .page-head--catalog .quiz-mini { padding: 10px 16px; border-radius: 16px; }
  .page-head--catalog .quiz-mini__k { display: none; }
  .page-head--catalog .quiz-mini b { font-size: 16px; }
}
@media (max-width: 1023px) { .filters__count[data-all] { display: none; } }
@media (min-width: 640px) {
  .page-head--catalog { padding: calc(var(--nav) + 32px) 0 24px; }
  .page-head--catalog h1 { font-size: clamp(36px, 5.4vw, 48px); }
}
@media (min-width: 1024px) {
  .page-head--catalog { padding: calc(var(--nav) + 40px) 0 28px; }
  .page-head--catalog h1 { font-size: clamp(40px, 3.4vw, 52px); }
  .page-head--catalog .page-head__lead { font-size: 17px; }
  .filters { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: 32px; row-gap: 10px; align-items: start; padding-top: 18px; margin-bottom: 20px; }
  .filters .search { grid-column: 1; grid-row: 1 / span 2; }
  .filters .chips { grid-column: 2; }
  .filters__more { grid-column: 2; grid-row: 3; }
  .filters__count { grid-column: 1; grid-row: 3; align-self: center; }
  .filters .chip { min-height: 40px; padding: 6px 12px; font-size: 13px; }
  .filters .chips { gap: 6px; }
  .filters .search input { font-size: 20px; }
}
.catalog__head { display: none; }
@media (min-width: 900px) {
  .catalog__head { display: grid; grid-template-columns: 148px minmax(0, 1fr) minmax(170px, 230px) 176px; gap: 24px; padding: 0 0 10px; font: 400 11px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .catalog__head span:nth-child(3), .catalog__head span:nth-child(4) { text-align: right; }
}
.cat-group { padding-top: var(--s-8); }
.cat-group:first-of-type { padding-top: 16px; }
.cat-group__h { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font: var(--display-weight) clamp(24px, 6vw, 36px)/1.1 var(--font-display); letter-spacing: -0.03em; }
.cat-group__h .gl { width: 26px; height: 26px; color: var(--accent); }
.cat-group__n { margin-left: auto; font: 400 13px/1 var(--font-mono); letter-spacing: 0; color: var(--muted); }
.cat-group--soon summary { cursor: pointer; list-style: none; min-height: 56px; }
.cat-group--soon summary::-webkit-details-marker { display: none; }
.cat-group--soon summary::after { content: "+"; font: 400 24px/1 var(--font-mono); color: var(--accent); transition: transform .3s var(--ease); }
.cat-group--soon[open] summary::after { transform: rotate(45deg); }
.cat-group--soon .cat-group__n { margin-left: auto; }
.cat-group--soon .note { margin: 0 0 20px; }
.empty { display: grid; gap: 16px; justify-items: start; padding: 48px 0; }

/* ---------- the quiz ---------- */
.quiz { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.quiz__q { display: grid; gap: 16px; padding: 32px 0; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.quiz__legend { display: grid; gap: 8px; padding: 0; float: left; width: 100%; }
.quiz__n { font: 400 12px/1.4 var(--font-mono); color: var(--accent); }
.quiz__text { font: var(--display-weight) clamp(22px, 5.6vw, 30px)/1.2 var(--font-display); letter-spacing: -0.025em; }
.quiz__opts { clear: both; display: grid; gap: 10px; }
.quiz__opt { position: relative; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; font-size: 16px; transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease); }
.quiz__opt input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.quiz__opt input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-ink); transform: scale(0); transition: transform .2s var(--ease); }
.quiz__opt input:checked { border-color: var(--accent-ink); background: var(--accent-ink); }
.quiz__opt input:checked::after { background: var(--accent); transform: scale(1); }
.quiz__opt input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.quiz__opt:has(input:checked) { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .quiz__opt:hover { border-color: var(--accent); transform: translateY(-1px); } }
@media (min-width: 640px) { .quiz__opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .quiz__q { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 44px 0; }
  .quiz__legend { grid-column: 1 / span 5; }
  .quiz__opts { grid-column: 7 / span 6; clear: none; }
}
.quiz > .btn-row { padding-top: 32px; }
.quiz__status { min-height: 1.6em; margin-top: 12px; color: var(--soon); }
.quiz__result { margin-top: var(--s-8); outline: none; }
.quiz__h { margin-bottom: 24px; }
.quiz__cards { display: grid; gap: 16px; }
.quiz__card { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: var(--r-lg); background: var(--lit-soft); box-shadow: inset 0 0 0 1px var(--line); }
.quiz__card--main { background: var(--lit); box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .35); }
.quiz__card .card__cat { font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.quiz__name { justify-self: start; font: var(--display-weight) 22px/1.2 var(--font-display); letter-spacing: -0.025em; }
.quiz__card p { color: var(--ink-2); }
.quiz__price { font: 400 13px/1.5 var(--font-mono); color: var(--accent) !important; }
.quiz__card .btn { justify-self: start; margin-top: 6px; }
@media (min-width: 1024px) { .quiz__cards { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- payment (/pay, /pay/done; site/assets/pay.js): the quiz's rows for the plan, the period and Start's setup, then the sum beside the plan's features ---------- */
.pay__who { margin-bottom: 24px; font: 400 13px/1.6 var(--font-mono); color: var(--accent); }
.pay .quiz__opt input[type="checkbox"], .pay .quiz__opt input[type="checkbox"]::after { border-radius: 4px; }
.pay__setup .quiz__opts { grid-template-columns: minmax(0, 1fr); }
.pay__sum .price-box { padding-top: 0; border-top: 0; }
.pay__sum .plan__list { margin-top: 0; }
.pay__notes { margin-top: var(--s-7); }
.pay__done { min-height: 1.6em; font-size: 18px; line-height: 1.5; }
@media (min-width: 1024px) {
  .pay__sum .price-box { grid-column: 1 / span 5; }
  .pay__sum .plan__list { grid-column: 7 / span 6; }
}

/* ---------- legal ---------- */
.prose-section { padding: 0 0 var(--band); }
.prose { max-width: 720px; margin-inline: auto; font-size: 17px; line-height: 1.75; color: var(--ink-2); counter-reset: h2; }
@media (min-width: 1024px) { .wrap.prose { margin-left: max(var(--gut), calc((100% - 1280px) / 2)); } }
.prose h2 { counter-increment: h2; margin: 64px 0 18px; padding-top: 24px; border-top: 1px solid var(--line); font-size: clamp(22px, 5vw, 28px); color: var(--ink); }
.prose h2::before { content: counter(h2, decimal-leading-zero); display: block; margin-bottom: 10px; font: 400 12px/1 var(--font-mono); letter-spacing: .08em; color: var(--accent); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; font-size: 19px; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin-bottom: 16px; }
.prose ul li, .prose ol li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .85em; width: 8px; height: 1.5px; background: var(--accent); }
.prose ol { counter-reset: li; }
.prose ol li::before { counter-increment: li; content: counter(li) "."; position: absolute; left: 0; font: 400 13px/1.75 var(--font-mono); color: var(--accent); }
.prose b, .prose strong { color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(198, 244, 50, .6); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }

/* ---------- 404 ---------- */
.page-head--404 { min-height: 100svh; display: flex; align-items: center; }
.nf { display: grid; gap: 24px; align-items: center; }
.nf-code { font: var(--display-weight) clamp(96px, 32vw, 360px)/.85 var(--font-display); letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); text-shadow: 0 0 80px rgba(198, 244, 50, .25); }
.nf__copy .btn-row { margin-top: 28px; }
.nf__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.nf__links a { display: inline-flex; min-height: 44px; align-items: center; }
.nf__links .link { background-position: 0 calc(100% - 10px), 0 calc(100% - 10px); }
@media (min-width: 1024px) { .nf { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } .nf-code { grid-column: 1 / span 6; } .nf__copy { grid-column: 8 / span 5; } }

/* ---------- closing: the close, the name set wide, the footer ---------- */
.closing { position: relative; overflow: clip; padding: var(--band) 0 32px; background: radial-gradient(70% 60% at 80% 0%, rgba(198, 244, 50, .12), rgba(198, 244, 50, 0) 60%), var(--deep); border-top: 1px solid var(--line); }
.closing__wrap { display: grid; gap: 0; }
.close { display: grid; gap: 28px; align-items: end; padding-bottom: 48px; }
.close__text .eyebrow { margin-bottom: 18px; }
.close h2 { font-size: clamp(32px, 8.6vw, 64px); max-width: 16ch; }
.close__line { margin-top: 18px; max-width: 56ch; color: var(--ink-2); font-size: var(--t-lead); }
.close .btn { justify-self: start; }
@media (min-width: 1024px) { .close { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } .close .btn { justify-self: end; } }
.foot > .close__word { grid-column: 1 / -1; margin: 0 0 8px; overflow: hidden; }
.close__word { margin: 0 0 40px; font: var(--display-weight) clamp(34px, 8.3vw, 118px)/.9 var(--font-display); letter-spacing: -0.045em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(242, 245, 238, .22); user-select: none; }
.foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-top: 40px; border-top: 1px solid var(--line); }
.foot > .close__word { grid-row: 1; }
.foot__brand { grid-column: 1 / -1; display: grid; gap: 14px; }
.foot__brand p { max-width: 40ch; color: var(--muted); font-size: 15px; }
.foot__col h3 { margin-bottom: 12px; font: 400 11.5px/1.5 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.foot__col a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--ink-2); transition: color .2s var(--ease); }
.foot__col a:hover { color: var(--accent); }
.foot__legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; padding-top: 16px; border-top: 1px solid var(--line); font: 400 12px/1.6 var(--font-mono); color: var(--muted); }
.foot__legal span { margin-right: auto; padding-block: 8px; }
.foot__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); transition: color .2s var(--ease); }
.foot__legal a:hover { color: var(--accent); }
/* the closing call and the links fit one screen on a laptop */
@media (min-width: 1024px) {
  .closing { padding-top: 96px; }
  .close { padding-bottom: 36px; }
  .foot { padding-top: 28px; row-gap: 24px; }
  .foot > .close__word { font-size: clamp(34px, 6.6vw, 96px); }
}
@media (min-width: 1024px) { .foot { grid-template-columns: repeat(12, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / span 4; } .foot__col { grid-column: span 2; } }

/* ---------- product windows (always labelled «Приклад»): chat, lead card, report, sheets, browser, estimate ---------- */
.tg, .lead-card, .report, .handoff, .pick__card, .voice, .brief, .estimate, .sheet-mock, .tiles-mock, .browser-mock, .topics, .doc-mock {
  background: rgba(17, 20, 25, .94); border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow); border-radius: 18px;
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.stage .tg, .stage .report, .stage .sheet-mock, .stage .tiles-mock, .stage .browser-mock, .stage .topics, .stage .estimate, .stage .doc-mock { transition: transform .5s var(--ease-enter), box-shadow .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .stage:hover > :is(.tg, .report, .sheet-mock, .tiles-mock, .browser-mock, .topics, .estimate) { transform: translateY(-4px); box-shadow: var(--glass-shadow), 0 0 0 1px rgba(198, 244, 50, .25); } }
.tg { overflow: hidden; }
.tg__bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.tg__ava { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 500 13px/1 var(--font-mono); box-shadow: 0 0 18px rgba(198, 244, 50, .35); }
.tg__who { display: flex; flex-direction: column; min-width: 0; margin-right: auto; line-height: 1.3; }
.tg__who b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg__who small { font: 400 11px/1.5 var(--font-mono); letter-spacing: .04em; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg__who small::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(198, 244, 50, .9); vertical-align: 1px; }
.tg__body { display: flex; flex-direction: column; gap: 8px; padding: 14px; text-align: left; }
.msg { display: block; max-width: 86%; padding: 7px 12px; border-radius: 14px; font-size: 15px; line-height: 1.45; text-align: left; }
.msg p { margin: 0; }
.msg time { float: right; margin: 5px -2px -3px 12px; font: 400 10.5px/1.2 var(--font-mono); color: var(--ink-2); }
.msg--phone { display: none; }
.msg--in { align-self: flex-start; background: rgba(255, 255, 255, .07); border: 1px solid rgba(242, 245, 238, .06); border-bottom-left-radius: 4px; }
.msg--out { align-self: flex-end; background: var(--tg-out); border: 1px solid rgba(198, 244, 50, .2); border-bottom-right-radius: 4px; }
.files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.files span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .07); font: 400 12px/1.4 var(--font-mono); }
.files span::before { content: ""; width: 10px; height: 12px; border-radius: 2px; background: var(--accent); opacity: .8; }
.lead-card { padding: 16px; text-align: left; }
.lead-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.lead-card__head b { font-size: 16px; }
.lead-card__head time { font: 400 11px/1.3 var(--font-mono); color: var(--muted); margin-right: auto; }
.lead-card__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(198, 244, 50, .9); }
.lead-card__rows { display: grid; gap: 8px; }
.lead-card__rows div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; font-size: 14px; line-height: 1.4; }
.lead-card__rows dt { color: var(--muted); font: 400 11px/1.9 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.lead-card__rows dd { font-weight: 500; }
.lead-card__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
.lead-card__btns span { display: grid; place-items: center; min-height: 36px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.lead-card__btns span:first-child { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.report { padding: 18px; text-align: left; }
.report__head { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; margin-bottom: 14px; }
.report__head b { font-size: 16px; }
.report__head small { grid-row: 2; font: 400 11px/1.5 var(--font-mono); color: var(--muted); }
.report__head .tag { grid-row: 1 / span 2; grid-column: 2; align-self: start; }
.report__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.report__rows dt { color: var(--ink-2); }
.report__rows dd { font-weight: 500; text-align: right; color: var(--accent); }
.voice, .brief { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.voice > .tag { position: absolute; top: 12px; right: 12px; }
:is(.voice, .brief) .msg { font-size: 14px; line-height: 1.4; }
.voice .voice__msg { display: flex; align-items: center; gap: 8px; width: min(100% - 84px, 236px); padding: 7px 10px 7px 7px; }
.voice__play { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--accent); }
.voice__play::after { content: ""; position: absolute; left: 12px; top: 9px; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent var(--accent-ink); }
.voice__wave { display: flex; align-items: center; gap: 1.5px; flex: 1; min-width: 0; height: 22px; }
.voice__wave i { flex: 1; max-width: 3px; height: calc(var(--v) * 100%); border-radius: 2px; background: var(--accent); opacity: .6; }
.voice__len { font: 400 11px/1 var(--font-mono); color: var(--muted); }
.handoff { display: grid; gap: 6px; padding: 14px; }
.handoff__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 15px; line-height: 1.3; }
.handoff__head b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--soon); vertical-align: 1px; }
.handoff__head b { margin-right: auto; }
.handoff__text { font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.handoff__btn { display: grid; place-items: center; min-height: 34px; margin-top: 4px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 500; }
.pick__card { display: grid; justify-items: start; gap: 8px; padding: 18px; }
.pick__card b { font-size: 17px; line-height: 1.3; }
.pick__price { font-size: 14px; color: var(--ink-2); }
.pick__btn { justify-self: stretch; display: grid; place-items: center; min-height: 38px; margin-top: 4px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 500; }
.brief .msg { max-width: 92%; }
.estimate { display: grid; gap: 8px; padding: 18px 20px; }
.estimate__head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font: 400 11px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.estimate__head .gl { width: 18px; height: 18px; color: var(--accent); }
.estimate__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.estimate__list li > span:last-child { flex: none; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.estimate__list a { display: inline-flex; min-height: 28px; align-items: center; }
@media (pointer: coarse) { .estimate__list a { min-height: 44px; } }
.estimate__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--ink-2); }
.estimate__sum s { font-variant-numeric: tabular-nums; }
.estimate__sum--deal { color: var(--ink); font-weight: 500; }
.estimate__sum--deal b { font-size: 18px; color: var(--accent); text-align: right; }
.sheet-mock, .tiles-mock, .browser-mock { overflow: hidden; }
.sheet-mock__bar, .tiles-mock__bar, .browser-mock__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.sheet-mock__bar b, .tiles-mock__bar b { margin-right: auto; }
.sheet-mock table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sheet-mock th, .sheet-mock td { text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.sheet-mock th { font: 400 11px/1.3 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .03); }
.sheet-mock tr:last-child td { border-bottom: 0; }
@media (max-width: 479px) { .sheet-mock th, .sheet-mock td { padding: 8px 8px; font-size: 13px; } .sheet-mock th { font-size: 10px; letter-spacing: 0; } .sheet-mock th:first-child, .sheet-mock td:first-child { padding-left: 12px; } }
@media (max-width: 359px) { .sheet-mock th, .sheet-mock td { padding: 8px 6px; font-size: 12.5px; } }
/* a narrow desktop (1024–1279): a stage's five columns are tight, so its padding and its tables shrink */
@media (min-width: 1024px) and (max-width: 1279px) {
  .stage { padding: 24px; }
  .stage .collage__w--1 { grid-column: 1 / -1; }
  .stage .sheet-mock th, .stage .sheet-mock td { padding: 8px; font-size: 13px; }
  .stage .sheet-mock th { font-size: 10px; letter-spacing: 0; }
}
.pill { display: inline-block; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .07); font: 400 11px/1.5 var(--font-mono); }
.pill--new { background: var(--accent-soft); color: var(--accent); }
.pill--done { background: rgba(75, 227, 242, .12); color: var(--cyan); }
.tiles-mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.tiles-mock__grid div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-right: 1px solid var(--line); }
.tiles-mock__grid div:last-child { border-right: 0; }
.tiles-mock__grid span { font: 400 11px/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tiles-mock__grid b { font-size: 18px; letter-spacing: -0.01em; }
@media (max-width: 379px) {
  .tiles-mock__grid { grid-template-columns: minmax(0, 1fr); }
  .tiles-mock__grid div { flex-direction: row; justify-content: space-between; align-items: baseline; border-right: 0; border-bottom: 1px solid var(--line); }
}
.tiles-mock__chart { display: flex; align-items: flex-end; gap: 10px; height: 140px; padding: 16px; border-top: 1px solid var(--line); }
.tiles-mock__chart i { flex: 1; height: calc(var(--v) * 100%); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--accent), rgba(198, 244, 50, .25)); }
.browser-mock__dots { display: flex; gap: 6px; }
.browser-mock__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser-mock__url { margin-right: auto; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--muted); font: 400 11px/1.6 var(--font-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.browser-mock__page { padding: 16px; display: grid; gap: 14px; }
.browser-mock__hero { display: grid; gap: 4px; padding: 20px; border-radius: 12px; background: radial-gradient(120% 140% at 90% 0%, rgba(198, 244, 50, .28), rgba(7, 8, 10, 0) 60%), #15181d; }
.browser-mock__hero b { font-size: 19px; }
.browser-mock__hero span { font-size: 14px; color: var(--ink-2); }
.browser-mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.browser-mock__grid div { display: grid; gap: 4px; font-size: 13px; }
.browser-mock__grid i { display: block; height: 84px; border-radius: 10px; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)); }
.browser-mock__grid b { font-size: 14px; }
.doc-mock { padding: 18px; text-align: left; }
.doc-mock__rows div { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--line); }
.doc-mock__rows dt { font: 400 11px/1.6 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.doc-mock__rows dd { font-size: 14.5px; line-height: 1.45; }
.doc-mock__rows div:last-child dd { color: var(--accent); }
.topics { overflow: hidden; }
.topics__list b { display: flex; align-items: center; gap: 8px; }
.topics__list b .gl { width: 16px; height: 16px; color: var(--accent); }
.topics__list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.topics__list li:first-child { border-top: 0; }
.topics__list b { font-size: 15px; }
.topics__list span { grid-column: 1; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.topics__list i { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-width: 26px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 500 12px/1.5 var(--font-mono); text-align: center; }

/* ---------- the phone's dock on item pages: price and one action; the chat button keeps its corner ---------- */
.dock { position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 10px 88px calc(10px + env(safe-area-inset-bottom)) var(--gut); background: rgba(7, 8, 10, .9); border-top: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease-enter), visibility 0s linear .3s; }
.dock.is-on { transform: none; visibility: visible; transition: transform .3s var(--ease-enter), visibility 0s; }
.dock__price { display: grid; min-width: 0; margin-right: auto; line-height: 1.3; }
.dock__price b { font-size: 15px; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__price small { font: 400 11.5px/1.4 var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__btn { flex: none; min-height: 48px; padding: 10px 18px; font-size: 15px; }
html.menu-open .dock, html.menu-open [data-hmb-widget] { visibility: hidden; }
@media (max-width: 359px) { .dock { padding-left: 12px; } .dock__btn { padding: 10px 14px; } }
@media (min-width: 640px) { .dock { padding-right: 236px; } }   /* the chat button is a labelled pill here */
@media (min-width: 1024px) { .dock { display: none; } }

/* ---------- motion off: everything rests ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .msg--typing i { animation: none; }
}
@media print {
  .nav, .closing, .hero__fx, .fx-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- catalog v3 (docs/product/catalog-v3.md): the menu, the constructor, side lists, payment chips ---------- */
/* the menu: six items and the quiz button; the demo button joins the bar only where there is room */
.nav__actions .nav__quiz { padding: 8px 16px; font-size: 14px; }
@media (min-width: 640px) {
  .nav__actions .nav__quiz { display: inline-flex; }
  .nav__actions .btn[data-nav-cta] { display: none; }
}
@media (min-width: 1280px) {
  .nav__bar { grid-template-columns: auto minmax(0, 1fr) auto; }
  .nav__links { gap: clamp(14px, 1.4vw, 28px); }
  .nav__link { font-size: 14.5px; }
}
@media (min-width: 1280px) and (max-width: 1439px) { .nav__link { font-size: 14px; } .nav__links { gap: 16px; } }
/* 1280–1359: the language menu sits in the bar too, so the six items close up a little (Russian names are the longest) */
@media (min-width: 1280px) and (max-width: 1359px) { .nav__links { gap: 12px; } .nav__link { font-size: 13.5px; } :root:lang(ru) .nav__link { font-size: 13px; } }
@media (min-width: 1680px) { .nav__actions .btn[data-nav-cta] { display: inline-flex; } }
.sheet__list a[aria-current="page"] { color: var(--accent); }

/* a label at the start of a line of links («Ще для реклами:», «У черзі:») */
.links-line__k { display: inline-flex; align-items: center; min-height: 44px; font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* how an item is paid for, as small chips: Разово, За використання, Підписка, Назавжди, Під вас */
.lic { display: flex; flex-wrap: wrap; gap: 6px; }
.lic__chip { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font: 400 11.5px/1.3 var(--font-mono); letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }
.lic__chip--subscription { border-color: rgba(198, 244, 50, .35); color: var(--accent); }
.lic__chip--lifetime { border-color: rgba(75, 227, 242, .35); color: var(--cyan); }
.lic__chip--custom { border-style: dashed; }
.row__main .lic { margin-top: 6px; }
.lic-legend { display: grid; gap: 8px; }
.lic-legend__k { font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.feature__meta .lic { display: inline-flex; }
.role-link { font-size: 15px; color: var(--ink-2); }
.role-link .link { display: inline-block; padding-block: 11px; margin-block: -11px; background-position: 0 calc(100% - 11px), 0 calc(100% - 11px); color: var(--ink); font-weight: 500; }

/* rows on seven columns beside a stage: the status and name with its line on the left, the price and the action on the right */
@media (min-width: 1024px) {
  .showcase--side { align-items: start; }
  .showcase--side > .items, .showcase--kits > .kitrows { grid-column: 1 / span 7; }
  .showcase--side > .showcase__art { grid-column: 8 / span 5; align-self: stretch; }
  .items--side .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "st pr" "mn pr" "mn ac"; gap: 6px 24px; padding: 18px 0; align-items: start; }
  .items--side .row__status { grid-area: st; }
  .items--side .row__main { grid-area: mn; }
  .items--side .row__price { grid-area: pr; text-align: right; justify-items: end; }
  .items--side .row__act { grid-area: ac; align-self: end; }
  .items--side .row__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .items--side .row { padding: 12px 0; }
  .items--side .row__price { display: block; }
  .items--side .row__price b { display: block; }
  .items--side .row__alt { display: none; }
}
@media (min-width: 1024px) {
  .page-v3 .feature { padding: 0; }
  .page-v3 main > .band .links-line { margin-top: 24px; }
  .page-v3 .roles--wide .role { padding: 16px 0; }
  .closing { min-height: 100svh; }
}

/* the kits on «Сайти й реклама»: the name, its line, the separate sum struck and the kit's price, the order button */
.kitrows { border-top: 1px solid var(--line-strong); }
.kitrow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease-enter), background-color .3s var(--ease); }
.kitrow::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--accent); transform: scaleY(0); transition: transform .3s var(--ease-enter); }
.kitrow__main { grid-column: 1 / -1; display: grid; gap: 4px; min-width: 0; }
.kitrow__name { justify-self: start; padding-block: 11px; margin-block: -11px; font: var(--display-weight) clamp(19px, 5vw, 22px)/1.2 var(--font-display); letter-spacing: -0.025em; transition: color .2s var(--ease); }
.kitrow__text { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.kitrow__price { display: grid; gap: 2px; }
.kitrow__price s { font: 400 12.5px/1.5 var(--font-mono); color: var(--muted); }
.kitrow__price b { font-size: 16px; font-weight: 500; color: var(--accent); white-space: nowrap; }
.kitrow .row__act { grid-column: 2; }
@media (min-width: 1024px) {
  .kitrow { grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; padding: 20px 0; }
  .kitrow__main { grid-column: 1; }
  .kitrow__price { grid-column: 2; text-align: right; justify-items: end; }
  .kitrow .row__act { grid-column: 3; }
}
@media (hover: hover) and (pointer: fine) {
  .kitrow:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(198, 244, 50, .06), rgba(198, 244, 50, 0) 60%); }
  .kitrow:hover::before { transform: scaleY(1); }
  .kitrow:hover .kitrow__name { color: var(--accent); }
}

/* a script and the AI role that runs the same job */
.pairs { border-top: 1px solid var(--line-strong); }
.pairs li { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 56px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.pairs .link { display: inline-block; justify-self: start; padding-block: 12px; margin-block: -6px; background-position: 0 calc(100% - 10px), 0 calc(100% - 10px); }
.pairs li > span { color: var(--accent); }
.pairs .m-arrow { width: 16px; height: 16px; }

/* ---------- the constructor: kits as one-tap presets, modules by group, the live sum and the bot link ----------
   Without script (html without .js) it is a plain list: every module with its own «Замовити», the kits below.
   On a laptop the three groups and the sum are one row of four columns; the groups share their rows' lines (subgrid). */
.builder { display: grid; gap: 20px; }
.builder__kits, .builder__sum, .mod__box, .mod__vars { display: none; }
.js .mod__order, .js .builder__nojs { display: none; }
.js .builder__kits { display: flex; flex-wrap: wrap; gap: 8px; }
.kit-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .02); color: var(--ink); font-size: 14px; line-height: 1.3; cursor: pointer; transition: border-color .18s var(--ease), background-color .18s var(--ease), transform .18s var(--ease); }
.kit-chip b { font-weight: 500; white-space: nowrap; }
.kit-chip span { font: 400 12.5px/1.3 var(--font-mono); color: var(--accent); }
.kit-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.kit-chip:active { transform: translateY(1px) scale(.98); }
@media (hover: hover) and (pointer: fine) { .kit-chip:hover { border-color: var(--accent); transform: translateY(-2px); } }
.builder__groups { display: grid; gap: 24px; min-width: 0; }
.mods { min-width: 0; }
.mods__h { padding: 0 0 8px; font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mods ul { border-top: 1px solid var(--line-strong); }
.mod { position: relative; display: grid; align-content: start; gap: 6px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.mod__pick { display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 2px 10px; align-items: start; }
.js .mod__pick { grid-template-columns: 20px minmax(0, 1fr) 76px; column-gap: 12px; min-height: 44px; cursor: pointer; }
.js .mod__box { display: block; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.mod__text { display: grid; gap: 2px; min-width: 0; }
.mod__name { font-size: 15.5px; font-weight: 500; line-height: 1.3; transition: color .2s var(--ease); }
.mod__line { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.mod__price { font: 400 13px/1.6 var(--font-mono); color: var(--ink); white-space: nowrap; text-align: right; }
.mod__price small { font-size: 12px; color: var(--muted); }
.mod:has(.mod__box:checked) .mod__name, .mod:has(.mod__box:checked) .mod__price { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .mod__pick:hover .mod__name { color: var(--accent); } }
.js .mod__vars { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 0 0 32px; border: 0; min-width: 0; }
.mod__var { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); font: 400 12.5px/1.2 var(--font-mono); color: var(--ink-2); cursor: pointer; transition: border-color .18s var(--ease), color .18s var(--ease); }
.mod__radio { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.mod__var:has(.mod__radio:checked) { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.mod__var:has(.mod__radio:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.mod__order { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(198, 244, 50, .45); color: var(--accent); font-size: 14.5px; font-weight: 500; }
.mod__order .m-arrow { width: 14px; height: 14px; }
.builder__nojs { font-size: 15px; color: var(--ink-2); }
/* the sum: what is chosen with each price, the kit it matched with the separate sum struck, one-time and monthly «від», the button */
.js .builder__sum { display: grid; align-content: start; gap: 14px; padding: 24px; border-radius: var(--r-lg); background: var(--lit); box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .22); }
.sum__k { display: flex; justify-content: space-between; gap: 12px; font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sum__list { display: grid; }
.sum__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.sum__list li > span:last-child { flex: none; font: 400 12.5px/1.4 var(--font-mono); color: var(--ink-2); }
.sum__kit { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.sum__kit:empty { display: none; }
.sum__kit s { color: var(--muted); }
.sum__price { display: grid; gap: 6px; }
.sum__row { display: grid; gap: 2px; }
.sum__row span { font: 400 11.5px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sum__row b { font: var(--display-weight) clamp(20px, 5.6vw, 24px)/1.2 var(--font-display); letter-spacing: -0.03em; color: var(--accent); }
.sum__btn { width: 100%; }
@media (min-width: 900px) {
  .builder__groups { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; }
  .mods { display: grid; grid-row: span 5; grid-template-rows: subgrid; }
  .mods ul { display: contents; }
  .mods ul > .mod:first-child { border-top: 1px solid var(--line-strong); }
  .mods__h { align-self: end; }
  .js .builder__sum { grid-column: 1 / -1; margin-top: 24px; }
}
@media (min-width: 1280px) {
  .builder__groups { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .js .builder__sum { grid-column: 4; grid-row: 1 / span 5; margin: 0; align-self: stretch; grid-template-rows: auto auto auto 1fr auto; }
  .sum__price { align-self: end; }
}
.links-line--col { flex-direction: column; align-items: flex-start; gap: 0; margin-top: var(--s-6); }
.links-line--col a { display: inline-block; min-height: 0; padding-block: 11px; }
.links-line--col .link { background-position: 0 calc(100% - 11px), 0 calc(100% - 11px); }

/* the new pages (sites, store, automations, how to order): each section one screen on a laptop, the hero's columns top-aligned
   on the page's one line of splits (the right column from the 8th of 12) */
@media (min-width: 1024px) {
  .hero--top .hero__copy { grid-column: 1 / span 6; align-self: start; }
  .hero--top .hero__art { grid-column: 8 / span 5; align-self: start; }
  .page-v3 main > .band:not(.statement) { min-height: 100svh; padding-block: 96px; }
  .page-v3 main > .band .head { margin-bottom: 36px; }
}

/* the new pages: a feature stands on its own (no rule above it, columns top-aligned); a side list is as tall as its stage;
   on a phone a row's line is never clamped (a clamped line would still sit under the price) */
.page-v3 .feature { border-top: 0; }
@media (min-width: 1024px) { .page-v3 .feature { align-items: start; } .showcase--side > .items { align-self: stretch; } }
@media (max-width: 899px) { .page-v3 .item .row__text { display: block; -webkit-line-clamp: none; line-clamp: none; overflow: visible; } }
/* the footer's links and legal row: a column on a phone; the closing call ends 72 px above the screen's foot on a laptop */
@media (max-width: 1023px) { .foot__legal { flex-direction: column; align-items: flex-start; } .foot__legal a { min-width: 44px; } }
@media (min-width: 1024px) {
  .closing { padding-top: 80px; padding-bottom: 72px; }
  .close h2 { font-size: clamp(32px, 3.9vw, 56px); }
  .foot > .close__word { font-size: clamp(34px, 5.4vw, 78px); }
  .foot { padding-top: 24px; }
}
/* «Як замовити»: the guarantees start on the same line as the payment ticks beside them */
.page-v3 #pay .facts__list li { padding-left: 30px; }
.page-v3 #pay .facts__list li::before { left: 4px; }
/* on a phone a side row's action goes under its price, on the left edge */
@media (max-width: 639px) { .items--side .row { grid-template-columns: minmax(0, 1fr); } .items--side .row__act { grid-column: 1; justify-self: start; } }

/* the new pages on a phone: the hero is the first screen alone (words and buttons; the picture waits for a wider screen),
   every other band is two whole screens (a statement one), so a screen never shows the next section's top */
@media (max-width: 639px) {
  .page-v3 .hero--top { min-height: 100svh; }
  .page-v3 .hero--top .hero__art { display: none; }
  .page-v3 main > .band:not(.statement) { min-height: 200lvh; padding-block: 48px; }
  .page-v3 main > .band .head { margin-bottom: 32px; }
  .page-v3 .items--side .row { padding: 10px 0; }
  .page-v3 .closing { min-height: 200lvh; }
  .page-v3 .showcase__art { min-height: 0; }
  .page-v3 .stage { padding: 16px; }
  .js .page-v3 .builder__kits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-v3 .kit-chip { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; border-radius: var(--r-md); padding: 8px 12px; }
  .page-v3 .sum__list { display: none; }
  .js .page-v3 .mod__pick { grid-template-columns: 20px minmax(0, 1fr) 64px; }
}
/* the heroes of the new pages: a headline of up to 45 letters stays within three lines */
.page-v3 .hero h1 { font-size: clamp(26px, 7.4vw, 30px); }
@media (min-width: 640px) { .page-v3 .hero h1 { font-size: 42px; } }
@media (min-width: 1024px) { .page-v3 .hero h1 { font-size: clamp(42px, 3.45vw, 50px); } }
/* gate round 2: the sum's count reads on the lit panel; preset names wrap in their half of a phone; an h2 stays below the h1 */
.sum__k span:last-child { color: var(--ink-2); }
@media (max-width: 639px) {
  .page-v3 .kit-chip b { white-space: normal; }
  .page-v3 h2 { font-size: clamp(21px, 6.4vw, 25px); }
}

/* the store's turnkey feature: its estimate on the page's line of splits (8th column), what we promise under the words;
   on a phone its h3 stays below the h2 */
.feature__promise { max-width: 52ch; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.feature__promise b { color: var(--ink); font-weight: 500; }
@media (min-width: 1024px) {
  .page-v3 .feature__text { grid-column: 1 / span 6; }
  .page-v3 .feature__art { grid-column: 8 / span 5; }
}
@media (max-width: 639px) { .page-v3 .feature h3 { font-size: 22px; } }
/* the chips line: the status first on a fixed width, the payment chips after it */
.lic .badge { min-width: 112px; margin: 0; }
/* the scripts still in the queue, as one paragraph of links under the custom-work buttons */
.queue-line { font-size: 14px; line-height: 1.9; color: var(--ink-2); }
@media (min-width: 1024px) { .showcase > .queue-line { grid-column: 1 / -1; margin-top: -16px; } }
.queue-line .link { color: var(--ink); }
@media (min-width: 640px) { .queue-line .link { white-space: nowrap; } }
/* on a phone the stages of the shorter bands stand taller, so the bands fill their two screens */
@media (max-width: 639px) {
  .page-v3 #turnkey .feature__art { min-height: 480px; }
  .page-v3 #new .showcase__art { min-height: 520px; }
  .page-v3 #script-or-role .showcase__art { min-height: 640px; }
}

/* fix round 1: the constructor's lead without script; the phone's running total; eyebrows wrap on a 320px phone */
html:not(.js) .js-only, .js .nojs-only { display: none; }
.builder__bar { display: none; }
/* the empty markers the script watches (the top of the modules, the top of the full sum): no size, no layout */
.builder__mark { display: inline-block; width: 0; height: 0; vertical-align: top; }
@media (max-width: 1023px) {
  /* a zero-height sticky line at the foot of the form: its panel sits just above the screen's foot while the modules
     scroll under it, never adds height to the section, and steps aside when the full sum is on screen */
  .js .builder__bar { display: block; position: sticky; bottom: 0; z-index: 6; height: 0; margin-top: -20px; pointer-events: none; }
  .bar__panel { position: absolute; left: 0; right: 64px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 8px 8px 16px; border-radius: var(--r-md); background: rgba(13, 15, 18, .97); box-shadow: inset 0 0 0 1px rgba(198, 244, 50, .4), 0 18px 40px -14px rgba(0, 0, 0, .95); pointer-events: auto; }
  .builder__bar:not(.is-on) .bar__panel { visibility: hidden; }

  .bar__sum { display: grid; gap: 1px; min-width: 0; margin-right: auto; }
  .bar__sum > span { font: 400 11px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
  .bar__sum b { font-size: 14.5px; font-weight: 500; line-height: 1.3; color: var(--accent); }
  .bar__sum small { font: 400 12px/1.3 var(--font-mono); color: var(--ink-2); }
  .bar__btn { flex: none; min-height: 44px; padding: 8px 18px; font-size: 15px; }
  /* a control reached with Tab never hides under the bar */
  html:has(.builder__bar.is-on) { scroll-padding-bottom: 120px; }
}
/* the chat button is a labelled pill from 640px: the bar keeps clear of it */
@media (min-width: 640px) and (max-width: 1023px) { .bar__panel { right: 196px; } }
.page-v3 .eyebrow { flex-wrap: wrap; row-gap: 4px; }

/* ---------- languages (v4, task 2): the switcher in the bar and in the phone menu, the one-line offer on the home page ---------- */
/* the bar: a compact menu from 1280px («UA ▾», the four languages each named in itself); under 1280px it lives in the phone menu */
.lang { display: none; position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-btn); font: 500 13px/1 var(--font-mono); letter-spacing: .06em; color: var(--ink-2); cursor: pointer; list-style: none; user-select: none; transition: color .2s var(--ease), border-color .2s var(--ease); }
.lang__btn::-webkit-details-marker { display: none; }
.lang__btn:hover, .lang[open] .lang__btn { color: var(--ink); border-color: var(--ink-2); }
.lang__chev { transition: transform .2s var(--ease); }
.lang[open] .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 21; min-width: 208px; padding: 6px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .9); }
.lang__opt { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); color: var(--ink-2); }
.lang__opt b { width: 22px; font: 500 12px/1 var(--font-mono); letter-spacing: .06em; color: var(--muted); }
.lang__opt span { font-size: 15px; }
.lang__opt:hover { background: rgba(242, 245, 238, .05); color: var(--ink); }
.lang__opt[aria-current="true"], .lang__opt[aria-current="true"] b { color: var(--accent); }
@media (min-width: 1280px) { .lang { display: block; } }
/* the phone menu: four codes in one row at its top, each a 44px target */
.sheet__langs { display: flex; gap: 8px; margin: 4px 0 16px; }
.sheet__lang { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-btn); font: 500 14px/1 var(--font-mono); letter-spacing: .06em; color: var(--ink-2); }
.sheet__lang[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
/* the offer: one line at the foot of the screen, clear of the chat button on its right; it lays over the page (no shift) */
.lang-hint { position: fixed; left: 16px; right: 88px; bottom: 16px; z-index: 18; display: flex; align-items: center; gap: 8px; max-width: 440px; min-height: 48px; padding: 4px 4px 4px 16px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9); }
.lang-hint p { flex: 1; font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.lang-hint .link { color: var(--accent); }
.lang-hint__x { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink-2); cursor: pointer; }
.lang-hint__x:hover { color: var(--ink); }
@media print { .lang, .lang-hint { display: none !important; } }
/* a phone as narrow as 320px: a long Russian, English or German word in a heading, a table cell or a window's title
   wraps instead of running past the screen (German headings also hyphenate); Ukrainian pages are unchanged */
@media (max-width: 639px) {
  :root:not(:lang(uk)) :is(h1, h2, h3, td, th, .report__head > b, .report__head > small, .sheet-mock__bar > b) { overflow-wrap: anywhere; }
  :root:lang(de) :is(h1, h2, h3) { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
}

/* ---------- Task 3: niche pages (/for/<slug>), guides (/guides), the consent line ---------- */
/* a niche's six client questions: two chat windows side by side, edge to edge on the container (stacked on a phone) */
.asks { display: grid; gap: 20px; align-items: start; }
@media (min-width: 1024px) { .asks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; } }
@media (max-width: 639px) { .asks .tg__body { gap: 6px; padding: 10px; } .asks .msg p { font-size: 13.5px; line-height: 1.4; } }
/* what it does and what it never does on the left, the hand-off card on the stage at the page's line of splits */
.job-text { display: grid; align-content: start; gap: 16px; }
@media (min-width: 1024px) { .page-seo .job-text .numbered li { padding: 8px 0; font-size: 16px; } .page-seo .job-text .facts__row { padding-block: 12px; } }
.job-stage { display: grid; place-items: center; padding: 24px; }
.job-stage .handoff { width: min(100%, 380px); }
@media (min-width: 1024px) { .showcase--job > .job-text { grid-column: 1 / span 6; } .showcase--job > .job-stage { grid-column: 8 / span 5; align-self: stretch; } }
/* Instagram's own glyph is drawn dark (icons/instagram.svg, data-ic="ink"): on the site's dark grounds it is shown light */
img.ic[src$="/instagram.svg"] { filter: invert(1) brightness(.95); }
/* the channels under the price: the real icons and one line */
.hero__channels { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.hero__channels .ic-row { flex: none; padding-top: 1px; }
@media (min-width: 1024px) { .page-seo .hero--niche .hero__copy { gap: 18px; } .page-seo .hero--niche .hero__lead { line-height: 1.5; } }
/* the connect band fills its screen: the report's stage as tall as the list beside it, at least */
@media (min-width: 1024px) { .page-seo #connect .showcase__art { min-height: 520px; } }
/* a phone: the first screen holds the words, the price, the channels and both buttons */
@media (max-width: 639px) { .page-seo .hero__proof { display: none; } .page-seo .hero--niche .hero__lead { font-size: 15px; line-height: 1.5; } .hero__channels { font-size: 13.5px; } .hero__channels .ic-row { display: none; } }
/* niche pages and guides: the headline (the page's search phrase, up to 60 letters) within three lines at every width,
   each section heading a step below it */
.page-seo .hero h1 { font-size: clamp(23px, 6.2vw, 30px); }
@media (min-width: 640px) { .page-seo .hero h1 { font-size: 36px; } }
@media (min-width: 1024px) {
  .page-seo .hero h1 { font-size: clamp(34px, 2.8vw, 40px); }
  .page-seo main :is(.head, .split-head__side) h2 { font-size: clamp(26px, 2.2vw, 32px); }
}
@media (max-width: 639px) { .page-seo main :is(.head, .split-head__side) h2 { font-size: 21px; } }
.connect__t { display: grid; gap: 2px; }
.connect__t small { font-size: 14px; line-height: 1.45; color: var(--muted); }
.guide-links { display: grid; gap: 0; margin-top: -6px; }
.guide-links .link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; background-position: 0 calc(100% - 10px), 0 calc(100% - 10px); }
/* the niches in one line under the goals on the home page; in the footer, a sentence under the brand's line */
.links-line__k { display: inline-flex; align-items: center; min-height: 44px; font: 400 11.5px/1.5 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.links-line--niches { gap: 0 24px; margin-top: var(--s-6); }
.foot__brand .foot__niches { font-size: 14px; line-height: 1.6; color: var(--muted); }
.foot__niches a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: color .2s var(--ease); }
.foot__niches a:hover { color: var(--accent); }
/* a guide: the head as a split (words, a product window on the stage), then the article on the reading column */
.hero--guide h1, .hero--niche h1 { max-width: 20em; }
.hero--niche .hero__lead { font-size: 16px; }
.guide-meta { font: 400 12.5px/1.6 var(--font-mono); letter-spacing: .02em; color: var(--muted); }
.prose-section--guide { padding-top: var(--s-8); }
.related-list { display: grid; align-content: start; gap: 24px; }
@media (min-width: 1024px) { .showcase--dept > .related-list { grid-column: 1 / span 7; } }
.prose--guide { counter-reset: none; }
.prose--guide h2 { counter-increment: none; }
.prose--guide h2::before { content: none; }
.prose--guide > p:first-child { font-size: 19px; line-height: 1.65; color: var(--ink); }
.prose code { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); font: 400 .88em/1.4 var(--font-mono); color: var(--ink); }
.prose hr { height: 1px; margin: 40px 0; border: 0; background: var(--line); }
.prose blockquote.example { margin: 28px 0; padding: 2px 0 2px 22px; border-left: 2px solid var(--accent); }
.prose blockquote.example > :last-child { margin-bottom: 0; }
.md-table { margin: 20px 0 24px; overflow-x: auto; border-top: 1px solid var(--line-strong); }
.md-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.md-table th, .md-table td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.md-table th { font: 400 11.5px/1.45 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.md-table td:first-child { color: var(--ink); font-weight: 500; }
/* the article on seven columns; beside it, from the page's line of splits, the role's window and the article's own call,
   held in view while the article scrolls (a phone: after the article) */
.guide-grid { display: grid; gap: 40px; }
.guide-grid > * { min-width: 0; }   /* a wide table scrolls inside its own box, never the page */
.guide-grid > .prose { max-width: 720px; margin: 0; }
@media (min-width: 1024px) { .guide-grid > .prose { max-width: none; } }
.guide-side { display: grid; align-content: start; gap: 24px; }
.guide-side .stage { display: grid; place-items: center; padding: 20px; }
@media (min-width: 1024px) {
  .guide-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .guide-grid > .prose { grid-column: 1 / span 7; }
  .guide-side { grid-column: 8 / span 5; position: sticky; top: calc(var(--nav) + 32px); }
}
.guide-cta { display: grid; justify-items: start; gap: 18px; }
.guide-cta p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.guide-cta p strong { color: var(--ink); }
.prose a.btn, .guide-cta a.btn { text-decoration: none; }
.prose a.btn--primary, .guide-cta a.btn--primary { color: var(--accent-ink); }
@media (max-width: 639px) { .page-seo .prose h2 { font-size: 20px; } }
/* the consent line (only when an analytics id is set): accept and decline side by side, the same size; clear of the chat button */
.consent { position: fixed; left: 16px; right: 88px; bottom: 16px; z-index: 18; display: grid; gap: 12px; max-width: 520px; padding: 16px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9); }
.consent p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.consent .link { color: var(--ink); }
.consent__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__btns button { flex: 1 1 120px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-btn); background: transparent; color: var(--ink); font: 500 15px/1 var(--font-text); cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease); }
.consent__btns button:hover { border-color: var(--accent); color: var(--accent); }
.foot__legal .consent-open { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink-2); font: inherit; cursor: pointer; }
.foot__legal .consent-open:hover { color: var(--accent); }
@media print { .consent { display: none !important; } }
/* a guide's last two bands on a laptop: the roles and services, and the other guides as short rows, one screen each */
@media (min-width: 1024px) {
  .page-seo main > .band:not(.statement) { padding-block: 80px; }
  .page-seo #more .index__row { padding: 16px 0; }
  .page-seo #more .index__title { font-size: clamp(19px, 1.5vw, 22px); }
  .page-seo .related-list { gap: 16px; }
}
