:root {
    --navy: #051a49;
    --navy-2: #0b2b68;
    --orange: #e9a806;
    --green: #20b26b;
    --red: #e35b5b;
    --ink: #14203a;
    --muted: #6d7484;
    --line: #dfe5ef;
    --soft: #f4f7fb;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(5, 26, 73, .14);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

main,
section,
article,
aside,
form,
div {
    min-width: 0;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.intro-loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 22px;
    color: var(--white);
    background:
        radial-gradient(circle at 50% 50%, rgba(233, 168, 6, .18), transparent 34%),
        linear-gradient(135deg, #020817, var(--navy));
    transition: opacity .55s ease, visibility .55s ease;
}

.loader-shell {
    display: grid;
    grid-template-columns: 132px minmax(250px, 420px);
    gap: 26px;
    align-items: center;
}

.intro-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 132px;
    height: 132px;
}

.loader-mark::before,
.loader-mark::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(233, 168, 6, .34);
    border-radius: 50%;
    animation: loaderSpin 2.4s linear infinite;
}

.loader-mark::after {
    inset: 16px;
    border-color: rgba(255, 255, 255, .22);
    animation-direction: reverse;
}

.loader-mark img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .06), 0 14px 34px rgba(0, 0, 0, .34);
}

.loader-mark span {
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.intro-loader p {
    color: rgba(255, 255, 255, .74);
    font-size: .86rem;
    font-weight: 800;
    text-transform: uppercase;
}

.boot-console {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(233, 168, 6, .24);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, .22);
    box-shadow: inset 0 0 24px rgba(233, 168, 6, .06);
}

.boot-console code {
    color: rgba(255, 255, 255, .78);
    font-family: "Cascadia Mono", Consolas, monospace;
    font-size: .86rem;
}

.boot-console code::before {
    content: "> ";
    color: var(--orange);
}

.boot-console code {
    opacity: 0;
    transform: translateY(6px);
    animation: bootLine .4s ease forwards;
}

.boot-console code:nth-child(2) { animation-delay: .18s; }
.boot-console code:nth-child(3) { animation-delay: .36s; }
.boot-console code:nth-child(4) { animation-delay: .54s; }

@keyframes bootLine {
    to { opacity: 1; transform: translateY(0); }
}

.page-transition {
    position: fixed;
    inset: 0;
    z-index: 95;
    transform: translateY(100%);
    background:
        linear-gradient(135deg, rgba(5, 26, 73, .98), rgba(11, 43, 104, .96)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 80px);
    pointer-events: none;
}

.page-transition.active {
    animation: pageWipe .72s ease forwards;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

@keyframes pageWipe {
    0% { transform: translateY(100%); }
    48% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

@keyframes osSweep {
    from { transform: translateX(-20%); }
    to { transform: translateX(20%); }
}

@keyframes consoleScan {
    to { transform: translateY(70%); }
}

@keyframes ambientFloat {
    to { transform: translate3d(24px, -18px, 0) scale(1.04); }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 14px clamp(18px, 4vw, 56px);
    color: var(--white);
    background: rgba(5, 26, 73, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    transition: background .24s ease, border-color .24s ease, box-shadow .24s ease, padding .24s ease;
}

.site-header.is-top {
    background: rgba(5, 26, 73, .08);
    border-bottom-color: rgba(255, 255, 255, .08);
    box-shadow: none;
}

.site-header.is-scrolled {
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
}

.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 2vw, 30px);
    font-size: .95rem;
}

.main-nav a {
    opacity: .9;
    transition: color .2s ease, opacity .2s ease;
}

.main-nav a:hover {
    color: var(--orange);
    opacity: 1;
}

.header-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.header-cta,
.btn.primary {
    color: var(--navy);
    background: var(--orange);
    box-shadow: 0 14px 30px rgba(233, 168, 6, .28);
}

.btn.light {
    color: var(--navy);
    background: var(--white);
}

.btn.ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .08);
}

.btn.outline {
    color: var(--navy);
    border-color: var(--line);
    background: var(--white);
}

.btn.wide {
    width: 100%;
}

.btn:hover,
.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    color: var(--white);
    background: transparent;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(340px, .62fr);
    align-items: center;
    gap: clamp(24px, 5vw, 72px);
    padding: clamp(56px, 8vw, 120px) clamp(18px, 6vw, 84px);
    color: var(--white);
    overflow: hidden;
    background: var(--navy);
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: .48;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 26, 73, .96) 0%, rgba(5, 26, 73, .82) 52%, rgba(5, 26, 73, .55) 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 72px);
    z-index: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,.86), transparent 86%);
    animation: gridDrift 16s linear infinite;
}

.hero .hero-content::after {
    content: "";
    position: absolute;
    inset: -28px auto auto -18px;
    width: min(620px, 80vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    opacity: .54;
    animation: scanSweep 4.6s ease-in-out infinite;
}

@keyframes scanSweep {
    0%, 100% { transform: translateY(0); opacity: .2; }
    50% { transform: translateY(180px); opacity: .66; }
}

@keyframes gridDrift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 72px 72px, 72px 72px; }
}

.tech-orbit {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.tech-orbit span {
    position: absolute;
    width: clamp(160px, 22vw, 340px);
    aspect-ratio: 1;
    border: 1px solid rgba(233, 168, 6, .22);
    border-radius: 50%;
    animation: orbitFloat 12s ease-in-out infinite alternate;
}

.tech-orbit span:nth-child(1) { top: 18%; right: 12%; }
.tech-orbit span:nth-child(2) { bottom: 18%; right: 28%; animation-delay: -3s; }
.tech-orbit span:nth-child(3) { top: 28%; left: 46%; animation-delay: -5s; }
.tech-orbit span:nth-child(4) { bottom: 8%; left: 8%; animation-delay: -8s; }

@keyframes orbitFloat {
    to { transform: translate3d(24px, -18px, 0) rotate(18deg); }
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .8;
}

.hero-content,
.hero-dashboard {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-top: 74px;
}

.system-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-family: "Cascadia Mono", Consolas, monospace;
    font-size: .82rem;
}

.system-status span,
.system-status button {
    min-height: 34px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .08);
}

.system-status button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.system-status button.sound-on {
    color: var(--navy);
    border-color: var(--orange);
    background: var(--orange);
}

.hero-terminal {
    max-width: 720px;
    margin: 26px 0 0;
    border: 1px solid rgba(233, 168, 6, .28);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, .28);
    box-shadow: inset 0 0 38px rgba(233, 168, 6, .07);
    overflow: hidden;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .08);
}

.terminal-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--orange);
}

.terminal-bar strong {
    margin-left: 8px;
    color: rgba(255, 255, 255, .72);
    font-family: "Cascadia Mono", Consolas, monospace;
    font-size: .78rem;
}

.hero-terminal pre {
    min-height: 108px;
    margin: 0;
    padding: 18px;
    white-space: pre-wrap;
}

.hero-terminal code {
    color: #dfffe9;
    font-family: "Cascadia Mono", Consolas, monospace;
    font-size: .93rem;
}

.terminal-cursor {
    display: inline-block;
    width: 9px;
    height: 1.05em;
    margin-left: 3px;
    background: var(--orange);
    vertical-align: middle;
    animation: cursorBlink .9s steps(2) infinite;
}

@keyframes cursorBlink {
    50% { opacity: 0; }
}

@keyframes timelineFill {
    0%, 8% { transform: scaleY(.02); }
    88%, 100% { transform: scaleY(1); }
}

@keyframes dotPulse {
    0% { transform: translate(-50%, -50%) scale(.72); opacity: .58; }
    72%, 100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

@keyframes stepGlow {
    0%, 100% { box-shadow: 0 0 0 8px var(--white), 0 0 0 0 rgba(233, 168, 6, .36); }
    50% { box-shadow: 0 0 0 8px var(--white), 0 0 34px 8px rgba(233, 168, 6, .46); }
}

.immersion-scroll {
    position: relative;
    z-index: 1;
    min-height: 532vh;
    padding-top: 0;
    padding-bottom: 0;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 20%, rgba(233, 168, 6, .16), transparent 30%),
        linear-gradient(180deg, #020817, var(--navy) 45%, #020817);
    overflow: visible;
}

.immersion-scroll::before,
.immersion-scroll::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.immersion-scroll::before {
    background:
        linear-gradient(90deg, transparent 0 48%, rgba(233, 168, 6, .12) 50%, transparent 52%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 18px);
    opacity: .42;
    animation: osSweep 9s linear infinite;
}

.immersion-scroll::after {
    background:
        radial-gradient(circle at 25% 30%, rgba(33, 221, 168, .12), transparent 24%),
        radial-gradient(circle at 76% 66%, rgba(233, 168, 6, .13), transparent 22%);
    mix-blend-mode: screen;
    opacity: .62;
    animation: ambientFloat 14s ease-in-out infinite alternate;
}

.os-sticky {
    position: sticky;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(360px, 1fr);
    gap: clamp(24px, 6vw, 84px);
    align-items: center;
    padding: clamp(90px, 10vw, 140px) clamp(18px, 6vw, 84px);
    overflow: hidden;
    isolation: isolate;
    z-index: 1;
}

.os-sticky.is-fixed {
    position: sticky;
}

.os-sticky.is-after {
    position: sticky;
    top: 0;
    bottom: 0;
}

.os-media-stage {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    opacity: .34;
}

.os-media-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 8, 23, .92), rgba(2, 8, 23, .62) 48%, rgba(2, 8, 23, .92)),
        radial-gradient(circle at 76% 48%, rgba(233, 168, 6, .2), transparent 26%);
}

.os-media-stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.16) translateY(18px);
    transition: opacity .55s ease, transform 1.2s ease;
}

.os-media-stage img.active {
    opacity: 1;
    transform: scale(1.03) translateY(0);
}

.os-copy,
.os-viewport {
    position: relative;
    z-index: 1;
}

.os-triggers {
    position: absolute;
    inset: 100vh 0 0;
    z-index: 0;
    display: grid;
    grid-template-rows: repeat(6, 72vh);
    pointer-events: none;
}

.immersion-scroll .os-copy.reveal,
.immersion-scroll .os-viewport.reveal {
    opacity: 1;
    transform: none;
}

.os-copy h2 {
    color: var(--white);
    font-size: clamp(2.15rem, 4.5vw, 4.25rem);
    line-height: 1;
}

.os-copy p {
    color: rgba(255, 255, 255, .74);
}

.os-progress {
    height: 6px;
    margin-top: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    overflow: hidden;
}

.os-progress i {
    display: block;
    width: 0;
    height: 100%;
    background: var(--orange);
    transition: width .25s ease;
}

.os-rail {
    display: grid;
    gap: 8px;
    margin-top: 26px;
}

.os-rail button {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, .7);
    background: rgba(255, 255, 255, .06);
    text-align: left;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.os-rail button b {
    color: var(--orange);
    font-family: "Cascadia Mono", Consolas, monospace;
}

.os-rail button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.os-rail button.active {
    color: var(--white);
    border-color: rgba(233, 168, 6, .66);
    background: rgba(233, 168, 6, .13);
}

.os-viewport {
    position: relative;
    min-height: 540px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .06);
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .24);
}

.os-viewport::after {
    content: "";
    position: absolute;
    inset: -20% 0;
    background: linear-gradient(180deg, transparent, rgba(33, 221, 168, .14), transparent);
    transform: translateY(-70%);
    animation: consoleScan 6s linear infinite;
    pointer-events: none;
}

.os-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 44px 44px;
    animation: gridDrift 18s linear infinite;
}

.os-sequence {
    position: absolute;
    inset: 28px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    background: rgba(2, 8, 23, .72);
    transform:
        perspective(1100px)
        rotateX(calc((var(--os-progress, .08) - .5) * 8deg))
        rotateY(calc((var(--os-progress, .08) - .5) * -10deg))
        translateY(calc((var(--os-progress, .08) - .5) * -26px))
        scale(calc(.96 + (var(--os-progress, .08) * .04)));
    transition: transform .18s linear;
    box-shadow: inset 0 0 80px rgba(33, 221, 168, .08), 0 30px 80px rgba(0, 0, 0, .22);
}

.os-sequence::before {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: 2;
    border: 1px solid rgba(233, 168, 6, .32);
    border-radius: var(--radius);
    pointer-events: none;
}

.os-sequence::after {
    content: "FOCAL.OS / LIVE BUILD";
    position: absolute;
    top: 34px;
    left: 36px;
    z-index: 4;
    padding: 7px 10px;
    border: 1px solid rgba(233, 168, 6, .38);
    border-radius: 999px;
    color: var(--orange);
    background: rgba(2, 8, 23, .68);
    font-family: "Cascadia Mono", Consolas, monospace;
    font-size: .72rem;
    font-weight: 900;
}

.os-sequence img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: saturate(.82) contrast(1.08);
    transform: scale(1.22) translateY(22px);
    transition: opacity .38s ease, transform .9s ease;
}

.os-sequence img.active {
    opacity: .78;
    transform: scale(1.04) translateY(0);
}

.os-device-glow {
    position: absolute;
    inset: auto 8% 8% auto;
    z-index: 3;
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33, 221, 168, .3), transparent 64%);
    transform: translateY(calc((var(--os-progress, .08) - .5) * 90px));
}

.os-hud-line {
    position: absolute;
    z-index: 4;
    left: 34px;
    right: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(33, 221, 168, .7), transparent);
    opacity: .72;
}

.os-hud-line.one {
    top: 30%;
    transform: translateX(calc((var(--os-progress, .08) - .5) * 80px));
}

.os-hud-line.two {
    bottom: 24%;
    transform: translateX(calc((var(--os-progress, .08) - .5) * -90px));
}

.os-card {
    position: absolute;
    inset: auto 42px 42px 42px;
    display: grid;
    align-content: center;
    gap: 12px;
    min-height: 230px;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid rgba(233, 168, 6, .24);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(5, 26, 73, .86), rgba(5, 26, 73, .54)),
        repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px);
    opacity: 0;
    transform: translateY(20px) scale(.98);
    z-index: 5;
    transition: opacity .35s ease, transform .35s ease, filter .35s ease;
}

.os-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    z-index: 4;
}

.os-card.previous,
.os-card.next {
    opacity: .18;
    filter: blur(.4px);
}

.os-card.previous {
    transform: translate(-34px, -24px) scale(.92);
    z-index: 2;
}

.os-card.next {
    transform: translate(34px, 24px) scale(.92);
    z-index: 3;
}

.os-card span {
    color: var(--orange);
    font-family: "Cascadia Mono", Consolas, monospace;
    font-weight: 900;
}

.os-card small {
    color: rgba(255, 255, 255, .62);
    font-family: "Cascadia Mono", Consolas, monospace;
    text-transform: uppercase;
}

.os-card h3 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
}

.os-card p {
    max-width: 760px;
    color: rgba(255, 255, 255, .78);
    font-size: 1.08rem;
}

.os-triggers span {
    min-height: 0;
}

.performance-scroll {
    --os-progress: 0;
    --header-safe: 74px;
    min-height: auto;
    scroll-margin-top: var(--header-safe);
    padding-top: clamp(72px, 8vw, 112px);
    padding-bottom: clamp(76px, 8vw, 118px);
    background:
        radial-gradient(circle at 72% 22%, rgba(233, 168, 6, .18), transparent 26%),
        radial-gradient(circle at 28% 70%, rgba(33, 221, 168, .12), transparent 28%),
        linear-gradient(180deg, #020817 0%, #061847 42%, #020817 100%);
    overflow: hidden;
}

.performance-scroll .os-triggers {
    display: none;
}

.performance-scroll .os-sticky {
    position: relative;
    top: auto;
    height: auto;
    grid-template-columns: minmax(300px, .5fr) minmax(480px, 1fr);
    gap: clamp(18px, 3.2vw, 48px);
    align-items: center;
    padding: 0 clamp(18px, 6vw, 84px);
    overflow: visible;
}

.performance-scroll .os-copy {
    align-self: center;
}

.performance-scroll .os-copy h2 {
    max-width: 590px;
    font-size: clamp(2.15rem, 3.75vw, 4.75rem);
    line-height: .98;
    letter-spacing: 0;
}

.performance-scroll .os-copy p {
    max-width: 500px;
    font-size: clamp(.94rem, 1.05vw, 1.08rem);
}

.performance-scroll .os-progress {
    max-width: 520px;
    margin-top: clamp(16px, 2.4vh, 26px);
}

.performance-scroll .os-rail {
    gap: 6px;
    margin-top: clamp(14px, 2.2vh, 22px);
}

.performance-scroll .os-rail button {
    min-height: 40px;
    padding: 6px 9px;
}

.performance-scroll .os-viewport {
    min-height: clamp(520px, 48vw, 660px);
    border: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
}

.performance-scroll .os-viewport::after {
    display: none;
}

.performance-stage {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    perspective: 1400px;
    transform:
        translateY(calc((var(--os-progress) - .5) * -22px))
        scale(calc(.94 + var(--os-progress) * .08));
    transition: transform .28s ease;
}

.performance-stage::before {
    content: "";
    position: absolute;
    width: min(78%, 780px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(233, 168, 6, .26), transparent 58%),
        radial-gradient(circle at 62% 42%, rgba(33, 221, 168, .18), transparent 46%);
    filter: blur(10px);
    transform: scale(calc(.8 + var(--os-progress) * .28));
}

.perf-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    transform: rotateX(62deg) rotateZ(calc(var(--os-progress) * 120deg));
}

.perf-orbit.one {
    width: min(72%, 760px);
    aspect-ratio: 1;
}

.perf-orbit.two {
    width: min(52%, 540px);
    aspect-ratio: 1;
    border-color: rgba(233, 168, 6, .24);
    transform: rotateX(62deg) rotateZ(calc(var(--os-progress) * -150deg));
}

.perf-device {
    position: absolute;
    border-radius: 20px;
    transform-style: preserve-3d;
    transition: opacity .28s ease, filter .28s ease;
}

.perf-device-main {
    width: min(70%, 620px);
    transform:
        rotateX(calc(59deg - var(--os-progress) * 24deg))
        rotateZ(calc(-8deg + var(--os-progress) * 15deg))
        translate3d(calc((var(--os-progress) - .5) * 80px), calc((var(--os-progress) - .5) * -58px), 0);
}

.perf-screen {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03)),
        #061847;
    box-shadow:
        0 54px 100px rgba(0, 0, 0, .42),
        inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.perf-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .58);
    font-family: "Cascadia Mono", Consolas, monospace;
    font-size: .74rem;
}

.perf-topbar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
}

.perf-topbar span:nth-child(2) {
    background: #20b26b;
}

.perf-topbar span:nth-child(3) {
    background: rgba(255, 255, 255, .35);
}

.perf-topbar b {
    margin-left: 8px;
}

.perf-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: clamp(18px, 3vw, 32px);
}

.perf-kpi,
.perf-chart,
.perf-code {
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
}

.perf-kpi {
    display: grid;
    gap: 6px;
    padding: 16px;
}

.perf-kpi small {
    color: rgba(255, 255, 255, .62);
    font-family: "Cascadia Mono", Consolas, monospace;
    text-transform: uppercase;
}

.perf-kpi strong {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 3.8rem);
    line-height: 1;
}

.perf-chart {
    grid-column: span 2;
    display: flex;
    align-items: end;
    gap: 10px;
    min-height: 150px;
    padding: 18px;
}

.perf-chart i {
    flex: 1;
    min-height: 36px;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, var(--orange), rgba(233, 168, 6, .18));
    transform-origin: bottom;
    transform: scaleY(calc(.35 + var(--os-progress) * .85));
}

.perf-chart i:nth-child(2) { transform: scaleY(calc(.48 + var(--os-progress) * .62)); }
.perf-chart i:nth-child(3) { transform: scaleY(calc(.32 + var(--os-progress) * .9)); }
.perf-chart i:nth-child(4) { transform: scaleY(calc(.62 + var(--os-progress) * .38)); }
.perf-chart i:nth-child(5) { transform: scaleY(calc(.42 + var(--os-progress) * .72)); }

.perf-code {
    grid-column: span 1;
    display: grid;
    align-content: center;
    gap: 10px;
    min-height: 150px;
    padding: 18px;
}

.perf-code span {
    display: block;
    color: rgba(255, 255, 255, .72);
    font-family: "Cascadia Mono", Consolas, monospace;
    font-size: .78rem;
}

.perf-base {
    width: 88%;
    height: 18px;
    margin: -1px auto 0;
    border-radius: 0 0 28px 28px;
    background: linear-gradient(180deg, #c8d0dc, #758298);
    transform: translateZ(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .34);
}

.perf-device-left,
.perf-device-right {
    width: min(36%, 300px);
    opacity: calc(.48 + var(--os-progress) * .42);
}

.perf-device-left {
    left: 4%;
    top: 10%;
    transform:
        rotateX(48deg)
        rotateZ(calc(-22deg + var(--os-progress) * 13deg))
        translate3d(calc(var(--os-progress) * -58px), calc(var(--os-progress) * 24px), -80px);
}

.perf-device-right {
    right: 5%;
    bottom: 16%;
    transform:
        rotateX(52deg)
        rotateZ(calc(20deg - var(--os-progress) * 16deg))
        translate3d(calc(var(--os-progress) * 68px), calc(var(--os-progress) * -22px), -40px);
}

.perf-mini-screen {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .25);
}

.perf-mini-screen b {
    color: var(--white);
    font-family: "Cascadia Mono", Consolas, monospace;
}

.perf-mini-screen span {
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
}

.perf-mini-screen span:nth-child(2) { width: 78%; background: rgba(233, 168, 6, .42); }
.perf-mini-screen span:nth-child(3) { width: 96%; }
.perf-mini-screen span:nth-child(4) { width: 62%; }

.performance-scroll .os-card {
    right: auto;
    bottom: clamp(12px, 2.5vw, 36px);
    left: clamp(12px, 3vw, 48px);
    width: min(480px, 78%);
    min-height: auto;
    padding: clamp(16px, 2vw, 26px);
    border-color: rgba(233, 168, 6, .36);
    background:
        linear-gradient(135deg, rgba(2, 8, 23, .9), rgba(5, 26, 73, .66)),
        rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px);
}

.performance-scroll .os-card h3 {
    font-size: clamp(1.35rem, 2vw, 2.35rem);
}

.performance-scroll .os-card p {
    font-size: .94rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--orange);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.hero h1 {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: clamp(2.45rem, 6vw, 5.9rem);
    line-height: .98;
    letter-spacing: 0;
}

.hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 32px 0;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-proof span {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
}

.hero-proof strong {
    color: var(--orange);
}

.hero-dashboard {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .22);
}

.dash-header {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: rgba(255, 255, 255, .12);
}

.dash-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orange);
}

.dash-body {
    display: grid;
    gap: 18px;
    padding: clamp(20px, 3vw, 34px);
}

.dash-body small,
.dash-metric span {
    color: rgba(255, 255, 255, .66);
}

.dash-body strong {
    display: block;
    color: var(--white);
    font-size: 2rem;
}

.dash-metric {
    padding: 20px;
    border-left: 4px solid var(--green);
    background: rgba(32, 178, 107, .16);
}

.dash-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.dash-flow span {
    padding: 9px 12px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .12);
}

.section-pad {
    padding: clamp(64px, 8vw, 110px) clamp(18px, 6vw, 84px);
}

.section-pad.compact {
    padding-top: 32px;
}

.section-head {
    max-width: 860px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-head h2,
.contact-copy h2,
.calculator-form h2,
.checkout-intro h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.section-head p,
.contact-copy p,
.checkout-intro p {
    color: var(--muted);
    font-size: 1.08rem;
}

.intro-strip {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    background: var(--soft);
}

.trust-section,
.service-preview-section,
.result-preview,
.knowledge-preview {
    background: var(--white);
}

.process-preview {
    position: relative;
    color: var(--white);
    background:
        radial-gradient(circle at 12% 20%, rgba(32, 178, 107, .16), transparent 24%),
        radial-gradient(circle at 88% 72%, rgba(233, 168, 6, .14), transparent 26%),
        linear-gradient(135deg, #020817, #071f54 48%, #020817);
    overflow: hidden;
}

.process-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: .48;
    animation: gridDrift 22s linear infinite;
}

.process-preview > * {
    position: relative;
    z-index: 1;
}

.process-preview .section-head h2 {
    color: var(--white);
}

.process-preview .section-head p {
    color: rgba(255, 255, 255, .72);
}

.trust-grid,
.service-preview-grid,
.quality-grid,
.proof-grid,
.knowledge-grid,
.about-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.trust-card,
.service-preview,
.quality-item,
.knowledge-card,
.about-card,
.proof-item {
    display: grid;
    gap: 12px;
    min-height: 210px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 42px rgba(5, 26, 73, .06);
    transition: transform .22s ease, box-shadow .22s ease;
}

.knowledge-card {
    overflow: hidden;
}

.knowledge-card img {
    width: calc(100% + 48px);
    height: 132px;
    margin: -24px -24px 8px;
    object-fit: cover;
    filter: saturate(.9) contrast(1.02);
}

.trust-card:hover,
.service-preview:hover,
.knowledge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.trust-card i,
.service-preview i,
.quality-item i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    color: var(--navy);
    background: rgba(233, 168, 6, .22);
    font-size: 1.35rem;
}

.trust-card strong,
.service-preview strong {
    color: var(--navy);
    font-size: 1.15rem;
}

.trust-card span,
.service-preview span,
.knowledge-card p,
.about-card p,
.quality-item p {
    color: var(--muted);
}

.center-action {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.service-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-hero {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
    padding: clamp(64px, 8vw, 116px) clamp(18px, 6vw, 84px);
    color: var(--white);
    background:
        linear-gradient(115deg, rgba(5, 26, 73, .98), rgba(5, 26, 73, .78)),
        url("../img/external/hero-ai-operations.jpg") center/cover;
}

.page-hero h1 {
    max-width: 850px;
    margin-bottom: 20px;
    font-size: clamp(2.4rem, 6vw, 5.4rem);
    line-height: 1;
}

.page-hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.12rem;
}

.page-hero-art img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

.service-catalog {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.service-tile {
    position: relative;
    display: grid;
    grid-template-columns: minmax(170px, .55fr) 1fr;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 42px rgba(5, 26, 73, .06);
}

.service-tile.active {
    border-color: var(--orange);
    box-shadow: var(--shadow);
}

.service-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
    filter: saturate(.72) contrast(.92);
}

.service-tile-body {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 24px;
}

.service-tile-body > i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--navy);
    background: var(--orange);
    border-radius: var(--radius);
}

.service-tile-body span,
.knowledge-card span,
.case-card span {
    color: var(--orange);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.service-tile-body ul,
.problem-solution ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0 0 12px;
    list-style: none;
}

.service-tile-body li {
    display: flex;
    gap: 8px;
    color: var(--muted);
}

.split-band,
.quality-band,
.proof-section,
.culture-band {
    background: var(--soft);
}

.split-band,
.culture-band {
    display: grid;
    grid-template-columns: .82fr 1fr;
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
}

.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.problem-solution > div {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
}

.process-lanes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sprint-section {
    background: var(--white);
}

.sprint-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sprint-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.sprint-card strong {
    color: var(--orange);
    font-size: .82rem;
    text-transform: uppercase;
}

.case-story-section {
    background:
        radial-gradient(circle at 14% 16%, rgba(233, 168, 6, .12), transparent 28%),
        linear-gradient(180deg, var(--white), var(--soft));
}

.case-story-stack {
    display: grid;
    gap: 22px;
    max-width: 1180px;
    margin: 0 auto;
}

.case-story {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) 1fr;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 18px 58px rgba(5, 26, 73, .08);
}

.case-story:nth-child(even) {
    grid-template-columns: 1fr minmax(280px, .85fr);
}

.case-story:nth-child(even) img {
    order: 2;
}

.case-story img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    filter: saturate(.86) contrast(1.04);
}

.case-story-copy {
    display: grid;
    align-content: center;
    gap: 13px;
    padding: clamp(24px, 4vw, 46px);
}

.case-story-copy span {
    color: var(--orange);
    font-family: "Cascadia Mono", Consolas, monospace;
    font-size: .8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.case-story-copy h2 {
    color: var(--navy);
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.05;
}

.case-story-copy strong {
    color: var(--navy);
}

.case-story-copy p,
.case-story-copy li {
    color: var(--muted);
}

.case-story-copy ul {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 4px 0 0;
    list-style: none;
}

.case-story-copy li {
    display: flex;
    gap: 9px;
}

.case-story-copy li i {
    color: var(--green);
}

.process-card,
.mini-step {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 42px rgba(5, 26, 73, .06);
}

.process-preview .mini-step {
    position: relative;
    min-height: 236px;
    color: var(--white);
    border-color: rgba(255, 255, 255, .14);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .045)),
        repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 18px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
    overflow: hidden;
}

.process-preview .mini-step::after {
    content: "";
    position: absolute;
    inset: auto 18px 18px;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), rgba(32, 178, 107, .75), transparent);
    opacity: .76;
}

.process-preview .mini-step h3 {
    color: var(--white);
}

.process-preview .mini-step p {
    color: rgba(255, 255, 255, .72);
}

.process-card span,
.mini-step span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: var(--navy);
    background: var(--orange);
    font-weight: 900;
}

.mini-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.mini-process.detailed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-section,
.testimonial-section {
    background: var(--navy);
    color: var(--white);
}

.portfolio-section .section-head h2,
.testimonial-section .section-head h2 {
    color: var(--white);
}

.portfolio-carousel,
.testimonial-carousel {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 14px;
    align-items: center;
}

.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 32%);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.portfolio-slide,
.testimonial-slide {
    display: grid;
    align-content: start;
    min-height: 280px;
    padding: 24px;
    scroll-snap-align: start;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04)),
        repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 18px);
}

.portfolio-slide span,
.testimonial-slide span {
    color: var(--orange);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.portfolio-slide p,
.testimonial-slide p {
    color: rgba(255, 255, 255, .78);
}

.portfolio-slide a {
    align-self: end;
    color: var(--orange);
    font-weight: 900;
}

.testimonial-slide i {
    color: var(--orange);
    font-size: 2rem;
}

.testimonial-slide strong {
    color: var(--white);
}

.carousel-btn {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
}

.quality-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.case-grid.compact-cases {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-card {
    display: grid;
    gap: 12px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 42px rgba(5, 26, 73, .06);
}

.case-card strong {
    color: var(--navy);
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1;
}

.proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-item {
    min-height: 150px;
    color: var(--white);
    background: var(--navy);
}

.proof-item strong {
    color: var(--orange);
    font-size: 1.9rem;
    text-transform: uppercase;
}

.about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ecosystem-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.values-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ecosystem-card,
.value-card {
    display: grid;
    gap: 12px;
    min-height: 220px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 42px rgba(5, 26, 73, .06);
}

.ecosystem-card i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--navy);
    border-radius: var(--radius);
    background: rgba(233, 168, 6, .22);
    font-size: 1.35rem;
}

.value-card strong {
    color: var(--navy);
    font-size: 1.12rem;
}

.ecosystem-card p,
.value-card p {
    color: var(--muted);
}

.culture-band img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.knowledge-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.knowledge-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.knowledge-featured-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 42px rgba(5, 26, 73, .06);
}

.knowledge-featured-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.knowledge-featured-card div {
    display: grid;
    gap: 10px;
    padding: 22px;
}

.knowledge-featured-card span,
.knowledge-row span,
.article-aside span {
    color: var(--orange);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.knowledge-featured-card p,
.knowledge-row p {
    color: var(--muted);
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: var(--radius);
    color: var(--navy);
    background: var(--orange);
    font-weight: 900;
}

.knowledge-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 1180px;
    margin: 0 auto;
}

.knowledge-search-panel {
    display: grid;
    grid-template-columns: minmax(260px, 560px) auto;
    gap: 14px;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto 26px;
}

.knowledge-search-box {
    position: relative;
    display: block;
}

.knowledge-search-box i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--orange);
    transform: translateY(-50%);
}

.knowledge-search-box input {
    padding-left: 44px;
    min-height: 54px;
    box-shadow: 0 12px 34px rgba(5, 26, 73, .05);
}

#knowledgeCount {
    color: var(--muted);
    font-weight: 800;
}

.knowledge-loading {
    display: none;
    max-width: 1180px;
    margin: 0 auto 16px;
    padding: 14px 18px;
    border: 1px solid rgba(233, 168, 6, .32);
    border-radius: var(--radius);
    color: var(--navy);
    background: rgba(233, 168, 6, .12);
    font-weight: 900;
}

.knowledge-list-section.is-loading .knowledge-loading {
    display: block;
}

.knowledge-list-section.is-loading .knowledge-list {
    opacity: .42;
    pointer-events: none;
}

.knowledge-row {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 18px;
    align-items: start;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 34px rgba(5, 26, 73, .05);
}

.knowledge-thumb {
    width: 112px;
    height: 100%;
    min-height: 138px;
    border-radius: calc(var(--radius) - 2px);
    object-fit: cover;
}

.knowledge-row h3,
.knowledge-row p {
    margin-bottom: 0;
}

.knowledge-row time {
    display: block;
    margin: 6px 0 10px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 900;
}

.knowledge-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.knowledge-pagination a {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--navy);
    background: var(--white);
    font-weight: 900;
}

.knowledge-pagination a.active {
    border-color: var(--orange);
    background: var(--orange);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(24px, 5vw, 70px);
    align-items: start;
}

.article-body,
.article-aside {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 42px rgba(5, 26, 73, .06);
}

.article-body {
    font-size: 1.08rem;
}

.article-body p {
    color: var(--muted);
}

.article-body h2,
.article-body h3 {
    margin: 30px 0 12px;
    color: var(--navy);
}

.article-body blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--orange);
    border-radius: var(--radius);
    color: var(--navy);
    background: rgba(233, 168, 6, .12);
    font-weight: 800;
}

.article-body img {
    width: 100%;
    margin: 24px 0;
    border-radius: var(--radius);
}

.article-comments {
    display: grid;
    gap: 20px;
    margin-top: 44px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
}

.comments-head p,
.empty-comments {
    color: var(--muted);
}

.comment-list {
    display: grid;
    gap: 12px;
}

.comment-card {
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
}

.comment-card strong {
    color: var(--navy);
}

.comment-card time {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}

.comment-form {
    display: grid;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.screen-reader-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.article-aside {
    display: grid;
    gap: 14px;
}

.article-aside a {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.knowledge-card small {
    color: var(--muted);
    font-weight: 900;
}

.strip-item,
.solution-card,
.system-card,
.pricing-card,
.faq-item,
.form-block,
.contract-card,
.success-panel,
.checkout-summary {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 14px 42px rgba(5, 26, 73, .06);
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 96px;
    padding: 20px;
    font-weight: 700;
}

.strip-item i,
.solution-card i {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: var(--radius);
    color: var(--navy);
    background: rgba(233, 168, 6, .38);
    font-size: 1.3rem;
}

.solution-card i {
    box-shadow: 0 12px 28px rgba(233, 168, 6, .22);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.solution-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    padding: 26px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.solution-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 112px;
    background:
        linear-gradient(180deg, rgba(5, 26, 73, .12), rgba(255, 255, 255, .95)),
        var(--solution-bg) center/cover;
    opacity: .94;
}

.solution-card > * {
    position: relative;
    z-index: 1;
}

.solution-card:hover,
.system-card:hover,
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.solution-card h3,
.product-panel h3,
.system-card h3,
.pricing-card h3 {
    margin: 18px 0 10px;
    color: var(--navy);
}

.product-stage {
    color: var(--white);
    background: var(--navy);
}

.product-stage .section-head p,
.product-stage .section-head h2 {
    color: var(--white);
}

.featured-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.product-panel {
    position: relative;
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 360px;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    color: var(--navy);
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
}

.product-panel::before {
    content: "";
    display: block;
    height: clamp(168px, 22vw, 240px);
    margin: calc(clamp(26px, 4vw, 42px) * -1) calc(clamp(26px, 4vw, 42px) * -1) 18px;
    background:
        linear-gradient(180deg, rgba(5, 26, 73, .08), rgba(255, 255, 255, .98)),
        var(--product-bg) center/cover;
    filter: saturate(.9) contrast(1.02);
}

.product-panel span {
    color: var(--orange);
    font-weight: 900;
}

.product-panel h3 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.1rem, 4vw, 4rem);
}

.product-panel p {
    max-width: 680px;
    color: #334155;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.product-meta strong,
.product-meta small {
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--navy);
    background: rgba(233, 168, 6, .16);
}

.systems-section {
    background: var(--soft);
}

.system-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 26px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
}

.segment-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.segment-filters button {
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--navy);
    background: var(--white);
    cursor: pointer;
}

.segment-filters button.active {
    color: var(--white);
    border-color: var(--navy);
    background: var(--navy);
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.system-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 14px 14px 18px;
    overflow: hidden;
}

.system-card.is-hidden {
    display: none;
}

.card-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: var(--radius);
    color: var(--navy);
    background: var(--orange);
    font-size: .78rem;
    font-weight: 900;
}

.system-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 132px;
    margin: -14px -14px 18px;
    padding: 16px;
    background-position: center;
    background-size: cover;
}

.system-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 26, 73, .78), rgba(5, 26, 73, .94)),
        rgba(5, 26, 73, .24);
}

.system-visual i {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    color: var(--navy);
    background: var(--orange);
    font-size: 1.35rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .22);
}

.system-card small {
    color: var(--muted);
    font-weight: 800;
}

.system-card p {
    color: #475569;
}

.system-footer {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.system-footer strong {
    color: var(--navy);
}

.system-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(233, 168, 6, .55);
    border-radius: var(--radius);
    color: var(--navy);
    background: rgba(233, 168, 6, .18);
    font-weight: 900;
    transition: background .2s ease, transform .2s ease;
}

.system-buy:hover {
    background: var(--orange);
    transform: translateY(-2px);
}

.easy-section {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 930px;
    margin: 0 auto;
    --easy-progress: 0;
    --timeline-line-left: 32px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--timeline-line-left);
    width: 3px;
    background: var(--line);
    transform: translateX(-50%);
    z-index: 0;
}

.timeline::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--timeline-line-left);
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--orange), #20b26b);
    transform: translateX(-50%) scaleY(var(--easy-progress));
    transform-origin: top;
    transition: transform .22s linear;
    z-index: 0;
}

.timeline-step {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    padding: 18px 0;
    z-index: 1;
}

.timeline-step:nth-child(1) { --step-index: 0; }
.timeline-step:nth-child(2) { --step-index: 1; }
.timeline-step:nth-child(3) { --step-index: 2; }
.timeline-step:nth-child(4) { --step-index: 3; }
.timeline-step:nth-child(5) { --step-index: 4; }

.timeline-step > span {
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: var(--white);
    background: var(--navy);
    font-weight: 900;
    box-shadow: 0 0 0 10px var(--white);
    transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.timeline-step > span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(233, 168, 6, .72);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(.72);
    opacity: 0;
}

.timeline-step > span::before {
    content: "";
    position: absolute;
    inset: -10px;
    z-index: -2;
    border-radius: 50%;
    background: var(--white);
}

.timeline-step div {
    position: relative;
    z-index: 2;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--soft);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.timeline-step:hover div,
.timeline-step.is-active div {
    transform: translateX(8px);
    border-color: rgba(233, 168, 6, .5);
    box-shadow: 0 18px 48px rgba(5, 26, 73, .08);
}

.timeline-step.is-reached > span {
    color: var(--navy);
    background: var(--orange);
}

.timeline-step.is-active > span {
    color: var(--navy);
    background: var(--orange);
    transform: scale(1.04);
    animation: stepGlow 1.9s ease-in-out infinite;
}

.timeline-step.is-active > span::after {
    opacity: 1;
    animation: dotPulse 1.9s ease-out infinite;
}

.timeline-step h3 {
    margin-bottom: 6px;
    color: var(--navy);
}

.calculator-section {
    background: var(--navy);
}

.calculator-card {
    display: grid;
    grid-template-columns: 1.05fr .72fr;
    max-width: 1180px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 30px 100px rgba(0, 0, 0, .18);
}

.calculator-form,
.calculator-result {
    padding: clamp(26px, 4vw, 48px);
}

.calculator-form label,
.lead-form label,
.checkout-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--navy);
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(233, 168, 6, .14);
}

.calculator-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    background: var(--navy-2);
}

.result-badge {
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: var(--radius);
    color: var(--navy);
    background: var(--orange);
    font-weight: 900;
}

.calculator-result h3 {
    margin: 24px 0 10px;
    color: var(--white);
    font-size: 1.8rem;
}

.price-result strong {
    display: block;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    line-height: 1;
}

.bar-group {
    display: grid;
    gap: 16px;
    margin: 30px 0;
}

.bar-row span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .8);
}

.bar {
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    overflow: hidden;
}

.bar i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    transition: width .65s ease;
}

.bar.danger i {
    background: var(--red);
}

.bar.success i {
    background: var(--green);
}

.small-note,
.minimum {
    color: var(--muted);
    font-size: .9rem;
}

.calculator-result .small-note {
    color: rgba(255, 255, 255, .7);
}

.pricing-section {
    background: var(--soft);
}

.plan-context {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1180px;
    margin: -12px auto 28px;
}

.plan-context article {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 8px 14px;
    align-items: start;
    padding: 18px;
    border: 1px solid rgba(5, 26, 73, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 12px 34px rgba(5, 26, 73, .05);
}

.plan-context i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    grid-row: span 2;
    border-radius: var(--radius);
    color: var(--navy);
    background: rgba(233, 168, 6, .3);
    font-size: 1.25rem;
}

.plan-context strong {
    color: var(--navy);
}

.plan-context span {
    color: var(--muted);
    font-size: .94rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    padding: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    color: var(--white);
    border-color: var(--navy);
    background: var(--navy);
    transform: translateY(-16px);
}

.pricing-card.featured h3,
.pricing-card.featured p,
.pricing-card.featured li,
.pricing-card.featured .minimum {
    color: var(--white);
}

.pricing-card h3 {
    font-size: 2rem;
    text-transform: uppercase;
}

.plan-ribbon {
    position: absolute;
    top: 22px;
    right: -46px;
    z-index: 3;
    width: 178px;
    padding: 8px 0;
    color: var(--navy);
    background: var(--orange);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .22);
    font-size: .82rem;
    font-weight: 950;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(38deg);
}

.plan-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin: 24px 0;
}

.plan-price strong {
    color: var(--navy);
    font-size: clamp(2.1rem, 3vw, 3.1rem);
}

.pricing-card.featured .plan-price strong {
    color: var(--orange);
}

.pricing-card ul,
.contract-card ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.plan-action {
    margin-top: auto;
    padding-top: 24px;
}

.plan-action .btn {
    width: 100%;
    min-height: 60px;
    font-size: 1.02rem;
    text-transform: uppercase;
}

.pricing-card li,
.contract-card li {
    display: flex;
    gap: 10px;
    color: var(--muted);
}

.pricing-card li i,
.contract-card li i {
    color: var(--green);
}

.contact-section {
    display: grid;
    grid-template-columns: .88fr 1fr;
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 460px);
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
    background: var(--navy);
    color: var(--white);
}

.service-detail h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.06;
}

.service-detail p {
    color: rgba(255, 255, 255, .78);
}

.service-long-copy {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.service-long-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
}

.service-fit {
    padding: 18px;
    border-left: 4px solid var(--orange);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
}

.service-fit strong {
    display: block;
    margin-bottom: 6px;
    color: var(--white);
}

.detail-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
}

.detail-metrics span,
.service-detail-panel {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
}

.detail-metrics strong {
    display: block;
    color: var(--orange);
}

.service-detail-panel ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0 0 24px;
    list-style: none;
}

.service-detail-panel li {
    display: flex;
    gap: 10px;
}

.service-detail-panel i {
    color: var(--orange);
}

.contact-copy img {
    margin-top: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.lead-form {
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-message {
    display: none;
    margin: 12px 0;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--soft);
}

.form-message.success {
    display: block;
    color: #0e6d42;
    background: rgba(32, 178, 107, .12);
}

.form-message.error {
    display: block;
    color: #9d2f2f;
    background: rgba(227, 91, 91, .12);
}

.faq-section {
    background: var(--soft);
}

.faq-list {
    max-width: 930px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
}

.faq-item button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
    padding: 18px 20px;
    border: 0;
    color: var(--navy);
    background: var(--white);
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}

.faq-item p {
    display: none;
    padding: 0 20px 20px;
    color: var(--muted);
}

.faq-item.open p {
    display: block;
}

.faq-item.open i {
    transform: rotate(45deg);
}

.checkout-hero {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 24px;
    color: var(--white);
    background: var(--navy);
}

.checkout-intro p {
    color: rgba(255, 255, 255, .78);
}

.checkout-summary {
    padding: 26px;
    color: var(--ink);
}

.summary-kicker {
    color: var(--orange);
    font-weight: 900;
}

.summary-price strong {
    display: block;
    color: var(--navy);
    font-size: 2.4rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    gap: 24px;
    background: var(--soft);
    overflow: clip;
}

.checkout-form,
.field-row {
    display: grid;
    gap: 16px;
}

.field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-row:has(label:nth-child(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-block {
    position: relative;
    padding: clamp(22px, 3vw, 34px);
}

.form-step {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--navy);
    background: var(--orange);
    font-weight: 900;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.payment-options label {
    margin: 0;
}

.payment-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-options span {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 94px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    overflow-wrap: anywhere;
}

.payment-options input:checked + span {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(233, 168, 6, .14);
}

.payment-options label.disabled {
    opacity: .58;
    cursor: not-allowed;
}

.payment-options label.disabled span {
    background: var(--soft);
}

.terms {
    grid-template-columns: 22px 1fr !important;
    align-items: start;
}

.terms input {
    min-height: auto;
    margin-top: 5px;
}

.contract-card {
    align-self: start;
    padding: 22px;
}

.contract-card img {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 22px;
}

.checkout-success {
    min-height: 70vh;
    display: grid;
    place-items: center;
    background: var(--soft);
}

.success-panel {
    width: min(720px, 100%);
    padding: clamp(28px, 5vw, 54px);
    text-align: center;
}

.success-panel h1 {
    color: var(--navy);
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.success-meta {
    display: grid;
    gap: 6px;
    margin: 16px 0;
    padding: 14px;
    border-radius: var(--radius);
    background: var(--soft);
}

.notice-bar {
    padding: 12px 20px;
    color: var(--navy);
    background: var(--orange);
    font-weight: 900;
    text-align: center;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(280px, 1.15fr) 170px 290px minmax(320px, 1.25fr);
    gap: 28px;
    align-items: start;
    padding: 42px clamp(18px, 6vw, 84px) 24px;
    color: rgba(255, 255, 255, .78);
    background: var(--navy);
}

.whatsapp-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
}

.whatsapp-float {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: #25d366;
    box-shadow: 0 18px 42px rgba(37, 211, 102, .4);
    cursor: pointer;
    font-size: 1.85rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 22px 54px rgba(37, 211, 102, .48);
}

.scroll-top-button {
    position: fixed;
    right: 28px;
    bottom: 96px;
    z-index: 58;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(233, 168, 6, .44);
    border-radius: 50%;
    color: var(--navy);
    background: var(--orange);
    box-shadow: 0 16px 36px rgba(5, 26, 73, .18);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.scroll-top-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(5, 26, 73, .24);
}

.whatsapp-panel {
    position: absolute;
    right: 0;
    bottom: 78px;
    display: none;
    width: min(320px, calc(100vw - 32px));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.whatsapp-panel strong {
    color: var(--navy);
}

.whatsapp-panel p {
    color: var(--muted);
    font-size: .94rem;
}

.whatsapp-widget.open .whatsapp-panel {
    display: block;
}

.footer-logo {
    width: 108px;
    margin-bottom: 10px;
}

.footer-brand {
    display: grid;
    gap: 12px;
}

.footer-brand p {
    margin: 0;
    max-width: 360px;
    color: var(--white);
    font-size: clamp(1.18rem, 2vw, 1.55rem);
    font-weight: 950;
    line-height: 1.18;
}

.footer-links,
.footer-contact,
.footer-social {
    display: grid;
    gap: 8px;
}

.footer-social {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
}

.footer-social a {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, .07);
    transition: transform .2s ease, background .2s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
    background: rgba(233, 168, 6, .22);
}

.footer-policies {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 8px;
}

.footer-policies a {
    color: rgba(255, 255, 255, .64);
    font-size: .9rem;
    font-weight: 800;
}

.footer-contact strong {
    color: var(--white);
    font-size: 1.08rem;
}

.footer-contact a,
.footer-contact address {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--orange);
}

.footer-contact address {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .66);
    font-style: normal;
}

.footer-map {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(5, 26, 73, .96), rgba(11, 43, 104, .84)),
        repeating-linear-gradient(35deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 34px),
        repeating-linear-gradient(-35deg, rgba(233, 168, 6, .12) 0 2px, transparent 2px 58px);
}

.footer-map::after {
    content: "\F3E7";
    position: absolute;
    top: 42%;
    left: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--navy);
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 10px rgba(233, 168, 6, .16), 0 18px 40px rgba(0, 0, 0, .28);
    font-family: "bootstrap-icons";
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.footer-map iframe {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 190px;
    border: 0;
    border-radius: var(--radius);
    filter: grayscale(1) contrast(1.05);
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .58);
    font-size: .9rem;
    text-align: center;
}

.map-pin-card {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(233, 168, 6, .38);
    border-radius: var(--radius);
    color: var(--white);
    background: rgba(5, 26, 73, .9);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
}

.map-pin-card i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--navy);
    border-radius: 50%;
    background: var(--orange);
}

.map-pin-card span {
    font-size: .82rem;
    line-height: 1.25;
}

.footer-links a:hover {
    color: var(--orange);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero,
    .calculator-card,
    .contact-section,
    .checkout-hero,
    .checkout-grid,
    .page-hero,
    .split-band,
    .culture-band,
    .service-detail,
    .os-sticky {
        grid-template-columns: 1fr;
    }

    .solution-grid,
    .systems-grid,
    .trust-grid,
    .service-preview-grid,
    .process-lanes,
    .plan-context,
    .mini-process,
    .mini-process.detailed,
    .quality-grid,
    .case-grid.compact-cases,
    .knowledge-grid,
    .knowledge-featured-grid,
    .ecosystem-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sprint-grid {
        grid-template-columns: 1fr;
    }

    .case-story,
    .case-story:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .case-story:nth-child(even) img {
        order: 0;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .site-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .immersion-scroll {
        min-height: auto;
    }

    .os-sticky,
    .os-sticky.is-fixed,
    .os-sticky.is-after {
        position: relative;
        top: auto;
        bottom: auto;
        height: auto;
        min-height: auto;
        overflow: visible;
    }

    .performance-scroll {
        min-height: auto;
        padding-top: 0;
        padding-bottom: 0;
    }

    .performance-scroll .os-sticky {
        gap: 28px;
        padding-top: 96px;
        padding-bottom: 64px;
    }

    .performance-scroll .os-copy h2 {
        font-size: clamp(2.4rem, 9vw, 4.8rem);
    }

    .performance-scroll .os-viewport {
        min-height: 640px;
    }

    .performance-stage {
        inset: 0;
        min-height: 420px;
        transform: none;
    }

    .perf-device-main {
        width: min(86vw, 680px);
        transform: rotateX(48deg) rotateZ(-7deg);
    }

    .perf-device-left {
        transform: rotateX(48deg) rotateZ(-18deg) translate3d(-22px, 18px, -80px);
    }

    .perf-device-right {
        transform: rotateX(52deg) rotateZ(16deg) translate3d(24px, -16px, -40px);
    }

    .performance-scroll .os-card,
    .performance-scroll .os-card.previous,
    .performance-scroll .os-card.next {
        position: relative;
        inset: auto;
        width: 100%;
        opacity: 1;
        filter: none;
        transform: none;
    }

    .os-triggers {
        display: none;
    }

    .detail-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .system-toolbar {
        grid-template-columns: 1fr;
    }
}

@media (max-height: 780px) and (min-width: 1081px) {
    .os-sticky {
        padding-top: 92px;
        padding-bottom: 34px;
    }

    .os-copy h2 {
        font-size: clamp(1.85rem, 3.3vw, 3.25rem);
    }

    .os-copy p {
        margin-bottom: 0;
        font-size: .96rem;
    }

    .os-progress {
        margin-top: 18px;
    }

    .os-rail {
        gap: 6px;
        margin-top: 16px;
    }

    .os-rail button {
        grid-template-columns: 38px 1fr;
        min-height: 38px;
        padding: 6px 9px;
    }

    .os-viewport {
        min-height: 440px;
    }

    .os-card {
        inset: 26px;
    }

    .os-sequence {
        inset: 18px;
    }

    .os-card h3 {
        font-size: clamp(1.75rem, 3.2vw, 3.2rem);
    }

    .performance-scroll .os-sticky {
        grid-template-columns: minmax(280px, .48fr) minmax(460px, 1fr);
        gap: 24px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .performance-scroll .os-copy h2 {
        max-width: 500px;
        font-size: clamp(1.9rem, 3.25vw, 3.9rem);
        line-height: .98;
    }

    .performance-scroll .os-copy p {
        max-width: 460px;
        margin-bottom: 0;
        font-size: .9rem;
    }

    .performance-scroll .os-viewport {
        min-height: 460px;
    }

    .performance-scroll .os-rail {
        display: none;
    }

    .perf-device-main {
        width: min(66%, 540px);
    }

    .performance-scroll .os-card {
        bottom: 12px;
        left: 20px;
        width: min(390px, 72%);
        padding: 14px 16px;
    }

    .performance-scroll .os-card h3 {
        font-size: clamp(1.12rem, 1.55vw, 1.65rem);
    }

    .performance-scroll .os-card p {
        font-size: .82rem;
    }

    .performance-scroll .os-card small,
    .performance-scroll .os-card span {
        font-size: .72rem;
    }
}

@media (max-width: 1320px) and (min-width: 1081px) {
    .site-header {
        padding-left: 44px;
        padding-right: 44px;
        grid-template-columns: 130px minmax(0, 1fr) auto;
    }

    .main-nav {
        gap: 20px;
        font-size: .9rem;
    }

    .header-cta {
        min-height: 48px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .performance-scroll .os-copy h2 {
        font-size: clamp(1.95rem, 3.35vw, 4.1rem);
    }
}

@media (max-width: 820px) {
    .site-header {
        grid-template-columns: auto auto;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
        justify-self: end;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .site-header.nav-open .main-nav {
        display: grid;
        grid-column: 1 / -1;
        justify-content: stretch;
        gap: 0;
    }

    .site-header.nav-open .main-nav a {
        padding: 14px 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
    }

    .intro-strip,
    .solution-grid,
    .featured-products,
    .systems-grid,
    .pricing-grid,
    .plan-context,
    .site-footer,
    .trust-grid,
    .service-preview-grid,
    .service-catalog,
    .service-tile,
    .problem-solution,
    .process-lanes,
    .mini-process,
    .mini-process.detailed,
    .quality-grid,
    .case-grid,
    .case-grid.compact-cases,
    .proof-grid,
    .about-grid,
    .knowledge-grid,
    .knowledge-featured-grid,
    .knowledge-list,
    .ecosystem-grid,
    .values-grid,
    .field-row,
    .field-row:has(label:nth-child(3)),
    .payment-options {
        grid-template-columns: 1fr;
    }

    .knowledge-search-panel {
        grid-template-columns: 1fr;
    }

    .knowledge-row {
        grid-template-columns: 1fr;
    }

    .knowledge-thumb {
        width: 100%;
        min-height: 160px;
        max-height: 220px;
    }

    .sprint-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-carousel,
    .testimonial-carousel {
        grid-template-columns: 1fr;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-track {
        grid-auto-columns: 86%;
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .service-tile {
        background: var(--white);
    }

    .service-tile img {
        opacity: .38;
        filter: grayscale(.12) saturate(.62) contrast(.84) brightness(1.08);
    }

    .service-tile-body h2 {
        color: var(--navy);
    }

    .service-tile-body p,
    .service-tile-body li {
        color: #334155;
    }

    .loader-shell {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0 18px;
    }

    .boot-console {
        width: min(100%, 360px);
    }

    .system-status {
        gap: 8px;
    }

    .hero-terminal pre {
        min-height: 138px;
    }

    .os-viewport {
        min-height: auto;
        display: grid;
        gap: 14px;
        padding: 14px;
    }

    .performance-scroll .os-viewport {
        min-height: auto;
        padding: 0;
        overflow: hidden;
        border-radius: var(--radius);
    }

    .performance-stage {
        position: relative;
        min-height: 300px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, .06);
    }

    .perf-device-main {
        width: min(92%, 420px);
        transform: rotateX(0deg) rotateZ(0deg);
    }

    .perf-device-left,
    .perf-device-right {
        display: none;
    }

    .perf-dashboard {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 16px;
    }

    .perf-kpi:nth-child(3),
    .perf-code {
        display: none;
    }

    .perf-chart {
        grid-column: span 2;
        min-height: 105px;
    }

    .os-card {
        position: relative;
        inset: auto;
        opacity: 1;
        transform: none;
        min-height: 300px;
    }

    .performance-scroll {
        padding-top: 56px;
        padding-bottom: 60px;
    }

    .performance-scroll .os-sticky {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .performance-scroll .os-copy h2 {
        max-width: 100%;
        font-size: clamp(2rem, 10vw, 3.25rem);
    }

    .performance-scroll .os-copy p {
        max-width: 100%;
    }

    .performance-scroll .os-rail {
        display: none;
    }

    .performance-scroll .os-progress {
        max-width: 100%;
    }

    .performance-scroll .os-card,
    .performance-scroll .os-card.previous,
    .performance-scroll .os-card.next {
        position: relative;
        inset: auto;
        width: 100%;
        min-height: auto;
        padding: 18px;
        opacity: 1;
        filter: none;
        transform: none;
    }

    .performance-scroll .os-card h3 {
        font-size: clamp(1.35rem, 7vw, 2rem);
    }

    .performance-scroll .os-card p {
        font-size: .95rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .hero {
        min-height: auto;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 14vw, 4.2rem);
    }

    .timeline::before {
        left: 25px;
    }

    .timeline::after {
        left: 25px;
    }

    .timeline-step {
        grid-template-columns: 50px 1fr;
        gap: 14px;
    }

    .timeline-step > span {
        width: 50px;
        height: 50px;
        box-shadow: 0 0 0 6px var(--white);
    }

    .timeline-step > span::before {
        inset: -7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }
}

@media (max-width: 520px) {
    .section-pad {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-actions .btn,
    .hero-actions {
        width: 100%;
    }

    .hero-proof span {
        width: 100%;
    }

    .system-card,
    .solution-card,
    .pricing-card,
    .service-tile,
    .trust-card,
    .service-preview,
    .knowledge-card {
        min-height: auto;
    }

    .whatsapp-widget {
        right: 16px;
        bottom: 16px;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
    }

    .scroll-top-button {
        right: 21px;
        bottom: 88px;
        width: 46px;
        height: 46px;
    }
}
