@font-face {
    font-family: Martian;
    src: url("../fonts/MartianGrotesk-StdRg.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Martian;
    src: url("../fonts/MartianGrotesk-StdBd.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

:root {
    font: 400 14px/1.5 Martian, sans-serif;
}

* {
    box-sizing: border-box;
}

::selection {
    background: var(--mg-color);
    color: #101820;
}

[hidden] {
    display: none !important;
}

button, input {
    font: inherit;
}

input {
    caret-color: var(--mg-color);
}

button, a, input[type="checkbox"] {
    touch-action: manipulation;
}

button {
    cursor: pointer;
}

a {
    color: var(--orl-muted);
    text-decoration: none;
}

a:hover {
    color: var(--orl-text);
    text-decoration: underline;
}

:focus-visible {
    outline: 2px solid var(--orl-focus);
    outline-offset: 3px;
}

h1 {
    margin: 0 0 24px;
    text-align: center;
    font-size: clamp(19px, 6vw, 25px);
    line-height: 1.2;
    letter-spacing: -1.2px;
}

@media (max-width: 480px) {
    h1 {
        margin-inline: -12px;
    }
}

p {
    margin: 0;
}

svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

code {
    font: inherit;
    font-variant-numeric: tabular-nums;
}

.app-item {
    cursor: default;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
}

.app-item input:not(.app-item):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.app-item textarea:not(.app-item) {
    cursor: text;
    -webkit-user-select: text;
    user-select: text;
}
