@font-face {
    font-family: "Instrument Serif";
    src: url("/instrument-serif-latin-400-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    color: #f3f0e8;
    background: #060810;
    font:
        15px/1.7 system-ui,
        sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

* {
    box-sizing: border-box;
}

body {
    min-width: 320px;
    margin: 0;
    background:
        radial-gradient(circle at 80% 0%, rgb(119 217 185 / 0.13), transparent 28rem),
        radial-gradient(circle at 5% 72%, rgb(44 64 120 / 0.22), transparent 32rem), #060810;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: 0.028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
    color: inherit;
}

.page-shell {
    min-height: 100svh;
    padding: 20px;
}

.page-nav {
    width: min(1240px, 100%);
    min-height: 60px;
    margin: 0 auto;
    padding: 0 9px 0 19px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgb(119 217 185 / 0.18);
    border-radius: 999px;
    background: linear-gradient(
        115deg,
        rgb(8 16 25 / 0.8),
        rgb(14 35 37 / 0.52),
        rgb(8 15 24 / 0.76)
    );
    box-shadow:
        inset 0 1px rgb(255 255 255 / 0.1),
        0 18px 65px rgb(0 0 0 / 0.3);
    backdrop-filter: blur(28px) saturate(1.4);
}

.page-nav img {
    display: block;
    width: 96px;
}

.page-nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.page-nav-links a {
    position: relative;
    padding: 8px 4px;
    color: #c8d0df;
    font-size: 12px;
    text-decoration: none;
}

.page-nav-links a::after {
    position: absolute;
    right: 4px;
    bottom: 2px;
    left: 4px;
    height: 1px;
    content: "";
    background: #77d9b9;
    transform: scaleX(0);
    transition: transform 180ms ease;
}

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

.page-nav-cta,
.back-link {
    border: 1px solid rgb(119 217 185 / 0.28);
    border-radius: 999px;
    background: rgb(119 217 185 / 0.08);
    color: #f3f0e8;
    text-decoration: none;
}

.page-nav-cta {
    padding: 9px 15px;
    font-size: 12px;
    white-space: nowrap;
}

.page-nav-cta:hover,
.page-nav-cta:focus-visible,
.back-link:hover,
.back-link:focus-visible {
    border-color: rgb(119 217 185 / 0.48);
    background: rgb(119 217 185 / 0.14);
}

.page-main {
    width: min(1060px, 100%);
    margin: 0 auto;
    padding: clamp(90px, 14vw, 170px) 5vw 120px;
}

.page-eyebrow {
    margin: 0 0 18px;
    color: #77d9b9;
    font: 600 10px/1.2 monospace;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 400;
}

h1 {
    max-width: 760px;
    font-size: clamp(58px, 9vw, 112px);
    line-height: 0.9;
    letter-spacing: -0.045em;
}

h1 em {
    color: #77d9b9;
    font-style: normal;
}

.page-lede {
    max-width: 630px;
    margin: 28px 0 0;
    color: #aab4bf;
    font-size: clamp(17px, 2vw, 21px);
}

.back-link {
    display: inline-block;
    margin-top: 42px;
    padding: 10px 15px;
    font-size: 13px;
}

.page-footer {
    width: min(1060px, 100%);
    margin: 0 auto;
    padding: 22px 5vw 28px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgb(200 208 223 / 0.12);
    color: #59657b;
    font-size: 12px;
}

.page-footer a {
    color: #c8d0df;
    text-decoration: none;
}

.page-footer a:hover,
.page-footer a:focus-visible {
    color: #77d9b9;
}

@media (max-width: 760px) {
    .page-shell {
        padding: 12px;
    }

    .page-nav {
        flex-wrap: wrap;
        padding: 10px 12px 10px 16px;
        border-radius: 24px;
    }

    .page-nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 12px;
        padding-top: 4px;
        border-top: 1px solid rgb(200 208 223 / 0.1);
    }

    .page-main {
        padding-top: 100px;
    }

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