/* tomahawk.dk — eget stilark. Ingen delte assets med de andre sites. */
:root {
    color-scheme: light dark;
    --bg: #faf6f1;
    --fg: #1d1714;
    --dim: #6b5d54;
    --line: #e4d9cf;
    --accent: #b3361f;
    --band: #f3ebe2;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #15100e;
        --fg: #f1e8e0;
        --dim: #a8978b;
        --line: #342a25;
        --accent: #e0654a;
        --band: #1d1613;
    }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font: 400 1.0625rem/1.65 Georgia, "Iowan Old Style", "Times New Roman", serif;
}
.wrap { width: min(44rem, 100% - 2rem); margin-inline: auto; }
a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

.top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    align-items: baseline;
    justify-content: space-between;
    padding-block: 1.25rem;
    font: 600 0.9rem/1.2 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.brand { color: var(--fg); text-decoration: none; font-size: 1.1rem; letter-spacing: 0.02em; }
.brand::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em; margin-right: 0.45em; background: var(--accent); border-radius: 50%; }
.top nav { display: flex; gap: 1.25rem; }
.top nav a { color: var(--dim); text-decoration: none; }
.top nav a:hover { color: var(--accent); }

.lede { padding-block: 3rem 2rem; }
h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2.2rem, 7vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
}
.lede p { margin: 0; max-width: 36rem; color: var(--dim); font-size: 1.15rem; }

.band { border-top: 1px solid var(--line); padding-block: 2.25rem; }
.band:nth-of-type(even) { background: var(--band); }
h2 { margin: 0 0 0.75rem; font-size: 1.5rem; line-height: 1.2; }
p { margin: 0 0 1rem; }

dl.ord { margin: 1.25rem 0; display: grid; gap: 0.9rem; }
dl.ord div { padding: 0.9rem 1rem; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 4px; background: var(--bg); }
dl.ord dt { font: 700 1rem/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; margin-bottom: 0.25rem; }
dl.ord dd { margin: 0; }

ul.limits { margin: 0 0 1rem; padding-left: 1.2rem; }
ul.limits li { margin-bottom: 0.5rem; }

.kilde { font: 400 0.875rem/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--dim); }
.kilde a { color: inherit; }

.cards { display: grid; gap: 1rem; margin-top: 1.25rem; }
.card { display: block; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--fg); text-decoration: none; }
.card:hover { border-color: var(--accent); }
.card b { display: block; font: 700 1.05rem/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--accent); }
.card span { color: var(--dim); }

.foot { border-top: 1px solid var(--line); padding-block: 1.5rem 3rem; font: 400 0.85rem/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--dim); }
.foot a { color: inherit; }

.tabel { margin: 1.25rem 0; overflow-x: auto; }
.tabel table { width: 100%; border-collapse: collapse; font: 400 0.95rem/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; }
.tabel th, .tabel td { padding: 0.65rem 0.8rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tabel thead th { border-bottom: 2px solid var(--accent); font-weight: 700; }
.tabel tbody th { font-weight: 700; }
.tabel tbody tr:hover { background: var(--band); }

ol.trin { margin: 1rem 0; padding-left: 1.4rem; }
ol.trin li { margin-bottom: 0.6rem; padding-left: 0.2rem; }
ol.trin li::marker { color: var(--accent); font-weight: 700; }
