:is(.development-hero-grid, .service-hero-grid) {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 24px;
    margin-top: 48px;
}

:is(.development-hero-grid, .service-hero-grid) > .cta-description { max-width: none; align-content: center; }
:is(.development-hero-grid, .service-hero-grid) .cta-description__text { font-size: 24px; line-height: 1.38; }

.ai-build {
    --ai-build-cycle: 12s;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 16px;
    background: radial-gradient(ellipse at 90% 0, rgb(255 255 255 / 9%), transparent 65%), rgb(47 32 117 / 35%);
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
}

.ai-build__topline, .ai-build__stage-label, .ai-build__window-bar, .ai-build__product-nav, .ai-build__order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ai-build__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 1.6px; color: rgb(255 255 255 / 65%); }
.ai-build__signal { width: 6px; height: 6px; border-radius: 50%; background: #ff8200; box-shadow: 0 0 12px rgb(255 130 0 / 45%); }
.ai-build__toggle { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 3px 7px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 6px; background: transparent; color: rgb(255 255 255 / 80%); font: inherit; font-size: 12px; cursor: pointer; }
.ai-build__toggle[hidden] { display: none; }
.ai-build__toggle:hover { background: rgb(255 255 255 / 10%); }
.ai-build__toggle:focus-visible { outline: 2px solid #ff9c4a; outline-offset: 4px; }
.ai-build__toggle svg { width: 12px; height: 12px; }
.ai-build__play-icon, .ai-build[data-paused="true"] .ai-build__pause-icon { display: none; }
.ai-build[data-paused="true"] .ai-build__play-icon { display: block; }
.ai-build__title { margin: 10px 0 20px; font-size: 27px; line-height: 1.1; font-weight: 700; }
.ai-build__title > span { color: #ff8200; }
.ai-build__accessible { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ai-build__scene { flex: 1; display: flex; flex-direction: column; min-width: 0; border: 1px solid rgb(255 255 255 / 16%); border-radius: 10px; overflow: hidden; background: rgb(24 16 65 / 50%); box-shadow: 0 12px 30px rgb(19 11 55 / 12%); }
.ai-build__window-bar { flex-shrink: 0; height: 32px; padding: 0 12px; border-bottom: 1px solid rgb(255 255 255 / 10%); font: 10px/1.3 ui-monospace, monospace; color: rgb(255 255 255 / 45%); }
.ai-build__window-bar > svg { width: 14px; height: 14px; }
.ai-build__window-dots { display: flex; gap: 4px; }
.ai-build__window-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgb(255 255 255 / 25%); }
.ai-build__window-dots i:first-child { background: #ff9b61; }
.ai-build__stages { flex: 1; display: grid; min-height: 250px; }
.ai-build__stage { grid-area: 1 / 1; min-width: 0; padding: 18px; opacity: 0; animation-duration: var(--ai-build-cycle); animation-iteration-count: infinite; animation-timing-function: ease-in-out; }
.ai-build__stage--brief { animation-name: ai-build-brief; }
.ai-build__stage--build { animation-name: ai-build-code; }
.ai-build__stage--review { animation-name: ai-build-review; }
.ai-build__stage--ship { animation-name: ai-build-ship; }
.ai-build__stage-label { flex-wrap: wrap; min-height: 23px; margin-bottom: 16px; color: rgb(255 255 255 / 50%); font-size: 10px; letter-spacing: 1px; }
.ai-build__tag { padding: 3px 6px; border: 1px solid rgb(255 255 255 / 16%); border-radius: 4px; font-size: 10px; letter-spacing: 0; color: #dcd5ff; }
.ai-build__prompt-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 13px; border: 1px solid rgb(255 154 75 / 30%); border-radius: 10px; background: rgb(255 130 0 / 10%); color: #ffab71; }
.ai-build__prompt-icon svg { width: 24px; height: 24px; }
.ai-build__stage-title { margin: 0; font-weight: 700; font-size: 21px; line-height: 1.2; }
.ai-build__muted { margin: 7px 0 0; font-family: 'Futura PT Book', sans-serif; font-size: 15px; color: rgb(255 255 255 / 60%); }
.ai-build__requirements { display: flex; flex-wrap: wrap; gap: 6px; margin: 17px 0; }
.ai-build__requirements span { padding: 4px 7px; border-radius: 4px; background: rgb(255 255 255 / 7%); color: #d4ccf4; font-family: 'Futura PT Book', sans-serif; font-size: 12px; }
.ai-build__prompt-footer, .ai-build__reviewer { display: flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 12px; color: rgb(255 255 255 / 65%); }
.ai-build__mini-avatar { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: #7460bb; font-size: 12px; color: white; }
.ai-build__send { margin-left: auto; font-size: 22px; color: #ffab71; }
.ai-build__spark { width: 22px; height: 22px; color: #ffab71; }
.ai-build__file { display: flex; align-items: center; gap: 6px; font: 11px/1.4 ui-monospace, monospace; color: #d7cff2; }
.ai-build__file > span:first-child { color: #ffad73; }
.ai-build__file-status { margin-left: auto; color: rgb(255 255 255 / 40%); font-size: 9px; }
.ai-build__code { margin: 18px 0 22px; font: 11px/2.1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.ai-build__code-line { display: flex; animation: ai-build-typing var(--ai-build-cycle) ease-out infinite; }
.ai-build__code-line--2 { animation-delay: .2s; }
.ai-build__code-line--3 { animation-delay: .4s; }
.ai-build__code-line--4 { animation-delay: .6s; }
.ai-build__code-line--5 { animation-delay: .8s; }
.ai-build__code-line--6 { animation-delay: 1s; }
.ai-build__line-number { width: 25px; flex-shrink: 0; color: rgb(255 255 255 / 25%); }
.ai-build__code code { font: inherit; white-space: pre; color: #e1dcf7; }
.ai-build__code b { font-weight: 400; color: #e7b2ed; }
.ai-build__code em { font-style: normal; color: #b9e7df; }
.ai-build__caret { display: inline-block; width: 5px; height: 12px; margin-left: 3px; background: #ffa266; vertical-align: middle; animation: ai-build-caret 1s step-end infinite; }
.ai-build__build-status { display: flex; align-items: center; gap: 8px; color: #c6b9f5; font-size: 12px; }
.ai-build__orbit { color: #ffab71; font-size: 21px; animation: ai-build-orbit 4s linear infinite; }
.ai-build__diff { display: flex; flex-direction: column; gap: 4px; margin-top: 15px; padding: 9px 10px; border-left: 2px solid #9bdec7; border-radius: 0 5px 5px 0; background: rgb(155 222 199 / 8%); }
.ai-build__diff > span { font: 11px/1.4 ui-monospace, monospace; color: #b9ecd8; }
.ai-build__diff small { font-size: 11px; color: rgb(255 255 255 / 50%); }
.ai-build__checks { margin-top: 13px; }
.ai-build__checks > div { display: flex; align-items: center; gap: 7px; margin-top: 7px; font-size: 13px; }
.ai-build__checks > div > span { color: #b9ecd8; }
.ai-build__checks small { margin-left: auto; font: 8px/1.5 ui-monospace, monospace; color: #b9ecd8; }
.ai-build__ready { display: inline-flex; align-items: center; gap: 5px; color: #b9ecd8; letter-spacing: 0; }
.ai-build__ready > span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ai-build__product { overflow: hidden; border: 1px solid rgb(255 255 255 / 15%); border-radius: 7px; background: #fbfaff; color: #3c335b; }
.ai-build__product-nav { padding: 9px 11px; border-bottom: 1px solid #ebe7f5; font-size: 12px; }
.ai-build__product-nav > strong { margin-right: auto; font-weight: 500; }
.ai-build__product-logo { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; background: #5e49ad; color: white; font-weight: 700; }
.ai-build__product-logo > span { margin-left: 1px; font-size: 9px; color: #ffc193; }
.ai-build__customer-avatar { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #eae5f6; font-size: 10px; }
.ai-build__greeting { margin: 12px 11px 9px; font-size: 16px; font-weight: 700; }
.ai-build__product-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 0 11px 10px; }
.ai-build__product-stats > div { padding: 8px 9px; border: 1px solid #ece8f6; border-radius: 5px; }
.ai-build__product-stats small { display: block; font-size: 10px; color: #8c849e; }
.ai-build__product-stats strong { display: flex; justify-content: space-between; margin-top: 3px; font-size: 22px; line-height: 1; }
.ai-build__product-stats strong > span { font-size: 15px; color: #ff8200; }
.ai-build__order { margin: 0 11px; padding: 8px 0; border-top: 1px solid #ece8f6; font-size: 10px; }
.ai-build__order > span { display: flex; align-items: center; gap: 5px; }
.ai-build__order i { width: 5px; height: 5px; border-radius: 2px; background: #c4b6e7; }
.ai-build__order small { font-size: 8px; padding: 2px 5px; border-radius: 3px; background: #eee9fa; color: #756197; }
.ai-build__delivered { display: flex; align-items: center; gap: 6px; margin-top: 13px; font-size: 12px; color: #d9d2ef; }
.ai-build__delivered > span { color: #b9ecd8; }
.ai-build__timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 0; margin: 18px 0 0; list-style: none; }
.ai-build__step { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; border-top: 2px solid rgb(255 255 255 / 15%); padding-top: 8px; color: rgb(255 255 255 / 50%); font-size: 12px; animation-duration: var(--ai-build-cycle); animation-timing-function: linear; animation-iteration-count: infinite; }
.ai-build__step > span { color: rgb(255 255 255 / 35%); font: 9px/1 ui-monospace, monospace; }
.ai-build__step--brief { animation-name: ai-build-step-brief; }
.ai-build__step--build { animation-name: ai-build-step-code; }
.ai-build__step--review { animation-name: ai-build-step-review; }
.ai-build__step--ship { animation-name: ai-build-step-ship; }
.ai-build__caption { margin-top: 16px; color: rgb(255 255 255 / 70%); font-family: 'Futura PT Book', sans-serif; text-align: center; font-size: 13px; line-height: 1.3; }
.ai-build[data-paused="true"] * { animation-play-state: paused; }
.ai-build:not([data-animation-ready]) * { animation: none !important; }
.ai-build:not([data-animation-ready]) .ai-build__stage { opacity: 0; }
.ai-build:not([data-animation-ready]) .ai-build__stage--ship { opacity: 1; }

@keyframes ai-build-brief { 0%, 19%, 100% { opacity: 1; transform: translateY(0); } 24%, 95% { opacity: 0; transform: translateY(-6px); } }
@keyframes ai-build-code { 0%, 20% { opacity: 0; transform: translateY(6px); } 25%, 44% { opacity: 1; transform: translateY(0); } 49%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes ai-build-review { 0%, 45% { opacity: 0; transform: translateY(6px); } 50%, 69% { opacity: 1; transform: translateY(0); } 74%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes ai-build-ship { 0%, 70% { opacity: 0; transform: translateY(6px); } 75%, 94% { opacity: 1; transform: translateY(0); } 99%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes ai-build-typing { 0%, 23% { clip-path: inset(0 100% 0 0); } 31%, 100% { clip-path: inset(0); } }
@keyframes ai-build-caret { 50% { opacity: 0; } }
@keyframes ai-build-orbit { to { transform: rotate(360deg); } }
@keyframes ai-build-step-brief { 0%, 24%, 100% { border-color: #ff9d57; color: #fff; } 25%, 99% { border-color: rgb(255 255 255 / 15%); color: rgb(255 255 255 / 50%); } }
@keyframes ai-build-step-code { 0%, 24%, 50%, 100% { border-color: rgb(255 255 255 / 15%); color: rgb(255 255 255 / 50%); } 25%, 49% { border-color: #ff9d57; color: #fff; } }
@keyframes ai-build-step-review { 0%, 49%, 75%, 100% { border-color: rgb(255 255 255 / 15%); color: rgb(255 255 255 / 50%); } 50%, 74% { border-color: #ff9d57; color: #fff; } }
@keyframes ai-build-step-ship { 0%, 74%, 100% { border-color: rgb(255 255 255 / 15%); color: rgb(255 255 255 / 50%); } 75%, 99% { border-color: #ff9d57; color: #fff; } }

@media (min-width: 1024px) and (max-width: 1199px) {
    :is(.development-hero-grid, .service-hero-grid) { gap: 20px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
    :is(.development-hero-grid, .service-hero-grid) > .cta-description { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 22px; }
    :is(.development-hero-grid, .service-hero-grid) .cta-description__author { width: 72px; }
    :is(.development-hero-grid, .service-hero-grid) .cta-description__photo { width: 72px; height: 72px; }
    :is(.development-hero-grid, .service-hero-grid) .cta-description__text { font-size: 22px; line-height: 1.4; }
    .ai-build { padding: 20px; }
    .ai-build__stage { padding: 14px; }
    .ai-build__code { font-size: 10px; }
}

@media (max-width: 1023px) {
    :is(.development-hero-grid, .service-hero-grid) { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 32px; }
    .ai-build { width: 100%; max-width: 540px; justify-self: center; }
}

@media (max-width: 575px) {
    .cta-description--mobile-full-width {
        margin-inline: -15px;
        max-width: none;
        border: 0;
        border-radius: 0;
        background: #fff;
        color: #2b353f;
    }
    .cta-description--mobile-full-width :is(.cta-description__caption, .cta-description__action-note) { color: rgb(43 53 63 / 75%); }
    .cta-description--mobile-full-width .site-cta-button--white,
    .cta-description--mobile-full-width .site-cta-button--white:hover { background: #ff7900; color: #fff; }
    .cta-description--mobile-full-width .site-cta-button-arrow { background: #fff; color: #ff7900; }
}

@media (max-width: 639px) {
    :is(.development-hero-grid, .service-hero-grid) .cta-description__text { font-size: 21px; line-height: 28px; }
    .ai-build { padding: 20px; }
    .ai-build__title { font-size: 26px; }
    .ai-build__stage { padding: 14px; }
    .ai-build__code { font-size: 10px; }
}

@media (max-width: 359px) {
    .ai-build { padding: 16px; }
    .ai-build__title { font-size: 24px; }
    .ai-build__stage { padding: 12px; }
    .ai-build__code { font-size: 9px; }
    .ai-build__line-number { width: 20px; }
    .ai-build__file-status { display: none; }
    .ai-build__caption { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .ai-build * { animation: none !important; }
    .ai-build__stage { opacity: 0; transform: none; }
    .ai-build__stage--ship { opacity: 1; }
    .ai-build__toggle { display: none; }
    .ai-build__step { border-color: rgb(255 255 255 / 30%); color: rgb(255 255 255 / 70%); }
    .ai-build__step--ship { border-color: #ff9d57; color: #fff; }
}
