@font-face {
    font-family: "Roboto";
    src: url("assets/Roboto-Variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --blue: #3432a4;
    --blue-deep: #211f72;
    --blue-bright: #8fa4ff;
    --ink: #18181b;
    --paper: #f7f7f2;
    --line: rgba(24, 24, 27, 0.2);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0;
}

a {
    color: inherit;
}

.site-header {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 5vw;
    color: white;
}

.wordmark {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    text-decoration: none;
}

.wordmark-mark {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 28px;
}

nav a,
footer a {
    text-underline-offset: 5px;
}

.hero {
    position: relative;
    min-height: min(760px, 88vh);
    overflow: hidden;
    display: grid;
    align-items: end;
    background: var(--blue);
    color: white;
    padding: 130px 5vw 8vh;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(24, 22, 91, .94) 0%, rgba(36, 34, 128, .72) 45%, rgba(52, 50, 164, .12) 76%);
}

.hero-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center 38%;
    opacity: .38;
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: min(720px, 84vw);
}

.eyebrow {
    margin: 0 0 20px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}

h1 {
    max-width: 900px;
    font-size: clamp(3.2rem, 8vw, 7.5rem);
    line-height: .94;
}

h2 {
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: .98;
}

.hero-statement {
    max-width: 620px;
    margin: 28px 0 34px;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.55;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid currentColor;
    font-weight: 700;
    text-decoration: none;
}

.button-light {
    background: white;
    color: var(--blue-deep);
    border-color: white;
}

.button-dark {
    margin-top: 22px;
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}

.button:hover,
.button:focus-visible {
    background: var(--blue-bright);
    color: var(--ink);
    border-color: var(--blue-bright);
}

.intro,
.contact {
    display: grid;
    grid-template-columns: minmax(80px, .35fr) minmax(0, 1fr);
    gap: 5vw;
    padding: 10vw 5vw;
}

.intro>div,
.contact>div {
    max-width: 900px;
}

.intro p:not(.section-number),
.contact p {
    max-width: 780px;
    font-weight: 400;
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    line-height: 1.5;
}

.section-number {
    margin: 8px 0 0;
    font-size: .75rem;
    font-weight: 700;
}

.product {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 650px;
    background: var(--blue);
    color: white;
}

.product-copy {
    padding: 9vw 7vw 9vw 5vw;
}

.product-lead {
    font-weight: 500;
    font-size: clamp(1.45rem, 2.4vw, 2.2rem);
    line-height: 1.3;
}

.product-copy>p:not(.eyebrow) {
    max-width: 660px;
}

.product-copy>p:last-of-type {
    line-height: 1.7;
}

.principles {
    display: grid;
    align-content: center;
    background: var(--blue-bright);
    color: var(--ink);
    padding: 7vw 5vw;
}

.principles p {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 26px 0;
    border-bottom: 1px solid rgba(24, 24, 27, .28);
}

.principles strong {
    font-size: 2rem;
    font-weight: 600;
}

.contact {
    background: #e8e8de;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 30px;
    margin-top: 38px;
}

.contact-links a {
    font-weight: 700;
    text-underline-offset: 6px;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 5vw;
    background: var(--ink);
    color: white;
    font-size: .85rem;
}

footer div {
    display: flex;
    gap: 24px;
}

.legal-header {
    position: static;
    background: var(--blue);
}

.legal-main {
    width: min(850px, 90vw);
    margin: 0 auto;
    padding: 9vw 0;
}

.legal-main h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    color: var(--blue-deep);
}

.legal-main h2 {
    margin-top: 42px;
    font-size: 1.5rem;
    font-family: inherit;
    font-weight: 700;
}

.legal-main p {
    white-space: pre-line;
    line-height: 1.75;
}

.legal-back {
    display: inline-block;
    margin-bottom: 35px;
    font-weight: 700;
    text-underline-offset: 5px;
}

@media (max-width: 760px) {
    .site-header {
        min-height: 66px;
    }

    .wordmark span:last-child {
        max-width: 145px;
        line-height: 1.05;
    }

    nav {
        gap: 14px;
        font-size: .85rem;
    }

    .hero {
        min-height: 720px;
        padding-bottom: 54px;
    }

    .hero::after {
        background: linear-gradient(180deg, rgba(31, 29, 110, .12), rgba(31, 29, 110, .96) 62%);
    }

    .hero-art {
        height: 50%;
        object-position: center;
        opacity: .7;
    }

    .intro,
    .contact {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 80px 5vw;
    }

    .product {
        grid-template-columns: 1fr;
    }

    .product-copy,
    .principles {
        padding: 75px 5vw;
    }

    footer {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}