@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('fonts/bricolage-grotesque-latin.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/hanken-grotesk-latin.woff2') format('woff2'); }
:root {
  --ground: #f4f6fa; --surface: #ffffff; --ink: #131c30; --muted: #5a6479; --line: #dde3ee;
  --navy: #16244a; --navy-ink: #f4f6fa; --navy-muted: #afbbd6; --accent: #2f4fa2;
  --chip: #e6ecf7; --chip-ink: #23397a; --ok: #1e7a53; --ok-bg: #e3f3ea;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Hanken Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --ground: #0c1222; --surface: #131b30; --ink: #e9edf5; --muted: #9aa5bd; --line: #24304b; --navy: #1a2b57; --navy-muted: #b4c0dc; --accent: #9db4f0; --chip: #1e2a48; --chip-ink: #bccbf2; --ok: #7fd3a8; --ok-bg: #16322a; color-scheme: dark; }
}
:root[data-theme="dark"] { --ground: #0c1222; --surface: #131b30; --ink: #e9edf5; --muted: #9aa5bd; --line: #24304b; --navy: #1a2b57; --navy-muted: #b4c0dc; --accent: #9db4f0; --chip: #1e2a48; --chip-ink: #bccbf2; --ok: #7fd3a8; --ok-bg: #16322a; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 720px; margin: 0 auto; padding-inline: 20px; }
h1, h2 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.hero { background: var(--navy); color: var(--navy-ink); }
.hero .wrap { padding-block: 28px 64px; }
.hero h1 { font-size: clamp(34px, 7vw, 52px); font-weight: 800; line-height: 1.05; margin-top: 40px; }
.lede { margin-top: 18px; font-size: 19px; color: var(--navy-muted); max-width: 38ch; }
.lede b { color: var(--navy-ink); font-weight: 600; }
.cards { display: grid; gap: 16px; margin-top: -32px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 12px; box-shadow: 0 1px 2px rgba(19,28,48,.04), 0 10px 28px rgba(19,28,48,.06); }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card h2 { font-size: 24px; font-weight: 800; }
.chip { font-weight: 600; font-size: 12.5px; line-height: 1; padding: 6px 10px; border-radius: 999px; background: var(--chip); color: var(--chip-ink); white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.card p { color: var(--muted); max-width: 60ch; }
.go { font-family: var(--display); font-weight: 600; font-size: 15.5px; text-decoration: none; width: fit-content; }
.go:hover { text-decoration: underline; }
footer { border-top: 1px solid var(--line); margin-top: 48px; }
footer .wrap { padding-block: 24px 40px; font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
footer .mail a { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); }
.hero.liten .wrap { padding-block: 24px 48px; }
.hero.liten h1 { margin-top: 28px; }
.hjem { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--navy-ink); text-decoration: none; }
.hjem:hover { text-decoration: underline; }
.seksjon { margin-top: 48px; display: grid; gap: 8px; }
.seksjon h2 { font-size: 26px; font-weight: 800; }
.seksjon > p { color: var(--muted); max-width: 60ch; }
.spill { grid-template-columns: 64px 1fr; align-items: start; column-gap: 16px; }
.spill > *:not(.ikon) { grid-column: 2; }
.ikon { width: 64px; height: 64px; border-radius: 14px; grid-row: 1 / span 3; display: block; }
.innhold { margin-top: -24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 14px; }
.innhold h2 { font-size: 20px; font-weight: 800; margin-top: 8px; }
.innhold ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.innhold .dato { color: var(--muted); font-size: 14.5px; }
.lenker { display: flex; gap: 18px; flex-wrap: wrap; }
.stor-ikon { width: 88px; height: 88px; border-radius: 20px; display: block; margin-top: 28px; }
.galleri { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: -4px; padding-inline: 4px; }
.galleri img { width: 180px; height: auto; flex: none; border-radius: 18px; border: 1px solid var(--line); scroll-snap-align: start; background: var(--ground); }
.figurer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.figurer img { width: 100%; height: auto; display: block; border-radius: 18px; border: 1px solid var(--line); background: #f7f3ed; }
.knapp { font-family: var(--display); font-weight: 700; font-size: 16.5px; line-height: 1.2; padding: 13px 20px; border-radius: 12px; border: 0; background: var(--accent); color: var(--surface); text-decoration: none; cursor: pointer; display: inline-block; }
.knapp:hover { filter: brightness(1.1); }
.innhold code { font-size: 0.92em; background: var(--chip); color: var(--chip-ink); padding: 1px 5px; border-radius: 5px; }
