/* Base tokens (kan brukes på tvers av hele nettverket) */
:root {
  --bg: #f3f4f6;
  --bg-soft: #e5e7eb;
  --panel: #ffffff;
  --line: #d1d5db;
  --text: #0f172a;
  --muted: #6b7280;
  --accent: #0ea5e9;
  --accent-soft: #e0f2fe;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.10);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #e5f3ff 0, var(--bg) 38%, #e5e7eb 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Bilder */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout helpers */
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.wrap.small {
  max-width: 720px;
}

/* Header */
.site-header {
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(14px);
  background: rgba(248, 250, 252, 0.82);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: linear-gradient(135deg, #ffffff, #e5f3ff);
  color: #020617;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.brand:hover {
  border-color: var(--accent);
}

.site-nav {
  display: flex;
  gap: 16px;
  font-size: 13px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

/* Side / main content */
.page {
  padding: 32px 16px 48px;
}

/* Hero */
.hero {
  margin-bottom: 32px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.2;
  margin: 0 0 12px;
}

.hero .lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.meta {
  font-size: 11px;
  color: var(--muted);
  max-width: 640px;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.06s ease;
}

.button.primary {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #f9fafb;
  box-shadow: var(--shadow-soft);
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.button.ghost {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}

.button.ghost:hover {
  border-color: var(--accent);
  background: #f9fafb;
}

/* Links */
a {
  color: var(--accent);
}

a:hover {
  color: #0284c7;
}

.text-link {
  font-size: 13px;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Grid + cards */
.grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 8px;
  margin-bottom: 24px;
}

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.card h2 {
  font-size: 16px;
  margin: 0 0 6px;
}

.card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
}

/* Note / explainer block */
.note {
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid rgba(56, 189, 248, 0.5);
  font-size: 13px;
  color: #0f172a;
}

.note h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 14px 16px 28px;
  font-size: 11px;
  color: var(--muted);
  background: rgba(248, 250, 252, 0.9);
}

.site-footer a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Simple responsiveness */
@media (max-width: 640px) {
  .site-header .wrap {
    flex-direction: row;
    gap: 8px;
  }
  .site-nav {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
    }
