:root {
    --color-bg: #07111b;
    --color-surface: #0f1d2a;
    --color-surface-alt: #14283a;
    --color-text: #edf5fa;
    --color-muted: #afc0cb;
    --color-accent: #35aee2;
    --color-accent-strong: #0b83bd;
    --color-border: rgba(166, 223, 238, 0.22);
    --header-height: 88px;
    --content-width: 1180px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

body.menu-open {
    overflow: hidden;
}

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

img {
    height: auto;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: "Poppins", Arial, sans-serif;
    line-height: 1.16;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p,
ul {
    margin-top: 0;
}

[id] {
    scroll-margin-top: calc(var(--header-height) + 24px);
}

.container {
    width: min(calc(100% - 40px), var(--content-width));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    color: #06101a;
    background: #fff;
    border-radius: 6px;
    transform: translateY(-160%);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    background: rgba(5, 14, 23, 0.96);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(16px);
}

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

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

.brand img {
    width: 154px;
    max-height: 66px;
    object-fit: contain;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 42px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    position: relative;
    display: block;
    padding: 10px 0;
    color: var(--color-text);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 10px;
    color: #fff;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
    display: block;
    width: 100%;
    height: 2px;
    content: "";
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span {
    margin: 6px 0;
}

.menu-toggle[aria-expanded="true"]::before {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"]::after {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    position: relative;
    display: grid;
    min-height: calc(100svh - var(--header-height));
    place-items: center;
    overflow: hidden;
    text-align: center;
}

.hero video,
.hero::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero video {
    object-fit: cover;
}

.hero::after {
    content: "";
    background: linear-gradient(180deg, rgba(2, 8, 14, 0.38), rgba(2, 8, 14, 0.74));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 980px;
    padding: 90px 20px;
}

.hero h1 {
    margin-bottom: 22px;
}

.hero-tagline {
    margin-bottom: 34px;
    color: #a6dfee;
    font-family: "Poppins", Arial, sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.85rem);
    font-weight: 600;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    color: #fff;
    background: var(--color-accent-strong);
    border: 1px solid transparent;
    border-radius: 7px;
    font-family: "Poppins", Arial, sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: background 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.section {
    padding: clamp(70px, 9vw, 120px) 0;
}

.section-alt {
    background: var(--color-surface);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    margin-bottom: 10px;
    color: var(--color-accent);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    align-items: center;
    gap: clamp(36px, 7vw, 90px);
}

.split img {
    width: 100%;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.feature-list {
    display: grid;
    gap: 18px;
    padding: 0;
    list-style: none;
}

.feature-list li {
    padding-left: 24px;
    color: var(--color-muted);
    border-left: 3px solid var(--color-accent);
}

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

.card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

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

.card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.card-content p {
    color: var(--color-muted);
}

.card-content h2 {
    margin-bottom: 14px;
    font-size: clamp(1.7rem, 2.5vw, 2.25rem);
}

.card-content .button {
    align-self: flex-start;
    margin-top: auto;
}

.page-hero {
    padding: 60px 0;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(12, 43, 65, 0.98), rgba(5, 15, 25, 0.94)),
        url("/images/1920/16794698/1-EVEHLHu1RkZSB-weE3BTow.png") center / cover;
}

.page-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(2.5rem, 6vw, 4.7rem);
}

.page-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: var(--color-muted);
}

.prose {
    width: min(calc(100% - 40px), 860px);
    margin-inline: auto;
}

.prose h2 {
    margin-top: 50px;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.prose h3 {
    margin-top: 34px;
}

.prose p,
.prose li {
    color: var(--color-muted);
}

.prose iframe {
    width: 100%;
    min-height: 220px;
    background: #fff;
    border: 0;
}

.team-list {
    display: grid;
    gap: 34px;
}

.team-member {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(28px, 5vw, 60px);
    padding: clamp(26px, 4vw, 46px);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.team-member-text {
    grid-template-columns: 1fr;
}

.team-member img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
}

.team-member p,
.team-member li {
    color: var(--color-muted);
}

.team-member ul {
    padding-left: 22px;
}

.product-intro {
    padding: 56px 0 34px;
    text-align: center;
}

.product-intro h1 {
    margin-bottom: 10px;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.gallery {
    display: grid;
    gap: 2px;
    padding-bottom: 2px;
    background: #050a0f;
}

.gallery figure {
    margin: 0;
    background: #050a0f;
}

.gallery img {
    width: 100%;
}

.site-footer {
    padding: 60px 0 24px;
    color: var(--color-muted);
    background: #040b12;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(360px, 1.25fr) minmax(260px, 0.75fr);
    gap: 72px;
    align-items: start;
}

.footer-brand img {
    width: 150px;
}

.footer-tagline p {
    max-width: 600px;
    margin: 0;
}

.footer-contact h2 {
    color: var(--color-text);
    font-size: 1.35rem;
}

.footer-contact a {
    color: var(--color-text);
    text-decoration-color: var(--color-accent);
}

.footer-bar {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

@media (max-width: 900px) {
    :root {
        --header-height: 76px;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: 0;
        max-height: 0;
        overflow: hidden;
        background: rgba(5, 14, 23, 0.99);
        border-bottom: 1px solid transparent;
        opacity: 0;
        pointer-events: none;
        transition: max-height 220ms ease, opacity 180ms ease;
    }

    .site-nav.is-open {
        max-height: calc(100svh - var(--header-height));
        overflow-y: auto;
        border-bottom-color: var(--color-border);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-list {
        width: min(calc(100% - 40px), var(--content-width));
        margin-inline: auto;
        padding: 18px 0 28px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .nav-link {
        padding: 13px 4px;
        font-size: 1.08rem;
    }

    .nav-link::after {
        right: auto;
        width: 44px;
    }

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

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

    .split {
        gap: 40px;
    }

    .footer-grid {
        gap: 28px;
    }
}

@media (max-width: 680px) {
    body {
        font-size: 16px;
    }

    .container,
    .prose {
        width: min(calc(100% - 28px), var(--content-width));
    }

    .brand img {
        width: 130px;
        max-height: 56px;
    }

    .team-member {
        grid-template-columns: 1fr;
    }

    .team-member img {
        max-width: 300px;
    }

    .footer-bar {
        flex-direction: column;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
