/* =========================================================
   Westlayer designsystem
   Lys, rolig og præcis. Geist, pill-former, bento-kort.
   ========================================================= */

@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/assets/fonts/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;

  --ink: #0f1115;
  --ink-rgb: 15, 17, 21;
  --ink-2: rgba(15, 17, 21, 0.64);
  --ink-3: rgba(15, 17, 21, 0.6);
  --ink-soft: rgba(15, 17, 21, 0.46);
  --ink-4: rgba(15, 17, 21, 0.1);
  --ink-5: rgba(15, 17, 21, 0.06);

  --bg: #ffffff;
  --surface: #f4f4f1;
  --surface-2: #ebebe7;
  --surface-3: #e2e2dd;

  --accent: #2f45e6;
  --accent-rgb: 47, 69, 230;
  --accent-ink: #2437c9;
  --accent-soft: rgba(47, 69, 230, 0.1);

  --good: #13a36b;
  --good-soft: rgba(19, 163, 107, 0.12);
  --warn: #e0731f;
  --warn-soft: rgba(224, 115, 31, 0.12);
  --bad: #e2433b;
  --bad-soft: rgba(226, 67, 59, 0.1);
  --bad-text: #b72a23;

  --night: #0b1020;
  --night-2: #141a2e;

  --font: 'Geist', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --shadow-card: 0 0 0 1px rgba(15, 17, 21, 0.07), 0 1px 2px rgba(15, 17, 21, 0.05), 0 12px 32px -14px rgba(15, 17, 21, 0.22);
  --shadow-float: 0 0 0 1px rgba(15, 17, 21, 0.06), 0 10px 30px -16px rgba(15, 17, 21, 0.35);
  --shadow-btn: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(15, 17, 21, 0.18), 0 8px 18px -8px rgba(47, 69, 230, 0.65);

  --gutter: clamp(16px, 4vw, 32px);
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.006em;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}
.dark :focus-visible {
  outline-color: #fff;
}
.dark .form-card :focus-visible {
  outline-color: var(--accent);
}

::selection {
  background: rgba(47, 69, 230, 0.18);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-weight: 500;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--mono);
  font-feature-settings: 'zero';
}

.tnum {
  font-variant-numeric: tabular-nums;
}

/* ---------- Typografi ---------- */

.display {
  font-size: clamp(2.45rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.048em;
  font-weight: 460;
  margin: 0;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 460;
  margin: 0;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
}

.soft {
  color: var(--ink-soft);
}

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: pretty;
}

.small {
  font-size: 0.875rem;
  color: var(--ink-3);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

p {
  text-wrap: pretty;
}

/* ---------- Knapper ---------- */

.btn {
  --h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--h);
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.btn--sm {
  --h: 38px;
  padding: 0 16px;
  font-size: 0.875rem;
}
.btn--lg {
  --h: 54px;
  padding: 0 28px;
  font-size: 1rem;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  background: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(15, 17, 21, 0.18), 0 12px 24px -8px rgba(47, 69, 230, 0.7);
}
.btn--ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.1), 0 1px 2px rgba(15, 17, 21, 0.06);
}
.btn--ghost:hover {
  box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.16), 0 6px 16px -8px rgba(15, 17, 21, 0.25);
}
.btn--light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 10px 24px -10px rgba(0, 0, 0, 0.5);
}
.btn--light:hover {
  background: #f3f4ff;
}
.btn--quiet {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.btn--quiet:hover {
  background: rgba(255, 255, 255, 0.14);
}
.btn .arrow {
  transition: transform 0.25s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(3px);
}

.link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(15, 17, 21, 0.25);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 0.2s ease;
}
.link:hover {
  text-decoration-color: currentColor;
}

/* ---------- Pills og badges ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 14px 6px 10px;
  line-height: 1.3;
  text-align: left;
  border-radius: var(--r-pill);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.08), 0 2px 6px -2px rgba(15, 17, 21, 0.08);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}
.pill .dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px var(--good-soft);
}
.pill--accent .dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 14px 6px 11px;
  border-radius: var(--r-pill);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.08);
  font-size: 0.875rem;
  font-weight: 500;
}
.checks svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--ink-5);
  color: var(--ink-2);
  white-space: nowrap;
}
.tag--good {
  background: var(--good-soft);
  color: #0c7a4f;
}
.tag--warn {
  background: var(--warn-soft);
  color: #a9520f;
}
.tag--bad {
  background: var(--bad-soft);
  color: #b72a23;
}
.tag--accent {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

/* ---------- Navigation ---------- */

.nav-wrap {
  position: fixed;
  inset: 12px 0 auto 0;
  z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: 1120px;
  margin-inline: auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 8px 0 18px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: var(--shadow-float);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
}
.logo-mark {
  width: 30px;
  height: 30px;
  flex: none;
}
.logo {
  flex: none;
}
.logo-img {
  display: block;
  flex: none;
  height: 24px;
  width: auto;
  aspect-ratio: 381 / 64;
}
.footer .logo-img {
  height: 26px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links > li > a,
.nav-trigger {
  display: inline-flex;
  height: 36px;
  align-items: center;
  gap: 4px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 450;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-links > li > a:hover,
.nav-trigger:hover,
.nav-trigger[aria-expanded='true'] {
  color: var(--ink);
  background: var(--ink-5);
}
/* Pillen viser siden, man er på. Prikken viser sektionen, man læser i. */
.nav-links > li > a[aria-current],
.nav-trigger.is-active {
  color: var(--ink);
  background: var(--ink-5);
  box-shadow: inset 0 0 0 1px var(--ink-5);
}
.nav-links > li > a {
  position: relative;
}
.nav-links > li > a.is-current {
  color: var(--ink);
}
.nav-links > li > a.is-current::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s var(--ease), background-color 0.2s ease;
}
.menu-btn span::before,
.menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
}
.menu-btn span::before {
  top: -6px;
}
.menu-btn span::after {
  top: 6px;
}
.nav-open .menu-btn span {
  background: transparent;
}
.nav-open .menu-btn span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-open .menu-btn span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  max-height: calc(100vh - 92px);
  max-height: calc(100dvh - 92px);
  overflow-y: auto;
  overscroll-behavior: contain;
  pointer-events: auto;
  max-width: 1120px;
  margin: 8px auto 0;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-float);
  padding: 10px;
  display: none;
}
.nav-open .mobile-menu {
  display: block;
  animation: drop 0.3s var(--ease);
}
.mobile-menu a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: var(--r-md);
}
.mobile-menu a:not(.btn):hover {
  background: var(--ink-5);
}
.mobile-menu .btn {
  width: 100%;
  margin-top: 8px;
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Sektioner ---------- */

.section {
  padding-block: clamp(72px, 11vw, 140px);
  position: relative;
}
.section--tight {
  padding-block: clamp(48px, 7vw, 88px);
}
.section-head {
  max-width: 820px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}
.section-head--left {
  margin-inline: 0;
  text-align: left;
  justify-items: start;
}
.section-head .lead {
  max-width: 640px;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(124px, 16vw, 168px);
  padding-bottom: 32px;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 720px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(47, 69, 230, 0.07), transparent 70%),
    radial-gradient(40% 40% at 85% 20%, rgba(255, 138, 76, 0.06), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 22px;
  max-width: 980px;
  margin-inline: auto;
}
.hero .lead {
  max-width: 660px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 6px;
}
.hero-note {
  font-size: 0.85rem;
  color: var(--ink-3);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: center;
}
.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-note svg {
  width: 14px;
  height: 14px;
}

/* Den store "vest"-flade: skumring over havet, lag på lag */
.horizon {
  position: relative;
  margin-top: clamp(40px, 6vw, 64px);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(520px, 62vw, 700px);
  background:
    radial-gradient(70% 60% at 50% 63%, rgba(255, 150, 90, 0.55), transparent 60%),
    radial-gradient(40% 25% at 50% 62%, rgba(255, 206, 140, 0.55), transparent 70%),
    linear-gradient(180deg, #0a1030 0%, #18206b 34%, #3b3a9c 52%, #b0679a 60%, #ff9a63 63.5%, #23286a 64%, #0f1540 82%, #090d26 100%);
  box-shadow: 0 30px 80px -40px rgba(15, 17, 50, 0.6);
}
.horizon::before {
  /* havets lag */
  content: '';
  position: absolute;
  inset: 64% 0 0 0;
  background: repeating-linear-gradient(180deg, rgba(255, 190, 140, 0.16) 0 1px, transparent 1px 7px);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  z-index: -1;
}
.horizon::after {
  /* korn */
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 3;
}
.horizon-sun {
  position: absolute;
  left: 50%;
  top: 63.6%;
  width: clamp(140px, 18vw, 230px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff3dc 0%, #ffd29a 38%, rgba(255, 160, 100, 0.5) 62%, transparent 70%);
  clip-path: inset(0 0 50% 0);
  z-index: -1;
  filter: blur(0.5px);
}
.horizon-stars {
  position: absolute;
  inset: 0 0 50% 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1px 1px at 28% 8%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 46% 22%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1px 1px at 63% 12%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(1px 1px at 78% 26%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 90% 10%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 6% 36%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1px 1px at 36% 34%, rgba(255, 255, 255, 0.35), transparent 60%);
  z-index: -1;
  opacity: 0.8;
}

.horizon-stage {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 64px) clamp(14px, 3vw, 40px) clamp(96px, 10vw, 120px);
  min-height: inherit;
}

.horizon-foot {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  padding: 18px 20px 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}
.stack-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 10px;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}
.stack-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.stack-row svg {
  width: 17px;
  height: 17px;
  opacity: 0.9;
}

/* Glasvindue med arbejdsgang (illustration) */
.app {
  width: min(880px, 100%);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6), 0 40px 80px -30px rgba(5, 8, 30, 0.75);
  text-align: left;
  overflow: hidden;
}
.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ink-4);
  background: rgba(255, 255, 255, 0.55);
}
.app-bar .dots {
  display: flex;
  gap: 6px;
}
.app-bar .dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-3);
}
.app-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
  min-width: 0;
}
.app-title b {
  color: var(--ink);
  font-weight: 600;
}
.app-title .logo-mark {
  width: 20px;
  height: 20px;
}
.app-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 330px;
}
.app-steps {
  padding: 18px;
  border-right: 1px solid var(--ink-4);
  display: grid;
  align-content: start;
  gap: 6px;
}
.app-label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-family: var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.step-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.35;
  transition: background-color 0.4s ease, opacity 0.4s ease;
}
.step-row small {
  display: block;
  color: var(--ink-3);
  font-size: 0.76rem;
  margin-top: 2px;
}
.step-row .ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--ink-3);
}
.step-row .ico svg {
  width: 13px;
  height: 13px;
}
.step-row.is-done .ico {
  background: var(--good-soft);
  color: var(--good);
}
.step-row.is-active {
  background: var(--accent-soft);
}
.step-row.is-active .ico {
  background: var(--accent);
  color: #fff;
}
.step-row.is-todo {
  opacity: 0.55;
}
.spin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.app-doc {
  padding: 18px 20px;
  display: grid;
  align-content: start;
  gap: 12px;
}
.doc-q {
  font-size: 0.82rem;
  color: var(--ink-2);
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface);
}
.doc-q b {
  color: var(--ink);
  font-weight: 600;
}
.doc-answer {
  font-size: 0.86rem;
  line-height: 1.55;
  min-height: 7.6em;
}
.doc-answer .caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--accent);
  vertical-align: -0.15em;
  margin-left: 1px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: #fff;
  box-shadow: 0 0 0 1px var(--ink-4);
  font-size: 0.74rem;
  color: var(--ink-2);
}
.source svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
}
.approve {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding: 10px 10px 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  font-size: 0.8rem;
  color: var(--ink-2);
}
.approve .btn {
  --h: 32px;
  padding: 0 14px;
  font-size: 0.8rem;
}

.illus-tag {
  font-size: 0.7rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  color: var(--ink-3);
  background: var(--ink-5);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  min-width: 0;
}
.card--white {
  background: #fff;
  box-shadow: var(--shadow-card);
}
.span-2 {
  grid-column: span 2;
}
.span-3 {
  grid-column: span 3;
}
.span-4 {
  grid-column: span 4;
}
.span-6 {
  grid-column: span 6;
}
.card-text {
  font-size: 1.06rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink-3);
  margin: 0;
  max-width: 34ch;
}
.card-text b {
  color: var(--ink);
  font-weight: 500;
}
.card .mock {
  margin-top: auto;
}

.mock {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 14px;
  font-size: 0.82rem;
}
.mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 0.8rem;
}
.mock-head .file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.mock-head .file span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-ico {
  width: 22px;
  height: 26px;
  border-radius: 5px;
  background: #e8edff;
  position: relative;
  flex: none;
}
.file-ico::after {
  content: '';
  position: absolute;
  inset: 7px 5px auto;
  height: 2px;
  background: rgba(47, 69, 230, 0.55);
  box-shadow: 0 4px 0 rgba(47, 69, 230, 0.35), 0 8px 0 rgba(47, 69, 230, 0.25);
  border-radius: 2px;
}
.mock-lines {
  display: grid;
  gap: 7px;
}
.mock-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface);
  min-width: 0;
}
.mock-line.wrap > span:first-child {
  white-space: normal;
}
.mock-line > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-2);
}
.bar {
  height: 7px;
  border-radius: 4px;
  background: var(--surface-2);
}
.bar.w40 {
  width: 40%;
}
.bar.w55 {
  width: 55%;
}
.bar.w70 {
  width: 70%;
}
.bar.w85 {
  width: 85%;
}
.hl {
  background: rgba(255, 196, 0, 0.28);
  border-radius: 3px;
  padding: 0 2px;
}

.clock-mock {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.clock-big {
  font-family: var(--mono);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.clock-big small {
  display: block;
  font-family: var(--font);
  font-size: 0.75rem;
  letter-spacing: 0;
  color: var(--ink-3);
  margin-top: 6px;
  font-weight: 400;
}

.flat-chart {
  height: 92px;
  position: relative;
  border-radius: 12px;
  background:
    linear-gradient(var(--ink-4) 1px, transparent 1px) 0 0 / 100% 23px,
    #fff;
}
.flat-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------- Mørk sektion: Prisen for at vente ---------- */

.dark {
  background: var(--night);
  color: #fff;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.dark::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 70%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(47, 69, 230, 0.4), transparent);
  z-index: -1;
}
.dark::after {
  content: '';
  position: absolute;
  inset: auto auto -50% -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(closest-side, rgba(255, 138, 76, 0.16), transparent);
  z-index: -1;
}
.dark .soft {
  color: rgba(255, 255, 255, 0.5);
}
.dark .lead {
  color: rgba(255, 255, 255, 0.68);
}
.dark .small {
  color: rgba(255, 255, 255, 0.5);
}
.dark .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

.calc {
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.calc-controls {
  display: grid;
  gap: 26px;
  margin-top: 28px;
}
.range {
  display: grid;
  gap: 10px;
}
.range-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.95rem;
}
.range-top label {
  color: rgba(255, 255, 255, 0.75);
}
.range-top output {
  font-family: var(--mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #fff;
  white-space: nowrap;
}
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  cursor: pointer;
  --pct: 50%;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, #6f84ff var(--pct), rgba(255, 255, 255, 0.14) var(--pct));
}
input[type='range']::-moz-range-track {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
}
input[type='range']::-moz-range-progress {
  height: 6px;
  border-radius: 6px;
  background: #6f84ff;
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(111, 132, 255, 0.28), 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.2s ease;
}
input[type='range']::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(111, 132, 255, 0.28), 0 2px 6px rgba(0, 0, 0, 0.4);
}
input[type='range']:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 8px;
}
input[type='range']:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 7px rgba(111, 132, 255, 0.5), 0 2px 6px rgba(0, 0, 0, 0.4);
}
input[type='range']:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 7px rgba(111, 132, 255, 0.5), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.calc-result {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: clamp(24px, 3.5vw, 40px);
  display: grid;
  gap: 18px;
}
.big-number {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 460;
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.big-number small {
  font-size: 0.38em;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 6px;
}
.calc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.calc-split div {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
}
.calc-split b {
  display: block;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.calc-split span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ---------- Stat + årsager ---------- */

.why {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 420px;
}
.stat-figure {
  font-size: clamp(5rem, 13vw, 9.5rem);
  line-height: 0.85;
  letter-spacing: -0.07em;
  font-weight: 450;
  margin: 0;
}
.stat-figure sup {
  font-size: 0.42em;
  letter-spacing: -0.03em;
  vertical-align: 0.95em;
  margin-left: 4px;
}
.dot-grid {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 5px;
  max-width: 340px;
}
.dot-grid i {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--surface-3);
}
.dot-grid i.on {
  background: var(--accent);
}
.reasons {
  display: grid;
  gap: 16px;
}
.reason {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
}
.reason .num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--surface);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.9rem;
}
.reason p {
  margin: 4px 0 0;
  color: var(--ink-2);
}

/* ---------- Sådan arbejder vi ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px);
  display: grid;
  gap: 14px;
  align-content: start;
  position: relative;
}
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: var(--shadow-card);
  font-family: var(--mono);
  font-weight: 500;
}
.step--focus {
  background: var(--accent);
  color: #fff;
}
.step--focus .step-num {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  color: #fff;
}
.step--focus .tag {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.step--focus p {
  color: rgba(255, 255, 255, 0.8);
}
.step p {
  margin: 0;
  color: var(--ink-2);
}

.timeline {
  margin-top: 16px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 3vw, 32px);
}
.timeline-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.weeks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.week {
  display: grid;
  gap: 10px;
  align-content: start;
}
.week-bar {
  height: 10px;
  border-radius: 6px;
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}
.week-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--accent);
  border-radius: inherit;
  transition: width 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 120ms);
}
.timeline.is-run .week-bar::after {
  width: 100%;
}
.week b {
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.week span {
  font-size: 0.88rem;
  line-height: 1.35;
}

/* ---------- Det kan vi bygge ---------- */

.build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.build {
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  padding: 26px;
  display: grid;
  gap: 12px;
  align-content: start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.build:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.07), 0 1px 2px rgba(15, 17, 21, 0.05), 0 24px 40px -20px rgba(15, 17, 21, 0.3);
}
.build-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}
.build-ico svg {
  width: 22px;
  height: 22px;
}
.build p {
  margin: 0;
  color: var(--ink-2);
}

/* ---------- Tilbuddet ---------- */

.offer {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: start;
}
.price-card {
  position: sticky;
  top: 96px;
  padding: clamp(26px, 3.5vw, 40px);
  display: grid;
  gap: 22px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.price b {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 460;
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price span {
  color: rgba(255, 255, 255, 0.6);
}
.price-facts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.price-facts li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}
.price-facts svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: #8fa0ff;
}
.slots {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}
.slot-dots {
  display: flex;
  gap: 6px;
}
.slot-dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #8fa0ff;
  box-shadow: 0 0 0 4px rgba(143, 160, 255, 0.18);
}

.stack {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.stack li {
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.stack .s-ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
}
.stack .s-ico svg {
  width: 18px;
  height: 18px;
}
.stack h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.stack p {
  margin: 3px 0 0;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.stack .core {
  background: var(--surface);
  box-shadow: none;
}
.stack .core .s-ico {
  background: var(--accent);
  color: #fff;
}

.guarantee {
  margin-top: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(47, 69, 230, 0.1), transparent 60%),
    var(--surface);
}
.seal {
  width: clamp(96px, 12vw, 128px);
  height: auto;
  color: var(--accent);
}
.seal text {
  font-family: var(--mono);
  font-size: 8.4px;
  letter-spacing: 2.1px;
  fill: currentColor;
}
.guarantee p {
  margin: 8px 0 0;
  color: var(--ink-2);
  max-width: 62ch;
}

/* ---------- Sikkerhed ---------- */

.secure {
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.secure-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.secure-list li {
  padding: 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}
.secure-list b {
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.secure-list svg {
  width: 18px;
  height: 18px;
  color: #8fa0ff;
  flex: none;
}

/* ---------- Brancher og erfaring ---------- */

.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.industry-card {
  position: relative;
  min-height: 340px;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: #fff;
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(8, 12, 36, 0.1), rgba(8, 12, 36, 0.75)),
    radial-gradient(70% 50% at 50% 58%, rgba(255, 150, 90, 0.5), transparent 60%),
    linear-gradient(180deg, #0a1030 0%, #23307f 45%, #c07386 57%, #ff9a63 60%, #1a2160 61%, #0b1030 100%);
  transition: transform 0.35s var(--ease);
}
.industry-card::before {
  content: '';
  position: absolute;
  inset: 61% 0 0 0;
  background: repeating-linear-gradient(180deg, rgba(255, 190, 140, 0.16) 0 1px, transparent 1px 6px);
  z-index: -1;
}
.industry-card:hover {
  transform: translateY(-3px);
}
.industry-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 44ch;
}
.industry-card .btn {
  align-self: flex-start;
}
.founding {
  padding: clamp(24px, 3vw, 34px);
}
.founding ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.founding li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: var(--ink-2);
}
.founding li svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--accent);
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.faq-head {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
}
.faq-list {
  display: grid;
  gap: 10px;
}
.qa {
  border-radius: var(--r-md);
  background: var(--surface);
  transition: background-color 0.25s ease;
}
.qa[open] {
  background: #fff;
  box-shadow: var(--shadow-card);
}
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary .plus {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--ink-4);
  position: relative;
  transition: transform 0.3s var(--ease), background-color 0.2s ease;
}
.qa summary .plus::before,
.qa summary .plus::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.qa summary .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.3s var(--ease);
}
.qa[open] summary .plus {
  background: var(--ink);
}
.qa[open] summary .plus::before,
.qa[open] summary .plus::after {
  background: #fff;
}
.qa[open] summary .plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.qa .answer {
  padding: 0 22px 22px;
  color: var(--ink-2);
  max-width: 64ch;
}
.qa .answer p {
  margin: 0;
}
@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }
  .qa::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.35s var(--ease), content-visibility 0.35s allow-discrete;
  }
  .qa[open]::details-content {
    height: auto;
  }
}

/* ---------- Booking ---------- */

.book {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(24px, 5vw, 64px);
  align-items: start;
}
.book-copy {
  display: grid;
  gap: 20px;
  align-content: start;
}
.book-copy ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.book-copy li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
}
.book-copy li svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: #8fa0ff;
}
.founder {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  justify-self: start;
  font-size: 0.92rem;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  background: linear-gradient(135deg, #8fa0ff, #2f45e6);
  color: #fff;
  flex: none;
}

.form-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  display: grid;
  gap: 18px;
}
.form-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--ink-3);
}
.form-progress .track {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--surface-2);
  overflow: hidden;
}
.form-progress .track i {
  display: block;
  height: 100%;
  width: 50%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 0.4s var(--ease);
}
.form-step {
  display: grid;
  gap: 18px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.form-step[hidden] {
  display: none;
}
.form-step legend {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
  padding: 0;
}
.q {
  display: grid;
  gap: 10px;
}
.q-label {
  font-size: 0.9rem;
  font-weight: 500;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px transparent;
  font-size: 0.88rem;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.choice:hover span {
  background: var(--surface-2);
}
.choice input:checked + span {
  background: var(--accent-soft);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 0.85rem;
  font-weight: 500;
}
.field label .opt {
  color: var(--ink-3);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 0;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(15, 17, 21, 0.45);
  font-size: 16px;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.field textarea {
  min-height: 96px;
  resize: vertical;
}
.field input:hover,
.field textarea:hover {
  background: var(--surface-2);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft);
}
.field[data-invalid] input,
.field[data-invalid] textarea {
  box-shadow: inset 0 0 0 1.5px var(--bad);
}
.field .err {
  font-size: 0.8rem;
  color: var(--bad-text);
  min-height: 0;
}
.fields-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--ink-2);
  align-items: start;
}
.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}
.consent[data-invalid] {
  color: var(--bad-text);
}
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-nav {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.form-nav .btn--primary {
  margin-left: auto;
}
.form-msg {
  font-size: 0.88rem;
  color: var(--bad-text);
}
.form-done {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  text-align: left;
}
.form-done .ok {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--good-soft);
  color: var(--good);
}
.form-done .ok svg {
  width: 24px;
  height: 24px;
}
.form-done h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.form-done p {
  margin: 0;
  color: var(--ink-2);
}

.ps {
  margin-top: 28px;
  text-align: center;
  color: var(--ink-2);
}

/* ---------- Footer ---------- */

.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--ink-5);
  margin-top: clamp(56px, 8vw, 96px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-h {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer a:hover {
  color: var(--accent);
}
.footer-contact {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  color: var(--ink-2);
}
.footer-bottom {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-3);
}

/* ---------- Svævende booking-pill ---------- */

.float-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-float);
  font-size: 0.875rem;
  font-weight: 500;
  transform: translateY(140%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s var(--ease), opacity 0.3s ease, visibility 0s linear 0.45s;
  pointer-events: none;
}
.float-cta.is-on {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: transform 0.45s var(--ease), opacity 0.3s ease, visibility 0s;
  pointer-events: auto;
}
.has-consent-bar .float-cta {
  display: none;
}
.float-cta .avatar {
  width: 30px;
  height: 30px;
  font-size: 0.8rem;
}
.float-cta .btn {
  --h: 36px;
  padding: 0 14px;
  font-size: 0.85rem;
}

/* Samtykke til annoncemåling (vises kun, når LinkedIn/Meta er sat op) */
.consent-bar {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 45;
  max-width: min(440px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 10px 10px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-float);
  font-size: 0.85rem;
}
.consent-bar p {
  margin: 0;
  flex: 1 1 200px;
}
.consent-bar .btn {
  --h: 34px;
  padding: 0 14px;
  font-size: 0.82rem;
}
.consent-bar .btn--dark {
  background: var(--ink);
  color: #fff;
}

/* ---------- Animationer ---------- */

.js [data-reveal] {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.8s var(--ease), translate 0.8s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  transition-delay: var(--d, 0ms), var(--d, 0ms), 0ms, 0ms;
}
.js [data-reveal].is-in {
  opacity: 1;
  translate: none;
}

@supports (animation-timeline: view()) {
  .scroll-ink {
    animation: ink linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
  @keyframes ink {
    from {
      color: rgba(15, 17, 21, 0.24);
    }
    to {
      color: var(--ink-soft);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    translate: none;
  }
}

/* ---------- Tjeklister ---------- */

.cl-hero {
  padding-top: clamp(124px, 15vw, 160px);
  padding-bottom: clamp(32px, 5vw, 56px);
}
.cl-hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cl-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 24px;
  align-items: start;
}
.cl-group {
  margin-bottom: 28px;
}
.cl-group h2 {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cl-items {
  display: grid;
  gap: 8px;
}
.cl-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--surface);
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 1rem;
  line-height: 1.45;
}
.cl-item:hover {
  background: var(--surface-2);
}
.cl-item input {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(15, 17, 21, 0.2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.cl-item input::after {
  content: '';
  width: 10px;
  height: 6px;
  border: 2px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform 0.2s var(--ease);
}
.cl-item input:checked {
  background: var(--accent);
  box-shadow: none;
}
.cl-item input:checked::after {
  transform: rotate(-45deg) translate(1px, -1px) scale(1);
}
.cl-item:has(input:checked) {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 6px 20px -12px rgba(47, 69, 230, 0.5);
}
.cl-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}
.score-card {
  border-radius: var(--r-lg);
  padding: 26px;
  display: grid;
  gap: 14px;
}
.score-num {
  font-size: clamp(3.4rem, 6vw, 4.6rem);
  font-weight: 460;
  letter-spacing: -0.06em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.score-num small {
  font-size: 0.4em;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.02em;
}
.score-meter {
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.score-meter i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #8fa0ff, #ff9a63);
  transition: width 0.5s var(--ease);
}
.score-verdict {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  min-height: 3em;
}
.mini-calc {
  display: grid;
  gap: 12px;
}
.mini-calc .field input {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink-4);
}
.mini-calc .fields-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mini-calc .result {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-4);
}
.mini-calc .result b {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.matrix th,
.matrix td {
  text-align: left;
  padding: 12px 14px;
  vertical-align: middle;
}
.matrix thead th {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-3);
  padding-block: 4px;
}
.matrix thead input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: var(--surface);
  font-size: 0.9rem;
}
.matrix thead input:focus {
  outline: none;
  box-shadow: inset 0 0 0 1.5px var(--accent);
  background: #fff;
}
.matrix tbody td {
  background: var(--surface);
}
.matrix tbody td:first-child {
  border-radius: 14px 0 0 14px;
  font-size: 0.95rem;
}
.matrix tbody td:last-child {
  border-radius: 0 14px 14px 0;
}
.matrix .cb {
  width: 56px;
  text-align: center;
}
.matrix .cb input {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(15, 17, 21, 0.2);
  cursor: pointer;
}
.matrix .cb input::after {
  content: '';
  width: 10px;
  height: 6px;
  border: 2px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform 0.2s var(--ease);
}
.matrix .cb input:checked {
  background: var(--accent);
  box-shadow: none;
}
.matrix .cb input:checked::after {
  transform: rotate(-45deg) translate(1px, -1px) scale(1);
}
.matrix tfoot td {
  font-weight: 600;
  padding-top: 14px;
}
.matrix tfoot .cb {
  font-family: var(--mono);
  font-size: 1.15rem;
}

.cl-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cl-card {
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  padding: 26px;
  display: grid;
  gap: 14px;
  align-content: start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.07), 0 24px 40px -20px rgba(15, 17, 21, 0.3);
}
.cl-card p {
  margin: 0;
  color: var(--ink-2);
}
.cl-card .meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cl-card .go {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--accent);
}
.cl-card .go svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}
.cl-card:hover .go svg {
  transform: translateX(3px);
}

/* ---------- Tekstsider (privatliv, 404) ---------- */

.prose {
  max-width: 720px;
  margin-inline: auto;
}
.prose h1 {
  margin-bottom: 16px;
}
.prose h2 {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 40px 0 10px;
}
.prose p,
.prose li {
  color: var(--ink-2);
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Responsivt ---------- */

/* Lidt strammere menupunkter lige over brudpunktet, så logo og syv punkter kan stå på én linje. */
@media (max-width: 75em) {
  .nav-links > li > a,
  .nav-trigger {
    padding: 0 9px;
  }
}

/* Navigationens brudpunkt i em, så det følger med, hvis browserens standardskrift er større. */
@media (max-width: 67.5em) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
}
@media (min-width: 67.5625em) {
  .nav-open .mobile-menu {
    display: none;
  }
}

@media (max-width: 1080px) {
  .offer {
    grid-template-columns: 1fr;
  }
  .price-card {
    position: relative;
    top: 0;
  }
}

@media (max-width: 960px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .span-2,
  .span-3,
  .span-4 {
    grid-column: span 1;
  }
  .span-6 {
    grid-column: span 2;
  }
  .calc,
  .secure,
  .book,
  .why,
  .faq,
  .cl-layout,
  .offer {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-head,
  .cl-side {
    position: relative;
    top: 0;
  }
  .stat-card {
    min-height: 0;
  }
  .steps,
  .build-grid,
  .cl-cards {
    grid-template-columns: 1fr 1fr;
  }
  .steps .step:last-child {
    grid-column: span 2;
  }
  .split-cards {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .app-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .app-title .app-sub,
  .app-title .app-sep {
    display: none;
  }
  .app-steps {
    border-right: 0;
    border-bottom: 1px solid var(--ink-4);
  }
  .app-steps .step-row:not(.is-active):not(.is-done:last-of-type) {
    display: none;
  }
  .app-steps .step-row.is-done ~ .step-row.is-done {
    display: none;
  }
  .doc-answer {
    min-height: 9.5em;
  }
}

@media (max-width: 640px) {
  .nav {
    height: 56px;
    padding: 0 6px 0 14px;
  }
  .nav-actions .btn--primary {
    display: none;
  }
  .bento,
  .steps,
  .build-grid,
  .cl-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .big-number {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }
  .span-6,
  .steps .step:last-child {
    grid-column: span 1;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .weeks {
    grid-template-columns: 1fr 1fr;
    row-gap: 18px;
  }
  .secure-list,
  .fields-2,
  .calc-split {
    grid-template-columns: 1fr;
  }
  .guarantee {
    grid-template-columns: 1fr;
  }
  .reason {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .horizon {
    border-radius: 28px;
    min-height: 0;
  }
  .horizon-stage {
    padding-bottom: 150px;
  }
  .horizon-sun {
    top: auto;
    bottom: 130px;
  }
  .stack-row {
    gap: 6px 14px;
    font-size: 0.85rem;
  }
  .dark,
  .book {
    border-radius: 28px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
  .float-cta .float-text {
    display: none;
  }
  .matrix .cb {
    width: 42px;
  }
  .matrix th,
  .matrix td {
    padding: 10px 6px;
  }
  .matrix tbody td:first-child {
    padding-left: 12px;
  }
  .mx-names {
    grid-template-columns: minmax(0, 1fr);
  }
  .mini-calc .fields-3 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Print (tjeklister kan gemmes som PDF) ---------- */

@media print {
  .nav-wrap,
  .float-cta,
  .consent-bar,
  .no-print,
  .footer {
    display: none !important;
  }
  body {
    font-size: 11pt;
  }
  .cl-hero {
    padding-top: 0;
  }
  .cl-layout {
    grid-template-columns: 1fr;
  }
  .cl-item {
    break-inside: avoid;
    background: #fff;
    box-shadow: inset 0 0 0 1px #ccc;
  }
  .dark {
    background: #fff !important;
    color: #000 !important;
    box-shadow: inset 0 0 0 1px #ccc;
  }
  .dark * {
    color: #000 !important;
  }
  .js [data-reveal] {
    opacity: 1 !important;
    translate: none !important;
  }
}

/* ---------- Tilføjelser til forsiden ---------- */

.card--wide {
  padding: clamp(22px, 3vw, 34px);
}
.wide-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
.chart-label {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(8px);
  font-size: 0.72rem;
  color: var(--ink-3);
  background: #fff;
  padding: 2px 6px;
  border-radius: 6px;
}
.closing {
  margin: clamp(40px, 6vw, 64px) auto 0;
  max-width: 760px;
  text-align: center;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 460;
  text-wrap: balance;
}
.calc .h2 {
  margin-top: 14px;
}
.calc-compare {
  margin: 0;
  font-size: 1rem;
}
.calc-compare b {
  color: #fff;
  font-weight: 500;
}
.stat-text {
  margin-top: 18px;
  max-width: 34ch;
}
.stat-source {
  margin: 14px 0 0;
}
.secure .h2 {
  margin-top: 14px;
}
.secure-lead {
  margin: 18px 0 26px;
  max-width: 44ch;
}
.tag--light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  align-self: flex-start;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.tag--light svg,
.tag svg {
  width: 13px;
  height: 13px;
}
.industry-title {
  color: #fff;
}
.founding {
  gap: 16px;
}
.founding-text {
  margin: 0;
  color: var(--ink-2);
}
.footer-tagline {
  margin: 14px 0 0;
  max-width: 34ch;
}
.footer-contact a {
  width: fit-content;
}
.book-copy .h2 {
  margin-top: -4px;
}

@media (max-width: 960px) {
  .wide-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Tjeklister og branchesider: tilføjelser ---------- */

.build--cta {
  background: var(--surface);
  box-shadow: none;
}
.build--cta .link {
  justify-self: start;
}
.cl-head {
  max-width: 860px;
  gap: 16px;
}
.cl-title {
  font-size: clamp(2.3rem, 5.6vw, 4rem);
}
.cl-head .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cl-head .tag {
  height: auto;
  min-height: 30px;
  padding: 5px 12px;
  font-size: 0.8rem;
  white-space: normal;
}
.cl-how {
  margin: 0;
  color: var(--ink-2);
  max-width: 62ch;
}
.cl-how b {
  color: var(--ink);
  font-weight: 500;
}
.cl-section {
  padding-bottom: 24px;
}
.score-card .btn {
  justify-self: start;
}
.cl-form {
  gap: 14px;
}
.cl-form .form-step {
  gap: 14px;
}
.cl-form .h3 {
  font-size: 1.15rem;
}
.cl-form .small {
  margin: -6px 0 0;
}
.cl-form .btn--primary {
  justify-self: start;
}
.matrix-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mx-names {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 10px;
  margin-bottom: 8px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--surface);
}
.mx-names-label {
  grid-column: 1 / -1;
  margin: 0;
}
.mx-names .field label {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-3);
}
.mx-names .field input {
  background: #fff;
  min-height: 42px;
  padding: 8px 12px;
}
.matrix-note {
  margin: 12px 0 0;
}
.matrix-verdict {
  gap: 12px;
}
.mv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink-5);
  font-size: 0.92rem;
}
.mv-row span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.matrix-verdict .small {
  margin: 0;
}
.cl-next {
  align-items: center;
}
.cl-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.prose-hero {
  padding-top: clamp(124px, 15vw, 160px);
}
@media (max-width: 960px) {
  .cl-next-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 640px) {
  .cl-next-actions .btn {
    width: 100%;
  }
  .matrix td:first-child {
    font-size: 0.88rem;
  }
}


/* ---------- Review-rettelser ---------- */

.app-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.replay {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.replay:hover {
  background: rgba(47, 69, 230, 0.16);
}
.doc-answer .ghost {
  visibility: hidden;
}
.link--light {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}
.dark .link {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}
.dark .form-card .link {
  color: var(--ink);
  text-decoration-color: rgba(15, 17, 21, 0.25);
}
.stat-source .link {
  font-weight: 400;
  color: inherit;
}
.consent .err {
  grid-column: 2;
  font-size: 0.8rem;
  color: var(--bad-text);
}

@media (max-width: 720px) {
  .app-steps {
    min-height: 148px;
  }
}

@media (max-width: 640px) {
  .btn {
    white-space: normal;
    height: auto;
    min-height: var(--h);
    padding-block: 10px;
    line-height: 1.25;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .app-bar .dots {
    display: none;
  }
  .app-title {
    min-width: 0;
  }
  .app-title b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .clock-mock {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Branchetal (industri) ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.stat-tile {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  gap: 10px;
  align-content: start;
}
.stat-tile p {
  margin: 0;
  color: var(--ink-2);
}
.stat-tile .stat-tile-num {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 460;
  color: var(--ink);
}
.stat-tile .small .link {
  font-weight: 400;
  color: inherit;
}
.reasons--row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.reasons--row .reason {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.industry-card--steel {
  background:
    linear-gradient(180deg, rgba(8, 12, 36, 0.05), rgba(8, 12, 36, 0.7)),
    radial-gradient(60% 45% at 50% 60%, rgba(140, 200, 255, 0.35), transparent 60%),
    linear-gradient(180deg, #0b1324 0%, #1c3157 45%, #3e5f88 57%, #7d9cc0 60%, #1b2c4c 61%, #0a1222 100%);
}
.industry-card--steel::before {
  background: repeating-linear-gradient(180deg, rgba(185, 212, 236, 0.16) 0 1px, transparent 1px 6px);
}
.founding--wide {
  grid-column: 1 / -1;
}
.founding--wide ul {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 960px) {
  .stat-row,
  .reasons--row {
    grid-template-columns: minmax(0, 1fr);
  }
  .founding--wide ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Industri-review ---------- */

.calc-result {
  container-type: inline-size;
}
.big-number {
  font-size: min(clamp(2.4rem, 5.2vw, 4.8rem), 16cqi);
}
@media (max-width: 640px) {
  .big-number {
    font-size: min(clamp(2.3rem, 11vw, 3.2rem), 16cqi);
  }
}
.closing .soft {
  color: var(--ink-3);
}
.industry-card--steel p {
  color: #fff;
}
.illus-note {
  text-align: center;
  margin: 18px auto 0;
}
.verdict-note {
  margin: 8px auto 24px;
  max-width: 720px;
}
.cl-cards--single {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

/* ---------- Headshot ---------- */
img.avatar {
  object-fit: cover;
  background: #e9e9e7;
  padding: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.float-cta img.avatar {
  box-shadow: none;
}

.cl-title {
  overflow-wrap: break-word;
}
.cl-item > span,
.build p,
.stat-tile p,
.secure-list li,
.qa .answer p {
  min-width: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

.founding > .link {
  align-self: flex-start;
}
.cl-cards--hub {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cl-cards--hub > .cl-card:first-child {
  grid-column: 1 / -1;
}
@media (max-width: 640px) {
  .cl-cards--hub {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Fælles navigation: Brancher-menu ---------- */

.has-menu {
  position: relative;
}
.nav-trigger .chev {
  width: 12px;
  height: 12px;
  transition: transform 0.25s var(--ease);
}
.nav-trigger[aria-expanded='true'] .chev {
  transform: rotate(180deg);
}
.nav-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  translate: -50% 0;
  width: min(520px, calc(100vw - 32px));
  padding: 10px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 17, 21, 0.06), 0 24px 60px -24px rgba(15, 17, 21, 0.35), 0 8px 18px -12px rgba(15, 17, 21, 0.18);
  display: grid;
  gap: 4px;
  animation: panel-in 0.28s var(--ease);
  z-index: 60;
}
.nav-panel::before {
  /* usynlig bro, så musen kan bevæge sig fra knappen til panelet */
  content: '';
  position: absolute;
  inset: -18px 0 auto 0;
  height: 18px;
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.nav-panel-label {
  margin: 4px 10px 4px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.nav-industry {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 18px;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  transition: background-color 0.2s ease;
}
.nav-industry:hover,
.nav-industry:focus-visible,
.nav-industry[aria-current='page'] {
  background: var(--surface);
}
.nav-industry-text b {
  display: block;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.nav-industry-text small {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--ink-3);
}
.nav-industry[aria-current='page'] .nav-industry-text b::after {
  content: 'Du er her';
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.7rem;
  font-weight: 500;
  vertical-align: 2px;
}
.nav-go {
  width: 18px;
  height: 18px;
  color: var(--ink-3);
  transition: transform 0.25s var(--ease), color 0.2s ease;
}
.nav-industry:hover .nav-go {
  transform: translateX(3px);
  color: var(--accent);
}
.nav-thumb {
  width: 64px;
  height: 48px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 66%, rgba(255, 150, 90, 0.6), transparent 60%),
    linear-gradient(180deg, #0a1030 0%, #23307f 48%, #c07386 60%, #ff9a63 64%, #1a2160 65%, #0b1030 100%);
}
.nav-thumb::after {
  content: '';
  position: absolute;
  inset: 65% 0 0 0;
  background: repeating-linear-gradient(180deg, rgba(255, 190, 140, 0.25) 0 1px, transparent 1px 4px);
}
.nav-thumb--steel {
  background:
    radial-gradient(60% 50% at 50% 62%, rgba(140, 200, 255, 0.4), transparent 60%),
    linear-gradient(180deg, #0b1324 0%, #1c3157 48%, #3e5f88 60%, #7d9cc0 64%, #1b2c4c 65%, #0a1222 100%);
}
.nav-thumb--steel::after {
  background: repeating-linear-gradient(180deg, rgba(185, 212, 236, 0.22) 0 1px, transparent 1px 4px);
}
.nav-panel-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding: 12px 10px 6px;
  border-top: 1px solid var(--ink-5);
  font-size: 0.85rem;
  color: var(--ink-3);
}
.nav-panel-foot a {
  color: var(--accent-ink);
  font-weight: 500;
}
.nav-panel-foot a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobilmenu: samme struktur som på computer */
.mobile-group {
  margin: 10px 14px 4px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mobile-menu a.mobile-industry {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  justify-content: initial;
  padding: 10px 14px;
  font-size: 1rem;
}
.mobile-industry .nav-thumb {
  width: 52px;
  height: 40px;
  border-radius: 10px;
}
.mobile-menu a[aria-current] {
  background: var(--surface);
}
.mobile-menu a.is-current:not(.btn)::after {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Roligere hero ---------- */

.hero .display {
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  max-width: 920px;
  margin-inline: auto;
}
.hero-sub {
  display: block;
  margin-top: 0.5em;
  font-size: 0.5em;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 450;
  color: var(--ink-2);
  text-wrap: balance;
}
@media (max-width: 640px) {
  .hero-sub {
    font-size: 0.58em;
  }
}
