/* Foundation: design tokens, fonts, reset, and typography. */
:root {
    --bg: #f5efe5;
    --paper: #fffdf8;
    --panel: #ffffff;
    --ink: #181512;
    --muted: #6c6258;
    --line: #ddd2c2;
    --accent: #0b6e69;
    --accent-strong: #094b47;
    --danger: #b93817;
    --warning: #b7791f;
    --owner: #8b5cf6;
    --shadow: 0 24px 60px rgba(22, 18, 11, 0.08);
    --radius: 24px;
}

@font-face {
    font-family: "KONA DIN Arabic";
    src: url("../fonts/kona/din-next-arabic-regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "KONA DIN Arabic";
    src: url("../fonts/kona/din-next-arabic-medium.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "KONA DIN Arabic";
    src: url("../fonts/kona/din-next-arabic-bold.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(11, 110, 105, 0.12), transparent 32%),
        linear-gradient(180deg, #fbf7f0 0%, var(--bg) 100%);
    color: var(--ink);
    font-family: "Avenir Next", "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 800;
    transform: translateY(-140%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid rgba(23, 107, 91, 0.32);
    outline-offset: 3px;
}
