@font-face {
    font-family: "Silkscreen";
    src: url("fonts/Silkscreen-Regular.ttf") format("truetype");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

:root {
    color-scheme: light;
    --base: #ebede9;
    --base-dark: #202e37;
    --text-on-base: #090a14;
    --muted-on-base: #394a50;
    --text-on-dark: #ebede9;
    --muted-on-dark: #c7cfcc;
    --brand: #752438;
    --accent: #de9e41;
    --content-width: 61rem;
    --image-shadow: 0 1rem 2rem rgba(9, 10, 20, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--base);
    scroll-behavior: smooth;
}

body {
    min-width: 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: var(--base);
    color: var(--text-on-base);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}

body > main {
    flex: 1 0 auto;
}

main:focus {
    outline: none;
}

a {
    color: var(--brand);
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--text-on-base);
}

a:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    z-index: 10;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.625rem 0.875rem;
    border-radius: 4px;
    background: var(--base-dark);
    color: var(--text-on-dark);
    font-weight: 700;
    transform: translateY(-200%);
}

.skip-link:focus {
    color: var(--text-on-dark);
    transform: none;
}

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

.site-header,
.document,
.home-hero,
.features-inner,
.footer-inner {
    width: min(calc(100% - 2rem), var(--content-width));
    margin-inline: auto;
}

.site-header {
    display: flex;
    min-height: 4rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand-link {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    color: var(--brand);
    font-family: "Silkscreen", monospace;
    font-size: 1.125rem;
    text-decoration: none;
}

.brand-link img {
    width: 2rem;
    height: 2rem;
    margin-right: 0.625rem;
    image-rendering: pixelated;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}

.site-nav a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    color: var(--text-on-base);
    font-weight: 700;
    text-decoration: none;
}

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

.site-nav a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35rem;
}

.eyebrow {
    margin: 0 0 0.5rem;
    color: var(--brand);
    font-family: "Silkscreen", monospace;
    font-size: 0.875rem;
    text-transform: uppercase;
}

h1,
h2 {
    margin-top: 0;
    font-weight: 800;
    letter-spacing: 0;
}

h1 {
    max-width: 100%;
    margin-bottom: 1rem;
    color: var(--text-on-base);
    font-size: 3.5rem;
    line-height: 1.08;
}

h2 {
    margin-bottom: 1rem;
    color: var(--text-on-base);
    font-size: 2.5rem;
    line-height: 1.15;
}

h3 {
    margin: 1.25rem 0 0.5rem;
    color: var(--text-on-base);
    font-size: 1.25rem;
    line-height: 1.3;
}

h1,
h2,
h3,
.hero-kicker,
.contact-link,
.footer-tagline {
    overflow-wrap: anywhere;
}

.home-hero {
    min-height: 100svh;
    display: grid;
    grid-template-columns: minmax(0, 27rem) minmax(15rem, 17.5rem);
    column-gap: clamp(7rem, 13.75vw, 11rem);
    align-items: center;
    justify-content: start;
    padding-block: 3rem;
}

.hero-copy {
    max-width: 27rem;
}

.hero-brand {
    min-height: 3.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--brand);
    font-family: "Silkscreen", monospace;
    font-size: 1.5rem;
    text-decoration: none;
}

.hero-brand:hover {
    color: var(--brand);
}

.hero-brand img {
    width: 3.5rem;
    height: 3.5rem;
    image-rendering: pixelated;
}

.hero-kicker {
    margin: 0.75rem 0 0.25rem;
    color: var(--brand);
    font-family: "Silkscreen", monospace;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.hero-lede {
    max-width: 32rem;
    margin: 0;
    color: var(--muted-on-base);
    font-size: 1.25rem;
}

.release-status {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin: 1.5rem 0 0;
    color: var(--brand);
    font-weight: 800;
}

.release-status::before {
    width: 0.625rem;
    height: 0.625rem;
    flex: 0 0 auto;
    background: var(--accent);
    content: "";
}

.hero-visual {
    width: 17.5rem;
    margin: 0;
    justify-self: end;
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--image-shadow);
}

.features {
    width: 100%;
}

.features-inner {
    padding-block: 7rem 8rem;
}

.section-heading {
    max-width: 42rem;
    margin-bottom: 3rem;
}

.section-eyebrow {
    margin: 0 0 0.75rem;
    color: var(--brand);
    font-family: "Silkscreen", monospace;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.section-heading p {
    margin: 0;
    color: var(--muted-on-base);
    font-size: 1.125rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.feature p {
    margin: 0;
    color: var(--muted-on-base);
}

.feature-step {
    margin-top: 1.25rem !important;
    color: var(--brand) !important;
    font-family: "Silkscreen", monospace;
    font-size: 0.875rem;
}

.feature h3 {
    margin-top: 0.375rem;
}

.feature-media {
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: var(--base-dark);
    box-shadow: var(--image-shadow);
}

.feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.document h1,
.document h2 {
    font-family: "Silkscreen", monospace;
    font-weight: 400;
}

.document h1 {
    color: var(--brand);
}

.document h2 {
    color: var(--brand);
    font-size: 1.35rem;
}

.document {
    max-width: 44rem;
    padding-block: 4rem 6rem;
}

.document-compact {
    max-width: 42rem;
    padding-block: clamp(4rem, 12vh, 8rem);
}

.document-intro {
    max-width: 40rem;
    font-size: 1.125rem;
}

.document p,
.document li {
    color: var(--text-on-base);
}

.document section {
    margin-top: 3rem;
}

.contact-link {
    max-width: 100%;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    background: var(--accent);
    color: var(--text-on-base);
    font-size: 1.125rem;
    font-weight: 800;
    text-decoration: none;
}

.contact-link:hover {
    color: var(--text-on-base);
}

.meta {
    color: var(--brand);
    font-weight: 700;
}

.site-footer {
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    background: var(--base-dark);
    color: var(--text-on-dark);
    font-size: 0.875rem;
}

.footer-inner {
    padding-block: 2.5rem 2rem;
}

.footer-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-row p {
    margin: 0;
}

.footer-brand {
    font-family: "Silkscreen", monospace;
    font-weight: 400;
}

.footer-tagline,
.copyright {
    color: var(--muted-on-dark);
}

.copyright {
    margin-top: 0.5rem !important;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-links a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    color: var(--accent);
}

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

@media (max-width: 56rem) {
    .home-hero {
        min-height: 100svh;
        grid-template-columns: 1fr;
        gap: 2rem;
        align-content: center;
        justify-items: center;
        padding-block: 4rem;
        text-align: center;
    }

    .hero-copy {
        display: grid;
        justify-items: center;
    }

    .hero-visual {
        width: min(100%, 14rem);
        justify-self: center;
    }
}

@media (max-width: 44rem) {
    .footer-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .site-header {
        gap: 1rem;
    }

    .site-nav {
        gap: 1rem;
    }

    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2rem;
    }

    .home-hero {
        gap: 2rem;
        padding-block: 3rem;
    }

    .hero-brand {
        font-size: 1.25rem;
    }

    .hero-brand img {
        width: 3rem;
        height: 3rem;
    }

    .hero-lede {
        font-size: 1.0625rem;
    }

    .hero-visual {
        width: min(100%, 9rem);
    }

    .features-inner {
        padding-block: 4.5rem 5rem;
    }

    .section-heading {
        margin-bottom: 2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 4rem;
    }

    .document {
        padding-block: 3rem 5rem;
    }
}

@media (min-width: 56.01rem) and (max-height: 44rem) {
    .home-hero {
        min-height: 44rem;
    }

    .hero-visual {
        width: 15.5rem;
    }
}

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