:root {
  --navy: #06172a;
  --navy-2: #0a2037;
  --navy-3: #0d2944;
  --paper: #f5f7fa;
  --paper-2: #ffffff;
  --ink: #0c1724;
  --muted-dark: #9cafc3;
  --muted-light: #637182;
  --blue: #58c9f3;
  --blue-2: #3d7cff;
  --green: #44d5ac;
  --line-dark: rgba(255,255,255,.12);
  --line-light: rgba(6,23,42,.12);
  --header-h: 74px;
  --pad-x: clamp(24px, 6vw, 104px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy); }
body {
  margin: 0;
  color: #fff;
  background: var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
body.dialog-open { overflow: hidden; }
button, input, textarea { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 16px; border-radius: 12px; background: #fff; color: #000; transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
}
.topbar.is-scrolled { background: rgba(6,23,42,.72); backdrop-filter: blur(22px) saturate(140%); border-color: rgba(255,255,255,.08); }
.brand { display: block; width: clamp(126px, 11vw, 156px); }
.brand img { display: block; width: 100%; height: auto; }
.topbar__cta {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 10px 17px;
  color: #fff;
  background: rgba(255,255,255,.06);
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: .25s ease;
}
.topbar__cta:hover { background: #fff; color: var(--navy); transform: translateY(-1px); }

.scene-dots {
  position: fixed;
  z-index: 90;
  right: 22px;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  gap: 9px;
}
.scene-dots a { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.26); transition: .25s ease; position: relative; }
.scene-dots a::after { content: attr(data-label); position: absolute; right: 14px; top: 50%; translate: 0 -50%; white-space: nowrap; opacity: 0; pointer-events: none; color: rgba(255,255,255,.78); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; transition: .2s ease; }
.scene-dots a:hover::after { opacity: 1; }
.scene-dots a.is-active { height: 26px; border-radius: 4px; background: var(--blue); }

.scene {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  scroll-margin-top: var(--header-h);
  isolation: isolate;
}
.scene__inner {
  min-height: 100svh;
  padding: max(118px, calc(var(--header-h) + 44px)) var(--pad-x) clamp(70px, 8vh, 112px);
  display: flex;
  align-items: center;
}
.scene__center { flex-direction: column; justify-content: center; text-align: center; }
.is-dark { background: radial-gradient(900px 600px at 92% 48%, rgba(23,78,118,.42), transparent 60%), var(--navy); color: #fff; }
.is-light { background: var(--paper); color: var(--ink); }
.is-light::before { content: ""; position: absolute; inset: -30%; background: radial-gradient(700px 500px at 70% 25%, rgba(88,201,243,.12), transparent 65%); z-index: -1; }

.kicker {
  margin: 0 0 28px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker--dark { color: #3478a6; }
.scene-note { margin: 32px 0 0; max-width: 650px; color: var(--muted-dark); font-size: clamp(17px, 1.45vw, 22px); line-height: 1.48; }
.scene-note--dark { color: var(--muted-light); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal--delay { transition-delay: .12s; }
.scene.is-visible .reveal { opacity: 1; transform: translateY(0); }

/* HERO */
.scene--hero { background: linear-gradient(115deg, #061525 0%, #071a2d 55%, #0b2b47 100%); }
.scene--hero::after { content: ""; position: absolute; right: -13vw; top: -22vh; width: 58vw; height: 90vh; border-radius: 50%; background: radial-gradient(circle, rgba(33,122,176,.22), transparent 68%); filter: blur(20px); z-index: -1; }
.hero-grid { width: 100%; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 5vw, 88px); align-items: center; }
.hero-copy { align-self: center; }
h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(72px, 6.8vw, 136px);
  line-height: .87;
  letter-spacing: -.072em;
  font-weight: 800;
}
h1 span { color: var(--blue); }
.hero-note { margin: 34px 0 0; max-width: 630px; color: #b9c7d6; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.5; }
.hero-visual { min-width: 0; }
.growth { width: 100%; height: auto; overflow: visible; }
.ghost-line { fill: none; stroke: rgba(177,211,235,.09); stroke-width: 2; }
.growth__path { fill: none; stroke: url(#curveGradient); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.scene.is-visible .growth__path { animation: draw 1.8s .2s var(--ease) forwards; }
.node circle { fill: #09203a; stroke: #4d92ff; stroke-width: 4; opacity: 0; transform: scale(.7); transform-origin: center; }
.node text { fill: #a9b8c9; font-size: 14px; font-weight: 780; letter-spacing: .12em; text-anchor: middle; opacity: 0; }
.node--result circle { fill: var(--green); stroke: var(--green); filter: url(#softGlow); }
.node--result text { fill: #77e4c5; }
.scene.is-visible .node circle, .scene.is-visible .node text { animation: nodeIn .48s var(--ease) forwards; animation-delay: var(--d); }
.scroll-cue { position: absolute; left: var(--pad-x); bottom: 26px; display: flex; align-items: center; gap: 11px; color: #71859c; text-decoration: none; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.scroll-cue span { display: inline-block; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; position: relative; }
.scroll-cue span::before { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; border-radius: 2px; background: var(--blue); translate: -50% 0; animation: scrollDot 1.7s infinite; }

/* PAIN */
.scene--pain { background: radial-gradient(850px 520px at 50% 55%, rgba(26,77,115,.32), transparent 70%), #07182a; }
.mega-question { margin: 0; max-width: 13ch; font-size: clamp(64px, 7.6vw, 148px); line-height: .92; letter-spacing: -.067em; font-weight: 800; }
.mega-question span { color: var(--blue); }
.floating-tools { position: relative; width: min(980px, 88vw); height: 155px; margin: 20px auto -6px; }
.floating-tools span { position: absolute; left: 50%; top: 50%; translate: calc(-50% + var(--x)) calc(-50% + var(--y)); rotate: var(--r); padding: 10px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(255,255,255,.045); color: #9eb1c4; font-size: clamp(14px, 1.2vw, 19px); backdrop-filter: blur(14px); }
.scene--pain.is-visible .floating-tools span { animation: float 5.5s ease-in-out infinite alternate; animation-delay: calc(var(--x) * -.01s); }
.scene--pain .scene-note { margin-inline: auto; }

/* CONNECTION */
.split-layout { width: 100%; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.display-dark { margin: 0; color: var(--ink); font-size: clamp(68px, 7vw, 136px); line-height: .9; letter-spacing: -.067em; font-weight: 800; }
.display-dark span { color: #2c83b5; }
.orbit { position: relative; width: min(620px, 90vw); aspect-ratio: 1; justify-self: end; border: 1px solid rgba(22,81,119,.12); border-radius: 50%; }
.orbit::before, .orbit::after { content: ""; position: absolute; inset: 13%; border: 1px solid rgba(22,81,119,.1); border-radius: 50%; }
.orbit::after { inset: 29%; }
.orbit__core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 34%; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #0f76b3, #154d79); box-shadow: 0 28px 70px rgba(21,77,121,.24); }
.orbit__core b { font-size: clamp(24px, 2.2vw, 35px); line-height: .95; letter-spacing: -.04em; }
.orbit__core small { margin-top: 8px; color: #b8d7e8; }
.orbit__item { position: absolute; padding: 11px 16px; border-radius: 999px; background: #fff; box-shadow: 0 12px 34px rgba(9,45,70,.08); font-weight: 680; color: #284557; }
.orbit__item--1 { left: 45%; top: 2%; }
.orbit__item--2 { right: 0; top: 48%; }
.orbit__item--3 { left: 44%; bottom: 1%; }
.orbit__item--4 { left: -1%; top: 48%; }
.scene.is-visible .orbit__item { animation: orbitPulse 4s ease-in-out infinite; }
.scene.is-visible .orbit__item--2 { animation-delay: .4s; }
.scene.is-visible .orbit__item--3 { animation-delay: .8s; }
.scene.is-visible .orbit__item--4 { animation-delay: 1.2s; }

/* PRINCIPLE */
.scene--principle { background: #fff; }
.statement { margin: 0; font-size: clamp(48px, 6.2vw, 116px); line-height: .96; letter-spacing: -.06em; font-weight: 800; }
.statement--muted { color: #a9b2bb; font-size: clamp(36px, 4.3vw, 78px); }
.statement span { color: #2385bb; }
.statement-rule { width: min(320px, 42vw); height: 1px; margin: clamp(30px, 5vh, 56px) auto; background: linear-gradient(90deg, transparent, #9ddbf1, transparent); }

/* FORMULA */
.scene--formula { background: linear-gradient(130deg, #06172a 15%, #08233c 100%); }
.formula-title { margin: 0; font-size: clamp(62px, 7vw, 136px); line-height: .9; letter-spacing: -.067em; font-weight: 800; }
.formula { margin-top: clamp(52px, 8vh, 90px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px clamp(16px, 2.1vw, 32px); }
.formula span { color: #e9f1f7; font-size: clamp(22px, 2.2vw, 38px); font-weight: 720; opacity: .28; transform: translateY(12px); }
.formula i { color: #4e7090; font-style: normal; font-size: clamp(20px, 2vw, 34px); opacity: .25; }
.scene.is-visible .formula span, .scene.is-visible .formula i { animation: formulaIn .55s var(--ease) forwards; }
.scene.is-visible .formula span:nth-child(1) { animation-delay: .1s; }
.scene.is-visible .formula i:nth-child(2) { animation-delay: .23s; }
.scene.is-visible .formula span:nth-child(3) { animation-delay: .36s; }
.scene.is-visible .formula i:nth-child(4) { animation-delay: .49s; }
.scene.is-visible .formula span:nth-child(5) { animation-delay: .62s; }
.scene.is-visible .formula i:nth-child(6) { animation-delay: .75s; }
.scene.is-visible .formula span:nth-child(7) { animation-delay: .88s; }
.formula .formula__result { color: var(--green); }
.scene--formula .scene-note { margin-inline: auto; }

/* SOLUTIONS */
.scene--solution:nth-of-type(even).is-dark { background: radial-gradient(720px 540px at 82% 50%, rgba(25,87,129,.33), transparent 68%), #06172a; }
.solution-layout { width: 100%; display: grid; grid-template-columns: .98fr 1.02fr; gap: clamp(52px, 8vw, 118px); align-items: center; }
.solution-layout--reverse > :first-child { order: 2; }
.solution-question { margin: 0; font-size: clamp(58px, 6.4vw, 118px); line-height: .92; letter-spacing: -.065em; font-weight: 800; }
.solution-question span { color: var(--blue); }
.solution-question.display-dark span { color: #2587bd; }
.solution-visual { align-self: center; }
.solution-result { margin: 36px 0 0; max-width: 620px; color: #a9bbcc; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.45; }
.solution-result--dark { color: #5e6e7c; }
.solution-result b, .good { color: var(--green) !important; }
.metric-flow, .life-cycle { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.metric-flow span, .life-cycle span { padding: 14px 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.04); font-weight: 670; color: #dce7ef; }
.metric-flow i, .life-cycle i { color: #4c718f; font-style: normal; }
.funnel { display: grid; gap: 10px; max-width: 620px; }
.funnel div { display: flex; justify-content: space-between; align-items: center; min-height: 66px; padding: 0 20px; border-radius: 16px; color: #344b5b; background: rgba(13,72,106,.07); }
.funnel div:nth-child(2) { width: 84%; }
.funnel div:nth-child(3) { width: 68%; }
.funnel div:nth-child(4) { width: 53%; }
.funnel b { color: #0e5884; }
.funnel .funnel__accent { color: #0c533f; background: rgba(68,213,172,.16); }
.funnel .funnel__accent b { color: #0f8c67; }
.project-gauge { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.project-gauge__ring { width: 220px; aspect-ratio: 1; display: grid; place-content: center; text-align: center; border-radius: 50%; background: conic-gradient(var(--blue) 0 57%, rgba(255,255,255,.09) 57% 100%); position: relative; }
.project-gauge__ring::before { content: ""; position: absolute; inset: 12px; border-radius: inherit; background: var(--navy); }
.project-gauge__ring b, .project-gauge__ring span { position: relative; z-index: 1; }
.project-gauge__ring b { font-size: 48px; line-height: 1; }
.project-gauge__ring span { margin-top: 5px; color: #8ea4b7; font-size: 13px; }
.project-gauge__facts { display: grid; gap: 10px; }
.project-gauge__facts p { margin: 0; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.project-gauge__facts small { display: block; margin-bottom: 3px; color: #7f95a8; }
.project-gauge__facts b { font-size: 22px; }
.route { display: flex; align-items: stretch; gap: 0; }
.route span { min-width: 120px; padding: 17px 14px; border: 1px solid rgba(6,23,42,.12); border-radius: 14px; background: #fff; color: #304353; box-shadow: 0 10px 26px rgba(6,23,42,.05); }
.route span b { display: block; margin-bottom: 13px; color: #72a9c7; font-size: 11px; letter-spacing: .12em; }
.route i { width: 24px; align-self: center; height: 1px; background: rgba(6,23,42,.2); }
.route .route__done { border-color: rgba(68,213,172,.4); background: rgba(68,213,172,.12); color: #125942; }
.life-cycle .good { border-color: rgba(68,213,172,.35); background: rgba(68,213,172,.08); }

/* OUTCOME */
.scene--outcome { background: #f8fafc; }
.outcome-lines { display: grid; gap: 10px; margin-bottom: clamp(44px, 7vh, 78px); }
.outcome-lines p { margin: 0; color: #8a949e; font-size: clamp(26px, 3.1vw, 54px); line-height: 1.1; font-weight: 720; letter-spacing: -.035em; }
.outcome-final { margin: 0; font-size: clamp(64px, 8vw, 150px); line-height: .88; letter-spacing: -.07em; font-weight: 820; }
.outcome-final span { color: #148660; }

/* TECH */
.scene--tech { background: radial-gradient(900px 620px at 82% 50%, rgba(29,100,145,.33), transparent 66%), #06172a; }
.tech-layout { width: 100%; display: grid; grid-template-columns: .8fr 1.2fr; grid-template-rows: auto auto; gap: 64px clamp(48px, 8vw, 120px); align-items: center; }
.tech-title { margin: 0; font-size: clamp(62px, 6.5vw, 122px); line-height: .9; letter-spacing: -.065em; font-weight: 800; }
.tech-title span { color: var(--blue); }
.tech-cloud { display: flex; flex-wrap: wrap; gap: 12px; align-content: center; }
.tech-cloud span { padding: 14px 18px; border: 1px solid rgba(255,255,255,.11); border-radius: 999px; background: rgba(255,255,255,.04); color: #c4d0dc; font-size: clamp(16px, 1.3vw, 20px); font-weight: 620; }
.about-strip { grid-column: 1 / -1; display: grid; grid-template-columns: auto .8fr 1.2fr; gap: 28px 42px; align-items: baseline; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.11); }
.about-strip b { color: #fff; font-size: clamp(46px, 5vw, 82px); letter-spacing: -.055em; }
.about-strip p { margin: 0; color: #9eb0c1; line-height: 1.5; }

/* CONTACT */
.scene--contact { min-height: 100svh; background: linear-gradient(140deg, #041321 0%, #08243e 100%); }
.contact-layout { min-height: calc(100svh - 112px); width: 100%; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(48px, 9vw, 150px); align-items: center; }
.contact-title { margin: 0; font-size: clamp(68px, 7.4vw, 140px); line-height: .89; letter-spacing: -.07em; font-weight: 800; }
.contact-title span { color: var(--blue); }
.primary-action { margin-top: 38px; display: inline-flex; gap: 24px; align-items: center; border: 0; border-radius: 999px; padding: 17px 22px 17px 26px; background: #fff; color: var(--navy); cursor: pointer; font-weight: 720; font-size: 17px; box-shadow: 0 16px 40px rgba(0,0,0,.15); transition: transform .25s ease, box-shadow .25s ease; }
.primary-action span { font-size: 22px; }
.primary-action:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(0,0,0,.22); }
.contact-details { display: grid; }
.contact-details a, .contact-details p { margin: 0; padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.11); text-decoration: none; }
.contact-details small { display: block; margin-bottom: 5px; color: #6f869a; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.contact-details b { color: #dfe8ef; font-size: clamp(18px, 1.6vw, 24px); font-weight: 620; }
.footer { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 22px; display: flex; justify-content: space-between; gap: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); color: #647d91; font-size: 11px; line-height: 1.5; }
.footer p { margin: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: #a5b7c7; }

/* DIALOG */
.form-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100svh - 32px); border: 0; border-radius: 28px; padding: 0; background: #fff; color: var(--ink); box-shadow: 0 40px 120px rgba(0,0,0,.42); }
.form-dialog::backdrop { background: rgba(2,10,18,.68); backdrop-filter: blur(10px); }
.dialog-content { padding: clamp(28px, 5vw, 58px); }
.dialog-close { position: absolute; right: 18px; top: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #edf2f5; color: #52616e; cursor: pointer; font-size: 27px; line-height: 1; }
.form-dialog h2 { margin: 0; font-size: clamp(42px, 5vw, 68px); line-height: .95; letter-spacing: -.05em; }
.dialog-lead { max-width: 550px; margin: 18px 0 30px; color: #667481; line-height: 1.5; }
.lead-form { display: grid; gap: 18px; }
.lead-form label { display: grid; gap: 8px; }
.lead-form label > span { color: #5b6975; font-size: 13px; font-weight: 650; }
.lead-form input, .lead-form textarea { width: 100%; border: 1px solid #d8e0e6; border-radius: 14px; padding: 14px 15px; background: #f9fbfc; color: var(--ink); outline: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.lead-form input:focus, .lead-form textarea:focus { border-color: #6bbce0; box-shadow: 0 0 0 4px rgba(88,201,243,.14); }
.lead-form input[aria-invalid="true"] { border-color: #c34646; }
.field-error { color: #b43c3c; font-size: 12px; }
.primary-action--dark { margin-top: 4px; justify-self: start; background: var(--navy); color: #fff; box-shadow: none; }
.legal { margin: 0; color: #89949d; font-size: 12px; line-height: 1.45; }
.form-fail { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(180,60,60,.08); color: #8f2f2f; font-size: 13px; line-height: 1.45; }
.form-fail a { color: inherit; }
.lead-form [data-submit][disabled] { opacity: .6; cursor: progress; }
.form-success { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(68,213,172,.12); color: #126a4f; font-size: 13px; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes nodeIn { to { opacity: 1; transform: scale(1); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(16px); } 100% { opacity: 0; } }
@keyframes float { to { translate: calc(-50% + var(--x)) calc(-50% + var(--y) - 8px); } }
@keyframes orbitPulse { 50% { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(9,45,70,.12); } }
@keyframes formulaIn { to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1120px) {
  .hero-grid, .split-layout, .solution-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-grid { padding-top: calc(var(--header-h) + 70px); }
  .hero-copy { max-width: 820px; }
  .hero-visual { width: min(760px, 100%); justify-self: center; margin-top: -12px; }
  .orbit { justify-self: center; width: min(520px, 78vw); }
  .solution-layout--reverse > :first-child { order: 0; }
  .solution-visual { max-width: 760px; }
  .tech-layout { grid-template-columns: 1fr; }
  .about-strip { grid-column: auto; grid-template-columns: auto 1fr; }
  .about-strip p:last-child { grid-column: 1 / -1; }
  .scene-dots { display: none; }
  .footer { position: static; margin: 0 var(--pad-x) 24px; }
  .scene--contact .scene__inner { min-height: auto; padding-bottom: 60px; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; --pad-x: 22px; }
  .topbar { height: var(--header-h); }
  .brand { width: 124px; }
  .topbar__cta { padding: 9px 13px; font-size: 12px; }
  .scene { min-height: auto; }
  .scene__inner { min-height: auto; padding-top: 112px; padding-bottom: 88px; }
  .scene--hero .scene__inner, .scene--pain .scene__inner, .scene--principle .scene__inner, .scene--formula .scene__inner, .scene--outcome .scene__inner, .scene--contact .scene__inner { min-height: 100svh; }
  h1 { font-size: clamp(62px, 18vw, 94px); }
  .hero-note { margin-top: 24px; }
  .hero-visual { margin-top: 18px; }
  .growth { margin-left: -4%; width: 108%; }
  .scroll-cue { display: none; }
  .mega-question { font-size: clamp(52px, 14vw, 84px); }
  .floating-tools { height: 180px; width: 100%; }
  .floating-tools span:nth-child(1) { --x:-28% !important; --y:-21% !important; }
  .floating-tools span:nth-child(2) { --x:-20% !important; --y:19% !important; }
  .floating-tools span:nth-child(3) { --x:18% !important; --y:-22% !important; }
  .floating-tools span:nth-child(4) { --x:27% !important; --y:16% !important; }
  .floating-tools span:nth-child(5) { --x:0% !important; --y:34% !important; }
  .display-dark, .formula-title, .solution-question, .tech-title, .contact-title, .outcome-final { font-size: clamp(54px, 14vw, 84px); }
  .statement { font-size: clamp(44px, 12vw, 72px); }
  .statement--muted { font-size: clamp(30px, 8.6vw, 52px); }
  .orbit { width: min(360px, 88vw); margin-top: 30px; }
  .orbit__item { font-size: 12px; padding: 8px 11px; }
  .formula { gap: 10px 12px; }
  .formula span { font-size: 20px; }
  .metric-flow, .life-cycle { gap: 7px; }
  .metric-flow span, .life-cycle span { padding: 10px 12px; font-size: 13px; }
  .project-gauge { grid-template-columns: 1fr; }
  .project-gauge__ring { width: 190px; }
  .route { flex-direction: column; max-width: 320px; }
  .route i { width: 1px; height: 18px; margin-left: 36px; }
  .route span { min-width: 0; width: 100%; }
  .tech-cloud span { padding: 10px 13px; font-size: 14px; }
  .about-strip { grid-template-columns: 1fr; }
  .about-strip p:last-child { grid-column: auto; }
  .contact-details { margin-top: 18px; }
  .footer { display: grid; }
  .form-dialog { width: calc(100vw - 20px); border-radius: 22px; }
  .dialog-content { padding: 46px 22px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .growth__path { stroke-dashoffset: 0 !important; }
  .node circle, .node text, .formula span, .formula i { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   v7: светлая страница, шрифты дизайн-системы, пять задач в один экран
   ========================================================================== */
:root { --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; --font-text: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; }
html { background: var(--paper); }
body { background: var(--paper); color: var(--ink); font-family: var(--font-text); }
h1, h2, .mega-question, .display-dark, .formula-title, .solution-question, .tech-title, .contact-title, .outcome-final, .statement, .form-dialog h2 { font-family: var(--font-display); letter-spacing: -.045em; }
h1 { letter-spacing: -.05em; line-height: .92; }
.outcome-lines p { font-family: var(--font-display); letter-spacing: -.03em; }
.kicker { font-weight: 700; }

/* Шапка: на светлом фоне тёмная, телефон рядом с кнопкой */
.topbar { color: var(--ink); }
.topbar.is-scrolled { background: rgba(245,247,250,.82); border-color: rgba(6,23,42,.08); }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__phone { color: inherit; text-decoration: none; font-weight: 600; font-size: 14px; }
.topbar__cta { border-color: rgba(6,23,42,.18); background: rgba(6,23,42,.04); color: var(--ink); }
.topbar__cta:hover { background: var(--ink); color: #fff; }
.scene--hero ~ * .topbar { color: #fff; }
/* Поверх тёмного первого экрана шапка светлая (класс ставит скрипт по прокрутке); до прокрутки — на тёмном */
.topbar:not(.is-scrolled) { color: #fff; }
.topbar:not(.is-scrolled) .topbar__cta { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; }
.topbar:not(.is-scrolled) .topbar__cta:hover { background: #fff; color: var(--navy); }

/* Точки-навигация: крупнее, тёмные на светлом */
.scene-dots { gap: 12px; right: 26px; }
.scene-dots a { width: 8px; height: 8px; background: rgba(6,23,42,.22); }
.scene-dots a::after { color: var(--ink); background: rgba(255,255,255,.9); padding: 4px 8px; border-radius: 6px; right: 18px; }
.scene-dots a.is-active { height: 30px; background: #2587bd; }

/* Светлые экраны без синего свечения по краям */
.is-light::before { display: none; }
.scene--pain { background: #fff; }
.scene--pain .mega-question span { color: #2587bd; }
.scene--formula { background: var(--paper); }
.scene--formula .formula span { color: var(--ink); }
.scene--formula .formula i { color: #8aa0b4; }
.scene--tech { background: #fff; }
.scene--tech .tech-cloud span { border-color: rgba(6,23,42,.14); background: #fff; color: #304353; }
.scene--tech .tech-layout { grid-template-rows: auto; }

/* Пять задач: список слева, схема справа */
.scene--tasks { background: var(--paper); }
.tasks-layout { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.tasks-list { display: grid; gap: 4px; }
.tasks-list .kicker { margin-bottom: 18px; }
.task { display: block; width: 100%; padding: 16px 18px; border: 0; border-left: 3px solid transparent; border-radius: 0 14px 14px 0; background: transparent; color: #8a97a4; text-align: left; cursor: pointer; font: 800 clamp(20px, 1.9vw, 28px)/1.15 var(--font-display); letter-spacing: -.03em; transition: .2s ease; }
.task small { display: block; margin-bottom: 4px; color: #8a97a4; font: 700 11px/1.3 var(--font-text); letter-spacing: .14em; text-transform: uppercase; }
.task:hover { color: var(--ink); }
.task[aria-selected="true"] { color: var(--ink); border-left-color: #2587bd; background: #fff; box-shadow: 0 12px 34px rgba(9,45,70,.06); }
.task[aria-selected="true"] small { color: #2587bd; }
.tasks-panels { min-height: 380px; display: grid; align-items: center; }
.task-panel[hidden] { display: none; }
.task-panel { animation: panelIn .35s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* схемы на светлом фоне */
.metric-flow span, .life-cycle span { border-color: rgba(6,23,42,.14); background: #fff; color: #304353; }
.metric-flow i, .life-cycle i { color: #8aa0b4; }
.metric-flow .good, .life-cycle .good { border-color: rgba(20,134,96,.35); background: rgba(68,213,172,.12); color: #148660 !important; }
.project-gauge__ring { background: conic-gradient(#2587bd 0 57%, rgba(6,23,42,.08) 57% 100%); }
.project-gauge__ring::before { background: var(--paper); }
.project-gauge__ring b { color: var(--ink); }
.project-gauge__ring span { color: #637182; }
.project-gauge__facts p { border-bottom-color: rgba(6,23,42,.12); }
.project-gauge__facts small { color: #637182; }
.project-gauge__facts b { color: var(--ink); }
.solution-result b, .good { color: #148660 !important; }

/* Итог: тёмный экран, зелёный ярче */
.scene--outcome { background: linear-gradient(130deg, #06172a 15%, #08233c 100%); }
.scene--outcome .outcome-lines p { color: #8fa4b8; }
.scene--outcome .outcome-final span { color: var(--green); }

@media (max-width: 1120px) {
  .tasks-layout { grid-template-columns: 1fr; }
  .tasks-panels { min-height: 0; }
}
@media (max-width: 760px) {
  .topbar__phone { display: none; }
  .task { font-size: 19px; padding: 12px 14px; }
}

.mega-question { max-width: 15ch; font-size: clamp(56px, 6.4vw, 120px); }

/* Первый экран: только заголовок и кривая */
h1 { max-width: 13ch; font-size: clamp(56px, 5.6vw, 96px); line-height: .98; letter-spacing: -.045em; text-wrap: pretty; }
.hero-grid { grid-template-columns: 1fr 1fr; }

h1 { max-width: 17ch; font-size: clamp(52px, 5vw, 86px); }

.scene--connection .display-dark { font-size: clamp(46px, 4.6vw, 84px); max-width: 12ch; }

/* Кривая живёт после отрисовки: блик пробегает по линии, «Результат» пульсирует */
.growth__glint { fill: none; stroke: #ffffff; stroke-width: 5; stroke-linecap: round; opacity: 0; stroke-dasharray: 60 940; stroke-dashoffset: 1000; }
.scene.is-visible .growth__glint { animation: glint 3.6s linear 2.4s infinite; }
@keyframes glint { 0% { stroke-dashoffset: 1000; opacity: 0; } 8% { opacity: .85; } 60% { opacity: .85; } 72% { stroke-dashoffset: -60; opacity: 0; } 100% { stroke-dashoffset: -60; opacity: 0; } }
.node__halo { fill: var(--green); stroke: none; opacity: 0; transform-origin: center; }
.scene.is-visible .node__halo { animation: halo 2.4s ease-out 1.7s infinite; }
@keyframes halo { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(2.2); } }
@media (prefers-reduced-motion: reduce) { .growth__glint, .node__halo { animation: none !important; opacity: 0 !important; } }

/* Первый экран: две строки без переносов */
.hero-grid { grid-template-columns: 1.2fr .8fr; }
h1 { max-width: none; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.12; letter-spacing: -.035em; }
.h1-line { display: block; white-space: nowrap; }
.h1-line--accent { color: var(--blue); }
@media (max-width: 1120px) { .h1-line { white-space: normal; } h1 { font-size: clamp(34px, 6vw, 56px); } }
/* Итог: две строки */
.outcome-lines p { max-width: 24ch; margin-inline: auto; }

h1 .h1-line { color: #fff; }
h1 .h1-line--accent { color: var(--blue); }

/* Итог: вторая строка в две строки вместо трёх; заголовок без налезания descender'ов */
.outcome-lines p { max-width: 32ch; font-size: clamp(24px, 2.7vw, 44px); }
.outcome-final { line-height: .97; }

/* Первый экран: заголовок на всю ширину, кривая под ним — крупный кегль без переносов */
.scene--hero .hero-grid { grid-template-columns: 1fr; gap: clamp(20px, 3vw, 44px); align-content: center; }
.scene--hero h1 { font-size: clamp(32px, 4.7vw, 88px); line-height: 1.06; }
.scene--hero .hero-visual { width: min(660px, 100%); justify-self: end; margin-top: clamp(-28px, -2vw, 0px); }
@media (max-width: 1120px) { .scene--hero .hero-visual { justify-self: center; } }

/* Первый экран: «Сначала задача / для бизнеса» в две строки, «Потом технология» — третьей.
   Строки короче — кегль крупнее, кривая возвращается справа. */
.scene--hero .hero-grid { grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 88px); align-items: center; }
.scene--hero h1 { font-size: clamp(30px, 5vw, 80px); line-height: 1.04; }
.scene--hero .hero-visual { width: 100%; justify-self: auto; margin-top: 0; }

/* Подписи на кривой: крупнее, т.к. блок стал уже */
.node text { font-size: 18px; }

/* ==========================================================================
   v8: акцент «задача бизнеса → решение внутри системы → устойчивый результат»
   ========================================================================== */

/* Кривая: шесть этапов, подписи справа-снизу от точек, чтобы не лечь на линию */
.node text.lbl-start { text-anchor: start; font-size: 16px; }

/* Вопросы всплывают вокруг главного */
.scene--pain .mega-question { font-size: clamp(44px, 5.2vw, 92px); max-width: 16ch; margin-block: clamp(22px, 3vh, 36px); }
.q-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; max-width: 1120px; margin-inline: auto; }
.q-chip {
  position: relative; left: var(--dx); top: var(--dy); rotate: var(--r);
  padding: 11px 18px; border: 1px solid rgba(6,23,42,.10); border-radius: 999px;
  background: #fff; color: #304353; box-shadow: 0 10px 28px rgba(9,45,70,.07);
  font: 500 clamp(14px, 1.1vw, 17px)/1.3 var(--font-text); white-space: nowrap;
  opacity: 0;
}
.q-chip--accent { color: #1f6f9f; background: #EEF6FC; border-color: rgba(37,135,189,.22); }
.scene--pain.is-visible .q-chip {
  animation: qpop .5s cubic-bezier(.2,.9,.3,1.3) calc(.25s + var(--i) * .14s) forwards,
             qfloat 5.5s ease-in-out calc(2.2s + var(--i) * .3s) infinite alternate;
}
@keyframes qpop { from { opacity: 0; scale: .82; } to { opacity: 1; scale: 1; } }
@keyframes qfloat { from { translate: 0 0; } to { translate: 0 -7px; } }
@media (prefers-reduced-motion: reduce) { .q-chip { opacity: 1 !important; animation: none !important; } }
@media (max-width: 760px) { .q-chip { white-space: normal; left: 0; top: 0; rotate: 0deg; } }

/* Метод: заголовок в две строки */
.scene--formula .formula-title { font-size: clamp(42px, 5.4vw, 92px); }
.scene--formula .formula span { font-size: clamp(20px, 2vw, 32px); }

/* Часть системы: CRM — где лежит решение, пунктир — системы, которых ещё нет */
.orbit__core small { max-width: 11ch; margin-inline: auto; line-height: 1.3; }
.orbit__item--main { background: #1f6f9f; color: #fff; }
.orbit__item--future { background: transparent; border: 1.5px dashed rgba(37,135,189,.55); color: #2587bd; box-shadow: none; }
.scene.is-visible .orbit__item--future { animation: none; }

.q-cloud { gap: 16px 22px; }

/* Чередование фона: 2 белый · 3 серый · 4 белый · 5 серый */
.scene--connection { background: #fff; }

/* ---------- Мобильная версия ---------- */
@media (max-width: 1120px) {
  /* кривая под заголовком, на всю ширину — десктопное правило больше не перебивает */
  .scene--hero .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .scene--hero .hero-visual { width: 100%; }
}
@media (max-width: 760px) {
  /* подписи этапов читаемого размера */
  .node text, .node text.lbl-start { font-size: 22px; }
  .growth { width: 104%; margin-left: -2%; }
  /* шесть вопросов вместо двенадцати: по три над и под главным */
  .q-cloud .q-chip:nth-child(n+4) { display: none; }
  .q-cloud { gap: 10px; }
  .q-chip { font-size: 15px; padding: 10px 15px; }
}

/* Вопросы по очереди выходят на передний план (класс ставит скрипт) */
.q-chip {
  transform-origin: center;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), rotate .6s cubic-bezier(.2,.8,.2,1),
              box-shadow .6s ease, color .6s ease, background-color .6s ease, border-color .6s ease;
}
.q-chip.is-hot {
  z-index: 3; transform: scale(1.24); rotate: 0deg;
  color: var(--ink); background-color: #fff; border-color: rgba(37,135,189,.45);
  box-shadow: 0 18px 44px rgba(9,45,70,.16);
}
.q-chip--accent.is-hot { color: #0f5f8f; }
@media (max-width: 760px) { .q-chip.is-hot { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .q-chip.is-hot { transform: none; } }

/* Первый экран: строка-пояснение под заголовком */
.hero-sub { margin: 28px 0 0; max-width: 46ch; color: #b9c7d6; font: 400 clamp(17px, 1.45vw, 22px)/1.45 var(--font-text); text-wrap: pretty; }
/* «Устойчивый результат» — правым краем к точке, чтобы не вылезать за поле */
.node text.lbl-end { text-anchor: end; }

/* Третий экран: три опоры */
.pillars { width: 100%; max-width: 1180px; margin: clamp(28px, 4vh, 48px) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); text-align: left; }
.pillar { padding-top: 22px; border-top: 3px solid #2587bd; }
.pillar--result { border-top-color: #148660; }
.pillar h2 { margin: 0; font: 800 clamp(26px, 2.6vw, 42px)/1.08 var(--font-display); letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.pillar--result h2 { color: #148660; }
.pillar p { margin: 16px 0 0; color: #5e6e7c; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.5; max-width: 30ch; }
.scene--formula .scene-note { margin-top: clamp(32px, 5vh, 56px); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; gap: 30px; } .pillar p { max-width: none; } }

/* ---------- Четвёртый экран: путь оплаты через системы ---------- */
.scene--connection .display-dark.flow-title { max-width: none; font-size: clamp(40px, 4.4vw, 76px); }
.sysflow { position: relative; width: 100%; max-width: 1100px; margin: clamp(40px, 6vh, 64px) auto 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; --badge: 76px; }
/* дорожка и прорисовка поверх неё */
.sysflow::before, .sysflow::after { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: calc(var(--badge) / 2 - 1px); height: 2px; border-radius: 2px; }
.sysflow::before { background: rgba(37,135,189,.16); }
.sysflow::after { background: linear-gradient(90deg, #367bff, #55c7f1 60%, #44d5ac); transform: scaleX(0); transform-origin: left center; }
.sysflow li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; opacity: 0; }
.sysflow .sys { display: grid; place-items: center; width: var(--badge); height: var(--badge); border-radius: 50%;
  background: #fff; border: 2px solid rgba(37,135,189,.35); color: var(--ink); box-shadow: 0 12px 30px rgba(9,45,70,.08);
  font: 800 20px/1 var(--font-display); letter-spacing: -.02em; transition: none; }
.sysflow__last .sys { border-color: rgba(20,134,96,.45); color: #148660; }
.sysflow li span { color: var(--ink); font: 600 clamp(16px, 1.3vw, 19px)/1.35 var(--font-text); max-width: 16ch; }
/* бегущая точка */
.sysflow__token { position: absolute; z-index: 2; top: calc(var(--badge) / 2 - 6px); left: 12.5%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: #55c7f1; box-shadow: 0 0 0 5px rgba(85,199,241,.22), 0 0 18px rgba(85,199,241,.8); opacity: 0; }

.scene--connection.is-visible .sysflow::after { animation: flowDraw 1.6s cubic-bezier(.4,0,.2,1) .5s forwards; }
.scene--connection.is-visible .sysflow li { animation: flowIn .5s cubic-bezier(.2,.9,.3,1.3) calc(.5s + var(--k) * .45s) forwards; }
.scene--connection.is-visible .sysflow .sys { animation: flowPing 4s ease-out calc(2.6s + var(--k) * 1s) infinite; }
.scene--connection.is-visible .sysflow__last .sys { animation-name: flowPingOk; }
.scene--connection.is-visible .sysflow__token { animation: flowToken 4s linear 2.6s infinite; }
@keyframes flowDraw { to { transform: scaleX(1); } }
@keyframes flowIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes flowPing {
  0%   { transform: scale(1.1); border-color: #2587bd; box-shadow: 0 0 0 8px rgba(37,135,189,.12), 0 16px 34px rgba(9,45,70,.14); }
  14%, 100% { transform: scale(1); border-color: rgba(37,135,189,.35); box-shadow: 0 12px 30px rgba(9,45,70,.08); } }
@keyframes flowPingOk {
  0%   { transform: scale(1.12); border-color: #148660; box-shadow: 0 0 0 8px rgba(20,134,96,.14), 0 16px 34px rgba(9,45,70,.14); }
  14%, 100% { transform: scale(1); border-color: rgba(20,134,96,.45); box-shadow: 0 12px 30px rgba(9,45,70,.08); } }
@keyframes flowToken {
  0% { left: 12.5%; opacity: 0; } 4% { opacity: 1; }
  75% { left: 87.5%; opacity: 1; } 84%, 100% { left: 87.5%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sysflow li { opacity: 1 !important; } .sysflow::after { transform: none !important; } .sysflow__token { display: none; }
}

/* телефон: путь сверху вниз */
@media (max-width: 760px) {
  .sysflow { grid-template-columns: 1fr; gap: 22px; max-width: 420px; --badge: 60px; }
  .sysflow::before, .sysflow::after { left: calc(var(--badge) / 2 - 1px); right: auto; top: calc(var(--badge) / 2); bottom: calc(var(--badge) / 2); width: 2px; height: auto; }
  .sysflow::after { transform: scaleY(0); transform-origin: center top; }
  @keyframes flowDraw { to { transform: scaleY(1); } }
  .sysflow li { flex-direction: row; text-align: left; gap: 18px; }
  .sysflow .sys { flex: 0 0 auto; font-size: 17px; }
  .sysflow li span { max-width: none; }
  .sysflow__token { display: none; }
}

/* Технологии: компактная полоса вместо целого экрана */
.scene--tech, .scene--tech .scene__inner { min-height: 0; }
.scene--tech .scene__inner.tech-band { display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-block: clamp(64px, 11vh, 110px); }
.tech-band .kicker { margin-bottom: 14px; }
.tech-band__title { margin: 0; font: 800 clamp(28px, 2.8vw, 44px)/1.1 var(--font-display); letter-spacing: -.035em; color: var(--ink); }
.tech-band .tech-cloud { justify-content: center; margin-top: clamp(24px, 3.5vh, 36px); max-width: 1180px; }
.scene--tech .tech-cloud span { padding: 12px 18px; font-size: clamp(15px, 1.15vw, 18px); }

/* Путь оплаты: на широком экране каждый шаг в одну строку */
@media (min-width: 1100px) { .sysflow li span { max-width: none; white-space: nowrap; } }
.tech-band .tech-cloud { max-width: none; gap: 10px; }
.scene--tech .tech-cloud span { padding: 11px 16px; font-size: clamp(15px, 1.1vw, 17px); }

/* ---------- Первый экран: правки дизайна ---------- */
/* 1. Подписи кривой крупнее на ноутбуках: там кривая мельче всего */
@media (min-width: 1121px) and (max-width: 1600px) { .node text, .node text.lbl-start, .node text.lbl-end { font-size: 22px; } }
@media (min-width: 1601px) { .node text, .node text.lbl-start, .node text.lbl-end { font-size: 17px; } }
@media (min-width: 761px) and (max-width: 1120px) { .node text, .node text.lbl-start, .node text.lbl-end { font-size: 17px; } }

/* 2. Свечение без «шва»: градиент гаснет внутри эллипса, а не обрезается его краем */
.scene--hero::after { background: radial-gradient(closest-side, rgba(33,122,176,.24), rgba(33,122,176,.08) 55%, transparent 100%); filter: blur(40px); }

/* 3. Кнопка в шапке — залитая: белая на тёмном, синяя на светлом */
.topbar__cta { background: #145D99; border-color: #145D99; color: #fff; }
.topbar__cta:hover { background: #0A5C9E; border-color: #0A5C9E; color: #fff; }
.topbar:not(.is-scrolled) .topbar__cta { background: #fff; border-color: #fff; color: var(--navy); }
.topbar:not(.is-scrolled) .topbar__cta:hover { background: #e6f2fb; border-color: #e6f2fb; color: var(--navy); }

/* 4. Точки навигации видны и на тёмных экранах */
.scene-dots a { transition: background .3s ease, height .25s ease; }
.scene-dots.on-dark a { background: rgba(255,255,255,.34); }
.scene-dots.on-dark a.is-active { background: var(--blue); }
/* Зерно поверх свечения: ломает «ступеньки» градиента на тёмном фоне (кольца на больших экранах) */
.scene--hero::after { z-index: -2; }
.scene--hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- Второй экран: правки ---------- */
/* главный вопрос длиннее — чуть шире строка */
.scene--pain .mega-question { max-width: 18ch; }
/* надзаголовок переносится ровно */
.kicker { text-wrap: balance; }
/* 1. На компьютере — ровно по три вопроса в ряд на любой ширине, облако не рассыпается */
@media (min-width: 1024px) {
  .q-cloud { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; justify-items: center; column-gap: 16px; row-gap: 16px; max-width: none; }
}
/* 3. Пока один вопрос подсвечен, остальные слегка отступают — перекрытие выглядит задуманным */
.q-chip { transition: transform .6s cubic-bezier(.2,.8,.2,1), rotate .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s ease,
  color .6s ease, background-color .6s ease, border-color .6s ease, filter .6s ease; }
.scene--pain:has(.q-chip.is-hot) .q-chip:not(.is-hot) { filter: opacity(.62); }

/* ---------- Третий экран: три опоры крупными строками ---------- */
.scene--formula .scene__inner.pillars-wrap { flex-direction: column; align-items: stretch; justify-content: center; }
.pillars-wrap { width: 100%; }
.pillars-wrap > .kicker, .pillars--rows { width: 100%; max-width: 1180px; margin-inline: auto; }
.pillars-wrap > .kicker { text-align: left; }
.pillars--rows { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: clamp(14px, 2.4vh, 26px); text-align: left; }
.pillars--rows .pillar { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 80px);
  align-items: center; padding: clamp(22px, 3.6vh, 36px) 0; border-top: 1px solid rgba(6,23,42,.12); }
.pillars--rows .pillar:last-child { border-bottom: 1px solid rgba(6,23,42,.12); }
.pillars--rows .pillar h2 { font-size: clamp(32px, 3.9vw, 64px); line-height: 1.02; letter-spacing: -.04em; }
.pillars--rows .pillar p { margin: 0; max-width: 40ch; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; text-wrap: pretty; }
@media (max-width: 900px) {
  .pillars--rows .pillar { grid-template-columns: 1fr; gap: 10px; align-items: start; }
}
/* строка про инструменты — теперь в полосе «На чём делаем» */
.tech-band__note { margin: 12px 0 0; color: #5e6e7c; font-size: clamp(16px, 1.2vw, 19px); text-wrap: balance; }
/* без висячих слов */
.scene-note, .solution-result, .hero-sub { text-wrap: pretty; }

/* ---------- Четвёртый экран: правки ---------- */
/* подпись в одну строку на широких экранах */
.scene--connection .scene-note { max-width: 62ch; }
/* стрелки между системами — направление видно и без анимации */
.sysflow__chev { position: absolute; z-index: 1; top: calc(var(--badge) / 2 - 6px); width: 11px; height: 11px; margin-left: -7px;
  border-top: 2px solid #6fb3d8; border-right: 2px solid #6fb3d8; transform: rotate(45deg); opacity: 0; }
.scene--connection.is-visible .sysflow__chev { animation: c-fade .4s ease 2.1s forwards; }
@media (prefers-reduced-motion: reduce) { .sysflow__chev { opacity: 1 !important; } }
@media (max-width: 760px) { .sysflow__chev { display: none; } }
/* кружки систем крупнее на больших экранах */
@media (min-width: 1440px) { .sysflow { --badge: 88px; } .sysflow .sys { font-size: 22px; } }

/* ---------- Пятый экран: правки дизайна ---------- */
/* 1. Цепочки в одну строку: плашки компактнее, стрелка не висит в конце строки */
.tasks-panels .metric-flow, .tasks-panels .life-cycle, .task-panel .metric-flow, .task-panel .life-cycle { gap: 6px; flex-wrap: nowrap; }
.task-panel .metric-flow span, .task-panel .life-cycle span { padding: 10px 12px; font-size: 15px; white-space: nowrap; }
.task-panel .metric-flow i, .task-panel .life-cycle i { font-size: 14px; }
@media (max-width: 1120px) and (min-width: 761px) { .task-panel .metric-flow, .task-panel .life-cycle { flex-wrap: wrap; } }
/* на телефоне цепочка идёт сверху вниз, стрелки вниз */
@media (max-width: 760px) {
  .task-panel .metric-flow, .task-panel .life-cycle { flex-direction: column; align-items: flex-start; gap: 4px; }
  .task-panel .metric-flow i, .task-panel .life-cycle i { transform: rotate(90deg); margin-left: 16px; line-height: 1; }
}

/* 2. Гармошка на телефоне: схема под нажатым вопросом */
.scene--tasks.is-accordion .tasks-panels { display: none; }
.scene--tasks.is-accordion .tasks-list .task-panel { padding: 6px 0 22px 17px; border-left: 3px solid #2587bd; margin-top: -4px; }
.scene--tasks.is-accordion .tasks-list .task-panel .solution-result { margin-top: 16px; font-size: 16px; }
.scene--tasks.is-accordion .tasks-list .task-panel .project-gauge { grid-template-columns: 150px 1fr; gap: 18px; }
.scene--tasks.is-accordion .tasks-list .task-panel .project-gauge__ring { width: 150px; }
.scene--tasks.is-accordion .tasks-list .task-panel .project-gauge__ring b { font-size: 34px; }
.scene--tasks.is-accordion .task[aria-selected="true"] { box-shadow: none; }

/* 3. Неактивные вопросы читаются и выглядят нажимаемыми */
.task { color: #5f6f7e; cursor: pointer; }
.task small { color: #7a8998; }
.task::after { content: " →"; display: inline-block; margin-left: 6px; opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; color: #2587bd; }
.task:hover::after, .task:focus-visible::after { opacity: 1; transform: none; }
.task[aria-selected="true"]::after { display: none; }
/* стрелка наведения — у правого края строки, не участвует в переносе текста */
.task { position: relative; padding-right: 44px; }
.task::after { position: absolute; right: 16px; top: 50%; margin: 0; transform: translate(-6px, -50%); }
.task:hover::after, .task:focus-visible::after { transform: translate(0, -50%); }

/* ---------- Шестой экран: два равных тезиса ---------- */
.outcome-points { list-style: none; margin: 0 0 clamp(40px, 6vh, 68px); padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(28px, 4vw, 64px); }
.outcome-points li { position: relative; padding-left: 34px; color: #b9c7d6; font: 500 clamp(18px, 1.7vw, 26px)/1.3 var(--font-text); letter-spacing: -.01em; }
.outcome-points li::before { content: ""; position: absolute; left: 2px; top: .32em; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
@media (max-width: 640px) { .outcome-points { flex-direction: column; align-items: center; } }

/* ---------- Технологии: текстом, по уровням, без «кнопок» ---------- */
.tech-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.tech-list li { display: inline-flex; align-items: center; white-space: nowrap; }
.tech-list li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #9fb4c7; margin: 0 clamp(14px, 1.6vw, 24px); }
.tech-list--main { margin-top: clamp(26px, 3.6vh, 38px); row-gap: 10px; }
.tech-list--main li { color: var(--ink); font: 700 clamp(18px, 1.55vw, 24px)/1.3 var(--font-display); letter-spacing: -.02em; }
.tech-list--sub { margin-top: 14px; row-gap: 6px; }
.tech-list--sub li { color: #5e6e7c; font: 500 clamp(15px, 1.15vw, 18px)/1.4 var(--font-text); }
.tech-list--sub li + li::before { width: 4px; height: 4px; background: #b8c6d3; }
.tech-apps { margin-top: clamp(28px, 4vh, 40px); padding-top: clamp(22px, 3vh, 30px); border-top: 1px solid rgba(6,23,42,.1); width: min(100%, 820px); }
.tech-apps__label { margin: 0 0 12px; color: #2587bd; font: 700 12px/1.3 var(--font-text); letter-spacing: .16em; text-transform: uppercase; }
.tech-list--apps { row-gap: 8px; }
.tech-list--apps li { color: #1f6f9f; font: 600 clamp(16px, 1.25vw, 20px)/1.35 var(--font-text); }
.tech-list--apps li + li::before { background: #7fbde0; }
@media (max-width: 640px) {
  .tech-list li + li::before { margin: 0 10px; }
  .tech-list--main li { font-size: 17px; }
}
/* приложения — не ссылки, поэтому не синим */
.tech-list--apps li { color: var(--ink); }
/* телефон: без точек-разделителей (иначе строка начинается с точки), отступами */
@media (max-width: 640px) {
  .tech-list { column-gap: 18px; }
  .tech-list li + li::before { display: none; }
}

/* ---------- Контакты: правки ---------- */
.contact-after { margin: 16px 0 0; color: #9fb1c7; font-size: 15px; }
/* 3. На больших экранах заголовок не на всю высоту */
@media (min-width: 1600px) { .contact-title { font-size: clamp(68px, 5.6vw, 116px); } }
/* 1. Телефон: контакты сразу под кнопкой, без растяжки на высоту окна */
@media (max-width: 1120px) {
  .scene--contact, .scene--contact .scene__inner, .contact-layout { min-height: 0 !important; }
  .contact-layout { align-content: start; gap: 40px; }
}
/* 2. Окно формы компактнее: заголовок в одну строку, меньше отступы */
.form-dialog h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.05; }
.dialog-content { padding: clamp(26px, 3.4vw, 44px); }
.dialog-lead { margin: 12px 0 22px; }
.lead-form { gap: 14px; }
.lead-form textarea { min-height: 96px; }

/* ---------- Технологии: полноценный экран ---------- */
.scene--tech, .scene--tech .scene__inner { min-height: 100svh; }
.scene--tech .scene__inner.tech-band { justify-content: center; padding-block: max(118px, calc(var(--header-h) + 44px)) clamp(70px, 8vh, 112px); }
.tech-band .kicker { margin-bottom: 18px; }
.tech-band__title { font-size: clamp(40px, 4.6vw, 80px); line-height: 1.02; letter-spacing: -.045em; }
.tech-band__note { margin-top: 18px; font-size: clamp(17px, 1.4vw, 22px); }
.tech-list--main { margin-top: clamp(40px, 6vh, 64px); row-gap: 14px; }
.tech-list--main li { font-size: clamp(22px, 2.1vw, 34px); }
.tech-list li + li::before { margin: 0 clamp(16px, 1.8vw, 28px); }
.tech-list--sub { margin-top: 18px; }
.tech-list--sub li { font-size: clamp(16px, 1.35vw, 21px); }
.tech-apps { margin-top: clamp(40px, 6vh, 64px); padding-top: clamp(28px, 4vh, 40px); width: min(100%, 980px); }
.tech-apps__label { margin-bottom: 16px; }
.tech-list--apps li { font-size: clamp(18px, 1.55vw, 24px); }
@media (max-width: 760px) {
  .scene--tech, .scene--tech .scene__inner { min-height: 0; }
  .tech-list--main li { font-size: 19px; }
  .tech-list--apps li { font-size: 17px; }
}
/* строки не переносятся с «висячей» точкой */
.tech-list--main li { font-size: clamp(22px, 1.8vw, 32px); }
.tech-list li + li::before { margin: 0 clamp(14px, 1.4vw, 24px); }
.tech-apps { width: min(100%, 1240px); }
/* где строка всё же переносится — без точек, просто отступами */
@media (max-width: 1400px) {
  .tech-list { column-gap: 28px; }
  .tech-list li + li::before { display: none; }
}

/* Экран задач: крупный заголовок, как у остальных экранов */
.tasks-list .kicker { margin-bottom: 12px; }
.tasks-title { margin: 0 0 clamp(20px, 3vh, 32px); font-size: clamp(34px, 3.6vw, 60px); line-height: 1.02; letter-spacing: -.045em; }
.tasks-title span { color: #2587bd; }

/* Партнёрская ссылка на тарифы Битрикс24 */
.tech-tariffs { display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(20px, 3vh, 28px);
  padding: 11px 20px; border: 1px solid rgba(37,135,189,.35); border-radius: 999px; color: #1f6f9f; text-decoration: none;
  font: 600 clamp(15px, 1.1vw, 17px)/1 var(--font-text); transition: background .2s ease, border-color .2s ease; }
.tech-tariffs:hover { background: #EEF6FC; border-color: #2587bd; color: #0f5f8f; }
.tech-tariffs span { transition: transform .2s ease; }
.tech-tariffs:hover span { transform: translateX(3px); }

/* Ссылки на продукт «Метод Цифры. Финансы» */
.task-more { display: inline-flex; margin-top: 18px; color: #1f6f9f; font-weight: 600; font-size: 16px; text-decoration: none; }
.task-more:hover { color: #0f5f8f; text-decoration: underline; }
.tech-apps__label--product { margin-top: clamp(22px, 3vh, 30px); }
.tech-product { color: #1f6f9f; font: 600 clamp(17px, 1.4vw, 22px)/1.35 var(--font-text); text-decoration: none; }
.tech-product:hover { color: #0f5f8f; text-decoration: underline; }
