/* ==========================================================================
   Optify — designsystem
   Roligt og troværdigt: lyse flader, logoets blå som eneste accent,
   dyb logoblå til de få flader, der skal stå frem.
   ========================================================================== */

@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin-wght-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
}

:root {
  /* Logoets blå (#73abcc) og nuancer afledt af den. */
  --brand: #73abcc;
  --brand-600: #2f6e93;
  --brand-700: #275e7e;
  --brand-800: #1e4a63;
  --brand-900: #163a4f;

  --tint: #f2f7fa;
  --tint-2: #e4eff6;
  --tint-3: #cfe2ed;

  --ink: #1d2f3b;
  --ink-2: #4a5f6d;
  --ink-3: #6a7e8e;
  --rule: #dbe5ec;

  --font-sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow: 0 18px 40px -24px rgba(30, 74, 99, 0.35);
  --shadow-lg: 0 24px 60px -28px rgba(30, 74, 99, 0.4);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 7.5vw, 112px);
  --header-h: 68px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Flader. Komponenterne bruger kun disse variabler, så de virker på alle tre. */
.theme-base,
.theme-tint {
  --bg: #fff;
  --bg-2: var(--tint);
  --card: #fff;
  --card-solid: #fff;
  --card-hover: #fff;
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --line: var(--rule);
  --line-2: var(--tint-3);
  --accent: var(--brand-600);
  --accent-2: var(--brand);
  --chip: var(--tint);
  color-scheme: light;
}
.theme-tint {
  --bg: var(--tint);
  --bg-2: var(--tint-2);
  --chip: #fff;
}
.theme-brand,
.bento > .card:nth-child(1) {
  --bg: var(--brand-800);
  --bg-2: var(--brand-900);
  --card: rgba(255, 255, 255, 0.08);
  --card-solid: var(--brand-900);
  --card-hover: rgba(255, 255, 255, 0.12);
  --fg: #fff;
  --fg-2: #d6e6f0;
  --fg-3: #a9c6d8;
  --line: rgba(255, 255, 255, 0.16);
  --line-2: rgba(255, 255, 255, 0.3);
  --accent: #fff;
  --accent-2: var(--brand);
  --chip: rgba(255, 255, 255, 0.1);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: #fff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 3px;
  border-radius: 6px;
}
.theme-brand :focus-visible {
  outline-color: #fff;
}

::selection {
  background: var(--tint-3);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  border-radius: 8px;
}
.skip-link:focus {
  left: 8px;
}

.surface {
  background: var(--bg);
  color: var(--fg);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow {
  max-width: calc(780px + var(--gutter) * 2);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
}

/* Ord i *stjerner* fremhæves med logoets blå – samme skrift, ingen kursiv. */
h1 em,
h2 em,
h3 em,
.display em {
  font-style: normal;
  color: var(--brand-600);
}
.theme-brand h1 em,
.theme-brand h2 em,
.theme-brand h3 em {
  color: var(--brand);
}
.display em {
  white-space: nowrap;
}
@media (min-width: 640px) {
  h1 em {
    white-space: nowrap;
  }
}

.display {
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 750;
}
.h1 {
  font-size: clamp(2.2rem, 1.4rem + 2.8vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.h2 {
  font-size: clamp(1.9rem, 1.35rem + 2.1vw, 3.1rem);
}
.h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lead {
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 62ch;
  text-wrap: pretty;
}

.muted {
  color: var(--fg-3);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
}

/* --------------------------------------------------------------------------
   Knapper og links
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn .arrow {
  transition: transform 0.25s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.btn--primary {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
}
.btn--primary:hover {
  --btn-bg: var(--brand-800);
}
.theme-brand .btn--primary {
  --btn-bg: #fff;
  --btn-fg: var(--brand-800);
}
.theme-brand .btn--primary:hover {
  --btn-bg: var(--tint-2);
}
.btn--ghost {
  border-color: var(--accent);
  --btn-fg: var(--accent);
}
.btn--ghost:hover {
  background: var(--chip);
}
.btn--sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .arrow {
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover .arrow {
  transform: translateX(3px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--chip);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0;
  color: var(--fg-2);
  text-decoration: none;
  white-space: nowrap;
}
a.chip:hover {
  border-color: var(--line-2);
  color: var(--fg);
}
.chip--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}

/* --------------------------------------------------------------------------
   Header og navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 26px;
  width: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav__item {
  position: relative;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover,
.nav__item:focus-within > .nav__link,
.nav__link[aria-current="page"] {
  color: var(--brand-800);
  background: var(--tint);
}
.nav__link svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform 0.2s;
}
.nav__item.is-open > .nav__link svg {
  transform: rotate(180deg);
}

.nav__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  translate: -50% 0;
  min-width: 340px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--rule);
  background: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav__panel--wide {
  min-width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.nav__item.is-open > .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav__panel a small {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 0.8rem;
  font-weight: 400;
}
.nav__panel a:hover {
  background: var(--tint);
}
.nav__panel-label {
  grid-column: 1 / -1;
  padding: 8px 12px 6px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--ink-3);
}

.header-cta {
  display: none;
}

.menu-toggle {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--tint);
  cursor: pointer;
}
.menu-toggle span {
  position: relative;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: background 0.2s;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}
.menu-toggle span::before {
  transform: translateY(-6px);
}
.menu-toggle span::after {
  transform: translateY(6px);
}
.menu-open .menu-toggle span {
  background: transparent;
}
.menu-open .menu-toggle span::before {
  transform: rotate(45deg);
}
.menu-open .menu-toggle span::after {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 49;
  overflow-y: auto;
  padding: 16px var(--gutter) 40px;
  background: #fff;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}
.menu-open {
  overflow: hidden;
}
.mobile-menu details {
  border-bottom: 1px solid var(--rule);
}
.mobile-menu summary,
.mobile-menu > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 1.15rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.mobile-menu details summary {
  border-bottom: 0;
}
.mobile-menu summary::-webkit-details-marker {
  display: none;
}
.mobile-menu summary::after {
  content: "+";
  color: var(--ink-3);
}
.mobile-menu details[open] summary::after {
  content: "–";
}
.mobile-menu details a {
  display: block;
  padding: 9px 0 9px 14px;
  color: var(--ink-2);
  text-decoration: none;
}
.mobile-menu details div {
  padding-bottom: 14px;
}
.mobile-menu .btn {
  margin-top: 28px;
  width: 100%;
}

@media (min-width: 1080px) {
  .nav,
  .header-cta {
    display: flex;
  }
  .menu-toggle,
  .mobile-menu {
    display: none;
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 120px);
  background: linear-gradient(180deg, var(--tint) 0%, #fff 100%);
}
.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.hero__copy {
  max-width: 760px;
}
.hero__copy .lead {
  margin-top: 26px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero__media {
  position: relative;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-orbit {
  display: none;
}
@media (min-width: 980px) {
  .hero-orbit {
    display: block;
    max-width: 480px;
    justify-self: end;
    width: 100%;
  }
  .hero__inner--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.hero-orbit__halo {
  fill: #fff;
}
.hero-orbit__ring {
  stroke: var(--tint-3);
}
.hero-orbit__ring--inner {
  stroke: var(--brand);
}
.hero-orbit__core {
  fill: #fff;
  stroke: var(--brand);
}

.hero--home {
  padding-top: clamp(48px, 7vw, 96px);
}
.hero--home .hero__inner {
  grid-template-columns: 1fr;
}
@media (min-width: 1080px) {
  .hero--home .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--fg-3);
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}
.breadcrumbs a {
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--fg);
}

/* --------------------------------------------------------------------------
   Systemkort (hero-visual)
   -------------------------------------------------------------------------- */

.system-visual {
  position: relative;
  aspect-ratio: 1 / 0.92;
  max-width: 620px;
  width: 100%;
  margin-inline: auto;
}
.system-visual svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sv-edge {
  fill: none;
  stroke: var(--tint-3);
  stroke-width: 1;
}
.sv-edge--live {
  stroke: var(--brand);
  stroke-width: 1.25;
  stroke-dasharray: 3 7;
  animation: dash 4s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -20;
  }
}
.sv-node rect {
  fill: #fff;
  stroke: var(--tint-3);
}
.sv-node text {
  fill: var(--ink);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
}
.sv-node .sv-cat {
  fill: var(--ink-3);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.sv-node--active rect {
  stroke: var(--brand-600);
}
.sv-core .halo {
  fill: var(--tint);
}
.sv-core .core {
  fill: #fff;
  stroke: var(--brand);
}
.sv-core circle.ring {
  fill: none;
  stroke: var(--tint-3);
}
.sv-core circle.ring--spin {
  stroke-dasharray: 2 10;
  animation: spin 80s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.sv-core text {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  fill: var(--brand-800);
}
.sv-core .sv-core__sub {
  font-weight: 500;
  fill: var(--brand-600);
}
.sv-packet {
  fill: var(--brand-600);
}

.agent-console {
  position: absolute;
  left: -4%;
  bottom: -6%;
  width: min(360px, 78%);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: #fff;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-2);
  overflow: hidden;
}
.agent-console__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: 0.8rem;
  font-weight: 600;
}
.agent-console__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tint-3);
}
.agent-console__bar i:first-child {
  background: var(--brand);
}
.agent-console__body {
  min-height: 168px;
  padding: 12px 14px 14px;
}
.agent-console__line {
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s, transform 0.35s;
}
.agent-console__line.is-visible {
  opacity: 1;
  transform: none;
}
.agent-console__line .ok {
  color: var(--brand-600);
}
.agent-console__line .wait {
  color: var(--brand-800);
}
.agent-console__line .dim {
  color: var(--ink-3);
}
.agent-console__approve {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--brand);
  background: var(--tint);
  color: var(--brand-800);
  font-weight: 600;
}
@media (max-width: 640px) {
  .agent-console {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-top: -40px;
  }
}

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

.sec {
  position: relative;
  padding-block: var(--section);
}
.sec--tight {
  padding-block: clamp(48px, 6vw, 80px);
}
.sec + .sec--flush-top,
.sec--flush-top {
  padding-top: 0;
}
.sec__head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec__head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}
.sec__head--row > div {
  max-width: 720px;
}
.sec__head .lead {
  margin-top: 18px;
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* Prosa (rich text) */
.prose {
  color: var(--fg-2);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  margin-top: 2.2em;
  color: var(--fg);
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h3 {
  margin-top: 1.8em;
  color: var(--fg);
  font-size: 1.22rem;
  letter-spacing: -0.015em;
}
.prose h4 {
  margin-top: 1.5em;
  color: var(--fg);
  font-size: 1.05rem;
}
.prose strong {
  color: var(--fg);
  font-weight: 600;
}
.prose a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 0.45em;
}
.prose ul li::marker {
  color: var(--accent-2);
}
.prose blockquote {
  margin: 1.8em 0;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-2);
  background: var(--card);
  color: var(--fg);
}
.prose blockquote p {
  margin: 0;
}
.prose figure {
  margin: 2.2em 0;
}
.prose figure img,
.prose > img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.prose figcaption {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--fg-3);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  display: block;
  overflow-x: auto;
}
.prose table caption {
  text-align: left;
  font-size: 0.86rem;
  color: var(--fg-3);
  padding-bottom: 8px;
}
.prose th,
.prose td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.prose th {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--fg-3);
  background: var(--bg-2);
}
.prose hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2.4em 0;
}

.text-block {
  display: grid;
  gap: 28px;
}
.text-block .prose {
  max-width: 72ch;
}
@media (min-width: 900px) {
  .text-block--split {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
  }
}

/* Kort */
.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
a.card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.card__title {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--fg);
}
.card__text {
  margin: 0;
  color: var(--fg-2);
  font-size: 0.97rem;
  line-height: 1.6;
}
.card__foot {
  margin-top: auto;
  padding-top: 8px;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--chip);
  color: var(--accent);
}
.card__icon svg {
  width: 20px;
  height: 20px;
}
.card__media {
  margin: -26px -26px 6px;
}
.card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Bento */
.bento {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }
  .bento > .card {
    grid-column: span 3;
  }
  .bento > .card:nth-child(1) {
    grid-column: span 6;
  }
}
@media (min-width: 1100px) {
  .bento > .card {
    grid-column: span 2;
  }
  .bento > .card:nth-child(1) {
    grid-column: span 4;
    grid-row: span 2;
  }
  .bento > .card:nth-child(2) {
    grid-column: span 2;
  }
  /* Five cards: the last row is split in two halves instead of leaving a gap. */
  .bento > .card:nth-child(4):nth-last-child(2),
  .bento > .card:nth-child(5):last-child {
    grid-column: span 3;
  }
}
.bento .card {
  min-height: 240px;
  padding: 30px;
}
.bento .card:nth-child(1) {
  min-height: 420px;
  border-color: transparent;
  background: var(--bg);
  color: var(--fg);
}
.bento .card:nth-child(1) .card__title {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  letter-spacing: -0.035em;
  max-width: 18ch;
}
.bento .card:nth-child(1) .card__text {
  font-size: 1.05rem;
  max-width: 52ch;
}
.bento__art {
  flex: 1;
  min-height: 180px;
  margin-bottom: 8px;
  pointer-events: none;
}
.bento__art svg {
  width: 100%;
  height: 100%;
}
.bento-steps rect {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.24);
}
.bento-steps text {
  fill: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}
.bento-steps .bento-steps__label {
  fill: var(--fg-3);
  font-size: 11.5px;
  font-weight: 500;
}
.bento-steps__done rect {
  fill: rgba(255, 255, 255, 0.14);
  stroke: var(--brand);
}
.bento-steps path {
  stroke-width: 1.3;
}
.bento-index {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--fg-3);
}

/* Liste (nummereret) */
.rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .rows {
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
  }
}
.row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 12px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.row__num {
  grid-row: span 2;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--accent);
  padding-top: 4px;
}
.row__title {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.row__text {
  margin: 4px 0 0;
  color: var(--fg-2);
  font-size: 0.97rem;
}

/* Tjekliste */
.checklist {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
  font-size: 0.98rem;
  line-height: 1.5;
}
.checklist svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--accent-2);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--fg-3);
}
.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent-2);
  transform: rotate(45deg);
}

/* Trin */
.steps {
  counter-reset: step;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(var(--count, 4), 1fr);
    gap: 0;
  }
}
.step {
  position: relative;
  padding: 26px 24px 0 0;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg);
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--accent);
}
@media (min-width: 900px) {
  .step::after {
    content: "";
    position: absolute;
    top: 48px;
    left: 44px;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--line-2), var(--line));
  }
  .step:last-child::after {
    display: none;
  }
}
.step h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.step p {
  margin: 10px 0 0;
  color: var(--fg-2);
  font-size: 0.96rem;
}

/* Nøgletal */
.stats {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}
.stat {
  padding: 28px;
  background: var(--bg);
}
.stat__value {
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.stat__label {
  margin-top: 10px;
  color: var(--fg-2);
  font-size: 0.94rem;
}

/* Citat */
.quote {
  max-width: 920px;
}
.quote blockquote {
  margin: 0;
  padding-left: clamp(20px, 3vw, 32px);
  border-left: 4px solid var(--accent-2);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--fg);
}
.quote figcaption {
  margin-top: 24px;
  color: var(--fg-3);
}

/* Call to action */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--radius-xl);
  background: var(--bg);
  color: var(--fg);
}
.cta-band__inner {
  position: relative;
  display: grid;
  gap: 36px;
  align-items: end;
}
@media (min-width: 900px) {
  .cta-band__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}
.cta-band h2 {
  max-width: 20ch;
}
.cta-band p {
  margin: 18px 0 0;
  color: var(--fg-2);
  max-width: 56ch;
}
.cta-person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--card);
}
.cta-person img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.cta-person strong {
  display: block;
  font-size: 1.02rem;
}
.cta-person span {
  display: block;
  color: var(--fg-3);
  font-size: 0.86rem;
}
.cta-person a {
  color: var(--fg-2);
  text-decoration: none;
  font-size: 0.9rem;
}
.cta-person a:hover {
  color: var(--fg);
}
.cta-band__actions {
  display: grid;
  gap: 14px;
}
.cta-band__actions .btn {
  width: 100%;
}
.cta-band__note {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--fg-3);
  text-align: center;
}

/* FAQ */
.faq {
  display: grid;
  gap: 32px;
}
@media (min-width: 960px) {
  .faq {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 72px;
  }
}
.faq__list {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--fg-2), var(--fg-2)) center / 9px 1.5px no-repeat,
    linear-gradient(var(--fg-2), var(--fg-2)) center / 1.5px 9px no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin: -6px 0 24px;
  max-width: 68ch;
  color: var(--fg-2);
}

/* Logoer */
.logos {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logos__track {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  width: max-content;
  animation: marquee 48s linear infinite;
}
.logos:hover .logos__track {
  animation-play-state: paused;
}
.logos img {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: multiply;
  opacity: 0.72;
  transition: opacity 0.2s, filter 0.2s;
}
.logos img:hover {
  opacity: 1;
  filter: none;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.logos-band {
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}
.logos-band__label {
  margin-bottom: 22px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--fg-3);
}

/* Platforme (systemkort) */
.platform-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.platform-filter button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--fg-2);
  cursor: pointer;
  transition: all 0.2s;
}
.platform-filter button:hover {
  border-color: var(--line-2);
  color: var(--fg);
}
.platform-filter button[aria-pressed="true"] {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}
.platforms {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.platform {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 20px 20px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s var(--ease), background 0.25s;
}
.platform:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
  background: var(--card-hover);
}
.platform[hidden] {
  display: none;
}
.platform__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.platform__cat {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--fg-3);
}
.platform__name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.platform__text {
  margin: 0;
  color: var(--fg-2);
  font-size: 0.9rem;
  line-height: 1.5;
}
.platform__new {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
}
.platform__arrow {
  color: var(--fg-3);
  transition: transform 0.25s var(--ease), color 0.25s;
}
.platform:hover .platform__arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* Artikler */
.article-grid {
  display: grid;
  gap: 28px 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.article-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}
.article-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
}
.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
  filter: saturate(0.9);
}
.article-card:hover .article-card__media img {
  transform: scale(1.035);
  filter: saturate(1);
}
.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--fg-3);
}
.article-card__meta .topic {
  color: var(--accent);
}
.article-card h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  transition: color 0.2s;
}
.article-card:hover h3 {
  color: var(--accent);
}
.article-card p {
  margin: 0;
  color: var(--fg-2);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-feature {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}
@media (min-width: 900px) {
  .article-feature {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
  }
}
.article-feature h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem);
  letter-spacing: -0.035em;
}
.article-feature p {
  color: var(--fg-2);
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.topic-chips .chip {
  font-size: 0.76rem;
  padding: 8px 13px;
}
.topic-chips .chip b {
  color: var(--fg-3);
  font-weight: 400;
}
.topic-chips .chip[aria-current="page"] {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 64px;
}
.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  text-decoration: none;
}
.pagination a:hover {
  border-color: var(--line-2);
}
.pagination [aria-current="page"] {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

/* Artikelside */
.article-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px) 0 clamp(120px, 14vw, 200px);
}
.article-hero h1 {
  max-width: 22ch;
}
.article-hero .lead {
  margin-top: 22px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.article-cover {
  position: relative;
  margin-top: calc(clamp(120px, 14vw, 200px) * -1 + 24px);
}
.article-cover img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(11, 18, 32, 0.45);
}
.article-layout {
  display: grid;
  gap: 48px;
  padding-block: clamp(48px, 6vw, 88px);
}
@media (min-width: 1080px) {
  .article-layout {
    grid-template-columns: 240px minmax(0, 720px);
    justify-content: center;
    gap: 72px;
  }
}
.toc {
  display: none;
}
@media (min-width: 1080px) {
  .toc {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 32px);
    align-self: start;
  }
}
.toc__label {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--fg-3);
  margin-bottom: 14px;
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line);
}
.toc a {
  display: block;
  padding: 7px 0 7px 16px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  color: var(--fg-3);
  font-size: 0.88rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.toc a:hover,
.toc a.is-active {
  color: var(--fg);
  border-left-color: var(--accent);
}
.article-body .prose > p:first-child {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--fg);
}

.author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 56px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
}
.author-box img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.author-box p {
  margin: 4px 0 0;
  color: var(--fg-2);
  font-size: 0.93rem;
}
.author-box strong a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--tint-3);
  text-underline-offset: 3px;
}

/* Author page */
.person-hero__body {
  display: grid;
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}
.person-hero__portrait {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}
.person-hero .lead {
  max-width: 62ch;
}
.person-layout {
  display: grid;
  gap: 40px;
}
.checklist--stack {
  grid-template-columns: 1fr;
  margin-top: 14px;
}
.checklist--stack li {
  padding: 14px 16px;
}
@media (min-width: 760px) {
  .person-hero__body {
    grid-template-columns: 160px 1fr;
    gap: 40px;
  }
  .person-hero__portrait {
    width: 160px;
    height: 160px;
  }
}
@media (min-width: 980px) {
  .person-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 64px;
  }
}

/* Platform-side */
.spec {
  display: grid;
  gap: 1px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}
@media (min-width: 900px) {
  .spec {
    grid-template-columns: 1fr 1fr;
  }
}
.spec__cell {
  padding: 30px;
  background: var(--card-solid);
}
.spec__label {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--fg-3);
  margin-bottom: 14px;
}
.spec__facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 18px;
  margin: 0;
  font-size: 0.95rem;
}
.spec__facts dt {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--fg-3);
  padding-top: 2px;
}
.spec__facts dd {
  margin: 0;
  color: var(--fg);
}

/* Cases */
.case-grid {
  display: grid;
  gap: 36px 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}
.case-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}
.case-card__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
}
.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.case-card:hover .case-card__media img {
  transform: scale(1.04);
}
.case-card h3 {
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}
.case-card p {
  margin: 0;
  color: var(--fg-2);
  font-size: 0.95rem;
}
.case-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Kontakt */
.contact-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 980px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 56px;
  }
}
.form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--card);
}
.form__row {
  display: grid;
  gap: 18px;
}
@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--fg-3);
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent);
}
.field .error {
  color: #c2410c;
  font-size: 0.86rem;
}
.form__hp {
  position: absolute;
  left: -9999px;
}
.form__status {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent-2) 40%, transparent);
  background: color-mix(in srgb, var(--accent-2) 10%, transparent);
  color: var(--fg);
}
.contact-card {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--card);
}
.contact-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}
.contact-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}
.contact-card dt {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--fg-3);
}
.contact-card dd {
  margin: 0 0 6px;
}
.contact-card a {
  text-decoration: none;
}
.contact-card a:hover {
  color: var(--accent);
}

/* Relateret */
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.2s;
}
.related-links a:hover {
  border-color: var(--line-2);
}

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

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 110px) 0 32px;
}
.footer-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(4, 1fr);
  }
}
.footer-brand img {
  height: 26px;
  width: auto;
}
.footer-brand p {
  margin: 18px 0 0;
  max-width: 34ch;
  color: var(--fg-3);
  font-size: 0.92rem;
}
.footer-col h2 {
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--fg);
}
.footer-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-col a {
  color: var(--fg-2);
  font-size: 0.93rem;
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--fg);
}
.footer-wordmark {
  margin-top: clamp(48px, 8vw, 96px);
  font-size: clamp(4rem, 18vw, 15rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.8;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  letter-spacing: 0;
  color: var(--fg-3);
}
.footer-bottom a {
  color: var(--fg-3);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--fg);
}

/* --------------------------------------------------------------------------
   Animation ved scroll
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .logos__track {
    animation: none;
  }
}

/* Cookie consent */
.consent {
  position: fixed;
  z-index: 60;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 460px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--rule);
  background: #fff;
  box-shadow: var(--shadow-lg);
  color: var(--ink-2);
  font-size: 0.93rem;
  line-height: 1.55;
}
.consent[hidden] {
  display: none;
}
.consent p {
  margin: 0;
}
.consent strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}
.consent a {
  color: var(--brand-600);
}
.consent__actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.footer-link:hover {
  text-decoration: underline;
}
