.service-root-page { letter-spacing: 0; background: #fff; }
html:has(.service-root-page) { scroll-behavior: smooth; }
.service-root-page .header { background: #fff; z-index: 50; }
.service-root-page .brand { width: 134px; height: 28px; }
.service-root-page .header nav { gap: 28px; font-size: 14px; }
.root-main { --root-gutter: 5%; --root-accent: #ff7600; }
.root-main :is(h1,h2,h3) { letter-spacing: 0; overflow-wrap: anywhere; }
.root-main h1 { font-size: 78px; font-weight: 650; line-height: 1.04; max-width: 1080px; margin: 24px 0 0; }
.root-main h2 { font-size: 54px; line-height: 1.12; font-weight: 550; }
.root-main h3 { font-size: 30px; line-height: 1.18; font-weight: 500; }
.root-main p { font-size: 18px; line-height: 1.55; }
.root-main .ph-icon { width: 24px; height: 24px; flex-shrink: 0; }
.root-story { position: relative; }
.root-stage { position: relative; height: min(900px, 94svh); min-height: 680px; overflow: clip; background: #f3f5f4; }
.root-hero { position: absolute; left: var(--root-gutter); right: var(--root-gutter); top: 122px; z-index: 2; pointer-events: none; }
.root-eyebrow { display: flex; justify-content: space-between; font-size: 13px; text-transform: uppercase; }
.root-edition { font-variant-numeric: tabular-nums; }
.root-art { position: absolute; inset: 0; }
.root-art canvas { width: 100%; height: 100%; display: block; opacity: 0; }
.root-art[data-rendered="true"] canvas { opacity: 1; }
.root-art > picture, .root-art > .root-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.root-poster { width: 100%; height: 100%; object-fit: cover; }
.root-art[data-rendered="true"] > picture, .root-art[data-rendered="true"] > .root-poster { visibility: hidden; }
.root-art-fallback { position: absolute; top: 45%; left: 20%; width: 60%; height: 36%; display: flex; gap: 18px; align-items: center; }
.root-art-fallback span { display: block; width: 30%; height: 70%; border: 12px solid #0c0628; }
.root-art-fallback span:nth-child(2) { border-color: #ff7600; height: 100%; }
.root-art[data-rendered="true"] .root-art-fallback { display: none; }
.root-stage-footer { position: absolute; bottom: 64px; left: var(--root-gutter); right: var(--root-gutter); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; z-index: 3; }
.root-main .root-intro { max-width: 370px; font-size: 17px; }
.root-scene-skip { display: inline-flex; gap: 18px; align-items: center; min-height: 48px; text-decoration: none; font-size: 15px; }
.root-scene-skip .ph-icon { transform: rotate(90deg); }
.root-beats { display: none; pointer-events: none; }
.root-story[data-motion="on"] .root-beats { display: block; }
.root-beat { position: absolute; left: var(--root-gutter); bottom: 145px; max-width: 430px; opacity: 0; }
.root-beat > span { font-size: 13px; display: block; margin-bottom: 18px; text-transform: uppercase; }
.root-main .root-beat p { font-size: 42px; line-height: 1.08; font-weight: 550; }
.root-scene-controls { position: absolute; bottom: 0; left: var(--root-gutter); right: var(--root-gutter); z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid #ccd1ce; height: 50px; }
.root-motion { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; cursor: pointer; }
.root-motion[hidden] { display: none; }
.root-motion input { width: 16px; height: 16px; accent-color: #0c0628; }
.root-scene-progress { width: 120px; height: 2px; background: #c4cbc8; }
.root-scene-progress i { display: block; width: 100%; height: 100%; transform-origin: left; transform: scaleX(0); background: #0c0628; }
.root-section { padding: 104px var(--root-gutter); scroll-margin-top: 88px; }
.root-kicker { font-size: 13px; display: block; text-transform: uppercase; }
.root-lead h2 { margin: 42px 0 64px; max-width: 1060px; font-size: 60px; line-height: 1.15; }
.root-lead-bottom { display: flex; gap: 60px; justify-content: space-between; align-items: flex-end; }
.root-lead-bottom p { max-width: 640px; }
.root-lead-bottom .button { flex-shrink: 0; min-height: 54px; font-size: 16px; gap: 28px; }
.root-section-heading { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; align-items: start; margin-bottom: 68px; }
.root-catalog-section { background: #eef6fa; }
.root-catalog { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; }
.root-catalog > a { border-top: 1px solid #a8b7bd; padding: 30px 0 44px; display: grid; grid-template-columns: 28px 1fr 24px; gap: 20px; text-decoration: none; }
.root-catalog h3 { max-width: 440px; }
.root-catalog p { font-size: 15px; margin-top: 18px; max-width: 360px; }
.root-catalog-number { font-size: 12px; padding-top: 5px; }
.root-catalog > a > .ph-icon { transition: transform 180ms cubic-bezier(.22,1,.36,1); }
.root-scope { background: #e8f2dd; }
.root-scope h2 { margin: 32px 0 54px; }
.root-scope ol { list-style: none; padding: 0; margin: 0; }
.root-scope li { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; align-items: center; border-top: 1px solid #a9baa2; padding: 28px 0; }
.root-scope li > span { font-size: 88px; font-weight: 400; line-height: 1; color: #365335; }
.root-scope li p { font-size: 34px; max-width: 850px; line-height: 1.2; }
.root-project { margin: 0; padding: 88px var(--root-gutter) 48px; background: #f3f5f4; overflow: clip; position: relative; }
.root-project-title { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.root-project-title > span { font-size: 13px; }
.root-project-title strong { font-size: 64px; line-height: 1; font-weight: 600; }
.root-project-media { width: 92%; margin: 36px auto 0; }
.root-project-media img { display: block; width: 100%; height: auto; max-height: 660px; object-fit: contain; }
.root-project figcaption { font-size: 13px; margin-top: 24px; }
.root-chapters { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 44px; }
.root-chapter { border-top: 1px solid #aaa6b7; padding-top: 24px; scroll-margin-top: 110px; }
.root-phase { font-size: 14px; }
.root-chapter h3 { margin: 38px 0 22px; }
.root-chapter p { font-size: 16px; }
.root-price { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12%; background: #ff7600; }
.root-price a { display: inline-flex; align-items: center; gap: 20px; font-size: 18px; margin-top: 36px; min-height: 44px; text-underline-offset: 5px; }
.root-price h2 { font-size: 58px; }
.root-faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10%; }
.root-faq details { border-top: 1px solid #aaa6b7; padding: 24px 0; }
.root-faq summary { font-size: 20px; line-height: 1.4; cursor: pointer; }
.root-faq details p { padding-top: 18px; font-size: 16px; }
.root-related { display: flex; justify-content: space-between; gap: 32px; border-top: 1px solid #aaa6b7; padding-top: 44px; padding-bottom: 44px; }
.root-related a { display: inline-flex; gap: 16px; align-items: center; font-size: 20px; }
.root-main :is(a,input,summary):focus-visible { outline: 2px solid #237a41; outline-offset: 5px; }
.service-root-page #contact { scroll-margin-top: 80px; }
.service-root-page .contact h2 { font-size: 48px; }
@media (hover:hover) and (pointer:fine) { .root-catalog > a:hover > .ph-icon { transform: translateX(6px); } }
@media (min-width:1800px) { .root-main { --root-gutter: max(5%, calc((100% - 1720px) / 2)); } .root-main h1 { font-size: 96px; max-width: 1320px; } }
@media (max-width:1199px) { .root-main h1 { font-size: 64px; max-width: 900px; } .root-main h2 { font-size: 44px; } .root-lead h2 { font-size: 48px; } .root-catalog { column-gap: 36px; } }
@media (max-width:899px) {
    .root-main { --root-gutter: 22px; }
    .service-root-page .header nav { gap: 20px; font-size: 12px; }
    .service-root-page .header nav > a:first-child { display: none; }
    .root-stage { height: auto; min-height: 0; padding-top: 110px; display: flex; flex-direction: column; }
    .root-hero { position: relative; top: auto; left: auto; right: auto; padding: 0 var(--root-gutter); order: 0; }
    .root-main h1 { font-size: 44px; line-height: 1.04; margin-top: 28px; }
    :lang(kk) .root-main h1 { font-size: 34px; }
    .root-art { position: relative; inset: auto; height: 390px; width: 100%; order: 1; }
    .root-art canvas { position: absolute; inset: 0; }
    .root-art-fallback { top: 15%; height: 65%; }
    .root-stage-footer { position: relative; left: auto; right: auto; bottom: auto; padding: 0 var(--root-gutter) 24px; order: 2; flex-direction: column; align-items: flex-start; gap: 18px; }
    .root-main .root-intro { max-width: 500px; font-size: 17px; }
    .root-scene-controls { position: relative; left: auto; right: auto; bottom: auto; margin: 0 var(--root-gutter); order: 3; }
    .root-story[data-motion="on"] .root-beats { display: none; }
    .root-section { padding-top: 64px; padding-bottom: 64px; }
    .root-main h2 { font-size: 34px; }
    .root-main h3 { font-size: 26px; }
    .root-main p { font-size: 16px; }
    .root-lead h2 { margin: 28px 0 36px; font-size: 36px; }
    .root-lead-bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
    .root-section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
    .root-catalog { grid-template-columns: 1fr; }
    .root-catalog > a { padding: 24px 0 30px; gap: 14px; grid-template-columns: 24px 1fr 24px; }
    .root-scope h2 { margin: 24px 0 32px; }
    .root-scope li { grid-template-columns: 56px 1fr; gap: 20px; }
    .root-scope li > span { font-size: 44px; }
    .root-scope li p { font-size: 23px; }
    .root-project { padding-top: 48px; }
    .root-project-title { flex-direction: column; gap: 18px; }
    .root-project-title strong { font-size: 40px; }
    .root-project-media { width: 116%; margin-left: -8%; }
    .root-chapters { grid-template-columns: 1fr; gap: 36px; }
    .root-chapter h3 { margin: 22px 0 16px; }
    .root-price, .root-faq { grid-template-columns: 1fr; gap: 30px; }
    .root-related { flex-direction: column; gap: 24px; }
    .service-root-page .contact h2 { font-size: 36px; }
}
@media (max-width:379px) { .root-main { --root-gutter: 16px; } .root-main h1 { font-size: 38px; } :lang(kk) .root-main h1 { font-size: 32px; } .root-art { height: 330px; } .root-main h2 { font-size: 30px; } }
@media (min-width:900px) and (max-height:649px) { .root-stage { height: 780px; min-height: 780px; } }
@media (prefers-reduced-motion:reduce) { html:has(.service-root-page) { scroll-behavior: auto; } .root-catalog > a > .ph-icon { transition: none; } }
