:root {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: #142c45;
  background: #f5f8fc;
  line-height: 1.5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: #174a8b;
}
a:focus-visible,
button:focus-visible,
select:focus-visible {
  outline: 3px solid #ffae35;
  outline-offset: 3px;
}
.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: 1rem;
  top: -4rem;
  background: white;
  padding: 0.8rem;
  z-index: 10;
}
.skip:focus {
  top: 1rem;
}
.site-header {
  background: white;
  border-bottom: 1px solid #dce5ef;
}
.header-inner,
.wrap {
  max-width: 1050px;
  margin: auto;
  padding: 0 1.25rem;
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.header-inner select {
  background: #f6f9fd;
  border: 1px solid #b9ccdf;
  border-radius: 10px;
  padding: 0.75rem 2rem 0.75rem 0.85rem;
  max-width: 50vw;
}
.hero {
  padding: 5.5rem 0 4rem;
}
.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1.1;
  margin: 0 0 1.1rem;
  letter-spacing: -0.05em;
}
.lead {
  font-size: 1.25rem;
  color: #47627e;
  max-width: 670px;
}
.btn {
  border: 0;
  border-radius: 11px;
  padding: 0.75rem 1rem;
  min-height: 48px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.btn-primary {
  background: #1659ad;
  color: white;
}
.btn-primary:hover:not(:disabled) {
  background: #0d4387;
}
.btn-secondary {
  background: #e8f1fc;
  color: #134b8e;
}
.btn-secondary:hover:not(:disabled) {
  background: #d6e7fa;
}
.card,
.section {
  background: white;
  border: 1px solid #dce5ef;
  border-radius: 16px;
  box-shadow: 0 3px 14px #153a6010;
}
.card {
  padding: 1.6rem;
  max-width: 660px;
  margin-bottom: 1.5rem;
}
.card h2 {
  margin-top: 0;
}
.law-head {
  padding: 3rem 0 1.5rem;
}
.law-head h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0;
}
.muted,
.status {
  color: #516b83;
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin: 1.3rem 0 2rem;
}
.status {
  min-height: 1.6em;
  margin: 1rem 0;
}
.section {
  margin: 0 0 1.2rem;
  padding: 1.35rem;
}
.section h2 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
}
.tracks {
  display: grid;
  gap: 0.65rem;
}
.track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #e1eaf3;
  border-radius: 11px;
  background: #fbfdff;
}
.track.active {
  border-color: #1659ad;
  background: #edf5ff;
}
.track-label {
  font-weight: 600;
}
.section-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e4ecf4;
  display: flex;
  justify-content: flex-end;
}
.track .btn {
  min-width: 126px;
}
.progress {
  font-variant-numeric: tabular-nums;
  color: #46627e;
  font-size: 0.9rem;
}
.notice {
  border-left: 4px solid #1659ad;
  background: #e9f2fc;
  padding: 1rem 1.2rem;
  border-radius: 7px;
}
.error {
  border-left-color: #bd3030;
  background: #fff0f0;
}
footer {
  padding: 3rem 0;
  color: #62778c;
}
/* Præsentation på forsiden */

.about {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 4rem 0;
  padding: 2rem;
  background: white;
  border: 1px solid #dce5ef;
  border-radius: 16px;
}

.about-image {
  width: 220px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

.about-content h3 {
  margin-top: 2rem;
}

.about-content p {
  line-height: 1.8;
  color: #47627e;
}

.about-signoff {
  font-weight: 700;
}

/* Tilpasning til mobiltelefoner */

@media (max-width: 700px) {
  .about {
    flex-direction: column;
    padding: 1.5rem;
  }

  .about-image {
    width: 100%;
    max-width: 250px;
  }
}
@media (max-width: 540px) {
  .header-inner {
    min-height: 70px;
  }
  .brand {
    font-size: 1.35rem;
  }
  .section {
    padding: 1rem;
  }
  .track {
    padding: 0.65rem;
  }
  .track .btn {
    min-width: 110px;
  }
  .hero {
    padding: 3.5rem 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
