@font-face {
    font-family: "Open Sans";
    src: url("/fonts/OpenSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("/fonts/OpenSans-Semibold.ttf") format("truetype");
    font-weight: 600;
    font-display: swap;
}

*, *::before, *::after {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    font-size: var(--font-size);
    line-height: 1.45;
    color: var(--cal-text);
    background: var(--cal-surface);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure {
    margin: 0;
}

a {
    color: var(--cal-green);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
}

svg {
    flex: none;
}

:focus-visible {
    outline: 2px solid var(--cal-green);
    outline-offset: 2px;
    border-radius: 4px;
}

.hint {
    font-size: 12px;
    color: var(--cal-muted);
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stack--tight {
    gap: 6px;
}
