/* Palette taken from firstdorsal-web (src/styles/global.css). */
:root {
    color-scheme: light dark;
    --background: oklch(0.955 0.016 88);
    --foreground: oklch(0.28 0.028 45);
    --muted: oklch(0.48 0.03 48);
    --border: oklch(0.84 0.025 75);
    --brand: oklch(0.53 0.16 40);
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: oklch(0.15 0.008 45);
        --foreground: oklch(0.915 0.018 85);
        --muted: oklch(0.68 0.02 70);
        --border: oklch(0.915 0.018 85 / 12%);
        --brand: oklch(0.72 0.16 55);
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: var(--background);
    color: var(--foreground);
    font-family: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

main {
    flex: 1;
    width: 100%;
    max-width: 48rem;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

h1,
h2 {
    font-family: Fraunces, Georgia, "Times New Roman", serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

h1 {
    margin: 1rem 0 0;
    font-size: clamp(2.25rem, 6vw, 3.25rem);
}

h2 {
    margin: 2.5rem 0 0;
    font-size: 1.5rem;
}

p {
    margin: 1rem 0 0;
    color: var(--muted);
}

a {
    color: inherit;
    text-underline-offset: 4px;
}

a:hover {
    color: var(--foreground);
}

.label {
    margin: 0;
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.home {
    display: inline-block;
    margin-bottom: 3rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.stand {
    margin-top: 3rem;
    font-family: Fraunces, Georgia, serif;
    font-style: italic;
    font-size: 0.875rem;
}

footer {
    border-top: 1px solid var(--border);
}

footer div {
    max-width: 48rem;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.875rem;
}

footer nav {
    display: flex;
    gap: 1.5rem;
}
