:root {
  --paper: #faf8f3;
  --bone: #f3f0e8;
  --navy: #13233a;
  --navy-deep: #071b31;
  --ink: #101820;
  --cobalt: #315cff;
  --cobalt-hover: #244de5;
  --lime: #c9f36b;
  --lime-strong: #a8d900;
  --border: #d9d7d0;
  --border-dark: rgba(255, 255, 255, .2);
  --muted: #66707d;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1392px;
  --header-h: 82px;
  --focus: 0 0 0 4px rgba(49, 92, 255, .3);
  --ease: 180ms cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
body { margin: 0; color: var(--navy); background: var(--paper); font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif; font-size: 18px; line-height: 1.5; text-rendering: optimizeLegibility; }
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
.ui-icon { display: block; flex: 0 0 auto; width: 24px; height: 24px; object-fit: contain; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, blockquote { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { margin-bottom: 28px; font-size: clamp(56px, 5vw, 80px); line-height: .98; letter-spacing: -.055em; }
h2 { margin-bottom: 24px; font-size: clamp(42px, 3.8vw, 60px); line-height: 1.02; letter-spacing: -.045em; }
h3 { font-size: clamp(24px, 2vw, 32px); line-height: 1.1; letter-spacing: -.025em; }
p { margin-bottom: 20px; }

:focus-visible { outline: none; box-shadow: var(--focus); }
::selection { color: var(--navy); background: var(--lime); }

.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 14px; background: var(--paper); color: var(--navy); transform: translateY(-150%); border: 1px solid var(--navy); text-decoration: none; }
.skip-link:focus { transform: none; }
.container { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
.section { position: relative; padding: 116px 0; }
.section--paper { background: var(--paper); }
.section--bone { background: var(--bone); }
.section--navy { color: var(--paper); background: var(--navy-deep); }
.section-heading { max-width: 960px; margin-bottom: 52px; }
.section-heading > p:last-child { max-width: 720px; color: var(--muted); font-size: 20px; }
.section-heading--light > p:last-child { color: rgba(255, 255, 255, .68); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--cobalt); font-size: 14px; line-height: 1.2; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.eyebrow--lime { color: var(--lime-strong); }
.section--navy .eyebrow--lime { color: var(--lime); }
.lead { max-width: 720px; color: #26364a; font-size: 21px; line-height: 1.46; }

.button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; padding: 14px 26px; border: 1px solid transparent; border-radius: 8px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: color var(--ease), background var(--ease), border-color var(--ease), transform var(--ease); }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button--primary { color: #fff; background: var(--cobalt); }
.button--primary:hover { background: var(--cobalt-hover); }
.button--lime { color: var(--navy); background: var(--lime); }
.button--lime:hover { background: #bce94f; }
.button--paper { color: var(--cobalt); background: var(--paper); }
.button--paper:hover { background: #fff; }
.button--header { min-height: 48px; padding-inline: 22px; }
.text-link, .case-link, .telegram-link { display: inline-flex; gap: 18px; align-items: center; padding: 4px 0; border: 0; color: var(--cobalt); background: transparent; font-weight: 650; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; cursor: pointer; }
.text-link:hover, .case-link:hover, .telegram-link:hover { color: var(--cobalt-hover); }
.text-link--light { color: #6791ff; }
.text-link--light:hover { color: #9bb5ff; }
.text-link--large { font-size: 22px; }
.icon-arrow { width: 28px; height: 18px; }
.telegram-icon { width: 22px; height: 22px; }

/* Header */
.site-header { position: fixed; z-index: 100; top: 0; right: 0; left: 0; min-height: var(--header-h); border-bottom: 1px solid rgba(19, 35, 58, .12); background: rgba(250, 248, 243, .97); }
.header-inner { display: grid; min-height: var(--header-h); grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; }
.brand { display: inline-flex; gap: 12px; align-items: center; font-weight: 800; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; }
.brand-mark-image { width: 42px; height: 42px; }
.desktop-nav { display: flex; gap: clamp(22px, 3vw, 46px); align-items: center; justify-content: center; }
.desktop-nav a { position: relative; font-size: 16px; font-weight: 600; text-decoration: none; }
.desktop-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--cobalt); content: ""; transform: scaleX(0); transform-origin: left; transition: transform var(--ease); }
.desktop-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 18px; align-items: center; }
.header-phone { font-size: 15px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--navy); border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: transform var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 99; top: var(--header-h); right: 0; left: 0; padding: 24px 18px calc(28px + env(safe-area-inset-bottom)); border-bottom: 1px solid var(--border); background: var(--paper); }
.mobile-menu nav { display: grid; margin-bottom: 24px; }
.mobile-menu nav a { padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 26px; font-weight: 700; text-decoration: none; }
.mobile-menu-phone { display: block; margin-bottom: 16px; font-weight: 700; text-decoration: none; }
.mobile-menu .button { width: 100%; }

/* Hero */
.hero { min-height: 900px; padding-top: calc(var(--header-h) + 96px); padding-bottom: 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .75fr); gap: clamp(50px, 7vw, 112px); align-items: center; }
.hero-copy { padding-bottom: 10px; }
.hero-actions { display: flex; gap: 28px; align-items: center; margin-top: 34px; }
.hero-notes { display: grid; gap: 16px; max-width: 690px; margin: 38px 0 0; padding: 28px 0 0; border-top: 1px solid var(--border); list-style: none; font-size: 16px; }
.hero-notes li { display: flex; gap: 14px; align-items: center; }
.note-icon { display: grid; flex: 0 0 auto; width: 30px; height: 30px; place-items: center; }
.note-icon .ui-icon { width: 30px; height: 30px; }
.note-icon--shield, .note-icon--shield .ui-icon { width: 34px; height: 34px; }
.hero-media { align-self: end; }
.portrait-frame { max-width: 470px; margin-left: auto; overflow: hidden; border-radius: 18px; background: var(--bone); }
.portrait-frame img { width: 100%; height: auto; object-fit: cover; }
.hero-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 470px; margin: 18px 0 0 auto; font-size: 13px; }
.hero-roles span { padding: 0 14px; border-left: 2px solid var(--lime); }

/* Cases */
.cases { padding-top: 96px; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.case-card { display: flex; min-height: 610px; flex-direction: column; padding: 30px; border: 1px solid var(--border-dark); border-radius: 12px; background: rgba(16, 45, 74, .38); }
.case-label { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; font-size: 13px; font-weight: 800; }
.case-label span { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
.case-kpi { margin-bottom: 8px; color: rgba(255, 255, 255, .75); }
.case-result { display: flex; gap: 14px; align-items: baseline; margin-bottom: 2px; }
.case-result strong { color: var(--lime); font-size: clamp(46px, 4.2vw, 68px); line-height: 1; letter-spacing: -.05em; }
.case-result span { font-weight: 700; }
.case-period { color: rgba(255, 255, 255, .72); }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 10px 0 24px; padding: 24px 0; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); }
.case-metrics div { padding: 0 12px; border-right: 1px solid var(--border-dark); }
.metric-icon { width: 25px; height: 25px; margin-bottom: 9px; }
.case-metrics div:first-child { padding-left: 0; }
.case-metrics div:last-child { padding-right: 0; border-right: 0; }
.case-metrics span, .case-metrics strong { display: block; }
.case-metrics span { margin-bottom: 4px; color: rgba(255,255,255,.62); font-size: 12px; }
.case-metrics strong { color: #75a2ff; font-size: 13px; line-height: 1.35; }
.case-work { display: grid; flex: 1; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; margin-bottom: 24px; color: rgba(255,255,255,.78); font-size: 14px; }
.case-work-icon { width: 26px; height: 26px; margin-top: -2px; }
.case-link { justify-content: space-between; color: #5689ff; text-align: left; }
.section-cta--center { margin-top: 42px; text-align: center; }
.section-cta--center p { margin: 14px 0 0; color: rgba(255,255,255,.58); font-size: 14px; }

/* Problem */
.problem-intro { display: grid; grid-template-columns: minmax(360px, .76fr) minmax(620px, 1.24fr); gap: 56px; align-items: center; }
.customer-path { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; }
.customer-path li { position: relative; display: grid; gap: 9px; justify-items: center; padding: 0 8px; text-align: center; }
.customer-path li:not(:last-child)::after { position: absolute; z-index: 0; top: 71px; left: calc(50% + 42px); width: calc(100% - 82px); height: 1px; background: var(--cobalt); content: ""; }
.customer-path span { position: relative; z-index: 2; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #fff; background: var(--cobalt); font-size: 12px; font-weight: 800; }
.path-icon { position: relative; z-index: 1; width: 78px; height: 78px; }
.customer-path b { font-size: 14px; line-height: 1.2; }
.reason-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 42px; }
.reason-card { display: flex; gap: 24px; min-height: 150px; align-items: center; padding: 26px 30px; border: 1px solid var(--border); border-radius: 12px; }
.reason-card h3 { margin-bottom: 8px; font-size: 22px; }
.reason-card p { margin: 0; color: var(--muted); }
.icon-orb { display: grid; flex: 0 0 auto; width: 64px; height: 64px; place-items: center; border: 1px solid rgba(168, 217, 0, .22); border-radius: 50%; color: #78a800; background: rgba(201, 243, 107, .13); font-size: 25px; font-style: normal; }
.icon-orb--asset { border: 0; background: transparent; object-fit: contain; }
.inline-conclusion { display: flex; gap: 24px; align-items: center; justify-content: space-between; margin-top: 32px; }
.inline-conclusion p { max-width: 760px; margin: 0; }

/* Implementation */
.implementation { background: var(--navy-deep); }
.implementation-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 68px; }
.implementation-list { display: grid; gap: 10px; margin: 30px 0; padding: 0; list-style: none; }
.implementation-list li { display: flex; gap: 14px; align-items: center; padding: 10px 14px; border: 1px solid var(--border-dark); border-radius: 8px; }
.task-icon { width: 48px; height: 48px; }
.responsibility-panel { padding-top: 24px; }
.responsibility-chain { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.responsibility-chain li { display: grid; grid-template-columns: 50px minmax(160px, .75fr) 1fr; gap: 14px; align-items: center; min-height: 74px; padding: 10px 18px; border: 1px solid var(--border-dark); border-radius: 8px; }
.responsibility-chain span { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #6d95ff; border-radius: 50%; }
.responsibility-chain small { color: rgba(255,255,255,.62); }
.result-note { display: flex; gap: 14px; align-items: center; margin: 18px 0; color: rgba(255,255,255,.82); }
.result-note-icon { width: 42px; height: 42px; }
.video-card { display: grid; width: 100%; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; padding: 26px; border: 1px solid #365b8c; border-radius: 12px; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.video-monogram { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid #315c99; border-radius: 50%; color: #7ba0ff; font-family: Georgia, serif; font-size: 82px; }
.video-card small, .video-card strong, .video-card em { display: block; }
.video-card small { color: #7099ff; }
.video-card strong { margin: 10px 0 16px; font-size: 24px; line-height: 1.15; }
.video-card em { display: flex; gap: 10px; align-items: center; color: #6692ff; font-style: normal; }
.video-play-icon { width: 28px; height: 28px; }
.team-roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.team-roles article { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--border-dark); border-radius: 10px; }
.team-roles .icon-orb { width: 48px; height: 48px; color: var(--lime); background: transparent; }
.team-roles p { margin: 2px 0 0; color: rgba(255,255,255,.62); font-size: 14px; }

/* Scope */
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; }
.scope-card { padding: 28px; border: 1px solid var(--border); border-radius: 8px; background: rgba(250,248,243,.45); }
.scope-top { display: flex; align-items: center; justify-content: space-between; }
.scope-top span { color: var(--cobalt); font-size: 38px; font-weight: 750; }
.scope-top i { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid var(--cobalt); border-radius: 50%; color: var(--cobalt); font-style: normal; }
.scope-top i.has-asset { width: 64px; height: 64px; border: 0; }
.scope-icon { width: 64px; height: 64px; }
.scope-card h3 { margin: 12px 0 6px; }
.scope-card > p { min-height: 54px; color: var(--muted); font-size: 15px; }
.scope-card ul { display: grid; gap: 5px; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); list-style: none; font-size: 14px; }
.scope-card li::before { display: inline-block; width: 16px; height: 16px; margin-right: 8px; background: url("assets/icons/icon-check-lime.png") center / contain no-repeat; content: ""; vertical-align: -3px; }

/* Potential */
.potential { border-top: 5px solid var(--cobalt); }
.potential-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.potential-grid article { display: flex; min-height: 330px; flex-direction: column; padding: 26px; border: 1px solid var(--border); border-radius: 8px; }
.potential-grid article > span { color: var(--cobalt); font-size: 38px; font-weight: 750; }
.potential-grid h3 { margin: 14px 0 8px; font-size: 23px; }
.potential-grid p { min-height: 80px; color: var(--muted); font-size: 15px; }
.potential-grid strong { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border); color: #7ca000; font-size: 15px; }
.potential-grid small { display: block; min-height: 70px; margin-top: 10px; padding: 14px; border: 1px solid rgba(168,217,0,.18); border-radius: 6px; background: rgba(201,243,107,.09); }
.potential-cta { display: grid; grid-template-columns: 1fr auto 300px; gap: 26px; align-items: center; margin-top: 28px; padding: 22px; border: 1px solid var(--border); border-radius: 10px; }
.potential-cta > div { display: flex; gap: 16px; align-items: center; }
.potential-icon { width: 54px; height: 54px; }
.potential-cta p { margin: 0; font-size: 14px; }

/* Pricing */
.pricing-tabs { display: none; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card { position: relative; display: flex; min-height: 590px; flex-direction: column; padding: 32px; border: 1px solid var(--border-dark); border-radius: 10px; }
.price-card--featured { border-color: #5481ff; }
.price-badge { position: absolute; top: 0; left: 50%; padding: 7px 24px; border-radius: 999px; color: var(--navy); background: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .08em; transform: translate(-50%, -50%); white-space: nowrap; }
.price-label { color: #77a0ff; font-size: 13px; letter-spacing: .1em; }
.price-card h3 { margin: 6px 0 22px; font-size: 38px; }
.fit-label { color: var(--lime); }
.price-card ul { display: grid; gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
.price-card li::before { display: inline-block; width: 17px; height: 17px; margin-right: 10px; background: url("assets/icons/icon-check-lime.png") center / contain no-repeat; content: ""; vertical-align: -3px; }
.price-focus { flex: 1; padding-top: 24px; border-top: 1px solid var(--border-dark); color: rgba(255,255,255,.7); }
.price-focus strong { color: var(--lime); }
.price-value { margin: 22px 0; font-size: 36px; font-weight: 750; }
.price-value span, .price-value small { font-size: 14px; font-weight: 400; }
.price-card .button { width: 100%; }
.pricing-note { display: flex; gap: 14px; align-items: center; margin: 28px 0 0; color: rgba(255,255,255,.64); font-size: 14px; }
.pricing-info-icon { width: 38px; height: 38px; }

/* Fit */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit-card { padding: 30px; border: 1px solid var(--border); border-radius: 10px; }
.fit-card--yes { border-color: rgba(126,171,0,.55); }
.fit-card h3 { margin-bottom: 18px; color: var(--muted); font-size: 24px; }
.fit-card--yes h3 { color: #659100; }
.fit-card ul { margin: 0; padding: 0; list-style: none; }
.fit-card li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); }
.fit-card li:last-child { border-bottom: 0; }
.fit-icon { width: 50px; height: 50px; }
.fit-card strong { display: block; margin-bottom: 2px; }
.fit-card p { margin: 0; color: var(--muted); font-size: 15px; }
.fit-cta { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; align-items: center; margin-top: 24px; padding: 24px 28px; border-radius: 10px; color: #fff; background: var(--cobalt); }
.fit-cta > div { display: flex; gap: 18px; align-items: center; }
.fit-cta-icon { width: 76px; height: 76px; }
.fit-cta p, .fit-cta small { margin: 0; }
.fit-cta small { grid-column: 2; text-align: center; }

/* Proof */
.proof-heading { display: flex; max-width: none; gap: 30px; align-items: end; justify-content: space-between; margin-bottom: 16px; }
.proof-heading > div { max-width: 880px; }
.proof-intro { color: rgba(255,255,255,.62); }
.proof-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 36px 0 14px; border: 1px solid var(--border-dark); border-radius: 10px; }
.proof-metrics article { position: relative; padding: 28px 34px; }
.proof-metric-check { position: absolute; z-index: 1; top: 50%; left: 0; width: 42px; height: 42px; transform: translate(-50%, -50%); }
.proof-metrics article:not(:last-child)::after { position: absolute; top: 28px; right: 0; bottom: 28px; width: 1px; background: var(--border-dark); content: ""; }
.proof-metrics strong { display: block; color: var(--lime); font-size: 48px; line-height: 1; }
.proof-metrics p { margin: 10px 0 0; color: rgba(255,255,255,.62); }
.verification-note, .proof-note { display: flex; gap: 10px; align-items: center; }
.verification-note { color: var(--lime); font-size: 15px; }
.proof-note-icon { width: 24px; height: 24px; }
.review-wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 22px; margin-top: 24px; }
.review-card, .proof-video { position: relative; padding: 30px; border: 1px solid var(--border-dark); border-radius: 10px; color: inherit; background: transparent; }
.review-badge { position: absolute; top: 20px; right: 20px; padding: 6px 10px; border: 1px solid var(--lime); border-radius: 6px; color: var(--lime); font-size: 12px; }
.review-quote-icon { width: 42px; height: 42px; margin-top: 12px; }
.review-card blockquote { max-width: 720px; margin: 10px 0 26px; font-size: 28px; line-height: 1.25; }
.review-person { display: flex; gap: 14px; align-items: center; }
.review-avatar { width: 54px; height: 54px; }
.review-person p, .review-card > p { margin: 0; }
.review-person small { display: block; color: rgba(255,255,255,.55); }
.review-card > p { margin: 18px 0 10px; color: rgba(255,255,255,.62); }
.review-duration { display: flex; gap: 10px; align-items: center; }
.review-meta-icon { width: 22px; height: 22px; }
.proof-video { display: flex; gap: 22px; align-items: center; text-align: left; cursor: pointer; }
.proof-video-icon { width: 70px; height: 70px; }
.proof-video strong { display: block; font-size: 24px; }
.proof-video p { margin: 6px 0 0; color: rgba(255,255,255,.58); }
.proof-note { margin: 24px 0 0; color: rgba(255,255,255,.62); font-size: 14px; }

/* FAQ and form */
.faq-section { padding-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(380px, .75fr); gap: 48px; align-items: start; }
.accordion { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.accordion-item { border: 1px solid var(--border); border-radius: 8px; }
.accordion-item h3 { margin: 0; }
.accordion-item button { display: grid; width: 100%; min-height: 76px; grid-template-columns: 38px 1fr 36px; gap: 12px; align-items: center; padding: 14px 16px; border: 0; background: transparent; text-align: left; cursor: pointer; }
.accordion-item button > span { color: var(--cobalt); font-size: 14px; font-weight: 800; }
.accordion-item button > i { display: grid; width: 32px; height: 32px; place-items: center; font-style: normal; transition: transform var(--ease); }
.faq-plus-icon { width: 24px; height: 24px; }
.accordion-item button[aria-expanded="true"] > i { transform: rotate(45deg); }
.accordion-item button { font-size: 15px; font-weight: 650; line-height: 1.25; }
.accordion-panel { padding: 0 18px 18px 66px; }
.accordion-panel p { margin: 0; color: var(--muted); font-size: 14px; }
.diagnostic { position: sticky; top: calc(var(--header-h) + 24px); padding: 36px; border-radius: 12px; color: #fff; background: var(--cobalt); }
.diagnostic h2 { font-size: 42px; }
.diagnostic > p:not(.eyebrow) { color: rgba(255,255,255,.82); font-size: 16px; }
.lead-form { display: grid; gap: 16px; margin-top: 30px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 700; }
.field input { width: 100%; min-height: 58px; padding: 14px 16px; border: 2px solid transparent; border-radius: 8px; color: var(--navy); background: var(--paper); }
.field input[aria-invalid="true"] { border-color: #9c2032; }
.field-error { display: block; min-height: 18px; margin-top: 4px; color: #fff3f3; font-size: 12px; }
.lead-form .button { width: 100%; }
.form-next { margin: 0; color: rgba(255,255,255,.82); font-size: 13px; }
.consent { display: flex; gap: 10px; align-items: start; font-size: 13px; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--lime); }
.telegram-link { justify-self: start; color: #fff; font-size: 13px; }
.form-status { min-height: 24px; margin: 0; font-size: 14px; font-weight: 650; }
.form-status.is-success { color: #e6ff84; }
.form-status.is-error { color: #ffd7dd; }
.lead-form .button:disabled { cursor: wait; opacity: .68; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Footer */
.site-footer { padding: 58px 0 32px; color: #fff; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr .7fr; gap: 60px; }
.udix { display: block; margin-bottom: 12px; font-size: 48px; line-height: 1; letter-spacing: -.06em; }
.footer-grid p { margin-bottom: 3px; }
.footer-grid small { color: rgba(255,255,255,.56); }
.footer-grid address, .footer-links { display: grid; align-content: start; gap: 12px; font-style: normal; }
.footer-grid address a, .footer-links a, .footer-links button { display: flex; gap: 12px; align-items: center; }
.footer-icon { width: 24px; height: 24px; }
.footer-grid a, .footer-grid button { padding: 0; border: 0; color: #fff; background: transparent; text-align: left; text-decoration: none; cursor: pointer; }
.footer-grid a:hover, .footer-grid button:hover { color: var(--lime); }
.footer-legal { display: flex; gap: 22px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border-dark); color: rgba(255,255,255,.5); font-size: 12px; }
.footer-legal a { text-decoration: none; }
.footer-legal span { margin-left: auto; }

/* Sticky mobile CTA, toast */
.mobile-sticky-cta { position: fixed; z-index: 80; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); left: 16px; display: none; min-height: 54px; align-items: center; justify-content: center; border-radius: 8px; color: #fff; background: var(--cobalt); font-weight: 750; text-decoration: none; box-shadow: 0 12px 30px rgba(7,27,49,.22); }
.toast { position: fixed; z-index: 300; right: 20px; bottom: 20px; max-width: 420px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 10px; color: var(--navy); background: var(--paper); box-shadow: 0 16px 50px rgba(7,27,49,.18); }

/* Case modal */
.case-modal { position: fixed; z-index: 200; inset: 0; }
.case-backdrop { position: absolute; inset: 0; background: rgba(4,18,32,.82); }
.case-dialog { position: relative; width: min(1200px, calc(100% - 48px)); max-height: calc(100dvh - 48px); margin: 24px auto; overflow: auto; border-radius: 14px; background: var(--paper); box-shadow: 0 32px 100px rgba(0,0,0,.35); }
.case-dialog-header { position: sticky; z-index: 3; top: 0; display: flex; min-height: 70px; align-items: center; justify-content: space-between; padding: 14px 28px; border-bottom: 1px solid var(--border); background: rgba(250,248,243,.98); font-size: 13px; font-weight: 750; letter-spacing: .04em; }
.modal-close { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--navy); border-radius: 50%; background: transparent; cursor: pointer; }
.modal-close-icon { width: 20px; height: 20px; }
.case-dialog-body { padding: 34px; }
.case-modal-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.case-modal-intro h2 { margin-bottom: 14px; font-size: 48px; }
.case-modal-intro > div:first-child > p { color: var(--muted); }
.case-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.case-chips span { display: inline-flex; gap: 8px; align-items: center; padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px; color: var(--navy); font-size: 12px; font-weight: 700; }
.chip-icon { width: 20px; height: 20px; }
.modal-result-card { padding: 26px; border-radius: 10px; color: #fff; background: var(--navy-deep); }
.modal-result-card small, .modal-result-card strong, .modal-result-card b, .modal-result-card em { display: block; }
.modal-result-card strong { color: var(--lime); font-size: 70px; line-height: 1; }
.modal-result-card > b { font-size: 22px; }
.modal-result-card > em { margin: 6px 0 20px; color: var(--lime); font-style: normal; }
.modal-result-card > div { display: grid; grid-template-columns: repeat(3,1fr); padding-top: 18px; border-top: 1px solid var(--border-dark); }
.modal-result-card > div span { display: grid; padding: 0 10px; border-right: 1px solid var(--border-dark); font-size: 12px; }
.modal-result-card > div span:last-child { border-right: 0; }
.modal-result-card > div b { color: var(--lime); font-size: 22px; }
.modal-tabs { display: flex; gap: 42px; margin-top: 28px; border-bottom: 1px solid var(--border); }
.modal-tabs button { position: relative; padding: 16px 0; border: 0; background: transparent; font-weight: 750; text-transform: uppercase; cursor: pointer; }
.modal-tabs button[aria-selected="true"] { color: var(--cobalt); }
.modal-tabs button[aria-selected="true"]::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: var(--cobalt); content: ""; }
.modal-panel { padding-top: 28px; }
.modal-panel.is-active { display: block; }
.modal-panel#case-result-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; }
.case-task h3, #case-dynamics-panel h3 { margin-bottom: 12px; font-size: 32px; }
.case-task p:last-child, #case-dynamics-panel > p { color: var(--muted); }
.modal-mini-chart, .modal-large-chart { padding: 14px; border: 1px solid var(--border); border-radius: 10px; }
.eyebrow--with-icon, .modal-chart-title { display: flex; gap: 10px; align-items: center; }
.modal-heading-icon { width: 28px; height: 28px; }
.modal-chart-title { margin: 0 0 4px; color: var(--navy); font-size: 13px; font-weight: 800; }
.chart-line { fill: none; stroke: var(--cobalt); stroke-width: 5; }
.chart-area { fill: rgba(49,92,255,.1); }
.modal-mini-chart circle, .modal-large-chart circle { fill: var(--cobalt); }
.modal-mini-chart circle.last, .modal-large-chart circle.last { fill: var(--lime); stroke: #7ba200; stroke-width: 2; }
.chart-labels { fill: var(--navy); font-size: 22px; font-weight: 750; }
.axis-labels { fill: var(--navy); font-size: 14px; font-weight: 650; }
.grid { fill: none; stroke: var(--border); stroke-width: 1; stroke-dasharray: 7 7; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-actions article { display: grid; grid-template-columns: 70px 1fr; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: 8px; }
.modal-actions article > span { color: var(--cobalt); font-size: 36px; font-weight: 750; }
.modal-actions h3 { margin-bottom: 6px; font-size: 22px; }
.modal-actions p { margin: 0; color: var(--muted); font-size: 15px; }
.modal-summary { display: flex; gap: 16px; align-items: center; margin: 20px 0 0; padding: 18px; border: 1px solid var(--border); border-radius: 8px; font-weight: 700; }
.modal-summary-icon { width: 36px; height: 36px; }
.modal-large-chart { margin-top: 24px; }
.chart-source { margin: 12px 0 0; font-size: 13px; }
.modal-cta { display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; align-items: center; margin-top: 28px; padding: 26px; border-radius: 10px; color: #fff; background: var(--navy-deep); }
.modal-cta h3 { margin-bottom: 6px; }
.modal-cta p { margin: 0; color: rgba(255,255,255,.68); }
.modal-cta > .text-link { grid-column: 1 / -1; }

[hidden] { display: none !important; }

@media (max-width: 1180px) {
  .container { width: calc(100% - 64px); }
  .section { padding: 96px 0; }
  .desktop-nav { gap: 20px; }
  .header-phone { display: none; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 44px; }
  .case-grid { grid-template-columns: 1fr 1fr; }
  .case-card:last-child { grid-column: 1 / -1; min-height: auto; }
  .problem-intro { grid-template-columns: 1fr; }
  .customer-path { max-width: 900px; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .potential-grid { grid-template-columns: 1fr 1fr; }
  .potential-grid article { min-height: 280px; }
  .potential-cta { grid-template-columns: 1fr auto; }
  .potential-cta > p { grid-column: 1 / -1; }
  .price-card { padding: 26px; }
  .price-card h3 { font-size: 32px; }
  .faq-layout { grid-template-columns: 1fr; }
  .diagnostic { position: static; max-width: 760px; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .desktop-nav, .button--header { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 72px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 800px; }
  .portrait-frame, .hero-roles { margin-left: 0; }
  .implementation-grid { grid-template-columns: 1fr; }
  .team-roles { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: auto; }
  .fit-grid { grid-template-columns: 1fr; }
  .proof-heading { display: block; }
  .proof-metrics { grid-template-columns: 1fr; }
  .proof-metrics article:not(:last-child)::after { top: auto; right: 28px; bottom: 0; left: 28px; width: auto; height: 1px; }
  .review-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .case-dialog { width: calc(100% - 32px); }
  .case-modal-intro { grid-template-columns: 1fr; }
  .modal-panel#case-result-panel { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 18px; }
  h1 { margin-bottom: 24px; font-size: clamp(42px, 12vw, 54px); line-height: 1.02; letter-spacing: -.05em; }
  h2 { font-size: clamp(36px, 10vw, 46px); line-height: 1.05; }
  h3 { font-size: 26px; }
  .container { width: calc(100% - 36px); }
  .section { padding: 80px 0; }
  .section-heading { margin-bottom: 34px; }
  .section-heading > p:last-child { font-size: 18px; }
  .eyebrow { margin-bottom: 16px; font-size: 12px; letter-spacing: .09em; }
  .lead { font-size: 19px; }
  .button { min-height: 56px; width: 100%; }
  .brand { font-size: 15px; }
  .brand-mark { width: 38px; height: 38px; }
  .header-phone { display: none; }

  .hero { padding-top: calc(var(--header-h) + 50px); padding-bottom: 72px; }
  .hero-grid { gap: 42px; }
  .hero-actions { display: grid; gap: 16px; }
  .hero-actions .text-link { justify-content: center; min-height: 48px; }
  .hero-notes { margin-top: 28px; padding-top: 24px; font-size: 15px; }
  .portrait-frame { width: 100%; max-width: none; }
  .portrait-frame img { width: 100%; }
  .hero-roles { max-width: none; grid-template-columns: 1fr; gap: 10px; margin-top: 14px; font-size: 15px; }
  .hero-roles span { padding: 10px 14px; border: 1px solid var(--border); border-left: 3px solid var(--lime); border-radius: 6px; }

  .cases { padding-top: 72px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card, .case-card:last-child { min-height: 0; grid-column: auto; padding: 24px 20px; }
  .case-result { align-items: flex-end; }
  .case-result strong { font-size: 56px; }
  .case-result span { padding-bottom: 5px; }
  .case-metrics { grid-template-columns: 1fr; gap: 0; }
  .case-metrics div, .case-metrics div:first-child, .case-metrics div:last-child { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--border-dark); }
  .metric-icon { width: 24px; height: 24px; margin: 0; }
  .case-metrics div:last-child { border-bottom: 0; }
  .case-metrics span { margin: 0; font-size: 14px; }
  .case-metrics strong { font-size: 15px; text-align: right; }
  .case-work { font-size: 15px; }
  .section-cta--center { text-align: left; }
  .section-cta--center .text-link { font-size: 19px; }

  .customer-path { grid-template-columns: 1fr; gap: 0; padding: 18px; border: 1px solid var(--border); border-radius: 10px; }
  .customer-path li { grid-template-columns: 44px 70px 1fr; gap: 12px; justify-items: start; align-items: center; min-height: 88px; padding: 0; text-align: left; }
  .customer-path li:not(:last-child)::after { top: 44px; bottom: -44px; left: 22px; width: 1px; height: auto; }
  .customer-path span { width: 44px; height: 44px; font-size: 15px; }
  .path-icon { width: 66px; height: 66px; }
  .customer-path b { font-size: 18px; }
  .reason-grid { grid-template-columns: 1fr; }
  .reason-card { min-height: 0; align-items: flex-start; padding: 22px 18px; }
  .reason-card h3 { font-size: 21px; }
  .reason-card p { font-size: 16px; }
  .icon-orb { width: 54px; height: 54px; }
  .inline-conclusion { display: grid; }

  .implementation-grid { gap: 44px; }
  .responsibility-chain li { grid-template-columns: 46px 1fr; }
  .responsibility-chain small { grid-column: 2; }
  .video-card { grid-template-columns: 90px 1fr; padding: 20px; }
  .video-card strong { font-size: 20px; }
  .video-monogram { font-size: 52px; }
  .team-roles { grid-template-columns: 1fr; }
  .team-roles article { min-height: 76px; }

  .scope-grid { grid-template-columns: 1fr; }
  .scope-card { padding: 24px 20px; }
  .scope-card > p { min-height: auto; font-size: 17px; }
  .scope-card ul { font-size: 16px; }

  .potential-grid { grid-template-columns: 1fr; }
  .potential-grid article { min-height: 0; padding: 24px 20px; }
  .potential-grid p, .potential-grid small { min-height: 0; font-size: 16px; }
  .potential-cta { grid-template-columns: 1fr; padding: 20px; }
  .potential-cta .button { order: 2; }
  .potential-cta > p { grid-column: auto; order: 3; font-size: 15px; }

  .pricing-tabs { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-bottom: 24px; }
  .pricing-tabs button { position: relative; min-width: 0; min-height: 78px; padding: 12px 6px; border: 1px solid rgba(255,255,255,.32); border-radius: 8px; color: #fff; background: transparent; font-size: 14px; cursor: pointer; }
  .pricing-tabs button strong { display: block; margin-top: 3px; font-size: 14px; }
  .pricing-tabs button > span { position: absolute; top: -10px; left: 50%; padding: 3px 7px; border-radius: 99px; color: var(--navy); background: var(--lime); font-size: 8px; line-height: 1; text-transform: uppercase; transform: translateX(-50%); white-space: nowrap; }
  .pricing-tabs button[aria-selected="true"] { border-color: var(--cobalt); background: var(--cobalt); }
  .pricing-grid { display: block; }
  .price-card { display: none; padding: 28px 22px; }
  .price-card.is-active { display: flex; }
  .price-card h3 { font-size: 38px; }
  .price-value { font-size: 34px; }
  .pricing-note { align-items: flex-start; font-size: 15px; }

  .fit-card { padding: 24px 18px; }
  .fit-card h3 { font-size: 24px; }
  .fit-card li { grid-template-columns: 50px 1fr; }
  .fit-card p { font-size: 16px; }
  .fit-cta { grid-template-columns: 1fr; padding: 22px 18px; }
  .fit-cta small { grid-column: auto; }

  .proof-heading .text-link { margin-top: 20px; }
  .proof-metrics strong { font-size: 52px; }
  .proof-metrics article { padding: 26px 22px; }
  .review-card, .proof-video { padding: 24px 20px; }
  .review-badge { position: static; display: inline-block; margin-bottom: 18px; }
  .review-card blockquote { margin-top: 0; font-size: 24px; }

  .faq-layout { gap: 72px; }
  .accordion { grid-template-columns: 1fr; }
  .accordion-item button { min-height: 76px; grid-template-columns: 40px 1fr 38px; padding: 14px; font-size: 18px; }
  .accordion-panel { padding: 0 18px 20px 66px; }
  .accordion-panel p { font-size: 16px; }
  .diagnostic { margin-right: -18px; margin-left: -18px; padding: 42px 18px 48px; border-radius: 0; }
  .diagnostic h2 { font-size: 44px; }
  .diagnostic > p:not(.eyebrow) { font-size: 18px; }
  .field label { font-size: 16px; }
  .field input { min-height: 58px; font-size: 18px; }
  .form-next, .consent, .telegram-link { font-size: 15px; }

  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-legal { display: grid; gap: 14px; font-size: 13px; }
  .footer-legal span { margin: 8px 0 0; }
  .mobile-sticky-cta.is-visible { display: flex; }

  .case-dialog { width: 100%; max-height: 100dvh; margin: 0; border-radius: 0; }
  .case-dialog-header { min-height: 72px; padding: 12px 18px; font-size: 12px; }
  .modal-close { width: 48px; height: 48px; }
  .case-dialog-body { padding: 28px 18px 46px; }
  .case-modal-intro { gap: 24px; }
  .case-modal-intro h2 { font-size: 42px; }
  .case-modal-intro > div:first-child > p { font-size: 18px; }
  .case-chips { display: grid; }
  .case-chips span { min-height: 50px; padding: 14px; font-size: 13px; }
  .modal-result-card { padding: 24px 18px; }
  .modal-result-card strong { font-size: 76px; }
  .modal-result-card > div { grid-template-columns: 1fr; }
  .modal-result-card > div span { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--border-dark); font-size: 15px; }
  .modal-result-card > div span:last-child { border-bottom: 0; }
  .modal-tabs { position: sticky; z-index: 2; top: 72px; gap: 0; justify-content: space-between; background: var(--paper); }
  .modal-tabs button { min-height: 58px; padding: 14px 8px; font-size: 13px; }
  .modal-panel#case-result-panel { display: block; }
  .modal-mini-chart { margin-top: 24px; }
  .case-task h3, #case-dynamics-panel h3 { font-size: 30px; }
  .modal-actions { grid-template-columns: 1fr; }
  .modal-actions article { grid-template-columns: 58px 1fr; padding: 18px; }
  .modal-actions article > span { font-size: 30px; }
  .modal-large-chart { overflow-x: auto; }
  .modal-large-chart svg { min-width: 640px; }
  .modal-cta { grid-template-columns: 1fr; margin-right: -18px; margin-bottom: -46px; margin-left: -18px; padding: 28px 18px calc(28px + env(safe-area-inset-bottom)); border-radius: 0; }
  .modal-cta > .text-link { grid-column: auto; }
  .toast { right: 16px; bottom: calc(82px + env(safe-area-inset-bottom)); left: 16px; max-width: none; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 40px; }
  h2 { font-size: 35px; }
  .brand > span:last-child { display: none; }
  .diagnostic { margin-right: -16px; margin-left: -16px; padding-inline: 16px; }
  .pricing-tabs button { font-size: 12px; }
  .pricing-tabs button strong { font-size: 12px; }
  .video-card { grid-template-columns: 1fr; }
  .video-monogram { width: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
