/* Felles stil for undersidene (kompetanse, aksjonæravtale). Samme farger og skrift som forsiden. */
@font-face { font-family: "Schibsted Grotesk"; src: url(fonts/SchibstedGrotesk.ttf); font-weight: 400 900; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/Inter-latin.ttf); font-weight: 100 900; font-display: swap; }
:root {
  --night: oklch(0.16 0.035 285); --paper: oklch(0.975 0.006 285); --ink: oklch(0.2 0.03 285); --muted: oklch(0.44 0.025 285);
  --line: oklch(0.89 0.012 285); --violet: oklch(0.45 0.2 285); --violet-soft: oklch(0.945 0.032 285);
  --amber: oklch(0.85 0.155 84); --amber-deep: oklch(0.77 0.16 76); --on-amber: oklch(0.21 0.05 70);
  --on-night: oklch(0.97 0.008 285); --on-night-muted: oklch(0.79 0.025 285);
  --display: "Schibsted Grotesk", Inter, system-ui, sans-serif; --wrap: min(860px, 100% - 40px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Inter, -apple-system, "Segoe UI", system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 2px; border-radius: 8px; }
.wrap { width: var(--wrap); margin-inline: auto; }

.top { background: var(--night); color: var(--on-night); }
.top .wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; flex-wrap: wrap; padding: 8px 0; }
.mark { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.mark i { width: 30px; height: 17px; border-radius: 5px; background: var(--amber); }
.top .sp { margin-left: auto; }
.lang { display: flex; border-radius: 999px; box-shadow: 0 0 0 1px oklch(1 0 0 / 0.2) inset; padding: 3px; font-size: 0.82rem; font-weight: 650; }
.lang button { padding: 8px 12px; border-radius: 999px; color: var(--on-night-muted); }
.lang button[aria-pressed="true"] { background: var(--on-night); color: var(--night); }

.head { background: var(--night); color: var(--on-night); padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 76px); }
.back { font-size: 0.92rem; color: var(--on-night-muted); }
.tag { display: inline-block; margin-top: 26px; font-size: 0.86rem; font-weight: 700; padding: 6px 13px; border-radius: 999px; background: var(--amber); color: var(--on-amber); }
h1 { font-family: var(--display); font-size: clamp(2.3rem, 6.4vw, 4.2rem); font-weight: 880; letter-spacing: -0.05em; line-height: 0.98; margin-top: 16px; text-wrap: balance; }
.head .lead { color: var(--on-night-muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 56ch; margin-top: 18px; }

main section { padding: clamp(40px, 6vw, 68px) 0 0; }
main section:last-child { padding-bottom: clamp(56px, 8vw, 96px); }
h2 { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 850; letter-spacing: -0.04em; line-height: 1.08; }
h2 + p { color: var(--muted); margin-top: 10px; max-width: 62ch; }
.rows { list-style: none; margin-top: 22px; border-top: 2px solid var(--ink); }
.rows li { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 6px 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rows b { font-family: var(--display); font-size: 1.14rem; font-weight: 780; letter-spacing: -0.025em; line-height: 1.25; }
.rows span { color: var(--muted); }
.steps { list-style: none; counter-reset: s; margin-top: 22px; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 900; font-size: 1.05rem; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); }
.steps b { display: block; font-family: var(--display); font-weight: 780; letter-spacing: -0.02em; font-size: 1.12rem; }
.steps span { color: var(--muted); }
.box { margin-top: 22px; padding: 22px 24px; border-radius: 20px; background: var(--violet-soft); max-width: 68ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; background: var(--amber); color: var(--on-amber); margin-top: 22px; }
.btn:hover { background: var(--amber-deep); }
footer { background: var(--night); color: var(--on-night-muted); padding: 30px 0; font-size: 0.9rem; }
@media (max-width: 600px) { .rows li { grid-template-columns: 1fr; } }
