/* Detailed pages extend the owner's saturated poster palette. */
.detail-page{--text:#fff7ef;--muted:#d5e5eb;background:#004b64;color:var(--text)}
.detail-page .header{position:relative;background:transparent}
.d-breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px;font-size:15px;line-height:1.5;margin-bottom:38px;color:#d5e5eb}
.d-breadcrumbs a{text-decoration:underline;text-underline-offset:5px;min-height:36px;display:inline-flex;align-items:center}
.d-breadcrumbs span{color:#ffbe91}
.d-hero{padding:22px 0 80px}
.d-hero-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.65fr);gap:7%;align-items:center}
.d-hero-copy{min-width:0}
.detail-page .d-hero h1{font-size:clamp(54px,5.65vw,86px);line-height:1.04;letter-spacing:-.035em;max-width:940px;text-wrap:balance}
.detail-page:lang(hy) .d-hero h1{font-size:clamp(38px,3.8vw,59px);line-height:1.26;letter-spacing:-.025em}
.d-hero-copy>p{font-size:19px;line-height:1.65;max-width:720px;margin-top:28px;color:#e0edf0}
.d-hero-copy>.button{margin-top:30px}
.d-prepare{position:relative;isolation:isolate;overflow:hidden;min-width:0;border-radius:30px;padding:34px 30px;min-height:400px;display:flex;flex-direction:column;justify-content:space-between;gap:38px;background:#1d3e84;color:#fff7ef}
.d-prepare img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover}
.d-prepare:after{content:'';position:absolute;inset:0;z-index:-1;background:#00355270}
.d-palette--ai,.d-palette--software{color:#163d49}.d-palette--ai:after,.d-palette--software:after{background:#ffffff14}
.d-prepare>strong{font:400 39px/1.1 DevassistantSerif,Georgia,serif;letter-spacing:-.025em;text-wrap:balance}
.detail-page:lang(hy) .d-prepare>strong{font-family:DevassistantArmenian,serif;font-size:30px;line-height:1.3}
.d-prepare ul{padding:0;margin:0;list-style:none;display:grid;gap:18px}
.d-prepare li{font-size:17px;line-height:1.55;border-top:1px solid currentColor;padding-top:15px}
.d-section{padding-block:72px;border-top:1px solid #81a5b644}
.d-section:nth-of-type(3){background:#075770}
.d-section-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:10%;align-items:start}
.detail-page .d-section h2{font-size:clamp(38px,3.7vw,58px);line-height:1.12;max-width:570px}
.detail-page:lang(hy) .d-section h2{font-size:clamp(30px,2.7vw,42px);line-height:1.35}
.d-prose{max-width:720px}.d-prose>p{font-size:18px;line-height:1.8;color:#e3eef2}.d-prose>p+p{margin-top:22px}
.d-service-links{margin-top:32px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.d-service-links a{display:flex;align-items:center;min-height:96px;padding:22px;border-radius:18px;background:#3e569f;color:#fff7ef;border:1px solid #94aee455;transition:background .15s}
.d-service-links a:nth-child(4n+2){background:#6451a1}.d-service-links a:nth-child(4n+3){background:#1d7477}.d-service-links a:nth-child(4n+4){background:#a34b65}
.d-service-links a:hover{background:#3153c2}.d-service-links strong{font-weight:400;font-size:19px;line-height:1.4}
.d-related{padding-block:38px 54px;display:grid;grid-template-columns:.9fr 1.1fr;gap:10%;align-items:start}
.d-related>strong{font-size:20px;font-weight:400}.d-related>div{display:flex;flex-wrap:wrap;gap:12px 26px}.d-related .text-link{min-height:44px;display:inline-flex;align-items:center}
.detail-page .contact{padding-block:70px}.detail-page .contact-copy>strong{display:block;font:400 clamp(46px,5vw,72px)/1.1 DevassistantSerif,Georgia,serif;letter-spacing:-.035em}
.detail-page:lang(hy) .contact-copy>strong{font-family:DevassistantArmenian,serif;font-size:42px;line-height:1.3}
.detail-page .contact-copy>.email-link{margin-top:28px}
.d-legal-notice{padding:22px 26px;border-radius:18px;background:#ffbd91;color:#173a45;margin-bottom:36px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.d-legal-notice strong{font-size:18px;font-weight:400}.legal-page .d-hero-layout{display:block}.legal-page .d-hero-copy{max-width:1000px}.legal-page .d-hero-copy>p{max-width:850px}.legal-page .d-section:last-child{padding-bottom:100px}
/* Existing AI-development content adopts this system without rewriting its examples. */
.existing-service .engine-art{display:none}.existing-service .hero--service{background:transparent;padding-top:64px;padding-bottom:80px;min-height:0}.existing-service .service-hero-layout{display:block;max-width:1160px;text-align:center}.existing-service .hero--service h1{font-family:DevassistantSerif,Georgia,serif;font-size:clamp(56px,6vw,90px);max-width:1050px;margin:auto;line-height:1.06}.existing-service .hero--service p{max-width:760px;margin:28px auto;color:#e0edf0}.existing-service:lang(hy) .hero--service h1{font-family:DevassistantArmenian,serif;font-size:clamp(37px,4vw,60px);line-height:1.3}
.existing-service .workflow-demo{background:#185c77}.existing-service .scenario-panel{background:#124a65;border-color:#6c9dad}.existing-service .scenario-piece{background:#0b3e58;border-color:#6993a4}.existing-service .scenario-tab{color:#fff7ef;border-color:#8aafbd}.existing-service .scenario-tab[aria-selected=true]{background:#ffb38d;color:#17313b;border-color:#ffb38d}.existing-service .boundary-grid article{background:#185c77;border-color:#6595a6}.existing-service .failure-section{background:#2c467b}.existing-service .failure-list details{border-color:#8195b8}.existing-service p{color:#e1edf1}.existing-service .deliverables{color:#fff7ef}
@media(max-width:1100px){.d-hero-layout{grid-template-columns:minmax(0,1.2fr) minmax(265px,.8fr);gap:5%}.detail-page .d-hero h1{font-size:60px}.detail-page:lang(hy) .d-hero h1{font-size:43px}.d-prepare{padding:28px 24px}.d-prepare>strong{font-size:34px}.d-section-layout,.d-related{gap:7%}.d-service-links{grid-template-columns:1fr}}
@media(max-width:760px){.d-hero{padding-top:15px;padding-bottom:45px}.d-breadcrumbs{font-size:14px;gap:5px 18px;margin-bottom:28px}.d-hero-layout{display:flex;flex-direction:column;gap:35px;align-items:stretch}.detail-page .d-hero h1{font-size:clamp(43px,9vw,62px)}.detail-page:lang(hy) .d-hero h1{font-size:clamp(32px,6.8vw,44px)}.d-hero-copy>p{font-size:17px;margin-top:23px}.d-prepare{min-height:0;padding:28px;gap:28px}.d-prepare ul{gap:15px}.d-prepare li{font-size:16px}.d-prepare>strong{font-size:36px}.d-section{padding-block:44px}.d-section-layout{display:block}.detail-page .d-section h2{font-size:39px;margin-bottom:24px}.detail-page:lang(hy) .d-section h2{font-size:30px}.d-prose>p{font-size:17px;line-height:1.75}.d-prose>p+p{margin-top:18px}.d-service-links a{min-height:76px;padding:20px}.d-related{display:block;padding-block:30px 42px}.d-related>div{margin-top:18px;gap:10px 22px}.detail-page .contact{padding-block:48px}.detail-page .contact-copy>strong{font-size:48px}.detail-page:lang(hy) .contact-copy>strong{font-size:35px}.d-legal-notice{padding:22px}.d-legal-notice .text-link{font-size:16px}.existing-service .hero--service{padding-top:35px;padding-bottom:50px}.existing-service .hero--service h1{font-size:49px}.existing-service:lang(hy) .hero--service h1{font-size:35px}}
@media(prefers-reduced-motion:reduce){.d-service-links a{transition:none}}
/* Long translated words must not widen a narrow viewport. */
.detail-page h1,.detail-page h2,.detail-page h3,.d-prepare li{overflow-wrap:anywhere}
.existing-service .failure-layout>*,.existing-service .contact-layout>*,.existing-service .scenario-grid>*{min-width:0}
.existing-service .scenario-piece strong{color:#ffbd91}
.existing-service .workflow-demo{color:#fff7ef}
@media(max-width:760px){.existing-service .failure-layout{grid-template-columns:minmax(0,1fr)}.existing-service .contact-copy h2{font-size:40px}.existing-service .section-heading h2,.existing-service .failure-layout>h2{font-size:40px}}
