:root {
    --container: 1220px;
    --ice: #91c9ff;
    --line: rgba(159, 193, 225, .2);
}
html {
    scroll-padding-top: 100px;
    color-scheme: dark;
}
:focus-visible {
    outline: 3px solid var(--ice);
    outline-offset: 4px;
}
.header {
    background: rgba(8, 10, 14, .94);
    border-bottom: 1px solid var(--line);
}
.header-container {
    height: 72px;
}
.header-btn {
    min-height: 42px;
    padding-inline: 22px;
}
.btn-primary {
    background: #92cbff;
    color: #071625;
    box-shadow: none;
}
.hero {
    display: grid;
    align-items: center;
    min-height: clamp(630px, 83vh, 830px);
    padding: 130px 0 85px;
    background: #08090c;
    border-bottom: 1px solid var(--line);
}
.hero-background {
    left: 35%;
}
.hero-slide::before {
    background: linear-gradient(90deg, #08090c 0%, rgba(8, 9, 12, .84) 14%, transparent 62%),
        linear-gradient(0deg, rgba(8, 9, 12, .68), transparent 32%);
}
.hero-container {
    display: block;
    min-height: auto;
}
.hero-content {
    max-width: 650px;
}
.hero h1 {
    font-size: clamp(3.4rem, 6.4vw, 6.1rem);
    letter-spacing: -.065em;
}
.hero h1 em {
    display: block;
    color: var(--ice);
    font-style: normal;
}
.hero p {
    max-width: 555px;
    margin-top: 1.5rem;
    color: #d4dae2;
    text-wrap: pretty;
}
.hero-label, .section-label {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ice);
    font-size: .76rem;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.hero-label::before {
    width: 25px;
    height: 2px;
    border-radius: 0;
    box-shadow: none;
}
.hero-buttons {
    margin-top: 2rem;
}
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem 1.45rem;
    margin-top: 2.2rem;
}
.hero-shortcut, .back-link, .text-link {
    font-weight: 700;
    font-size: .91rem;
}
.hero-shortcut span, .back-link, .text-link {
    color: var(--ice);
}
.hero-shortcut:hover, .back-link:hover, .text-link:hover {
    text-decoration: underline;
    text-underline-offset: .25em;
}
.hero-scroll {
    left: auto;
    right: 32px;
    bottom: 20px;
    transform: none;
    color: #e5eaf0;
}
.hero-scroll::after {
    display: none;
}
.slide-control {
    position: absolute;
    bottom: 18px;
    left: max(24px, calc((100vw - var(--container)) / 2));
    z-index: 6;
    padding: .4rem .8rem;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: #0d1015;
    color: var(--text-secondary);
    font: inherit;
    font-size: .8rem;
    cursor: pointer;
}
section:not(.hero) h2 {
    letter-spacing: -.045em;
    text-wrap: balance;
}
.service-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.service-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.4rem;
    padding: clamp(1.4rem, 2.6vw, 2.5rem);
    background: linear-gradient(145deg, #18202b, #101217 80%);
    border-top: 2px solid #83bfff;
    border-radius: 0 0 20px 20px;
}
.service-row:nth-child(2) {
    border-top-color: #a6a7ef;
}
.service-row:nth-child(3) {
    border-top-color: #7acbbc;
}
.service-content h3 {
    font-size: 1.45rem;
    line-height: 1.25;
}
.service-arrow {
    width: 40px;
    height: 40px;
}
.section-description {
    margin-bottom: 2.6rem;
}
.expertise-grid, .why-grid {
    gap: 1rem;
}
.expertise-tags {
    margin-top: 1.4rem;
}
.footer {
    margin-top: 0;
}
.service-intro {
    padding: 140px 0 65px;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(ellipse at 92% 5%, #192f48, transparent 62%);
}
.service-intro h1 {
    max-width: 900px;
    margin: 1.5rem 0;
    line-height: 1.04;
    letter-spacing: -.055em;
    font-size: clamp(2.65rem, 6vw, 5.3rem);
}
.service-intro .btn, .example-panel .text-link {
    margin-top: 1.6rem;
}
.service-scope, .questions {
    padding: 76px 0;
}
.scope-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.4rem;
}
.service-example {
    padding: 0;
}
.example-panel {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    border-left: 3px solid var(--ice);
    background: #121923;
}
.example-panel h2 {
    font-size: clamp(1.65rem, 3vw, 2.6rem);
}
.example-panel p, .questions details p {
    max-width: 78ch;
    color: var(--text-secondary);
}
.example-panel .text-link {
    display: inline-block;
}
.questions details {
    max-width: 900px;
    border-bottom: 1px solid var(--line);
}
.questions summary, .project-detail summary {
    padding: 1.1rem 0;
    font-weight: 700;
    cursor: pointer;
}
.questions details p {
    padding-bottom: 1.2rem;
}
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.4rem;
    margin-top: 2.4rem;
}
.project-detail {
    margin-bottom: 1.2rem;
}
.portfolio-page .plugin-list {
    display: grid;
    gap: 1.2rem;
}
.portfolio-page .plugin-card h3 {
    overflow-wrap: anywhere;
}
.portfolio-page .hero {
    min-height: 560px;
}
.form-group select {
    appearance: auto;
}
.form-group option {
    background: #121820;
    color: white;
}
#form-status:empty {
    display: none;
}
#form-status {
    color: #ffcfcd;
}
@media (max-width: 900px) {
    .service-list, .scope-grid {
        grid-template-columns: 1fr;
    }
    .service-row {
        flex-direction: row;
        align-items: center;
    }
    .service-arrow {
        flex-shrink: 0;
    }
}
@media (max-width: 768px) {
    html {
        scroll-padding-top: 108px;
    }
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: 46px 38px;
        height: auto;
    }
    .header .logo img {
        width: 30px;
        height: 30px;
    }
    .header-btn {
        display: inline-flex;
        grid-row: 1;
        grid-column: 2;
        width: auto;
        min-height: 32px;
        padding-inline: 14px;
        font-size: .82rem;
    }
    .navigation {
        display: flex;
        grid-row: 2;
        grid-column: 1 / -1;
        justify-content: space-between;
        gap: .5rem;
        border-top: 1px solid var(--line);
        font-size: .87rem;
    }
    .navigation a {
        padding-block: .35rem;
    }
    .hero, .portfolio-page .hero {
        min-height: auto;
        padding: 180px 0 75px;
    }
    .hero-background {
        left: 0;
        bottom: 20%;
    }
    .hero-slide {
        background-position: 65% top;
    }
    .hero-slide::before {
        background: linear-gradient(0deg, #08090c 0%, rgba(8, 9, 12, .85) 50%, rgba(8, 9, 12, .35));
    }
    .hero h1 {
        font-size: clamp(3.25rem, 10vw, 4.8rem);
    }
    .hero-buttons {
        flex-direction: row;
        gap: .6rem;
    }
    .hero-buttons .btn {
        width: auto;
        min-height: 46px;
        padding-inline: 18px;
    }
    .hero-stats {
        gap: .5rem 1.1rem;
    }
    .slide-control {
        left: 16px;
    }
    .service-scope, .questions {
        padding-block: 56px;
    }
    .contact-layout {
        display: flex;
        flex-direction: column-reverse;
    }
    .contact-layout > div {
        width: 100%;
    }
    .contact-intro {
        margin-bottom: 2rem;
    }
    .contact-form-card .btn {
        min-width: 0;
    }
    .thank-you-buttons {
        flex-wrap: wrap;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
