:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --text: #1a2233;
  --muted: #5a6478;
  --accent: #0f62fe;
  --accent-dark: #0043ce;
  --border: #e2e6ee;
  --card: #ffffff;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --shadow-btn: 0 4px 14px rgba(15, 98, 254, 0.32);
}
/* Dark tokens apply from the OS preference unless the visitor picked light,
   and always when the visitor picked dark (theme toggle, card GtSj9noh).
   Keep both blocks in sync. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10141c;
    --bg-alt: #171c26;
    --text: #e8ecf4;
    --muted: #9aa4b8;
    --accent: #4589ff;
    --accent-dark: #78a9ff;
    --border: #2a3140;
    --card: #1a202c;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-btn: 0 4px 14px rgba(69, 137, 255, 0.28);
  }
}
:root[data-theme="dark"] {
    --bg: #10141c;
    --bg-alt: #171c26;
    --text: #e8ecf4;
    --muted: #9aa4b8;
    --accent: #4589ff;
    --accent-dark: #78a9ff;
    --border: #2a3140;
    --card: #1a202c;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-btn: 0 4px 14px rgba(69, 137, 255, 0.28);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10; }
.skip-link:focus { left: 8px; background: var(--bg); color: var(--accent); padding: 8px 12px; border: 2px solid var(--accent); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.logo { font-weight: 800; font-size: 1.35rem; letter-spacing: 0.02em; text-decoration: none; color: var(--text); }
.logo span { color: var(--accent); }
nav a { color: var(--muted); text-decoration: none; margin-left: 20px; font-size: 0.95rem; }
nav a:hover { color: var(--accent); }
nav a.lang { border: 1px solid var(--border); border-radius: 6px; padding: 3px 10px; }
/* Language menu with small flag icons (card gx4vYMCR). */
nav .langs { display: inline-flex; gap: 6px; margin-left: 20px; vertical-align: middle; }
nav .langs a.lang { display: inline-flex; align-items: center; gap: 6px; margin-left: 0; padding: 3px 8px; font-size: 0.82rem; letter-spacing: 0.02em; }
nav .langs a.lang[aria-current="true"] { color: var(--text); border-color: var(--accent); }
a.lang .flag { width: 16px; height: 11px; border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12); }

.hero { padding: 64px 0 72px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -120px -40vw 0 auto; width: 70vw; max-width: 760px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
  pointer-events: none; z-index: -1;
}
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.15; max-width: 20ch; letter-spacing: -0.02em; }
.hero p.sub { margin: 20px 0 8px; font-size: 1.2rem; color: var(--muted); max-width: 56ch; }
.hero .proof { font-size: 0.95rem; color: var(--muted); margin-bottom: 28px; }
.hero .proof strong { color: var(--text); }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 1.02rem;
  border: none; cursor: pointer; box-shadow: var(--shadow-btn);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); margin-left: 10px; }

section { padding: 56px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: 1.7rem; margin-bottom: 8px; }
p.lead { color: var(--muted); max-width: 62ch; margin-bottom: 32px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}
.card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.card .price { font-size: 1.5rem; font-weight: 800; color: var(--accent); margin: 6px 0 2px; }
.card .price small { font-size: 0.8rem; font-weight: 400; color: var(--muted); }
.card p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.card .note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; border-top: 1px dashed var(--border); padding-top: 10px; flex: 0; }
.badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; align-self: flex-start;
}

.steps { counter-reset: step; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; padding-left: 52px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 2px; width: 36px; height: 36px;
  border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

.about p { max-width: 66ch; color: var(--muted); }
.about p strong { color: var(--text); }

form { max-width: 560px; }
label { display: block; font-weight: 600; font-size: 0.92rem; margin: 16px 0 4px; }
input, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 8px;
  font: inherit; background: var(--card); color: var(--text);
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
form .btn { margin-top: 22px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.msg { max-width: 560px; padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-weight: 600; }
.msg.ok { background: color-mix(in srgb, #24a148 14%, transparent); color: #24a148; }
.msg.err { background: color-mix(in srgb, #da1e28 14%, transparent); color: #da1e28; }

footer { padding: 36px 0 48px; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--border); }
footer a { color: var(--muted); }

/* Latest articles on the front page (regenerated by tools/build_content.py). */
.latest-viden .article-meta { margin-bottom: 6px; }
.latest-viden .card h3 a { color: var(--text); text-decoration: none; }
.latest-viden .card h3 a:hover { color: var(--accent); }
.latest-viden .all-link { display: inline-block; margin-top: 24px; font-weight: 650; color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .article-card { transition: none; }
  .btn:hover, .card:hover, .article-card:hover { transform: none; }
}

.article-index { padding-top: 48px; padding-bottom: 72px; }
.article-index h1, .article h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; max-width: 22ch; }
.article-list { display: grid; gap: 18px; margin-top: 30px; }
.article-card {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--card);
  box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.article-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}
.article-card h2 { font-size: 1.35rem; }
.article-card h2 a, .text-link, .eyebrow a { color: var(--accent); }
.article-card p { color: var(--muted); max-width: 68ch; }
.text-link { display: inline-block; margin-top: 12px; font-weight: 650; }
.article-shell { max-width: 820px; padding-top: 36px; padding-bottom: 72px; }
.article { max-width: 72ch; }
.article .eyebrow { font-weight: 700; margin-bottom: 12px; }
.article-lead { font-size: 1.2rem; color: var(--muted); margin: 20px 0 12px; }
.article-meta { color: var(--muted); font-size: 0.9rem; }
.article section { padding: 30px 0 0; }
.article section h2 { margin-bottom: 10px; }
.article section p + p { margin-top: 14px; }
.article ul { margin: 14px 0 0 1.3rem; }
.article li + li { margin-top: 8px; }
.article-cta { margin-top: 42px; padding: 26px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--border); }
.article-cta p { margin: 8px 0 18px; }
.article-disclosure { margin-top: 24px; color: var(--muted); font-size: 0.86rem; }
.privacy { max-width: 72ch; padding-top: 40px; padding-bottom: 72px; }
.privacy h1 { font-size: clamp(2rem, 5vw, 3rem); }
.privacy h2 { margin-top: 30px; }
.privacy p, .privacy li { color: var(--muted); }
.privacy ul { margin: 10px 0 0 1.3rem; }

@media (max-width: 720px) {
  header { align-items: flex-start; gap: 16px; }
  nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; }
  nav a { margin-left: 0; }
  nav .langs { margin-left: 0; }
}

/* Trust + theme controls (card GtSj9noh) */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-left: 16px; padding: 0;
  background: transparent; border: 1px solid var(--border); border-radius: 8px;
  color: var(--muted); cursor: pointer; vertical-align: middle;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { display: block; }
.theme-toggle .icon-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.about-flex { display: flex; gap: 32px; align-items: flex-start; }
.about-photo {
  width: 148px; height: auto; flex: none;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
@media (max-width: 640px) {
  .about-flex { flex-direction: column; }
  .about-photo { width: 168px; }
}

footer .footer-legal { margin-top: 8px; font-size: 0.82rem; }

/* AI-parathedstjek / readiness check (card Bdofra7t) */
[data-quiz] [hidden] { display: none !important; }
.quiz-q { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-top: 18px; background: var(--card); }
.quiz-q legend { font-weight: 700; padding: 0 6px; }
.quiz-choice { display: flex; gap: 10px; align-items: baseline; margin-top: 10px; color: var(--muted); cursor: pointer; }
.quiz-choice:hover { color: var(--text); }
.quiz-choice input { accent-color: var(--accent); }
[data-quiz] .btn { margin-top: 22px; }
.quiz-hint { color: #da1e28; font-weight: 600; margin-top: 14px; }
[data-quiz-results] .eyebrow { font-weight: 700; color: var(--accent); }
.quiz-result { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-top: 14px; background: var(--card); box-shadow: var(--shadow-sm); }
.quiz-result .quiz-tier { font-weight: 700; color: var(--accent); margin: 8px 0 10px; }
.quiz-result p { color: var(--muted); max-width: 68ch; }
.quiz-result .btn { margin-top: 18px; }
.article-cta-alt { margin-top: 12px; font-size: 0.95rem; }
