/* Outfit, served from this site (no font CDN), as in the app. Licence: fonts/OFL.txt. */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('fonts/outfit-variable.woff2') format('woff2-variations');
}

html {
    scroll-behavior: smooth;
}

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

/* The colours here repeat tailwind-config.js's roles: ink #22252A, brand #FF8A3D, panel-header #22252A. */
body {
    color: #22252A;
}

:focus-visible {
    outline: 2px solid #22252A;
    outline-offset: 2px;
}

.on-dark :focus-visible,
.panel-head :focus-visible {
    outline-color: #FFFFFF;
}

/* The Clubroom wordmark, built as in web/src/brand/Wordmark.tsx: "club" on an orange tag,
   then r, two orange dots and m. Set the size with font-size on .wordmark. */
.wordmark {
    display: inline-flex;
    align-items: baseline;
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    text-transform: lowercase;
    white-space: nowrap;
}

.wordmark-tag {
    background-color: #FF8A3D;
    color: #22252A;
    border-radius: 0.2em;
    padding: 0.06em 0.16em 0.1em;
    margin-right: 0.1em;
}

.wordmark-room {
    display: inline-flex;
    align-items: baseline;
}

.wordmark-dots {
    display: inline-flex;
    align-items: baseline;
    gap: 0.035em;
}

.wordmark-dot {
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border-radius: 50%;
    background-color: #FF8A3D;
}

/* A panel, as on every screen of the app: a charcoal header strip in white, a 1px charcoal border, 6px corners. */
.panel {
    background: #FFFFFF;
    border: 1px solid #22252A;
    border-radius: 6px;
    overflow: hidden;
}

.panel-head {
    background: #22252A;
    color: #FFFFFF;
}
