/* ════════════════════════════════════════════════════════════
   ALGORITMA · attio-inspireret layout · v2
   brand: bone/paper/linen + ink/slate/ash + brick accent
   fonts: roboto flex (display) · inter (body) · consolas (mono)
   ════════════════════════════════════════════════════════════ */

:root {
  /* brand-farver (lysnet: mere eggshell, mindre beige) */
  --bone:  #FBFAF5;
  --paper: #FFFFFF;
  --linen: #F1EEE4;
  --ash:   #B0ACA1;
  --slate: #7A7770;
  --ink:   #1A1A18;
  --brick: #B0473E;
  --body-c:#4A4843;

  /* afledte */
  --hairline: rgba(26, 26, 24, 0.10);
  --hairline-strong: rgba(26, 26, 24, 0.16);
  --card-shadow: 0 1px 2px rgba(26,26,24,0.04), 0 8px 24px -12px rgba(26,26,24,0.10);
  --card-shadow-lg: 0 2px 4px rgba(26,26,24,0.05), 0 24px 64px -24px rgba(26,26,24,0.18);

  /* typografi */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", "Roboto", sans-serif;
  --font-heading: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", "SF Mono", "Menlo", monospace;

  /* layout */
  --max-w: 1200px;
  --rail-w: 1280px;
  --header-h: 76px;
  --radius: 12px;
  --radius-lg: 16px;
}

/* ── reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-c);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; text-transform: inherit; }
::selection { background: var(--ink); color: var(--bone); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
h1, h2 { text-wrap: balance; }

/* ── containere & rails (attio-agtige lodrette guidelinjer) ── */
.rail {
  max-width: var(--rail-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
@media (min-width: 1080px) {
  .rail { border-left: 1px solid var(--hairline); border-right: 1px solid var(--hairline); padding: 0 40px; }
}
.container { max-width: var(--max-w); margin: 0 auto; }

/* ── mono-labels (kapitel-numre) ───────────────────────────── */
.mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.mono-label .idx { color: var(--brick); }

.chapter-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--hairline-strong);
  gap: 16px;
}

/* ── knapper ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--ink);
  color: var(--bone);
  box-shadow: inset 0 1px 0 rgba(248,246,238,0.12), 0 1px 2px rgba(26,26,24,0.2);
}
.btn-primary:hover { background: #2E2E2B; }
.btn-brick { background: var(--brick); color: var(--bone); }
.btn-brick:hover { background: #9A3C34; }
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 1px 2px rgba(26,26,24,0.05);
}
.btn-secondary:hover { border-color: var(--ash); }
.btn-ghost { color: var(--ink); height: auto; padding: 0; gap: 6px; }
.btn-ghost:hover { color: var(--brick); }
.btn-lg { height: 50px; padding: 0 28px; font-size: 16px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: color .15s ease;
}
.arrow-link .ar { transition: transform .2s ease; }
.arrow-link:hover { color: var(--brick); }
.arrow-link:hover .ar { transform: translateX(3px); }

/* ── topbanner ─────────────────────────────────────────────── */
.banner {
  background: var(--ink);
  color: var(--bone);
  font-size: 13px;
  text-align: center;
  padding: 9px 16px;
}
.banner a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(248,246,238,0.4); }
.banner a:hover { text-decoration-color: var(--bone); }
.banner .mono-label { color: rgba(248,246,238,0.6); margin-right: 8px; }

/* ── header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline-strong);
  box-shadow: 0 1px 2px rgba(26,26,24,0.04);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { background: rgba(255,255,255,0.96); box-shadow: 0 2px 12px -4px rgba(26,26,24,0.10); }
.header-inner {
  max-width: none;
  margin: 0;
  padding: 0 16px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}
.header-cta { margin-left: auto; }
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand-link img { height: 36px; }
}
@media (min-width: 1080px) { .header-inner { padding: 0 16px; } }
.brand-link { color: var(--ink); display: flex; align-items: center; }
.brand-link img { height: 26px; width: auto; margin-top: 0; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 24px; margin-right: auto; }

/* dropdown-menu (Attio-style) */
.nav-drop { position: relative; display: flex; align-items: center; }
.drop-panel {
  position: absolute; top: 100%; left: -40px;
  padding-top: 12px; display: none; z-index: 300;
}
.nav-drop:hover .drop-panel,
.nav-drop:focus-within .drop-panel { display: block; }
.drop-inner {
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow-lg);
  padding: 28px 32px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px;
  width: min(880px, calc(100vw - 64px));
}
.drop-col .drop-title {
  display: block; font-weight: 600; color: var(--ink); font-size: 13.5px;
  margin-bottom: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--hairline);
}
.drop-col .drop-title:hover { color: var(--brick); }
.drop-col a:not(.drop-title) { display: block; font-size: 13.5px; color: var(--body-c); padding: 5px 0; }
.drop-col a:not(.drop-title):hover { color: var(--brick); }
.nav-link {
  font-size: 14.5px; font-weight: 500; color: var(--body-c);
  padding: 8px 14px; border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover { background: rgba(26,26,24,0.05); color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-drop > .nav-link { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { display: inline-flex; align-items: center; justify-content: center; width: 12px; height: 12px; opacity: .65; transition: transform .2s ease, opacity .15s ease; }
.nav-caret svg { width: 12px; height: 12px; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-drop:hover .nav-caret, .nav-drop:focus-within .nav-caret { transform: rotate(180deg); opacity: 1; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { height: 38px; padding: 0 18px; font-size: 14px; }
.header-mail { font-size: 14.5px; font-weight: 500; color: var(--body-c); padding: 8px 10px; }
.header-mail:hover { color: var(--ink); }

.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; }
.burger:hover { background: rgba(26,26,24,0.05); }
.burger svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 1.8; }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--hairline);
  background: var(--bone);
  padding: 12px 24px 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 4px; font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--hairline); }
.mobile-menu .btn { margin-top: 16px; width: 100%; }

@media (max-width: 860px) {
  .site-nav, .header-cta { display: none; }
  .burger { display: flex; }
}

/* ── hero ──────────────────────────────────────────────────── */
.hero { padding: 72px 0 0; text-align: center; position: relative; overflow: hidden; }
.hero-quote {
  max-width: 560px; margin: 0 auto 40px;
  font-family: Georgia, "IBM Plex Serif", serif;
  font-style: italic;
  font-size: 15.5px;
  color: var(--slate);
  text-transform: none;
}
.hero-quote .who { display: block; margin-top: 8px; font-family: var(--font-mono); font-style: normal; font-size: 11.5px; letter-spacing: 0.06em; text-transform: lowercase; }
.hero h1 {
  font-size: clamp(42px, 7vw, 78px);
  max-width: 900px;
  margin: 0 auto 24px;
}
.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--body-c);
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-family: var(--font-mono); font-size: 12px; color: var(--slate); }

/* hero-mockup (app-vindue) */
.hero-app {
  margin: 64px auto 88px;
  max-width: 1200px;
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow-lg);
  overflow: hidden;
  text-align: left;
}
.app-titlebar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--hairline);
  background: var(--bone);
}
.app-titlebar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--linen); border: 1px solid var(--hairline); }
.app-titlebar .app-url {
  margin: 0 auto;
  font-family: var(--font-mono); font-size: 11px; color: var(--slate);
  background: var(--paper); border: 1px solid var(--hairline);
  padding: 3px 14px; border-radius: 6px;
}
.app-body { display: grid; grid-template-columns: 200px 1fr; min-height: 460px; }
.app-side {
  border-right: 1px solid var(--hairline);
  padding: 16px 10px;
  background: var(--linen);
  font-size: 13px;
}
.app-side .sec { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--ash); padding: 12px 10px 6px; }
.app-side .it {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 7px; color: var(--body-c); font-weight: 500;
  cursor: pointer; user-select: none;
  transition: background .15s ease, color .15s ease;
}
.app-side .it:hover { background: rgba(26,26,24,0.04); color: var(--ink); }
.app-side .it svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.7; fill: none; opacity: .75; }
.app-side .it.on { background: rgba(26,26,24,0.06); color: var(--ink); }
.app-side .it .badge { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--brick); }
.app-main { padding: 22px 24px; display: flex; flex-direction: column; }
.app-pane { display: none; }
.app-pane.on { display: flex; flex-direction: column; flex: 1; animation: fadeup .3s ease; }
.app-pane .m-foot { margin-top: auto; padding-top: 14px; }
.app-pane .m-row { padding: 11px 12px; }
.app-pane .app-split { flex: 1; }
.app-greet { font-family: var(--font-heading); font-weight: 500; font-size: 20px; color: var(--ink); margin-bottom: 16px; }
.app-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.app-metric {
  border: 1px solid var(--hairline); border-radius: 10px; padding: 14px;
  background: var(--paper);
}
.app-metric .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; color: var(--slate); }
.app-metric .v { font-family: var(--font-heading); font-weight: 500; font-size: 24px; color: var(--ink); margin-top: 4px; }
.app-metric .d { font-family: var(--font-mono); font-size: 10.5px; color: var(--brick); margin-top: 2px; }
.app-metric .d.pos { color: #4A7A4E; }
.app-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.app-panel { border: 1px solid var(--hairline); border-radius: 10px; padding: 14px; background: var(--paper); }
.app-panel .ph { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; color: var(--slate); margin-bottom: 10px; }
.app-chart svg { width: 100%; height: auto; }
.flow-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid var(--hairline); font-size: 12.5px; color: var(--body-c); }
.flow-row:first-of-type { border-top: none; }
.flow-row .st { width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; flex-shrink: 0; background: rgba(74,122,78,.12); color: #4A7A4E; }
.flow-row .st.wait { background: var(--linen); color: var(--slate); }
.flow-row .t { font-family: var(--font-mono); font-size: 10px; color: var(--ash); margin-left: auto; }
@media (max-width: 820px) {
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-cards, .app-split { grid-template-columns: 1fr; }
}

/* ── logo-/stack-strip (marquee) ───────────────────────────── */
.strip { border-top: 1px solid var(--hairline-strong); background: var(--paper); padding: 26px 0; overflow: hidden; }
.strip-label { text-align: center; margin-bottom: 18px; }
.marquee { display: flex; overflow: hidden; user-select: none; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex-shrink: 0; align-items: center; gap: 56px; padding-right: 56px; animation: marquee 36s linear infinite; }
@keyframes marquee { to { transform: translateX(-100%); } }
.stack-item { font-family: var(--font-mono); font-size: 15px; color: var(--slate); white-space: nowrap; display: flex; align-items: center; gap: 9px; }
.stack-item::before { content: "▪"; font-size: 8px; color: var(--ash); }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { flex-wrap: wrap; justify-content: center; }
}

/* ── sektioner ─────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-tight { padding: 36px 0 72px; }
.section-title {
  font-size: clamp(32px, 4.6vw, 52px);
  max-width: 760px;
  margin: 28px 0 16px;
}
.section-sub { font-size: 18px; max-width: 620px; color: var(--body-c); }
.bg-paper { background: var(--paper); }
.bg-linen { background: var(--linen); }
.bg-ink { background: var(--ink); }

/* ── feature-kort (attio-style store cards) ────────────────── */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.feature-card {
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.feature-card:hover { box-shadow: var(--card-shadow-lg); transform: translateY(-2px); }
.feature-card.span-2 { grid-column: span 2; }
.fc-text { padding: 32px 32px 20px; }
.fc-text .mono-label { display: block; margin-bottom: 14px; }
.fc-text h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 10px; }
.fc-text p { max-width: 560px; font-size: 15.5px; }
.fc-text .arrow-link { margin-top: 14px; }
.fc-visual { margin-top: auto; padding: 20px 32px 28px; }
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.span-2 { grid-column: span 1; }
  .fc-text, .fc-visual { padding-left: 22px; padding-right: 22px; }
}

/* mock-vinduer inde i feature-cards */
.mock {
  background: var(--bone);
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  padding: 14px;
  font-size: 12.5px;
  box-shadow: var(--card-shadow);
}
.mock-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: var(--slate); margin-bottom: 12px; }
.mock-head .live { display: inline-flex; align-items: center; gap: 5px; }
.mock-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brick); animation: pulse-dot 2s ease infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.mock-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--paper); border: 1px solid var(--hairline-strong);
  border-radius: 8px; padding: 8px 12px; margin-bottom: 10px;
  font-size: 13px; color: var(--ink);
}
.mock-search .hint { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--ash); }

.m-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--hairline);
  border-radius: 8px; padding: 8px 10px; margin-bottom: 6px;
}
.m-row .thumb {
  width: 30px; height: 30px; border-radius: 6px; flex-shrink: 0;
  background: var(--linen);
  display: flex; align-items: center; justify-content: center; color: var(--slate);
}
.m-row .thumb svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.7; fill: none; }
.m-row .nm { font-weight: 500; color: var(--ink); font-size: 12.5px; line-height: 1.3; }
.m-row .mt { font-family: var(--font-mono); font-size: 10px; color: var(--slate); }
.m-row .score {
  margin-left: auto; font-family: var(--font-mono); font-size: 10.5px;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(176,71,62,.10); color: var(--brick);
}
.m-row .score.mid { background: var(--linen); color: var(--body-c); }

.m-bars { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--hairline); }
.m-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.m-bar .lab { font-family: var(--font-mono); font-size: 10px; color: var(--slate); width: 74px; flex-shrink: 0; }
.m-bar .track { flex: 1; height: 4px; background: var(--linen); border-radius: 999px; overflow: hidden; }
.m-bar .fill { display: block; height: 100%; width: var(--w, 50%); background: var(--ash); border-radius: 999px; transform-origin: left; animation: grow .8s ease both; }
.m-bar.hot .fill { background: var(--brick); }
.m-bar .v { font-family: var(--font-mono); font-size: 10px; color: var(--slate); width: 36px; text-align: right; flex-shrink: 0; }
@keyframes grow { from { transform: scaleX(0); } }

.m-foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hairline); font-family: var(--font-mono); font-size: 10px; color: var(--slate); }

/* tabs (attio-style pills i feature cards) */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tab {
  font-size: 12.5px; font-weight: 500;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--hairline-strong); color: var(--body-c);
  transition: all .15s ease;
}
.tab:hover { border-color: var(--ash); }
.tab.on { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.tabpane { display: none; }
.tabpane.on { display: block; animation: fadeup .35s ease; }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } }

/* ── midt-CTA bånd ─────────────────────────────────────────── */
.cta-band { text-align: center; padding: 88px 24px; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 48px); max-width: 640px; margin: 0 auto 14px; }
.cta-band p { max-width: 520px; margin: 0 auto 30px; }
.cta-band .hero-ctas { margin-bottom: 14px; }

/* ── metode / 3 trin ───────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.step-card {
  background: var(--paper); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex; flex-direction: column;
  position: relative;
}
.step-card .mono-label { margin-bottom: 18px; }
.step-card h3 { font-size: 24px; margin-bottom: 4px; }
.step-card .price { font-family: var(--font-mono); font-size: 13px; color: var(--brick); margin-bottom: 14px; }
.step-card p { font-size: 15px; margin-bottom: 16px; }
.step-card ul { list-style: none; margin-top: auto; }
.step-card li {
  font-size: 14px; padding: 8px 0 8px 24px; border-top: 1px solid var(--hairline);
  position: relative; color: var(--body-c);
}
.step-card li::before { content: "✓"; position: absolute; left: 2px; color: var(--slate); font-size: 12px; }
.step-card.featured { border-color: var(--ink); }
.step-card.featured::after {
  content: "her betaler du først"; position: absolute; top: -11px; right: 20px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em;
  background: var(--ink); color: var(--bone); padding: 3px 10px; border-radius: 999px;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ── stats ─────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline-strong); border: 1px solid var(--hairline-strong); border-radius: var(--radius-lg); overflow: hidden; margin-top: 48px; }
.stat { background: var(--paper); padding: 34px 26px; }
.stat .num { font-family: var(--font-heading); font-weight: 500; font-size: clamp(34px, 4vw, 52px); color: var(--ink); line-height: 1; }
.stat .num .unit { font-size: .55em; color: var(--slate); }
.stat .lab { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .07em; color: var(--slate); margin-top: 10px; display: block; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ── tillid / compliance ───────────────────────────────────── */
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-badge {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em;
  border: 1px solid var(--hairline-strong); border-radius: 999px;
  padding: 8px 16px; color: var(--body-c); background: var(--paper);
  display: inline-flex; align-items: center; gap: 8px;
}
.trust-badge::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--ash); }

/* ── quote-kort ────────────────────────────────────────────── */
.quote-card {
  background: var(--linen); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); padding: 44px;
  font-family: Georgia, "IBM Plex Serif", serif;
  font-size: clamp(19px, 2.4vw, 25px); line-height: 1.45; color: var(--ink);
  text-transform: none; font-style: italic;
  margin-top: 48px;
}
.quote-card .who {
  display: block; margin-top: 20px;
  font-family: var(--font-mono); font-style: normal;
  font-size: 12px; letter-spacing: .06em; color: var(--slate); text-transform: lowercase;
}

/* ── slut-statement ────────────────────────────────────────── */
.finale { text-align: center; padding: 120px 24px 100px; }
.finale h2 { font-size: clamp(38px, 6vw, 68px); max-width: 820px; margin: 0 auto 20px; }
.finale p { max-width: 680px; margin: 0 auto 34px; font-size: 17px; }

/* mørk finale (ink-baggrund) */
.bg-ink .finale h2 { color: var(--bone); }
.bg-ink .finale p { color: var(--ash); }
.bg-ink .finale .hero-note { color: var(--slate); }
.bg-ink .btn-primary { background: var(--bone); color: var(--ink); }
.bg-ink .btn-primary:hover { background: var(--paper); }
.bg-ink .btn-secondary { background: transparent; color: var(--bone); border-color: rgba(248,246,238,0.25); }
.bg-ink .btn-secondary:hover { border-color: rgba(248,246,238,0.5); }

/* feature-links (chips på forside-kort) */
.feat-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.feat-links a {
  font-size: 12.5px; font-weight: 500;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--hairline-strong); color: var(--body-c);
  background: var(--paper);
  transition: all .15s ease;
}
.feat-links a:hover { border-color: var(--ink); color: var(--ink); }

/* ── footer ────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--ash); font-size: 14px; }
.footer-inner { max-width: var(--rail-w); margin: 0 auto; padding: 72px 24px 40px; }
@media (min-width: 1080px) { .footer-inner { padding-left: 40px; padding-right: 40px; } }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(248,246,238,0.10); }
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand p { max-width: 280px; color: var(--slate); font-size: 13.5px; }
.footer-col h3, .footer-col h4 {
  font-family: var(--font-mono); font-variation-settings: normal;
  font-size: 11px; letter-spacing: .1em; color: var(--slate);
  margin-bottom: 16px; font-weight: 400;
}
.footer-col a { display: block; padding: 5px 0; color: var(--ash); transition: color .15s ease; }
.footer-col a:hover { color: var(--bone); }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-family: var(--font-mono); font-size: 11.5px; color: var(--slate); }
.footer-meta a { color: var(--slate); }
.footer-meta a:hover { color: var(--bone); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ── scroll-reveal ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── indholdssider (juridisk, om) ──────────────────────────── */
.page-hero { padding: 52px 0 24px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 64px); margin: 20px 0 18px; }
.page-hero .lead { font-size: 18px; max-width: 640px; }
.prose { max-width: 720px; padding-bottom: 96px; }
.prose h2 { font-size: 26px; margin: 44px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--brick); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(176,71,62,.35); }
.prose a:hover { text-decoration-color: var(--brick); }
.prose strong { color: var(--ink); font-weight: 600; }
.summary-box {
  background: var(--paper); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg); padding: 26px 28px; margin: 28px 0;
  box-shadow: var(--card-shadow);
}
.summary-box .mono-label { display: block; margin-bottom: 12px; }
.summary-box ul { list-style: none; margin: 0; }
.summary-box li { padding: 8px 0; border-top: 1px solid var(--hairline); font-size: 14.5px; }
.summary-box li:first-child { border-top: none; }

/* domæne-sektioner på løsninger-siden */
.domain { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; padding: 64px 0; border-top: 1px solid var(--hairline-strong); align-items: start; scroll-margin-top: calc(var(--header-h) + 16px); }
.domain.flip .d-visual { order: -1; }
.domain h3 { font-size: clamp(24px, 3vw, 32px); margin: 12px 0 10px; }
.domain .d-visual { position: static; }
@media (max-width: 860px) {
  .domain { grid-template-columns: 1fr; gap: 28px; }
  .domain.flip .d-visual { order: 0; }
  .domain .d-visual { position: static; }
}

/* klikbar feature-liste (venstre kolonne, Attio-style: alle med beskrivelse) */
.feat-list { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.feat-item {
  display: block; width: 100%; text-align: left;
  padding: 13px 16px 13px 38px;
  border: 1px solid transparent; border-radius: 10px;
  position: relative; font-size: 15px; font-weight: 600; color: var(--ink);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.feat-item::before { content: "→"; position: absolute; left: 14px; top: 14px; color: var(--ash); font-size: 13px; transition: color .15s ease, transform .15s ease; }
.feat-item { scroll-margin-top: calc(var(--header-h) + 24px); }
.feat-item:hover { background: rgba(26,26,24,0.03); }
.feat-item.on {
  background: var(--paper);
  border-color: var(--hairline-strong);
  box-shadow: var(--card-shadow);
}
.feat-item.on::before { color: var(--brick); transform: translateX(2px); }
.feat-item .fd {
  display: block; font-size: 13.5px; font-weight: 400; color: var(--slate);
  margin-top: 4px; line-height: 1.5;
}
.feat-item.on .fd { color: var(--body-c); }

/* fritstående mock-kort (fuld ramme, til løsninger-siden) */
.mock.full {
  border-radius: var(--radius);
  border-bottom: 1px solid var(--hairline);
  box-shadow: var(--card-shadow-lg);
  background: var(--paper);
  min-height: 400px;
  display: flex;
  flex-direction: column;
}
.mock.full .m-foot { margin-top: auto; }
.mock.full .m-row { padding: 12px 12px; }
.mock.full .m-kv { padding: 11px 4px; }
.mock.full .m-chart svg, .mock.full .m-doc { flex-shrink: 0; }
.mock.full .m-row { background: var(--bone); }
.mock.full .mock-search { background: var(--bone); }

/* chips (facetter / filtre) */
.m-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.m-chip {
  font-family: var(--font-mono); font-size: 10.5px;
  border: 1px solid var(--hairline-strong); border-radius: 999px;
  padding: 3px 10px; color: var(--body-c); background: var(--bone);
}
.m-chip.on { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* system-integration (bokse + pile) */
.m-sys-row { display: flex; align-items: center; gap: 8px; margin: 6px 0 12px; flex-wrap: wrap; }
.m-sys {
  flex: 1; min-width: 90px;
  border: 1px solid var(--hairline-strong); border-radius: 8px;
  padding: 9px 11px; background: var(--bone); text-align: center;
}
.m-sys .sn { font-weight: 600; font-size: 12px; color: var(--ink); }
.m-sys .ss { font-family: var(--font-mono); font-size: 9.5px; color: var(--slate); margin-top: 1px; }
.m-sys-arrow { font-family: var(--font-mono); font-size: 13px; color: var(--ash); flex-shrink: 0; }

/* api-status */
.m-status { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hairline); font-family: var(--font-mono); font-size: 10px; color: var(--slate); }
.m-status .ok { display: inline-flex; align-items: center; gap: 5px; }
.m-status .ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4A7A4E; }

/* key-value udtræk (ocr) */
.m-kv { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--hairline); font-size: 12.5px; }
.m-kv .kl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em; color: var(--slate); width: 92px; flex-shrink: 0; }
.m-kv .kx { font-weight: 500; color: var(--ink); }
.m-kv .kc { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--slate); }
.m-kv .kc.hi { color: #4A7A4E; }

/* dokument-preview m. scan-linje */
.m-doc {
  position: relative; overflow: hidden;
  border: 1px solid var(--hairline-strong); border-radius: 8px;
  background: var(--paper); padding: 12px 14px; margin-bottom: 12px;
}
.m-doc .dl { height: 7px; border-radius: 3px; background: var(--linen); margin: 7px 0; }
.m-doc .dl.w60 { width: 60%; } .m-doc .dl.w80 { width: 80%; } .m-doc .dl.w45 { width: 45%; } .m-doc .dl.w70 { width: 70%; }
.m-doc .dl.hl { background: rgba(176,71,62,.22); }
.m-doc .scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brick), transparent);
  animation: scan 3s ease-in-out infinite;
}
@keyframes scan { 0%,100% { top: 8%; } 50% { top: 88%; } }
@media (prefers-reduced-motion: reduce) { .m-doc .scanline { animation: none; } }

/* alert-række (anomali) */
.m-alert {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(176,71,62,.35); border-radius: 8px;
  background: rgba(176,71,62,.06); padding: 8px 10px; margin-bottom: 6px;
  font-size: 12.5px;
}
.m-alert .ai {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: rgba(176,71,62,.14); color: var(--brick);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px;
}
.m-alert .nm { font-weight: 500; color: var(--ink); font-size: 12.5px; }
.m-alert .mt { font-family: var(--font-mono); font-size: 10px; color: var(--slate); }
.m-alert .z { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; color: var(--brick); }

/* mini-chart wrapper */
.m-chart { border: 1px solid var(--hairline); border-radius: 8px; background: var(--paper); padding: 10px 12px 6px; margin-bottom: 10px; }
.m-chart .ch { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; color: var(--slate); margin-bottom: 6px; }
.m-chart svg { width: 100%; height: auto; }

/* om-siden */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.about-card { background: var(--paper); border: 1px solid var(--hairline-strong); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--card-shadow); }
.about-card h3 { font-size: 21px; margin: 14px 0 8px; }
.about-card p { font-size: 15px; }
.about-card.span-2 { grid-column: span 2; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-card.span-2 { grid-column: span 1; } }

/* om-siden: hero med portræt */
.about-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.portrait-frame {
  position: relative; width: 100%; max-width: 360px; aspect-ratio: 4 / 5;
  justify-self: end;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--hairline-strong); background: var(--linen);
  box-shadow: var(--card-shadow-lg);
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait-ph {
  display: none; position: absolute; inset: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--slate); border: 2px dashed var(--ash); border-radius: 12px;
  font-size: 14px; text-align: center; padding: 16px;
}
.portrait-ph svg { width: 44px; height: 44px; stroke: var(--ash); fill: none; stroke-width: 1.4; }
.portrait-frame.empty .portrait-ph { display: flex; }
@media (max-width: 860px) {
  .about-hero { grid-template-columns: 1fr; gap: 28px; }
  .portrait-frame { justify-self: start; }
}

/* 404 */
.err { text-align: center; padding: 140px 24px; }
.err .code { font-family: var(--font-mono); font-size: 13px; color: var(--brick); letter-spacing: .1em; }
.err h1 { font-size: clamp(44px, 8vw, 90px); margin: 14px 0 16px; }
.err p { margin-bottom: 30px; }

/* ── mini-grid (forsidens løsningsoverblik) ────────────────── */
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.feature-card:not(.span-2) .mini-grid { grid-template-columns: repeat(2, 1fr); }
.mini {
  display: block; background: var(--bone);
  border: 1px solid var(--hairline-strong); border-radius: 10px;
  padding: 13px 14px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.mini:hover { border-color: var(--ash); transform: translateY(-2px); box-shadow: var(--card-shadow); }
.mini .mk { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; color: var(--slate); }
.mini .mk .arr { color: var(--ash); transition: color .15s ease, transform .15s ease; }
.mini:hover .mk .arr { color: var(--brick); transform: translateX(2px); }
.mini .mv { display: block; font-family: var(--font-heading); font-weight: 500; font-size: 20px; color: var(--ink); margin-top: 7px; line-height: 1.1; }
.mini .ms { display: block; font-size: 11.5px; color: var(--slate); margin-top: 3px; line-height: 1.4; }
@media (max-width: 860px) {
  .mini-grid, .feature-card:not(.span-2) .mini-grid { grid-template-columns: 1fr 1fr; }
}

/* ── interaktiv-badge på app-mockup ────────────────────────── */
.app-titlebar { position: relative; }
.app-live-badge {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em;
  color: var(--brick); display: inline-flex; align-items: center; gap: 6px;
}
.app-live-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brick); animation: pulse-dot 2s ease infinite; }

/* ── tema-toggle ───────────────────────────────────────────── */
.theme-toggle {
  width: 38px; height: 38px; border-radius: 999px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline-strong); color: var(--body-c); background: transparent;
  transition: color .15s ease, border-color .15s ease;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ash); }
.theme-toggle svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.theme-toggle .ic-sun { display: none; }
[data-theme="dark"] .theme-toggle .ic-sun { display: block; }
[data-theme="dark"] .theme-toggle .ic-moon { display: none; }

/* ── gratis demo-formular ──────────────────────────────────── */
.demo-form {
  display: grid; grid-template-columns: 1.2fr 1.2fr auto; gap: 14px 18px; align-items: end;
  background: transparent; border: none; border-top: 1px solid var(--hairline-strong);
  border-radius: 0; box-shadow: none;
  padding: 28px 0 0;
}
.df-field label {
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .06em; color: var(--slate); margin-bottom: 6px;
}
.df-field input {
  width: 100%; font: inherit; font-size: 14.5px;
  padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--hairline-strong); background: var(--bone); color: var(--ink);
  outline: none; transition: border-color .15s ease;
}
.df-field input:focus { border-color: var(--ash); }
.df-field input.err { border-color: var(--brick); }
.demo-form .btn { height: 44px; padding: 0 22px; white-space: nowrap; }
.df-note { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 11px; color: var(--slate); margin: 0; }
.df-note a { color: var(--brick); }
.df-done { grid-column: 1 / -1; font-size: 14px; font-weight: 500; color: #4A7A4E; margin: 0; }
.df-done[hidden] { display: none; }
[data-theme="dark"] .df-done { color: #7FAF83; }
@media (max-width: 800px) {
  .demo-form { grid-template-columns: 1fr; align-items: stretch; }
  .demo-form .btn { width: 100%; }
}

/* ── cookie-banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 500;
  display: flex; justify-content: flex-start; pointer-events: none;
  max-width: 380px;
}
.cookie-banner[hidden] { display: none; }
.cb-inner {
  pointer-events: auto;
  background: var(--paper); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg); box-shadow: var(--card-shadow-lg);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.cb-inner p { font-size: 13.5px; margin: 0; }
.cb-actions { display: flex; gap: 8px; }
.cb-actions .btn { height: 36px; padding: 0 16px; font-size: 13.5px; }

/* ── dark mode ─────────────────────────────────────────────── */
[data-theme="dark"] {
  --bone:  #171716;
  --paper: #1F1F1D;
  --linen: #26251F;
  --ash:   #5A574E;
  --slate: #98958B;
  --ink:   #F2F0E7;
  --body-c:#C9C6BC;
  --brick: #D67462;
  --hairline: rgba(242,240,231,0.10);
  --hairline-strong: rgba(242,240,231,0.17);
  --card-shadow: 0 1px 2px rgba(0,0,0,0.35), 0 8px 24px -12px rgba(0,0,0,0.5);
  --card-shadow-lg: 0 2px 4px rgba(0,0,0,0.4), 0 24px 64px -24px rgba(0,0,0,0.6);
}
[data-theme="dark"] .site-header { background: rgba(23,23,22,0.88); box-shadow: 0 1px 2px rgba(0,0,0,0.3); }
[data-theme="dark"] .site-header.scrolled { background: rgba(23,23,22,0.96); }
[data-theme="dark"] .brand-link img { filter: invert(1) hue-rotate(180deg); }
[data-theme="dark"] ::selection { background: #F2F0E7; color: #171716; }
[data-theme="dark"] .btn-primary { background: #F2F0E7; color: #171716; box-shadow: none; }
[data-theme="dark"] .btn-primary:hover { background: #FFFFFF; }
[data-theme="dark"] .btn-secondary { background: transparent; }
[data-theme="dark"] .btn-brick { color: #171716; }
[data-theme="dark"] .btn-brick:hover { background: #C2604E; }
[data-theme="dark"] .dc-form button { color: #171716; }
[data-theme="dark"] .dc-form button:hover { background: #C2604E; }
[data-theme="dark"] .nav-link:hover { background: rgba(242,240,231,0.08); }
[data-theme="dark"] .app-side .it.on { background: rgba(242,240,231,0.09); color: var(--ink); }
[data-theme="dark"] .app-side .it:hover { background: rgba(242,240,231,0.05); color: var(--ink); }
[data-theme="dark"] .feat-item:hover { background: rgba(242,240,231,0.05); }
[data-theme="dark"] .site-footer { background: #111110; }
[data-theme="dark"] .site-footer, [data-theme="dark"] .footer-col a, [data-theme="dark"] .footer-brand p { color: #A5A29A; }
[data-theme="dark"] .footer-col a:hover { color: #F2F0E7; }
[data-theme="dark"] .bg-ink { background: #111110; }
[data-theme="dark"] .bg-ink .finale h2 { color: #F2F0E7; }
[data-theme="dark"] .bg-ink .finale p { color: #A5A29A; }
[data-theme="dark"] .bg-ink .btn-primary { background: #F2F0E7; color: #111110; }
[data-theme="dark"] .bg-ink .btn-secondary { color: #F2F0E7; border-color: rgba(242,240,231,0.28); }
[data-theme="dark"] .bg-ink .btn-secondary:hover { border-color: rgba(242,240,231,0.55); }
[data-theme="dark"] svg [stroke="#1A1A18"] { stroke: #F2F0E7; }
[data-theme="dark"] svg [stroke="#B0ACA1"] { stroke: #5A574E; }
[data-theme="dark"] svg text[fill="#7A7770"] { fill: #98958B; }
[data-theme="dark"] .m-alert { background: rgba(176,71,62,0.16); border-color: rgba(224,139,130,0.35); }
[data-theme="dark"] .m-alert .nm, [data-theme="dark"] .m-alert .z { color: #D67462; }
[data-theme="dark"] .m-row .score { background: rgba(176,71,62,0.22); color: #D67462; }
[data-theme="dark"] .m-row .score.mid { background: var(--linen); color: var(--body-c); }
[data-theme="dark"] .mock-head .live::before, [data-theme="dark"] .app-live-badge::before { background: #D67462; }
[data-theme="dark"] .app-live-badge, [data-theme="dark"] .mono-label .idx, [data-theme="dark"] .price, [data-theme="dark"] .err .code { color: #D67462; }
[data-theme="dark"] .feat-item.on::before, [data-theme="dark"] .domain .dlist li::before { color: #D67462; }
[data-theme="dark"] .arrow-link:hover, [data-theme="dark"] .drop-col a:not(.drop-title):hover, [data-theme="dark"] .drop-col .drop-title:hover { color: #D67462; }
[data-theme="dark"] .mini:hover .mk .arr { color: #D67462; }
[data-theme="dark"] .prose a { color: #D67462; text-decoration-color: rgba(224,139,130,0.4); }

/* ── demo-chat (spørg dataen) ──────────────────────────────── */
.demo-chat {
  margin-top: 12px;
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  padding: 13px 14px;
}
.dc-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em;
  color: var(--slate); margin-bottom: 10px;
}
.dc-head .live { display: inline-flex; align-items: center; gap: 5px; color: var(--slate); }
.dc-head .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brick); animation: pulse-dot 2s ease infinite; }
/* collapsible "spørg data'en" trigger */
.dc-toggle {
  width: 100%; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em;
  color: var(--slate); background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
}
.dc-toggle .live { display: inline-flex; align-items: center; gap: 5px; color: var(--body-c); font-weight: 500; }
.dc-toggle .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brick); animation: pulse-dot 2s ease infinite; }
.dc-toggle .dc-hint { color: var(--slate); }
.dc-toggle:hover .live { color: var(--brick); }
.dc-toggle .dc-chevron { margin-left: auto; position: relative; width: 11px; height: 11px; flex-shrink: 0; }
.dc-toggle .dc-chevron::before, .dc-toggle .dc-chevron::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--slate); transition: transform .2s ease;
}
.dc-toggle .dc-chevron::before { width: 11px; height: 1.5px; transform: translate(-50%,-50%); }
.dc-toggle .dc-chevron::after  { width: 1.5px; height: 11px; transform: translate(-50%,-50%); }
.demo-chat.dc-open .dc-chevron::after { transform: translate(-50%,-50%) scaleY(0); }
.dc-body { display: none; margin-top: 12px; }
.demo-chat.dc-open .dc-body { display: block; }
@media (max-width: 560px) { .dc-toggle .dc-hint { display: none; } }
.dc-log { max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.dc-msg {
  max-width: 88%; padding: 9px 13px; border-radius: 12px;
  font-size: 13px; line-height: 1.5;
}
.dc-msg.bot { align-self: flex-start; background: var(--bone); border: 1px solid var(--hairline); color: var(--body-c); border-bottom-left-radius: 4px; }
.dc-msg.user { align-self: flex-end; background: var(--ink); color: var(--bone); border-bottom-right-radius: 4px; }
[data-theme="dark"] .dc-msg.user { background: #F2F0E7; color: #171716; }
.dc-msg.typing { color: var(--slate); letter-spacing: 2px; }
.dc-suggest { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dc-suggest button {
  font-size: 12px; font-weight: 500; text-align: left;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--hairline-strong); color: var(--body-c); background: var(--bone);
  transition: all .15s ease;
}
.dc-suggest button:hover { border-color: var(--brick); color: var(--brick); }
.dc-form { display: flex; gap: 8px; margin-top: 10px; }
.dc-form input {
  flex: 1; font: inherit; font-size: 13.5px;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: var(--bone); color: var(--ink);
  outline: none;
}
.dc-form input:focus { border-color: var(--ash); }
.dc-form input::placeholder { color: var(--slate); }
.dc-form button {
  width: 38px; height: 38px; border-radius: 999px; flex-shrink: 0;
  background: var(--brick); color: #FBFAF5; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.dc-form button:hover { background: #9A3C34; }

/* ── value page (vaerdi.html) ──────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 26px; }
.stat-card {
  background: var(--paper); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg); box-shadow: var(--card-shadow);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-lg); }
.stat-num {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(34px, 4.4vw, 46px); line-height: 1; letter-spacing: -0.02em;
  color: var(--brick);
}
.stat-num .u { font-size: 0.42em; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.stat-desc { font-size: 14px; line-height: 1.6; color: var(--body-c); }
.stat-desc strong { color: var(--ink); font-weight: 600; }
.stat-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.stat-src { margin-top: auto; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--slate); padding-top: 6px; align-self: flex-start; }
a.stat-src { text-decoration: underline; text-decoration-color: var(--hairline-strong); text-underline-offset: 3px; transition: color .15s ease, text-decoration-color .15s ease; }
a.stat-src:hover { color: var(--brick); text-decoration-color: currentColor; }
.stat-card.span-2 { grid-column: span 2; }
@media (max-width: 720px) { .stat-card.span-2 { grid-column: auto; } }

.sources { margin-top: 22px; }
.sources ol { list-style: none; counter-reset: s; display: grid; gap: 8px; padding: 0; }
.sources li { counter-increment: s; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.55; color: var(--slate); padding-left: 28px; position: relative; }
.sources li::before { content: counter(s); position: absolute; left: 0; top: 0; opacity: .6; }
.sources a { color: var(--slate); text-decoration: underline; text-decoration-color: var(--hairline-strong); text-underline-offset: 2px; }
.sources a:hover { color: var(--brick); }

/* ── forside-demo (console) ────────────────────────────────── */
.cd-main { display: flex; flex-direction: column; }
.cd-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--hairline); }
.cd-title { font-family: var(--font-heading); font-weight: 600; font-size: 14px; color: var(--ink); }
.cd-actions { display: flex; gap: 6px; }
.cd-btn { font-size: 11.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--hairline-strong); color: var(--body-c); background: var(--paper); cursor: pointer; }
.cd-btn:hover { color: var(--ink); border-color: var(--ash); }
.cd-btn.brick { background: var(--brick); border-color: var(--brick); color: #fff; }
.cd-btn.brick:hover { opacity: .9; }
#cd-root { padding: 14px 16px 18px; }
#cd-side .it i, #cd-side .it svg { width: 14px; height: 14px; }
.cd-chatlog { max-height: 190px; overflow-y: auto; display: flex; flex-direction: column; gap: 7px; margin-bottom: 10px; }
.cd-b { max-width: 85%; font-size: 12px; line-height: 1.45; padding: 8px 11px; border-radius: 11px; }
.cd-b.user { align-self: flex-end; background: var(--ink); color: var(--bone); border-bottom-right-radius: 3px; }
.cd-b.bot { align-self: flex-start; background: var(--linen); color: var(--body-c); border-bottom-left-radius: 3px; }
.cd-src { display: block; margin-top: 5px; font-family: var(--font-mono); font-size: 9.5px; color: var(--slate); }
.cd-src::before { content: "› "; }
.cd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cd-chip { font-size: 11px; font-weight: 500; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--hairline-strong); background: var(--paper); color: var(--slate); cursor: pointer; text-align: left; }
.cd-chip:hover { color: var(--ink); border-color: var(--ash); }
.cd-set-row { display: flex; gap: 8px; flex-wrap: wrap; }
.cd-choice { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--hairline-strong); background: var(--paper); color: var(--body-c); cursor: pointer; }
.cd-choice.on { border-color: var(--brick); color: var(--ink); box-shadow: 0 0 0 1px var(--brick); }
.cd-choice.flag svg { width: 20px; height: 14px; border-radius: 2px; display: block; }
/* scoped dark mode: kun demoen skifter */
#console-demo.cd-dark {
  --bone: #171716; --paper: #1F1F1D; --linen: #26251F;
  --ash: #5A574E; --slate: #98958B; --ink: #F2F0E7; --body-c: #C9C6BC;
  --hairline: rgba(242,240,231,0.10); --hairline-strong: rgba(242,240,231,0.17);
}
#console-demo.cd-dark .app-body, #console-demo.cd-dark .app-main { background: var(--bone); }
#console-demo.cd-dark .app-side { background: var(--linen); }
#console-demo.cd-dark .app-titlebar { background: var(--paper); border-color: var(--hairline-strong); }
/* demoens lyse tilstand er ogsaa laast, uafhaengigt af sitets tema */
#console-demo.cd-light {
  --bone: #FBFAF5; --paper: #FFFFFF; --linen: #F1EEE4;
  --ash: #B0ACA1; --slate: #7A7770; --ink: #1A1A18; --body-c: #4A4843;
  --hairline: rgba(26,26,24,0.10); --hairline-strong: rgba(26,26,24,0.16);
}
#console-demo.cd-light .app-body, #console-demo.cd-light .app-main { background: var(--bone); }
#console-demo.cd-light .app-side { background: var(--linen); }
#console-demo.cd-light .app-titlebar { background: var(--paper); border-color: var(--hairline-strong); }

/* ── løsninger: feature-visuals i dashboard-look (lv-) ─────── */
.lv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.lv-kpi { background: var(--bone); border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.lv-kpi .k { display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lv-kpi .v { display: block; font-family: var(--font-heading); font-weight: 500; font-size: 20px; line-height: 1.15; color: var(--ink); margin-top: 3px; }
.lv-kpi .d { display: block; font-family: var(--font-mono); font-size: 9.5px; color: var(--slate); margin-top: 2px; }
.lv-kpi .d.pos { color: #4A7A4E; }
.lv-kpi .d.neg { color: var(--brick); }
[data-theme="dark"] .lv-kpi .d.pos { color: #7FAF83; }
.lv-panel { background: var(--bone); border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.lv-ph { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; color: var(--slate); margin-bottom: 8px; }
.lv-panel .m-row { background: var(--paper); margin-bottom: 5px; }
.lv-panel .m-row:last-child { margin-bottom: 0; }
.lv-panel .m-alert { margin-bottom: 5px; }
.lv-panel .m-alert:last-child { margin-bottom: 0; }
.lv-panel .m-bars { margin-top: 0; padding-top: 0; border-top: none; }
.lv-panel .m-bar:last-child { margin-bottom: 0; }
.lv-panel .m-bar .v { width: 64px; }
.lv-panel .mock-search { background: var(--paper); margin-bottom: 8px; }
.lv-panel .m-doc { margin-bottom: 0; background: var(--paper); }
.lv-panel .m-kv:last-child { border-bottom: none; }
.lv-panel .m-chips { margin: 0; }
.lv-panel .m-chip { background: var(--paper); }
.lv-panel .m-chip.on { background: var(--ink); }
.lv-viz { display: grid; grid-template-columns: 104px 1fr; gap: 14px; align-items: center; }
.lv-viz svg { width: 104px; height: 104px; }
.lv-legend { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lv-li { display: flex; align-items: center; gap: 7px; font-size: 11.5px; line-height: 1.35; color: var(--body-c); min-width: 0; }
.lv-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.lv-lv { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--slate); padding-left: 8px; }
.lv-chart svg { width: 100%; height: auto; }
.mock.full .lv-chart, .mock.full .lv-viz, .mock.full .lv-kpis { flex-shrink: 0; }
@media (max-width: 560px) {
  .lv-kpis { grid-template-columns: 1fr 1fr; }
  .lv-viz { grid-template-columns: 84px 1fr; }
  .lv-viz svg { width: 84px; height: 84px; }
}

/* ── sprogskifte (flag-toggle i header) ────────────────────── */
.lang-toggle {
  width: 38px; height: 38px; border-radius: 999px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline-strong); background: transparent;
  transition: border-color .15s ease;
}
.lang-toggle:hover { border-color: var(--ash); }
.lang-toggle svg {
  width: 20px; height: 14px; display: block;
  border-radius: 2px; overflow: hidden;
  clip-path: inset(0 round 2px);
}

/* ── byggeklods-kort ───────────────────────────────────────── */
.bricks-head { margin-top: 44px; }
.bricks-head h3 { font-size: 22px; margin-bottom: 4px; }
.bricks-head p { color: var(--slate); font-size: 15px; }
.bricks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.bricks.six { grid-template-columns: repeat(3, 1fr); }
.brick {
  background: var(--paper); border: 1px solid var(--hairline-strong);
  border-radius: 14px; position: relative; overflow: hidden;
  padding: 20px; box-shadow: var(--card-shadow);
}
.brick::before {
  content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 3px;
  background: var(--brick); border-radius: 0 0 3px 3px;
}
.bk-ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(176,71,62,.08); color: var(--brick);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.bk-ic svg { width: 18px; height: 18px; stroke-width: 1.8; }
.brick h4 { font-size: 15px; margin-bottom: 6px; }
.brick p { font-size: 13.5px; line-height: 1.5; }
@media (max-width: 940px) { .bricks, .bricks.six { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bricks, .bricks.six { grid-template-columns: 1fr; } }

/* ── flag-toggle uden cirkel + menu-ikoner ─────────────────── */
.lang-toggle {
  width: auto; height: auto; border: none; background: none; border-radius: 3px;
  display: inline-flex; align-items: center; padding: 0 2px;
  opacity: .9; transition: opacity .15s ease, transform .15s ease;
}
.lang-toggle:hover { opacity: 1; transform: scale(1.08); }
.lang-toggle svg { width: 22px; height: 15px; border-radius: 2.5px; box-shadow: 0 0 0 1px var(--hairline-strong); }
.drop-col a:not(.drop-title) { display: flex; align-items: center; gap: 9px; }
.drop-col a:not(.drop-title) svg { width: 14px; height: 14px; stroke-width: 1.7; color: var(--slate); flex-shrink: 0; }
.drop-col a:not(.drop-title):hover svg { color: var(--brick); }

/* ── værdi: modul-links under statistik ────────────────────── */
.vm-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 4px; }
.vm-l { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; color: var(--slate); margin-right: 4px; }
.vm-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 500; color: var(--body-c);
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--hairline-strong); background: var(--paper);
  transition: color .15s ease, border-color .15s ease;
}
.vm-chip svg { width: 13px; height: 13px; stroke-width: 1.7; color: var(--slate); }
.vm-chip:hover { color: var(--brick); border-color: var(--brick); }
.vm-chip:hover svg { color: var(--brick); }

/* ── demo v2: perioder, popover, preview, større format ────── */
.hero-app .app-body { min-height: 560px; }
.hero-app .app-side { width: 218px; flex: 0 0 218px; }
.cd-top { flex-wrap: wrap; row-gap: 8px; }
.cd-periods { position: relative; display: flex; gap: 3px; background: var(--linen); border: 1px solid var(--hairline); border-radius: 999px; padding: 3px; margin-left: auto; margin-right: 10px; }
.cd-periods button { font-size: 11px; font-weight: 500; padding: 4px 11px; border-radius: 999px; color: var(--slate); }
.cd-periods button.on { background: var(--paper); color: var(--ink); box-shadow: var(--card-shadow); }
.cd-periods button.range-btn { color: var(--brick); border: 1px dashed rgba(176,71,62,.45); margin-left: 2px; }
.cd-periods button.range-btn.on { background: var(--brick); color: #fff; border-color: var(--brick); box-shadow: none; }
.cd-actions { margin-left: 0; }
.cd-pop {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 40;
  background: var(--paper); border: 1px solid var(--hairline-strong); border-radius: 12px;
  box-shadow: var(--card-shadow-lg); padding: 12px 14px; width: 200px;
}
.cd-pop.open { display: block; }
.cd-pop label { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; color: var(--slate); margin: 6px 0 3px; }
.cd-pop input { width: 100%; font: inherit; font-size: 12.5px; padding: 6px 9px; border-radius: 8px; border: 1px solid var(--hairline-strong); background: var(--bone); color: var(--ink); }
.cd-pop .cd-btn { margin-top: 10px; width: 100%; }
.cd-overlay {
  display: none; position: absolute; inset: 0; z-index: 50;
  background: rgba(26,26,24,.45); backdrop-filter: blur(2px);
  align-items: center; justify-content: center; padding: 26px;
}
.cd-overlay.open { display: flex; }
.cd-doc {
  background: var(--bone); border: 1px solid var(--hairline-strong); border-radius: 14px;
  box-shadow: var(--card-shadow-lg); width: min(680px, 100%); max-height: 100%;
  display: flex; flex-direction: column; overflow: hidden;
}
.cd-doc-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--hairline-strong); font-family: var(--font-mono); font-size: 11px; color: var(--slate); }
.cd-x { font-size: 12px; font-weight: 600; color: var(--brick); }
.cd-doc-body { overflow-y: auto; padding: 18px; }
.cd-page { background: var(--paper); border: 1px solid var(--hairline); border-radius: 8px; padding: 30px 34px; box-shadow: var(--card-shadow); }
.cd-page h3 { font-size: 22px; margin: 4px 0 12px; }
.cd-page h4 { font-size: 14px; margin: 16px 0 4px; border-bottom: 1px solid var(--hairline); padding-bottom: 4px; }
.cd-page p { font-size: 13px; }
.cd-doc-mono { font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; color: var(--slate); }
.cd-doc-kpis { display: flex; gap: 24px; margin: 10px 0 6px; flex-wrap: wrap; }
.cd-doc-kpis span { font-size: 11.5px; color: var(--slate); }
.cd-doc-kpis b { display: block; font-family: var(--font-heading); font-size: 19px; color: var(--ink); }
.cd-slides { display: flex; flex-direction: column; gap: 12px; }
.cd-slide { aspect-ratio: 16 / 7; background: var(--paper); border: 1px solid var(--hairline); border-radius: 8px; padding: 22px 26px; box-shadow: var(--card-shadow); display: flex; flex-direction: column; justify-content: center; }
.cd-slide h3 { font-size: 26px; margin: 6px 0 4px; }
.cd-slide h4 { font-size: 19px; margin-bottom: 6px; }
.cd-slide p { font-size: 13px; color: var(--slate); max-width: 480px; }
#console-demo { position: relative; }

/* priser: trinene taettere paa hero-teksten */
.steps-tight { padding-top: 4px; }
.steps-tight .steps { margin-top: 16px; }
.steps-tight .chapter-head { border-top: none; padding-top: 0; }

/* ── kontakt-formular (kontakt.html) · lodret variant af .demo-form ── */
.kf-form {
  grid-template-columns: 1fr;
  align-items: stretch;
  max-width: 560px;
  margin: 8px 0 64px;
}
.kf-form textarea {
  width: 100%; font: inherit; font-size: 14.5px; line-height: 1.55;
  padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--hairline-strong); background: var(--bone); color: var(--ink);
  outline: none; resize: vertical; min-height: 140px;
  transition: border-color .15s ease;
}
.kf-form textarea:focus { border-color: var(--ash); }
.kf-form textarea.err { border-color: var(--brick); }
.kf-form .btn { justify-self: start; }
@media (max-width: 800px) {
  .kf-form .btn { justify-self: stretch; width: 100%; }
}

/* ── faq (priser.html) ─────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  border-top: 1px solid var(--hairline-strong);
}
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  cursor: pointer; list-style: none;
  padding: 18px 2px;
  font-family: var(--font-heading); font-weight: 500; font-size: 17px;
  color: var(--ink);
  transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brick); }
.faq-ic { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-ic::before, .faq-ic::after {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 14px; height: 2px; border-radius: 1px;
  background: var(--slate);
  transition: transform .2s ease, background .2s ease;
}
.faq-ic::after { transform: rotate(90deg); }
.faq-item[open] .faq-ic::before { transform: rotate(45deg); background: var(--brick); }
.faq-item[open] .faq-ic::after { transform: rotate(135deg); background: var(--brick); }
.faq-a { padding: 0 2px 20px; max-width: 640px; }
.faq-a p { font-size: 15px; color: var(--body-c); margin: 0; }

/* kontakt: to kolonner */
.kf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 72px; }
@media (max-width: 900px) { .kf-grid { grid-template-columns: 1fr; } }
.kf-side { display: flex; flex-direction: column; gap: 16px; }
.kf-card { background: var(--paper); border: 1px solid var(--hairline-strong); border-radius: 14px; padding: 20px 22px; box-shadow: var(--card-shadow); }
.kf-card .ph-mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--slate); margin-bottom: 14px; text-transform: uppercase; }
.kf-step { display: flex; gap: 13px; padding: 9px 0; border-bottom: 1px solid var(--hairline); }
.kf-step:last-child { border-bottom: none; }
.kf-n { flex: 0 0 26px; height: 26px; border-radius: 999px; background: rgba(176,71,62,.09); color: var(--brick); font-family: var(--font-mono); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.kf-step b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.kf-step div span { display: block; font-size: 13px; color: var(--slate); }
.kf-step span.kf-n { display: inline-flex; }
.kf-line { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--body-c); padding: 8px 0; }
.kf-line:hover { color: var(--brick); }
.kf-line svg { width: 15px; height: 15px; stroke-width: 1.7; color: var(--slate); }
.kf-line:hover svg { color: var(--brick); }
.kf-quote { border-left: 3px solid var(--brick); padding: 4px 0 4px 16px; font-size: 14.5px; font-style: italic; color: var(--body-c); }
.kf-quote span { display: block; margin-top: 8px; font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--slate); }

/* beregner */
#beregner { scroll-margin-top: calc(var(--header-h) + 16px); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; align-items: stretch; }
.calc-form {
  background: var(--paper); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg); box-shadow: var(--card-shadow);
  padding: 26px 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start;
}
.cf-field label {
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .06em; color: var(--slate); margin-bottom: 6px;
}
.cf-field input, .cf-field select {
  width: 100%; font: inherit; font-size: 14.5px;
  padding: 11px 14px; border-radius: 10px;
  border: 1px solid var(--hairline-strong); background: var(--bone); color: var(--ink);
  outline: none; transition: border-color .15s ease;
}
.cf-field input:focus, .cf-field select:focus { border-color: var(--ash); }
.cf-field.cf-full { grid-column: 1 / -1; }
.cf-field[hidden] { display: none; }
.cf-readout {
  grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--hairline); padding-top: 14px;
}
.cf-readout .cf-l { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--slate); }
.cf-readout strong { font-family: var(--font-heading); font-weight: 600; font-size: 20px; color: var(--ink); }
.calc-result {
  background: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--card-shadow-lg);
  padding: 30px; display: flex; flex-direction: column; gap: 12px;
}
.calc-result .cr-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); }
.calc-total-num {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.02em;
  color: var(--bone); overflow-wrap: anywhere;
}
.calc-stock-note { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.5; color: var(--ash); margin: 0; }
.calc-stock-note[hidden] { display: none; }
.calc-result .cr-disc { font-size: 13.5px; line-height: 1.55; color: var(--ash); margin: auto 0 0; }
.calc-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.calc-ctas .cr-link {
  font-size: 14px; font-weight: 500; color: var(--bone);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(251,250,245,.35);
}
.calc-ctas .cr-link:hover { text-decoration-color: currentColor; }
.calc-chart { display: grid; gap: 15px; margin: 10px 0 4px; }
.calc-chart[hidden] { display: none; }
.cc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; align-items: baseline; }
.cc-row[hidden] { display: none; }
.cc-l {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .07em;
  text-transform: uppercase; color: #C9C6BC;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cc-v { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .03em; color: var(--bone); white-space: nowrap; }
.cc-track { grid-column: 1 / -1; position: relative; height: 7px; }
.cc-bar {
  position: absolute; top: 0; bottom: 0; left: 0; width: 0;
  border-radius: 999px; transition: width .3s ease;
}
.cc-bar-solid { background: rgba(214,116,98,.55); }
.cc-bar-faint { background: rgba(214,116,98,.18); }
.cc-note { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--ash); }
.calc-num {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(21px, 2.4vw, 27px); line-height: 1.15; letter-spacing: -0.02em;
  color: var(--brick); overflow-wrap: anywhere;
}
#calc-cards .stat-card[hidden] { display: none; }
.calc-assump {
  margin-top: 20px; background: var(--paper);
  border: 1px solid var(--hairline-strong); border-radius: var(--radius);
}
.calc-assump summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; list-style: none; padding: 14px 18px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; color: var(--body-c);
}
.calc-assump summary::-webkit-details-marker { display: none; }
.calc-assump summary:hover { color: var(--brick); }
.calc-assump[open] .faq-ic::before { transform: rotate(45deg); background: var(--brick); }
.calc-assump[open] .faq-ic::after { transform: rotate(135deg); background: var(--brick); }
.calc-assump ul { list-style: none; margin: 0; padding: 2px 18px 16px; display: grid; gap: 8px; max-width: 760px; }
.calc-assump li { font-size: 13.5px; line-height: 1.55; color: var(--body-c); padding-left: 18px; position: relative; }
.calc-assump li::before { content: "·"; position: absolute; left: 4px; color: var(--brick); font-weight: 700; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .calc-form { grid-template-columns: 1fr; } }
[data-theme="dark"] .calc-result { border: 1px solid var(--hairline-strong); }
[data-theme="dark"] .calc-ctas .cr-link { text-decoration-color: rgba(23,23,22,.35); }
[data-theme="dark"] .calc-num { color: var(--brick); }
[data-theme="dark"] .cc-l { color: #7A7770; }
[data-theme="dark"] .cc-bar-solid { background: rgba(176,71,62,.55); }
[data-theme="dark"] .cc-bar-faint { background: rgba(176,71,62,.16); }
/* "Bag tallene": område-kort + antagelser samlet i én boks */
.calc-assump .stat-grid { margin: 4px 18px 18px; }
.calc-assump .stat-card { background: var(--bone); box-shadow: none; }
.calc-assump .stat-card:hover { transform: none; box-shadow: none; }
.calc-assump .stat-grid + ul { border-top: 1px solid var(--hairline); margin: 0 18px; padding: 16px 0 18px; }
[data-theme="dark"] .calc-assump .stat-card { background: var(--bone); }

/* beregner: hvad daekker hvad + link (priser.html) */
.cover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.cover-grid .step-card ul { margin-top: 16px; }
@media (max-width: 860px) { .cover-grid { grid-template-columns: 1fr; } }
.cover-note { margin-top: 18px; font-size: 15px; font-weight: 500; color: var(--ink); }
.calc-link { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--slate); }
.calc-link a { color: var(--brick); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(176,71,62,.35); }
.calc-link a:hover { text-decoration-color: currentColor; }
[data-theme="dark"] .calc-link a { text-decoration-color: rgba(214,116,98,.4); }

/* domaene-sider: demo-sektion (kunde-intelligens, lager-og-salg, automatisering, dokument-ai) */
.demo-section { padding: 12px 0 48px; }
.demo-note { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--slate); margin: 0 auto 14px; max-width: 1200px; }
.demo-section .domain-demo { max-width: 1200px; margin: 0 auto; min-height: 320px; }

/* modulvaelger (priser.html) · 10 ja/nej-spoergsmaal, anbefalede moduler live */
.mv-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 20px; margin-top: 48px; align-items: start; }
.mv-quiz {
  background: var(--paper); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg); box-shadow: var(--card-shadow);
  padding: 10px 24px 18px;
}
.mv-q { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--hairline); }
.mv-q:first-child { border-top: none; }
.mv-num { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--brick); width: 24px; flex-shrink: 0; }
.mv-t { flex: 1; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.mv-toggle { display: flex; gap: 6px; flex-shrink: 0; }
.mv-toggle button {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  padding: 5px 15px; border-radius: 999px;
  border: 1px solid var(--hairline-strong); color: var(--body-c); background: var(--paper);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.mv-toggle button:hover { border-color: var(--ash); }
.mv-toggle button.on { background: var(--brick); border-color: var(--brick); color: var(--bone); }
.mv-reset {
  display: block; margin-top: 14px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; color: var(--slate);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hairline-strong);
}
.mv-reset:hover { color: var(--brick); }
.mv-reset[hidden] { display: none; }
.mv-result {
  background: var(--paper); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg); box-shadow: var(--card-shadow);
  padding: 24px;
  position: sticky; top: calc(var(--header-h) + 20px);
}
.mv-result > .mono-label { display: block; margin-bottom: 14px; }
.mv-placeholder { font-size: 14px; color: var(--slate); }
.mv-group { margin-top: 14px; }
.mv-group:first-child { margin-top: 0; }
.mv-gname { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; color: var(--slate); margin-bottom: 8px; }
.mv-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mv-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 500; color: var(--ink);
  background: var(--paper); border: 1px solid var(--hairline-strong); border-radius: 999px;
  padding: 6px 13px;
  transition: color .15s ease, border-color .15s ease;
}
.mv-chip:hover { color: var(--brick); border-color: var(--brick); }
.mv-count { font-family: var(--font-mono); font-size: 10.5px; color: var(--brick); }
.mv-more { margin-top: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--slate); }
.mv-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.mv-start { font-size: 14px; color: var(--body-c); margin-bottom: 14px; }
.mv-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.mv-ctas .btn { height: 40px; padding: 0 20px; font-size: 14px; }
.mv-custom {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--slate);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--hairline-strong);
}
.mv-custom:hover { color: var(--brick); }
.faq-a a { color: var(--brick); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(176,71,62,.35); }
.faq-a a:hover { text-decoration-color: currentColor; }
@media (max-width: 900px) {
  .mv-grid { grid-template-columns: 1fr; }
  .mv-result { position: static; }
}
@media (max-width: 560px) {
  .mv-q { flex-wrap: wrap; }
  .mv-t { flex: 1 1 calc(100% - 38px); }
  .mv-toggle { margin-left: 38px; }
}
[data-theme="dark"] .mv-toggle button { background: transparent; }
[data-theme="dark"] .mv-toggle button.on { background: var(--brick); color: #171716; }
[data-theme="dark"] .mv-chip { background: transparent; }
[data-theme="dark"] .mv-chip:hover { color: #D67462; border-color: #D67462; }
[data-theme="dark"] .mv-num, [data-theme="dark"] .mv-count { color: #D67462; }
[data-theme="dark"] .faq-a a { color: #D67462; text-decoration-color: rgba(214,116,98,.4); }

/* ── prototype-hegn (priser) ───────────────────────────────── */
.proto-fence {
  background: var(--paper); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-lg); padding: 26px 28px; margin-top: 20px;
  box-shadow: var(--card-shadow);
}
.pf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 36px; margin-top: 16px; }
.pf-col h4 { display: flex; align-items: center; gap: 8px; font-size: 14.5px; margin-bottom: 4px; }
.pf-col h4 svg { width: 15px; height: 15px; color: var(--brick); flex: none; }
.pf-col h4 .pf-h4-sub { font-family: var(--font-mono); font-size: 11px; font-weight: 400; color: var(--slate); letter-spacing: .03em; }
.pf-col ul { list-style: none; }
.pf-col li { font-size: 14px; color: var(--body-c); padding: 7px 0 7px 20px; border-top: 1px solid var(--hairline); position: relative; }
.pf-col.pf-in li::before { content: "✓"; position: absolute; left: 1px; color: var(--slate); font-size: 12px; }
.pf-col.pf-out li::before { content: "·"; position: absolute; left: 5px; color: var(--ash); font-weight: 700; }
.pf-note { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; color: var(--slate); }
@media (max-width: 860px) { .pf-cols { grid-template-columns: 1fr; } }

/* ── startpakker (priser) ──────────────────────────────────── */
.pack-card .pack-ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--linen); border: 1px solid var(--hairline);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brick); margin-bottom: 16px; align-self: flex-start;
}
.pack-card .pack-ic svg { width: 18px; height: 18px; }
.pack-card .mono-label { margin-bottom: 10px; }
.pack-card ul { margin-bottom: 16px; }
.pack-card li a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(176,71,62,.35); }
.pack-card li a:hover { color: var(--brick); text-decoration-color: currentColor; }
.pack-card .price { margin-bottom: 0; padding-top: 12px; border-top: 1px solid var(--hairline); }
.pack-card .pack-note { font-size: 12.5px; color: var(--slate); margin: 8px 0 0; }
.pack-card.pack-featured { border-color: var(--ink); }
.pack-card.pack-featured::after {
  content: attr(data-badge); position: absolute; top: -11px; right: 20px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em;
  background: var(--ink); color: var(--bone); padding: 3px 10px; border-radius: 999px;
}
[data-theme="dark"] .pack-card .pack-ic { color: #D67462; }
[data-theme="dark"] .pack-card li a { text-decoration-color: rgba(214,116,98,.4); }
[data-theme="dark"] .pack-card li a:hover { color: #D67462; }

/* fire startpakker: 2×2 på desktop, 1 kolonne på mobil (arver .steps-breakpointet) */
.steps.packs-4 { grid-template-columns: repeat(2, 1fr); }

/* care: ét samlet kort */
.steps.care-single { grid-template-columns: 1fr; max-width: 640px; }
.care-single .step-card .care-terms {
  font-family: var(--font-mono); font-size: 13px; color: var(--brick);
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--hairline);
}


/* care + altid inkluderet: side om side */
.care-grid { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 24px; align-items: stretch; margin-top: 34px; }
.care-grid .care-single .step-card { height: 100%; display: flex; flex-direction: column; }
.care-grid .care-single .step-card .care-terms { margin-top: auto; }
.care-grid .steps.care-single { margin-top: 0; max-width: none; }
.care-grid .bricks-head { margin-top: 0; }
.care-grid .bricks.six { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .care-grid { grid-template-columns: 1fr; } .care-grid .bricks.six { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .care-grid .bricks.six { grid-template-columns: 1fr; } }

/* ── tilgængelighed: synligt tastaturfokus + spring-til-indhold ──── */
:focus-visible { outline: 2px solid var(--brick, #B0473E); outline-offset: 2px; border-radius: 3px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink, #1A1A18); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-size: 14px; }
.skip-link:focus { left: 0; }

/* ════════════════════════════════════════════════════════════════
   Værdi-side · kurerede, animerede visuals (val-*)
   ════════════════════════════════════════════════════════════════ */
.val-section { padding: 64px 0; border-top: 1px solid var(--hairline); }
.val-lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--body-c); max-width: 60ch; line-height: 1.6; margin: 6px 0 34px; }

/* stort count-up-tal */
.val-big { font-family: var(--font-heading); font-weight: 700; line-height: .95; color: var(--ink);
  font-size: clamp(56px, 11vw, 132px); letter-spacing: -0.03em; }
.val-big .u { font-size: .42em; color: var(--brick); font-weight: 600; margin-left: .06em; letter-spacing: 0; }
.val-cap { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--slate); text-transform: uppercase; }
.val-desc { font-size: 15.5px; color: var(--body-c); line-height: 1.6; max-width: 44ch; margin-top: 10px; }
.val-desc strong { color: var(--ink); }
.val-src { display: inline-block; margin-top: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--ash); text-decoration: none; border-bottom: 1px solid var(--hairline); }
.val-src:hover { color: var(--brick); border-color: var(--brick); }

/* to-kolonne */
.val-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px){ .val-duo { grid-template-columns: 1fr; gap: 20px; } }
.val-card { background: var(--paper); border: 1px solid var(--hairline-strong); border-radius: 18px; padding: 30px 30px 26px; position: relative; overflow: hidden; }
.val-card.ink { background: var(--ink); color: var(--bone); border-color: transparent; }
.val-card.ink .val-big, .val-card.ink .val-desc strong { color: var(--bone); }
.val-card.ink .val-cap { color: #B9B5A9; }
.val-card.ink .val-desc { color: #D6D3C9; }
.val-card.ink .val-src { color: #8f8b80; border-color: rgba(242,240,231,.2); }
.val-card.ink .val-src:hover { color: #E4C4BB; }

/* "1 kr -> 3,50 kr" flow */
.val-flow { display: flex; align-items: center; gap: 16px; margin: 22px 0 4px; flex-wrap: wrap; }
.val-coin { font-family: var(--font-heading); font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--hairline-strong); color: var(--slate); white-space: nowrap; }
.val-coin.out { background: var(--brick); color: var(--bone); border-color: var(--brick); font-size: 17px; }
.val-arrow { flex: 1; height: 2px; background: linear-gradient(90deg, var(--ash), var(--brick)); position: relative; min-width: 40px; transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.val-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border-left: 8px solid var(--brick); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.is-on .val-arrow { transform: scaleX(1); }

/* voksende sammenlignings-bjælker */
.val-bars { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.val-barrow { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; }
.val-barrow .bl { font-family: var(--font-mono); font-size: 11px; color: var(--slate); text-align: right; }
.val-track { height: 30px; border-radius: 8px; background: var(--linen); overflow: hidden; position: relative; }
.val-fillbar { height: 100%; width: 0; border-radius: 8px; transition: width 1.1s cubic-bezier(.2,.7,.2,1); display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; }
.val-fillbar.muted { background: var(--ash); }
.val-fillbar.hot { background: var(--brick); }
.val-fillbar .bv { font-family: var(--font-mono); font-size: 11px; color: #fff; opacity: 0; transition: opacity .4s ease .5s; }
.is-on .val-fillbar .bv { opacity: 1; }

/* radial gauge */
.val-gauges { display: flex; gap: 34px; margin-top: 18px; flex-wrap: wrap; }
.val-gauge { text-align: center; }
.val-gauge svg { display: block; }
.val-gauge .ring-fg { transition: stroke-dashoffset 1.2s cubic-bezier(.2,.7,.2,1); }
.val-gauge .gn { font-family: var(--font-heading); font-weight: 700; font-size: 26px; fill: var(--ink); }
.val-gauge .gl { font-family: var(--font-mono); font-size: 11.5px; color: var(--slate); margin-top: 8px; }

/* stor vandret fill (dark data) */
.val-megafill { margin-top: 22px; }
.val-megatrack { height: 54px; border-radius: 12px; background: var(--linen); position: relative; overflow: hidden; border: 1px solid var(--hairline); }
.val-megabar { height: 100%; width: 0; background: repeating-linear-gradient(135deg, var(--ink), var(--ink) 11px, #2a2a27 11px, #2a2a27 22px); transition: width 1.3s cubic-bezier(.2,.7,.2,1); display: flex; align-items: center; padding-left: 18px; }
.val-megabar .ml { font-family: var(--font-mono); font-size: 12px; color: var(--bone); opacity: 0; transition: opacity .5s ease .6s; }
.is-on .val-megabar .ml { opacity: 1; }
.val-megacap { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--slate); }

@media (prefers-reduced-motion: reduce){
  .val-arrow { transform: scaleX(1); transition: none; }
  .val-fillbar, .val-megabar, .val-gauge .ring-fg { transition: none; }
  .val-fillbar .bv, .val-megabar .ml { opacity: 1; }
}

/* Publikations-credential (Om-siden) */
.pub-card { display:block; border:1px solid var(--brick); border-radius:16px; padding:24px 26px; margin:0 0 26px; background:linear-gradient(180deg, rgba(176,71,62,.055), rgba(176,71,62,0)); text-decoration:none; transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.pub-card:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(176,71,62,.10); }
.pub-badge { display:inline-block; font-family:var(--font-mono); font-size:11px; letter-spacing:.04em; text-transform:uppercase; color:var(--brick); border:1px solid var(--brick); border-radius:999px; padding:4px 12px; margin-bottom:14px; }
.pub-title { font-size:20px; color:var(--ink); margin:0 0 8px; line-height:1.3; }
.pub-meta { font-family:var(--font-mono); font-size:12px; color:var(--slate); margin:0 0 12px; }
.pub-desc { font-size:15px; color:var(--body-c); line-height:1.62; margin:0 0 14px; max-width:66ch; }
.pub-link { font-family:var(--font-mono); font-size:13px; color:var(--brick); font-weight:500; }
[data-theme="dark"] .pub-title { color:var(--bone); }
[data-theme="dark"] .pub-card { background:linear-gradient(180deg, rgba(214,116,98,.10), transparent); }

/* ── Om-side · mini-visuals + tidslinje (om-*) ─────────────────── */
.om-mini { margin: 14px 0 2px; }
.om-seg { display: flex; gap: 5px; }
.om-seg span { height: 26px; flex: 1; border-radius: 5px; background: var(--linen); transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.is-on .om-seg span { transform: scaleY(1); }
.om-seg span:nth-child(1){ transition-delay:.05s } .om-seg span:nth-child(2){ transition-delay:.10s }
.om-seg span:nth-child(3){ transition-delay:.15s } .om-seg span:nth-child(4){ transition-delay:.20s }
.om-seg span:nth-child(5){ transition-delay:.25s } .om-seg span:nth-child(6){ transition-delay:.30s }
.om-seg span.hot { background: var(--brick); flex: 2.4; display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:10.5px; color:#fff; }
.om-duo2 { display:flex; flex-direction:column; gap:8px; }
.om-barline { display:grid; grid-template-columns:54px 1fr; align-items:center; gap:10px; }
.om-barline .l { font-family:var(--font-mono); font-size:10px; color:var(--slate); text-align:right; }
.om-tk { height:22px; border-radius:6px; background:var(--linen); overflow:hidden; }
.om-tf { height:100%; width:0; border-radius:6px; transition:width 1s cubic-bezier(.2,.7,.2,1); }
.om-tf.muted{ background:var(--ash);} .om-tf.hot{ background:var(--brick);}

.om-timeline { position:relative; display:flex; justify-content:space-between; gap:12px; margin-top:26px; padding-top:8px; }
.omt-line { position:absolute; top:14px; left:6%; right:6%; height:2px; background:var(--hairline-strong); transform:scaleX(0); transform-origin:left; transition:transform 1s cubic-bezier(.2,.7,.2,1); }
.is-on .omt-line { transform:scaleX(1); }
.omt-node { position:relative; flex:1; text-align:center; opacity:0; transform:translateY(10px); transition:opacity .5s ease, transform .5s ease; }
.is-on .omt-node { opacity:1; transform:none; }
.is-on .omt-node:nth-child(2){ transition-delay:.25s } .is-on .omt-node:nth-child(3){ transition-delay:.5s } .is-on .omt-node:nth-child(4){ transition-delay:.75s }
.omt-dot { display:block; width:13px; height:13px; border-radius:50%; background:var(--ash); border:3px solid var(--bone); margin:0 auto 12px; position:relative; z-index:1; }
.omt-node.hot .omt-dot { background:var(--brick); box-shadow:0 0 0 4px rgba(176,71,62,.15); }
.omt-yr { display:block; font-family:var(--font-heading); font-weight:600; font-size:15px; color:var(--ink); }
.omt-lab { display:block; font-family:var(--font-mono); font-size:11px; color:var(--slate); margin-top:3px; }
@media (prefers-reduced-motion: reduce){
  .om-seg span,.om-tf,.omt-line{ transition:none; transform:none; width:auto; }
  .omt-node{ opacity:1; transform:none; }
}
