@font-face {
    font-family: 'Inter';
    src: url('inter_Inter-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('inter_Inter-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('inter_Inter-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-black: #000;
    --pattern-fg: rgba(0, 0, 0, 0.033);

    --color-text-sky-500: lab(63.3038% -18.433 -51.0407);
    --color-text-gray-100: lab(35.6337% -1.58697 -10.8425);
    --color-text-gray-200: lab(35.6337% -1.58697 -10.8425);
    --color-text-gray-300: lab(1.90334% .278696 -5.48866);
    --color-text-gray-400: color-mix(in oklab, var(--color-black) 20%, transparent);

    --font-inter: "inter", sans-serif;

    --gutter-width: 2.5rem;
    --content-max-width: 96rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-background);
    color: var(--color-text-gray-300);
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-family: var(--font-inter), system-ui;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text-gray-300);
    text-wrap: balance;
}

@media (min-width: 640px) {
    h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 3.75rem;
    }
}

@media (min-width: 1280px) {
    h1 {
        font-size: 6rem;
    }
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.app-container {
    isolation: isolate;
}

.weight-semi {
    font-weight: 400;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    height: 4rem;
    background-color: rgba(252, 251, 249, 0.9);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 20px;
}

.layout-grid {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1px auto 1px auto;
    justify-content: center;
}

@media (min-width: 768px) {
    .layout-grid {
        grid-template-columns: var(--gutter-width) minmax(0, var(--content-max-width)) var(--gutter-width);
        margin-left: -1rem;
        margin-right: -1rem;
    }
}

@media (min-width: 1024px) {
    .layout-grid {
        margin-left: 0;
        margin-right: 0;
    }
}

.main-content {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    min-height: 100vh;
    background-color: var(--color-background);
    z-index: 0;
}

@media (min-width: 768px) {
    .main-content {
        grid-column: 2 / 3;
    }
}

.margin-pattern {
    display: none;
    grid-row: 1 / -1;
    background: repeating-linear-gradient(315deg, var(--pattern-fg) 0, var(--pattern-fg) 1px, transparent 0, transparent 50%);
    background-size: 10px 10px;
    background-attachment: fixed;
    border-left: 1px solid var(--pattern-fg);
    border-right: 1px solid var(--pattern-fg);
}

@media (min-width: 768px) {
    .margin-pattern {
        display: block;
    }
}

.margin-pattern.left {
    grid-column: 1 / 2;
}

.margin-pattern.right {
    grid-column: 3 / 4;
}

.spacer {
    display: flex;
    height: 12rem;
    padding-left: 1rem;
    padding-right: 1rem;
    white-space: pre;
}

@media (min-width: 640px) {
    .spacer {
        height: 8rem;
    }
}

.hero {
    font-size: 6rem;
    letter-spacing: -0.05em;
    line-height: 1.1;
}

.typography-section {
    padding-left: 1rem;
    padding-right: 1rem;
}

.bleed-lines {
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
}

.bleed-lines::before,
.bleed-lines::after {
    content: "";
    position: absolute;
    height: 0;
    border-top: 1px solid var(--color-text-gray-400);
    width: 200vw;
    opacity: 0.25;
    left: -50vw;
    pointer-events: none;
    z-index: 20;
}

.bleed-lines::before {
    top: 0;
}

.bleed-lines::after {
    bottom: 0;
}

.title {
    font-size: 1.6rem;
    letter-spacing: 0.05rem;
    height: 100%;
    font-weight: 400;
    text-decoration: underline var(--color-text-gray-300);
}

.blinker {
    text-decoration: none transparent;
}