/* KURS – hjemmesiden (KURS 5.2 · G5). Én fil til alle sider.
   Designtokens fra appen: farver fra frontend/src/styles/tokens.css, radius og typeskala fra tailwind.config.js
   (docs/UI.md). Systemets skrift – ingen eksterne skrifttyper. Lys og mørk følger computerens indstilling.
   Ingen inline-styles nogen steder: serverens CSP er default-src 'self'. */

:root {
  color-scheme: light dark;
  --bg: 246 247 249;
  --surface: 255 255 255;
  --surface-2: 241 243 246;
  --surface-3: 231 234 239;
  --border: 227 230 235;
  --border-strong: 211 216 223;
  --text: 15 20 25;
  --text-2: 74 84 98;
  --text-3: 104 113 128;
  --accent: 63 91 246;
  --accent-solid: 63 91 246;
  --accent-solid-hover: 53 80 224;
  --accent-soft: #eef1ff;
  --accent-text: 43 68 217;
  --on-accent: 255 255 255;
  --positive: 18 162 107;
  --positive-text: 11 125 82;
  --positive-soft: #e7f7f0;
  --warning-text: 168 91 4;
  --warning-soft: #fef4e6;
  --negative-text: 201 53 58;
  --negative-soft: #fdecec;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-pop: 0 10px 28px -6px rgba(16, 24, 40, 0.16), 0 2px 6px rgba(16, 24, 40, 0.06);
  --shadow-shot: 0 28px 56px -16px rgba(16, 24, 40, 0.28), 0 4px 12px rgba(16, 24, 40, 0.06);
  --logo-from: #6f86ff;
  --logo-to: #3f5bf6;
  --header-bg: rgba(246, 247, 249, 0.86);

  /* form (appens radius) */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  /* skrift: systemets – appens typeskala (11 · 12 · 13 · 14 · 15 · 17 · 20 · 24 · 30) + en stor forsideoverskrift */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 17px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-display: clamp(36px, 8.6vw, 60px);

  /* afstande (4-gitter) */
  --gutter: 20px;
  --max: 1120px;
  --narrow: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: 11 13 17;
    --surface: 18 21 27;
    --surface-2: 24 28 35;
    --surface-3: 32 37 46;
    --border: 35 40 51;
    --border-strong: 46 53 66;
    --text: 233 237 243;
    --text-2: 166 175 188;
    --text-3: 125 134 150;
    --accent: 111 134 255;
    --accent-solid: 77 102 240;
    --accent-solid-hover: 92 116 245;
    --accent-soft: rgba(111, 134, 255, 0.14);
    --accent-text: 154 171 255;
    --positive: 52 211 153;
    --positive-text: 52 211 153;
    --positive-soft: rgba(52, 211, 153, 0.12);
    --warning-text: 251 191 36;
    --warning-soft: rgba(251, 191, 36, 0.12);
    --negative-text: 248 113 113;
    --negative-soft: rgba(248, 113, 113, 0.12);
    --shadow-card: none;
    --shadow-pop: 0 14px 36px -8px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-shot: 0 32px 72px -16px rgba(0, 0, 0, 0.75), 0 4px 16px rgba(0, 0, 0, 0.4);
    --logo-from: #8097ff;
    --logo-to: #4d66f0;
    --header-bg: rgba(11, 13, 17, 0.86);
  }
}

/* ── grundlag ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  min-height: 100vh;
  background: rgb(var(--bg));
  color: rgb(var(--text));
  font-family: var(--font);
  font-size: var(--text-lg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  display: flex;
  flex-direction: column;
}
body > main {
  flex: 1 0 auto;
}
[hidden] {
  display: none !important;
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
a {
  color: rgb(var(--accent-text));
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
::selection {
  background: rgb(var(--accent) / 0.22);
}
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid rgb(var(--accent));
  outline-offset: 3px;
  border-radius: 4px;
}
main:focus,
[tabindex="-1"]:focus {
  outline: none;
}
code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgb(var(--surface-2));
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-sm);
  padding: 0 5px;
}
.icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: rgb(var(--surface));
  color: rgb(var(--text));
  border: 1px solid rgb(var(--border-strong));
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: var(--text-md);
  font-weight: 600;
  box-shadow: var(--shadow-pop);
}
.skip:focus {
  top: 12px;
}

/* ── layout ───────────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow {
  max-width: calc(var(--narrow) + 2 * var(--gutter));
}
.section {
  padding: 64px 0;
}
.section-tight {
  padding: 24px 0 48px;
}
.section-alt {
  background: rgb(var(--surface));
  border-top: 1px solid rgb(var(--border));
  border-bottom: 1px solid rgb(var(--border));
}
.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}
.section-head h2,
.h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.section-head p {
  margin-top: 10px;
  color: rgb(var(--text-2));
}
.page-head {
  padding: 48px 0 24px;
}
.page-head h1 {
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 750;
  letter-spacing: -0.03em;
}
.page-head .lead {
  margin-top: 12px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: rgb(var(--accent-text));
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 20px;
}
.lead {
  font-size: var(--text-xl);
  line-height: 1.5;
  color: rgb(var(--text-2));
  max-width: 38em;
}
.fineprint {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: rgb(var(--text-3));
}
.muted {
  color: rgb(var(--text-2));
}
.stack > * + * {
  margin-top: 16px;
}

/* ── knapper ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font: inherit;
  font-size: var(--text-md);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: rgb(var(--accent-solid));
  color: rgb(var(--on-accent));
}
.btn-primary:hover {
  background: rgb(var(--accent-solid-hover));
}
.btn-secondary {
  background: rgb(var(--surface));
  color: rgb(var(--text));
  border-color: rgb(var(--border-strong));
}
.btn-secondary:hover {
  background: rgb(var(--surface-2));
}
.btn-lg {
  min-height: 50px;
  padding: 12px 22px;
  font-size: var(--text-lg);
  border-radius: 12px;
}
.btn-sm {
  min-height: 36px;
  padding: 6px 14px;
  font-size: var(--text-base);
}
.btn-block {
  width: 100%;
}
.btn .icon {
  width: 18px;
  height: 18px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ── sidehoved ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid rgb(var(--border));
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgb(var(--text));
  text-decoration: none;
  border-radius: var(--radius);
}
.logo-mark {
  width: 28px;
  height: 28px;
}
.logo-a {
  stop-color: var(--logo-from);
}
.logo-b {
  stop-color: var(--logo-to);
}
.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: rgb(var(--text-2));
  font-size: var(--text-md);
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"]:not(.btn) {
  color: rgb(var(--text));
  background: rgb(var(--surface-2));
}
.site-nav li:last-child {
  margin-left: 6px;
}
.site-nav .btn {
  white-space: nowrap;
}
/* Smalle skærme: Kontakt (og under 420 px også Spørgsmål) står kun i sidefoden */
.nav-wide,
.nav-mid {
  display: none;
}
@media (min-width: 420px) {
  .nav-mid {
    display: list-item;
  }
}
@media (min-width: 600px) {
  .nav-wide {
    display: list-item;
  }
}

/* ── sidefod ──────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 64px;
  padding: 48px 0 32px;
  border-top: 1px solid rgb(var(--border));
  background: rgb(var(--surface));
  color: rgb(var(--text-2));
  font-size: var(--text-md);
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
  }
}
.footer-about p + p {
  margin-top: 12px;
}
.footer-brand {
  color: rgb(var(--text));
}
.footer-legal {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: rgb(var(--text-3));
}
.footer-h {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(var(--text-3));
  margin-bottom: 12px;
}
.footer-nav ul {
  list-style: none;
  display: grid;
  gap: 6px;
}
.footer-nav a {
  color: rgb(var(--text-2));
  text-decoration: none;
}
.footer-nav a:hover {
  color: rgb(var(--text));
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgb(var(--border));
  font-size: var(--text-sm);
  color: rgb(var(--text-3));
}

/* ── forsiden ─────────────────────────────────────────────────────────── */
.hero {
  padding: 56px 0 24px;
}
.hero h1 {
  font-size: var(--text-display);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 12em;
}
.hero .lead {
  margin-top: 18px;
  font-size: clamp(19px, 2.6vw, 23px);
  color: rgb(var(--text-2));
}
.hero .fineprint {
  margin-top: 14px;
}
.platforms {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: var(--text-md);
  font-weight: 500;
  color: rgb(var(--text-2));
}
.platforms .icon {
  color: rgb(var(--positive));
}
.shot {
  margin: 0;
}
.shot-frame {
  overflow: hidden;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-lg);
  background: rgb(var(--surface));
  box-shadow: var(--shadow-shot);
}
.shot-frame img {
  width: 100%;
}
.hero-shot {
  margin-top: 48px;
}
.shot figcaption {
  margin-top: 12px;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: rgb(var(--text-3));
}

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  list-style: none;
}
@media (min-width: 760px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}
.card {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-lg);
  background: rgb(var(--surface));
  box-shadow: var(--shadow-card);
}
.section-alt .card {
  background: rgb(var(--bg));
}
.card h3 {
  margin-top: 16px;
  font-size: var(--text-xl);
  font-weight: 650;
}
.card p {
  margin-top: 8px;
  font-size: var(--text-md);
  line-height: 1.55;
  color: rgb(var(--text-2));
}
.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: rgb(var(--accent-text));
}

.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}
.steps > li {
  min-width: 0;
  counter-increment: step;
  padding: 24px;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-lg);
  background: rgb(var(--surface));
}
.section-alt .steps > li {
  background: rgb(var(--bg));
}
.steps > li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgb(var(--accent-solid));
  color: rgb(var(--on-accent));
  font-size: var(--text-md);
  font-weight: 700;
}
.steps h3 {
  margin-top: 14px;
  font-size: var(--text-xl);
  font-weight: 650;
}
.steps p {
  margin-top: 6px;
  font-size: var(--text-md);
  line-height: 1.55;
  color: rgb(var(--text-2));
}

.features {
  display: grid;
  gap: 56px;
}
.feature {
  display: grid;
  gap: 24px;
  align-items: center;
}
.feature-text h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
}
.feature-text p {
  margin-top: 10px;
  color: rgb(var(--text-2));
}
@media (min-width: 900px) {
  .feature {
    grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
    gap: 48px;
  }
  .feature-flip {
    grid-template-columns: minmax(0, 8fr) minmax(0, 5fr);
  }
  .feature-flip .feature-text {
    order: 2;
  }
}

.trust {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  list-style: none;
}
@media (min-width: 700px) {
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.trust li {
  display: flex;
  gap: 16px;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-lg);
  background: rgb(var(--surface));
}
.trust h3 {
  font-size: var(--text-lg);
  font-weight: 650;
}
.trust p {
  margin-top: 4px;
  font-size: var(--text-md);
  line-height: 1.55;
  color: rgb(var(--text-2));
}
.trust .icon-badge {
  flex: none;
}

.cta-band {
  padding: 48px 24px;
  border-radius: var(--radius-xl);
  background: var(--accent-soft);
  text-align: center;
}
.cta-band h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
}
.cta-band p {
  margin: 10px auto 0;
  max-width: 34em;
  color: rgb(var(--text-2));
}
.cta-band .cta-row {
  justify-content: center;
}

/* ── priser ───────────────────────────────────────────────────────────── */
.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0 0 28px;
  padding: 3px;
  border: 1px solid rgb(var(--border));
  border-radius: 12px;
  background: rgb(var(--surface-2));
}
.seg legend {
  padding: 0;
}
.seg input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.seg label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 9px;
  color: rgb(var(--text-2));
  font-size: var(--text-md);
  font-weight: 600;
  cursor: pointer;
}
.seg input:checked + label {
  background: rgb(var(--surface));
  color: rgb(var(--text));
  box-shadow: var(--shadow-card);
}
.seg input:focus-visible + label {
  outline: 2px solid rgb(var(--accent));
  outline-offset: 1px;
}
.seg-note {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--positive-soft);
  color: rgb(var(--positive-text));
  font-size: var(--text-xs);
  font-weight: 600;
}
/* Årligt er standard. Månedligt: :has() – eller data-interval fra site.js i ældre browsere */
.price-month {
  display: none;
}
.pricing:has(#interval-month:checked) .price-year,
.pricing[data-interval="month"] .price-year {
  display: none;
}
.pricing:has(#interval-month:checked) .price-month,
.pricing[data-interval="month"] .price-month {
  display: block;
}
.plans {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
  }
}
.plan {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-lg);
  background: rgb(var(--surface));
  box-shadow: var(--shadow-card);
}
.plan-featured {
  border: 2px solid rgb(var(--accent));
  padding: 23px;
  box-shadow: var(--shadow-pop);
}
.plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.plan h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
}
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: rgb(var(--accent-text));
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 20px;
}
.plan-for {
  margin-top: 2px;
  font-size: var(--text-md);
  color: rgb(var(--text-2));
}
.plan-price {
  margin-top: 20px;
  min-height: 74px;
}
.price {
  font-size: var(--text-md);
  color: rgb(var(--text-2));
}
.amount {
  font-size: 40px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: rgb(var(--text));
  font-variant-numeric: tabular-nums;
}
.price-alt,
.per-day {
  margin-top: 4px;
  font-size: var(--text-md);
  color: rgb(var(--text-2));
}
.per-day {
  color: rgb(var(--positive-text));
  font-weight: 600;
}
.plan-plus {
  margin-top: 18px;
  font-size: var(--text-md);
  font-weight: 600;
}
.checks {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 24px;
}
.checks li {
  display: flex;
  gap: 10px;
  font-size: var(--text-md);
  line-height: 1.5;
}
.checks .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: rgb(var(--positive));
}
.plan .btn {
  margin-top: auto;
}
.plan-free {
  margin-top: 20px;
}
@media (min-width: 900px) {
  .plan-free {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
    gap: 32px;
    align-items: center;
  }
  .plan-free .checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
  }
  .plan-free .btn {
    margin-top: 0;
  }
}
.plan-free .plan-price {
  min-height: 0;
  margin-top: 8px;
}
.founder {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-lg);
  background: rgb(var(--surface));
}
.founder h2 {
  font-size: var(--text-xl);
  font-weight: 650;
}
.founder p {
  margin-top: 6px;
  font-size: var(--text-md);
  line-height: 1.55;
  color: rgb(var(--text-2));
}
.founder .icon-badge {
  flex: none;
}
.notes {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
  }
}
.notes h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: 16px;
}
.list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--text-md);
  line-height: 1.55;
  color: rgb(var(--text-2));
}
.list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgb(var(--text-3));
}
.numbered {
  list-style: none;
  counter-reset: n;
  display: grid;
  gap: 12px;
}
.numbered > li {
  counter-increment: n;
  position: relative;
  padding-left: 40px;
  font-size: var(--text-md);
  line-height: 1.55;
  color: rgb(var(--text-2));
  min-height: 28px;
}
.numbered > li::before {
  content: counter(n);
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: rgb(var(--accent-text));
  font-size: var(--text-sm);
  font-weight: 700;
}
.numbered strong,
.list strong {
  color: rgb(var(--text));
}

/* ── hent ─────────────────────────────────────────────────────────────── */
.downloads {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .downloads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
.download {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-lg);
  background: rgb(var(--surface));
  box-shadow: var(--shadow-card);
}
.download-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.download h2,
.download h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
}
.download .btn {
  margin-top: 16px;
}
.download .fineprint {
  margin-top: 8px;
}
.yours {
  display: none;
  margin-left: auto;
}
[data-os="mac"] .download[data-os="mac"],
[data-os="windows"] .download[data-os="windows"] {
  border: 2px solid rgb(var(--accent));
  padding: 23px;
}
[data-os="mac"] .download[data-os="mac"] .yours,
[data-os="windows"] .download[data-os="windows"] .yours {
  display: inline-block;
}
.os-steps {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .os-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
  }
}
.os-steps h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: var(--text-xl);
  font-weight: 650;
}
.os-steps .icon {
  color: rgb(var(--text-3));
}
.os-steps .fineprint {
  margin-top: 12px;
}
.os-steps + .callout {
  margin-top: 32px;
}
.callout {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-lg);
  background: rgb(var(--surface));
  font-size: var(--text-md);
  line-height: 1.55;
  color: rgb(var(--text-2));
}
.callout .icon {
  margin-top: 2px;
  color: rgb(var(--accent-text));
}
.callout-warning {
  border-color: transparent;
  background: var(--warning-soft);
  color: rgb(var(--warning-text));
}
.callout-warning .icon {
  color: rgb(var(--warning-text));
}

/* ── spørgsmål og svar ────────────────────────────────────────────────── */
.faq-group + .faq-group {
  margin-top: 48px;
}
.faq-group h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: 12px;
}
.faq {
  border-top: 1px solid rgb(var(--border));
}
.faq details {
  border-bottom: 1px solid rgb(var(--border));
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px;
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-right: 2px solid rgb(var(--text-3));
  border-bottom: 2px solid rgb(var(--text-3));
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}
.faq .answer {
  padding: 0 4px 20px;
  color: rgb(var(--text-2));
  font-size: var(--text-md);
  line-height: 1.6;
  max-width: 44em;
}
.faq .answer p + p {
  margin-top: 10px;
}

/* ── juraen (vilkår, privatliv, refusion) ─────────────────────────────── */
.doc-head {
  padding-bottom: 8px;
}
.doc-meta {
  margin-top: 8px;
  font-size: var(--text-md);
  color: rgb(var(--text-3));
}
.toc {
  margin: 24px 0 8px;
  padding: 20px 24px;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-lg);
  background: rgb(var(--surface));
}
.toc-title {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(var(--text-3));
  margin-bottom: 10px;
}
.toc ol {
  columns: 1;
  column-gap: 32px;
  padding-left: 22px;
  font-size: var(--text-md);
  line-height: 1.5;
}
.toc li {
  break-inside: avoid;
  padding: 3px 0;
  color: rgb(var(--text-3));
}
@media (min-width: 700px) {
  .toc ol {
    columns: 2;
  }
}
.prose {
  margin-top: 16px;
  color: rgb(var(--text-2));
}
.doc-intro {
  margin-top: 0;
  color: rgb(var(--text));
}
.prose > * + * {
  margin-top: 14px;
}
.prose h2 {
  margin-top: 40px;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: rgb(var(--text));
}
.prose h3 {
  margin-top: 28px;
  font-size: var(--text-xl);
  font-weight: 650;
  color: rgb(var(--text));
}
.prose ul,
.prose ol {
  display: grid;
  gap: 8px;
  padding-left: 24px;
}
.prose li::marker {
  color: rgb(var(--text-3));
}
.prose strong {
  color: rgb(var(--text));
  font-weight: 650;
}
.prose blockquote {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  background: var(--warning-soft);
  color: rgb(var(--warning-text));
}
.doc-contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 48px;
  padding: 18px 20px;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-lg);
  background: rgb(var(--surface));
  font-size: var(--text-md);
  color: rgb(var(--text-2));
}
.doc-contact .icon {
  margin-top: 2px;
  color: rgb(var(--accent-text));
}

/* ── betaling (/koeb) ─────────────────────────────────────────────────── */
.checkout {
  margin-top: 8px;
  padding: 28px 24px;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-xl);
  background: rgb(var(--surface));
  box-shadow: var(--shadow-card);
}
.state h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-2xl);
  font-weight: 700;
}
.state p {
  margin-top: 10px;
  color: rgb(var(--text-2));
}
.state .cta-row {
  margin-top: 20px;
}
.state-icon {
  color: rgb(var(--accent-text));
}
.state-error .state-icon {
  color: rgb(var(--negative-text));
}
.state-done .state-icon {
  color: rgb(var(--positive));
}
/* "Åbner betalingen …" kræver JavaScript – uden JS står kun <noscript>-beskeden */
.state-loading {
  display: none;
}
.js .state-loading:not([hidden]) {
  display: block;
}
.spinner {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 3px solid rgb(var(--accent) / 0.22);
  border-top-color: rgb(var(--accent));
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.sandbox-note {
  margin-top: 16px;
}
.checkout-facts {
  margin-top: 24px;
}

/* ── invitation (/ven/{kode}) ─────────────────────────────────────────── */
.code-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px dashed rgb(var(--accent) / 0.6);
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
}
.code-box:has(.code:empty) {
  display: none;
}
.code-label {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(var(--accent-text));
}
.code {
  font-family: var(--mono);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgb(var(--text));
  overflow-wrap: anywhere;
}
.copy-status {
  font-size: var(--text-sm);
  color: rgb(var(--positive-text));
}
.invite-steps {
  margin-top: 40px;
}
.invite-steps .h2 {
  margin-bottom: 18px;
}

/* ── kontakt ──────────────────────────────────────────────────────────── */
.plain-sections > section + section {
  margin-top: 36px;
}
.plain-sections h2 {
  margin-bottom: 8px;
  font-size: var(--text-xl);
  font-weight: 650;
}
.plain-sections p {
  font-size: var(--text-md);
  color: rgb(var(--text-2));
}
.page-head > .icon-badge {
  margin-bottom: 16px;
}
.tak-help {
  margin-top: 28px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgb(var(--border));
  border-radius: var(--radius-lg);
  background: rgb(var(--surface));
  box-shadow: var(--shadow-card);
}
.contact-card a {
  font-size: var(--text-xl);
  font-weight: 650;
  overflow-wrap: anywhere;
}
.company {
  font-size: var(--text-md);
  line-height: 1.7;
  color: rgb(var(--text-2));
}
.company strong {
  color: rgb(var(--text));
}

/* ── bevægelse ────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .spinner {
    animation: none;
    border-top-color: rgb(var(--accent) / 0.22);
  }
}
@media (min-width: 760px) {
  :root {
    --gutter: 32px;
  }
  .section {
    padding: 88px 0;
  }
  .hero {
    padding: 80px 0 32px;
  }
  .page-head {
    padding: 64px 0 32px;
  }
  .checkout {
    padding: 36px 40px;
  }
}
