/* ARKHE — design tokens follow the brief (section 3). */
/* Syne: only the «Plan B» wordmark of the logo */
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/syne-latin-800.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/manrope-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/manrope-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/manrope-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --dark: #0A0D12;
  --graphite: #182330;
  --blue: #246BFF;
  --blue-hover: #1A57DB;
  --blue-light: #7FB3FF;
  --sand: #E8E1D8;
  --beige: #C9B8A6;
  --white: #FFFFFF;
  --ink: #0A0D12;
  --ink-soft: #3D4652;
  --line: rgba(10, 13, 18, .14);
  --line-dark: rgba(255, 255, 255, .14);
  --muted-dark: #A9B4C2;
  --error: #B42318;
  --error-dark: #FF9C8F;
  --header-h: 72px;
  --gutter: 24px;
  --section: 88px;
  --radius: 16px;
  --radius-btn: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --focus: var(--blue);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
@media (max-width: 767px) { :root { --gutter: 20px; --section: 48px; --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.5; color: var(--ink); background: var(--white); overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.02em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
main:focus { outline: none; }

/* dark surfaces get a light focus ring */
.header, .menu-panel, .hero, .phero, .section--graphite, .section--blue, .footer, .sim-page, .cookie-bar { --focus: var(--blue-light); }
.section--blue { --focus: var(--white); }

.skip { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.h1 { font-size: 56px; line-height: 60px; letter-spacing: -.035em; }
.h1 em { font-style: normal; color: var(--blue-light); background: linear-gradient(transparent 78%, rgba(36, 107, 255, .55) 78%, rgba(36, 107, 255, .55) 92%, transparent 92%); }
.h1--page { font-size: 52px; line-height: 58px; max-width: 18ch; }
.h2 { font-size: 36px; line-height: 42px; letter-spacing: -.03em; }
.h3 { font-size: 20px; line-height: 28px; letter-spacing: -.01em; }
@media (max-width: 767px) {
  .h1, .h1--page { font-size: 36px; line-height: 40px; }
  .h2 { font-size: 28px; line-height: 34px; }
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; }
.eyebrow--dark { color: var(--blue-light); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: var(--radius-btn); border: 2px solid transparent; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); text-align: center; }
.btn .i-arrow { width: 20px; height: 20px; flex: none; transition: transform .18s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: 14px 24px; }
.btn--sm { min-height: 44px; padding: 8px 14px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: rgba(10, 13, 18, .06); }
.btn--ghost-dark { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--ghost-dark:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--sand); }
.btn[disabled], .btn[aria-disabled='true'] { cursor: not-allowed; background: #D5DAE1; color: #4A5462; border-color: transparent; }
.btn[disabled] .i-arrow { transform: none; }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow .i-arrow { width: 18px; height: 18px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.pill--blue { background: rgba(127, 179, 255, .16); color: var(--blue-light); }
.pill--dashed { border: 1.5px dashed currentColor; color: var(--ink-soft); margin: 0 0 12px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(10, 13, 18, .92); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { font-weight: 800; font-size: 24px; letter-spacing: -.01em; text-decoration: none; color: inherit; padding: 6px 0; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; white-space: nowrap; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .82); transition: color .18s, background-color .18s; }
.nav a:hover, .nav a[aria-current] { color: var(--white); background: rgba(255, 255, 255, .08); }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 10px; border: 1px solid var(--line-dark); }
.lang__link { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 36px; padding: 0 8px; border-radius: 7px; font-size: 13px; font-weight: 700; text-decoration: none; color: rgba(255, 255, 255, .72); transition: background-color .18s, color .18s; }
.lang__link:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.lang__link[aria-current] { background: var(--white); color: var(--ink); }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-dark); background: transparent; color: var(--white); font-weight: 600; font-size: 15px; cursor: pointer; }
.menu-btn__bars, .menu-btn__bars::before { display: block; width: 16px; height: 2px; background: currentColor; position: relative; }
.menu-btn__bars::before { content: ''; position: absolute; top: 5px; width: 11px; }
.menu-btn__bars { top: -3px; }
@media (max-width: 1179px) {
  .nav, .header__login, .header__cta { display: none; }
  .header__inner { gap: 10px; }
  .header__tools { margin-left: auto; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 380px) { .header .lang__link { min-width: 34px; padding: 0 4px; } .menu-btn { padding: 0 10px; } .logo { letter-spacing: .12em; font-size: 20px; } }

.menu-panel { position: fixed; inset: 0; z-index: 70; background: var(--dark); color: var(--white); padding: 0 var(--gutter) 32px; overflow-y: auto; display: flex; flex-direction: column; }
.menu-panel[hidden] { display: none; }
.menu-panel__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); border-bottom: 1px solid var(--line-dark); }
.menu-close { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-dark); border-radius: 10px; background: none; color: var(--white); font-weight: 600; cursor: pointer; }
.menu-close span { font-size: 24px; line-height: 1; }
.menu-panel__nav { list-style: none; margin: 24px 0; padding: 0; counter-reset: m; }
.menu-panel__nav li { counter-increment: m; border-bottom: 1px solid var(--line-dark); }
.menu-panel__nav a { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.menu-panel__nav a::before { content: '0' counter(m); font-size: 13px; color: var(--blue-light); font-weight: 700; letter-spacing: .06em; }
.lang--panel { align-self: flex-start; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--dark); color: var(--white); overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%); }
.hero::after { content: ''; position: absolute; z-index: -1; width: 640px; height: 640px; right: -160px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(36, 107, 255, .32), rgba(36, 107, 255, 0) 65%); }
.hero__grid { display: grid; grid-template-columns: 55fr 45fr; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 112px; }
.hero__lead { font-size: 20px; line-height: 1.5; color: rgba(255, 255, 255, .82); max-width: 34ch; margin: 24px 0 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 899px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .hero__lead { font-size: 18px; margin: 16px 0 28px; }
  .hero__actions .btn { width: 100%; }
}

/* chat card — the main visual is a learning dialogue interface */
.chat-card { position: relative; background: var(--graphite); border: 1px solid var(--line-dark); border-radius: 20px; padding: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 8px rgba(255, 255, 255, .025); }
.chat-card__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.chat-card__meta { font-size: 13px; color: var(--muted-dark); }
.chat-card__thread { padding: 24px 0 8px; display: grid; gap: 14px; }
.msg { display: flex; gap: 10px; align-items: flex-end; }
.msg--out { justify-content: flex-end; }
.msg__who { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--beige); color: var(--ink); font-weight: 800; font-size: 15px; }
.msg__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 6px; }
.bubble { margin: 0; padding: 12px 16px; border-radius: 18px; font-size: 17px; line-height: 1.45; max-width: 100%; }
.bubble--in { background: var(--white); color: var(--ink); border-bottom-left-radius: 6px; font-weight: 600; }
.bubble--out { background: var(--blue); color: var(--white); border-bottom-right-radius: 6px; }
.bubble--typing { display: inline-flex; gap: 5px; padding: 14px 18px; }
.bubble--typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .8); }
.bubble--typing span:nth-child(2) { opacity: .6; }
.bubble--typing span:nth-child(3) { opacity: .35; }
.chat-card__ask { margin-top: 16px; padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px dashed rgba(127, 179, 255, .45); }
.chat-card__q { font-size: 24px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.chat-card__hint { color: var(--muted-dark); margin-bottom: 20px; }
/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding-top: 48px; }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section--graphite { background: var(--graphite); color: var(--white); }
.section--blue { background: var(--blue); color: var(--white); }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: 48px; }
.section__head .eyebrow { grid-column: 1 / -1; margin-bottom: -8px; }
.section__lead { margin: 0; color: var(--ink-soft); max-width: 46ch; justify-self: end; }
.section--graphite .section__lead { color: var(--muted-dark); }
.section__more { margin-top: 40px; }
@media (max-width: 767px) { .section__head { grid-template-columns: 1fr; margin-bottom: 32px; } .section__lead { justify-self: start; } }

.ticks, .crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li, .crosses li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.crosses li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink-soft); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' fill='none' stroke='%233D4652' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
/* method — a connected track */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.steps::before { content: ''; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%); }
.step { position: relative; }
.step__dot { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--graphite); border: 2px solid var(--blue-light); color: var(--white); font-weight: 800; margin-bottom: 24px; }
.step:last-child .step__dot { background: var(--blue); border-color: var(--blue); }
.step__key { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-light); margin-bottom: 6px; }
.step__title { font-size: 22px; line-height: 1.2; margin-bottom: 8px; }
.step p { color: var(--muted-dark); margin: 0; font-size: 16px; }
@media (max-width: 999px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue), var(--blue-light)); }
  .step { padding-left: 70px; }
  .step__dot { position: absolute; left: 0; top: 0; margin: 0; }
}

/* responsibility */
.resp { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.resp__text { font-size: 28px; line-height: 1.35; font-weight: 700; letter-spacing: -.02em; margin-bottom: 32px; }
.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.flow__item { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 700; font-size: 15px; }
.flow__item--key { background: var(--ink); color: var(--white); }
.flow__item + .flow__item::before { content: '→'; margin-left: -4px; margin-right: 4px; color: var(--ink-soft); display: none; }
.flow li:not(:last-child)::after { content: ''; display: inline-block; width: 0; }
@media (max-width: 899px) { .resp { grid-template-columns: 1fr; gap: 24px; } .resp__text { font-size: 22px; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
@media (max-width: 899px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } }
.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; font-size: 19px; font-weight: 700; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .18s, border-color .18s; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; transition: transform .18s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--blue); border-color: var(--blue); color: var(--white); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item summary:hover .faq__icon { border-color: var(--ink); }
.faq__item p { padding: 0 48px 20px 0; color: var(--ink-soft); }

/* final CTA */
.next { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; align-items: end; }
.next .h2 { font-size: 48px; line-height: 52px; }
.next__note { font-size: 18px; margin-bottom: 24px; max-width: 42ch; }
.next__big { font-size: 32px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; margin: 0; }
@media (max-width: 767px) { .next { grid-template-columns: 1fr; } .next .h2 { font-size: 32px; line-height: 38px; } .next__big { font-size: 24px; } .next .btn { width: 100%; } }

/* ---------- inner pages ---------- */
.phero { position: relative; background: var(--dark); color: var(--white); padding: 72px 0 80px; overflow: hidden; isolation: isolate; }
.phero::after { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -200px; bottom: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(36, 107, 255, .3), transparent 65%); }
.phero--compact { padding: 56px 0 48px; }
.phero--center { min-height: 60vh; display: flex; align-items: center; }
.phero__lead { font-size: 19px; color: rgba(255, 255, 255, .82); max-width: 62ch; margin: 20px 0 0; }
.phero .hero__actions { margin-top: 32px; }
@media (max-width: 767px) { .phero { padding: 40px 0 48px; } .phero__lead { font-size: 17px; } }

.product { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.pblock { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 16px 32px; }
.pblock:first-child { border-top: 2px solid var(--ink); }
.pblock__big { font-size: 22px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: p; }
.process li { display: flex; gap: 14px; align-items: baseline; }
.process span { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--sand); font-size: 14px; font-weight: 800; }
.product__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.pricecard { background: var(--dark); color: var(--white); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; --focus: var(--blue-light); }
.pricecard__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); margin: 0; }
.pricecard__price { margin: 0; font-size: 22px; font-weight: 700; }
.pricecard__price span { font-size: 64px; line-height: 1; font-weight: 800; letter-spacing: -.05em; }
.pricecard__pilot { margin: 0; color: var(--muted-dark); font-size: 14px; }
.pricecard__dl { margin: 4px 0; padding: 12px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.pricecard__dl dt { font-size: 13px; color: var(--muted-dark); }
.pricecard__dl dd { margin: 2px 0 0; font-weight: 600; }
.pricecard__status { margin: 0; padding: 12px 14px; border-radius: 10px; background: rgba(127, 179, 255, .12); border: 1px solid rgba(127, 179, 255, .35); font-size: 15px; }
.pricecard .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.pricecard .btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.pricecard__fine { margin: 0; font-size: 14px; color: var(--muted-dark); }
@media (max-width: 999px) {
  .product { grid-template-columns: 1fr; gap: 32px; }
  .product__aside { position: static; order: -1; }
  .pblock { grid-template-columns: 1fr; gap: 12px; }
}

.msteps { list-style: none; margin: 0; padding: 0; }
.mstep { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); align-items: baseline; }
.mstep:first-child { border-top: 2px solid var(--ink); }
.mstep__num { font-size: 72px; line-height: 1; font-weight: 800; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--blue); }
.mstep__title { font-size: 32px; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 6px; }
.mstep p { font-size: 19px; color: var(--ink-soft); margin: 0; }
.mstep .step__key { color: var(--blue); }
@media (max-width: 767px) { .mstep { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; } .mstep__num { font-size: 48px; } .mstep__title { font-size: 26px; } }
.disclaimer { margin-top: 32px; font-size: 15px; color: var(--ink-soft); }
.notice { padding: 16px 20px; border-radius: 12px; background: var(--sand); margin-bottom: 24px; }
.notice--warn { background: #FFF4D6; border: 1px solid #E8C770; }
.legal__ver { font-size: 14px; color: var(--ink-soft); }
.legal__sec { padding: 24px 0; border-top: 1px solid var(--line); }
.legal__sec h2 { margin-bottom: 8px; }
.big404 { font-size: clamp(96px, 22vw, 200px); line-height: .9; font-weight: 800; letter-spacing: -.06em; margin: 0 0 16px; color: transparent; -webkit-text-stroke: 2px var(--blue-light); }

/* ---------- contact form ---------- */
.contact { display: grid; grid-template-columns: 340px minmax(0, 640px); gap: 48px; justify-content: space-between; align-items: start; }
.contact__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.ctx { background: var(--white); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; }
.ctx[hidden] { display: none; }
.ctx p { margin: 0; }
.ctx__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.ctx__name { font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.ctx__price { font-size: 18px; font-weight: 700; }
.ctx__price span { font-size: 44px; font-weight: 800; letter-spacing: -.04em; }
.ctx__more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
.ctx__more .i-arrow { width: 18px; height: 18px; }
.ctx__fine { font-size: 14px; color: var(--ink-soft); margin: 0; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; gap: 24px; } .contact__aside { position: static; } }

.form { background: var(--white); border-radius: var(--radius); padding: 32px; display: grid; gap: 20px; }
@media (max-width: 767px) { .form { padding: 20px; } }
.form__summary { border: 2px solid var(--error); border-radius: 12px; padding: 16px 20px; background: #FDF0EE; }
.form__summary ul { margin: 8px 0 0; padding-left: 20px; }
.form__summary a { color: var(--error); font-weight: 600; }
.field { display: grid; gap: 8px; }
.field[hidden] { display: none; }
.field label { font-weight: 700; font-size: 16px; }
.req, .opt { font-weight: 500; font-size: 13px; color: var(--ink-soft); margin-left: 4px; }
.field input[type=text], .field input[type=email], .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #8A939E; border-radius: 10px; background: var(--white); font-size: 17px; transition: border-color .18s, box-shadow .18s; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%230A0D12' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center/18px no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(36, 107, 255, .3); }
.field select:disabled { background-color: var(--sand); color: var(--ink); opacity: 1; }
.field__hint { font-size: 14px; color: var(--ink-soft); margin: 0; }
.field__locked { margin: 0; font-size: 14px; color: var(--ink-soft); }
.field__error { margin: 0; color: var(--error); font-weight: 600; font-size: 15px; display: flex; gap: 6px; }
.field__error::before { content: '!'; flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--error); color: var(--white); font-size: 13px; font-weight: 800; }
.field__error[hidden] { display: none; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--error); border-width: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 500 !important; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); }
.check a { color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status:empty { display: none; }
.form__status { padding: 14px 16px; border-radius: 10px; background: var(--sand); font-weight: 600; }
.form__status.is-error { background: #FDF0EE; color: var(--error); border: 1.5px solid var(--error); }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) { .form__actions .btn { width: 100%; } }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: var(--white); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.thanks { text-align: left; }
.thanks__mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); font-size: 32px; font-weight: 800; margin: 0 0 24px; }
.thanks__mark[hidden] { display: none; }
.thanks__ref { margin-top: 16px; color: var(--muted-dark); font-size: 14px; }

/* ---------- simulator ---------- */
.sim-page { background: var(--dark); color: var(--white); padding: 56px 0 var(--section); min-height: 70vh; }
.sim-note { margin: 16px 0 32px; max-width: 70ch; color: var(--muted-dark); font-size: 15px; }
.sim__main { background: var(--graphite); border-radius: 20px; border: 1px solid var(--line-dark); padding: 28px; min-width: 0; }
@media (max-width: 767px) { .sim__main { padding: 20px; border-radius: 16px; } }
.sim__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.progress { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--muted-dark); }
.progress__bar { display: flex; gap: 4px; }
.progress__bar i { width: 40px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.progress__bar i.on { background: var(--blue-light); }
.sim__h { font-size: 26px; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 16px; }
.sim__h:focus { outline: none; }
.sim__h:focus-visible { outline: none; }
.sim__intro { font-size: 18px; color: rgba(255, 255, 255, .86); }
.sim__intro-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.sim__thread { display: grid; gap: 14px; margin-bottom: 24px; }
.sim__thread .bubble { max-width: 85%; }
.sim__thread .msg--out .bubble { max-width: 85%; }
.sim__thread .msg--out { align-items: flex-end; flex-direction: column; }
.sim__thread .msg--out .msg__label { text-align: right; }
.opts { border: 0; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; min-width: 0; }
.opts legend { font-size: 15px; font-weight: 700; color: var(--muted-dark); margin-bottom: 12px; padding: 0; }
.opt-card { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .03); cursor: pointer; transition: border-color .18s, background-color .18s; }
.opt-card:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }
.opt-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-card__letter { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; border: 1.5px solid rgba(255, 255, 255, .5); font-weight: 800; font-size: 15px; transition: background-color .18s, color .18s, border-color .18s; }
.opt-card__text { font-size: 17px; line-height: 1.45; padding-top: 3px; }
.opt-card:has(input:checked) { border-color: var(--blue-light); background: rgba(36, 107, 255, .16); }
.opt-card:has(input:checked) .opt-card__letter { background: var(--blue-light); border-color: var(--blue-light); color: var(--ink); }
.opt-card:has(input:focus-visible) { outline: 3px solid var(--blue-light); outline-offset: 3px; }
.opt-card.is-checked { border-color: var(--blue-light); background: rgba(36, 107, 255, .16); }
.opt-card.is-checked .opt-card__letter { background: var(--blue-light); border-color: var(--blue-light); color: var(--ink); }
.sim__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.sim__reason { font-size: 15px; color: var(--muted-dark); margin: 0; }
.fb { border-radius: 14px; padding: 20px; background: rgba(127, 179, 255, .1); border: 1px solid rgba(127, 179, 255, .3); margin-bottom: 20px; }
.fb h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-light); margin-bottom: 8px; }
.fb p { font-size: 18px; margin: 0; }
.fb__pts { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--muted-dark); }
.sim__notice { font-size: 14px; color: var(--muted-dark); margin: 0 0 16px; padding: 10px 14px; border: 1px dashed var(--line-dark); border-radius: 10px; }
.checklist { counter-reset: c; list-style: none; padding: 20px; margin: 0 0 24px; border-radius: 14px; background: var(--sand); color: var(--ink); display: grid; gap: 10px; }
.checklist li { counter-increment: c; display: flex; gap: 12px; font-weight: 600; }
.checklist li::before { content: counter(c); flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 800; }
.sim__h3 { font-size: 18px; margin: 0 0 12px; }
.sim__next { border-top: 1px solid var(--line-dark); padding-top: 24px; margin-top: 8px; }
.sim__next .sim__actions .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.sim__next .sim__actions .btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.sim .btn--ghost-dark { color: var(--white); }
.sim__prev { font-size: 14px; color: var(--muted-dark); margin-top: 16px; }
@media (max-width: 599px) { .sim__actions .btn { width: 100%; } }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .82); padding: 72px 0 0; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; }
.footer__brand p { max-width: 34ch; margin-top: 12px; font-size: 15px; }
.logo--footer { color: var(--white); }
.footer__title { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-light); margin-bottom: 14px; font-weight: 700; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer__list a, .footer__list .linklike { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; font-size: 15px; color: inherit; }
.footer__list a:hover, .footer__list .linklike:hover { color: var(--white); text-decoration: underline; }
.footer__contact { font-size: 15px; }
.footer__contact a { color: var(--blue-light); }
.footer__mark { font-size: clamp(80px, 21vw, 300px); line-height: .78; font-weight: 800; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(127, 179, 255, .35); margin-top: 56px; user-select: none; white-space: nowrap; text-align: center; transform: translateY(8%); }
@media (max-width: 899px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- cookies ---------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 760px; margin: 0 auto; padding: 16px 20px; border-radius: 14px; background: var(--graphite); color: var(--white); border: 1px solid var(--line-dark); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6); display: grid; gap: 12px; font-size: 15px; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; }
.cookie-bar a { color: var(--blue-light); }
.cookie-bar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 599px) { .cookie-bar__actions .btn { flex: 1 1 100%; } }
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(10, 13, 18, .6); }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--white); border-radius: var(--radius); padding: 28px; }
.modal__title { font-size: 24px; margin-bottom: 16px; padding-right: 40px; }
.modal__title:focus { outline: none; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: none; font-size: 24px; cursor: pointer; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (max-width: 599px) { .modal__actions .btn { width: 100%; } }
.cookie-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cookie-opts li { padding: 14px; border-radius: 10px; border: 1px solid var(--line); }
.switch { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.switch input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.switch small { color: var(--ink-soft); font-size: 14px; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; }
}
.sim__actions--top { margin-top: 24px; }
.sim__actions--bottom { margin-bottom: 20px; }

/* ======================================================================
   October 2026 rework: header tools, products, quiz, catalogue
   ====================================================================== */

/* header tools: language · log in · main CTA */
.header__tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav { margin-left: 8px; }
.nav + .header__tools { margin-left: auto; }
.header__login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .82); text-decoration: none; white-space: nowrap; }
.header__login:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.header__cta { white-space: nowrap; }
.menu-panel__actions { display: grid; gap: 10px; margin-bottom: 24px; }

/* mobile: pinned "find your solution" */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 12px; background: var(--blue); color: var(--white); font-weight: 700; text-decoration: none; box-shadow: 0 16px 40px -12px rgba(10, 13, 18, .55); --focus: var(--white); }
  .sticky-cta .i-arrow { width: 20px; height: 20px; }
  body { padding-bottom: 0; }
  body.menu-open .sticky-cta { display: none; }
}

.badge-soon { display: inline-flex; align-items: center; vertical-align: middle; padding: 3px 10px; border-radius: 999px; background: #FFE7A3; color: #3B2A00; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.h2 .badge-soon { margin-left: 8px; vertical-align: 6px; }

/* hero chat card — the mentor reviewing a reply */
.chat-card__label { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-light); }
.chat-card__tip { margin: 0 0 16px; color: rgba(255, 255, 255, .88); }
.chat-card__ask .bubble--out { border-bottom-right-radius: 18px; border-bottom-left-radius: 6px; }
.bubble--muted { background: rgba(255, 255, 255, .14); }

/* mentor actions + partner services */
.actions { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.actions--5 { grid-template-columns: repeat(5, 1fr); margin-bottom: 0; }
.action { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
.action__num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue); color: var(--white); font-weight: 800; margin-bottom: 16px; }
.action__title { font-size: 19px; line-height: 1.25; margin-bottom: 6px; }
.action p { color: var(--muted-dark); margin: 0; font-size: 16px; }
@media (max-width: 1099px) { .actions--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 899px) { .actions, .actions--5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 499px) { .actions, .actions--5 { grid-template-columns: 1fr; } }

.mentor-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 899px) { .mentor-row { grid-template-columns: 1fr; } }
.demo { margin: 0; display: grid; gap: 12px; grid-template-rows: auto 1fr; }
.demo__title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-light); }
.demo__video { width: 100%; border-radius: var(--radius); background: var(--dark); aspect-ratio: 16 / 9; }
.demo__soon { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: 32px; min-height: 260px; border-radius: var(--radius); border: 1.5px dashed rgba(127, 179, 255, .45); background: radial-gradient(circle at 85% 20%, rgba(36, 107, 255, .25), transparent 55%), var(--dark); }
.demo__soon p { margin: 0; max-width: 44ch; color: rgba(255, 255, 255, .86); }
.demo__play { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--blue-light); position: relative; }
.demo__play::after { content: ''; position: absolute; left: 22px; top: 17px; border-left: 16px solid var(--blue-light); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.section--graphite .link-arrow { color: var(--blue-light); }
.tariffs { padding: 24px; border-radius: var(--radius); background: var(--white); color: var(--ink); display: flex; flex-direction: column; gap: 12px; --focus: var(--blue); }
.tariffs__title { font-size: 20px; }
.tariffs__list { list-style: none; margin: 0; padding: 0; }
.tariffs__list li, .pricelist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tariffs__list strong, .pricelist strong { white-space: nowrap; font-weight: 800; }
.tariffs__trial { margin: 0; font-weight: 700; color: var(--blue); }
.tariffs__actions { display: grid; gap: 10px; margin-top: 4px; }
.tariffs .btn--ghost-dark { color: var(--ink); border-color: var(--ink); }
.tariffs .btn--ghost-dark:hover { background: rgba(10, 13, 18, .06); }
.tariffs .link-arrow, .tariffs__more { color: var(--ink); align-self: flex-start; }

/* try for free */
.trycards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.trycard { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; border-radius: var(--radius); background: var(--white); }
.trycard p { color: var(--ink-soft); margin: 0 0 8px; max-width: 46ch; }
.trycard .btn { margin-top: auto; }
.trycard--dark { background: var(--dark); color: var(--white); --focus: var(--blue-light); }
.trycard--dark p { color: var(--muted-dark); }
.trycard__title { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; }
@media (max-width: 767px) { .trycards { grid-template-columns: 1fr; } .trycard { padding: 24px; } .trycard .btn { width: 100%; } }

/* product cards */
.pcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcards--services { grid-template-columns: repeat(3, 1fr); }
.pcard { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--radius); background: var(--white); border: 1.5px solid var(--line); }
.section--white .pcard { background: #F7F5F2; border-color: transparent; }
.pcard__top { display: flex; align-items: center; justify-content: space-between; min-height: 24px; margin: 0; }
.pcard__num { font-size: 13px; font-weight: 700; color: var(--blue); }
.pcard__name { font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.pcard__benefit { color: var(--ink-soft); margin: 0; font-size: 16px; }
.pcard__meta { margin: auto 0 4px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 15px; }
.pcard__meta div { display: flex; justify-content: space-between; gap: 12px; }
.pcard__meta dt { color: var(--ink-soft); }
.pcard__meta dd { margin: 0; font-weight: 700; text-align: right; }
.pcard--soon { border-style: dashed; border-color: var(--ink-soft); }
.pcard .btn { min-height: 44px; }
@media (max-width: 1099px) { .pcards, .pcards--services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .pcards, .pcards--services { grid-template-columns: 1fr; } }
.paynote { margin: 24px 0 0; max-width: 90ch; font-size: 14px; color: var(--ink-soft); }
.section--graphite .paynote { color: var(--muted-dark); }

.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--4 .step:last-child .step__dot { background: var(--blue); border-color: var(--blue); }
@media (max-width: 999px) { .steps--4 { grid-template-columns: 1fr; } }

/* who we are */
.whoweare { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.who { padding: 24px; border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.who p { margin: 0; color: var(--ink-soft); }
.who--lead { background: var(--dark); color: var(--white); --focus: var(--blue-light); }
.who--lead p { color: rgba(255, 255, 255, .82); }
.who__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-light) !important; }
.who__name { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -.03em; }
.who__title { font-size: 21px; }
.who__strip { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--blue) !important; }
.who .link-arrow { margin-top: auto; color: var(--ink); }
@media (max-width: 899px) { .whoweare { grid-template-columns: 1fr; } }

/* request form on the home page */
.request { display: grid; grid-template-columns: 1fr minmax(0, 640px); gap: 48px; align-items: start; }
.request__lead { margin-top: 16px; color: var(--ink-soft); font-size: 18px; }
@media (max-width: 899px) { .request { grid-template-columns: 1fr; gap: 24px; } }
.field input[type=tel] { width: 100%; }

/* product page */
.pblock .h3 { padding-top: 2px; }
.pblock--faq .faq { border-top: 0; }
.pblock--faq .faq__item:first-child summary { padding-top: 0; }
.pblock__more { margin-top: 16px; }
.pricelist { list-style: none; margin: 0; padding: 0; }
.pricelist li:first-child { padding-top: 0; }
.pricelist li span:only-child, .pricelist li strong:only-child { font-size: 22px; }
.pricelist__note { margin: 12px 0 0; font-weight: 600; }
.pricecard__price { font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.pricecard__label .badge-soon { margin-left: 8px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--sand); font-size: 15px; font-weight: 600; }
.sim-page .chips li, .quiz .chips li { background: var(--white); }
.next__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section--blue .btn--ghost-dark { border-color: rgba(255, 255, 255, .8); }
@media (max-width: 767px) { .next__actions .btn { width: 100%; } }

/* agents catalogue: each agent is a pipeline — what it receives → the agent at work → the result; dots run along the wires */
.apipes { display: grid; gap: 18px; }
.apipe { position: relative; padding: 26px; border-radius: 22px; color: var(--white); --focus: var(--blue-light); scroll-margin-top: calc(var(--header-h) + 16px); background: radial-gradient(80% 140% at 100% 0%, rgba(91, 96, 255, .18), transparent 55%), linear-gradient(180deg, #161D28, #11161E); border: 1px solid rgba(255, 255, 255, .09); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
@media (hover: hover) { .apipe:hover { border-color: rgba(127, 179, 255, .45); transform: translateY(-3px); } }
.apipe__head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-bottom: 24px; }
.apipe__ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09); color: var(--blue-light); }
.apipe__ico svg { width: 24px; height: 24px; }
.apipe__name { font-size: 22px; line-height: 1.2; letter-spacing: -.02em; }
.apipe__does { margin: 2px 0 0; color: var(--muted-dark); font-size: 15px; }
.apipe__price { margin: 0; text-align: right; }
.apipe__price strong { display: block; font-size: 22px; letter-spacing: -.02em; }
.apipe__price small { font-size: 12.5px; color: var(--muted-dark); }
.apipe__flow { display: grid; grid-template-columns: 1fr 70px 1.15fr 70px 1fr; align-items: stretch; }
.apipe__node { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); }
.apipe__node b { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-light); }
.apipe__node p { margin: 0; font-size: 14.5px; line-height: 1.45; color: #E4E9F0; }
.apipe__node--core { background: linear-gradient(180deg, rgba(36, 107, 255, .16), rgba(36, 107, 255, .04)); border-color: rgba(127, 179, 255, .35); }
.apipe__core { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: var(--white); }
/* the pulse is a ring that grows and fades — transform and opacity only, no repaint */
.apipe__core::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(36, 107, 255, .7); animation: apipeRing 2.4s ease-out infinite; pointer-events: none; }
.apipe__core svg { width: 20px; height: 20px; }
.apipe__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.apipe__chips li { font-size: 12.5px; font-weight: 600; line-height: 1.2; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .09); color: #DCE3EC; }
.apipe__node--result { background: var(--white); border-color: var(--white); }
.apipe__node--result b { color: var(--blue); }
.apipe__node--result p { color: var(--ink); font-weight: 700; }
.apipe__wire { position: relative; align-self: center; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, rgba(127, 179, 255, .45) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: apipeFlow 1s linear infinite; }
.apipe__wire::after { content: ''; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 7px solid var(--blue-light); border-right: 0; }
/* the light dot rides a track as long as the wire; moving the track with transform needs no repaint */
.apipe__wire i { position: absolute; top: -4px; left: 0; right: 0; height: 10px; animation: apipeTravel 2.4s var(--ease) infinite; will-change: transform, opacity; }
.apipe__wire i::before { content: ''; position: absolute; left: -5px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--white); box-shadow: 0 0 12px 2px rgba(127, 179, 255, .9); }
.apipe__wire + .apipe__node + .apipe__wire i { animation-delay: 1.2s; }
.apipe__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.apipe__human { margin: 0; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-size: 14px; color: #FFC98A; }
.apipe__human b { flex: none; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: rgba(255, 201, 138, .12); border: 1px solid rgba(255, 201, 138, .35); }
.apipe__foot .btn { flex: none; }
.apipe--custom { background: linear-gradient(160deg, #2E78FF, #1747C2); border-color: transparent; }
.apipe--custom .apipe__does, .apipe--custom .apipe__price small { color: rgba(255, 255, 255, .82); }
.apipe--custom .btn--primary { background: var(--white); color: var(--blue); }
.apipe--custom .btn--primary:hover { background: #E8EEFF; }
/* the catalogue stacks while scrolling (app.js adds .is-stacked only where a whole card fits under the header): each card sticks, the next slides over it, the previous sinks back */
.apipes.is-stacked { gap: 28px; }
.apipes.is-stacked .apipe { position: sticky; top: var(--st-top, calc(var(--header-h) + 20px)); transform-origin: 50% 0; transform: scale(var(--st-s, 1)); will-change: transform; transition: border-color .3s; box-shadow: 0 -20px 50px -20px rgba(10, 13, 18, .55); }
/* a sinking card darkens under a layer whose opacity changes — no filter, so nothing is repainted while scrolling
   (a scroll-driven filter made Android tablets drop tiles: white rectangles over the cards) */
.apipes.is-stacked .apipe::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: #070A0F; opacity: var(--st-dim, 0); pointer-events: none; }
/* fully covered cards pause their inner animations */
.apipe.is-under .apipe__core::after, .apipe.is-under .apipe__wire, .apipe.is-under .apipe__wire i,
.apipe.is-off .apipe__core::after, .apipe.is-off .apipe__wire, .apipe.is-off .apipe__wire i { animation-play-state: paused; }
@media (hover: hover) { .apipes.is-stacked .apipe:hover { transform: scale(var(--st-s, 1)); } }
.apipes.is-stacked.is-measuring .apipe { position: relative; top: 0; transform: none; }
/* cards below the fold rise in as they arrive */
.apipe.is-pending { opacity: 0; transform: translateY(60px); }
.apipe.is-rising { animation: apipeRise .7s var(--ease) both; }
@keyframes apipeRise { from { opacity: 0; transform: translateY(60px) scale(.97); } to { opacity: 1; transform: scale(var(--st-s, 1)); } }
@keyframes apipeRing { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes apipeFlow { to { background-position: 24px 0; } }
@keyframes apipeTravel { 0% { transform: translateX(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
@keyframes apipeFlowY { to { background-position: 0 24px; } }
@keyframes apipeTravelY { 0% { transform: translateY(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
@media (max-width: 999px) {
  .apipe__flow { grid-template-columns: 1fr; }
  /* the wire turns vertical but keeps flowing, and the light dot travels down it */
  .apipe__wire { width: 2px; height: 34px; margin: 6px auto; background: repeating-linear-gradient(180deg, rgba(127, 179, 255, .45) 0 6px, transparent 6px 12px); background-size: 2px 24px; animation: apipeFlowY 1s linear infinite; }
  .apipe__wire::after { right: auto; left: -4px; top: auto; bottom: -6px; border: 5px solid transparent; border-top: 7px solid var(--blue-light); border-bottom: 0; }
  .apipe__wire i { left: -4px; right: auto; top: 0; bottom: 0; width: 10px; height: auto; animation-name: apipeTravelY; }
  .apipe__wire i::before { left: 0; top: -5px; }
}
@media (max-width: 699px) {
  .apipe { padding: 18px; border-radius: 18px; }
  .apipe__head { grid-template-columns: auto 1fr; gap: 12px 14px; margin-bottom: 18px; }
  .apipe__ico { width: 44px; height: 44px; border-radius: 13px; }
  .apipe__name { font-size: 19px; }
  .apipe__price { grid-column: 1 / -1; text-align: left; }
  .apipe__foot { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { .apipe, .apipe__core::after, .apipe__wire, .apipe__wire i { animation: none; transition: none; } .apipe__wire i { display: none; } .apipe.is-pending { opacity: 1; transform: none; } }

/* «Details»: the agent's full sheet in a modal, same dark style as the cards */
.apipe__btns { display: flex; gap: 10px; flex: none; }
.apipe__more { border-color: rgba(255, 255, 255, .35); }
html.is-modal { overflow: hidden; }
.adlg { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; color: var(--white); background: radial-gradient(80% 60% at 100% 0%, rgba(91, 96, 255, .2), transparent 60%), linear-gradient(180deg, #161D28, #11161E); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .7); overscroll-behavior: contain; }
.adlg::backdrop { background: rgba(7, 10, 15, .72); }
.adlg[open] { animation: adlgIn .32s var(--ease); }
.adlg[open]::backdrop { animation: adlgFade .32s ease; }
@keyframes adlgIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes adlgFade { from { opacity: 0; } }
.adlg__in { position: relative; display: grid; gap: 18px; padding: 28px; }
.adlg__x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: var(--white); cursor: pointer; }
.adlg__x:hover { background: rgba(255, 255, 255, .12); }
.adlg__x svg { width: 18px; height: 18px; }
.adlg__head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding-right: 48px; }
.adlg__badge { display: inline-block; margin: 0 0 8px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #0B3B1E; background: #7CE3A4; }
.adlg__name { font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.adlg__does { margin: 6px 0 0; color: var(--muted-dark); font-size: 16px; line-height: 1.45; }
.adlg__for { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-size: 15.5px; color: #E4E9F0; }
.adlg__for b, .adlg__kicker, .adlg__row dt { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-light); }
.adlg__grid { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.adlg__row { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); }
.adlg__row dd { margin: 0; font-size: 15px; line-height: 1.45; color: #E4E9F0; }
.adlg__row--result { background: var(--white); border-color: var(--white); }
.adlg__row--result dt { color: var(--blue); }
.adlg__row--result dd { color: var(--ink); font-weight: 700; }
.adlg__row--benefit { background: linear-gradient(180deg, rgba(36, 107, 255, .18), rgba(36, 107, 255, .05)); border-color: rgba(127, 179, 255, .35); }
.adlg__note { display: block; margin-bottom: 4px; font-size: 12.5px; color: var(--muted-dark); }
.adlg__dept { padding: 18px; border-radius: 16px; border: 1px dashed rgba(127, 179, 255, .4); display: grid; gap: 6px; }
.adlg__kicker { margin: 0; }
.adlg__deptname { font-size: 19px; letter-spacing: -.01em; }
.adlg__deptdoes { margin: 0 0 8px; color: var(--muted-dark); font-size: 14.5px; }
.adlg__mates { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.adlg__mates a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--white); text-decoration: none; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: background-color .18s var(--ease), border-color .18s var(--ease); }
.adlg__mates a:hover { background: rgba(36, 107, 255, .25); border-color: var(--blue-light); }
.adlg__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 4px; }
.adlg__foot .apipe__price { text-align: left; }
@media (max-width: 699px) {
  .apipe__btns { flex-direction: column-reverse; }
  .adlg { width: 100%; max-width: none; max-height: calc(100dvh - 24px); margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .adlg__in { padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); gap: 14px; }
  .adlg__head .apipe__ico { width: 44px; height: 44px; }
  .adlg__name { font-size: 21px; }
  .adlg__grid { grid-template-columns: 1fr; }
  .adlg__foot { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { .adlg[open], .adlg[open]::backdrop { animation: none; } }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.split__text { font-size: 20px; line-height: 1.5; margin-top: 16px; }
.split > .split__text { margin-top: 0; }
.section--graphite .split__text { color: rgba(255, 255, 255, .86); }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; gap: 20px; } .split__text { font-size: 18px; } }
.process--big li { font-size: 19px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); }
.process--big span { background: var(--white); }
.process--dark span { background: rgba(255, 255, 255, .12); color: var(--white); }
.thanks__next { margin: 32px 0 8px; display: grid; gap: 14px; }
.ctx__term { font-size: 15px; color: var(--ink-soft); }
.ctx--direct .contacts { color: var(--ink); }

/* contacts list (footer + contact page) */
.contacts { margin: 0; display: grid; gap: 10px; font-size: 15px; }
.contacts dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.contacts dd { margin: 2px 0 0; }
.contacts a { color: inherit; }
.footer .contacts a { color: var(--blue-light); }
.contacts__msg { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.footer__partner { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.footer__partner a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--white); text-decoration: none; }
.footer__partner a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__partner .i-arrow { width: 18px; height: 18px; }

/* try page sections */
.try-sec { scroll-margin-top: var(--header-h); }
.narrow-wide { max-width: calc(880px + var(--gutter) * 2); }
.try-sec__lead { color: var(--ink-soft); margin: 12px 0 28px; font-size: 18px; }
.sim-page .h2 { margin-bottom: 4px; }

/* quiz */
.quiz { background: var(--white); border-radius: 20px; padding: 28px; }
@media (max-width: 767px) { .quiz { padding: 20px; border-radius: 16px; } }
.quiz__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.quiz__step { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.quiz__bar { display: flex; gap: 4px; }
.quiz__bar i { width: 40px; height: 6px; border-radius: 3px; background: var(--sand); }
.quiz__bar i.on { background: var(--blue); }
.quiz__q { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz__h { display: block; font-size: 26px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; margin: 0 0 20px; padding: 0; }
.quiz__h:focus { outline: none; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 599px) { .quiz__opts { grid-template-columns: 1fr; } }
.quiz__opt { min-height: 60px; padding: 14px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #F7F5F2; text-align: left; font-size: 17px; font-weight: 600; line-height: 1.35; cursor: pointer; transition: border-color .18s, background-color .18s; }
.quiz__opt:hover { border-color: var(--ink); background: var(--white); }
.quiz__opt.is-on { border-color: var(--blue); background: rgba(36, 107, 255, .08); }
.quiz__back { margin-top: 20px; min-height: 44px; font-weight: 600; color: var(--ink-soft); }
.quiz__note { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; background: var(--sand); font-weight: 600; }
.quiz__agents { margin-top: 16px; display: grid; gap: 10px; justify-items: start; }
.quiz__agents .chips li { background: var(--sand); }

.sim__next .btn--ghost-dark { color: var(--white); }
@media (max-width: 1179px) { .header__login, .header__cta { display: none; } }
@media (max-width: 380px) { .header__tools { margin-left: auto; } .header .lang__link { min-width: 32px; } }

/* technical direction cards (legacy) */
.rcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rcard { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--white); }
.rcards { grid-auto-flow: row dense; }
.rcard--wide { grid-column: span 2; grid-row: span 2; }
.rcard--wide .rcard__list { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
.rcard__title { font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.rcard__lede { margin: 0; color: var(--ink-soft); }
.rcard__list { font-size: 15px; width: 100%; }
.rcard__list li:last-child { font-weight: 700; }
.rcard__price { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); width: 100%; font-weight: 700; }
.section__lead a { color: inherit; font-weight: 700; }
@media (max-width: 999px) { .rcards { grid-template-columns: 1fr 1fr; } .rcard--wide { grid-row: auto; } }
@media (max-width: 699px) { .rcards { grid-template-columns: 1fr; }   .rcard--wide { grid-column: auto; } .rcard--wide .rcard__list { grid-template-columns: 1fr; } .rcard .btn { width: 100%; } }
/* a lone last card in the 3-column services grid spans the row, laid out horizontally */
@media (min-width: 1100px) {
  .pcards--services > .pcard:last-child:nth-child(3n + 1) { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr 220px; grid-template-rows: auto auto 1fr; column-gap: 32px; align-items: start; }
  .pcards--services > .pcard:last-child:nth-child(3n + 1) .pcard__top,
  .pcards--services > .pcard:last-child:nth-child(3n + 1) .pcard__name,
  .pcards--services > .pcard:last-child:nth-child(3n + 1) .pcard__benefit { grid-column: 1; }
  .pcards--services > .pcard:last-child:nth-child(3n + 1) .pcard__meta { grid-column: 2; grid-row: 1 / span 3; margin: 0; align-self: center; }
  .pcards--services > .pcard:last-child:nth-child(3n + 1) .btn { grid-column: 3; grid-row: 1 / span 3; align-self: center; }
}
/* sections that moved onto white */
.section--white .steps p { color: var(--ink-soft); }
.section--white .step__dot { color: var(--white); }
.section--white .who:not(.who--lead) { background: #F7F5F2; }
.section--white .form { border: 1.5px solid var(--line); }
.section--sand .faq { border-top-color: var(--ink); }

/* ======================================================================
   Design A — the home story: a sticky phone stage driven by scroll
   ====================================================================== */
.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { background: #222A36; }
.story { position: relative; background: var(--dark); color: var(--white); isolation: isolate; --focus: var(--blue-light); }
.story::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60vw 60vw at var(--gx, 62%) 40%, rgba(36, 107, 255, .2), transparent 60%); pointer-events: none; }
.scene__h1 { font-size: clamp(40px, 5.4vw, 80px); line-height: .98; letter-spacing: -.04em; margin: 0 0 22px; text-wrap: balance; }
.scene__h1 em, .scene__h2 em { font-style: normal; color: var(--blue-light); }
.scene__h2 { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.03; letter-spacing: -.035em; margin: 0 0 14px; text-wrap: balance; }
.scene__copy > p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--muted-dark); max-width: 36ch; margin: 0 0 26px; }
.scene__hint { display: inline-flex; align-items: center; gap: 10px; margin: 32px 0 0 !important; font-size: 14px !important; font-weight: 600; }
.scene__hint i { width: 22px; height: 34px; border: 1.5px solid currentColor; border-radius: 12px; position: relative; flex: none; }
.scene__hint i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* chat bubbles (shared by both modes) */
.scene__chat, .phone__thread { display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; }
.m { max-width: 84%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
.m time { display: block; font-size: 11px; opacity: .6; margin-top: 3px; }
.m--in { align-self: flex-start; background: var(--white); color: var(--ink); border-bottom-left-radius: 5px; font-weight: 600; }
.m--out { align-self: flex-end; background: #2A3443; border-bottom-right-radius: 5px; }
.m--bot { align-self: flex-end; background: var(--blue); border-bottom-right-radius: 5px; }
.m--sys { align-self: center; color: var(--muted-dark); font-size: 12px; font-weight: 600; padding: 2px 8px; }
.m--tip { align-self: stretch; max-width: none; background: rgba(127, 179, 255, .12); border: 1px solid rgba(127, 179, 255, .35); color: #DCE8FF; border-radius: 14px; }
.m--tip b { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-light); margin-bottom: 4px; }

/* service card that answers a scene */
.svc { padding: 24px; border-radius: 24px; background: var(--sand); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); --focus: var(--blue); }
.svc__label { font-size: 13px; font-weight: 700; color: #5B4A37; margin: 0 0 8px; }
.svc__name { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 10px; }
.svc__text { margin: 0 0 16px; color: #3B3A38; line-height: 1.45; }
.svc__price { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding-top: 14px; border-top: 1px solid rgba(10, 13, 18, .15); font-weight: 800; }
.svc__price span:last-child { color: #5B4A37; font-weight: 600; text-align: right; }
.svc__actions { margin-top: 16px; }

/* --- readable fallback (no JS / reduced motion): scenes stacked --- */
.story__scenes { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); display: grid; gap: 56px; }
.scene { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: center; }
.scene + .scene { padding-top: 56px; border-top: 1px solid var(--line-dark); }
.scene--hero { grid-template-columns: 1.3fr 1fr; }
.scene__chat { padding: 18px; border-radius: 24px; background: #0F141C; border: 1px solid var(--line-dark); }
@media (max-width: 899px) { .scene, .scene--hero { grid-template-columns: 1fr; gap: 20px; } }

/* --- live stage --- */
.story--live { height: calc(var(--story-len, 9.9) * 100svh); }
/* the stage starts under the sticky header from the very first frame, so nothing shifts once scrolling begins */
.story--live { margin-top: calc(-1 * var(--header-h)); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, .8fr); align-items: center; gap: clamp(24px, 4vw, 64px); max-width: calc(1320px + var(--gutter) * 2); margin: 0 auto; padding: calc(var(--header-h) + 16px) var(--gutter) 32px; overflow: hidden; }
.stage__copy { position: relative; min-height: 380px; }
.stage__copy .scene__copy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); visibility: hidden; pointer-events: none; transition: visibility 0s .4s; }
.stage__copy .scene__copy.is-on, .stage__copy .scene__copy.is-out { visibility: visible; transition-delay: 0s; }
.stage__copy .scene__copy.is-on { pointer-events: auto; }
/* crossfade: leaving copy drifts up and blurs (300ms), the new one rises from below (450ms), title → text → buttons */
.stage__copy .scene__copy > * { opacity: 0; transform: translate3d(0, 16px, 0); filter: blur(4px); }
.stage__copy .scene__copy.is-out > * { opacity: 0; transform: translate3d(0, -16px, 0); filter: blur(4px); transition: opacity .3s ease, transform .3s ease, filter .3s ease; }
.stage__copy .scene__copy.is-on > * { opacity: 1; transform: none; filter: none; transition: opacity .45s cubic-bezier(.22, 1, .36, 1), transform .45s cubic-bezier(.22, 1, .36, 1), filter .45s cubic-bezier(.22, 1, .36, 1); transition-delay: .12s; }
.stage__copy .scene__copy.is-on > :nth-child(2) { transition-delay: .22s; }
.stage__copy .scene__copy.is-on > :nth-child(n+3) { transition-delay: .3s; }
/* iPhone 17 Pro: aluminium frame, thin even bezel, Dynamic Island, status bar, side buttons. Stands straight. */
.phone { position: relative; height: min(calc(100svh - var(--header-h) - 170px), 600px); aspect-ratio: 71.5 / 149.6; border-radius: 16.5% / 7.9%; padding: 1.3%; justify-self: center; container-type: size;
  background: linear-gradient(135deg, #8C939E 0%, #3A4049 18%, #1C2027 45%, #2E343D 70%, #9AA1AB 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 0 2px 2px rgba(0, 0, 0, .5); transform-style: preserve-3d; }
/* side buttons: action + volume on the left, side button + camera control on the right */
.phone__btns { position: absolute; inset: 0; pointer-events: none; }
.phone__btns i { position: absolute; width: 1.6%; border-radius: 3px; background: linear-gradient(90deg, #4A515C, #1E2329); }
.phone__btns i:nth-child(1) { left: -1.6%; top: 25%; height: 7.5%; border-radius: 3px 0 0 3px; }
.phone__btns i:nth-child(2) { left: -1.6%; top: 34%; height: 7.5%; border-radius: 3px 0 0 3px; }
.phone__btns i:nth-child(3) { right: -1.6%; top: 28%; height: 11%; border-radius: 0 3px 3px 0; background: linear-gradient(270deg, #4A515C, #1E2329); }
.phone__btns i:nth-child(4) { right: -1.2%; top: 58%; height: 6%; width: 1.2%; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #3A404A, #15181D); }
.phone__screen { position: relative; height: 100%; border-radius: 15.2% / 7.2%; overflow: hidden; background: #0B0F15; display: flex; flex-direction: column; border: solid #000; border-width: max(5px, 2.5cqw); container-type: inline-size; }
.phone__frame { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.phone__status { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; height: 13cqw; padding: 3cqw 7cqw 0 9cqw; font: 600 4.2cqw/1 -apple-system, 'SF Pro Text', system-ui, sans-serif; color: #fff; letter-spacing: -.01em; }
.phone__status svg { height: 3.4cqw; width: auto; fill: currentColor; }
.phone__icons { display: flex; align-items: center; gap: 1.6cqw; }
.phone__island { position: absolute; left: 50%; top: 3cqw; transform: translateX(-50%); width: 31cqw; height: 9.2cqw; border-radius: 6cqw; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.phone__island::after { content: ''; position: absolute; right: 3.4cqw; top: 50%; width: 3cqw; height: 3cqw; margin-top: -1.5cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2B3A5C, #05070B 70%); }
.phone__home { flex: none; height: 7cqw; display: grid; place-items: center; }
.phone__home::after { content: ''; width: 35cqw; height: 1.3cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .78); }
.phone__bar { display: flex; align-items: center; gap: 10px; padding: 8px 16px 12px; border-bottom: 1px solid var(--line-dark); }
.phone__bar b { display: block; font-size: 14px; } .phone__bar small { font-size: 12px; color: var(--muted-dark); }
.phone__av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--ink); font-weight: 800; font-size: 14px; flex: none; }
.story.is-hero .phone__av { background: var(--blue); color: var(--white); }
.phone__threads { position: relative; flex: 1; }
.phone__thread { position: absolute; inset: 0; padding: 16px 14px; opacity: 0; transition: opacity .5s var(--ease); }
.phone__thread.is-on { opacity: 1; }
.phone__thread { display: block; }
.phone__stack { position: relative; display: flex; flex-direction: column; gap: 2.4cqw; transform: translate3d(0, 100%, 0); transition: transform .45s cubic-bezier(.22, 1, .36, 1); will-change: transform; }
.phone__stack > .m { opacity: 0; transform: translate3d(0, 10px, 0) scale(.96); transform-origin: bottom left; transition: opacity .35s cubic-bezier(.22, 1, .36, 1), transform .4s cubic-bezier(.22, 1, .36, 1); }
.phone__stack > .m--out, .phone__stack > .m--bot { transform-origin: bottom right; }
.phone__stack > .m.is-on { opacity: 1; transform: none; }
.stage__answer { position: relative; min-height: 320px; }
.stage__answer .svc { position: absolute; left: 0; right: 0; top: 50%; margin-top: 0; transform: translate3d(0, calc(-50% + 16px), 0); opacity: 0; filter: blur(4px); visibility: hidden; transition: opacity .3s ease, transform .3s ease, filter .3s ease, visibility 0s .3s; }
.stage__answer .svc.is-out { visibility: visible; opacity: 0; transform: translate3d(0, calc(-50% - 16px), 0); filter: blur(4px); transition-delay: 0s; }
.stage__answer .svc.is-on { visibility: visible; opacity: 1; transform: translate3d(0, -50%, 0); filter: none; transition: opacity .45s cubic-bezier(.22, 1, .36, 1) .1s, transform .45s cubic-bezier(.22, 1, .36, 1) .1s, filter .45s cubic-bezier(.22, 1, .36, 1) .1s, visibility 0s; }
.svc--empty { display: none; }
.stage__rail { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; }
.stage__rail i { display: block; width: 4px; height: 26px; border-radius: 2px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.stage__rail b { display: block; height: 100%; background: var(--blue-light); transform-origin: top; transform: scaleY(0); }
@media (max-width: 999px) {
  .stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 14px; padding-bottom: 84px; }
  .stage__copy { min-height: 200px; }
  .story.is-hero .stage__copy { min-height: 372px; }
  .stage__copy .scene__copy { top: 0; transform: none; }

  .scene__h1 { font-size: clamp(34px, 9.6vw, 46px); margin-bottom: 12px; }
  .scene__h2 { font-size: clamp(26px, 7.4vw, 34px); margin-bottom: 8px; }
  .scene__copy > p { font-size: 16px; margin-bottom: 16px; }
  .scene__hint { display: none; }
  .phone { height: calc(100svh - var(--header-h) - 300px); align-self: start; }
  .story.is-hero .phone { height: calc(100svh - var(--header-h) - 470px); }

  .stage__answer { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 84px; min-height: 0; }
  .stage__answer .svc { top: auto; bottom: 0; padding: 18px; transform: translate3d(0, 16px, 0); }
  .stage__answer .svc.is-out { transform: translate3d(0, -16px, 0); }
  .stage__answer .svc.is-on { transform: none; }
  .stage__answer .svc__text { display: none; }
  .stage__answer .svc__actions { margin-top: 12px; }
  .stage__rail { display: none; }
}

/* service rows (home + services page) */
.srows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.srow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 190px 24px; gap: 24px; align-items: baseline; padding: 22px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color .25s var(--ease); }
.srow:hover { background: var(--white); }
.section--white .srow:hover { background: #F7F5F2; }
.srow__name { font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -.02em; transition: transform .4s var(--ease); }
.srow:hover .srow__name { transform: translateX(8px); }
.srow__text { color: var(--ink-soft); }
.srow__price { font-weight: 800; text-align: right; white-space: nowrap; }
.srow__price small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 14px; margin-top: 2px; }
.srow .i-arrow { width: 20px; height: 20px; align-self: center; transition: transform .3s var(--ease); }
.srow:hover .i-arrow { transform: translateX(4px); }
@media (max-width: 767px) {
  .srow { grid-template-columns: 1fr auto; gap: 6px 14px; padding: 18px 4px; }
  .srow__text { grid-column: 1 / -1; grid-row: 2; font-size: 15px; }
  .srow .i-arrow { display: none; }
}
/* chat inside the iPhone scales with the screen width */
.phone__threads { overflow: hidden; }
.phone__bar { padding: 2cqw 4.5cqw 3.4cqw; gap: 3cqw; }
.phone__av { width: 10cqw; height: 10cqw; font-size: 4cqw; }
.phone__bar b { font-size: clamp(11px, 4.2cqw, 15px); } .phone__bar small { font-size: clamp(10px, 3.5cqw, 12px); }
.phone__thread { padding: 4cqw 3.8cqw; }
.phone__thread .m { font-size: clamp(10.5px, 4.1cqw, 14px); padding: 2.8cqw 3.6cqw; border-radius: 4.6cqw; }
.phone__thread .m--sys { font-size: clamp(9.5px, 3.4cqw, 12px); }
.phone__thread .m--tip b { font-size: clamp(8.5px, 3cqw, 11px); }
@media (max-width: 999px) { .phone { height: calc(100svh - var(--header-h) - 240px); } }

/* ======================================================================
   Story timeline: lying phone → rise → power on → scenes → zoom → trainer
   ====================================================================== */
.stage__phone { position: relative; display: grid; place-items: center; perspective: 1500px; perspective-origin: 50% 40%; }
.phone-rig { transform-style: preserve-3d; will-change: transform; transform-origin: 50% 50%; }
.phone-float { transform-style: preserve-3d; }
.story.is-resting .phone-float { animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: rotateZ(0deg) translateZ(0); } 50% { transform: rotateZ(.8deg) translateZ(6px); } }
/* thickness: stacked aluminium layers behind the front face, visible while the phone is tilted */
.phone__edge { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, #59606B, #23272E 60%, #3B414A); transform: translateZ(calc(var(--i) * -2.1px)); pointer-events: none; }
.phone__edge:last-of-type { background: #0E1014; }
.phone::after, .phone__lift { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .85), 0 30px 50px -30px rgba(0, 0, 0, .6); pointer-events: none; }
/* with JS the shadow is a real element (story.js): its opacity follows the scroll on its own layer,
   instead of a custom property on .phone that restyled the whole phone and repainted it every frame */
.phone.has-lift::after { display: none; }
.phone__lift { will-change: opacity; }
.phone.is-upright .phone__edge { display: none; }
.phone__btns, .phone__screen { transform: translateZ(.5px); }
.phone-shadow { position: absolute; left: 50%; bottom: 4%; width: 78%; height: 16%; margin-left: -39%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0)); filter: blur(14px); will-change: transform, opacity; pointer-events: none; }

/* screen layers */
.phone__screen > * { will-change: opacity; }
.phone__ui { position: relative; flex: 1; display: flex; flex-direction: column; min-height: 0; z-index: 1; padding-top: 13cqw; }
.phone__status { position: absolute; left: 0; right: 0; top: 0; z-index: 4; }
.phone__lock { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-top: 20cqw; color: #fff; text-align: center; opacity: 0;
  background: radial-gradient(120% 70% at 25% 15%, rgba(47, 107, 255, .55), transparent 60%), radial-gradient(90% 60% at 90% 85%, rgba(127, 179, 255, .25), transparent 60%), linear-gradient(165deg, #0D2259, #081433 55%, #05080F); }
.phone__date { margin: 0; font: 600 4.6cqw/1.2 -apple-system, 'SF Pro Text', system-ui, sans-serif; opacity: .85; }
.phone__time { margin: 1cqw 0 0; font: 700 24cqw/1 -apple-system, 'SF Pro Display', system-ui, sans-serif; letter-spacing: -.02em; }
.phone__swipe { margin: auto 0 9cqw; font-size: 3.6cqw; opacity: .7; }
.phone__flash { position: absolute; inset: 0; z-index: 5; background: radial-gradient(80% 60% at 50% 40%, rgba(200, 220, 255, .55), rgba(47, 107, 255, .25) 50%, rgba(0, 0, 0, 0)); opacity: 0; pointer-events: none; }
.phone__off { position: absolute; inset: 0; z-index: 6; background: linear-gradient(118deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .07) 44%, rgba(255, 255, 255, 0) 58%), linear-gradient(180deg, #050608, #000); pointer-events: none; }
.story.story--calm .phone__off, .story.story--calm .phone__flash, .story.story--calm .phone__lock { display: none; }

/* typing indicator */
/* typing bubble overlaid on the next message's slot: never changes layout */
.phone__stack > .m--typing { position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; padding: 3cqw 4cqw; gap: 1.4cqw; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.phone__stack > .m--typing.m--bot { left: auto; right: 0; }
.phone__stack > .m--typing.is-on { opacity: 1; }
.tr-log .m--typing { display: inline-flex; align-items: center; padding: 3cqw 4cqw; gap: 1.4cqw; }

.m--typing i { width: 1.8cqw; height: 1.8cqw; min-width: 5px; min-height: 5px; border-radius: 50%; background: currentColor; opacity: .45; animation: dot 1.2s ease-in-out infinite; }
.m--typing i:nth-child(2) { animation-delay: .15s; } .m--typing i:nth-child(3) { animation-delay: .3s; }
.m--typing.m--in { color: var(--ink); } .m--typing.m--bot { color: var(--white); }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

/* phase 5 */
.stage__dim { position: absolute; inset: 0; background: #05070B; opacity: 0; pointer-events: none; z-index: 0; }
.stage > :not(.stage__dim) { z-index: 1; }
.stage__rail { position: absolute !important; z-index: 2 !important; }
.stage__tcopy { position: absolute !important; left: var(--gutter); top: 50%; transform: translateY(-50%); width: calc(50vw - min(28vh, 260px) - 72px); max-width: 420px; visibility: hidden; opacity: 0; }
.stage__tcopy p { color: var(--muted-dark); font-size: 18px; line-height: 1.5; margin: 0; }
@media (max-width: 1179px) { .stage__tcopy { display: none; } }
body.story-zoom .sticky-cta { opacity: 0; pointer-events: none; }
.sticky-cta { transition: opacity .3s; }

/* trainer inside the phone */
.phone__trainer { position: absolute; left: 0; right: 0; bottom: 0; top: 0; z-index: 3; display: flex; flex-direction: column; padding-top: 13cqw; background: #0B0F15; opacity: 0; pointer-events: none; }
.phone__trainer.is-live { pointer-events: auto; }
.phone__av--blue { background: var(--blue) !important; color: var(--white) !important; }
.tr-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: auto; display: flex; flex-direction: column; gap: 2.4cqw; padding: 4cqw 3.8cqw; scrollbar-width: none; }
/* intro and result are one short text: not a scroll container, wheel and touch go to the page */
.tr-log.is-static { overflow: hidden; }
.tr-log::-webkit-scrollbar { display: none; }
.tr-log > :first-child { margin-top: auto; }
.tr-log .m { font-size: clamp(10.5px, 4cqw, 15px); padding: 2.8cqw 3.6cqw; border-radius: 4.6cqw; animation: pop .35s var(--ease); }
.tr-log .m--sys { font-size: clamp(9.5px, 3.3cqw, 12px); padding: 1cqw 2cqw; text-align: center; }
.tr-log .m--good { background: rgba(127, 224, 181, .12); border-color: rgba(127, 224, 181, .45); }
.tr-log .m--good b { color: #8BE6BE; }
.tr-log .m--bad { background: rgba(255, 196, 120, .1); border-color: rgba(255, 196, 120, .45); }
.tr-log .m--bad b { color: #FFC478; }
.tr-better { display: block; margin-top: 2cqw; padding-top: 2cqw; border-top: 1px solid rgba(255, 255, 255, .12); }
.tr-better b { color: var(--blue-light) !important; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tr-intro { margin: auto 0; padding: 5cqw; border-radius: 5cqw; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); text-align: center; color: var(--muted-dark); font-size: clamp(11px, 3.9cqw, 15px); line-height: 1.45; }
.tr-intro p { margin: 0; }
.tr-intro__title { color: var(--white); font-weight: 800; font-size: clamp(15px, 6cqw, 24px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 2.4cqw !important; }
.tr-result__score { color: var(--white); font-weight: 800; font-size: clamp(22px, 10cqw, 40px); letter-spacing: -.03em; line-height: 1; margin-bottom: 3cqw !important; }
.tr-panel { flex: none; display: grid; gap: 2cqw; padding: 3cqw 3.8cqw 1cqw; border-top: 1px solid var(--line-dark); background: #0E131B; }
.tr-hint { margin: 0; padding: 2cqw 0; text-align: center; color: var(--muted-dark); font-size: clamp(10px, 3.4cqw, 13px); }
.tr-btn { display: block; width: 100%; padding: 3cqw 3.6cqw; border-radius: 3.6cqw; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); color: var(--white); font: 600 clamp(10.5px, 3.7cqw, 14px)/1.35 var(--font); text-align: left; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s; }
.tr-btn:hover { background: rgba(127, 179, 255, .12); border-color: var(--blue-light); }
.tr-btn--primary { background: var(--blue); border-color: var(--blue); text-align: center; }
.tr-btn--primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.phone__trainer .phone__home { flex: none; }

/* reduced motion: no 3D or zoom, simple fades only */
@media (prefers-reduced-motion: reduce) {
  .story--live .stage__copy .scene__copy > *, .story--live .stage__answer .svc, .story--live .phone__thread, .story--live .phone__stack > .m { transition: opacity .35s ease !important; filter: none !important; }
  .story--live .stage__copy .scene__copy > * { transform: none !important; }
  .story--live .phone__stack > .m { transform: none !important; transition-delay: 0s !important; }
  .story--live .phone__stack { transition: none !important; }
  .story--live .stage__answer .svc, .story--live .stage__answer .svc.is-out, .story--live .stage__answer .svc.is-on { transform: translate3d(0, -50%, 0) !important; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 999px) { .story--live .stage__answer .svc, .story--live .stage__answer .svc.is-out, .story--live .stage__answer .svc.is-on { transform: none !important; } }
@media (min-width: 1180px) { .tr-intro:not(.tr-result) .tr-intro__title { display: none; } }
@media (max-width: 999px) {
  .story.is-hero .phone { height: calc(100svh - var(--header-h) - 400px); min-height: 260px; }
  .story--live .stage { padding-bottom: 20px; }
  .story--live .stage__answer { bottom: 20px; }
}
/* realism pass: aluminium side, glass, contact shadow, light pool */
.phone__edge { transform: translateZ(calc(var(--i) * -1.5px)); background:
  linear-gradient(100deg, hsl(215 8% calc(var(--l) * .55)) 0%, hsl(215 8% var(--l)) 30%, hsl(215 10% calc(var(--l) * 1.25)) 52%, hsl(215 8% var(--l)) 70%, hsl(215 8% calc(var(--l) * .6)) 100%); }
.phone__edge:last-of-type { background: #0B0D10; }
.phone__ground { position: absolute; inset: 1%; border-radius: inherit; background: rgba(0, 0, 0, .92); filter: blur(10px); transform: translate3d(3%, 4%, -34px) scale(1.03); pointer-events: none; }
.phone__glass { position: absolute; inset: 1.3%; border-radius: 15.2% / 7.2%; transform: translateZ(1px); pointer-events: none;
  background:
    linear-gradient(122deg, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, .11) 30%, rgba(255, 255, 255, .03) 38%, rgba(255, 255, 255, 0) 46%),
    linear-gradient(122deg, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .05) 62%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(120% 60% at 80% 105%, rgba(90, 130, 255, .10), transparent 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .22); }
.phone__off { background: radial-gradient(140% 90% at 20% 0%, #15181E 0%, #07080B 55%, #030304 100%); }
.phone { background: linear-gradient(135deg, #B5BCC6 0%, #5A616B 14%, #2A2F37 38%, #1B1F25 55%, #3C424B 78%, #C2C8D1 100%); }
.phone-light { position: absolute; left: 50%; top: 52%; width: 150%; height: 70%; margin: -35% 0 0 -75%; border-radius: 50%; background: radial-gradient(closest-side, rgba(110, 140, 220, .16), rgba(110, 140, 220, .05) 55%, transparent 75%); pointer-events: none; will-change: opacity; }
.phone__edge { inset: .6% .5%; border-radius: 16.4% / 7.8%; }
.phone__edge { transform: translateZ(calc(var(--i) * -1px)); }
.stage__phone { perspective-origin: 50% 72%; }
.phone__edge { -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 9%, #000 24%); mask-image: linear-gradient(to bottom, transparent 0, transparent 9%, #000 24%); }
.phone__glass { box-shadow: none; }

/* ======================================================================
   Home services: pinned list + detail card (animation from preview 2)
   ====================================================================== */
.svcpin { position: relative; height: calc(var(--svc-len, 430) * 1svh); }
.svcpin__sticky { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.svcpin__list { display: grid; gap: 10px; align-content: center; }
.svcpin__grp { border-radius: 20px; background: rgba(255, 255, 255, .38); transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.svcpin__grp.is-open { background: var(--white); box-shadow: 0 20px 40px -28px rgba(10, 13, 18, .45); }
.svcpin__ghead { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.svcpin__ico { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--sand); color: var(--ink); transition: background-color .4s, color .4s; }
.svcpin__grp.is-open .svcpin__ico { background: var(--blue); color: var(--white); }
.svcpin__ico svg { width: 18px; height: 18px; }
.svcpin__gname { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.svcpin__gcount { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.svcpin__gbody { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.svcpin__grp.is-open .svcpin__gbody { grid-template-rows: 1fr; }
.svcpin__ginner { overflow: hidden; }
.svcpin__grp ul { list-style: none; margin: 0; padding: 0 10px 10px; }
.svcpin__grp button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: none; text-align: left; font: 600 16px/1.3 var(--font); color: var(--ink-soft); cursor: pointer; transition: background-color .25s, color .25s; }
.svcpin__grp button small { flex: none; font-size: 13px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; transition: color .25s; }
.svcpin__grp button:hover { background: #F4F0EA; color: var(--ink); }
.svcpin__grp button.is-on { background: var(--dark); color: var(--white); }
.svcpin__grp button.is-on small { color: var(--blue-light); }
.svcpin__chips { display: none; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.svcpin__chips button { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1.5px solid var(--line); color: var(--ink-soft); transition: background-color .3s, color .3s, border-color .3s; }
.svcpin__chips button.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.svcpin__chips svg { width: 15px; height: 15px; flex: none; }
.svcpin__panel { position: relative; height: min(560px, calc(100svh - var(--header-h) - 80px)); }
.svcpin__count { position: absolute; right: 24px; top: 24px; z-index: 2; font-size: 13px; font-weight: 700; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.svcpin__card { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--dark); color: var(--white); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(24px) scale(.98); filter: blur(6px); transition: opacity .5s var(--ease), transform .7s var(--ease), filter .5s var(--ease), visibility 0s .5s; --focus: var(--blue-light); }
.svcpin__card.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0s; }
.svcpin__card::after { content: ''; position: absolute; right: -20%; top: -30%; width: 70%; height: 80%; border-radius: 50%; background: radial-gradient(closest-side, rgba(36, 107, 255, .35), transparent); pointer-events: none; }
.svcpin__g { margin: 0; font-size: 13px; font-weight: 700; color: var(--blue-light); }
.svcpin__card h3 { margin: 0; max-width: 14ch; font-size: clamp(28px, 3vw, 44px); line-height: 1.02; letter-spacing: -.035em; }
.svcpin__text { margin: 0; max-width: 44ch; color: #C3CCD8; font-size: 17px; line-height: 1.5; }
.svcpin__card ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.svcpin__card li { position: relative; padding-left: 26px; color: #E6EBF2; }
.svcpin__card li::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--blue-light); border-bottom: 2px solid var(--blue-light); transform: rotate(-45deg); }
.svcpin__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.svcpin__price { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.svcpin__price small { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted-dark); }
@media (max-width: 899px) {
  .svcpin__sticky { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px; padding-top: 16px; }
  .svcpin__grp { display: none; }
  .svcpin__chips { display: flex; }
  .svcpin__panel { height: calc(100svh - var(--header-h) - 170px); }
  .svcpin__card ul { display: none; }
}
@media (max-width: 899px) and (min-height: 720px) { .svcpin__card ul { display: grid; } }

/* ======================================================================
   Services page: one section per group (sticky intro + service cards)
   ====================================================================== */
.gsec { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); gap: clamp(20px, 3vw, 48px); padding: 36px 0; border-top: 1.5px solid var(--ink); }
.gsec:first-child { border-top-width: 2px; padding-top: 40px; }
.gsec__side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.gsec__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue); color: var(--white); margin-bottom: 16px; }
.gsec__ico svg { width: 22px; height: 22px; }
.gsec__name { margin: 0 0 8px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -.035em; }
.gsec__lead { margin: 0; color: var(--ink-soft); line-height: 1.5; max-width: 30ch; }
.gsec__count { display: inline-block; margin-top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(10, 13, 18, .07); font-size: 13px; font-weight: 700; }
.gsec__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gcard { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 22px; background: var(--white); text-decoration: none; transition: box-shadow .3s var(--ease), opacity .55s var(--ease), transform .55s var(--ease); }
.gcard:hover { box-shadow: 0 24px 40px -26px rgba(10, 13, 18, .5); }
.gcard--wide { grid-column: 1 / -1; }
.gcard__name { margin: 0; font-size: 21px; line-height: 1.15; letter-spacing: -.02em; }
.gcard__text { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.45; }
.gcard__inc { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.gcard__inc li { position: relative; padding-left: 20px; }
.gcard__inc li::before { content: ''; position: absolute; left: 0; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.gcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.gcard__foot b { font-size: 18px; }
.gcard__foot small { display: block; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.gcard__go { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); transition: background-color .25s, color .25s, transform .3s var(--ease); }
.gcard__go .i-arrow { width: 18px; height: 18px; }
.gcard:hover .gcard__go { background: var(--dark); color: var(--white); transform: translateX(3px); }
/* gentle reveal for cards that start below the fold (set by app.js) */
.gcard.is-pending { opacity: 0; transform: translate3d(0, 24px, 0); }
@media (max-width: 899px) { .gsec { grid-template-columns: 1fr; } .gsec__side { position: static; } }
@media (max-width: 599px) { .gsec__cards { grid-template-columns: 1fr; } }

/* ======================================================================
   Blue wave on cards: a soft diagonal band of light rolls across the card
   and back, bending slightly as it goes. Only the pseudo-layer's transform
   animates; a faint static tint keeps the card blue-ish between passes.
   ====================================================================== */
.gcard, .agent, .trycard, .who, .tariffs, .ctx, .pricecard { position: relative; isolation: isolate; overflow: hidden; }
/* the services panel card stays absolutely positioned inside its panel */
.svcpin__card { isolation: isolate; }
.gcard, .agent:not(.agent--custom), .trycard:not(.trycard--dark), .who:not(.who--lead), .tariffs, .ctx { background-image: linear-gradient(135deg, rgba(127, 179, 255, .10), rgba(127, 179, 255, 0) 55%, rgba(36, 107, 255, .07)); }
.gcard::before, .agent::before, .trycard::before, .who::before, .tariffs::before, .ctx::before, .pricecard::before, .svcpin__card::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -120%; right: -120%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg,
    rgba(176, 214, 255, 0) 30%,
    rgba(150, 196, 255, .34) 38%,
    rgba(70, 130, 255, .20) 44%,
    rgba(186, 220, 255, .42) 50%,
    rgba(110, 165, 255, .18) 56%,
    rgba(176, 214, 255, 0) 64%);
  animation: card-wave 9s ease-in-out infinite alternate;
  animation-delay: calc(var(--wave-i, 0) * -2.2s);
  will-change: transform;
}
/* dark cards: deeper blue so the wave reads as a glow */
.trycard--dark::before, .who--lead::before, .agent--custom::before, .pricecard::before, .svcpin__card::after {
  background: linear-gradient(105deg,
    rgba(36, 107, 255, 0) 30%,
    rgba(36, 107, 255, .30) 40%,
    rgba(127, 179, 255, .16) 47%,
    rgba(36, 107, 255, .34) 54%,
    rgba(36, 107, 255, 0) 64%);
}
.svcpin__card::after { inset: 0 -120%; width: auto; height: auto; border-radius: 0; }
@keyframes card-wave {
  0% { transform: translate3d(-34%, 0, 0) skewX(-12deg); }
  50% { transform: translate3d(0, 0, 0) skewX(6deg); }
  100% { transform: translate3d(34%, 0, 0) skewX(-6deg); }
}
/* neighbours start at different points of the wave */
.gsec__cards > :nth-child(2n), .agents > :nth-child(2n), .whoweare > :nth-child(2n), .trycards > :nth-child(2n) { --wave-i: 1; }
.gsec__cards > :nth-child(3n), .agents > :nth-child(3n), .whoweare > :nth-child(3n) { --wave-i: 2; }
.gsec__cards > :nth-child(5n), .agents > :nth-child(5n) { --wave-i: 3; }
.gcard:hover::before, .agent:hover::before, .trycard:hover::before { filter: saturate(1.4); }
@media (prefers-reduced-motion: reduce) {
  .gcard::before, .agent::before, .trycard::before, .who::before, .tariffs::before, .ctx::before, .pricecard::before, .svcpin__card::after { animation: none; transform: none; }
}

/* ======================================================================
   3D tilt towards the cursor with a sliding highlight (app.js sets the vars;
   only on devices with a mouse, never with reduced motion)
   ====================================================================== */
.tilt { transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .3s, opacity .55s var(--ease); }
.tilt.is-tilting { transition: transform .08s linear, box-shadow .3s; }
.tilt::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), transparent 45%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .3s; }
.tilt:hover::after { opacity: 1; }
.tilt:hover { box-shadow: 0 30px 50px -30px rgba(10, 13, 18, .55); }

/* ======================================================================
   Scroll wave for service and agent cards: below the middle of the screen
   a card leans back and fades a little, straightening as it scrolls up
   (app.js sets --srx/--ss/--so/--sy from scroll). One transform also
   carries the hover tilt (--rx/--ry).
   ====================================================================== */
@property --srx { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --sy { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --ss { syntax: '<number>'; inherits: false; initial-value: 1; }
@property --so { syntax: '<number>'; inherits: false; initial-value: 1; }
.gcard, .agent, .tilt {
  transform: perspective(900px) translate3d(0, var(--sy, 0px), 0) rotateX(calc(var(--rx, 0deg) + var(--srx, 0deg))) rotateY(var(--ry, 0deg)) scale(var(--ss, 1));
  transform-origin: 50% 100%;
}
.gcard, .agent { opacity: var(--so, 1); will-change: transform; }
.gcard:not(.tilt), .agent:not(.tilt) { transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .45s ease, box-shadow .3s; }
@media (prefers-reduced-motion: reduce) { .gcard, .agent { --srx: 0deg; --sy: 0px; --ss: 1; --so: 1; } }

/* ======================================================================
   Palette E «Сутінки з дугою»: dusk-blue headers that end in a wide arc,
   a light lavender-grey page instead of sand, and dark dusk cards.
   ====================================================================== */
:root { --sand: #EFF0F7; --beige: #D6D9EA; --graphite: #151931; --dusk: #161A33; --violet: #5B60FF; }
.phero {
  background: radial-gradient(60% 120% at 80% 0%, rgba(91, 96, 255, .30), transparent 60%), linear-gradient(180deg, #0A0D12, var(--dusk));
  padding-bottom: 140px; margin-bottom: -60px; z-index: 1;
  clip-path: ellipse(150% 100% at 50% 0%);
}
.phero--compact { padding-bottom: 110px; }
.phero::after { display: none; }
/* the arc overlaps the next section, so its corners show that section's own colour */
.phero + * { padding-top: calc(var(--section) + 60px); }
.phero + .section--tight { padding-top: 108px; }
@media (max-width: 767px) { .phero { padding-bottom: 96px; margin-bottom: -40px; clip-path: ellipse(190% 100% at 50% 0%); } .phero + * { padding-top: calc(var(--section) + 40px); } .phero + .section--tight { padding-top: 88px; } }
.gsec__ico, .svcpin__grp.is-open .svcpin__ico { background: linear-gradient(135deg, var(--blue), var(--violet)); }
.gsec__count { background: rgba(91, 96, 255, .1); color: #3F45D9; }
.gsec { border-top-color: rgba(22, 26, 51, .14); border-top-width: 1px; }
.gsec:first-child { border-top: 0; }

/* dark dusk cards (same look as the header) */
.gcard, .agent, .trycard, .who {
  background: radial-gradient(70% 120% at 85% 0%, rgba(91, 96, 255, .28), transparent 60%), linear-gradient(180deg, #0D1018, var(--dusk));
  color: var(--white); --focus: var(--blue-light);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.gcard__text, .gcard__foot small, .agent__does, .trycard p, .who p { color: #A9B1CC !important; }
.gcard__foot, .agent__price { border-color: rgba(255, 255, 255, .12); }
.gcard__inc li { color: #E3E7F5; }
.gcard__inc li::before { border-color: var(--blue-light); }
.gcard__go { background: rgba(255, 255, 255, .08); color: var(--white); }
.gcard:hover .gcard__go { background: var(--blue); }
.who__strip { color: var(--blue-light) !important; }
.who .link-arrow, .trycard .link-arrow { color: var(--white); }
.trycard .btn--ghost, .agent .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .55); }
.trycard .btn--ghost:hover, .agent .btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.section--white .who:not(.who--lead) { background: radial-gradient(70% 120% at 85% 0%, rgba(91, 96, 255, .28), transparent 60%), linear-gradient(180deg, #0D1018, var(--dusk)); }
/* the wave on dark cards: deeper, glowing */
.gcard::before, .agent::before, .trycard::before, .who::before {
  background: linear-gradient(105deg, rgba(36, 107, 255, 0) 30%, rgba(60, 110, 255, .30) 40%, rgba(127, 179, 255, .16) 47%, rgba(91, 96, 255, .32) 54%, rgba(36, 107, 255, 0) 64%);
}
.gcard.tilt::after, .agent.tilt::after, .trycard.tilt::after, .who.tilt::after { mix-blend-mode: screen; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(127, 179, 255, .18), transparent 45%); }
.gcard:hover, .agent:hover, .trycard:hover { box-shadow: inset 0 0 0 1px rgba(127, 179, 255, .18), 0 30px 50px -30px rgba(22, 26, 51, .7); }
/* dark cards win over the older light tint (same specificity as that rule) */
.gcard, .agent:not(.agent--custom), .trycard:not(.trycard--dark), .who:not(.who--lead), .section--white .who:not(.who--lead) {
  background-color: #0D1018;
  background-image: radial-gradient(70% 120% at 85% 0%, rgba(91, 96, 255, .28), transparent 60%), linear-gradient(180deg, #0D1018, var(--dusk));
}
/* pages that are just a header (login, thanks, 404): no arc, it would show a light wedge above the footer */
.phero--center { clip-path: none; margin-bottom: 0; padding-bottom: 72px; }
/* group icon tiles in the same dusk as the header and the cards */
.gsec__ico, .svcpin__grp.is-open .svcpin__ico {
  background: radial-gradient(90% 110% at 85% 0%, rgba(91, 96, 255, .45), transparent 65%), linear-gradient(180deg, #0D1018, var(--dusk));
  color: #BFD6FF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 24px -14px rgba(22, 26, 51, .8);
}
.gsec__ico svg { width: 26px; height: 26px; }
.svcpin__ico svg { width: 20px; height: 20px; } .svcpin__chips svg { width: 16px; height: 16px; }

/* ======================================================================
   AI mentor trial: the whole page is one chat window on the dusk backdrop
   ====================================================================== */
body.no-sticky .sticky-cta { display: none !important; }
.msim-page {
  background: radial-gradient(60% 80% at 85% 0%, rgba(91, 96, 255, .30), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(36, 107, 255, .16), transparent 60%), linear-gradient(180deg, #0A0D12, var(--dusk));
  color: var(--white); padding: 28px 0 40px; --focus: var(--blue-light);
}
.msim-wrap { max-width: 820px; }
.msim {
  display: flex; flex-direction: column; height: calc(100svh - var(--header-h) - 110px); min-height: 520px; max-height: 900px;
  border-radius: 28px; overflow: hidden; background: rgba(13, 16, 28, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -40px rgba(0, 0, 0, .8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.msim__head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); }
.msim__ava { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 0 0 3px rgba(91, 96, 255, .18); }
.msim__who { display: flex; flex-direction: column; line-height: 1.25; }
.msim__who small { color: #8FE3B0; font-size: 13px; }
.msim__who small::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.msim__log { flex: 1; overflow-y: auto; padding: 22px 20px 12px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.msim__noscript { color: var(--muted-dark); }
.msim__note { margin: 14px 4px 0; color: #8E97B3; font-size: 13.5px; text-align: center; }

.msg { display: flex; flex-direction: column; align-items: flex-start; max-width: 86%; opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1); }
.msg.is-in { opacity: 1; transform: none; }
.msg__label { font-size: 12px; color: #8E97B3; margin: 0 0 4px 12px; }
.msg__bubble { padding: 11px 15px; border-radius: 18px 18px 18px 6px; line-height: 1.5; font-size: 15.5px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.msg--mentor .msg__bubble { background: linear-gradient(180deg, rgba(91, 96, 255, .20), rgba(36, 107, 255, .12)); box-shadow: inset 0 0 0 1px rgba(127, 179, 255, .18); }
.msg--client .msg__bubble { background: #F3F4FA; color: var(--ink); }
.msg--you { align-self: flex-end; align-items: flex-end; }
.msg--you .msg__bubble { background: var(--blue); border-radius: 18px 18px 6px 18px; box-shadow: none; }
.msg--sys { align-self: center; max-width: none; }
.msg--sys .msg__bubble { background: none; box-shadow: none; padding: 4px 10px; font-size: 13px; color: #8E97B3; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.msg--typing .msg__bubble { padding: 14px 16px; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); animation: msim-dot 1.1s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes msim-dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.msg__tag { display: inline-block; margin: 0 0 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.msg__tag--good { background: rgba(70, 200, 130, .18); color: #8FE3B0; }
.msg__tag--bad { background: rgba(255, 170, 80, .16); color: #FFC98A; }
.msg__tag + br { display: none; }
.msg--mentor .msg__tag { display: table; }
.fwd { display: block; font-size: 12px; font-weight: 700; opacity: .75; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.fwd__line { display: block; padding: 4px 0 4px 10px; border-left: 2px solid rgba(255, 255, 255, .45); margin-top: 4px; }
.fwd__line em { font-style: normal; font-weight: 700; opacity: .8; }

.report { margin: 8px 0 0; display: grid; gap: 4px; }
.report dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--blue-light); margin-top: 8px; }
.report dt.ok { color: #8FE3B0; } .report dt.risk { color: #FFC98A; }
.report dd { margin: 0; }
.report__title { display: block; font-size: 17px; }
.report__stats { margin: 4px 0 0; color: #B8C0DA; font-size: 14px; }
.ready { display: block; margin: 8px 0 2px; padding: 10px 13px; border-radius: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); quotes: none; }
.rules { margin: 8px 0 0; font-size: 13.5px; color: #B8C0DA; }
.chain { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.chain li { padding: 4px 10px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, .08); color: #C9D0E6; }
.chain li:not(:last-child)::after { content: ' →'; opacity: .5; }
.chain li.is-lost { background: rgba(255, 170, 80, .22); color: #FFD9A8; font-weight: 700; }
.skills { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.skills li { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto; align-items: center; gap: 10px; font-size: 14px; }
.skills i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.skills i::after { content: ''; position: absolute; inset: 0; width: var(--w, 0%); background: linear-gradient(90deg, var(--blue), var(--violet)); border-radius: inherit; transition: width .8s cubic-bezier(.22, 1, .36, 1); }
.skills small { font-size: 12px; font-weight: 700; }
.skills .is-good small { color: #8FE3B0; } .skills .is-grow small { color: #FFC98A; }

.msim__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid rgba(255, 255, 255, .08); min-height: 20px; max-height: 46%; overflow-y: auto; }
.msim__actions:empty { padding: 0; border: 0; min-height: 0; }
.msim__actions--list, .msim__actions--tools { flex-direction: column; flex-wrap: nowrap; }
.msim__actions--tools { display: grid; grid-template-columns: 1fr 1fr; }
.msim__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 14px; border: 0; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 600; text-align: left; text-decoration: none; color: var(--white);
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background-color .2s, box-shadow .2s, transform .2s;
}
.msim__btn:hover { background: rgba(127, 179, 255, .14); box-shadow: inset 0 0 0 1px rgba(127, 179, 255, .45); }
.msim__btn:active { transform: scale(.98); }
.msim__btn:disabled { opacity: .35; cursor: default; text-decoration: line-through; }
.msim__actions--chips .msim__btn { border-radius: 999px; }
.msim__actions--list .msim__btn, .msim__btn--opt { justify-content: flex-start; line-height: 1.4; }
.msim__btn--tool { justify-content: flex-start; min-height: 56px; }
.msim__btn--tool b { font-size: 12px; color: var(--blue-light); font-weight: 800; }
.msim__btn--quiet { background: none; box-shadow: none; color: #8E97B3; min-height: 40px; }
.msim__actions--tools .msim__btn--quiet { grid-column: 1 / -1; }
.msim__btn--main { background: var(--blue); box-shadow: none; }
.msim__btn--main:hover { background: var(--blue-hover); box-shadow: none; }
@media (max-width: 767px) {
  .msim-page { padding: 12px 0 20px; }
  .msim-wrap { padding-left: 10px; padding-right: 10px; }
  .msim { height: calc(100svh - var(--header-h) - 70px); min-height: 460px; border-radius: 22px; }
  .msim__log { padding: 16px 12px 10px; }
  .msg { max-width: 92%; }
  .msim__actions { padding: 10px; }
  .msim__actions--tools { grid-template-columns: 1fr; }
  .msim__btn { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .msg { transition: none; opacity: 1; transform: none; } .dots i { animation: none; } }
.msim__btn .i-arrow { width: 18px; height: 18px; flex: none; }
.msim__actions--row .msim__btn { flex: 0 1 auto; }
@media (max-width: 767px) { .msim__btn--tool { min-height: 46px; } .msim__actions--row .msim__btn { flex: 1 1 auto; } }
.msim__log { position: relative; }
@media (max-width: 767px) { .msim__actions--tools { grid-template-columns: 1fr 1fr; } .msim__btn--tool { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 13.5px; line-height: 1.3; padding: 9px 12px; } }

/* ---------- mentor trial, simplified: steps above, choices inline, laptop frame ---------- */
.msim-wrap { max-width: 1040px; }
.msim__title { margin: 6px 0 12px; text-align: center; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.035em; line-height: 1.1; }
.msim__steps { list-style: none; margin: 0 auto 26px; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; color: #C9D0E6; font-size: 15px; }
.msim__steps li { display: flex; align-items: center; gap: 8px; }
.msim__steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); }

/* the laptop: dark bezel with a camera, aluminium base with a thumb notch */
.laptop { margin: 0 auto; max-width: 980px; filter: drop-shadow(0 50px 60px rgba(0, 0, 0, .55)); }
.laptop__screen { position: relative; padding: 18px 16px 16px; border-radius: 22px 22px 8px 8px; background: linear-gradient(180deg, #1B1E27, #0B0C11); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10), inset 0 0 0 2px #050608; }
.laptop__screen::before { content: ''; position: absolute; top: 6px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3A4A6A, #0A0C12 70%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.laptop__base { position: relative; height: 16px; width: 112%; margin-left: -6%; border-radius: 2px 2px 18px 18px; background: linear-gradient(180deg, #E4E6EE 0%, #B9BDC9 55%, #8E93A1 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8); }
.laptop__base::before { content: ''; position: absolute; top: 0; left: 50%; width: 16%; height: 6px; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #9DA2B0, #C3C7D2); }

.msim { height: calc(100svh - var(--header-h) - 250px); min-height: 480px; max-height: 760px; border-radius: 8px; background: #0E1120; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.msim__bar { display: flex; align-items: center; gap: 7px; padding: 9px 14px; background: #1A1E2C; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.msim__bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.msim__bar i:nth-child(2) { background: #FEBC2E; } .msim__bar i:nth-child(3) { background: #28C840; }
.msim__bar span { flex: 1; text-align: center; margin-right: 50px; font-size: 12.5px; color: #8E97B3; font-weight: 600; }
.msim__head { padding: 12px 18px; }
.msim__progress { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.msim__progress i { width: 22px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); transition: background-color .4s; }
.msim__progress i.is-on { background: linear-gradient(90deg, var(--blue), var(--violet)); }
.msim__progress span { margin-left: 6px; font-size: 13px; color: #8E97B3; font-weight: 700; }

/* choices live inside the chat, right under the latest message */
.msim__log .msim__actions { padding: 4px 0 6px; border: 0; max-height: none; overflow: visible; min-height: 0; }
.msim__log .msim__actions--list, .msim__log .msim__actions--chips { padding-left: 0; }
.msim__actions--chips .msim__btn { border-radius: 999px; background: rgba(127, 179, 255, .12); box-shadow: inset 0 0 0 1px rgba(127, 179, 255, .45); }
.msim__actions--list { max-width: 640px; }
.msim__btn--opt { gap: 12px; padding: 12px 14px; }
.msim__btn--opt b { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; background: rgba(127, 179, 255, .16); color: var(--blue-light); }
.msim__btn--opt:hover b { background: var(--blue); color: var(--white); }
.msg--hint { max-width: none; }
.msg--hint .msg__bubble { background: none; box-shadow: none; padding: 2px 4px; font-size: 13.5px; font-weight: 700; color: var(--blue-light); }
.msg__sub { display: block; margin-top: 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--blue-light); }
.msg__sub + .ready { margin-top: 6px; }
.report__task { margin-top: 10px !important; padding: 8px 12px; border-radius: 10px; background: rgba(127, 179, 255, .1); }
@media (max-width: 767px) {
  .msim__title { font-size: 24px; margin-top: 4px; }
  .msim__steps { flex-direction: column; align-items: flex-start; gap: 6px; margin: 0 4px 16px; font-size: 14px; }
  .laptop__screen { padding: 10px 7px 8px; border-radius: 14px 14px 6px 6px; }
  .laptop__screen::before { top: 3px; width: 4px; height: 4px; margin-left: -2px; }
  .laptop__base { height: 10px; width: 108%; margin-left: -4%; }
  .msim { height: calc(100svh - var(--header-h) - 120px); min-height: 440px; border-radius: 6px; }
  .msim__bar { padding: 7px 10px; } .msim__bar span { display: none; }
  .msim__progress i { width: 14px; }
}
.msim-page { overflow-x: clip; }
@media (max-width: 767px) { .msim__progress span { display: none; } }

/* ---------- mentor trial on a phone (replaces the laptop frame) ---------- */
.msim-page { padding: 40px 0 56px; }
.msim-wrap { max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 56px; }
.msim-intro .msim__title { text-align: left; margin: 0 0 22px; font-size: clamp(30px, 4vw, 52px); }
.msim-intro .msim__steps { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px; margin: 0 0 26px; font-size: 17px; }
.msim-intro .msim__steps b { width: 32px; height: 32px; font-size: 14px; }
.msim-intro .msim__note { text-align: left; margin: 0; max-width: 44ch; }

.mphone {
  position: relative; width: 392px; padding: 11px; border-radius: 62px;
  background: linear-gradient(145deg, #5B5F68 0%, #2A2D33 22%, #1A1C21 50%, #2C2F36 78%, #50545D 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 0 0 3px #0B0C0F, 0 60px 90px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .5);
}
/* side buttons: action + volume on the left, power on the right */
.mphone::before, .mphone::after { content: ''; position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #2A2D33, #5B5F68); }
.mphone::before { left: -3px; top: 150px; height: 120px; box-shadow: 0 -52px 0 -30px #3A3D44; }
.mphone::after { right: -3px; top: 190px; height: 86px; background: linear-gradient(270deg, #2A2D33, #5B5F68); }
.mphone__screen { border-radius: 51px; overflow: hidden; background: #000; padding: 3px; }
.mphone .msim { width: 100%; height: min(800px, calc(100svh - var(--header-h) - 90px)); min-height: 600px; max-height: none; border-radius: 48px; background: #0E1120; }
.msim__status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 4px 30px 0 34px; flex: none; font-size: 15px; font-weight: 700; }
.mphone__island { position: absolute; left: 50%; top: 11px; width: 112px; height: 32px; margin-left: -56px; border-radius: 20px; background: #000; }
.msim__icons { display: flex; align-items: center; gap: 6px; }
.msim__icons svg { width: 17px; height: 12px; fill: currentColor; }
.msim__batt { position: relative; width: 25px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); padding: 2px; }
.msim__batt::after { content: ''; position: absolute; right: -3px; top: 4px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(255, 255, 255, .45); }
.msim__batt i { display: block; width: 78%; height: 100%; border-radius: 2px; background: var(--white); }
.mphone .msim__head { padding: 8px 16px 10px; gap: 10px; background: rgba(255, 255, 255, .03); }
.mphone .msim__ava { width: 38px; height: 38px; }
.mphone .msim__who strong { font-size: 15px; }
.mphone .msim__progress span { display: none; }
.mphone .msim__progress i { width: 14px; }
.mphone .msim__log { padding: 14px 12px 22px; }
.mphone .msg { max-width: 88%; }
.mphone .msg__bubble { font-size: 14.5px; padding: 9px 13px; }
.mphone .msim__actions--list { max-width: none; }
.mphone .msim__btn { font-size: 14px; }
.mphone .msim__btn--opt { padding: 10px 12px; }
.mphone .skills li { grid-template-columns: minmax(0, 1fr) 54px auto; }
@media (max-width: 899px) {
  .msim-wrap { grid-template-columns: 1fr; gap: 22px; justify-items: center; }
  .msim-intro { text-align: center; }
  .msim-intro .msim__title { text-align: center; font-size: 28px; margin-bottom: 14px; }
  .msim-intro .msim__steps { align-items: flex-start; margin: 0 auto 10px; width: max-content; max-width: 100%; gap: 8px; font-size: 15px; }
  .msim-intro .msim__steps b { width: 26px; height: 26px; font-size: 13px; }
  .msim-intro .msim__note { display: none; }
}
@media (max-width: 767px) {
  .msim-page { padding: 18px 0 28px; }
  .msim-wrap { padding-left: 12px; padding-right: 12px; }
  .mphone { width: 100%; max-width: 392px; padding: 8px; border-radius: 52px; }
  .mphone::before, .mphone::after { display: none; }
  .mphone__screen { border-radius: 44px; }
  .mphone .msim { height: calc(100svh - var(--header-h) - 40px); min-height: 520px; max-height: 760px; border-radius: 41px; }
}
/* chat items never shrink in the column — otherwise the answer buttons squash and overlap */
.msim__log > * { flex-shrink: 0; }
.mphone .msim { height: min(780px, calc(100svh - var(--header-h) - 130px)); min-height: 560px; }
.msim-page { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
.msim-page > .wrap { width: 100%; }
@media (max-width: 767px) { .msim-page { display: block; min-height: 0; } .mphone .msim { height: calc(100svh - var(--header-h) - 40px); min-height: 520px; } }

/* ---------- mentor trial: phone centred at real iPhone proportions, text left, capabilities right ---------- */
.msim-page { padding: 24px 0; }
.msim-wrap { max-width: 1320px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 48px; }
.msim-intro { justify-self: end; max-width: 360px; }
.msim-intro .msim__title { font-size: clamp(30px, 3vw, 44px); }
.mphone {
  --ph: clamp(640px, calc(100svh - var(--header-h) - 64px), 900px);
  height: var(--ph); width: calc(var(--ph) * .478); padding: calc(var(--ph) * .012); border-radius: calc(var(--ph) * .085);
}
.mphone__screen { height: 100%; border-radius: calc(var(--ph) * .073); padding: 0; }
.mphone .msim { height: 100%; min-height: 0; max-height: none; border-radius: inherit; }
.mphone::before { top: 21%; height: 15%; box-shadow: 0 calc(var(--ph) * -.07) 0 -1px #3A3D44; }
.mphone::after { top: 27%; height: 11%; }
.mphone .msim__status { height: calc(var(--ph) * .062); padding: 6px 9% 0 11%; }
.mphone__island { top: calc(var(--ph) * .014); width: 30%; margin-left: -15%; height: calc(var(--ph) * .039); }

.msim-caps { justify-self: start; max-width: 340px; }
.msim-caps__title { margin: 0 0 16px; font-size: 20px; letter-spacing: -.02em; }
.msim-caps__list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.msim-caps__list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); color: #8E97B3; font-size: 14.5px; line-height: 1.4; transition: background-color .5s, color .5s, box-shadow .5s, transform .5s cubic-bezier(.22, 1, .36, 1); }
.msim-caps__list b { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; background: rgba(255, 255, 255, .07); color: #8E97B3; transition: background .5s, color .5s; }
.msim-caps__list li.is-on { color: var(--white); background: rgba(127, 179, 255, .08); }
.msim-caps__list li.is-on b { background: linear-gradient(135deg, var(--blue), var(--violet)); color: var(--white); }
.msim-caps__list li.is-now { box-shadow: inset 0 0 0 1px rgba(127, 179, 255, .55), 0 14px 34px -18px rgba(91, 96, 255, .8); transform: translateX(4px); }
.msim-caps__lead { margin: 0; color: #8E97B3; font-size: 13.5px; }
.skills--wide li { grid-template-columns: minmax(0, 1.6fr) 54px auto; }
.skills--wide li span { font-size: 13px; }

@media (max-width: 1180px) {
  .msim-wrap { grid-template-columns: 1fr; justify-items: center; gap: 22px; }
  .msim-intro, .msim-caps { justify-self: center; max-width: 560px; }
  .msim-caps { order: 3; width: 100%; }
}
@media (max-width: 899px) { .msim-caps__list li.is-now { transform: none; } }
@media (max-width: 767px) {
  .mphone { --ph: min(calc((100vw - 24px) / .478), calc(100svh - var(--header-h) - 24px)); max-width: none; }
  .mphone::before, .mphone::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .msim-caps__list li { transition: none; } }
.mphone { --ph: clamp(620px, calc(100svh - var(--header-h) - 96px), 900px); } @media (max-width: 767px) { .mphone { --ph: min(calc((100vw - 24px) / .478), calc(100svh - var(--header-h) - 24px)); } }

/* mentor page: trial / buy buttons pinned at the bottom of the phone screen */
.msim__cta { flex: none; display: flex; gap: 8px; padding: 10px 12px 18px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(14, 17, 32, .96); }
.msim__cta .msim__btn { flex: 1; min-height: 42px; font-size: 14px; padding: 8px 12px; text-align: center; }
.msim__cta .msim__btn--main { flex: 1.5; }
.msim.is-done .msim__cta { display: none; }
/* mentor page: a single slim legal line instead of the full footer */
.footer--slim { padding: 22px 0; }
.footer__slim { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; }
.footer__slim .logo--footer { font-size: 18px; }
.footer__inline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.footer__inline a, .footer__inline .linklike { color: var(--muted-dark); text-decoration: none; }
.footer__inline a:hover, .footer__inline .linklike:hover { color: var(--white); }
/* trial / buy: floating in the bottom-right corner of the page, outside the phone */
.msim__cta { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: flex; gap: 10px; padding: 8px; border: 0; border-radius: 18px; background: rgba(14, 17, 32, .82); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 20px 50px -20px rgba(0, 0, 0, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: opacity .3s, transform .3s; }
.msim__cta .btn { white-space: nowrap; }
body.msim-done .msim__cta { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (max-width: 767px) {
  .msim__cta { left: 12px; right: 12px; bottom: 12px; }
  .msim__cta .btn { flex: 1; padding-left: 10px; padding-right: 10px; }
  .msim__cta .btn--primary { flex: 1.4; }
  .msim-page { padding-bottom: 90px; }
}
/* start screen inside the phone */
.msim__start { margin: auto 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 20px 14px; animation: msim-in .6s cubic-bezier(.22, 1, .36, 1) both; }
.msim__start-ava { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; font-weight: 800; background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 0 0 8px rgba(91, 96, 255, .14), 0 0 60px rgba(91, 96, 255, .55); margin-bottom: 8px; }
.msim__start strong { font-size: 22px; letter-spacing: -.02em; }
.msim__start p { margin: 0; color: #B8C0DA; font-size: 15px; line-height: 1.5; max-width: 30ch; }
.msim__start-btn { margin-top: 10px; min-width: 180px; min-height: 52px; font-size: 17px; font-weight: 700; border-radius: 16px; box-shadow: 0 14px 34px -12px rgba(36, 107, 255, .8); animation: msim-pulse 2.4s ease-in-out infinite; }
@keyframes msim-in { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }
@keyframes msim-pulse { 0%, 100% { box-shadow: 0 14px 34px -12px rgba(36, 107, 255, .8), 0 0 0 0 rgba(36, 107, 255, .45); } 50% { box-shadow: 0 14px 34px -12px rgba(36, 107, 255, .8), 0 0 0 10px rgba(36, 107, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .msim__start, .msim__start-btn { animation: none; } }
/* industry choice: clear tappable cards with an icon and an arrow */
.msim__actions--niches { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.msim__btn--niche { justify-content: flex-start; gap: 8px; min-height: 52px; padding: 8px 10px; border-radius: 14px; font-size: 13.5px; line-height: 1.25; background: rgba(127, 179, 255, .10); box-shadow: inset 0 0 0 1px rgba(127, 179, 255, .4); }
.msim__btn--niche > span:nth-child(2) { flex: 1; }
.msim__btn--niche .i-arrow { width: 15px; height: 15px; opacity: .55; transition: transform .2s, opacity .2s; }
.msim__btn--niche:hover .i-arrow { opacity: 1; transform: translateX(2px); }
.msim__ico { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 16px; background: rgba(255, 255, 255, .08); }
.msim__actions--niches { width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .msim__btn--niche > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.msim__actions--niches { grid-template-columns: 1fr; gap: 7px; } .msim__btn--niche { min-height: 48px; font-size: 14.5px; } .msim__btn--niche > span:nth-child(2) { overflow-wrap: normal; }

/* ======================================================================
   Revision 10.2026: early access, one contact field, larger demo,
   graded answers, cost notes, readability.
   ====================================================================== */
/* readability: secondary text a step larger and lighter on dark surfaces */
.msg__label, .m--sys { font-size: 13px; }
.gcard__text { font-size: 16px; }
.gcard__foot small, .srow__price small { font-size: 14px; }
.msim-caps__list li { font-size: 15.5px; color: #A9B1CC; }
.msim-caps__list b { color: #A9B1CC; }
.msim-caps__lead, .msim-intro .msim__note { font-size: 15px; color: #A9B1CC; }
.footer__inline { font-size: 15px; }
.pcard__meta dd small { display: block; font-weight: 500; font-size: 13px; color: var(--ink-soft); }
/* the pinned mobile button never sits on top of the footer or the form */
body.cta-off .sticky-cta { opacity: 0; pointer-events: none; }

/* home: lock screen with a working day's notifications (phone is on from the first screen) */
.phone__notifs { list-style: none; margin: 8cqw 0 0; padding: 0 5cqw; width: 100%; display: grid; gap: 2.6cqw; text-align: left; }
.phone__notif { padding: 3.2cqw 3.8cqw; border-radius: 4.5cqw; background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: clamp(9px, 3.9cqw, 14px); line-height: 1.32; }
.phone__notif b { display: block; font-size: clamp(8px, 3.1cqw, 12px); letter-spacing: .02em; opacity: .75; margin-bottom: .8cqw; }
.phone__notif--brand { background: linear-gradient(135deg, rgba(36, 107, 255, .55), rgba(91, 96, 255, .45)); }
.phone__lock { background: radial-gradient(90% 60% at 50% 0%, rgba(91, 96, 255, .55), transparent 70%), linear-gradient(180deg, #1B2150, #0B0E1C); }

/* home: three free first steps */
@media (min-width: 1000px) { .trycards--3 { grid-template-columns: repeat(3, 1fr); } }
.trycards--3 .trycard { display: flex; flex-direction: column; }
.trycards--3 .trycard .btn { margin-top: auto; align-self: flex-start; }
.trycards--3 > :nth-child(2n) { --wave-i: 1; }

/* service cards: for whom → result → includes → term & price → action */
.gcard__for { margin: 0; font-size: 14px; color: #C9D0E6; }
.gcard__for b { color: var(--white); font-weight: 700; }
.gcard__foot small + b { display: block; margin-top: 4px; }
.gcard__go { width: auto; height: 40px; padding: 0 14px 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; }
@media (max-width: 420px) { .gcard__more { display: none; } .gcard__go { padding: 0; width: 40px; justify-content: center; } }
.srow__note { color: var(--ink-soft); }

/* agents: what the agent receives, where it works, result, where a person steps in */
.agent__dl { margin: 4px 0 0; display: grid; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.agent__dl dt { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-light); }
.agent__dl dd { margin: 2px 0 0; color: #DCE1F0; }
.agent__dl div:last-child dd { color: #FFD9A8; }
.agent__price small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: #A9B1CC; }

/* about: what you get and how work is accepted */
.accept { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.accept .h2 { margin-bottom: 20px; }
@media (max-width: 899px) { .accept { grid-template-columns: 1fr; } }

/* graded answers: strong / acceptable / weak */
.tr-log .m--ok { background: rgba(127, 179, 255, .1); border-color: rgba(127, 179, 255, .45); }
.tr-log .m--ok b { color: var(--blue-light); }
.msg__tag--ok { background: rgba(127, 179, 255, .16); color: var(--blue-light); }
.tr-note { margin-top: 2.4cqw !important; font-size: .85em; opacity: .85; }

/* mentor demo: larger chat and text; feedback is a full-width card */
.mphone { width: calc(var(--ph) * .54); }
.mphone .msg { max-width: 92%; }
.mphone .msg__bubble { font-size: 16px; line-height: 1.5; padding: 10px 14px; }
.mphone .msim__btn { font-size: 15.5px; }
.mphone .msim__btn--opt { padding: 12px 14px; }
.mphone .msim__progress span { display: inline; }
.msg--card { max-width: 100% !important; align-self: stretch; }
.msg--card .msg__bubble { padding: 14px 16px; border-radius: 16px; }
@media (max-width: 767px) {
  /* phones: no decorative frame, the chat uses the full width */
  .msim-wrap { padding-left: 0; padding-right: 0; }
  .msim-intro { padding: 0 var(--gutter); }
  .mphone { --ph: calc(100svh - var(--header-h) - 16px); width: 100%; height: var(--ph); padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .mphone__screen { border-radius: 0; background: #0E1120; }
  .mphone .msim { border-radius: 0; }
  .mphone .msim__status { display: none; }
  .mphone .msg__bubble { font-size: 16px; }
  .msim-caps { padding: 0 var(--gutter); }
}

/* hero: the longer headline fits in four lines and leaves room for the buttons */
@media (min-width: 1000px) { .scene__h1 { font-size: clamp(40px, 4.2vw, 64px); line-height: 1.02; } .scene--hero .scene__copy > p, .stage__copy .scene__copy > p { max-width: 42ch; } }
.phone__notifs { margin-top: 6cqw; gap: 2.2cqw; padding: 0 4cqw; }
.phone__notif { font-size: clamp(10px, 4.6cqw, 15px); padding: 3cqw 3.6cqw; }
.phone__notif b { font-size: clamp(9px, 3.5cqw, 12px); }
.phone__time { font-size: 20cqw; }
@media (max-width: 767px) { body.msim-on .msim__cta { display: none; } body.msim-on .msim-page { padding-bottom: 28px; } }
/* desktop: the phone is as tall from the first screen as it is in the trainer (almost the full viewport) */
@media (min-width: 1000px) { .phone { height: calc(100svh - var(--header-h) - 56px); } }
/* logo: «Plan» light, «B» bold and blue */
.logo { font-weight: 500; letter-spacing: -.03em; }
.logo b { font-weight: 800; color: var(--blue-light); }
/* header: the menu fills the space between the logo and the tools instead of leaving a gap */
@media (min-width: 1180px) {
  .nav { flex: 1; margin-left: clamp(16px, 2.4vw, 40px); }
  .nav ul { gap: clamp(8px, 2.2vw, 36px); }
  .nav a { font-size: 16px; padding: 0 12px; }
  .nav + .header__tools { margin-left: 24px; }
  .logo { font-size: 26px; }
}
@media (min-width: 1180px) { .nav ul { justify-content: space-evenly; gap: 8px; } .nav { margin-left: 24px; } }

/* quiz result: a route — request today → the main solution → the backup as an optional next step */
.qroute { border-radius: 24px; padding: clamp(24px, 3.4vw, 40px); color: var(--white); --focus: var(--blue-light);
  background: radial-gradient(70% 120% at 85% 0%, rgba(91, 96, 255, .35), transparent 60%), linear-gradient(180deg, #0D1018, var(--dusk)); }
.qroute__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.qroute__chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(127, 179, 255, .18); color: var(--blue-light); font-size: 13.5px; font-weight: 700; }
.qroute__name { margin: 10px 0 0; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.08; letter-spacing: -.035em; }
.qroute__price { margin: 0; text-align: right; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.qroute__price small { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0; color: #A9B1CC; }
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: route; }
.route__step { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.route__step::before { counter-increment: route; content: counter(route); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; margin-bottom: 14px; background: linear-gradient(135deg, var(--blue), var(--violet)); font-size: 14px; font-weight: 800; }
.route__step:not(:last-child)::after { content: ''; position: absolute; top: 37px; right: -14px; width: 14px; height: 2px; background: rgba(127, 179, 255, .5); }
.route__step b { font-size: 17px; line-height: 1.3; margin-bottom: 6px; }
.route__step span { color: #C9D0E6; font-size: 15px; line-height: 1.5; }
.route__step small { margin-top: auto; padding-top: 12px; color: var(--blue-light); font-size: 13.5px; font-weight: 700; }
.route__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--white); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.route__more .i-arrow { width: 16px; height: 16px; }
.qroute__bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; margin-top: 28px; }
.qroute__alt { margin-left: auto; color: #A9B1CC; font-size: 15px; }
.qroute__alt a { color: var(--white); font-weight: 700; }
@media (max-width: 767px) {
  .route { grid-template-columns: 1fr; }
  .route__step:not(:last-child)::after { top: auto; bottom: -14px; right: auto; left: 36px; width: 2px; height: 14px; }
  .qroute__price { text-align: left; }
  .qroute__bottom .btn { width: 100%; justify-content: center; }
  .qroute__alt { margin-left: 0; }
}

/* mentor page: the phone fills the screen height, like the phone on the home page */
@media (min-width: 768px) {
  .msim-page { padding: 16px 0; }
  .mphone { --ph: max(560px, calc(100svh - var(--header-h) - 32px)); }
}

/* trainer start screen: the start button is centred with the intro, the bottom panel stays hidden */
.tr-panel:empty { display: none; }
.tr-start { margin-top: 4cqw; font-weight: 700; }

/* trainers: what is at stake, the money effect of a reply, the loss calculation */
.tr-log .m--stake { align-self: center; padding: 1.6cqw 3.2cqw; border-radius: 999px; background: rgba(255, 196, 120, .12); color: #FFD9A8; font-size: clamp(10px, 3.3cqw, 13px); font-weight: 700; text-align: center; }
.m__delta { display: block; margin-top: 2px; font-style: normal; font-weight: 800; letter-spacing: 0; text-transform: none; }
.m__delta--good { color: #8BE6BE; } .m__delta--bad { color: #FFC478; } .m__delta--ok { color: var(--blue-light); }
.tr-calc { margin-top: 3cqw !important; padding: 3cqw; border-radius: 3.6cqw; background: rgba(255, 196, 120, .1); color: #FFE2BD; text-align: left; }
.msg--stake { align-self: center; max-width: none; }
.msg--stake .msg__bubble { padding: 5px 14px; border-radius: 999px; background: rgba(255, 196, 120, .12); box-shadow: none; color: #FFD9A8; font-size: 14px; font-weight: 700; }
.msg__calc { display: block; margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 196, 120, .1); color: #FFE2BD; }

/* mentor page: tariffs under the demo */
.mtariffs { padding: clamp(40px, 6vw, 72px) 0; color: var(--white); }
.mtariffs .h2 { color: var(--white); }
.mtariffs__lead { margin: 8px 0 24px; color: #A9B1CC; font-size: 17px; }
.mtariffs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.mtariff { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 18px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.mtariff__name { color: #C9D0E6; font-size: 15px; line-height: 1.4; }
.mtariff__price { font-size: 24px; letter-spacing: -.02em; }

/* technical services: partner label */
.gsec__partner, .phero__partner { display: inline-block; margin: 12px 0 0; padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.gsec__partner { background: rgba(91, 96, 255, .1); color: #3F45D9; }
.phero__partner { background: rgba(127, 179, 255, .14); color: var(--blue-light); }
.mtariffs { background: linear-gradient(180deg, var(--dusk), #0D1018); }

/* mentor tariffs: one card per plan (who, what you get, daily and monthly limits) + the pilot banner */
.mtariffs__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.mtariff { gap: 12px; padding: 26px; }
.mtariff__name { margin: 0; font-size: 22px; letter-spacing: -.02em; color: var(--white); }
.mtariff__price { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.mtariff__who { margin: 0; color: var(--blue-light); font-size: 15px; font-style: italic; line-height: 1.45; }
.mtariff__text { margin: 0; color: #C9D0E6; font-size: 15.5px; line-height: 1.55; }
.mtariff__limits { margin: auto 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 8px; font-size: 14.5px; }
.mtariff__limits dt { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8E97B3; }
.mtariff__limits dd { margin: 2px 0 0; color: #E3E7F5; }
.mpilot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 28px; border-radius: 20px; background: linear-gradient(135deg, rgba(36, 107, 255, .32), rgba(91, 96, 255, .22)); box-shadow: inset 0 0 0 1px rgba(127, 179, 255, .35); }
.mpilot > div:first-child { max-width: 640px; }
.mpilot__who { margin: 0 0 4px; color: var(--blue-light); font-weight: 700; }
.mpilot__name { margin: 0 0 8px; font-size: 24px; letter-spacing: -.02em; color: var(--white); }
.mpilot p:last-child { margin: 0; color: #DCE1F0; }
.mpilot__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mtariffs__note { margin: 20px 0 0; color: #8E97B3; font-size: 14px; max-width: 80ch; }
@media (max-width: 599px) { .mpilot__actions .btn { width: 100%; justify-content: center; } }
/* five plans: three in the first row, the two team plans share the second row */
@media (min-width: 1000px) {
  .mtariffs__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .mtariff { grid-column: span 2; }
  .mtariff:nth-child(n + 4) { grid-column: span 3; }
}

/* home services panel: group headers and phone chips are buttons that jump to the group */
.svcpin__grp .svcpin__ghead { width: 100%; justify-content: flex-start; gap: 14px; padding: 14px 18px; border-radius: 20px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.svcpin__grp .svcpin__ghead:hover { background: rgba(255, 255, 255, .55); }
.svcpin__grp.is-open .svcpin__ghead:hover { background: none; }
.svcpin__gname { flex: 1; }
.svcpin__chips button { background: none; font-family: inherit; cursor: pointer; }
.svcpin__chips button.is-on { background: var(--ink); }
/* home mentor section without a demo video: the tariffs card spans the row, plans in columns */
.mentor-row--solo { grid-template-columns: 1fr; }
@media (min-width: 900px) { .mentor-row--solo .tariffs__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); column-gap: 32px; } }
@media (min-width: 900px) {
  .mentor-row--solo .tariffs__list li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .mentor-row--solo .tariffs__list strong { font-size: 20px; white-space: nowrap; }
  .mentor-row--solo .tariffs__actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .mentor-row--solo .tariffs__actions .btn { width: auto; }
}
/* footer mark: the variable font's glyphs are built from overlapping contours, so a plain text stroke
   draws their seams inside a, n, B. Paint the stroke first and cover its inner half with the background colour. */
.footer__mark { color: var(--dark); -webkit-text-stroke: 2px rgba(127, 179, 255, .35); paint-order: stroke fill; }

/* phones & tablets pass (10.2026) */
/* the pinned button hides over the footer, so no white strip under it */
@media (max-width: 767px) { .footer { padding-bottom: 24px; } }
/* arrow links: a larger invisible hit area, the underline stays under the text */
.link-arrow { position: relative; }
.link-arrow::before { content: ''; position: absolute; inset: -9px -6px; }
/* small uppercase labels a touch larger */
.badge-soon, .mtariff__limits dt, .agent__dl dt, .step__key { font-size: 12.5px; }
/* contact page on phones: the empty "you chose: —" box only pushes the form down */
@media (max-width: 899px) { .contact__aside .ctx[data-ctx="unknown"] { display: none; } }
/* tablets: an odd last tariff takes the full row */
@media (min-width: 700px) and (max-width: 999px) { .mtariff:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* below desktop the pinned "pilot" button would sit on the phone; the same buttons follow in the tariffs block */
@media (max-width: 1179px) { .msim__cta { display: none; } .msim-page { padding-bottom: 28px; } }
/* tablets (portrait): buttons at their natural width, and a story phone that leaves room for the service card */
@media (min-width: 600px) and (max-width: 999px) {
  .hero__actions .btn { width: auto; }
  .scene__copy > p { max-width: 52ch; }
  .phone { height: calc(100svh - var(--header-h) - 470px); min-height: 420px; }
  .story.is-hero .phone { height: calc(100svh - var(--header-h) - 520px); }
}
/* phones and tablets: the story phone sits right under the copy and ends above the service card,
   so the chat is not hidden behind the card */
@media (max-width: 999px) {
  .story--live .stage__phone { align-self: start; place-items: start center; }
}
@media (max-width: 999px) {
  /* sizes measured by story.js: the tallest scene copy and the room left above the service card */
  .story--live:not(.is-hero) .stage__copy { min-height: var(--copy-h, 200px); }
  .story--live:not(.is-hero) .phone { height: var(--fit-h, calc(100svh - var(--header-h) - 300px)); min-height: 0; }
  /* first screen: the headline block as tall as it is, the phone fills the rest of the screen */
  .story--live.is-hero .stage__copy { min-height: var(--hero-copy-h, 372px); }
  .story--live.is-hero .phone { height: var(--hero-fit-h, calc(100svh - var(--header-h) - 470px)); min-height: 0; }
}

/* phones: the simulator phone is the centrepiece of every screen of the story */
@media (max-width: 599px) {
  .story--live .scene__h1 { font-size: clamp(27px, 7.6vw, 34px); line-height: 1.05; margin-bottom: 8px; }
  .story--live .scene--hero .scene__copy > p, .story--live .stage__copy .scene__copy:first-child > p { font-size: 15px; line-height: 1.45; margin-bottom: 12px; }
  .story--live .hero__actions { flex-wrap: nowrap; gap: 8px; }
  .story--live .hero__actions .btn { width: auto; flex: 1 1 0; min-height: 46px; padding: 0 10px; font-size: 14.5px; white-space: nowrap; }
  .story--live .hero__actions .btn .i-arrow { display: none; }
  .story--live .scene__h2 { font-size: clamp(22px, 6.4vw, 28px); }
  .story--live .scene__copy > p { font-size: 15px; margin-bottom: 0; }
  /* the service card becomes one slim row: name and price on the left, "more" on the right */
  .story--live .svc { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 12px 12px 12px 16px; border-radius: 18px; }
  .story--live .svc__label, .story--live .svc__text { display: none; }
  .story--live .svc__name { grid-column: 1; margin: 0 0 2px; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
  .story--live .svc__price { grid-column: 1; padding: 0; border: 0; font-size: 14px; gap: 8px; justify-content: flex-start; }
  .story--live .svc__price span:last-child { display: none; }
  .story--live .stage__answer .svc__actions { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .story--live .svc__actions .btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
}
/* short phones: a more compact service card */
@media (max-width: 999px) and (max-height: 720px) {
  .story--live .svc__label { display: none; }
  .story--live .svc { padding: 14px 16px; }
}
/* service card price line: the price never breaks; the note shrinks instead */
.svc__price { align-items: baseline; }
.svc__price span:first-child { white-space: nowrap; }
.svc__price span:last-child { font-size: 14px; }

/* ---------- agents landing: the home hero ---------- */
.phero--home { padding-top: 96px; }
.phero--home .h1--page { font-size: 64px; line-height: 68px; max-width: 16ch; }
.phero--home .phero__lead { font-size: 21px; max-width: 52ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 32px; margin: 56px 0 0; }
.facts div { border-top: 1px solid var(--line-dark); padding-top: 16px; }
.facts dt { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--white); }
.facts dd { margin: 6px 0 0; font-size: 15px; color: var(--muted-dark); }
@media (max-width: 767px) {
  .phero--home { padding-top: 48px; }
  .phero--home .h1--page { font-size: 38px; line-height: 42px; }
  .phero--home .phero__lead { font-size: 17px; }
  .facts { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .facts dt { font-size: 20px; }
}

/* ---------- home: the phone shows a Telegram chat with the PlanB bot (Telegram dark theme) ---------- */
.story--tg { --tg-bg: #0E1621; --tg-bar: #17212B; --tg-in: #182533; --tg-out: #2B5278; --tg-accent: #6AB2F2; --tg-muted: #6D7F8F; }
.story--tg .phone__ui, .story--tg .phone__trainer, .story--tg .scene__chat {
  background: radial-gradient(circle at 20% 30%, rgba(106, 178, 242, .05) 0 2px, transparent 3px) 0 0 / 26px 26px, var(--tg-bg);
}
.story--tg .phone__bar { background: var(--tg-bar); border-bottom-color: rgba(0, 0, 0, .35); }
.story--tg .phone__bar small { color: var(--tg-muted); }
.story--tg .phone__av, .story--tg.is-hero .phone__av { background: linear-gradient(135deg, #5B9DFF, var(--violet)); color: var(--white); }
.story--tg .m { color: #F5F7FA; font-weight: 400; }
.story--tg .m--bot { align-self: flex-start; background: var(--tg-in); border-radius: 16px; border-bottom-left-radius: 5px; border-bottom-right-radius: 16px; }
.story--tg .m--out { align-self: flex-end; background: var(--tg-out); border-radius: 16px; border-bottom-right-radius: 5px; }
.story--tg .m time { text-align: right; color: rgba(255, 255, 255, .55); opacity: 1; }
.story--tg .m--sys { align-self: center; background: rgba(0, 0, 0, .35); color: #DCE3EA; border-radius: 999px; padding: 3px 10px; font-weight: 500; text-align: center; }
.story--tg .m--kb { align-self: stretch; max-width: none; padding: 0; background: none; display: grid; gap: 4px; }
.story--tg .m--kb span { display: block; padding: 2.4cqw 3cqw; border-radius: 10px; background: rgba(24, 37, 51, .9); color: var(--tg-accent); font-weight: 600; text-align: center; }
.story--tg .scene__chat .m--kb span { padding: 8px 10px; }
.story--tg .phone__stack > .m--bot { transform-origin: bottom left; }
.story--tg .phone__stack > .m--typing.m--bot, .story--tg .tr-log .m--typing.m--bot { left: 0; right: auto; align-self: flex-start; background: var(--tg-in); color: var(--tg-muted); }
.story--tg .m--rec b { display: block; color: var(--tg-accent); margin-bottom: 1cqw; }
.story--tg .m--rec small { display: block; margin-top: 1.2cqw; color: var(--tg-muted); font-weight: 600; }
.story--tg .tr-panel { background: var(--tg-bar); border-top-color: rgba(0, 0, 0, .35); }
.story--tg .tr-btn { background: rgba(106, 178, 242, .08); border-color: rgba(106, 178, 242, .3); color: var(--tg-accent); text-align: center; }
.story--tg .tr-btn:hover { background: rgba(106, 178, 242, .16); border-color: var(--tg-accent); }
.story--tg .tr-btn--primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.story--tg .tr-intro { background: rgba(23, 33, 43, .9); }
.tr-ask { display: grid; gap: 2.4cqw; margin-top: 4cqw; }
.tr-input { width: 100%; padding: 3cqw 3.6cqw; border-radius: 3.6cqw; border: 1px solid rgba(255, 255, 255, .22); background: rgba(0, 0, 0, .25); color: var(--white); font: 500 clamp(12px, 4cqw, 15px)/1.3 var(--font); }
.tr-input::placeholder { color: var(--tg-muted, #8A97A6); }
.tr-input:focus { outline: 2px solid var(--blue-light); outline-offset: 1px; }
.story--tg .svc__text { margin-bottom: 0; }
.story--tg .svc .svc__price + .svc__actions, .story--tg .svc__price { margin-top: 16px; }

/* ---------- home: short list of agents — each card is a tiny Telegram chat; hover (or scrolling into view on touch) plays the agent's answer ---------- */
.aminis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.amini { position: relative; display: flex; flex-direction: column; min-height: 214px; height: 100%; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--white); background: var(--tg-bg, #0E1621); border: 1px solid rgba(255, 255, 255, .08); --focus: var(--blue-light); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.amini::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.2px); background-size: 14px 14px; pointer-events: none; }
.amini__bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--tg-bar, #17212B); border-bottom: 1px solid rgba(0, 0, 0, .35); }
.amini__av { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.amini__who { min-width: 0; display: flex; flex-direction: column; }
.amini__who strong { font-size: 15px; line-height: 1.2; letter-spacing: -.01em; }
.amini__who small { font-size: 12px; color: var(--tg-muted, #6D7F8F); transition: color .3s; }
.amini__who small::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--tg-muted, #6D7F8F); margin-right: 6px; vertical-align: 1px; transition: background .3s, box-shadow .3s; }
.amini__price { margin-left: auto; flex: none; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .08); white-space: nowrap; }
.amini__chat { position: relative; flex: 1; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.amini__bbl { max-width: 88%; padding: 8px 11px; border-radius: 14px; font-size: 13.5px; line-height: 1.35; opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.amini__bbl--out { align-self: flex-end; background: var(--tg-out, #2B5278); border-bottom-right-radius: 4px; }
.amini__bbl--in { align-self: flex-start; background: var(--tg-in, #182533); border-bottom-left-radius: 4px; transition-delay: .9s; }
.amini__typing { position: absolute; left: 14px; bottom: 12px; display: flex; gap: 4px; padding: 10px 12px; border-radius: 14px; border-bottom-left-radius: 4px; background: var(--tg-in, #182533); opacity: 0; }
.amini__typing i { width: 6px; height: 6px; border-radius: 50%; background: #9FB0C0; animation: aminiDot 1s infinite; }
.amini__typing i:nth-child(2) { animation-delay: .15s; }
.amini__typing i:nth-child(3) { animation-delay: .3s; }
.amini__idle { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 2px; text-align: center; padding: 12px; color: var(--tg-muted, #6D7F8F); font-size: 13px; transition: opacity .25s; }
.amini__idle b { display: block; color: var(--white); font-size: 15px; font-weight: 700; }
.amini:hover, .amini:focus-visible { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(10, 13, 18, .6); border-color: rgba(127, 179, 255, .5); }
.amini.is-open, .amini:hover, .amini:focus-visible { --play: 1; }
.amini.is-open .amini__who small, .amini:hover .amini__who small, .amini:focus-visible .amini__who small { color: #5BD37A; }
.amini.is-open .amini__who small::before, .amini:hover .amini__who small::before, .amini:focus-visible .amini__who small::before { background: #5BD37A; box-shadow: 0 0 0 3px rgba(91, 211, 122, .25); }
.amini.is-open .amini__bbl, .amini:hover .amini__bbl, .amini:focus-visible .amini__bbl { opacity: 1; transform: none; }
.amini.is-open .amini__typing, .amini:hover .amini__typing, .amini:focus-visible .amini__typing { animation: aminiTyping 1s steps(1) both; }
.amini.is-open .amini__idle, .amini:hover .amini__idle, .amini:focus-visible .amini__idle { opacity: 0; }
@keyframes aminiDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes aminiTyping { 0% { opacity: 0; } 25% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; } }
/* arriving from the home page with #id: the chosen agent lights up in the catalogue */
.apipe.is-target { animation: agentTarget 2.4s var(--ease) both; }
@keyframes agentTarget { 0% { box-shadow: 0 0 0 0 rgba(36, 107, 255, 0); } 15%, 70% { box-shadow: 0 0 0 4px var(--blue), 0 24px 48px -24px rgba(36, 107, 255, .6); } 100% { box-shadow: 0 0 0 2px var(--blue); } }
@media (prefers-reduced-motion: reduce) { .amini, .amini__bbl, .amini__idle { transition: none; } .amini__typing i, .apipe.is-target { animation: none; } .apipe.is-target { box-shadow: 0 0 0 2px var(--blue); } }
@media (max-width: 599px) { .aminis { grid-template-columns: 1fr 1fr; gap: 8px; } .amini { min-height: 150px; border-radius: 14px; } .amini__bar { padding: 10px; gap: 8px; } .amini__av { width: 28px; height: 28px; font-size: 12px; } .amini__who strong { font-size: 13px; } .amini__price { display: none; } .amini__chat { padding: 10px; } .amini__bbl { font-size: 12px; max-width: 94%; } .amini__idle { font-size: 12px; } .amini__idle b { font-size: 13px; } }

/* ---------- home: the agents block lights up — a glowing line sweeps down and reveals the white, the title slides in word by word, the cards stand up behind the line ---------- */
.sweep { position: relative; background: var(--dark); }
.sweep__white { position: absolute; inset: 0; background: var(--white); }
.sweep__line { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3; opacity: 0; transform: scaleX(0); pointer-events: none; background: linear-gradient(90deg, transparent, var(--blue-light) 20%, var(--white) 50%, var(--blue-light) 80%, transparent); box-shadow: 0 0 24px 6px rgba(127, 179, 255, .65), 0 0 80px 20px rgba(36, 107, 255, .35); }
.sweep__content { position: relative; z-index: 2; perspective: 1200px; }
.sweep .h2 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.sweep .h2 .w > span { display: inline-block; }
.sweep .aminis { transform-style: preserve-3d; }
.sweep .amini { transform-origin: 50% 0; }
/* armed by app.js only when the block is below the fold and motion is allowed: hide, then play once it scrolls in */
.sweep.is-armed .sweep__white { clip-path: inset(0 0 100% 0); }
.sweep.is-armed .h2 .w > span { transform: translateY(110%); }
.sweep.is-armed .section__lead, .sweep.is-armed .section__more { opacity: 0; transform: translateY(16px); }
.sweep.is-armed .amini { opacity: 0; transform: rotateX(-40deg) translateY(40px); filter: blur(3px); }
.sweep.is-on .sweep__line { animation: sweepLineGrow .6s var(--ease) both, sweepLineDown 1.3s cubic-bezier(.65, 0, .35, 1) .45s both, sweepLineOut .4s ease 1.75s both; }
.sweep.is-on .sweep__white { animation: sweepWhite 1.3s cubic-bezier(.65, 0, .35, 1) .45s both; }
.sweep.is-on .h2 .w > span { animation: sweepWord .7s var(--ease) both; }
.sweep.is-on .h2 .w:nth-child(2) > span { animation-delay: .08s; }
.sweep.is-on .h2 .w:nth-child(3) > span { animation-delay: .16s; }
.sweep.is-on .h2 .w:nth-child(4) > span { animation-delay: .24s; }
.sweep.is-on .h2 .w:nth-child(5) > span { animation-delay: .32s; }
.sweep.is-on .h2 .w:nth-child(n+6) > span { animation-delay: .4s; }
.sweep.is-on .section__lead { animation: sweepRise .6s var(--ease) .55s both; }
.sweep.is-on .amini { animation: sweepStand .8s var(--ease) both; animation-delay: calc(.75s + var(--i, 0) * .07s); }
.sweep.is-on .aminis li:nth-child(2) .amini { --i: 1; } .sweep.is-on .aminis li:nth-child(3) .amini { --i: 2; } .sweep.is-on .aminis li:nth-child(4) .amini { --i: 3; } .sweep.is-on .aminis li:nth-child(5) .amini { --i: 4; }
.sweep.is-on .aminis li:nth-child(6) .amini { --i: 5; } .sweep.is-on .aminis li:nth-child(7) .amini { --i: 6; } .sweep.is-on .aminis li:nth-child(8) .amini { --i: 7; } .sweep.is-on .aminis li:nth-child(9) .amini { --i: 8; } .sweep.is-on .aminis li:nth-child(n+10) .amini { --i: 9; }
.sweep.is-on .section__more { animation: sweepRise .6s var(--ease) 1.7s both; }
/* while the entrance plays the hover transform must not fight the keyframes */
.sweep.is-on .amini:hover { transform: none; }
.sweep.is-done .amini { animation: none; opacity: 1; transform: none; filter: none; }
.sweep.is-done .amini:hover, .sweep.is-done .amini:focus-visible { transform: translateY(-4px); }
@keyframes sweepLineGrow { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes sweepLineDown { from { top: 0; } to { top: 100%; } }
@keyframes sweepLineOut { to { opacity: 0; } }
@keyframes sweepWhite { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sweepWord { from { transform: translateY(110%); } to { transform: none; } }
@keyframes sweepRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes sweepStand { 0% { opacity: 0; transform: rotateX(-40deg) translateY(40px); filter: blur(3px); } 60% { filter: blur(0); } 100% { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) { .sweep__line { display: none; } .sweep .sweep__white, .sweep .h2 .w > span, .sweep .section__lead, .sweep .section__more, .sweep .amini { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; animation: none !important; } }

/* ======================================================================
   «Як ми запускаємо агента»: 3D deck. Without JS (or with reduced motion)
   the steps are a plain list of dark cards; app.js adds .is-live and then
   drives each card from the scroll position of a pinned stage.
   ====================================================================== */
.howdeck { background: radial-gradient(70% 60% at 75% 40%, rgba(91, 96, 255, .28), transparent 60%), linear-gradient(180deg, var(--dusk), var(--dark)); color: var(--white); }
.howdeck__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.howdeck__lead { color: var(--muted-dark); }
.howdeck__big, .howdeck__dots { display: none; }
.howdeck__deck { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.howdeck__card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 28px 32px; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #282E5C, #12152A); border: 1px solid rgba(140, 148, 255, .28); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .12); }
.howdeck__card > * { position: relative; z-index: 1; opacity: var(--fade, 1); }
.howdeck__num { font-size: 15px; font-weight: 800; color: var(--blue-light); letter-spacing: .1em; text-transform: uppercase; }
.howdeck__card strong { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; max-width: 20ch; }
.howdeck__who { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted-dark); }
.howdeck__who::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px var(--violet); }

.howdeck.is-live { height: 440vh; padding: 0; }
.howdeck.is-live .howdeck__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; padding-top: var(--header-h); overflow: hidden; }
.howdeck.is-live .howdeck__big { display: block; margin-top: 36px; height: 150px; overflow: hidden; font-size: 150px; line-height: 150px; font-weight: 800; letter-spacing: -.06em; }
.howdeck__roll { display: block; transform: translateY(calc(var(--n, 0) * -150px)); transition: transform .7s var(--ease); }
.howdeck__roll > span { display: block; }
.howdeck.is-live .howdeck__dots { display: flex; gap: 8px; margin-top: 18px; }
.howdeck__dots i { width: 36px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); transition: background .4s; }
.howdeck__dots i.is-on { background: var(--violet); }
.howdeck.is-live .howdeck__deck { display: block; position: relative; height: 340px; perspective: 1400px; perspective-origin: 50% 20%; }
.howdeck.is-live .howdeck__card { position: absolute; inset: 0; margin: auto; height: 260px; transform-origin: 50% 100%; will-change: transform, opacity; opacity: 0; }
/* a light streak crosses the card as it lands */
.howdeck.is-live .howdeck__card::after { content: ''; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 42%, rgba(160, 168, 255, .22) 50%, transparent 58%); transform: translateX(var(--shine, -60%)); }
@media (max-width: 899px) {
  .howdeck__grid { grid-template-columns: 1fr; gap: 24px; }
  .howdeck__card { padding: 22px 24px; }
  .howdeck__card strong { font-size: 21px; }
  .howdeck.is-live .howdeck__big { display: none; }
  .howdeck.is-live .howdeck__stage { align-content: center; }
  .howdeck.is-live .howdeck__deck { height: 250px; margin-top: 12px; }
  .howdeck.is-live .howdeck__card { height: 200px; }
}
@media (max-width: 899px) and (max-height: 760px) { .howdeck.is-live .howdeck__lead { font-size: 15px; margin-top: 10px; } .howdeck.is-live .h2 { font-size: 26px; line-height: 1.15; } }

/* Home finale: the way into the Telegram bot, continuing the dark «how» deck */
.botcta { background: radial-gradient(45% 60% at 50% 55%, rgba(91, 96, 255, .26), transparent 70%), var(--dark); color: var(--white); text-align: center; }
/* 440vh is rarely a whole number of pixels; overlap the seam so the white page never shows through */
.howdeck + .botcta { margin-top: -1px; }
.botcta__inner { display: grid; justify-items: center; gap: 20px; padding-top: 24px; padding-bottom: 24px; }
.botcta__lead { margin: 0; max-width: 52ch; font-size: 19px; color: var(--muted-dark); }
.botcta__btn { margin-top: 8px; }
.botcta__btn svg { flex: none; }
.botcta__btn.is-soon, .botcta__btn.is-soon:hover { cursor: default; background: var(--blue); color: var(--white); }
.botcta__btn em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .2); }
@media (max-width: 767px) { .botcta__lead { font-size: 17px; } .botcta__btn { width: 100%; } }

/* ======================================================================
   Header «Islands»: logo, menu + languages and the Telegram button are
   three separate glass islands. At the top of the page the bar keeps the
   dark background of the first screen; once the page scrolls (app.js adds
   .is-scrolled) the background goes away and the islands float.
   ====================================================================== */
.header { background: var(--dark); border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color .3s; }
.header.is-scrolled { background: transparent; }
.header__inner { justify-content: space-between; gap: 12px; }
.island { display: flex; align-items: center; height: 56px; border-radius: 18px; background: rgba(18, 21, 42, .6); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 12px 40px -14px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .07); transition: background-color .3s; }
.header.is-scrolled .island { background: rgba(14, 16, 32, .85); }
.header .logo { gap: 10px; padding: 0 18px 0 12px; font-size: 22px; }
.logo__mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(145deg, #2A2F66, #12152A); border: 1px solid rgba(140, 148, 255, .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); font-size: 16px; font-weight: 800; color: var(--blue-light); letter-spacing: 0; }
.header__mid { padding: 0 6px; gap: 2px; }
.header .nav { flex: none; margin: 0; }
.header .nav ul { gap: 2px; justify-content: flex-start; }
.header .nav a { min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: 15px; color: rgba(255, 255, 255, .75); }
.header .nav a:hover { background: rgba(255, 255, 255, .07); color: var(--white); }
.header .nav a[aria-current] { background: rgba(255, 255, 255, .12); color: var(--white); }
.header__sep { width: 1px; height: 22px; margin: 0 6px; background: rgba(255, 255, 255, .12); }
.header .lang { gap: 0; padding: 0; border: 0; border-radius: 0; }
.header .lang__link { min-width: 0; min-height: 44px; padding: 0 9px; border-radius: 12px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.header .lang__link:hover { background: rgba(255, 255, 255, .07); color: var(--white); }
.header .lang__link[aria-current] { background: transparent; color: var(--white); }
.header__cta { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; margin-right: 5px; border-radius: 14px; white-space: nowrap; text-decoration: none; font-size: 15px; font-weight: 700; color: var(--white); background: linear-gradient(180deg, #3B7BFF, #1F5FE6); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .25); transition: filter .2s, transform .2s var(--ease); }
.header__cta:hover { filter: brightness(1.08); }
.header__cta:active { transform: scale(.97); }
.header__cta svg { width: 18px; height: 18px; flex: none; }
.header .menu-btn { height: 56px; min-height: 0; padding: 0 16px; border-radius: 18px; }
@media (min-width: 1180px) { .header .menu-btn { display: none; } }
@media (max-width: 1179px) {
  .header .nav, .header__sep, .header__cta { display: none; }
  .header__mid { margin-left: auto; }
  .header .menu-btn { display: inline-flex; }
}
@media (max-width: 767px) {
  .island, .header .menu-btn { height: 48px; border-radius: 15px; }
  .header .logo { font-size: 20px; padding: 0 14px 0 9px; }
  .logo__mark { width: 28px; height: 28px; }
  .header .lang__link { padding: 0 7px; min-height: 40px; }
  .header .menu-btn { padding: 0 13px; }
}
@media (max-width: 380px) { .header .menu-btn { font-size: 0; gap: 0; } .header .logo { letter-spacing: -.03em; } }

/* /how/: step time on the deck cards, the stage-by-stage breakdown and what the price includes */
.howdeck__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.howdeck__time { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--white); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); white-space: nowrap; }

.stages__head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: end; margin-bottom: 40px; }
.stages__lead { margin: 0; font-size: 19px; color: var(--ink-soft); max-width: 44ch; justify-self: end; }
.stages__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.stage-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) 300px; gap: 20px 40px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.stage-row__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.stage-row__n { font-size: 56px; line-height: .9; font-weight: 800; letter-spacing: -.05em; color: var(--violet); }
.stage-row__time { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--sand); color: var(--ink); }
.stage-row__title { margin: 0 0 10px; font-size: 24px; line-height: 1.25; letter-spacing: -.02em; }
.stage-row__text { margin: 0 0 18px; font-size: 17px; color: var(--ink-soft); max-width: 62ch; }
.stage-row__facts { margin: 0; display: grid; gap: 10px; align-content: start; }
.stage-row__facts div { padding: 16px 18px; border-radius: 16px; background: var(--sand); }
.stage-row__facts div.is-result { background: var(--dusk); color: var(--white); }
.stage-row__facts dt { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); margin-bottom: 6px; }
.stage-row__facts .is-result dt { color: var(--blue-light); }
.stage-row__facts dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }

.howprice .h2 { margin-bottom: 32px; }
.howprice__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
.howprice__card { padding: 28px; border-radius: 22px; background: var(--white); }
.howprice__card--dark { color: var(--white); background: radial-gradient(80% 120% at 100% 0%, rgba(91, 96, 255, .3), transparent 60%), linear-gradient(180deg, #161A33, #0A0D12); }
.howprice__label { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-light); }
.howprice__sum { margin: 6px 0 22px; font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.howprice__sum--sm { font-size: 24px; }
.howprice__note { margin: 6px 0 0; font-size: 15px; color: var(--muted-dark); }
.howprice__h { margin: 0 0 18px; font-size: 20px; }

@media (max-width: 999px) {
  .stage-row { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .stage-row__head { flex-direction: row; align-items: center; gap: 14px; }
  .stage-row__n { font-size: 40px; }
  .howprice__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .stages__head { grid-template-columns: 1fr; margin-bottom: 24px; }
  .stages__lead { justify-self: start; font-size: 17px; }
  .stage-row__title { font-size: 20px; }
  .howdeck__time { font-size: 12px; padding: 4px 9px; }
}

/* Logo: A→B switch + «Plan B» in Syne */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { display: block; width: auto; height: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.logo__mark svg { display: block; width: 46px; height: 25px; }
.logo__word { font-family: 'Syne', 'Manrope', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.logo__word b { font-weight: 800; color: var(--blue-light); }
.header .logo { gap: 10px; padding: 0 18px 0 14px; font-size: inherit; }
@media (min-width: 768px) { .header .logo__word { font-size: 25px; } .header .logo__mark svg { width: 50px; height: 27px; } }
.logo--footer .logo__word { font-size: 26px; }
.logo--footer .logo__mark svg { width: 54px; height: 29px; }
@media (max-width: 767px) {
  .header .logo { padding: 0 13px 0 10px; gap: 8px; }
  .logo__word { font-size: 18px; }
  .logo__mark svg { width: 38px; height: 21px; }
}
/* the huge outlined word at the bottom of the footer matches the logo */
.footer__mark { font-family: 'Syne', 'Manrope', sans-serif; font-size: clamp(56px, 15vw, 220px); letter-spacing: -.01em; }
/* the switch never shrinks; on narrow phones the menu button keeps only its icon (the word stays for screen readers) */
.logo__mark, .logo__mark svg { flex: none; }
@media (max-width: 479px) {
  .header .menu-btn { font-size: 0; gap: 0; width: 48px; padding: 0; justify-content: center; }
  .header__inner { gap: 8px; }
}

/* Home story on tablets (700–999px): two columns — copy above the service card on the left, a full-height
   phone on the right — instead of the phone layout, where the phone shrank to a strip between them and the
   final zoom had to blow it up 2–2.5× */
@media (min-width: 700px) and (max-width: 999px) {
  .story--live .stage { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; grid-template-areas: "copy phone" "answer phone";
    align-content: center; column-gap: clamp(24px, 4vw, 40px); row-gap: 18px; padding: calc(var(--header-h) + 12px) var(--gutter) 24px; }
  .story--live .stage__copy { grid-area: copy; align-self: end; }
  /* one height for the hero and the scenes, so the grid (and the phone in it) never shifts between them */
  .story--live .stage__copy, .story--live.is-hero .stage__copy, .story--live:not(.is-hero) .stage__copy { min-height: 400px; }
  .story--live .stage__copy .scene__copy { top: auto; bottom: 0; transform: none; }
  .story--live .stage__phone { grid-area: phone; align-self: center; }
  .story--live .phone, .story--live.is-hero .phone, .story--live:not(.is-hero) .phone { height: min(calc(100svh - var(--header-h) - 60px), 800px); min-height: 0; align-self: center; }
  .story--live .stage__answer { grid-area: answer; position: relative; left: auto; right: auto; bottom: auto; min-height: 220px; align-self: start; }
  .story--live .stage__answer .svc { top: 0; bottom: auto; }
  .story--live .stage__answer .svc__text { display: block; }
  .scene__h1 { font-size: clamp(32px, 4.8vw, 42px); }
  .scene__h2 { font-size: clamp(24px, 3.6vw, 30px); }
}
/* /how/ deck: cards pushed back into the stack darken under a layer (opacity only — cheap on tablets) */
.howdeck.is-live .howdeck__card::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: #05070C; opacity: var(--dim, 0); pointer-events: none; }
/* home agent cards: «hover to see» only where there is a mouse; touch screens play them on scroll */
.amini__hint--touch { display: none; }
.is-touch .amini__hint { display: none; } .is-touch .amini__hint--touch { display: inline; }

/* Touch screens (phones, tablets): the same motion, made cheap for mobile GPUs —
   stacked cards are plain sticky layers (no per-frame scale/darkening, no extra layers),
   the dashed wires stand still while the light dots keep running, and the header islands
   use a solid background instead of blurring the page under them (html.is-touch is set by app.js) */
.is-touch .apipes.is-stacked .apipe { transform: none; will-change: auto; }
.is-touch .apipes.is-stacked .apipe::after { display: none; }
.is-touch .apipe__wire { animation: none; }
.is-touch .island, .is-touch .header.is-scrolled .island { background: rgba(16, 19, 38, .95); backdrop-filter: none; -webkit-backdrop-filter: none; }
/* Phone story on touch screens: no blur filters anywhere in the scroll-driven scene — phones re-render
   blurs every frame (lock-screen glass, the shadow and the ground under the lying phone, the copy swap) */
.is-touch .phone__notif { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .2); }
.is-touch .phone-shadow { filter: none; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, 0)); }
.is-touch .phone__ground { filter: none; background: radial-gradient(closest-side, rgba(0, 0, 0, .85), rgba(0, 0, 0, 0)); }
.is-touch .stage__copy .scene__copy > *, .is-touch .stage__copy .scene__copy.is-out > *, .is-touch .stage__copy .scene__copy.is-on > *,
.is-touch .stage__answer .svc, .is-touch .stage__answer .svc.is-out, .is-touch .stage__answer .svc.is-on { filter: none; }
/* Phones: the hero (headline + buttons) leaves less room for the phone than the scenes do; when the story
   switches between them the sizes change at once and story.js glides the phone over with a transform
   (heroSwitch) — transitions on min-height/height re-ran layout every frame and the scroll stuttered */
