:root {
    color-scheme: dark;
    --background: #080d18;
    --surface: #0e1625;
    --surface-raised: #121d30;
    --text: #f4f6fb;
    --muted: #a4afc1;
    --border: rgba(178, 197, 226, 0.16);
    --primary: #cf883c;
    --primary-bright: #cf883c;
    --font-body: "DM Sans", sans-serif;
    --font-display: "Space Grotesk", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

.site-header {
    position: fixed;
    z-index: 5;
    inset: 0 0 auto;
    background: transparent;
    transition: background-color 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(8, 13, 24, 0.94);
    box-shadow: 0 1px 0 rgba(178, 197, 226, 0.12);
    backdrop-filter: blur(14px);
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
}

.navigation .brand {
    align-self: flex-start;
    margin-top: 20px;
}

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

.brand img {
    display: block;
    width: 350px;
    height: auto;
}

.desktop-links {
    display: flex;
    gap: 36px;
    color: #c1cad8;
    font-size: 0.9rem;
}

.desktop-links a,
.mobile-links a {
    transition: color 180ms ease;
}

.desktop-links a:hover,
.mobile-links a:hover {
    color: var(--primary-bright);
}

.mobile-navigation {
    display: none;
}

.hero {
    position: relative;
    display: flex;
    min-height: 92vh;
    min-height: max(680px, 92svh);
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #080d18;
}

.hero-background {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 92px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--primary-bright);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-transform: uppercase;
}

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

h1,
h2,
h3 {
    font-family: var(--font-display);
    line-height: 1.12;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: clamp(3rem, 7vw, 5.8rem);
    letter-spacing: -0.065em;
}

.hero h1 span {
    color: #aab9cf;
}

.hero-description {
    max-width: 590px;
    margin-bottom: 32px;
    color: #b2bdcc;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

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

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 23px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.button svg,
.download-arrow {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.button-primary {
    background: var(--primary);
    box-shadow: 0 8px 30px rgba(207, 136, 60, 0.24);
    color: #07101e;
}

.button-primary:hover {
    background: var(--primary-bright);
}

.button-outline {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.025);
}

.button-outline:hover {
    border-color: rgba(131, 186, 255, 0.55);
    background: rgba(255, 255, 255, 0.07);
}

.scroll-cue {
    position: absolute;
    right: 0;
    bottom: -150px;
    display: grid;
    width: 28px;
    height: 44px;
    place-items: start center;
    padding-top: 8px;
    border: 1px solid rgba(208, 225, 248, 0.38);
    border-radius: 20px;
}

.scroll-cue span {
    width: 3px;
    height: 8px;
    border-radius: 4px;
    background: var(--primary-bright);
}

.section-space {
    padding-block: 112px;
}

.section-heading {
    max-width: 580px;
    margin-bottom: 46px;
}

.section-heading h2,
.support-copy h2,
.contact h2 {
    margin-bottom: 14px;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.support-copy > p:last-child,
.contact-content > div > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--border);
}

.service-card {
    min-height: 230px;
    padding: 34px;
    background: var(--background);
    transition: background-color 180ms ease;
}

.service-card:hover {
    background: var(--surface);
}

.line-icon {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--primary);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.service-card h3 {
    margin: 25px 0 9px;
    font-size: 1.35rem;
    letter-spacing: -0.035em;
}

.service-card p {
    max-width: 400px;
    margin: 0;
    color: var(--muted);
}

.support {
    background:
        radial-gradient(ellipse at 15% 50%, rgba(32, 75, 125, 0.16), transparent 48%),
        var(--surface);
}

.support-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 80px;
}

.support-copy > p:last-child {
    max-width: 450px;
    font-size: 1.05rem;
}

.support-copy strong {
    color: var(--primary-bright);
}

.download-list {
    display: grid;
    gap: 14px;
}

.download-card {
    display: flex;
    min-height: 96px;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--background);
    transition: border-color 180ms ease, transform 180ms ease;
}

.download-card:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 168, 255, 0.65);
}

.download-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-raised);
}

.download-icon .line-icon {
    width: 23px;
    height: 23px;
}

.download-text {
    display: grid;
    gap: 3px;
}

.download-text strong {
    font-family: var(--font-display);
    font-size: 1.02rem;
}

.download-text span {
    color: var(--muted);
    font-size: 0.88rem;
}

.download-arrow {
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--muted);
}

.contact {
    padding-bottom: 30px;
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 0 0 56px;
    border-bottom: 1px solid var(--border);
}

.contact h2 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.contact-content .button {
    flex: 0 0 auto;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
}

.footer-bottom p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.footer-bottom .brand img {
    width: 280px;
}

a:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--primary-bright);
    outline-offset: 4px;
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 36px, 560px);
    }

    .navigation {
        min-height: 76px;
    }

    .desktop-links {
        display: none;
    }

    .mobile-navigation {
        position: relative;
        display: block;
    }

    .mobile-navigation summary {
        display: grid;
        width: 42px;
        height: 42px;
        align-content: center;
        justify-items: center;
        gap: 5px;
        border: 1px solid var(--border);
        border-radius: 50%;
        cursor: pointer;
        list-style: none;
    }

    .mobile-navigation summary::-webkit-details-marker {
        display: none;
    }

    .mobile-navigation summary span {
        width: 16px;
        height: 1px;
        background: var(--text);
    }

    .mobile-links {
        position: absolute;
        top: 52px;
        right: 0;
        display: grid;
        min-width: 185px;
        gap: 2px;
        padding: 8px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: var(--surface-raised);
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
    }

    .mobile-links a {
        padding: 10px 12px;
        border-radius: 6px;
        color: #d3dceb;
    }

    .mobile-links a:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .hero {
        min-height: 740px;
        min-height: max(680px, 92svh);
    }

    .hero-background {
        object-position: 58% center;
    }

    .hero-content {
        padding-top: 90px;
        padding-bottom: 76px;
    }

    .hero h1 {
        max-width: 600px;
        font-size: clamp(3rem, 12vw, 4.8rem);
    }

    .hero-description {
        max-width: 480px;
    }

    .scroll-cue {
        right: 4px;
        bottom: 8px;
    }

    .section-space {
        padding-block: 82px;
    }

    .support-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contact-content {
        align-items: flex-start;
        flex-direction: column;
        padding-bottom: 38px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

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

    .service-card {
        min-height: 0;
        padding: 28px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
