*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --black: #050505;
    --surface: #101014;
    --line: #29292f;
    --line-strong: #3d3d46;
    --purple: #5635ff;
    --purple-dark: #4027df;
    --purple-text: #8f80ff;
    --header-height: 78px;
    --page-width: 1640px;
    --font: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--black);
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    padding-top: var(--header-height);
    overflow-x: hidden;
    background: var(--black);
    color: #ffffff;
    font-family: var(--font);
    font-weight: 500;
    line-height: 1.45;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.company-menu-open {
    overflow: hidden;
}

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

button {
    color: inherit;
    font: inherit;
}

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

a,
button {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 3000;
    padding: 10px 14px;
    background: #ffffff;
    color: #000000;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.company-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-height);
    background: var(--black);
    border-bottom: 1px solid #242429;
}

.company-header-inner {
    width: min(var(--page-width), calc(100% - 64px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 34px;
}

.company-brand {
    width: 190px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 190px;
}

.company-brand img {
    width: auto;
    max-width: 190px;
    height: 36px;
    object-fit: contain;
}

.company-nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(18px, 2vw, 32px);
    white-space: nowrap;
}

.company-nav a,
.company-account {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #d6d6dc;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    font-weight: 650;
}

.company-nav a:hover,
.company-account:hover {
    color: #ffffff;
}

.company-nav a[aria-current="page"] {
    color: #ffffff;
    border-bottom-color: transparent;
}

.company-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.company-contact {
    min-height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--purple);
    color: #ffffff;
    border: 1px solid var(--purple);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 730;
}

.company-contact:hover {
    background: var(--purple-dark);
    border-color: var(--purple-dark);
}

.company-menu-button {
    display: none;
}

.company-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.company-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.company-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1300;
    width: 100%;
    min-width: 320px;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: var(--black);
    color: #ffffff;
    transform: translateX(101%);
    visibility: hidden;
    transition: transform 240ms cubic-bezier(.22, 1, .36, 1), visibility 240ms ease;
}

.company-mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
}

.company-mobile-head {
    min-height: 94px;
    padding: env(safe-area-inset-top) clamp(20px, 4vw, 46px) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.company-mobile-logo img {
    width: auto;
    max-width: 194px;
    height: 38px;
    object-fit: contain;
}

.company-menu-close {
    position: relative;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    cursor: pointer;
}

.company-menu-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 25px;
    height: 2px;
    background: #ffffff;
}

.company-menu-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.company-menu-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.company-mobile-links {
    padding: 18px clamp(22px, 5vw, 66px) 10px;
}

.company-mobile-links a {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #ffffff;
    border-bottom: 1px solid var(--line);
    font-size: clamp(22px, 3.1vw, 31px);
    font-weight: 670;
    letter-spacing: -0.024em;
}

.company-mobile-links a:hover,
.company-mobile-links a[aria-current="page"] {
    color: #ffffff;
}

.company-mobile-links a > span:last-child {
    color: #ffffff;
    font-size: 34px;
    font-weight: 420;
    line-height: 1;
}

.company-mobile-actions {
    margin-top: auto;
    padding: 20px clamp(22px, 5vw, 66px) calc(22px + env(safe-area-inset-bottom));
    display: grid;
    gap: 12px;
    border-top: 1px solid var(--line);
}

.company-mobile-start,
.company-mobile-contact {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 740;
    text-align: center;
}

.company-mobile-start {
    background: var(--surface);
    color: var(--purple-text);
    border: 1px solid var(--purple);
}

.company-mobile-contact {
    background: var(--purple);
    color: #ffffff;
    border: 1px solid var(--purple);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 900ms cubic-bezier(.22, 1, .36, 1),
        transform 900ms cubic-bezier(.22, 1, .36, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .company-header-inner {
        width: calc(100% - 28px);
        justify-content: space-between;
        gap: 16px;
    }

    .company-brand {
        width: 170px;
        flex-basis: 170px;
    }

    .company-brand img {
        max-width: 170px;
        height: 33px;
    }

    .company-nav,
    .company-account,
    .company-contact {
        display: none;
    }

    .company-actions {
        margin-left: auto;
    }

    .company-menu-button {
        width: 48px;
        height: 48px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0;
        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .company-menu-button span {
        width: 30px;
        height: 3px;
        display: block;
        background: #ffffff;
    }
}

@media (max-width: 560px) {
    .company-header-inner {
        width: calc(100% - 22px);
    }

    .company-brand {
        width: 150px;
        flex-basis: 150px;
    }

    .company-brand img {
        max-width: 150px;
        height: 30px;
    }

    .company-mobile-head {
        min-height: 84px;
        padding-inline: 18px;
    }

    .company-mobile-logo img {
        max-width: 165px;
        height: 33px;
    }

    .company-menu-close {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .company-mobile-links {
        padding: 12px 18px 8px;
    }

    .company-mobile-links a {
        min-height: 68px;
        font-size: 23px;
    }

    .company-mobile-actions {
        padding: 18px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

.enterprise-stage {
    min-height: calc(100svh - var(--header-height));
    display: grid;
    place-items: center;
    padding: 48px 32px;
    background: #050505;
}

.enterprise-stage-inner {
    width: min(1500px, 100%);
    text-align: center;
}

.enterprise-stage p {
    margin: 0 0 28px;
    color: #a9a9b0;
    font-size: clamp(18px, 1.6vw, 25px);
    font-weight: 650;
}

.enterprise-stage h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(84px, 12.4vw, 214px);
    line-height: 0.86;
    letter-spacing: -0.078em;
    font-weight: 650;
}

@media (max-width: 900px) {
    .enterprise-stage {
        padding-inline: 20px;
    }

    .enterprise-stage h1 {
        font-size: clamp(70px, 16vw, 124px);
        line-height: 0.9;
    }
}

@media (max-width: 560px) {
    .enterprise-stage {
        min-height: calc(100svh - var(--header-height));
        padding-inline: 12px;
    }

    .enterprise-stage p {
        margin-bottom: 20px;
        font-size: 17px;
    }

    .enterprise-stage h1 {
        font-size: 64px;
        line-height: 0.92;
    }
}

@media (max-width: 360px) {
    .enterprise-stage h1 {
        font-size: 56px;
    }
}
