:root {
    --ff-color-text: #111111;
    --ff-color-muted: #666666;
    --ff-color-bg: #ffffff;
    --ff-color-bg-soft: #f4f4f1;
    --ff-color-line: #deded8;
    --ff-space: clamp(1rem, 2vw, 2rem);
    --ff-radius: 1.25rem;
    --ff-max-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ff-color-text);
    background: var(--ff-color-bg);
    line-height: 1.5;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--ff-color-text);
    outline-offset: 4px;
}

.container {
    width: min(100% - 2rem, var(--ff-max-width));
    margin-inline: auto;
}

.content-narrow {
    max-width: 760px;
}

.site-header {
    border-bottom: 1px solid var(--ff-color-line);
}

.site-header__inner,
.site-footer__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ff-space);
}

.site-logo {
    font-weight: 700;
    text-decoration: none;
}

.site-nav__list,
.footer-nav__list {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a,
.footer-nav a {
    text-decoration: none;
}

.site-nav a:hover,
.footer-nav a:hover {
    text-decoration: underline;
    text-underline-offset: .25em;
}

.hero {
    padding: clamp(5rem, 12vw, 10rem) 0;
}

.hero__inner {
    max-width: 880px;
}

.hero h1 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(3rem, 9vw, 7.5rem);
    line-height: .9;
    letter-spacing: -0.06em;
}

.hero__text {
    max-width: 620px;
    margin: 1.5rem 0 2rem;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--ff-color-muted);
}

.eyebrow {
    margin: 0 0 1rem;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.section--muted {
    background: var(--ff-color-bg-soft);
}

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 6vw, 6rem);
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: .95;
    letter-spacing: -0.04em;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.25rem;
    border: 1px solid var(--ff-color-text);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color .18s ease, color .18s ease;
}

.button:hover {
    color: var(--ff-color-bg);
    background: var(--ff-color-text);
}

.site-footer {
    border-top: 1px solid var(--ff-color-line);
}

.archive-header,
.content-empty {
    max-width: 760px;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.post-list {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
}

.content-card {
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
    border-bottom: 1px solid var(--ff-color-line);
}

.content-card__title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.content-card__title a {
    text-decoration: none;
}

.content-card__title a:hover {
    text-decoration: underline;
    text-underline-offset: .12em;
}

.content-card__body {
    max-width: 720px;
    margin-top: 1.25rem;
    color: var(--ff-color-muted);
    font-size: 1.0625rem;
}

.content-card__body > *:first-child {
    margin-top: 0;
}

.content-card__body > *:last-child {
    margin-bottom: 0;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.page-links {
    margin-top: 2rem;
    font-weight: 700;
}

@media (max-width: 760px) {
    .site-header__inner,
    .site-footer__inner,
    .site-nav__list,
    .footer-nav__list {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header__inner,
    .site-footer__inner {
        padding: 1rem 0;
    }

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

    .hero h1 {
        letter-spacing: -0.035em;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}
