/* RisagerDigital site styles.
   Colors live in :root so they can be changed in one place. */

:root {
  /* Brand */
  --navy: #0e1f3f;
  --navy-2: #15294f;
  --navy-3: #1f3866;
  --gold: #f4b400;
  --gold-2: #ffcb3d;
  --gold-soft: #fff3cf;
  --gold-ink: #7a5900;

  /* Page */
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef1f8;
  --ink: #0d1b33;
  --ink-2: #3f4a63;
  --muted: #687389;
  --line: #e2e6ef;

  /* Status colors (used in the example system) */
  --ok: #1e8e5a;
  --ok-soft: #dcf5e8;
  --wait: #9a6b00;
  --wait-soft: #fff1c9;
  --miss: #b4394a;
  --miss-soft: #fbe3e6;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 51, .06), 0 2px 8px rgba(13, 27, 51, .05);
  --shadow: 0 2px 6px rgba(13, 27, 51, .05), 0 12px 32px rgba(13, 27, 51, .08);
  --shadow-lg: 0 8px 24px rgba(13, 27, 51, .10), 0 30px 60px rgba(13, 27, 51, .12);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold-2); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Icons ---------- */
.icon { display: inline-flex; width: 22px; height: 22px; flex: none; }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(40px, 6.6vw, 76px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); line-height: 1.6; text-wrap: pretty; }
.muted { color: var(--muted); }
.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
.accent::after {
  content: "";
  position: absolute;
  left: -0.06em; right: -0.08em; bottom: 0.08em;
  height: 0.38em;
  background: var(--gold);
  opacity: .55;
  border-radius: 6px;
  z-index: -1;
  transform-origin: left center;
  transform: scaleX(0);
  animation: marker 1.1s .5s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes marker { to { transform: scaleX(1); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-ink);
  background: var(--gold-soft);
  border: 1px solid rgba(244, 180, 0, .35);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(244, 180, 0, .22); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin: 16px 0 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: 16px; font-weight: 700;
  padding: 15px 26px; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 22px rgba(244, 180, 0, .35); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(244, 180, 0, .45); }
.btn-ghost { background: var(--surface); color: var(--navy); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; transform: translateY(-2px); }
.btn.small { padding: 10px 18px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 251, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(246, 247, 251, .92); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; color: var(--navy); }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--navy); display: grid; place-items: center; color: var(--gold); font-weight: 800; font-size: 18px; box-shadow: var(--shadow-sm); }
.logo b { color: var(--gold); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--ink-2); padding: 9px 14px; border-radius: 999px; transition: color .2s ease, background .2s ease; }
.nav-links a:hover { color: var(--navy); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--navy); background: var(--surface-2); }
.nav-cta { margin-left: 8px; }
.nav-links a.btn-gold, .nav-links a.btn-gold[aria-current="page"] { background: var(--gold); color: var(--navy); padding: 10px 18px; }
.nav-links a.btn-gold:hover { background: var(--gold-2); color: var(--navy); }
.menu-btn { display: none; background: var(--surface); border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; color: var(--navy); align-items: center; justify-content: center; }
.menu-btn .icon { width: 22px; height: 22px; }
.nav-links { margin-left: auto; }

/* Language switch (EN | DA) in the header corner */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; flex: none; margin-left: -8px; padding: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.lang-switch a { text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .05em; line-height: 1; color: var(--muted); padding: 7px 11px; border-radius: 999px; transition: color .2s ease, background .2s ease; }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a[aria-current] { background: var(--navy); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14, 31, 63, .09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite; }
.blob.b1 { width: 460px; height: 460px; background: #cfdcff; top: -120px; left: -80px; }
.blob.b2 { width: 380px; height: 380px; background: #ffe7a3; top: 60px; right: -90px; animation-delay: -7s; }
.blob.b3 { width: 320px; height: 320px; background: #dfe7fb; bottom: -140px; left: 35%; animation-delay: -13s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 30px) scale(1.06); }
  66% { transform: translate(-30px, 20px) scale(.96); }
}
.hero-inner { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 { margin: 24px 0 22px; }
.hero .lead { max-width: 680px; margin: 0 auto; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.trust-row { display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap; margin-top: 34px; list-style: none; padding: 0; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.trust-row .icon { width: 18px; height: 18px; color: var(--ok); }

/* Floating icon chips around the hero */
.floaters { position: absolute; inset: 0; pointer-events: none; }
.floater {
  position: absolute; width: 58px; height: 58px; border-radius: 16px;
  background: var(--surface); box-shadow: var(--shadow);
  display: grid; place-items: center;
  border: 1px solid var(--line);
  animation: float 7s ease-in-out infinite;
}
.floater .icon { width: 26px; height: 26px; }
.floater.navy { color: var(--navy); }
.floater.gold { color: var(--gold-ink); background: var(--gold-soft); border-color: rgba(244,180,0,.35); }
.floater.green { color: var(--ok); }
.floater.small { width: 46px; height: 46px; border-radius: 13px; }
.floater.small .icon { width: 21px; height: 21px; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) * -1)); }
}

/* ---------- Sections ---------- */
section { position: relative; }
section[id] { scroll-margin-top: 80px; }
.section { padding: 110px 0; }
.section.tight { padding: 80px 0; }
.band-navy { background: var(--navy); color: #fff; overflow: hidden; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .lead, .band-navy .muted { color: #b9c4dc; }
.band-navy .eyebrow { background: rgba(244,180,0,.12); border-color: rgba(244,180,0,.35); color: var(--gold-2); }
.band-white { background: var(--surface); }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4dae8; }
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--ink-2); font-size: 16px; }
.icon-tile { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--navy); }
.icon-tile .icon { width: 24px; height: 24px; }
.icon-tile.gold { background: var(--gold-soft); color: var(--gold-ink); }

/* Who I work with */
.industry { display: flex; align-items: center; gap: 16px; padding: 22px 24px; }
.industry h3 { margin: 0 0 2px; font-size: 17.5px; }
.industry p { font-size: 15px; }

/* Quote */
.quote-card {
  margin-top: 28px; padding: 30px 34px; border-radius: var(--radius);
  background: var(--navy); color: #fff; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center;
  box-shadow: var(--shadow);
}
.quote-card .big { font-family: var(--font-accent); font-style: italic; font-size: clamp(44px, 6vw, 64px); line-height: 1; color: var(--gold-2); white-space: nowrap; }
.quote-card p { color: #c9d2e6; font-size: 16.5px; }
.quote-card strong { color: #fff; }

/* ---------- Example system (demo) ---------- */
.demo-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.demo-card {
  background: var(--surface); color: var(--ink); border-radius: 22px; box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid rgba(255,255,255,.08);
}
.demo-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.demo-title { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.demo-title .icon { color: var(--navy); }
.badge { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--ok); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30,142,90,.45); } 100% { box-shadow: 0 0 0 10px rgba(30,142,90,0); } }
.demo-rows { list-style: none; margin: 0; padding: 6px 0; }
.demo-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; padding: 12px 22px; transition: background .4s ease; }
.demo-row.flash { background: #f3fbf6; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--surface-2); }
.demo-row .who { font-weight: 700; font-size: 15px; line-height: 1.25; }
.demo-row .what { font-size: 13.5px; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; white-space: nowrap; transition: background .35s ease, color .35s ease, transform .35s ease; }
.status .icon { width: 14px; height: 14px; }
.status.missing { background: var(--miss-soft); color: var(--miss); }
.status.sent { background: var(--wait-soft); color: var(--wait); }
.status.received { background: var(--ok-soft); color: var(--ok); }
.status.new { background: #e6ecfb; color: var(--navy-3); }
.status.muted { background: var(--surface-2); color: var(--muted); }
.status.pop { transform: scale(1.08); }
.demo-tags { display: flex; gap: 10px; align-items: center; }
.avatar.doc { border-radius: 10px; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; background: #e6ecfb; color: var(--navy-3); }
.demo-row .who, .demo-row .what { overflow-wrap: anywhere; }
.demo-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: #fafbfe; }
.demo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.demo-stat .n { font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.demo-stat .l { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.progress { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--gold), #ffd666); transition: width .7s cubic-bezier(.2,.7,.2,1); }
.demo-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* Weekly overview example: an email that fills in line by line */
.mail { padding: 18px 22px 22px; }
.mail-head { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); opacity: .35; transform: translateY(-6px); transition: opacity .5s ease, transform .5s ease; }
.mail-demo.arrived .mail-head { opacity: 1; transform: none; }
.mail-head .avatar { width: 40px; height: 40px; background: var(--navy); color: var(--gold); }
.mail-head .avatar .icon { width: 20px; height: 20px; }
.mail-from { font-weight: 800; font-size: 15px; line-height: 1.25; }
.mail-subject { font-size: 13.5px; color: var(--muted); }
.mail-time { font-size: 12.5px; color: var(--muted); white-space: nowrap; align-self: start; }
.mail-lines { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.mail-line { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; font-size: 15px; color: var(--ink-2); opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.mail-line.show, .mail-needs.show { opacity: 1; transform: none; }
.mail-line .icon-tile { width: 38px; height: 38px; border-radius: 11px; }
.mail-line .icon-tile .icon { width: 19px; height: 19px; }
.mail-line b { font-size: 19px; font-weight: 800; color: var(--navy); margin-right: 2px; }
.mail-needs { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: var(--gold-soft); border: 1px solid rgba(244,180,0,.45); font-size: 14.5px; color: var(--navy); opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.mail-needs .icon { width: 18px; height: 18px; margin-top: 2px; }
.mail-demo .demo-note { margin-top: 0; }
.no-js .mail-head, .no-js .mail-line, .no-js .mail-needs { opacity: 1; transform: none; }

.feature-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 22px; }
.feature-list li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start; }
.feature-list .icon-tile { width: 46px; height: 46px; background: rgba(255,255,255,.08); color: var(--gold-2); }
.feature-list h3 { font-size: 18px; margin-bottom: 4px; }
.feature-list p { color: #b9c4dc; font-size: 15.5px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.step { position: relative; z-index: 1; background: transparent; text-align: left; }
.step-num {
  width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-weight: 800; font-size: 24px; box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 16px; }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.number { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.number .n { font-size: clamp(42px, 5vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--navy); }
.number .n .unit { font-size: .45em; font-weight: 700; color: var(--gold-ink); margin-left: 4px; letter-spacing: 0; }
.number p { margin-top: 12px; color: var(--ink-2); font-size: 15.5px; }

/* ---------- Guarantee ---------- */
.guarantee {
  display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
  background: linear-gradient(135deg, #fff8e1, #fffdf5); border: 1px solid rgba(244,180,0,.45);
  border-radius: 24px; padding: 38px 40px; box-shadow: var(--shadow-sm);
}
.guarantee .seal { width: 84px; height: 84px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(244,180,0,.18); }
.guarantee .seal .icon { width: 40px; height: 40px; }
.guarantee h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.guarantee p { color: var(--ink-2); }

/* ---------- Me / photo ---------- */
.me { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: center; }
.photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  box-shadow: var(--shadow-lg);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .placeholder { display: none; position: absolute; inset: 0; place-items: center; text-align: center; color: #c9d2e6; padding: 24px; }
.photo .placeholder .icon { width: 64px; height: 64px; color: var(--gold); margin: 0 auto 14px; }
.photo .placeholder span { display: block; font-weight: 700; color: #fff; }
.photo .placeholder small { display: block; font-size: 13px; margin-top: 4px; }
.photo.no-photo .placeholder { display: grid; }
.photo.no-photo img { display: none; }
.photo-tag {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.94); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow);
}
.photo-tag b { display: block; font-size: 15.5px; }
.photo-tag small { color: var(--muted); font-size: 13px; }
.photo-tag .flag { width: 30px; height: 21px; border-radius: 4px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.me h2 { margin: 16px 0 18px; }
.me p + p { margin-top: 14px; }
.me .lead { color: var(--ink); font-weight: 600; }
.me-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.me-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.me-list .icon { color: var(--ok); width: 20px; height: 20px; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); transition: border-color .2s ease; }
.faq details[open] { border-color: #cdd5e5; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; flex: none; transition: transform .3s ease, background .3s ease; }
.faq summary .plus .icon { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--gold-soft); color: var(--gold-ink); }
.faq .answer { padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align: center; padding: 100px 0; }
.cta-band .glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(244,180,0,.28), transparent 65%); top: -200px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.cta-band h2 { max-width: 760px; margin: 18px auto 16px; }
.cta-band .lead { max-width: 560px; margin: 0 auto; }
.cta-band .hero-ctas { margin-top: 34px; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; padding: 70px 0 60px; overflow: hidden; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 62px); margin: 20px 0 18px; max-width: 900px; }
.page-hero .lead { max-width: 700px; }

/* Systems: cards that open each system's own page */
.system-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.system-link h3 { margin: 18px 0 6px; }
.system-link .ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.system-link .ticks li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.system-link .ticks .icon { width: 17px; height: 17px; color: var(--ok); margin-top: 4px; }
.system-link .card-foot { margin-top: auto; padding-top: 20px; }
.system-link .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15.5px; color: var(--navy); }
.system-link .more .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.system-link:hover .more .icon, .system-link:hover .btn .icon { transform: translateX(3px); }
.system-link:hover .btn-ghost { border-color: var(--navy); }

/* Small labels in a row */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 15px; font-weight: 600; color: var(--ink-2); }
.chips .icon { width: 18px; height: 18px; color: var(--navy); }
.chips.center { justify-content: center; }

/* Short checked list */
.tick-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 14px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink-2); }
.tick-list .icon { width: 20px; height: 20px; color: var(--ok); margin-top: 3px; }
.band-navy .tick-list li { color: #dfe5f2; }
.band-navy .tick-list .icon { color: var(--gold-2); }

/* A system's own page */
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.product-hero h1 { font-size: clamp(34px, 4.4vw, 54px); margin: 14px 0 16px; }
.product-hero .hero-ctas { justify-content: flex-start; margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.crumbs a { color: var(--navy); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.good-for { margin-top: 28px; }
.good-for .label { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.good-for .chips li { font-size: 14px; padding: 7px 13px; box-shadow: none; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps.three::before { left: 34px; right: calc(33.33% - 47px); }
.custom-note { max-width: 640px; margin: 44px auto 0; text-align: center; color: var(--muted); }
.center-badge { text-align: center; }
.mini-head { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 22px; }
.mini-systems { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.mini-system { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 18px 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); text-decoration: none; font-weight: 700; line-height: 1.3; color: var(--navy); transition: border-color .2s ease, box-shadow .2s ease; }
.mini-system:hover { border-color: #cdd5e5; box-shadow: var(--shadow); }
.mini-system .icon-tile { width: 42px; height: 42px; border-radius: 12px; flex: none; }
.mini-system .icon-tile .icon { width: 21px; height: 21px; }
.mini-system .go { position: absolute; top: 20px; right: 18px; color: var(--muted); width: 18px; height: 18px; transition: transform .2s ease; }
.mini-system:hover .go { transform: translateX(3px); }
.mini-system > span:not(.go) { min-width: 0; max-width: 100%; }
@media (max-width: 640px) {
  .mini-systems { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .mini-system { flex-direction: row; align-items: center; padding: 14px 48px 14px 16px; }
  .mini-system .go { top: 50%; margin-top: -9px; }
}

/* Systems page */
.system-card { display: flex; flex-direction: column; }
.system-card ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.system-card li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.system-card li .icon { width: 17px; height: 17px; color: var(--ok); margin-top: 4px; }
.system-card.dashed { border-style: dashed; border-width: 2px; background: transparent; box-shadow: none; }
.promise { display: flex; gap: 16px; align-items: flex-start; }
.promise h3 { margin: 0 0 4px; font-size: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.checklist li .icon-tile { width: 42px; height: 42px; border-radius: 12px; }
.checklist b { display: block; margin-bottom: 2px; }
.checklist span { color: var(--ink-2); font-size: 15.5px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.book-card { background: var(--navy); color: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.book-card::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(244,180,0,.25), transparent 65%); right: -140px; top: -140px; }
.book-card h2 { color: #fff; font-size: clamp(28px, 3.4vw, 38px); margin: 16px 0 12px; position: relative; z-index: 1; }
.book-card p { color: #c9d2e6; position: relative; z-index: 1; }
.book-card .btn { margin-top: 26px; position: relative; z-index: 1; }
.book-card .pending { margin-top: 14px; font-size: 14px; color: var(--gold-2); display: none; position: relative; z-index: 1; }
.book-card.no-link .pending { display: block; }
.call-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.call-list li { display: flex; gap: 12px; color: #dfe5f2; }
.call-list .icon { color: var(--gold-2); width: 20px; height: 20px; margin-top: 3px; }
.contact-ways { display: grid; gap: 14px; }
.way { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.way:hover { transform: translateY(-3px); border-color: #cdd5e5; box-shadow: var(--shadow); }
.way b { display: block; }
.way span { color: var(--muted); font-size: 15px; word-break: break-word; }
.way .go { margin-left: auto; color: var(--muted); }

/* ---------- Who I work with ---------- */
.notin {
  display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center;
  background: linear-gradient(135deg, #fff8e1, #fffdf5); border: 1px solid rgba(244,180,0,.45);
  border-radius: 24px; padding: 30px 34px; box-shadow: var(--shadow-sm);
}
.notin-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.notin-icon .icon { width: 30px; height: 30px; }
.notin h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 4px; }
.notin p { color: var(--ink-2); }
.notin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.notin-line { margin-top: 26px; text-align: center; color: var(--ink-2); }
.notin-line a { color: var(--navy); font-weight: 700; }
.group-head { display: flex; align-items: center; gap: 14px; }
.group-head h3 { margin: 0; font-size: 18.5px; }
.group ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.group li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; hyphens: auto; }
.group li .icon { width: 17px; height: 17px; color: var(--ok); margin-top: 4px; }
.group.more { background: var(--surface-2); border-style: dashed; border-width: 2px; box-shadow: none; }
.group.more p { margin-top: 16px; }
@media (max-width: 860px) {
  .notin { grid-template-columns: 1fr; text-align: left; padding: 28px 24px; }
}

/* ---------- Guarantee badge + bigger guarantee ---------- */
.guarantee-badge {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px;
  background: var(--gold-soft); border: 1px solid rgba(244,180,0,.55); color: var(--navy);
  padding: 12px 20px; border-radius: 999px; font-size: 15.5px; text-align: left;
  box-shadow: 0 6px 18px rgba(244,180,0,.18);
}
.guarantee-badge .icon { width: 22px; height: 22px; color: var(--navy); flex: none; }
.guarantee-badge b { font-weight: 800; }
.page-hero .guarantee-badge, .me .guarantee-badge { margin-top: 22px; }
.guarantee.big { padding: 46px 48px; align-items: center; }
.guarantee.big .seal { width: 104px; height: 104px; }
.guarantee.big .seal .icon { width: 50px; height: 50px; }
.guarantee.big h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 14px 0 12px; }
.guarantee-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.guarantee-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.guarantee-points .icon { width: 19px; height: 19px; color: var(--ok); margin-top: 3px; }
.book-guarantee { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14.5px; color: var(--gold-2) !important; font-weight: 700; }
.book-guarantee .icon { width: 18px; height: 18px; }
.foot-guarantee { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2) !important; font-weight: 700; font-size: 14.5px; }
.foot-guarantee .icon { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .guarantee-badge { border-radius: 18px; padding: 12px 16px; font-size: 14.5px; }
  .guarantee.big { padding: 30px 22px; }
  .guarantee.big .seal { width: 76px; height: 76px; }
  .guarantee.big .seal .icon { width: 36px; height: 36px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c4dc; padding: 70px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: #fff; }
.site-footer .logo-mark { background: var(--gold); color: var(--navy); }
.site-footer p { margin-top: 16px; max-width: 340px; font-size: 15.5px; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #b9c4dc; transition: color .2s ease; }
.site-footer a:hover { color: #fff; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* ---------- Quick answers widget ---------- */
.qa-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--navy); box-shadow: 0 10px 26px rgba(244, 180, 0, .45), var(--shadow);
  display: grid; place-items: center; transition: transform .2s ease;
}
.qa-btn:hover { transform: scale(1.06); }
.qa-btn .icon { width: 28px; height: 28px; }
.qa-btn .ping { position: absolute; top: 3px; right: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--navy); border: 2px solid #fff; }
.qa-hint {
  position: fixed; right: 96px; bottom: 34px; z-index: 60;
  background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14px;
  padding: 10px 14px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease; pointer-events: none;
}
.qa-hint.show { opacity: 1; transform: none; }
.qa-panel {
  position: fixed; right: 22px; bottom: 96px; z-index: 61;
  width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 130px));
  background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.qa-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.qa-head { background: var(--navy); color: #fff; padding: 18px 20px; display: flex; align-items: center; gap: 12px; }
.qa-head .avatar { background: var(--gold); color: var(--navy); }
.qa-head b { display: block; font-size: 15.5px; }
.qa-head small { color: #b9c4dc; font-size: 12.5px; }
.qa-close { margin-left: auto; background: transparent; border: 0; color: #fff; cursor: pointer; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.qa-close:hover { background: rgba(255,255,255,.1); }
.qa-body { padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; animation: msgIn .3s ease both; }
.msg.bot { background: var(--surface-2); color: var(--ink); border-bottom-left-radius: 5px; }
.msg.me { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.msg a { color: inherit; font-weight: 700; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.qa-choices { padding: 12px 18px 14px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); max-height: 150px; overflow-y: auto; flex: none; }
.qa-body { min-height: 170px; }
.qa-choices button, .qa-choices a {
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; text-decoration: none;
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--navy);
  transition: border-color .2s ease, background .2s ease;
}
.qa-choices button:hover, .qa-choices a:hover { border-color: var(--navy); background: var(--surface-2); }
.qa-choices .primary { background: var(--gold); border-color: var(--gold); }
.qa-note { font-size: 12px; color: var(--muted); padding: 0 18px 14px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .grid-4, .numbers { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .demo-grid, .product-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .floater.hide-md { display: none; }
}
@media (max-width: 900px) {
  .floaters { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .section { padding: 84px 0; }
  .grid-3, .grid-2, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .me { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .photo { max-width: 420px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .guarantee { grid-template-columns: 1fr; text-align: left; padding: 32px 28px; }
  .quote-card { grid-template-columns: 1fr; gap: 10px; }
  .steps.three { grid-template-columns: 1fr; }
}
/* The Danish menu is wider, so the menu folds into a button a bit earlier */
@media (max-width: 1100px) {
  .nav { gap: 10px; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 22px;
    box-shadow: 0 20px 30px rgba(13,27,51,.08);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 17px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }
  .menu-btn { display: inline-flex; order: 2; }
  .lang-switch { order: 1; margin-left: auto; }
}
/* Longer Danish words must not push the example card wider than a phone */
.demo-grid > *, .demo-row > div { min-width: 0; }
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0 70px; }
  .grid-4, .numbers { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .floater.hide-sm { display: none; }
  .demo-row { grid-template-columns: 30px 1fr auto; gap: 10px; padding: 11px 14px; }
  .demo-row .avatar { width: 30px; height: 30px; font-size: 11.5px; }
  .demo-row .who { font-size: 14px; }
  .demo-row .what { font-size: 12.5px; }
  .status { font-size: 11.5px; padding: 5px 9px; }
  .demo-top { padding: 14px 16px; }
  .demo-title { font-size: 15px; }
  .demo-foot { padding: 14px 16px 18px; }
  .demo-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .demo-stat .n { font-size: 20px; }
  .mail { padding: 16px 16px 18px; }
  .card { padding: 24px; }
  .book-card { padding: 30px 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .qa-hint { display: none; }
  .qa-btn { right: 16px; bottom: 16px; }
  .qa-panel { right: 16px; bottom: 90px; }
}
/* Small phones: a tighter header, and status labels without their icon */
@media (max-width: 400px) {
  .nav { gap: 8px; }
  .logo { font-size: 17px; gap: 7px; }
  .logo-mark { width: 28px; height: 28px; font-size: 15px; border-radius: 9px; }
  .lang-switch a { padding: 6px 7px; font-size: 12px; }
  .menu-btn { width: 40px; height: 40px; flex: none; }
  .status { font-size: 11px; }
  .status .icon { display: none; }
  .demo-stat .l { font-size: 11.5px; }
  .way { padding: 16px; gap: 12px; }
  .way .go { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .accent::after { transform: scaleX(1); }
}
