/* Hjemmeklar — landingsside.
   Farver, typografi og tone følger SIKROs brandguide (brand.md, afsnit 2-5).
   Fonte self-hostes bevidst: Google Fonts ville sende hver besøgendes IP til
   Google, og det er præcis den slags, resten af projektet undgår. */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/plus-jakarta-sans-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brandpalet — brand.md, afsnit 3 */
  --navy: #10243E;
  --amber: #F4A93B;
  --amber-bright: #FFD27A;
  --teal: #2E8B7F;
  --paper: #F7F4EF;
  --ink: #2B2B2B;
  --muted: #5D6B7E;
  --line: #E7E0D6;
  /* Alarm (#D64545) hører kun til inde i appen — aldrig her. */

  --maxw: 1080px;
  --readw: 62ch;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typografi ---------- */

h1, h2, h3, .wordmark {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.5rem);
  line-height: 1.05;
  margin: 0 0 20px;
}

h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

h3 {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

p { margin: 0 0 18px; }

.lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
}

.readable { max-width: var(--readw); }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--navy); color: #fff;
  padding: 12px 18px; border-radius: 0 0 6px 0; z-index: 10;
}
.skip:focus { left: 0; top: 0; }

/* ---------- Ordmærke ---------- */

.wordmark {
  font-size: 1.4rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.wordmark .hjemme { color: var(--navy); }
.wordmark .klar   { color: var(--amber); }
.wordmark--light .hjemme { color: #fff; }
.wordmark:hover .hjemme { color: var(--navy); }
.wordmark--light:hover .hjemme { color: #fff; }

/* ---------- Header ---------- */

header {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header .status {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
header .status::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  flex: none;
}

/* ---------- Sektioner ---------- */

section { padding: clamp(52px, 8vw, 92px) 0; }
section + section { border-top: 1px solid var(--line); }

.band {
  background: var(--navy);
  color: var(--paper);
  border-top: 0;
}
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: var(--amber); }
.band a { color: var(--amber-bright); }
.band a:hover { color: #fff; }

/* ---------- Hero ---------- */

.hero { padding-top: clamp(56px, 9vw, 104px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 220px; }
}
.hero-art { width: 100%; height: auto; display: block; }

.cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 28px; align-items: center;
}
.store {
  display: inline-flex; flex-direction: column; gap: 1px;
  padding: 11px 20px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  cursor: not-allowed;
}
.store .small { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.store .big { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; font-size: 0.95rem; color: var(--navy); letter-spacing: -0.01em; }

/* ---------- Kort ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 24px;
}
.band .card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.14);
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); font-size: 0.97rem; }
.band .card p { color: #C6D2E0; }

/* ---------- Trin ---------- */

.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--amber);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.steps p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0; }

/* ---------- Liste med amber-markør ---------- */

.ticks { list-style: none; margin: 0 0 18px; padding: 0; }
.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.62em;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--amber);
}

/* ---------- Footer ---------- */

footer {
  background: var(--navy);
  color: #A8B8CA;
  padding: 52px 0 64px;
  font-size: 0.9rem;
}
footer .wrap { display: grid; gap: 26px; }
footer .disclaimer {
  border-left: 3px solid var(--amber);
  padding-left: 18px;
  max-width: 58ch;
}
footer strong { color: #fff; }
footer a { color: var(--amber-bright); }
footer .fine { font-size: 0.82rem; color: #7E90A6; }
