/* Finagenta homepage. Light, typographic; violet is the accent, the screen pictures carry the page. */

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --violet: #6845AD;
  --violet-deep: #563796;
  --violet-ink: #312044;
  --mint: #8CD8B2;
  --ink: #1D1D1F;
  --bg: #F5F5F7;
  --paper: #FFFFFF;
  --muted: #6E6E73;
  --soft: #86868E;
  --line: rgba(29, 29, 31, 0.10);
  --line-strong: rgba(29, 29, 31, 0.18);
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(84px, 11vw, 168px);
  --radius: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

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

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.violet { color: var(--violet); }
.line { display: block; }
.soft { color: var(--soft); }

/* ---------- Type ---------- */

.display {
  font-size: clamp(2rem, 5.9vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 800;
  text-transform: uppercase;
  text-wrap: balance;
}

.headline {
  font-size: clamp(1.625rem, 3.8vw, 3.125rem);
  line-height: 1.08;
  letter-spacing: -0.008em;
  font-weight: 800;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 22ch;
}

.statement {
  font-size: clamp(1.75rem, 4.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 800;
  text-transform: uppercase;
  max-width: 24ch;
}
.statement > span { display: block; text-wrap: balance; }
.statement > span + span { margin-top: 0.14em; }

.statement mark {
  color: inherit;
  background: linear-gradient(to top, var(--mint) 0, var(--mint) 0.34em, transparent 0.34em);
  padding-inline: 0.04em;
  margin-inline: -0.04em;
  white-space: nowrap;
}

.lead {
  font-size: clamp(1.1875rem, 2vw, 1.625rem);
  line-height: 1.38;
  letter-spacing: -0.012em;
  color: var(--muted);
  font-weight: 500;
  max-width: 31em;
  text-wrap: pretty;
}

.closing {
  font-size: clamp(1.5rem, 3vw, 2.375rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
.closing > span { white-space: nowrap; }

.eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--violet);
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-small { height: 42px; padding: 0 20px; font-size: 0.9375rem; }

.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-deep); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(104, 69, 173, 0.7); }

.btn-quiet { padding-inline: 14px; color: var(--ink); }
.btn-quiet .arrow { transition: transform 0.25s var(--ease); }
.btn-quiet:hover { color: var(--violet); }
.btn-quiet:hover .arrow { transform: translateY(3px); }

.btn-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ink:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }

.btn-white { background: #fff; color: var(--violet); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(29, 29, 31, 0.55); }

.link {
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9375rem;
  padding: 10px 4px;
  transition: color 0.2s var(--ease);
}
.link:hover { color: var(--violet); }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.brand { display: flex; flex-direction: column; align-items: flex-start; margin-left: -8px; text-decoration: none; }
.topbar-nav a { white-space: nowrap; }
.brand-slogan { margin: -3px 0 0 8px; font-size: 0.75rem; line-height: 1.2; font-weight: 700; letter-spacing: 0.005em; color: var(--violet); white-space: nowrap; }
.brand img { height: 40px; width: auto; }
.topbar-nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 26px); }

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

.hero { padding-top: clamp(48px, 8vw, 112px); }
.hero .lead { margin-top: clamp(22px, 2.8vw, 36px); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 10px;
  margin-top: clamp(28px, 3.4vw, 44px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  margin-left: 14px;
  padding: 0 18px 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.badge svg { flex: none; }
.badge-price { margin-left: 0; padding: 0 18px; border-color: var(--violet); color: var(--violet); font-weight: 700; }

.hero-shot {
  margin-top: clamp(48px, 6.5vw, 88px);
  border: 1px solid rgba(49, 32, 68, 0.14);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(49, 32, 68, 0.05), 0 50px 90px -40px rgba(49, 32, 68, 0.32);
}
.hero-shot img { width: 100%; }

/* ---------- Agent strip ---------- */

.agents { padding-top: clamp(56px, 7vw, 96px); }
.agents-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px clamp(28px, 4vw, 56px);
  padding-block: 30px;
  border-block: 1px solid var(--line);
}
.agents-label { color: var(--muted); font-weight: 600; font-size: 1rem; }
.agents-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(22px, 3vw, 40px);
  font-size: clamp(1.25rem, 2.1vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.agents-list li:last-child { color: var(--violet); }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section-paper { background: var(--paper); }
.section-tight { padding-block: 0; }
.section-close { padding-block: clamp(20px, 3vw, 40px) clamp(40px, 5vw, 72px); background: var(--paper); }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
  margin-top: clamp(44px, 6vw, 84px);
}
.steps-list li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  align-items: baseline;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}
.steps-list li:last-child { border-bottom: 1px solid var(--line); }
.step-no {
  font-size: 1rem;
  font-weight: 700;
  color: var(--violet);
  font-variant-numeric: tabular-nums;
}
.steps-list h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.steps-list p { margin-top: 10px; color: var(--muted); font-size: 1.125rem; font-weight: 500; }

.steps-shot {
  border: 1px solid rgba(49, 32, 68, 0.14);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  padding: 14px 10px 10px;
  box-shadow: 0 1px 2px rgba(49, 32, 68, 0.05), 0 40px 70px -40px rgba(49, 32, 68, 0.30);
}
.steps-shot img { width: 100%; }

/* ---------- Invoice flow in the chat ---------- */

.invoice { margin-top: clamp(64px, 8vw, 120px); }
.invoice .closing { margin-top: 0; }
.invoice .steps { margin-top: clamp(28px, 3.4vw, 48px); grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--paper);
  border: 1px solid rgba(49, 32, 68, 0.14);
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(49, 32, 68, 0.05), 0 40px 70px -40px rgba(49, 32, 68, 0.30);
}
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1rem; }
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }
.chat-msg { max-width: 84%; padding: 13px 17px; border-radius: 20px; font-size: clamp(1rem, 1.35vw, 1.125rem); line-height: 1.38; font-weight: 500; }
.chat-me { align-self: flex-end; background: var(--violet); color: #fff; border-bottom-right-radius: 6px; }
.chat-agent { align-self: flex-start; background: var(--bg); color: var(--ink); border-bottom-left-radius: 6px; }
.chat-file { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 11px 14px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 14px; font-weight: 700; font-size: 0.9375rem; line-height: 1.25; }
.chat-file svg { flex: none; }
.chat-file small { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--muted); }

@media (max-width: 980px) {
  .invoice .steps { grid-template-columns: 1fr; }
  .chat { max-width: 560px; }
}

/* ---------- Hero: copy and chat side by side ---------- */

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero .display { font-size: clamp(2rem, 4.7vw, 4.25rem); }
.hero .badge { margin-left: 0; }
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-top: clamp(40px, 5.4vw, 72px);
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(104, 69, 173, 0.10);
  color: var(--violet);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.hero-note + .hero-shot { margin-top: clamp(16px, 2vw, 24px); }
.hero-note:hover { background: rgba(104, 69, 173, 0.16); }
.hero-note svg { flex: none; }
.section-custom { }
.section-custom .eyebrow { margin-bottom: 18px; }

/* Invoice flow: four steps in a row */
.invoice .steps { display: block; }
.invoice .steps-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
.invoice .steps-list li { display: block; padding-block: 24px 0; border-top: 1px solid var(--line-strong); border-bottom: 0; }
.invoice .steps-list li:last-child { border-bottom: 0; }
.invoice .steps-list .step-no { display: block; margin-bottom: 14px; }
.invoice .steps-list h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); }

@media (max-width: 980px) {
  .hero-top { grid-template-columns: 1fr; }
  .hero-top .chat { max-width: 560px; }
  .invoice .steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}
@media (max-width: 640px) {
  .invoice .steps-list { grid-template-columns: 1fr; }
}

/* ---------- What the agent does ---------- */

.work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(48px, 7vw, 96px);
}
.work-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(26px, 3.2vw, 44px) clamp(22px, 3.2vw, 44px) 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.work-card h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.work-card p { margin-top: 10px; color: var(--muted); font-size: 1.125rem; font-weight: 500; }
.work-shot {
  margin-top: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(49, 32, 68, 0.14);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 24px 50px -28px rgba(49, 32, 68, 0.35);
  transition: transform 0.5s var(--ease);
  transform: translateY(6px);
}
.work-shot img { width: 100%; }
.work-card:hover .work-shot { transform: translateY(0); }

/* ---------- Din rytme ---------- */

.rhythm {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(44px, 6vw, 84px);
}
.rhythm li {
  background: var(--bg);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  min-height: clamp(150px, 17vw, 220px);
  transition: transform 0.4s var(--ease);
}
.rhythm li:hover { transform: translateY(-4px); }
.rhythm p {
  font-size: clamp(1.375rem, 2.3vw, 1.875rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.rhythm strong { display: block; color: var(--violet); font-weight: 700; margin-bottom: 0.25em; }
.section .closing { margin-top: clamp(40px, 5vw, 72px); }
.rhythm-reports { margin-top: clamp(22px, 2.6vw, 34px); }
.rhythm-reports li { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line, #e4e2ea); }

/* ---------- ZEKA: private AI ---------- */

.zeka {
  background: var(--paper);
  border-radius: clamp(28px, 3.4vw, 44px);
  padding: clamp(32px, 6vw, 88px);
}
.zeka .headline { margin-top: 18px; max-width: none; }
.zeka-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 72px);
  border-block: 1px solid var(--line);
}
.zeka-offers li { padding-block: clamp(26px, 3.2vw, 44px); }
.zeka-offers li:first-child { padding-right: clamp(20px, 4vw, 56px); border-right: 1px solid var(--line); }
.zeka-offers li:last-child { padding-left: clamp(20px, 4vw, 56px); }
.zeka-offers p {
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--muted);
  text-wrap: balance;
}
.zeka-offers strong { display: block; color: var(--ink); font-weight: 700; margin-bottom: 0.2em; }
.zeka-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(32px, 4vw, 56px);
}
.zeka-foot .closing { margin-top: 0; }

.section-firms { padding-bottom: var(--section); }
.firms { box-shadow: inset 0 0 0 2px var(--violet); }

/* ---------- Trust ---------- */

.trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.trust .headline { max-width: 15ch; }

.seal {
  position: relative;
  width: clamp(250px, 28vw, 340px);
  aspect-ratio: 1;
  flex: none;
}
.seal-ring { width: 100%; height: 100%; }
.seal-text {
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  fill: var(--violet);
}
.seal-core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.seal-reg {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  max-width: 8.5em;
}

.points {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 12px 0 0;
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.points svg { flex: none; }

/* ---------- Close ---------- */

.close {
  background: var(--violet);
  color: #fff;
  border-radius: clamp(28px, 3.4vw, 44px);
  padding: clamp(30px, 4.4vw, 60px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
}
.close-logo { height: 40px; width: auto; margin-left: -8px; }
.close .close-brand { flex-basis: 100%; }
.close .display { margin-top: 0; font-size: clamp(2.125rem, 5.6vw, 4.5rem); }
.close .btn { margin-top: 0; }
.close-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-top: clamp(28px, 3.6vw, 52px);
}
.price-amount { font-size: clamp(3.5rem, 10vw, 8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; color: var(--violet); }
.price-unit { font-size: clamp(1.25rem, 2.2vw, 1.875rem); font-weight: 700; letter-spacing: -0.02em; }
.price-line { flex-basis: 100%; margin-top: 6px; font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -0.015em; opacity: 0.92; }

.pricing .price { margin-top: 0; }
.pricing .headline { margin-top: clamp(14px, 1.8vw, 24px); max-width: none; }
.pricing-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(36px, 4.6vw, 64px);
  border-block: 1px solid var(--line);
}
.pricing-points li { padding-block: clamp(24px, 3vw, 40px); padding-inline: clamp(18px, 2.6vw, 36px); border-left: 1px solid var(--line); }
.pricing-points li:first-child { padding-left: 0; border-left: 0; }
.pricing-points li:last-child { padding-right: 0; }
.pricing-points p { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.4; font-weight: 500; color: var(--muted); text-wrap: pretty; }
.pricing-points strong { display: block; margin-bottom: 0.3em; font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.16; letter-spacing: -0.03em; font-weight: 700; color: var(--ink); text-wrap: balance; }
.pricing .btn { margin-top: 0; }
.custom-lead { margin-top: clamp(14px, 1.8vw, 22px); max-width: 30em; }
.pricing-lead { margin-top: clamp(16px, 2vw, 26px); max-width: 34em; }
a.badge { text-decoration: none; }

.tiers-caption {
  margin-top: clamp(32px, 4vw, 52px);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--muted);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
  list-style: none;
  padding: 0;
}
.tiers li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(18px, 2vw, 26px);
  border-radius: 20px;
  background: var(--bg);
}
.tier-size { font-size: 0.9375rem; font-weight: 700; color: var(--muted); }
.tier-price { font-size: clamp(1.5rem, 2.3vw, 2.125rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.tiers .tier-free { background: var(--violet); }
.tiers .tier-free .tier-size { color: rgba(255, 255, 255, 0.78); }
.tiers .tier-free .tier-price { color: #fff; }
.tiers .tier-deal { background: transparent; box-shadow: inset 0 0 0 1.5px var(--violet); }
.tiers .tier-deal .tier-price { color: var(--violet); font-size: clamp(1.25rem, 1.8vw, 1.625rem); }
.tiers-note { margin-top: 14px; font-size: 0.9375rem; font-weight: 500; color: var(--muted); }

@media (max-width: 760px) {
  .tiers { grid-template-columns: 1fr; gap: 8px; }
  .tiers li { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 16px 20px; border-radius: 16px; }
  .tier-price { font-size: 1.5rem; text-align: right; }
  .tiers .tier-deal .tier-price { font-size: 1.25rem; }
  .closing > span { white-space: normal; }
  .pricing-points { grid-template-columns: 1fr; }
  .pricing-points li { padding-inline: 0; border-left: 0; border-top: 1px solid var(--line); }
  .pricing-points li:first-child { border-top: 0; }
}

/* ---------- Reach: the only integration ---------- */

.reach { margin-top: clamp(64px, 8vw, 120px); }
.reach .closing { margin-top: 0; }
.reach-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line-strong);
}
.reach-list li { padding-block: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.reach-list li:nth-child(odd) { padding-right: clamp(20px, 4vw, 56px); border-right: 1px solid var(--line); }
.reach-list li:nth-child(even) { padding-left: clamp(20px, 4vw, 56px); }
.reach-list p { font-size: clamp(1.0625rem, 1.6vw, 1.375rem); line-height: 1.4; font-weight: 500; color: var(--muted); max-width: 26em; text-wrap: pretty; }
.reach-list strong { display: block; margin-bottom: 0.3em; font-size: clamp(1.375rem, 2.3vw, 1.875rem); line-height: 1.16; letter-spacing: -0.03em; font-weight: 700; color: var(--ink); }

@media (max-width: 760px) {
  .reach-list { grid-template-columns: 1fr; }
  .reach-list li:nth-child(odd) { padding-right: 0; border-right: 0; }
  .reach-list li:nth-child(even) { padding-left: 0; }
}

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

.footer { background: var(--paper); padding-block: 8px 44px; font-size: 0.9375rem; color: var(--muted); font-weight: 500; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(20px, 4vw, 44px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.footer-made { color: var(--ink); font-weight: 650; }
.footer a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease); }
.footer a:hover { color: var(--violet); text-decoration-color: currentColor; }
.footer-nav { display: flex; gap: 24px; margin-left: auto; }
.footer-nav a { color: var(--ink); font-weight: 650; }

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* The first screen is there at once: no fade on the hero. */
.js .hero .reveal { opacity: 1; transform: none; transition: none; }
.js .steps-list .reveal:nth-child(2), .js .work-card.reveal:nth-child(even), .js .rhythm .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .steps-list .reveal:nth-child(3), .js .rhythm .reveal:nth-child(3) { transition-delay: 0.16s; }

/* ---------- Tablet ---------- */

@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; }
  .steps-shot { max-width: 680px; }
  .trust { grid-template-columns: 1fr; justify-items: start; }
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .points li:nth-child(n+3) { padding-top: 18px; }
  .rhythm li { min-height: 0; }
}

/* ---------- Phone ---------- */

@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar-inner { height: 72px; }
  .brand img { height: 34px; }
  .brand-slogan { font-size: 0.6875rem; margin-left: 7px; }
  .brand-slogan span { display: block; }
  .topbar-inner { height: 84px; }
  .btn { height: 52px; padding: 0 26px; }
  .btn-small { height: 40px; padding: 0 18px; }
  .badge { margin-left: 0; }
  .work { grid-template-columns: 1fr; }
  .work-card { padding: 26px 14px 0; }
  .work-card h3, .work-card p { padding-inline: 8px; }
  .rhythm { grid-template-columns: 1fr; }
  .rhythm li { padding: 24px; }
  .steps-shot { max-width: 420px; padding: 12px 8px 8px; }
  .zeka-offers { grid-template-columns: 1fr; }
  .zeka-offers li:first-child { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .zeka-offers li:last-child { padding-left: 0; }
  .seal { width: min(280px, 78vw); }
  .footer-nav { margin-left: 0; width: 100%; }
}

@media (max-width: 640px) {
  .hero-shot { border-radius: 14px; }
  .agents-inner { flex-direction: column; gap: 14px; }
  .agents-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; width: 100%; }
  .points { justify-content: flex-start; column-gap: 22px; }
  .points li { font-size: 1rem; gap: 8px; padding-right: 4px; }
  .zeka { padding: 30px 24px; }
  .statement { max-width: none; }
}

/* ---------- Calm mode ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .work-shot { transform: none; }
  .btn:hover, .rhythm li:hover { transform: none; }
}

@media print {
  .js .reveal { opacity: 1; transform: none; }
  .topbar { position: static; }
}

/* ---------- Priser page: columns, same list in every one ---------- */

.link.is-current { color: var(--violet); }
.prices { padding-top: clamp(48px, 7vw, 104px); }
.prices .display { margin-top: 14px; }
.prices .lead { margin-top: clamp(18px, 2.4vw, 30px); max-width: 34em; }

.plans-scroll { margin-top: clamp(40px, 5vw, 72px); }
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(29, 29, 31, 0.35);
}
.plan-size { font-size: 1rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.plan-size small, .plan-price small { display: block; font-size: 0.875rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan-price {
  margin-top: 22px;
  font-size: clamp(1.875rem, 2.5vw, 2.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--violet);
}
.plan-price small { margin-top: 8px; }
.plan-list {
  flex: 1;
  list-style: none;
  padding: 18px 0 0;
  margin: 22px 0 24px;
  border-top: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 11px;
}
.plan-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.3; font-weight: 600; }
.plan-list svg { flex: none; margin-top: 1px; color: var(--violet); }
.plan-list li:last-child { color: var(--violet); font-weight: 800; }
.plan .btn { margin-top: 0; justify-content: center; width: 100%; }

.plan-free { background: var(--violet); color: #fff; box-shadow: 0 24px 50px -28px rgba(104, 69, 173, 0.9); }
.plan-free .plan-size, .plan-free .plan-price { color: #fff; }
.plan-free small { color: rgba(255, 255, 255, 0.75); }
.plan-free .plan-list { border-top-color: rgba(255, 255, 255, 0.22); }
.plan-free .plan-list svg { color: var(--mint); }
.plan-free .plan-list li:last-child { color: var(--mint); }
.plan-deal { background: transparent; box-shadow: inset 0 0 0 2px var(--violet); }

.plans-joke { margin-top: clamp(26px, 3vw, 40px); font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -0.03em; }
.plans-note { margin-top: 8px; font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
.prices .pricing-points { margin-top: clamp(48px, 6vw, 88px); }
.prices .closing { margin-top: clamp(40px, 5vw, 64px); }

/* Below desktop width: two and two; on the phone one under the other. Nothing is ever cut off. */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
}

/* ---------- Every task: what your own agent does ---------- */

.tasks-lead { margin-top: clamp(20px, 2.6vw, 34px); }
.tasks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(40px, 5vw, 72px);
  list-style: none;
  padding: 0;
}
.tasks li {
  background: var(--bg);
  border-radius: var(--radius);
  padding: clamp(24px, 2.8vw, 36px);
}
.tasks p { font-size: clamp(1.1875rem, 1.8vw, 1.5rem); line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; color: var(--muted); }
.tasks strong { display: block; margin-bottom: 0.3em; font-size: clamp(1.375rem, 2.2vw, 1.875rem); letter-spacing: -0.03em; font-weight: 800; color: var(--ink); }
.section .tasks-close { margin-top: clamp(36px, 4.4vw, 60px); }

/* Din rytme sits after the white steps section: grey section, white cards. */
.section-rhythm .rhythm li { background: var(--paper); }
.section-rhythm .rhythm-reports li { background: transparent; }

@media (max-width: 900px) {
  .tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .tasks { grid-template-columns: 1fr; }
}

/* ---------- Kontakt page ---------- */

.contact { padding-top: clamp(48px, 7vw, 104px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact .headline { margin-top: 14px; }
.contact .lead { margin-top: 16px; max-width: 24em; }
.contact-cards { display: grid; gap: 12px; list-style: none; padding: 0; }
.contact-cards a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 16px;
  row-gap: 2px;
  padding: 22px 26px;
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 1px 0 var(--line), 0 16px 34px -28px rgba(29, 29, 31, 0.35);
  transition: transform 0.3s var(--ease);
}
.contact-cards a:hover { transform: translateY(-2px); }
.cc-label, .cc-value, .cc-note { grid-column: 1; }
.cc-label { font-size: 0.875rem; font-weight: 700; color: var(--muted); }
.cc-value { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; overflow-wrap: anywhere; }
.cc-note { margin-top: 4px; font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
.contact-cards .arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; color: var(--violet); }
.cc-demo a { background: var(--violet); color: #fff; box-shadow: 0 22px 44px -28px rgba(104, 69, 173, 0.9); }
.cc-demo .cc-label, .cc-demo .cc-note { color: rgba(255, 255, 255, 0.78); }
.cc-demo .arrow { color: #fff; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Phone: the top bar gets two rows (logo and button on top, the links below) and scrolls away with the page. */
@media (max-width: 560px) {
  .topbar { position: static; }
  .topbar-inner { height: auto; flex-wrap: wrap; justify-content: flex-start; padding-block: 12px 8px; }
  .topbar-nav { display: contents; }
  .topbar-nav .btn { order: 1; margin-left: auto; }
  .topbar-inner::after { content: ""; order: 2; flex-basis: 100%; }
  .topbar-nav .link { order: 3; margin: 6px 22px 0 0; padding: 6px 0; }
}

/* ---------- Om page ---------- */

.about { padding-top: clamp(48px, 7vw, 104px); }
.about .headline { margin-top: 14px; }
.about-text { margin-top: clamp(22px, 2.8vw, 34px); max-width: 40em; display: grid; gap: 1em; }
.about-text p { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; font-weight: 500; color: var(--muted); text-wrap: pretty; }
.about-text p:first-child { color: var(--ink); font-weight: 600; }
.about-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 18px; }
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.about-grid .headline { margin-top: 0; }
.about-sign { margin-top: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 2px; }
.about-sign strong { font-size: 1.125rem; font-weight: 800; }
.about-sign span { font-size: 0.9375rem; font-weight: 600; color: var(--muted); }
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 220px; }
}
.about-grid .about-text { margin-top: 0; }

.join {
  display: block;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.join > div { flex: 1 1 420px; }
.join-title { margin-top: 8px; font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
.join-text { margin-top: 6px; max-width: 38em; font-size: 1rem; line-height: 1.5; font-weight: 500; color: var(--muted); }
.join-link { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--violet); text-decoration: none; }
.join-link:hover { text-decoration: underline; }
.section-about-home .about-grid { margin-top: 22px; }
/* Berk's story opens the homepage. */
.section-about-home { padding-block: clamp(40px, 6vw, 88px); }

/* ---------- Calm headings (15 Nov): sentence case, in the same personal voice as Berk's text.
   Remove this block to return to the big capitals. ---------- */
.display, .headline, .statement { text-transform: none; font-weight: 700; letter-spacing: -0.03em; }
.display { font-size: clamp(2rem, 4.2vw, 3.5rem); line-height: 1.08; }
.hero .display { font-size: clamp(2rem, 4vw, 3.375rem); }
.close .display { font-size: clamp(1.875rem, 4vw, 3.25rem); }
.headline { font-size: clamp(1.5rem, 2.8vw, 2.375rem); line-height: 1.12; }
.statement { font-size: clamp(1.625rem, 3.2vw, 2.75rem); line-height: 1.12; }

/* ---------- Berk's intro: rolled up and down ---------- */
.intro-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.intro-head .eyebrow { margin: 0; }
.intro-name { display: none; }
.js .section-about-home:not(.is-open) .intro-name { display: inline; }
.intro-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: var(--muted);
  font: inherit; font-size: 0.8125rem; font-weight: 600; cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.intro-toggle[hidden] { display: none; }
.intro-toggle:hover { color: var(--violet); border-color: var(--violet); }
.intro-toggle svg { transition: transform 0.3s var(--ease); }
.js .section-about-home:not(.is-open) .intro-toggle svg { transform: rotate(180deg); }
.intro-fold { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.9s var(--ease); }
.intro-inner { min-height: 0; overflow: hidden; }
.js .section-about-home:not(.is-open) .intro-fold { grid-template-rows: 0fr; }
.section-about-home { transition: padding 0.9s var(--ease); }
.js .section-about-home:not(.is-open) { padding-block: 14px; }
/* Rul op / Rul ned sits centred under the intro (15 Nov). */
.intro-foot { display: flex; justify-content: center; margin-top: clamp(28px, 3.4vw, 44px); transition: margin 0.9s var(--ease); }
.intro-toggle { padding: 10px 22px; border: 1.5px solid var(--violet); background: var(--paper); color: var(--violet); font-size: 0.9375rem; font-weight: 700; }
.intro-toggle:hover { background: var(--violet); color: #fff; }
.js .section-about-home:not(.is-open) .intro-head { justify-content: center; }
.js .section-about-home:not(.is-open) .intro-foot { margin-top: 10px; }

/* Mail access: the agent goes further (15 Nov). */
.tasks-more { margin-top: clamp(20px, 2.4vw, 28px); padding: clamp(22px, 2.8vw, 34px); border-radius: var(--radius); background: rgba(104, 69, 173, 0.08); }
.tasks-more-title { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; color: var(--violet); }
.tasks-more ul { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 10px; }
.tasks-more li { display: flex; gap: 10px; align-items: flex-start; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.35; font-weight: 600; }
.tasks-more svg { flex: none; margin-top: 2px; color: var(--violet); }

/* ---------- Løsninger page: three columns, no cards ---------- */
.solutions-page { padding-top: clamp(48px, 7vw, 104px); }
.solutions-page .headline { margin-top: 14px; max-width: none; }
.solutions-page .lead { margin-top: 16px; max-width: 32em; }
.solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.solution { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px) clamp(20px, 2.6vw, 36px); border-left: 1px solid var(--line); }
.solution:first-child { padding-left: 0; border-left: 0; }
.solution:last-child { padding-right: 0; }
.solution h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
.solution-tag { margin-top: 6px; font-size: 1.0625rem; font-weight: 700; color: var(--violet); }
.solution-text { margin-top: 10px; font-size: 1rem; font-weight: 500; color: var(--muted); }
.solution ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.solution li { display: flex; gap: 9px; align-items: flex-start; font-size: 1rem; line-height: 1.35; font-weight: 600; }
.solution li svg { flex: none; margin-top: 1px; color: var(--violet); }
.solution-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--violet); text-decoration: none; }
.solution-link:hover { text-decoration: underline; }
.solutions-note { margin-top: 16px; font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
@media (max-width: 860px) {
  .solutions { grid-template-columns: 1fr; border-bottom: 0; }
  .solution, .solution:first-child, .solution:last-child { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Homepage pointer to Løsninger */
.section-solutions-link { padding-block: clamp(24px, 3vw, 40px); }
.solutions-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); font-weight: 600; }
.solutions-link strong { display: inline-flex; align-items: center; gap: 8px; color: var(--violet); font-weight: 700; }
.solutions-link:hover strong { text-decoration: underline; }

/* Five links in the top bar: two rows a little earlier, tighter on the phone. */
@media (max-width: 720px) {
  .topbar { position: static; }
  .topbar-inner { height: auto; flex-wrap: wrap; justify-content: flex-start; padding-block: 12px 8px; }
  .topbar-nav { display: contents; }
  .topbar-nav .btn { order: 1; margin-left: auto; }
  .topbar-inner::after { content: ""; order: 2; flex-basis: 100%; }
  .topbar-nav .link { order: 3; margin: 6px 18px 0 0; padding: 6px 0; }
}
@media (max-width: 400px) {
  .topbar-nav .link { margin-right: 14px; }
}

/* ---------- Close: discreet, logo and slogan as in the top bar (15 Nov) ---------- */
.section-close { padding-block: clamp(40px, 5vw, 64px) 0; background: var(--paper); }
.close-slim { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-bottom: 28px; }
.close-slim .brand-slogan span { display: inline; }
@media (max-width: 760px) {
  .close-slim .brand-slogan span { display: block; }
}

/* ---------- Headings B (15 Nov): like the Om page, text rather than poster.
   Remove this block to return to the calm headings above. ---------- */
.display, .headline, .statement { font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.display, .hero .display { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
.headline { font-size: clamp(1.375rem, 2.1vw, 1.875rem); }
.statement { font-size: clamp(1.375rem, 2.1vw, 1.875rem); max-width: 30ch; }
.closing { font-size: clamp(1.1875rem, 1.7vw, 1.5rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
/* With headings B, the titles inside a section stay below the section heading. */
.steps-list h3, .invoice .steps-list h3 { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.steps-list p { font-size: 1rem; }
.tasks strong, .reach-list strong, .pricing-points strong { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); font-weight: 700; letter-spacing: -0.01em; }
.tasks p, .reach-list p, .pricing-points p { font-size: clamp(1rem, 1.3vw, 1.125rem); font-weight: 500; letter-spacing: 0; line-height: 1.4; }
.rhythm p { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.rhythm li { min-height: 0; }
.trust .headline { max-width: 24ch; }
:root { --section: clamp(64px, 8vw, 120px); }

/* ---------- Spacing pass (15 Nov): one rhythm for the calmer headings ---------- */
/* Two sections with the same background next to each other share one gap, not two. */
.section:not(.section-paper) + .section:not(.section-paper):not(.section-close),
.section-paper + .section-paper { padding-top: 0; }
/* The opening and the agent strip: the same air as the rest. */
.hero { padding-top: clamp(48px, 6vw, 88px); }
.hero-note { margin-top: clamp(32px, 4vw, 52px); }
.agents { padding-top: clamp(40px, 5vw, 64px); }
/* Gaps inside a section: heading → content → closing line. */
.reach { margin-top: clamp(40px, 5vw, 64px); }
.section .closing { margin-top: clamp(28px, 3.4vw, 44px); }
.reach .closing { margin-top: 0; }
.tasks, .rhythm { margin-top: clamp(28px, 3.4vw, 44px); }
.rhythm-reports { margin-top: clamp(16px, 2vw, 22px); }
.steps { margin-top: clamp(28px, 3.4vw, 44px); }
.invoice { margin-top: clamp(44px, 5.4vw, 72px); }
.points { margin-top: clamp(32px, 4vw, 52px); }
.section-solutions-link { padding-block: clamp(20px, 2.4vw, 32px); }

/* Moving from another system (15 Nov) */
.section-move .headline { max-width: 34ch; }
.section-move .violet { display: block; }
.move-lead { margin-top: 12px; }
.move-list { list-style: none; padding: 0; margin-top: clamp(20px, 2.6vw, 30px); display: flex; flex-wrap: wrap; gap: 10px 26px; }
.move-list li { display: flex; align-items: center; gap: 8px; font-size: clamp(1rem, 1.3vw, 1.125rem); font-weight: 600; }
.move-list svg { color: var(--violet); flex: none; }
.move-link { display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(20px, 2.6vw, 30px); font-weight: 700; color: var(--violet); text-decoration: none; }
.move-link:hover { text-decoration: underline; }

/* Priser: the move is included (15 Nov) */
.plans-move { margin-top: clamp(24px, 3vw, 36px); padding: clamp(20px, 2.6vw, 30px); border-radius: var(--radius); background: rgba(104, 69, 173, 0.08); }
.plans-move-title { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; color: var(--violet); }
.plans-move p + p { margin-top: 6px; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.45; font-weight: 500; }

/* First screen: the move, said plainly (15 Nov) */
.hero-move { display: inline-flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 12px 18px; border-radius: 16px; background: rgba(140, 216, 178, 0.28); color: var(--ink); text-decoration: none; font-size: clamp(1rem, 1.3vw, 1.0625rem); line-height: 1.4; font-weight: 500; max-width: 34em; }
.hero-move svg { flex: none; margin-top: 1px; }
.hero-move strong { font-weight: 700; }
.hero-move:hover span { text-decoration: underline; text-decoration-color: rgba(29, 29, 31, 0.3); text-underline-offset: 3px; }
.nowrap { white-space: nowrap; }

/* First screen: buttons on one row, the two facts as plain text under them (15 Nov) */
.hero-actions { flex-wrap: wrap; }
.hero-facts { list-style: none; padding: 0; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero-facts li, .hero-facts a { display: inline-flex; align-items: center; gap: 7px; font-size: 0.9375rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.hero-facts svg { flex: none; color: var(--violet); }
.hero-facts a:hover { color: var(--violet); }
.hero .lead + .hero-facts { margin-top: clamp(20px, 2.4vw, 28px); }
.hero-facts + .hero-move { margin-top: clamp(18px, 2.2vw, 24px); }

/* Priser: two boxes under the columns (the year rule and the move), side by side on wide screens */
.plans-boxes { display: grid; gap: clamp(14px, 1.8vw, 20px); margin-top: clamp(24px, 3vw, 36px); }
.plans-boxes .plans-move { margin-top: 0; }
@media (min-width: 900px) { .plans-boxes { grid-template-columns: 1fr 1fr; } }

/* Løsninger: plain lines without tick marks, flush with the heading; on wide screens each row lines up across the three columns */
.solution li { display: block; }
@media (min-width: 861px) {
  .solution { display: grid; grid-row: span 5; grid-template-rows: subgrid; }
}

/* Bottom logo and slogan: the same white above it as below it, down to the footer line */
.section-close { padding-top: clamp(22px, 2vw, 30px); }
.close-slim { padding-bottom: calc(clamp(22px, 2vw, 30px) - 8px); }

/* Priser as packages (15 Nov): same functions everywhere, the help from us below a line */
.plan-list { margin-bottom: 0; }
.plan-help { list-style: none; padding: 14px 0 0; margin: 16px 0 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan-help li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.3; font-weight: 800; color: var(--ink); }
.plan-help svg { flex: none; margin-top: 1px; color: var(--violet); }
.plan-help li.is-off { font-weight: 500; color: var(--muted); }
.plan-help li.is-off svg { color: var(--muted); opacity: 0.6; }
.plan-free .plan-help { border-top-color: rgba(255, 255, 255, 0.22); }
.plan-free .plan-help li.is-off, .plan-free .plan-help li.is-off svg { color: rgba(255, 255, 255, 0.62); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* The punchline line is gone (15 Nov): the last function line looks like the others */
.plan-list li:last-child, .plan-free .plan-list li:last-child { color: inherit; font-weight: 600; }

/* Priser with five packages (15 Nov): five across; rows line up across columns (subgrid) so help lines and buttons sit level */
.plans { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
.plan-help { align-content: start; }
.plan-from { font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--muted); }
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .plan { grid-column: span 2; }
  .plan:nth-child(4), .plan:nth-child(5) { grid-column: span 3; }
}
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .plan, .plan:nth-child(4), .plan:nth-child(5) { grid-column: auto; }
}
/* "fra" sits as a small label just above the price, so "1.099 kr." stays on one line */
.plan-price { position: relative; white-space: nowrap; }
.plan-price small { white-space: normal; }
.plan-from { position: absolute; left: 0; bottom: 100%; margin-bottom: 4px; font-size: 0.8125rem; line-height: 1; }

/* Priser with four packages again (15 Nov, 399 kr. dropped): four across, two and two, then one */
.plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan, .plan:nth-child(4), .plan:nth-child(5) { grid-column: auto; }
}
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
}

/* Homepage: the agent line comes right after the "Virker med" strip, without a big gap */
.section-punch { padding-top: clamp(40px, 4.5vw, 64px); }

/* Homepage, the agent's tasks (15 Nov): more compact, less air between the parts */
.section.section-tasks { padding-block: clamp(48px, 5.5vw, 80px); }
.section.section-punch { padding-bottom: clamp(48px, 5.5vw, 80px); }
.section-tasks .tasks-lead { margin-top: clamp(10px, 1.2vw, 16px); }
.section-tasks .tasks { margin-top: clamp(20px, 2.2vw, 28px); gap: 12px; }
.section-tasks .tasks li { padding: clamp(18px, 1.9vw, 24px); }
.section-tasks .tasks-more { margin-top: 12px; }
.section.section-tasks .tasks-close { margin-top: clamp(24px, 2.6vw, 32px); }

/* Homepage, "Tilslut den agent …" (15 Nov): the closing line sits under the statement, and the list rows are lower */
.section-punch .reach { margin-top: clamp(18px, 2vw, 26px); }
.section-punch .reach-list { margin-top: clamp(18px, 2vw, 26px); }
.section-punch .reach-list li { padding-block: clamp(16px, 1.7vw, 22px); }

/* Kontakt (15 Nov): "Tænker du som os?" fills the empty left side, level with the bottom of the cards; on the phone it comes after the cards */
.contact-grid { grid-template-areas: "intro cards" "join cards"; grid-template-rows: auto 1fr; }
.contact-grid > div:first-child { grid-area: intro; }
.contact-grid > .contact-cards { grid-area: cards; }
.contact-grid > .join { grid-area: join; align-self: end; margin-top: 32px; }
@media (max-width: 860px) {
  .contact-grid { grid-template-areas: "intro" "cards" "join"; grid-template-rows: auto; }
  .contact-grid > .join { margin-top: 8px; }
}
.section.contact { padding-bottom: clamp(48px, 5.5vw, 80px); }

/* Pilot period (15 Nov): a mint box above the price columns and a mint card on Kontakt */
.pilot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: clamp(24px, 3vw, 36px); padding: 16px 22px; border-radius: 18px; background: rgba(140, 216, 178, 0.28); }
.pilot-title { font-weight: 800; color: var(--ink); }
.pilot-text { flex: 1 1 420px; font-size: 1rem; line-height: 1.45; font-weight: 500; color: var(--ink); }
.pilot-link { font-weight: 700; color: var(--violet); text-decoration: none; white-space: nowrap; }
.pilot-link:hover { text-decoration: underline; }
.prices .pilot + .plans-scroll { margin-top: clamp(20px, 2.4vw, 28px); }
.cc-pilot a { background: rgba(140, 216, 178, 0.28); box-shadow: none; }

/* Pilot period bar under the top bar on every page (15 Nov) */
.pilot-bar { background: rgba(140, 216, 178, 0.32); }
.pilot-bar-inner { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; padding-block: 10px; font-size: 0.9375rem; line-height: 1.4; }
.pilot-bar p { font-weight: 500; color: var(--ink); }
.pilot-bar strong { font-weight: 800; margin-right: 6px; }
.pilot-bar a { font-weight: 700; color: var(--violet); text-decoration: none; white-space: nowrap; }
.pilot-bar a:hover { text-decoration: underline; }

/* "Få adgang" is greyed out during the pilot period (15 Nov): sign-up opens at launch */
.btn.btn-disabled, .btn.btn-disabled:hover { background: #E3E3E8; border-color: #E3E3E8; color: #8E8E96; box-shadow: none; transform: none; cursor: not-allowed; }
.plan-free .btn.btn-disabled { background: rgba(255, 255, 255, 0.22); border-color: transparent; color: rgba(255, 255, 255, 0.7); }

/* The pilot bar stays in view (15 Nov): under the sticky top bar on wide screens, at the very top on the phone, in a short version there */
.pilot-bar { position: sticky; top: 83px; z-index: 19; background: #DDF0E8; }
.pilot-short { display: none; }
@media (max-width: 720px) {
  .pilot-bar { top: 0; }
  .pilot-bar-inner { flex-wrap: nowrap; align-items: center; gap: 12px; padding-block: 8px; font-size: 0.875rem; }
  .pilot-long { display: none; }
  .pilot-short { display: inline; }
}

/* Pilot bar: the short text up to 1100 px, and "Vær med i testen" as a clear violet button */
.pilot-bar-inner { align-items: center; }
.pilot-bar a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--violet); color: #fff; font-size: 0.875rem; font-weight: 700; }
.pilot-bar a:hover { text-decoration: none; background: #5a3a99; }
@media (max-width: 1100px) {
  .pilot-bar-inner { flex-wrap: nowrap; gap: 12px; padding-block: 8px; }
  .pilot-long { display: none; }
  .pilot-short { display: inline; }
}

/* Priser: big pilot box above the price columns (15 Nov) */
.pilot-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(28px, 3.4vw, 44px); padding: clamp(22px, 3vw, 36px) clamp(22px, 3vw, 40px); border-radius: var(--radius); background: #DDF0E8; }
.pilot-box > div { flex: 1 1 420px; }
.pilot-box-title { font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.pilot-box-text { margin-top: 8px; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.45; font-weight: 500; color: var(--ink); }
.pilot-box .btn { flex: none; }
.prices .pilot-box + .plans-scroll { margin-top: clamp(20px, 2.4vw, 28px); }

/* "Skriv til os" under "Tænker du som os?" as a violet button, like the pilot bar (15 Nov) */
.join-link.btn { margin-top: 14px; color: #fff; text-decoration: none; }
.join-link.btn:hover { text-decoration: none; }
.join-link.btn { display: inline-flex; align-items: center; justify-content: center; }

/* Kontakt: the mint pilot card sits in the middle of the free space on the left (15 Nov) */
.contact-grid { grid-template-areas: "intro cards" "pilot cards" "join cards"; grid-template-rows: auto 1fr auto; }
.contact-grid > .contact-pilot { grid-area: pilot; align-self: center; margin-block: 28px; }
@media (max-width: 860px) {
  .contact-grid { grid-template-areas: "intro" "pilot" "cards" "join"; grid-template-rows: auto; }
  .contact-grid > .contact-pilot { margin-block: 0; }
}

/* Six links in the top bar (Forside added 15 Nov): tighter between 721 and 1000 px, and one row of links on the phone */
@media (max-width: 1000px) and (min-width: 721px) {
  .topbar-nav { gap: 14px; }
  .topbar-nav .btn { margin-left: 4px; }
}
@media (max-width: 860px) and (min-width: 721px) {
  .brand-slogan { font-size: 0.75rem; }
  .topbar-nav .link { font-size: 0.9375rem; }
}
@media (max-width: 420px) {
  .topbar-nav .link { margin-right: 11px; font-size: 0.9375rem; }
}
@media (max-width: 370px) {
  .topbar-nav .link { margin-right: 9px; font-size: 0.875rem; }
}
@media (max-width: 1000px) and (min-width: 721px) {
  .topbar .brand-slogan span { display: block; }
}
@media (max-width: 420px) {
  .topbar-nav .link { margin-right: 10px; font-size: 0.875rem; }
}
@media (max-width: 370px) {
  .topbar-nav .link { margin-right: 8px; font-size: 0.8125rem; }
}
@media (max-width: 380px) {
  .topbar-nav .link { margin-right: 8px; font-size: 0.8125rem; }
}
@media (max-width: 340px) {
  .topbar-nav .link { margin-right: 6px; font-size: 0.75rem; }
}
@media (max-width: 340px) {
  .topbar-nav .link[href="index.html"] { display: none; }
}
@media (max-width: 400px) {
  .footer-nav { flex-wrap: wrap; gap: 10px 18px; }
}
.section.section-pilot { padding-block: clamp(36px, 4.5vw, 64px); }
.section-pilot .pilot-box { margin-top: 0; }

/* Kontakt, tighter (15 Nov): less air at the top; on the left the text, the pilot card and "Tænker du som os?" follow each other without stretched gaps */
.section.contact { padding-top: clamp(32px, 4vw, 56px); }
.contact-grid { grid-template-rows: auto auto 1fr; row-gap: 0; }
.contact-grid > .contact-pilot { align-self: start; margin: clamp(24px, 2.6vw, 32px) 0 0; }
.contact-grid > .join { align-self: start; margin-top: clamp(28px, 3vw, 40px); }
@media (max-width: 860px) {
  .contact-grid { grid-template-rows: auto; row-gap: 0; }
  .contact-grid > .contact-cards { margin-top: 12px; }
}
/* Kontakt: the line under "Har du spørgsmål?" sits right under it */
.contact .headline + .lead { margin-top: 6px; }

/* Homepage: the solidarity message (15 Nov), its own calm block after the agent part */
.section.section-solidarity { padding-top: clamp(8px, 1vw, 16px); padding-bottom: clamp(48px, 5.5vw, 80px); }
.solidarity { padding-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line); }
.solidarity .lead { margin-top: 12px; max-width: 40em; }
.solidarity-link { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--violet); text-decoration: none; }
.solidarity-link:hover { text-decoration: underline; }
.solidarity { border-top: 0; padding-top: clamp(24px, 3vw, 40px); }

/* Priser: the lead under the heading in a smaller size (15 Nov) */
.prices .display + .lead { font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.5; max-width: 44em; }
.prices .display + .lead { margin-top: 10px; }

/* Half the air under the pilot bar on Priser, Løsninger, Om and Kontakt (15 Nov) */
.section.prices, .section.solutions-page, .section.about, .section.contact { padding-top: clamp(24px, 3.3vw, 52px); }

/* Løsninger: tighter between heading, lead and the columns (15 Nov) */
.solutions-page .headline + .lead { margin-top: 8px; }
.solutions-page .solutions { margin-top: clamp(24px, 2.6vw, 36px); }
.solutions-page .solution { padding-top: clamp(18px, 2vw, 26px); padding-bottom: clamp(18px, 2vw, 26px); }
.solutions-page .solution ul { margin: 12px 0 16px; }
.section.solutions-page { padding-bottom: clamp(40px, 5vw, 72px); }
.seal-reg { text-align: center; line-height: 1.2; }

/* 404 page (15 Nov) */
.notfound { padding-block: clamp(48px, 7vw, 104px); }
.notfound .headline { margin-top: clamp(32px, 4vw, 56px); }
.notfound .lead { margin-top: 10px; }
.notfound-links { margin-top: 20px; font-weight: 600; }
.notfound-links a { color: var(--violet); }
