:root {
    color-scheme: dark;

    --background: #07080b;
    --surface: rgba(16, 18, 24, 0.76);
    --surface-hover: rgba(22, 25, 33, 0.92);

    --text: #f4f2ed;
    --muted: #9ca3af;
    --accent: #c8a96b;
    --accent-soft: rgba(200, 169, 107, 0.14);

    --border: rgba(255, 255, 255, 0.10);
    --border-hover: rgba(200, 169, 107, 0.52);

    --page-width: 1180px;
}
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--text);

    background:
        radial-gradient(
            circle at 50% -15%,
            rgba(62, 69, 95, 0.32),
            transparent 40%
        ),
        linear-gradient(
            180deg,
            #0b0d12 0%,
            var(--background) 55%
        );
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;

    content: "";

    opacity: 0.18;

    background-image:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.72) 0 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 78%
        );

    pointer-events: none;
}

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

a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;

    padding: 10px 14px;
    border-radius: 8px;

    color: var(--background);
    background: var(--accent);

    font-weight: 800;

    transform: translateY(calc(-100% - 20px));
}

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

.container {
    width: min(
        calc(100% - 40px),
        var(--page-width)
    );

    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;

    border-bottom: 1px solid var(--border);

    background: rgba(7, 8, 11, 0.76);
    backdrop-filter: blur(18px);
}

.nav {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-emblem {
    width: 38px;
    height: 38px;

    display: block;
    flex: 0 0 38px;

    border: 1px solid var(--border-hover);
    border-radius: 50%;

    object-fit: cover;
    object-position: center;
    clip-path: circle(50% at 50% 50%);
}

.nav-links {
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 20px;

    list-style: none;
    color: var(--muted);
    font-size: 0.9rem;
}

.nav-links a {
    transition:
        color 160ms ease,
        transform 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--text);
}

.nav-links a:hover {
    transform: translateY(-1px);
}

main {
    padding: 112px 0 80px;
}

.hero {
    max-width: 900px;
}

.eyebrow {
    margin-bottom: 22px;

    color: var(--accent);

    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

h1 {
    margin: 0;

    font-size: clamp(4.25rem, 13vw, 9.5rem);
    line-height: 0.82;
    letter-spacing: -0.07em;
}

.intro {
    max-width: 720px;
    margin: 34px 0 0;

    color: var(--muted);

    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.75;
}

.hero-actions {
    margin-top: 34px;

    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    min-height: 46px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 999px;

    color: var(--text);
    background: rgba(255, 255, 255, 0.025);

    font-size: 0.88rem;
    font-weight: 700;

    transition:
        border-color 160ms ease,
        background 160ms ease,
        transform 160ms ease;
}

.button:hover {
    border-color: var(--border-hover);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.button.primary {
    border-color: var(--accent);
    color: #090909;
    background: var(--accent);
}

.button.primary:hover {
    background: #d4b97f;
}

.section-heading {
    margin: 112px 0 24px;

    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading h2 {
    margin: 0;

    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 460px;
    margin: 0;

    color: var(--muted);
    line-height: 1.65;
}

.divisions {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.card {
    min-height: 270px;
    padding: 28px;

    display: flex;
    flex-direction: column;

    border: 1px solid var(--border);
    border-radius: 22px;

    background: var(--surface);
    backdrop-filter: blur(12px);

    transition:
        border-color 180ms ease,
        background 180ms ease,
        transform 180ms ease;
}

.card:hover {
    border-color: var(--border-hover);
    background: var(--surface-hover);
    transform: translateY(-4px);
}

.card-number {
    margin-bottom: 42px;

    color: var(--accent);

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.card h3 {
    margin: 0 0 12px;

    font-size: 1.45rem;
    letter-spacing: -0.025em;
}

.card p {
    max-width: 470px;
    margin: 0;

    color: var(--muted);
    line-height: 1.65;
}

.card-footer {
    margin-top: auto;
    padding-top: 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.status {
    color: var(--accent);

    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.arrow {
    color: var(--muted);
    font-size: 1.15rem;
}

.site-footer {
    margin-top: 96px;
    padding: 34px 0;

    border-top: 1px solid var(--border);
}

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

    color: var(--muted);
    font-size: 0.84rem;
}

.footer-content p {
    margin: 0;
}

.footer-links {
    margin: 0;
    padding: 0;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;

    list-style: none;
}

.footer-links a {
    transition: color 160ms ease;
}

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

.footer-mark {
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 980px) {
    .nav {
        min-height: 64px;
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding-block: 12px;
    }

    .nav-links {
        width: 100%;
        padding-bottom: 4px;

        gap: 18px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: thin;
    }
}

@media (max-width: 760px) {

    main {
        padding-top: 86px;
    }

    .section-heading {
        margin-top: 86px;
        align-items: start;
        flex-direction: column;
    }

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

    .card {
        min-height: 240px;
    }

    .footer-content {
        align-items: start;
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

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