:root {
    color-scheme: light;
    --bg: #f5f7fb;
    --bg-soft: #eef2f8;
    --surface: rgba(255, 255, 255, .82);
    --surface-solid: #ffffff;
    --surface-2: #e9eef7;
    --ink: #061a33;
    --text: #15263d;
    --muted: #67768b;
    --line: rgba(6, 26, 51, .11);
    --blue: #078fe8;
    --blue-2: #22a7ff;
    --navy: #071f3f;
    --violet: #7857f5;
    --violet-2: #a66bff;
    --shadow: 0 24px 80px rgba(31, 50, 83, .12);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --shell: 1240px;
    --header-h: 88px;
}

html[data-bs-theme="dark"] {
    color-scheme: dark;
    --bg: #070b13;
    --bg-soft: #0b111d;
    --surface: rgba(15, 23, 37, .82);
    --surface-solid: #101824;
    --surface-2: #141f2f;
    --ink: #f5f8ff;
    --text: #d8e0ec;
    --muted: #8e9bae;
    --line: rgba(221, 230, 243, .12);
    --navy: #07182f;
    --shadow: 0 28px 90px rgba(0, 0, 0, .35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

button, a {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
    font-size: 1.02rem;
}

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

.page-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 99;
    opacity: .028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.shell {
    width: min(calc(100% - 48px), var(--shell));
    margin-inline: auto;
}

.section {
    padding: 126px 0;
    position: relative;
}

.section-tight {
    padding: 56px 0 38px;
}

.section-label {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.section-label--light {
    color: rgba(255,255,255,.64);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-h);
    transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
    border-bottom: 1px solid transparent;
}

    .site-header.is-scrolled {
        background: color-mix(in srgb, var(--bg) 82%, transparent);
        backdrop-filter: blur(20px) saturate(150%);
        border-color: var(--line);
    }

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.brand-logo {
    width: 252px;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

.brand-logo--light {
    display: block;
}

.brand-logo--dark {
    display: none;
}

html[data-bs-theme="dark"] .brand-logo--light {
    display: none;
}

html[data-bs-theme="dark"] .brand-logo--dark {
    display: block;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-left: auto;
}

    .desktop-nav a {
        color: var(--text);
        font-size: 1rem;
        font-weight: 650;
        transition: color .2s ease;
    }

        .desktop-nav a:hover {
            color: var(--blue);
        }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}


.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 38px;
    padding: 3px 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-solid) 78%, transparent);
    box-shadow: 0 5px 18px rgba(10,30,60,.06);
    backdrop-filter: blur(12px);
}

.language-switch__option {
    min-width: 38px;
    padding: 6px 7px;
    border-radius: 999px;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    letter-spacing: .035em;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

    .language-switch__option:hover {
        color: var(--ink);
    }

    .language-switch__option.is-active {
        color: var(--bg);
        background: var(--ink);
        box-shadow: 0 4px 12px rgba(0,0,0,.1);
    }

.language-switch__separator {
    color: var(--line);
    font-size: .75rem;
    user-select: none;
}

.theme-toggle {
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
}

.theme-toggle__track {
    width: 68px;
    height: 38px;
    border-radius: 999px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    align-items: center;
    justify-items: center;
    background: var(--surface-solid);
    border: 1px solid var(--line);
    box-shadow: 0 5px 18px rgba(10,30,60,.08);
}

.theme-toggle__thumb {
    position: absolute;
    left: 3px;
    top: 50%;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ink);
    transform: translateY(-50%);
    transition: transform .28s cubic-bezier(.2,.8,.2,1), background .25s ease;
}

html[data-bs-theme="dark"] .theme-toggle__thumb {
    transform: translate(32px,-50%);
    background: #fff;
}

.theme-icon {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    z-index: 1;
    color: var(--muted);
}

.theme-icon--sun {
    color: #fff;
}

html[data-bs-theme="dark"] .theme-icon--sun {
    color: var(--muted);
}

html[data-bs-theme="dark"] .theme-icon--moon {
    color: #09101c;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-solid);
    padding: 12px;
}

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 1.5px;
        background: var(--ink);
        margin: 5px 0;
        transition: transform .2s ease;
    }

.mobile-menu {
    display: none;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 760;
    font-size: .98rem;
    border: 1px solid transparent;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

    .pill:hover {
        transform: translateY(-2px);
    }

    .pill span {
        font-size: 1.15em;
    }

.pill--small {
    min-height: 44px;
    padding-inline: 20px;
    font-size: .92rem;
}

.pill--dark {
    background: var(--ink);
    color: var(--bg);
}

.pill--primary {
    background: linear-gradient(115deg, var(--blue), #0879e8 52%, var(--violet));
    color: #fff;
    box-shadow: 0 15px 35px rgba(0, 137, 237, .23);
}

    .pill--primary:hover {
        box-shadow: 0 18px 42px rgba(0, 137, 237, .30);
    }

.pill--ghost {
    border-color: var(--line);
    background: color-mix(in srgb, var(--surface-solid) 74%, transparent);
    backdrop-filter: blur(12px);
}

.pill--glass {
    color: #fff;
    background: rgba(255,255,255,.13);
    border-color: rgba(255,255,255,.18);
}

.pill--white {
    color: #081b33;
    background: #fff;
}

.hero-scroll {
    height: 135vh;
    position: relative;
}

.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 720px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--bg);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(500px, 1.06fr);
    align-items: center;
    gap: 40px;
    padding-top: 0px;
    position: relative;
    z-index: 3;
    transform: translateY(-10px);
}

.hero-copy {
    transform: translateY(calc(var(--hero-progress, 0) * -34px));
    opacity: calc(1 - var(--hero-progress, 0) * .16);
}

.eyebrow {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 9px 14px;
    margin-bottom: 25px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 730;
    letter-spacing: .05em;
    text-transform: uppercase;
    backdrop-filter: blur(16px);
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 5px rgba(7,143,232,.11);
}

.hero-copy h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(3.2rem, 4.7vw, 5.35rem);
    line-height: .92;
    letter-spacing: -.04em;
    font-weight: 790;
}

.hero-title-line {
    display: block;
    white-space: nowrap;
}

.gradient-text {
    background: linear-gradient(105deg, var(--blue) 0%, #247eea 48%, var(--violet) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: .1em;
}

.hero-lead {
    max-width: 650px;
    margin: 30px 0 34px;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.45vw, 1.25rem);
    line-height: 1.65;
}

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

.hero-visual {
    position: relative;
    height: 620px;
    transform: translate3d(calc(var(--hero-progress, 0) * 18px), calc(var(--hero-progress, 0) * -18px), 0) scale(calc(1 - var(--hero-progress, 0) * .035));
}

.float-card {
    position: absolute;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
    will-change: transform;
}

.float-card--main {
    border-radius: 15px;
    width: 660px;
    aspect-ratio: 1912 / 1027;
    height: auto;
    right: -82px;
    top: 118px;
    border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
    background: transparent;
    transform: rotate(calc(-1.15deg + var(--hero-progress, 0) * 1.15deg)) translateY(calc(var(--hero-progress, 0) * -24px));
    box-shadow: 0 30px 75px rgba(24, 46, 78, .16);
}

.hero-app-window {
    padding: 0;
    background: transparent;
}

    .hero-app-window::before,
    .hero-app-window::after {
        content: none;
    }

.hero-app-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: inherit;
    filter: none;
    transform: scale(1);
    transform-origin: top left;
    transition: transform 1.8s cubic-bezier(.2,.8,.2,1);
    filter: drop-shadow(0 20px 32px rgba(20, 40, 75, .14));
}

.hero-app-image--dark {
    display: none;
}

html[data-bs-theme="dark"] .hero-app-image--light {
    display: none;
}

html[data-bs-theme="dark"] .hero-app-image--dark {
    display: block;
}

.hero-app-window:hover .hero-app-image {
    transform: scale(1.504);
}

.float-card--blue {
    width: 236px;
    height: 205px;
    left: 8px;
    bottom: 36px;
    padding: 26px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    background: linear-gradient(145deg, #0a8de5, #0068d8);
    transform: rotate(calc(7deg - var(--hero-progress, 0) * 5deg)) translate3d(calc(var(--hero-progress, 0) * -22px), calc(var(--hero-progress, 0) * 18px), 0);
    translate: 0 0;
    transition: translate .22s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .float-card--blue:hover {
        translate: 0 -2px;
    }
}

.float-card--blue:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.float-card--violet {
    width: 224px;
    height: 172px;
    right: -18px;
    top: 28px;
    padding: 24px;
    color: #fff;
    background: linear-gradient(145deg, #8c6bf6, #5c41d9);
    transform: rotate(calc(5deg - var(--hero-progress, 0) * 5deg)) translateY(calc(var(--hero-progress, 0) * 22px));
}

    .float-card--blue strong, .float-card--violet strong {
        display: block;
        font-size: 1.55rem;
        line-height: 1.08;
        letter-spacing: -.03em;
        margin-top: 28px;
    }

    .float-card--violet strong {
        margin-top: 22px;
        font-size: 2rem;
    }

    .float-card--violet > span:last-child {
        display: block;
        margin-top: 8px;
        opacity: .72;
        font-size: .86rem;
    }

.mini-label {
    font-size: .7rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .72;
}

.mini-arrow {
    position: absolute;
    right: 24px;
    bottom: 20px;
    font-size: 1.45rem;
}

.mock-window-top {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
}

.mock-dots {
    display: flex;
    gap: 6px;
}

    .mock-dots span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--line);
    }

.mock-url {
    width: 160px;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--muted);
    font-size: .65rem;
}

.mock-dashboard {
    display: grid;
    grid-template-columns: 62px 1fr;
    height: calc(100% - 48px);
}

.mock-sidebar {
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 19px;
    padding-top: 18px;
}

    .mock-sidebar > span:not(.mock-logo-mark) {
        width: 18px;
        height: 4px;
        border-radius: 3px;
        background: rgba(255,255,255,.22);
    }

.mock-logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: .7rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    margin-bottom: 5px;
}

.mock-content {
    padding: 32px 34px;
}

.mock-kicker {
    color: var(--muted);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.mock-title {
    width: 58%;
    height: 16px;
    background: var(--ink);
    border-radius: 4px;
    margin: 11px 0 25px;
    opacity: .9;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

    .mock-stats > div {
        padding: 15px 13px;
        border: 1px solid var(--line);
        background: var(--bg);
        border-radius: 13px;
    }

    .mock-stats strong {
        display: block;
        color: var(--ink);
        font-size: 1rem;
    }

    .mock-stats span {
        color: var(--muted);
        font-size: .58rem;
    }

.mock-chart {
    height: 122px;
    margin-top: 18px;
    display: flex;
    align-items: end;
    gap: 9px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(7,143,232,.03), rgba(120,87,245,.07));
}

    .mock-chart i {
        flex: 1;
        border-radius: 5px 5px 2px 2px;
        background: linear-gradient(180deg, var(--blue-2), var(--violet));
        opacity: .82;
    }

.hero-pill {
    position: absolute;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-solid) 88%, transparent);
    backdrop-filter: blur(14px);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: .73rem;
    font-weight: 750;
    box-shadow: 0 12px 35px rgba(0,0,0,.07);
}

.hero-pill--one {
    left: 98px;
    top: 57px;
    transform: translateY(calc(var(--hero-progress, 0) * -12px));
}

.hero-pill--two {
    right: 92px;
    bottom: 108px;
    transform: translateY(calc(var(--hero-progress, 0) * 16px));
}

.hero-pill--three {
    left: 12px;
    top: 184px;
    transform: translateX(calc(var(--hero-progress, 0) * -15px));
}

.hero-pill--four {
    right: -20px;
    top: 355px;
    transform: translateX(calc(var(--hero-progress, 0) * 14px));
}

.hero-aurora {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .16;
    pointer-events: none;
    transition: opacity .3s ease;
}

.hero-aurora--one {
    background: var(--blue);
    right: 4%;
    top: 8%;
    transform: translate3d(calc(var(--hero-progress, 0) * -60px), calc(var(--hero-progress, 0) * 40px), 0);
}

.hero-aurora--two {
    background: var(--violet);
    left: 44%;
    bottom: -25%;
    transform: translate3d(calc(var(--hero-progress, 0) * 40px), calc(var(--hero-progress, 0) * -45px), 0);
}

.hero-gridlines {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, transparent 3%, #000 35%, transparent 93%);
    transform: translateY(calc(var(--hero-progress, 0) * -18px));
}

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    display: flex;
    gap: 11px;
    align-items: center;
    color: var(--muted);
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    z-index: 4;
    opacity: calc(1 - var(--hero-progress, 0) * 2.2);
}

    .scroll-hint i {
        width: 36px;
        height: 1px;
        background: var(--line);
        position: relative;
        overflow: hidden;
    }

        .scroll-hint i:after {
            content: "";
            position: absolute;
            width: 16px;
            height: 1px;
            background: var(--blue);
            animation: scrollLine 1.7s ease-in-out infinite;
        }

@keyframes scrollLine {
    from {
        transform: translateX(-18px);
    }

    to {
        transform: translateX(40px);
    }
}

.trust-strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-solid) 48%, transparent);
}

    .trust-strip .section-label {
        text-align: center;
        margin-bottom: 25px;
    }

.brand-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    align-items: stretch;
    gap: 18px;
}

.brand-logo-tile {
    min-width: 0;
    min-height: 92px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(20, 40, 70, .035);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .brand-logo-tile:hover {
        transform: translateY(-3px);
        border-color: color-mix(in srgb, var(--blue) 24%, var(--line));
        box-shadow: 0 14px 34px rgba(20, 40, 70, .08);
    }

.partner-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

.partner-logo--motorola {
    max-height: 42px;
}

.partner-logo--sanmina {
    max-height: 52px;
}

.partner-logo--zebra {
    max-height: 46px;
}

.partner-logo--heidelberg {
    max-height: 46px;
}

.section-head {
    display: grid;
    grid-template-columns: 1.1fr .72fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 58px;
}

    .section-head h2, .about-copy h2 {
        margin: 0;
        color: var(--ink);
        font-size: clamp(2.5rem, 4.1vw, 4.35rem);
        line-height: .98;
        letter-spacing: -.03em;
    }

    .section-head > p {
        margin: 0 0 4px;
        color: var(--muted);
        font-size: 1.05rem;
        line-height: 1.75;
    }

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

.tile {
    min-height: 325px;
    border-radius: var(--radius-xl);
    padding: 30px;
    border: 1px solid var(--line);
    background: var(--surface-solid);
    box-shadow: 0 6px 35px rgba(20, 40, 70, .04);
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}

    .tile:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow);
    }

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

    .service-card:after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        right: -120px;
        bottom: -150px;
        background: radial-gradient(circle, rgba(7,143,232,.13), transparent 68%);
        transition: transform .4s ease;
    }

    .service-card:hover:after {
        transform: scale(1.25);
    }

.service-card--blue {
    background: linear-gradient(145deg, #0d8fec, #006bd4);
    color: #fff;
    border-color: transparent;
}

.service-card--violet {
    background: linear-gradient(145deg, #8e6cf6, #5d43d6);
    color: #fff;
    border-color: transparent;
}

.service-card--ink {
    background: #081a31;
    color: #fff;
    border-color: rgba(255,255,255,.08);
}

    .service-card--blue:after, .service-card--violet:after, .service-card--ink:after {
        background: radial-gradient(circle, rgba(255,255,255,.17), transparent 68%);
    }

.tile-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tile-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 14px;
    opacity: .6;
}

    .tile-icon svg {
        width: 24px;
        height: 24px;
    }

.tile-arrow {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    opacity: .35;
    border-radius: 50%;
    font-size: 1.4rem;
    transition: transform .25s ease, opacity .25s ease;
}

.tile:hover .tile-arrow,
.metric-card:hover .tile-arrow {
    transform: rotate(45deg);
    opacity: .9;
}

.service-card h3 {
    color: inherit;
    margin: 0 0 15px;
    font-size: clamp(1.92rem,2.82vw,2.9rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.service-card p {
    margin: 0;
    max-width: 500px;
    color: var(--muted);
    font-size: 1.1rem;
}

.service-card--blue p, .service-card--violet p, .service-card--ink p {
    color: rgba(255,255,255,.72);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

    .tag-row span {
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        padding: 0 22px;
        border: 1px solid var(--line);
        border-radius: 999px;
        color: var(--muted);
        font-size: .82rem;
        font-weight: 700;
    }

.service-card--blue .tag-row span, .service-card--violet .tag-row span, .service-card--ink .tag-row span {
    border-color: rgba(255,255,255,.18);
    color: rgba(255,255,255,.76);
    background: rgba(255,255,255,.06);
}

.section-work {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head--work {
    margin-bottom: 48px;
}

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

.project-card {
    min-height: 500px;
    border-radius: var(--radius-xl);
    padding: 34px;
    position: relative;
    overflow: hidden;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card--wide {
    grid-column: 1/-1;
    min-height: 540px;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 38px;
    align-items: center;
}

.project-card--blue {
    background: linear-gradient(135deg,#087ddc 0%,#0b91ec 46%,#305fe1 100%);
}

.project-card--dark {
    background: linear-gradient(145deg,#07172c,#101d32 55%,#18233d);
}

.project-card--violet {
    background: linear-gradient(145deg,#8661ef,#5e3fd9);
    scroll-margin-top: calc(var(--header-h) + 24px);
}

.project-card--ius {
    background: radial-gradient(circle at 78% 18%,rgba(96,148,255,.38),transparent 28%), radial-gradient(circle at 20% 80%,rgba(165,85,255,.32),transparent 36%), #08152b;
}

.project-copy {
    position: relative;
    z-index: 2;
    align-self: center;
}

    .project-copy h3 {
        margin: 22px 0 14px;
        font-size: clamp(2.12rem,2.82vw,3.42rem);
        line-height: 1.02;
        letter-spacing: -.03em;
    }

.project-card:not(.project-card--wide) .project-copy h3 {
    font-size: clamp(2.12rem,2.82vw,3.42rem);
}

.project-copy p {
    max-width: 560px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 1rem;
    line-height: 1.7;
}

.tag-row--soft {
    margin: 0;
}

    .tag-row--soft span {
        border-color: rgba(255,255,255,.16);
        color: rgba(255,255,255,.72);
        background: rgba(255,255,255,.06);
    }

.project-client {
    display: block;
    margin-top: 10px;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .11em;
    font-weight: 760;
    color: rgba(255,255,255,.66);
}

.project-card .pill {
    margin-top: 30px;
}

.repair-visual {
    position: relative;
    width: 100%;
    height: 390px;
    align-self: center;
}

    .repair-visual img {
        position: absolute;
        display: block;
        height: auto;
        object-fit: contain;
        border: 1px solid rgba(255,255,255,.6);
        border-radius: 5px;
        box-shadow: 0 24px 55px rgba(4,24,72,.28);
        transition: transform 1.5s cubic-bezier(.16, 1, .3, 1);
    }

.repair-visual__dashboard {
    top: -7%;
    right: 0;
    width: 89%;
    transform: rotate(2deg);
}

.repair-visual__manual {
    bottom: -15%;
    left: 3%;
    width: 65%;
    transform: rotate(-2deg);
    filter: drop-shadow(0 18px 18px rgba(0, 25, 65, .32));
    transition: transform 1.9s ease-in-out;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .repair-visual__dashboard:hover {
        transform: rotate(2deg) translateY(-15px);
        z-index: 2
    }

    .repair-visual__manual:hover {
        transform: scale(1.2) rotate(-2deg) translateY(-25px);
    }
}

.device-stack {
    position: absolute;
    right: -5%;
    bottom: -4%;
    width: 70%;
    height: 48%;
}

    .device-stack > * {
        position: absolute;
        width: 155px;
        height: 250px;
        border: 4px solid rgba(255,255,255,.16);
        background: linear-gradient(160deg,rgba(255,255,255,.09),rgba(255,255,255,.02));
        border-radius: 15px;
        box-shadow: 0 22px 60px rgba(0,0,0,.28);
        transform: rotate(var(--device-rotation));
        transition: transform .35s cubic-bezier(.2,.8,.2,1);
    }

    .device-stack .device-screen {
        overflow: hidden;
        background: #000;
    }

        .device-stack .device-screen img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

    .device-stack > :nth-child(1) {
        --device-rotation: -13deg;
        left: 0;
        bottom: -38px;
        z-index: 1;
    }

    .device-stack > :nth-child(2) {
        --device-rotation: -2deg;
        left: 28%;
        bottom: -10px;
        z-index: 2;
    }

    .device-stack > :nth-child(3) {
        --device-rotation: 11deg;
        left: 55%;
        bottom: -45px;
        z-index: 3;
    }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .device-stack > *:hover {
        z-index: 4;
        transform: rotate(var(--device-rotation)) translateY(-12px);
    }
}

.route-visual {
    position: absolute;
    inset: auto 13% 0%;
    height: 42%;
    overflow: hidden;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(0,0,0,.22);
    transition: transform .8s ease;
}

@media (hover: hover) {
    .project-card--violet:hover .route-visual {
        z-index: 3;
        transform: scale(1.3);
    }
}

.route-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ius-window {
    width: 100%;
    aspect-ratio: 1912 / 1023;
    align-self: center;
    background: #f8fbff;
    border-radius: 5px;
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) translateX(9%);
    box-shadow: 0 38px 100px rgba(0,0,0,.35);
    overflow: hidden;
    transition: transform .55s cubic-bezier(.2,.8,.2,1);
}

    .ius-window img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.project-card:hover .ius-window {
    transform: perspective(1200px) rotateY(-2deg) translateX(5%) translateY(-5px);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 90px;
    align-items: start;
}

.large-copy {
    margin: 32px 0 0;
    max-width: 700px;
    font-size: 1.18rem;
    line-height: 1.72;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    margin-top: 31px;
    color: var(--ink);
    font-weight: 780;
    border-bottom: 1px solid var(--line);
    padding-bottom: 4px;
}

.about-cards {
    display: grid;
    gap: 14px;
}

.metric-card {
    min-height: 180px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: var(--surface-solid);
    display: grid;
    grid-template-columns: 64px minmax(0,1fr) 44px;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(20,40,70,.035);
}

.metric-card--product {
    border-color: rgba(120,87,245,.22);
    background: linear-gradient(115deg,rgba(7,143,232,.08),rgba(120,87,245,.13)),var(--surface-solid);
}

.metric-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: rgba(7,143,232,.09);
    color: var(--blue);
}

.metric-card--long-term .metric-icon {
    background: rgba(120,87,245,.09);
    color: var(--violet);
}

.metric-card--product .metric-icon {
    background: rgba(120,87,245,.13);
    color: var(--violet);
}

.metric-icon svg {
    width: 34px;
    height: 34px;
}

.metric-card__copy h3 {
    margin: 0 0 12px;
    color: var(--ink);
    font-size: clamp(1.35rem, 1.95vw, 1.85rem);
    line-height: 1.12;
    letter-spacing: -.035em;
    font-weight: 790;
}

.metric-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.process-section {
    padding-top: 45px;
}

.process-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-top: 1px solid var(--line);
}

    .process-row article {
        min-height: 280px;
        padding: 28px 28px 20px 0;
        border-right: 1px solid var(--line);
    }

        .process-row article + article {
            padding-left: 28px;
        }

        .process-row article:last-child {
            border-right: 0;
        }

.process-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--blue);
    background: rgba(7,143,232,.09);
    border-radius: 12px;
}

    .process-icon svg {
        width: 24px;
        height: 24px;
    }

.process-row h3 {
    margin: 55px 0 12px;
    color: var(--ink);
    font-size: 1.66rem;
    letter-spacing: -.035em;
}

.process-row p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    font-size: .93rem;
}

.contact-section {
    padding-top: 40px;
}

.contact-card {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    border-radius: 42px;
    padding: 64px;
    background: #071a34;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .contact-card h2 {
        margin: 0;
        font-size: clamp(2.65rem, 4.2vw, 4.6rem);
        line-height: .92;
        letter-spacing: -.020em;
    }

    .contact-card > p:not(.section-label) {
        max-width: 610px;
        margin: 30px 0 34px;
        color: rgba(255,255,255,.68);
        font-size: 1.08rem;
        line-height: 1.65;
    }

.contact-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.contact-location {
    color: rgba(255,255,255,.55);
    font-size: .85rem;
}

.contact-glow {
    position: absolute;
    width: 560px;
    height: 560px;
    right: -80px;
    top: -90px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%,rgba(22,169,255,.78),rgba(98,67,219,.54) 38%,transparent 70%);
    filter: blur(28px);
    opacity: .72;
}

.contact-card > *:not(.contact-glow) {
    position: relative;
    z-index: 2;
}

.site-footer {
    padding: 0;
    background: #000000;
    color: #fff;
    border-radius: 0;
    overflow: hidden;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr .9fr 1.15fr .9fr;
    gap: 72px;
    align-items: start;
    padding-top: 35px;
    padding-bottom: 35px;
}

.footer-company__brand {
    display: inline-flex;
    align-items: center;
    width: 210px;
    margin-bottom: 22px;
}

    .footer-company__brand img {
        display: block;
        width: 100%;
        height: auto;
    }

.footer-company__details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(255,255,255,.72);
    font-size: .94rem;
    line-height: 1.1;
}

    .footer-company__details strong {
        color: #fff;
        font-size: 1.06rem;
        font-weight: 750;
    }

.footer-column h3 {
    margin: 5px 0 20px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 760;
    letter-spacing: -.015em;
}

.footer-link-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

    .footer-link-list a,
    .footer-contact-line {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        color: rgba(255,255,255,.9);
        font-size: .95rem;
        line-height: 1.4;
    }

    .footer-link-list a {
        position: relative;
        transition: color .18s ease;
    }

        .footer-link-list a::after {
            content: "";
            position: absolute;
            left: 25px;
            right: 0;
            bottom: -4px;
            height: 1px;
            background: rgba(255,255,255,.42);
            transform-origin: left;
            transition: background .18s ease, transform .18s ease;
        }

        .footer-link-list a:not(:has(svg))::after {
            left: 0;
        }

        .footer-link-list a:hover {
            color: #fff;
        }

            .footer-link-list a:hover::after {
                background: var(--blue-2);
                transform: scaleX(.82);
            }

    .footer-link-list svg,
    .footer-contact-line svg {
        flex: 0 0 16px;
        width: 16px;
        height: 16px;
        fill: currentColor;
        opacity: .82;
    }

.footer-contact-line {
    align-items: flex-start;
    color: rgba(255,255,255,.64);
    line-height: 1.8;
}

    .footer-contact-line svg {
        margin-top: 5px;
    }

.footer-column--right {
    text-align: right;
}

.footer-link-list--right {
    align-items: flex-end;
}

    .footer-link-list--right a::after {
        left: 0;
    }

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    padding-top: 10px;
    padding-bottom: 25px;
    color: rgba(255,255,255,.72);
    font-size: .87rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

    .footer-legal a {
        font-size: .9rem;
    }


    .footer-legal a,
    .footer-made-by a {
        color: rgba(255,255,255,.9);
        border-bottom: 1px solid rgba(255,255,255,.36);
        padding-bottom: 3px;
        transition: color .18s ease, border-color .18s ease;
    }

        .footer-legal a:hover,
        .footer-made-by a:hover {
            color: var(--blue-2);
            border-color: var(--blue-2);
        }

.footer-bottom__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
    text-align: right;
}

.footer-made-by {
    color: rgba(255,255,255,.58);
}

/* Footer typography */
.site-footer span {
    font-size: .92rem;
}

.footer-company__details span,
.footer-contact-line {
    font-size: .95rem;
}

.footer-bottom span {
    font-size: .87rem;
}

[data-reveal], [data-reveal-group] > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .72s ease, transform .72s cubic-bezier(.2,.8,.2,1);
}

    [data-reveal].is-visible, [data-reveal-group] > *.is-visible {
        opacity: 1;
        transform: none;
    }

    [data-reveal-group] > *:nth-child(2) {
        transition-delay: .07s
    }

    [data-reveal-group] > *:nth-child(3) {
        transition-delay: .14s
    }

    [data-reveal-group] > *:nth-child(4) {
        transition-delay: .21s
    }

@media (max-width: 1080px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        position: absolute;
        top: calc(var(--header-h) - 1px);
        left: 24px;
        right: 24px;
        display: flex;
        flex-direction: column;
        padding: 16px;
        border: 1px solid var(--line);
        background: var(--surface-solid);
        border-radius: 22px;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .22s ease;
    }

        .mobile-menu.is-open {
            opacity: 1;
            visibility: visible;
            transform: none;
        }

        .mobile-menu a {
            padding: 13px 14px;
            border-radius: 12px;
            font-weight: 700;
        }

            .mobile-menu a:hover {
                background: var(--bg-soft);
            }

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

    .hero-visual {
        height: 560px;
    }

    .float-card--main {
        width: 545px;
        aspect-ratio: 1912 / 1027;
        height: auto;
        right: -118px;
    }

    .float-card--blue {
        left: -8px;
    }

    .project-card--wide {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    :root {
        --header-h: 76px;
        --radius-xl: 28px;
    }

    .shell {
        width: min(calc(100% - 30px), var(--shell));
    }

    .header-cta {
        display: none;
    }


    .language-switch {
        min-height: 36px;
        padding: 2px 4px;
        gap: 2px;
    }

    .language-switch__option {
        min-width: 34px;
        padding: 6px 5px;
        font-size: .7rem;
    }

    .brand-logo {
        width: 168px;
    }

    .hero-scroll {
        height: auto;
    }

    .hero-sticky {
        position: relative;
        height: auto;
        min-height: 0;
        padding: 132px 0 88px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 54px;
        padding-top: 0;
    }

    .hero-copy {
        transform: none !important;
        opacity: 1 !important;
    }

        .hero-copy h1 {
            font-size: clamp(2.7rem,8.1vw,4rem);
            line-height: .93;
            letter-spacing: -.055em;
        }

    .hero-visual {
        height: 500px;
        width: min(100%,600px);
        margin-inline: auto;
        transform: none !important;
    }

    .float-card--main {
        width: 92%;
        aspect-ratio: 1912 / 1027;
        height: auto;
        right: -4%;
        top: 80px;
        transform: rotate(-2deg) !important;
    }

    .float-card--blue {
        width: 210px;
        height: 175px;
        left: 0;
        bottom: 0;
        transform: rotate(6deg) !important;
    }

    .float-card--violet {
        right: 0;
        top: 4px;
        transform: rotate(4deg) !important;
    }

    .hero-pill--three,
    .hero-pill--four {
        display: none;
    }

    .scroll-hint {
        display: none;
    }

    .brand-row {
        grid-template-columns: repeat(2,1fr);
        gap: 14px;
    }

    .brand-logo-tile {
        min-height: 84px;
        padding: 16px 20px;
    }

    .section {
        padding: 92px 0;
    }

    .section-head, .about-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .service-grid, .work-grid {
        grid-template-columns: 1fr;
    }

    .project-card--wide {
        grid-column: auto;
        grid-template-columns: 1fr;
        min-height: 690px;
    }

    .ius-window {
        transform: rotate(1deg) translateY(20px);
    }

    .project-card:hover .ius-window {
        transform: translateY(14px);
    }

    .repair-visual {
        height: 350px;
    }

    .repair-visual__dashboard {
        top: 0;
        width: 76%;
    }

    .repair-visual__manual {
        bottom: -4%;
        left: 0;
        width: 70%;
    }

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

        .process-row article:nth-child(2) {
            border-right: 0;
        }

        .process-row article:nth-child(3), .process-row article:nth-child(4) {
            border-top: 1px solid var(--line);
        }

        .process-row article:nth-child(3) {
            padding-left: 0;
        }

    .contact-card {
        min-height: 500px;
        padding: 44px 32px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 46px 60px;
    }

    .footer-column--right {
        text-align: left;
    }

    .footer-link-list--right {
        align-items: flex-start;
    }

    .footer-bottom {
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .shell {
        width: min(calc(100% - 24px), var(--shell));
    }

    .metric-card {
        min-height: 170px;
        padding: 18px;
        border-radius: 22px;
        grid-template-columns: 48px minmax(0,1fr) 44px;
        gap: 12px;
    }

    .metric-icon {
        width: 48px;
        height: 48px;
        border-radius: 13px;
    }

        .metric-icon svg {
            width: 27px;
            height: 27px;
        }

    .metric-card__copy h3 {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

    .metric-card p {
        font-size: .9rem;
    }

    .theme-toggle__track {
        width: 60px;
        height: 36px;
    }

    .theme-toggle__thumb {
        left: 2.5px;
        width: 26px;
        height: 26px;
    }

    html[data-bs-theme="dark"] .theme-toggle__thumb {
        transform: translate(29px,-50%);
    }

    .hero-sticky {
        padding-top: 118px;
    }

    .hero-copy h1 {
        font-size: clamp(2.45rem,10.5vw,3.45rem);
    }

    .hero-actions {
        align-items: stretch;
    }

        .hero-actions .pill {
            flex: 1 1 100%;
        }

    .hero-visual {
        height: 420px;
    }

    .float-card--main {
        width: 98%;
        aspect-ratio: 1912 / 1027;
        height: auto;
        right: -9%;
        top: 72px;
    }

    .mock-content {
        padding: 22px 17px;
    }

    .mock-stats > div:last-child {
        display: none;
    }

    .mock-stats {
        grid-template-columns: repeat(2,1fr);
    }

    .float-card--blue {
        width: 190px;
        height: 170px;
        padding: 20px;
    }

        .float-card--blue .mini-label {
            font-size: .62rem;
            line-height: 1.35;
        }

        .float-card--blue strong {
            font-size: 1.16rem;
            line-height: 1.06;
            margin-top: 16px;
        }

        .float-card--blue .mini-arrow {
            right: 18px;
            bottom: 14px;
            font-size: 1.25rem;
        }

    .float-card--violet {
        width: 186px;
        height: 158px;
        padding: 18px;
    }

        .float-card--violet .mini-label {
            font-size: .62rem;
            line-height: 1.3;
        }

        .float-card--violet strong {
            font-size: 1.4rem;
            line-height: 1.05;
            margin-top: 11px;
        }

        .float-card--violet > span:last-child {
            margin-top: 6px;
            font-size: .74rem;
            line-height: 1.2;
        }

    .hero-pill--one {
        left: 15px;
        top: 40px;
    }

    .hero-pill--two {
        right: 12px;
        bottom: 10px;
    }

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

    .brand-logo-tile {
        min-height: 76px;
        padding: 14px 16px;
        border-radius: 15px;
    }

    .partner-logo {
        max-height: 40px;
    }

    .tile {
        min-height: 330px;
        padding: 24px;
    }

    .project-card {
        min-height: 500px;
        padding: 26px;
    }

    .project-card--wide {
        min-height: 630px;
    }

    .repair-visual {
        height: clamp(210px, 65vw, 320px);
    }

    .repair-visual__dashboard {
        width: 86%;
    }

    .repair-visual__manual {
        left: 0;
        width: 85%;
    }

    .device-stack {
        width: 90%;
    }

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

        .process-row article {
            border-right: 0 !important;
            border-top: 1px solid var(--line);
            padding: 25px 0 !important;
            min-height: 210px;
        }

            .process-row article:first-child {
                border-top: 0;
            }

        .process-row h3 {
            margin-top: 42px;
        }

    .contact-card {
        border-radius: 30px;
        padding: 38px 24px;
        min-height: 500px;
    }

    .site-footer {
        border-radius: 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-top: 42px;
        padding-bottom: 40px;
    }

    .footer-company__brand {
        width: 190px;
        margin-bottom: 18px;
    }

    .footer-column h3 {
        margin-bottom: 15px;
    }

    .footer-link-list {
        gap: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        padding-top: 24px;
        padding-bottom: 26px;
    }

    .footer-bottom__right {
        align-items: flex-start;
        text-align: left;
    }

    .footer-legal {
        gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *:before, *:after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    [data-reveal], [data-reveal-group] > * {
        opacity: 1 !important;
        transform: none !important;
    }
}


/* Privacy page */
.legal-page {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-h) + 72px) 0 120px;
    background: var(--bg);
}

.legal-aurora {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(125px);
    opacity: .09;
    pointer-events: none;
}

.legal-aurora--one {
    top: 60px;
    right: -130px;
    background: var(--blue);
}

.legal-aurora--two {
    top: 520px;
    left: -240px;
    background: var(--violet);
}

.legal-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
    gap: 78px;
    align-items: end;
    margin-bottom: 54px;
}

.legal-hero__copy h1 {
    margin: 0;
    max-width: 760px;
    color: var(--ink);
    font-size: clamp(2.7rem, 9.5vw, 4.5rem);
    line-height: .92;
    letter-spacing: -.065em;
}

.legal-lead {
    max-width: 700px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(1.08rem, 1.55vw, 1.3rem);
    line-height: 1.7;
}

.legal-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 30px;
    color: var(--muted);
    font-size: .9rem;
}

.legal-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-weight: 700;
}

    .legal-status i {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--blue);
        box-shadow: 0 0 0 5px rgba(7,143,232,.1);
    }

.legal-controller-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-solid);
    box-shadow: 0 20px 70px rgba(20,40,70,.07);
}

.legal-card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: var(--blue);
    background: color-mix(in srgb, var(--blue) 10%, var(--surface-solid));
    border: 1px solid color-mix(in srgb, var(--blue) 18%, var(--line));
}

    .legal-card-icon svg {
        width: 24px;
        height: 24px;
    }

.legal-card-kicker {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.legal-controller-card h2 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 1.65rem;
    letter-spacing: -.035em;
}

.legal-controller-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.legal-company-data {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 18px 0 0;
}

    .legal-company-data div {
        display: flex;
        align-items: baseline;
        gap: 6px;
        white-space: nowrap;
    }

    .legal-company-data dt {
        color: var(--muted);
        font-size: .72rem;
        font-weight: 750;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .legal-company-data dd {
        margin: 0;
        color: var(--ink);
        font-size: .92rem;
        font-weight: 700;
    }

.legal-email {
    margin-top: 20px;
}

.legal-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.legal-card {
    min-height: 290px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--surface-solid);
    box-shadow: 0 8px 36px rgba(20,40,70,.045);
}

.legal-card--wide {
    grid-column: 1 / -1;
    min-height: 330px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .65fr);
    gap: 64px;
    align-items: center;
}

.legal-card--blue {
    color: #fff;
    border-color: transparent;
    background: radial-gradient(circle at 84% 22%, rgba(122,86,245,.75), transparent 30%), linear-gradient(135deg, #087ddc 0%, #078fe8 45%, #244bd0 100%);
}

.legal-card-number {
    display: inline-flex;
    margin-bottom: 64px;
    color: var(--muted);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.legal-card--blue .legal-card-number {
    color: rgba(255,255,255,.64);
}

.legal-card h2 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(1.8rem, 2.7vw, 2.7rem);
    line-height: 1;
    letter-spacing: -.05em;
}

.legal-card p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

.legal-card--blue h2 {
    color: #fff;
}

.legal-card--blue p {
    color: rgba(255,255,255,.78);
}

.legal-storage-summary {
    padding: 30px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.09);
    backdrop-filter: blur(14px);
}

    .legal-storage-summary strong {
        display: block;
        margin: 16px 0 24px;
        font-size: 1.25rem;
        line-height: 1.45;
    }

.legal-storage-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: rgba(255,255,255,.82);
    font-size: .75rem;
    font-weight: 750;
}

.legal-contact {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    margin-top: 18px;
    padding: 52px 58px;
    border-radius: var(--radius-xl);
    color: #fff;
    background: radial-gradient(circle at 80% 10%, rgba(69,143,255,.4), transparent 30%), #071a34;
    overflow: hidden;
}

    .legal-contact h2 {
        margin: 0;
        font-size: clamp(2rem, 3.6vw, 3.7rem);
        line-height: .95;
        letter-spacing: -.055em;
    }

    .legal-contact p:not(.section-label) {
        max-width: 650px;
        margin: 18px 0 0;
        color: rgba(255,255,255,.68);
        line-height: 1.7;
    }

.legal-contact__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* Cookie settings modal */
body.modal-open {
    overflow: hidden;
}

.footer-legal-link {
    appearance: none;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.36);
    padding: 0 0 3px;
    background: none;
    color: rgba(255,255,255,.9);
    font: inherit;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease;
}

    .footer-legal-link:hover {
        color: var(--blue-2);
        border-color: var(--blue-2);
    }

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 24px;
}

    .cookie-modal[hidden] {
        display: none;
    }

.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2,8,18,.68);
    backdrop-filter: blur(10px);
}

.cookie-modal__panel {
    position: relative;
    width: min(750px, 100%);
    max-height: min(830px, calc(100vh - 48px));
    overflow: auto;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--surface-solid);
    box-shadow: 0 34px 110px rgba(0,0,0,.32);
}

.cookie-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

    .cookie-modal__header .section-label {
        margin-bottom: 10px;
    }

    .cookie-modal__header h2 {
        margin: 0;
        color: var(--ink);
        font-size: clamp(2rem, 4vw, 3.1rem);
        line-height: 1;
        letter-spacing: -.055em;
    }

.cookie-modal__close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--ink);
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease;
}

    .cookie-modal__close:hover {
        transform: rotate(5deg);
        border-color: color-mix(in srgb, var(--blue) 45%, var(--line));
    }

.cookie-modal__intro {
    max-width: 610px;
    margin: 22px 0 28px;
    color: var(--muted);
    line-height: 1.7;
}

.cookie-storage-list {
    display: grid;
    gap: 10px;
}

.cookie-storage-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--bg);
}

.cookie-storage-item--muted {
    opacity: .82;
}

.cookie-storage-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--blue);
    background: color-mix(in srgb, var(--blue) 9%, var(--surface-solid));
}

    .cookie-storage-icon svg {
        width: 21px;
        height: 21px;
    }

.cookie-storage-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

    .cookie-storage-title h3 {
        margin: 0;
        color: var(--ink);
        font-size: 1rem;
        letter-spacing: -.02em;
    }

.cookie-storage-copy p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.55;
}

.cookie-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800;
}

.cookie-badge--active {
    border-color: rgba(7,143,232,.2);
    color: var(--blue);
    background: rgba(7,143,232,.07);
}

.cookie-modal__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.cookie-modal__links {
    min-width: 0;
}

    .cookie-modal__links .text-link {
        margin-top: 0;
        font-size: .9rem;
    }

.cookie-reset-status {
    display: block;
    min-height: 1.3em;
    margin-top: 8px;
    color: var(--muted);
    font-size: .76rem;
}

.cookie-modal__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 820px) {
    .legal-page {
        padding-top: calc(var(--header-h) + 48px);
        padding-bottom: 84px;
    }

    .legal-hero,
    .legal-grid,
    .legal-card--wide {
        grid-template-columns: 1fr;
    }

    .legal-hero {
        gap: 34px;
    }

    .legal-hero__copy h1 {
        font-size: clamp(3rem, 11vw, 5rem);
    }

    .legal-card--wide {
        gap: 28px;
    }

    .legal-contact {
        align-items: flex-start;
        flex-direction: column;
        padding: 42px 32px;
    }

    .legal-contact__actions {
        justify-content: flex-start;
    }

    .cookie-modal__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-modal__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .legal-controller-card,
    .legal-card {
        padding: 24px;
    }

    .legal-card {
        min-height: 0;
    }

    .legal-card-number {
        margin-bottom: 40px;
    }

    .legal-company-data {
        flex-direction: column;
        gap: 12px;
    }

    .legal-contact {
        padding: 34px 24px;
    }

    .cookie-modal {
        padding: 12px;
        align-items: end;
    }

    .cookie-modal__panel {
        max-height: calc(100vh - 24px);
        padding: 24px;
        border-radius: 26px;
    }

    .cookie-storage-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .cookie-modal__actions .pill {
        flex: 1 1 100%;
    }
}
