/*
 * signatureguru.dk – fælles stylesheet for hjemmesiden.
 *
 * Bygget på PhoneGurus designsystem (samme tokens, skrifter og sektionsmønstre),
 * så guru-siderne ligner hinanden. Ingen inline styles i HTML'en: CSP'en tillader
 * kun style-src 'self'.
 */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo.woff2') format('woff2-variations'), url('/assets/fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/assets/fonts/hanken-grotesk.woff2') format('woff2-variations'), url('/assets/fonts/hanken-grotesk.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farver */
  --navy: #0e3b43;
  --navy-dark: #0a2e35;
  --navy-raised: #154a54;
  --navy-line: #2c5a63;
  --navy-soft: #1f525c;
  --navy-outline: #5e8890;
  --cyan: #00bfff;
  --cyan-light: #b3ecff;
  --cyan-pale: #e6f8ff;
  --button: #007bb0;
  --bg: #f3f7f8;
  --white: #ffffff;
  --border: #d9e5e8;
  --border-faq: #c9d9dc;
  --border-strong: #9db5ba;
  --muted: #4b676d;
  --muted-strong: #2e5158;
  --on-dark-muted: #c9dee2;
  --link: #0a6f8f;
  --success: #0f8a5f;
  --success-bg: #ddf5ea;
  --success-text: #0b6b49;
  --warning-bg: #fff1e6;
  --warning-text: #8a3a08;
  --danger: #a3361b;

  /* Typografi */
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;

  /* Form og rytme */
  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-tile: 18px;
  --radius-input: 12px;
  --content: 1200px;
  --gutter: 24px;
  --section-y: 104px;
  --shadow-soft: 0 10px 24px rgba(14, 59, 67, 0.18);
  --shadow-card: 0 20px 44px rgba(14, 59, 67, 0.12);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Grundlag ---------- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 { text-wrap: balance; margin: 0; }
p, li { text-wrap: pretty; }
p { margin: 0; }

a { color: var(--navy); transition: color 0.15s ease; }
a:hover { color: var(--link); }

::selection { background: var(--cyan-light); color: var(--navy); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--cyan-light);
  outline-offset: 0;
  border-color: var(--link);
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container {
  max-width: var(--content);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--tint { background: var(--bg); }
.section--dark { background: var(--navy); color: var(--white); }

.stack { display: flex; flex-direction: column; }
.stack--lg { gap: 48px; }

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

.eyebrow {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--link);
}
.section--dark .eyebrow { color: var(--cyan); }

.h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 68px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
}

.lead { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.section--dark .lead { color: var(--on-dark-muted); }

.body-lg { font-size: 18px; line-height: 1.6; color: var(--muted); }

.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }

/* ---------- Knapper ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: var(--shadow-soft); }
.btn:active { transform: none; box-shadow: none; }

.btn--primary { background: var(--button); color: var(--white); }
.btn--primary:hover { color: var(--white); }

.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { color: var(--white); }

.btn--ghost-dark { background: transparent; color: var(--white); border-color: var(--navy-outline); }
.btn--ghost-dark:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }

.btn--sm { min-height: 44px; padding: 0 20px; font-size: 16px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-block;
  font-weight: 700;
  font-size: 17px;
  padding: 10px 0;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  font-size: 16px;
  font-weight: 600;
}
.site-nav a:not(.btn) { text-decoration: none; padding: 10px 0; }
.site-nav a[aria-current='page']:not(.btn) {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

@media (min-width: 721px) {
  .site-header { position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 rgba(14, 59, 67, 0.04); }
}

.logo { display: flex; align-items: center; text-decoration: none; padding: 4px 14px 4px 0; }
.logo img { height: 40px; width: auto; transform-origin: 6% 90%; }
.logo:hover img { animation: sg-nib 0.9s ease-in-out; }
@keyframes sg-nib {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-2deg); }
  60% { transform: rotate(1.5deg); }
}

/* Ankre under den klæbende header. */
[id] { scroll-margin-top: 96px; }

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

.hero__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: 88px;
  padding-bottom: 96px;
}
.hero__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__visual { flex: 1 1 480px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }

/* Stiliseret Outlook-skrivevindue, hvor signaturen sættes ind – rent dekorativ.
   8 sekunders loop: teksten står der, signaturen glider ind og blinker cyan,
   og en lille besked fortæller, at SignatureGuru satte den ind. */
.demo {
  position: relative;
  background: var(--navy-raised);
  border-radius: var(--radius-card);
  padding: 28px;
}
.demo__caption { font-size: 13px; color: var(--on-dark-muted); text-align: right; }

.mail {
  position: relative;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-tile);
  overflow: hidden;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.35);
  font-size: 14px;
}
.mail__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 13px;
}
.mail__dots { display: flex; gap: 6px; }
.mail__dots span { width: 9px; height: 9px; border-radius: 5px; background: var(--border-strong); }
.mail__send {
  margin-left: auto;
  background: var(--button);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 12px;
}
.mail__field {
  display: flex;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  min-width: 0;
}
.mail__label { color: var(--muted); min-width: 40px; }
.mail__body { padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 10px; min-height: 300px; }
.mail__greet { font-size: 14px; }
.mail__line { height: 9px; border-radius: 5px; background: var(--border); }
.mail__line--w90 { width: 90%; }
.mail__line--w70 { width: 70%; }
.mail__line--w40 { width: 40%; }
.mail__caret { display: inline-block; width: 2px; height: 14px; vertical-align: -2px; background: var(--navy); animation: sg-caret 1s steps(2) infinite; }

.sig {
  margin-top: 6px;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: sg-sig 8s var(--ease-out) infinite;
}
.sig__main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sig__logo {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
}
.sig__divider { flex: 0 0 2px; align-self: stretch; background: var(--cyan); border-radius: 1px; }
.sig__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sig__name { font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.sig__title { font-size: 12px; color: var(--muted); }
.sig__contact { font-size: 12px; color: var(--link); overflow-wrap: anywhere; }
.sig__social { display: flex; gap: 6px; margin-top: 4px; }
.sig__social span { width: 16px; height: 16px; border-radius: 4px; background: var(--navy); }
.sig__social span:nth-child(2) { background: var(--button); }
.sig__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--cyan-pale);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}
.sig__cta { background: var(--navy); color: var(--white); border-radius: var(--radius-pill); padding: 4px 10px; font-size: 11px; white-space: nowrap; }

.toast {
  position: absolute;
  right: 14px; bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 6px 14px 6px 6px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  animation: sg-toast 8s var(--ease-out) infinite;
}
.toast img { width: 22px; height: 22px; border-radius: 11px; background: var(--white); padding: 2px; }

@keyframes sg-caret { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes sg-sig {
  0%, 18% { opacity: 0; transform: translateY(10px); background: var(--cyan-light); }
  25% { opacity: 1; transform: none; background: var(--cyan-light); }
  45%, 92% { opacity: 1; transform: none; background: rgba(179, 236, 255, 0); }
  98%, 100% { opacity: 0; transform: none; background: rgba(179, 236, 255, 0); }
}
@keyframes sg-toast {
  0%, 22% { opacity: 0; transform: translateY(8px); }
  27%, 64% { opacity: 1; transform: none; }
  70%, 100% { opacity: 0; transform: translateY(8px); }
}

/* ---------- "Virker med" ---------- */

.works-with { border-bottom: 1px solid var(--border); }
.works-with__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 48px;
  padding-top: 28px;
  padding-bottom: 28px;
  margin: 0 auto;
  list-style: none;
}
.works-with__label { font-size: 15px; font-weight: 600; color: var(--muted); }
.works-with__name { font-family: var(--font-display); font-weight: 800; font-size: 24px; }

/* ---------- Kort ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  text-decoration: none;
  background: var(--bg);
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--navy);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); color: var(--navy); }
.card--accent { background: var(--cyan-pale); }
.card__top { display: flex; justify-content: space-between; align-items: center; }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--cyan-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card--accent .card__icon { background: var(--cyan); }
.card__text { font-size: 17px; line-height: 1.6; color: var(--muted); }
.card--accent .card__text { color: var(--muted-strong); }
.card__more { font-weight: 700; font-size: 17px; margin-top: auto; }
.card__more span { display: inline-block; transition: transform 0.25s var(--ease-out); }
a.card:hover .card__more span { transform: translateX(5px); }
.card__icon { transition: transform 0.3s var(--ease-out); }
a.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }

/* Indgang (site.js sætter --anim og .is-in): kortene stiger op ét ad gangen,
   og ikonet springer frem. */
.card-grid--anim:not(.is-in) .card { opacity: 0; transform: translateY(36px); }
.card-grid--anim:not(.is-in) .card__icon { opacity: 0; transform: scale(0.4); }
.card-grid--anim.is-in .card {
  --d: calc(var(--i, 0) * 150ms);
  animation: pg-reveal 0.75s var(--ease-out) var(--d) backwards;
}
.card-grid--anim.is-in .card__icon { animation: pg-pop 0.55s cubic-bezier(.34,1.56,.64,1) calc(var(--d) + 300ms) backwards; }
.card:nth-child(2) { --i: 1; }
.card:nth-child(3) { --i: 2; }
.card-grid--anim.is-in a.card:hover .card__icon { animation: pg-wiggle 0.5s ease; }
@keyframes pg-wiggle { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-10deg) scale(1.08); } 60% { transform: rotate(6deg) scale(1.08); } }

.badge {
  display: inline-block;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
  background: var(--navy);
  color: var(--white);
}

/* ---------- Feature-split ---------- */

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}
.split__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.tile-grid {
  flex: 1 1 480px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.tile {
  background: var(--white);
  border-radius: var(--radius-tile);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tile__title { font-family: var(--font-display); font-weight: 800; font-size: 19px; }
.tile__text { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- Hvorfor SignatureGuru ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.why {
  position: relative;
  border-top: 4px solid transparent;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s var(--ease-out);
}
/* Den cyan streg; tegnes fra venstre, når punktet kommer ind i billedet. */
.why::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -4px;
  height: 4px;
  background: var(--cyan);
  transform-origin: left;
}
.why::before {
  z-index: 1;
  content: '';
  position: absolute;
  left: 0; top: -4px;
  height: 4px; width: 0;
  background: var(--navy);
  transition: width 0.45s var(--ease-out);
}
.why:hover { transform: translateY(-4px); }
.why:hover::before { width: 100%; }
.why__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 18px;
  background: var(--cyan-pale);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  color: var(--link);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.why:hover .why__n { background: var(--cyan); color: var(--navy); transform: rotate(-8deg) scale(1.08); }
.why__title { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.why__text { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Indgang: site.js sætter .why-grid--anim (skjult) og .is-in, når listen ses.
   Uden JS vises alt som normalt. Punkterne kommer ét ad gangen. */
.why-grid--anim:not(.is-in) .why { opacity: 0; transform: translateY(28px); }
.why-grid--anim:not(.is-in) .why::after { transform: scaleX(0); }
.why-grid--anim:not(.is-in) .why__n { transform: scale(0.4); opacity: 0; }
.why-grid--anim.is-in .why {
  --d: calc(var(--i, 0) * 140ms);
  animation: pg-reveal 0.7s var(--ease-out) var(--d) backwards;
}
.why-grid--anim.is-in .why::after { animation: pg-line 0.8s var(--ease-out) calc(var(--d) + 150ms) backwards; }
.why-grid--anim.is-in .why__n { animation: pg-pop 0.5s cubic-bezier(.34,1.56,.64,1) calc(var(--d) + 350ms) backwards; }
.why:nth-child(2) { --i: 1; }
.why:nth-child(3) { --i: 2; }
.why:nth-child(4) { --i: 3; }
@keyframes pg-reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pg-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pg-pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }

/* ---------- FAQ ---------- */

.faq { max-width: 880px; display: flex; flex-direction: column; gap: 32px; }
.faq__list { border-top: 1px solid var(--border-faq); }
.faq details { border-bottom: 1px solid var(--border-faq); padding: 22px 0; }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 19px;
  min-height: 28px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: 0 0 auto;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: var(--link);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* ---------- CTA-bånd ---------- */

.cta-wrap { background: var(--bg); padding: 0 var(--gutter) var(--section-y); }
.cta {
  max-width: var(--content);
  margin: 0 auto;
  background: var(--cyan);
  border-radius: 28px;
  padding: 64px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta__copy { display: flex; align-items: center; gap: 28px; flex: 1 1 480px; min-width: 0; }
.cta__mascot { width: 96px; height: auto; flex: 0 0 auto; }
.cta__title { font-family: var(--font-display); font-weight: 900; font-size: 40px; line-height: 1.1; }
.cta__text { font-size: 18px; line-height: 1.5; margin-top: 10px; }

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

.site-footer { background: var(--navy-dark); color: var(--on-dark-muted); }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--white); }
.site-footer__inner { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.site-footer__about { display: flex; flex-direction: column; gap: 12px; max-width: 360px; font-size: 15px; line-height: 1.6; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 48px; font-size: 15px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col strong { color: var(--white); }
.site-footer__bottom {
  border-top: 1px solid var(--navy-line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.card:nth-child(4) { --i: 3; }
.card:nth-child(5) { --i: 4; }
.card:nth-child(6) { --i: 5; }
.site-footer__logo { height: 34px; width: auto; }

/* ---------- Trin og kontakt (support) ---------- */

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 16px; }
.step {
  counter-increment: step;
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-tile);
  padding: 24px 24px 24px 84px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 24px; top: 22px;
  width: 40px; height: 40px;
  border-radius: 20px;
  background: var(--cyan);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__title { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.step__text { font-size: 16px; line-height: 1.6; color: var(--muted); }
.step__text a { color: var(--link); }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--navy);
  background: var(--white);
  border-radius: var(--radius-tile);
  padding: 20px;
  height: 100%;
}
a.contact-line:hover { color: var(--navy); box-shadow: var(--shadow-card); }
.contact-line__icon {
  width: 44px; height: 44px;
  border-radius: 22px;
  background: var(--cyan-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.contact-line__text { display: flex; flex-direction: column; gap: 2px; }
.contact-line__text strong { font-size: 17px; }
.contact-line__text span { font-size: 14px; color: var(--muted); }

.notice {
  background: var(--cyan-pale);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.55;
}

.not-found { align-items: flex-start; }

/* ---------- Juridiske sider ---------- */

.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.65; }
.prose h2 { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin-top: 24px; }
.prose h3 { font-family: var(--font-display); font-weight: 800; font-size: 19px; margin-top: 8px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose a { color: var(--link); }
.prose code { font-size: 15px; background: var(--bg); border-radius: 6px; padding: 1px 6px; }
.prose__updated { font-size: 15px; color: var(--muted); }

.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.prose th { font-weight: 700; background: var(--bg); }

/* ---------- Responsivt ---------- */

@media (max-width: 720px) {
  :root { --section-y: 64px; }
  .site-nav { gap: 4px 18px; font-size: 15px; }
  .site-nav a:not(.btn) { padding: 6px 0; }
  .logo img { height: 34px; }
  .h1 { font-size: 40px; line-height: 1.08; }
  .h2 { font-size: 32px; }
  .cta__title { font-size: 30px; }
  .hero__inner { padding-top: 56px; padding-bottom: 64px; }
  .lead { font-size: 18px; }
  .demo { padding: 14px; }
  .mail__body { min-height: 0; padding-bottom: 56px; }
  .card { padding: 28px; }
  .works-with__inner { gap: 10px 24px; }
  .works-with__name { font-size: 20px; }
  .works-with__label:first-child { flex-basis: 100%; text-align: center; }
  .cta { padding: 40px 24px; }
  .cta__copy { flex-direction: column; align-items: flex-start; }
  .step { padding: 76px 20px 20px; }
  .step::before { top: 20px; left: 20px; }
}

/* ---------- Bevægelse slås fra efter ønske ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .sig, .toast { opacity: 1; }
}

.cta-wrap--white { background: var(--white); }
.section:not(.section--tint) .tile { background: var(--bg); }
