@layer components {
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 24px;
    }
    body {
        margin: 0;
        font-family: var(--font-sans);
        overflow-wrap: anywhere;
    }
    h1,
    h2,
    .wordmark {
        font-family: var(--font-heading);
        font-weight: 400;
        letter-spacing: -0.02em;
        line-height: 1.05;
    }
    h3 {
        font-family: var(--font-sans);
    }
    a:focus-visible,
    button:focus-visible {
        outline: 3px solid var(--color-brand-accent);
        outline-offset: 3px;
    }
    [hidden] {
        display: none !important;
    }
    main,
    main > section,
    main > section > div {
        min-width: 0;
    }
    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }
        * {
            transition: none !important;
        }
    }
}
