/* Felles for forsiden, appen og personvernsiden. Farger og skrifter fra utkast A, valgt av Sondre 2026-11-24. */
@font-face { font-family: "Inter"; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap }
@font-face { font-family: "Inter"; src: url(fonts/inter-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap }
@font-face { font-family: "Inter"; src: url(fonts/inter-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap }
@font-face { font-family: "Familjen Grotesk"; src: url(fonts/familjen-grotesk-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap }
@font-face { font-family: "Familjen Grotesk"; src: url(fonts/familjen-grotesk-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap }
:root {
  --bg: #0c0e14; --bg2: #11141c; --surface: #181b26; --line: #262a38; --ink: #eeecf3; --soft: #c9c8d3; --muted: #9a9fb3;
  --accent: #f0b54a; --accent-ink: #15120a; --accent-soft: #3a2f17; --seen: #5fc3ad; --seen-soft: #15302b; --danger: #f08a80;
  --display: "Familjen Grotesk", "Arial Narrow", sans-serif; --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 5vw, 64px);
  color-scheme: dark;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
html, body { margin: 0 }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden }
a { color: inherit }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad) }
header.top { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0 }
.logo { display: flex; align-items: center; gap: 10px; font: 700 1.25rem var(--display); letter-spacing: .02em; text-decoration: none }
.logo svg { width: 28px; height: 28px; flex: none }
.top nav { display: flex; align-items: center }
.top nav a { font-weight: 500; font-size: .95rem; color: var(--muted); text-decoration: none; margin-left: 24px }
.top nav a.login { color: var(--ink); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .98rem var(--body); border-radius: 10px;
  padding: 12px 18px; border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .12s; color: var(--ink); background: var(--surface) }
.btn:active { transform: translateY(1px) }
.btn.primary { background: var(--accent); color: var(--accent-ink) }
.btn.ghost { background: transparent; border-color: var(--line) }
.btn[disabled] { opacity: .5; cursor: default }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
.g { width: 18px; height: 18px; flex: none }
footer.bunn { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .88rem; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap }
footer.bunn a { color: var(--muted); margin-left: 18px }
footer.bunn a:first-child { margin-left: 0 }
@media (max-width: 560px) { .top nav a:not(.login) { display: none } }
@media (prefers-reduced-motion: reduce) { .btn { transition: none } }
