/* ============================================
   FONT — Manrope, self-hostet (woff2)
   Ingen tredjepart — erstatter tidligere Google Fonts-embed.
   ============================================ */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-800.woff2') format('woff2');
}

/* ============================================
   DESIGN TOKENS
   Teal-grønn palett ("blå som går mot grønn")
   ============================================ */
:root {
  /* Base — teal-grønn palett ("blå som går mot grønn") */
  --bg:            #FFFFFF;
  --bg-alt:        #DEEDE5;
  --bg-dark:       #103230;
  --surface:       #FFFFFF;

  /* Tekst — mørk med grønn-stikk */
  --text:          #0E1F1D;
  --text-muted:    #3D524E;
  --text-invert:   #D9EDE7;

  /* Aksent — teal-grønn */
  --accent:        #1F5856;
  --accent-hover:  #133835;
  --accent-soft:   #C5E0DB;
  --accent-light:  #7BAFA9;
  --accent-bright: #2DA89B;
  --accent-bright-rgb: 45, 168, 155;
  --accent-soft-rgb:   197, 224, 219;

  /* Funksjon */
  --success:       #2E6F4F;
  --warning:       #C97A2E;
  --danger:        #BA1A1A;

  /* Linjer */
  --border:        #CCDFDB;
  --border-strong: #8FB3AD;

  /* Mål */
  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 30px;
  --radius-btn: 12px;
  --ctrl-h:    clamp(36px, 2.6vw, 40px);
  --nav-h:     clamp(74px, 5.8vw, 94px);
  --maxw:         1700px;
  --maxw-header:  1900px;
  --gutter:       clamp(20px, 3.5vw, 48px);

  /* Typografi */
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Fontstørrelser — alt med clamp */
  --fs-body:   clamp(1rem,      0.35vw + 0.92rem, 1.125rem);     /* 16 → 18 */
  --fs-lede:   clamp(1.15rem,   0.7vw + 1rem, 1.375rem);         /* 18 → 22 */
  --fs-small:  clamp(0.9rem,    0.25vw + 0.86rem, 1rem);         /* 14.4 → 16 */
  --fs-micro:  clamp(0.85rem,   0.15vw + 0.82rem, 0.92rem);      /* 13.6 → 14.7 */

  --fs-h1:     clamp(2.35rem,   3.4vw + 1rem, 4.2rem);           /* 37.6 → 67.2 */
  --fs-h2:     clamp(2rem,      2.8vw + 1rem, 3.4rem);           /* 32 → 54 */
  --fs-h3:     clamp(1.35rem,   0.65vw + 1.15rem, 1.65rem);      /* 21.6 → 26.4 */
  --fs-h4:     clamp(1.05rem,   0.25vw + 1rem, 1.2rem);          /* 16.8 → 19.2 */

  --fs-eyebrow: clamp(1rem, 0.3vw + 0.95rem, 1.125rem);          /* 16 → 18 */
}

/* ============================================
   MØRK HERO — grønn gradient (valgt variant)
   Tekst/element-styling deles via [data-hero^="dark"].
   ============================================ */

/* Grønn gradient — gradienten ligger på .hero-band, så den følger
   hero-ens faktiske høyde automatisk (ingen fast height-cap). */
body[data-hero="dark-deep-green"] .hero-band {
  background:
    radial-gradient(ellipse 1800px 1000px at 95% 0%, rgba(var(--accent-bright-rgb), 0.44) 0%, transparent 65%),
    radial-gradient(ellipse 1500px 900px at -8% 108%, rgba(var(--accent-bright-rgb), 0.16) 0%, transparent 60%),
    linear-gradient(180deg, #051917 0%, #0A2422 55%, var(--bg-dark) 100%);
}

/* Felles for alle mørke varianter — tekst, nav, meeting-frame, SVG */
body[data-hero^="dark"] .hero h1,
body[data-hero^="dark"] .hero .h1-sub { color: var(--text-invert); }
body[data-hero^="dark"] .hero .lede { color: rgba(217, 237, 231, 0.78); }
body[data-hero^="dark"] .hero .btn-primary {
  background: #fff;
  color: var(--accent);
}
body[data-hero^="dark"] .hero .btn-primary:hover {
  background: rgba(255, 255, 255, 0.88);
}
body[data-hero^="dark"] .hero .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
body[data-hero^="dark"] .hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* Nav over mørk hero — før scroll */
body[data-hero^="dark"] .nav:not(.scrolled) .logo { color: #fff; }
/* Desktop-pille over mørk hero — på mobil er menyen en bunnlinje (se nederst) */
@media (min-width: 961px) {
  body[data-hero^="dark"] .nav:not(.scrolled) .nav-links {
    background: rgba(15, 29, 46, 0.32);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 2px 14px -6px rgba(0, 0, 0, 0.28);
  }
  body[data-hero^="dark"] .nav:not(.scrolled) .nav-links a {
    color: rgba(217, 237, 231, 0.78);
  }
  body[data-hero^="dark"] .nav:not(.scrolled) .nav-links a:hover {
    background: rgba(var(--accent-soft-rgb), 0.14);
    color: var(--text-invert);
  }
}
body[data-hero^="dark"] .nav:not(.scrolled) .btn-primary {
  background: #fff;
  color: var(--accent);
}
body[data-hero^="dark"] .nav:not(.scrolled) .btn-primary:hover {
  background: rgba(255, 255, 255, 0.88);
}

/* Meeting-frame — transparent glass på mørk hero */
body[data-hero^="dark"] .meeting-frame {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.55),
    0 16px 32px -18px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
          backdrop-filter: blur(28px) saturate(140%);
}
body[data-hero^="dark"] .meeting-frame__bar {
  background: rgba(255, 255, 255, 0.03);
  border-bottom-color: rgba(255, 255, 255, 0.10);
}
body[data-hero^="dark"] .meeting-frame__title {
  color: rgba(217, 237, 231, 0.72);
}
body[data-hero^="dark"] .meeting-frame__title svg { opacity: 0.85; }
body[data-hero^="dark"] .meeting-frame__status {
  background: rgba(var(--accent-bright-rgb), 0.22);
  color: #fff;
}
body[data-hero^="dark"] .meeting-frame__canvas {
  background: transparent;
}

/* SVG-nettverk: bruker accent-bright (følger palett), mer gjennomsiktig */
body[data-hero^="dark"] .hero-shield .link {
  stroke: var(--accent-bright);
  stroke-width: 1.4;
  opacity: 0.7;
}
body[data-hero^="dark"] .hero-shield .node {
  fill: var(--accent-bright);
  opacity: 0.85;
}

/* Verify-badge */
body[data-hero^="dark"] .verify-badge {
  background: rgba(15, 29, 46, 0.55);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.5);
}
body[data-hero^="dark"] .verify-badge__label { color: var(--text-invert); }
body[data-hero^="dark"] .verify-badge__sub { color: rgba(217, 237, 231, 0.7); }

/* Trust-row på mørk hero — ensfarget hvite logoer */
body[data-hero^="dark"] .trust-label { color: rgba(255, 255, 255, 0.62); }
body[data-hero^="dark"] .trust-logo img,
body[data-hero^="dark"] .trust-logo svg {
  filter: brightness(0) invert(1) opacity(0.78);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 500;
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
}
/* Hero-band — wrapper rundt nav + hero. Gradienten følger hero-ens
   faktiske høyde, så den dekker alltid hele hero uansett skjermstørrelse. */
.hero-band {
  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 82% 18%, rgba(var(--accent-bright-rgb), 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 700px 400px at 12% 8%, rgba(var(--accent-bright-rgb), 0.14) 0%, transparent 58%),
    linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-alt) 58%, var(--bg) 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: 1100px; }

/* ============================================
   TYPOGRAFI
   ============================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}
h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.02; }
h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-h4); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: clamp(6px, 0.5vw, 8px) clamp(14px, 1vw, 18px);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--fs-small);
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: clamp(1rem, 1vw, 1.5rem);
  line-height: 1;
}
section.dark .eyebrow,
.contact-card .eyebrow {
  background: rgba(197, 224, 219, 0.14);
  color: var(--accent-light);
}
.lede {
  font-size: var(--fs-lede);
  color: var(--text-muted);
  max-width: 64ch;
  line-height: 1.5;
  font-weight: 500;
}

/* ============================================
   KNAPPER — firkantet med subtil radius
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: var(--ctrl-h);
  padding: 0 clamp(15px, 1.1vw, 20px);
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: var(--fs-micro);
  letter-spacing: 0.005em;
  line-height: 1;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}
.btn-arrow::after { content: '→'; font-weight: 500; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 50;
}
/* På scroll: kun midtmenyen blir igjen — logo og knapp tones ut */
.nav .logo,
.nav .nav-cta {
  transition: opacity 0.28s ease, visibility 0.28s;
}
@media (min-width: 961px) {
  .nav.scrolled .logo,
  .nav.scrolled .nav-cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
/* Midtmenyen som flytende pille når man har scrollet (kun desktop) */
@media (min-width: 961px) {
  .nav.scrolled .nav-links {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 22px -10px rgba(14, 31, 29, 0.30);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
            backdrop-filter: blur(10px) saturate(150%);
  }
}
.nav.scrolled .nav-links a { color: var(--text-muted); }
.nav.scrolled .nav-links a:hover { color: var(--text); }
.nav .container {
  max-width: var(--maxw-header);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(18px, 1.6vw, 26px);
  padding-bottom: clamp(18px, 1.6vw, 26px);
}
.logo {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  line-height: 0;
}
.logo svg,
.logo img {
  height: clamp(30px, 2.6vw, 40px);
  width: auto;
  display: block;
}
.footer-brand .logo svg,
.footer-brand .logo img { height: clamp(34px, 2.8vw, 44px); }
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.4vw, 6px);
  height: var(--ctrl-h);
  -webkit-backdrop-filter: blur(3px) saturate(100%);
          backdrop-filter: blur(3px) saturate(100%);
  list-style: none;
  background: rgba(255, 255, 255, 0.35);
  border: 1.5px solid rgba(237, 244, 255, 0.51);
  box-shadow: 0 2px 10px -6px rgba(23, 54, 106, 0.18);
  padding: 4px;
  border-radius: var(--radius-btn);
  line-height: 1;
}
.nav-links li { display: flex; align-items: center; height: 100%; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 clamp(11px, 0.9vw, 15px);
  border-radius: 8px;
  font-size: var(--fs-micro);
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}
/* Hover på lys bakgrunn — svak grønn tone */
.nav-links a:hover {
  background: rgba(var(--accent-soft-rgb), 0.5);
  color: var(--text);
}
/* Aktivt menypunkt — lysegrønn pille, 4px innafor menycontaineren */
.nav-links a.active,
.nav.scrolled .nav-links a.active {
  background: var(--accent-soft);
  color: var(--accent);
}
/* Aktiv på mørk hero — dempet grønn som blender inn, lys tekst.
   Et hakk lysere enn hover-staten på samme bakgrunn. (kun desktop) */
@media (min-width: 961px) {
  body[data-hero^="dark"] .nav:not(.scrolled) .nav-links a.active {
    background: rgba(var(--accent-soft-rgb), 0.24);
    color: var(--text-invert);
  }
}
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* Mobil/nettbrett — menyen flyttes til en fast bunnlinje */
@media (max-width: 960px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .nav-links {
    display: flex;
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    height: auto;
    justify-content: space-around;
    gap: 2px;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    border: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -6px 24px -12px rgba(14, 31, 29, 0.4);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
            backdrop-filter: blur(12px) saturate(150%);
    z-index: 60;
  }
  .nav-links li { flex: 1; height: auto; }
  .nav-links a {
    width: 100%;
    height: auto;
    justify-content: center;
    padding: 10px 4px;
    border-radius: 10px;
    font-size: clamp(0.72rem, 2.4vw, 0.82rem);
    white-space: nowrap;
  }
}

/* ============================================
   SECTION (generisk)
   ============================================ */
section {
  padding: clamp(56px, 7vw, 104px) 0;
  scroll-margin-top: calc(var(--nav-h) + 10px);
}
section.alt { background: var(--bg-alt); }
section.dark {
  background: var(--bg-dark);
  color: var(--text-invert);
}
section.dark h1,
section.dark h2,
section.dark h3,
section.dark h4 { color: var(--text-invert); }
section.dark .lede { color: rgba(217, 237, 231, 0.78); }
section.dark .eyebrow { color: var(--accent-light); }

/* Section-card — boxer en seksjon for å skille innhold fra resten av siden */
.section-card {
  background: var(--bg-alt);
  border-radius: clamp(20px, 2.4vw, 36px);
  padding: clamp(40px, 5vw, 80px) clamp(28px, 3.5vw, 64px);
}

/* Subtil gradient bak Historien-seksjonen på om-oss */
body[data-page="about"] .hero-band + section {
  background: linear-gradient(180deg,
    rgba(var(--accent-soft-rgb), 0) 0%,
    rgba(var(--accent-soft-rgb), 0.35) 22%,
    rgba(var(--accent-soft-rgb), 0.35) 78%,
    rgba(var(--accent-soft-rgb), 0) 100%);
}

.section-head { max-width: 940px; margin: 0 0 clamp(48px, 6vw, 80px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  margin-bottom: clamp(14px, 1.2vw, 22px);
  text-wrap: balance;
}

.section-head-split {
  display: flex;
  align-items: flex-end;
  align-items: last baseline;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 48px);
  margin: 0 0 clamp(24px, 2.4vw, 36px);
}
.section-head-split .section-head { margin: 0; max-width: 720px; }
.section-head-split .section-head h2 { margin-bottom: 0; }
@media (max-width: 720px) {
  .section-head-split { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: calc(var(--nav-h) + clamp(24px, 3vw, 56px)) 0 clamp(30px, 3vw, 50px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
}
.hero h1 { margin-bottom: clamp(24px, 2.4vw, 38px); max-width: 22ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: inherit; }
.hero .h1-sub {
  font-size: clamp(1.35rem, 0.9vw + 1.05rem, 1.9rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: clamp(24px, 2.6vw, 40px);
  max-width: 32ch;
  line-height: 1.25;
}
.hero .lede { margin-bottom: clamp(44px, 4.5vw, 68px); max-width: 56ch; line-height: 1.65; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-shield { width: 100%; height: 100%; overflow: visible; }

/* Møte-ramme rundt shield-grafen — glassmorphism */
.meeting-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  box-shadow:
    0 40px 80px -34px rgba(15, 29, 46, 0.35),
    0 12px 28px -16px rgba(23, 54, 106, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
  -webkit-backdrop-filter: blur(22px) saturate(150%);
          backdrop-filter: blur(22px) saturate(150%);
}
.meeting-frame__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}
.meeting-frame__dots {
  display: flex;
  gap: 6px;
}
.meeting-frame__dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(23, 54, 106, 0.16);
}
.meeting-frame__dots span:nth-child(1) { background: rgba(255, 95, 86, 0.55); }
.meeting-frame__dots span:nth-child(2) { background: rgba(255, 189, 46, 0.55); }
.meeting-frame__dots span:nth-child(3) { background: rgba(39, 201, 63, 0.55); }

.meeting-frame__title {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
}
.meeting-frame__title svg { opacity: 0.65; }

.meeting-frame__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-bright);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(var(--accent-bright-rgb), 0.14);
  text-transform: uppercase;
}
.meeting-frame__live {
  width: 6px;
  height: 6px;
  background: var(--accent-bright);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(var(--accent-bright-rgb), 0.55);
  animation: livePulse 3s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--accent-bright-rgb), 0.55); }
  50%      { box-shadow: 0 0 0 7px rgba(var(--accent-bright-rgb), 0); }
}

.meeting-frame__canvas {
  position: relative;
  aspect-ratio: 1 / 0.95;
  padding: clamp(6px, 0.6vw, 10px);
  background:
    radial-gradient(circle at 50% 42%, rgba(var(--accent-bright-rgb), 0.14) 0%, transparent 60%),
    linear-gradient(160deg, rgba(var(--accent-soft-rgb), 0.55) 0%, rgba(255, 255, 255, 0.15) 55%, rgba(var(--accent-bright-rgb), 0.10) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.meeting-frame__canvas .hero-shield {
  width: 112%;
  height: 112%;
  transform: translateY(-2%);
}

/* Floating badge: "Identitet verifisert" */
.verify-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  box-shadow: 0 14px 28px -16px rgba(15, 29, 46, 0.30);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  animation: floatIn 800ms 300ms ease-out both;
}
.verify-badge__icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-bright);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.verify-badge__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.verify-badge__sub {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.2;
}

/* Liten pill nede til venstre: "Ingen biometri over nett" */
.privacy-pill {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: 0 10px 20px -14px rgba(15, 29, 46, 0.24);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
          backdrop-filter: blur(12px) saturate(140%);
  animation: floatIn 800ms 600ms ease-out both;
}
.privacy-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 560px) {
  .meeting-frame__title span { display: none; }
  .verify-badge__sub { display: none; }
}

.hero-shield .node {
  fill: var(--accent);
  transform-origin: center;
  transform-box: fill-box;
  animation: nodePulse 3.8s ease-in-out infinite;
}
.hero-shield .link {
  stroke: var(--accent);
  stroke-width: 1.4;
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  opacity: 0;
  animation: linkBounce 8s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.5); }
}
/* Tegner inn streken (positiv dashoffset), tones så ut med opacity.
   Unngår negativ stroke-dashoffset — Safari interpolerer ikke det,
   og streken forsvant brått. Sprang tilbake skjer mens opacity er 0. */
@keyframes linkBounce {
  0%   { stroke-dashoffset: 260; opacity: 0; }
  10%  { opacity: 0.85; }
  42%  { stroke-dashoffset: 0; opacity: 0.85; }
  72%  { stroke-dashoffset: 0; opacity: 0.85; }
  90%  { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 260; opacity: 0; }
}

/* ============================================
   TRUST BAR — integrert i hero
   ============================================ */
.hero-trust {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: clamp(24px, 2.6vw, 40px);
  padding-bottom: clamp(20px, 2.4vw, 36px);
}
.trust-label {
  text-align: center;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: clamp(18px, 1.8vw, 28px);
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.trust-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(30px, 2.6vw, 44px);
  flex-shrink: 0;
}
/* Optical sizing — some logos read smaller at equal height.
   Disse trenger større bredde-tak enn standardlogoene. */
.trust-logo--md { height: clamp(37px, 3.2vw, 54px); }
.trust-logo--lg { height: clamp(68px, 6.2vw, 104px); }
.trust-logos .trust-logo--md img,
.trust-logos .trust-logo--lg img { max-width: none; }
.trust-logo img,
.trust-logo svg {
  height: 100%;
  width: auto;
  max-width: clamp(140px, 15vw, 220px);
  display: block;
  object-fit: contain;
  /* Flatten any logo (white, black or multi-colour) to a soft mono tone
     so light/dark hero stays consistent without editing the SVG files. */
  filter: brightness(0) opacity(0.5);
}

/* ============================================
   AI-PARADOKS — quote card beholdes, den tjener funksjon
   ============================================ */
.paradox {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 820px) {
  .paradox { grid-template-columns: 1fr; }
}
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 44px);
}
.quote-prompt {
  display: inline-block;
  background: var(--bg-alt);
  padding: clamp(12px, 1vw, 16px) clamp(16px, 1.4vw, 22px);
  border-radius: 18px 18px 18px 4px;
  font-size: var(--fs-body);
  margin-bottom: clamp(18px, 2vw, 28px);
  max-width: 85%;
}
.quote-answer { display: flex; gap: 16px; align-items: flex-start; }
.quote-answer-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 4px;
  margin-top: 3px;
  transform: rotate(45deg);
}
.quote-answer p { font-size: var(--fs-body); color: var(--text); line-height: 1.6; }
.quote-answer strong { font-weight: 700; }
.quote-meta {
  margin-top: clamp(18px, 2vw, 28px);
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.paradox-text h2 em { font-style: normal; color: inherit; }

/* ============================================
   LØSNINGS-FLYT — ingen bokser, bare innhold
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 48px);
  margin-top: clamp(36px, 4vw, 56px);
}
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
}
.step-number {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: clamp(4px, 0.4vw, 8px);
}
.step-icon {
  width: clamp(44px, 3.4vw, 56px);
  height: clamp(44px, 3.4vw, 56px);
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(10px, 1vw, 14px);
  color: var(--accent);
}
.step h3 { margin-bottom: clamp(6px, 0.6vw, 10px); }
.step p {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================
   SAMMENLIGNINGSTABELL — beholder ramme, tabell trenger det
   ============================================ */
.compare-wrap { background: transparent; }
.compare {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.compare th,
.compare td {
  padding: clamp(14px, 1.1vw, 22px) clamp(18px, 1.6vw, 32px);
  text-align: center;
  font-size: var(--fs-body);
  border: none;
  background: transparent;
}

/* Kolonnebredder — feature-kolonnen smalere, de tre andre like brede */
.compare th:first-child,
.compare td:first-child {
  width: 28%;
  text-align: left;
}
.compare th:not(:first-child),
.compare td:not(:first-child) { width: 24%; }

/* Arzevo-kolonnen får boks med rundet hjørne */
.compare th:nth-child(4),
.compare td:nth-child(4) { background: var(--accent-soft); }
.compare thead th:nth-child(4) {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.compare tbody tr:last-child td:nth-child(4) {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

/* Horisontale skille mellom rader (også gjennom Arzevo-boksen) */
.compare tbody td { border-bottom: 1px solid var(--border); }
.compare tbody tr:last-child td { border-bottom: none; }

/* Header */
.compare thead th {
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--accent);
}
.compare thead th:first-child {
  color: var(--text-muted);
  font-weight: 600;
}
.compare thead th.arzevo {
  color: var(--accent);
  font-weight: 700;
}

.compare .feature { font-weight: 600; color: var(--text); }

/* Sirkler bak ikonene */
.compare .mark { padding-top: clamp(10px, 0.9vw, 18px); padding-bottom: clamp(10px, 0.9vw, 18px); }
.compare .mark .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(26px, 1.9vw, 32px);
  height: clamp(26px, 1.9vw, 32px);
  border-radius: 50%;
  font-size: clamp(0.78rem, 0.28vw + 0.7rem, 0.92rem);
  font-weight: 700;
  line-height: 1;
}
.compare .yes .ic {
  background: var(--accent-bright);
  color: #fff;
}
.compare .no .ic {
  background: rgba(23, 54, 106, 0.08);
  color: var(--accent-light);
}
.compare .partial .ic {
  background: rgba(23, 54, 106, 0.10);
  color: var(--accent);
}

@media (max-width: 720px) {
  .compare th, .compare td { padding: 14px 16px; font-size: var(--fs-small); }
}

/* ============================================
   BRUKSOMRÅDER — mer luftig, mindre boksete
   ============================================ */
.usecases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2vw, 32px);
  margin-top: clamp(36px, 4vw, 56px);
}
@media (max-width: 720px) {
  .usecases { grid-template-columns: 1fr; }
}
.usecase {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 700px 400px at 110% 110%, rgba(var(--accent-bright-rgb), 0.2) 0%, transparent 60%),
    linear-gradient(155deg, var(--bg-dark) 0%, #1B4742 100%);
  border-radius: clamp(20px, 2vw, 28px);
  padding: clamp(28px, 3vw, 44px);
  color: var(--text-invert);
  min-height: clamp(280px, 28vh, 340px);
}
.usecase-icon {
  width: clamp(46px, 3.4vw, 56px);
  height: clamp(46px, 3.4vw, 56px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(20px, 2vw, 28px);
}
.usecase h3 {
  color: var(--text-invert);
  font-size: clamp(1.3rem, 0.5vw + 1.15rem, 1.55rem);
  margin-bottom: clamp(12px, 1.2vw, 16px);
  line-height: 1.25;
}
.usecase p {
  color: rgba(217, 237, 231, 0.72);
  font-size: var(--fs-body);
  margin-bottom: clamp(16px, 1.5vw, 22px);
  flex: 1;
  line-height: 1.55;
}
.usecase-examples {
  font-size: var(--fs-small);
  color: var(--accent-bright);
  font-weight: 500;
  margin-top: auto;
}

/* ============================================
   PERSONVERN (dark section)
   ============================================ */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 900px) {
  .privacy-grid { grid-template-columns: 1fr; gap: 56px; }
}
.privacy-points {
  list-style: none;
  margin-top: clamp(24px, 2.5vw, 36px);
}
.privacy-points li {
  padding: clamp(18px, 1.8vw, 26px) 0;
  border-bottom: 1px solid rgba(244, 244, 242, 0.14);
  font-size: var(--fs-body);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.privacy-points li:last-child { border-bottom: none; }
.privacy-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #8FA1B8;
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin-top: 2px;
}

.privacy-visual {
  border-left: 1px solid rgba(143, 161, 184, 0.22);
  padding-left: clamp(24px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3vw, 44px);
}
@media (max-width: 900px) {
  .privacy-visual { border-left: none; padding-left: 0; border-top: 1px solid rgba(143, 161, 184, 0.22); padding-top: 40px; }
}
.privacy-visual-title {
  font-size: var(--fs-small);
  font-weight: 500;
  color: #8FA1B8;
}
.privacy-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.flow-step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: clamp(14px, 1.4vw, 22px);
  align-items: stretch;
}
.flow-rail {
  position: relative;
  display: flex;
  justify-content: center;
}
.flow-rail::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(143, 161, 184, 0.35);
  transform: translateX(-0.5px);
}
.flow-step:first-child .flow-rail::before { top: 22px; }
.flow-step:last-child .flow-rail::before { bottom: calc(100% - 22px); }
.flow-dot {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8FA1B8;
  box-shadow: 0 0 0 4px var(--bg-dark);
}
.flow-step.highlight .flow-dot {
  background: var(--accent-light);
  box-shadow: 0 0 0 4px var(--bg-dark), 0 0 0 7px rgba(138, 161, 194, 0.25);
}
.flow-arrow-down {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(143, 161, 184, 0.55);
  line-height: 1;
}
.flow-step:last-child .flow-arrow-down { display: none; }
.flow-box {
  background: rgba(244, 244, 242, 0.04);
  border: 1px solid rgba(244, 244, 242, 0.14);
  border-radius: 12px;
  padding: clamp(14px, 1.2vw, 20px) clamp(18px, 1.4vw, 24px);
  margin-bottom: clamp(10px, 1vw, 16px);
}
.flow-step:last-child .flow-box { margin-bottom: 0; }
.flow-box .flow-label {
  font-size: var(--fs-micro);
  color: #8FA1B8;
  font-weight: 600;
  margin-bottom: 4px;
}
.flow-box .flow-title {
  font-size: var(--fs-body);
  color: var(--text-invert);
  font-weight: 600;
  line-height: 1.4;
}
.flow-box .flow-note {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-small);
  color: rgba(217, 237, 231, 0.6);
  font-weight: 500;
  line-height: 1.5;
}
.flow-step.highlight .flow-box {
  background: rgba(23, 54, 106, 0.25);
  border-color: rgba(143, 161, 184, 0.45);
}
.flow-step.highlight .flow-title { color: var(--accent-light); }

/* ============================================
   TEAM — ingen kort, bare avatar + tekst
   ============================================ */
.team-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 80px);
  margin-bottom: clamp(48px, 6vw, 80px);
  align-items: end;
}
@media (max-width: 820px) {
  .team-intro { grid-template-columns: 1fr; gap: 28px; }
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(32px, 3vw, 56px) clamp(28px, 2.5vw, 40px);
}
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
.team-avatar {
  width: clamp(80px, 6vw, 104px);
  height: clamp(80px, 6vw, 104px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), #EDF3F1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: clamp(1.4rem, 1vw + 1.2rem, 1.75rem);
  margin-bottom: clamp(18px, 1.8vw, 24px);
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card h4 { margin-bottom: 6px; }
.team-card .role {
  font-size: var(--fs-small);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.team-card p {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================
   TIDSLINJE — ingen bokser, ren typografi
   ============================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(24px, 2.5vw, 40px);
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--border);
  padding-top: clamp(30px, 3vw, 48px);
  position: relative;
}
@media (max-width: 900px) {
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
.timeline-item {
  position: relative;
  padding-top: clamp(14px, 1.2vw, 22px);
}
.timeline-item::before {
  content: '';
  position: absolute;
  top: calc(clamp(30px, 3vw, 48px) * -1 - 5px);
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--text-muted);
  border-radius: 50%;
}
.timeline-item.now::before { background: var(--accent-bright); box-shadow: 0 0 0 6px var(--accent-soft); }
.timeline-year {
  font-weight: 800;
  font-size: clamp(1.4rem, 1vw + 1.2rem, 1.75rem);
  margin-bottom: clamp(8px, 0.8vw, 14px);
  color: var(--text);
}
.timeline-item.now .timeline-year { color: var(--accent-bright); }
.timeline-item p {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.55;
}

/* Tidslinje på mørk bakgrunn */
section.dark .timeline { border-top-color: rgba(217, 237, 231, 0.14); }
section.dark .timeline-item::before { background: rgba(244, 244, 242, 0.35); }
section.dark .timeline-year { color: var(--text-invert); }
section.dark .timeline-item.now::before { background: var(--accent-bright); box-shadow: 0 0 0 6px rgba(var(--accent-bright-rgb), 0.22); }
section.dark .timeline-item.now .timeline-year { color: var(--accent-bright); }
section.dark .timeline-item p { color: rgba(217, 237, 231, 0.7); }

/* ============================================
   OM-SIDE
   ============================================ */
.about-hero { padding: calc(var(--nav-h) + clamp(34px, 5vw, 86px)) 0 clamp(40px, 5vw, 80px); }
.about-hero h1 { max-width: 20ch; margin-bottom: clamp(20px, 2vw, 30px); }
.about-hero .lede { max-width: 60ch; }

.history-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
@media (max-width: 900px) {
  .history-grid { grid-template-columns: 1fr; }
}
.history-text p {
  color: var(--text-muted);
  font-size: var(--fs-body);
  margin-bottom: clamp(14px, 1.4vw, 22px);
  line-height: 1.75;
}
.history-text p:last-child { margin-bottom: 0; }
.history-text h3 { margin-bottom: clamp(12px, 1.2vw, 20px); }

/* Fakta — i en avrundet boks, plassert til høyre */
.history-facts {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 1.8vw, 32px) clamp(22px, 2vw, 36px);
  justify-self: end;
  width: 100%;
}
.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(12px, 1.1vw, 18px) 0;
  border-bottom: 1px solid rgba(23, 54, 106, 0.12);
  font-size: var(--fs-body);
}
.fact-row:last-child { border-bottom: none; }
.fact-label { color: var(--text-muted); }
.fact-value { font-weight: 600; color: var(--text); text-align: right; }

/* Utvidet team-seksjon */
.team-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(28px, 3vw, 44px);
  flex-wrap: wrap;
  gap: 12px;
}
.team-group { margin-bottom: clamp(56px, 6vw, 96px); }
.team-group:last-child { margin-bottom: 0; }

/* Advisory — ingen kort, bare avatar + navn */
.advisors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2.2vw, 36px) clamp(20px, 2vw, 32px);
}
@media (max-width: 900px) {
  .advisors { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .advisors { grid-template-columns: 1fr; }
}
.advisor { display: flex; gap: 16px; align-items: center; }
.advisor-initials {
  width: clamp(52px, 3.4vw, 64px);
  height: clamp(52px, 3.4vw, 64px);
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-small);
  flex-shrink: 0;
  overflow: hidden;
}
.advisor-initials img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.advisor h4 { font-size: var(--fs-body); margin-bottom: 3px; font-weight: 600; }
.advisor .role { font-size: var(--fs-small); color: var(--text-muted); }

/* Partnere — bare navn i grid, ingen kort */
.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 32px);
  margin-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--border);
  padding-top: clamp(30px, 3vw, 48px);
}
@media (max-width: 900px) {
  .partners { grid-template-columns: repeat(2, 1fr); }
}
.partner {}
.partner-name {
  font-weight: 700;
  font-size: var(--fs-h4);
  margin-bottom: 6px;
}
.partner-role {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* ============================================
   CTA (kontaktseksjon)
   ============================================ */
.contact-card {
  background: var(--bg-dark);
  color: var(--text-invert);
  border-radius: var(--radius-lg);
  padding: clamp(50px, 7vw, 110px) clamp(30px, 5vw, 80px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(auto, 360px);
  gap: clamp(30px, 4.5vw, 80px);
  align-items: center;
}
@media (max-width: 820px) {
  .contact-card { grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); }
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(circle, rgba(143, 161, 184, 0.15), transparent 60%);
  pointer-events: none;
}
.contact-text { position: relative; }
.contact-card h2 {
  color: var(--text-invert);
  margin-bottom: clamp(14px, 1.4vw, 24px);
  max-width: 14ch;
  position: relative;
}
.contact-card .lede {
  color: rgba(217, 237, 231, 0.78);
  margin-bottom: 0;
  max-width: 40ch;
  position: relative;
}
.contact-meta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2vw, 30px);
  justify-self: end;
}
@media (max-width: 820px) {
  .contact-meta { justify-self: start; }
}
.contact-meta .row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-meta .label {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--accent-light);
}
.contact-meta .value {
  font-size: clamp(1.1rem, 0.55vw + 1rem, 1.35rem);
  font-weight: 700;
  color: var(--text-invert);
  line-height: 1.3;
  transition: color 160ms ease;
}
.contact-meta a.value:hover { color: var(--accent-light); }

/* Sentrert variant — overskrift fyller hele boksen, e-post under på midten.
   Smalere maks-bredde så boksen følger innholdet bedre. */
.contact-card--center {
  grid-template-columns: 1fr;
  text-align: center;
  gap: clamp(28px, 3vw, 44px);
  max-width: 1140px;
  margin-inline: auto;
}
.contact-card--center .contact-text { text-align: center; }
.contact-card--center h2 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
.contact-card--center .lede {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.contact-card--center .contact-meta {
  justify-self: center;
  align-items: center;
}
.contact-card--center .contact-meta .row {
  align-items: center;
  text-align: center;
}

/* Team-bilder i svart/hvitt med hvit bakgrunn og tynn lysegrønn sirkel som ramme */
body[data-page="about"] .team-avatar,
body[data-page="about"] .advisor-initials {
  background: #fff;
  border: 1.5px solid var(--accent-light);
}
body[data-page="about"] .team-avatar img,
body[data-page="about"] .advisor-initials img {
  filter: grayscale(100%);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: clamp(50px, 6vw, 90px) 0 clamp(28px, 3vw, 48px);
  border-top: 1px solid var(--border);
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  margin-bottom: clamp(36px, 4vw, 56px);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
footer h4 {
  color: var(--text);
  margin-bottom: clamp(12px, 1.2vw, 18px);
  font-size: var(--fs-body);
  font-weight: 700;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a:hover { color: var(--accent); }
.footer-brand p { max-width: 40ch; margin-top: clamp(10px, 1vw, 16px); }
.footer-bottom {
  padding-top: clamp(18px, 2vw, 32px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px 16px;
  font-size: var(--fs-micro);
}
.footer-bottom > :nth-child(1) { text-align: left; }
.footer-bottom > :nth-child(2) { text-align: center; }
.footer-bottom > :nth-child(3) { text-align: right; }
.footer-credit a {
  color: var(--text-muted);
  transition: color 160ms ease;
}
.footer-credit a:hover { color: var(--accent); }
@media (max-width: 620px) {
  .footer-bottom { grid-template-columns: 1fr; gap: 6px; }
  .footer-bottom > * { text-align: center !important; }
}

/* ============================================
   JURIDISK SIDE (personvern)
   ============================================ */
.legal { max-width: 760px; margin-inline: auto; }
/* Hero på juridisk side — venstrestilt tekst i samme midtstilte kolonne */
body[data-page="legal"] .about-hero h1,
body[data-page="legal"] .about-hero .lede {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.legal h3 {
  margin: clamp(30px, 3.4vw, 48px) 0 clamp(10px, 1vw, 16px);
}
.legal h3:first-child { margin-top: 0; }
.legal p {
  color: var(--text-muted);
  font-size: var(--fs-body);
  line-height: 1.75;
  margin-bottom: clamp(12px, 1.2vw, 18px);
}
.legal p:last-child { margin-bottom: 0; }
.legal a { color: var(--accent); }
.legal a:hover { color: var(--accent-hover); }
.legal .legal-updated {
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: clamp(18px, 2vw, 28px);
  border-top: 1px solid var(--border);
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* ============================================
   MOBIL — tettere layout og komponentfikser
   ============================================ */
@media (max-width: 600px) {
  /* Mindre vertikal padding — bedre utnyttelse av skjermen */
  section { padding: 38px 0; }
  .section-head { margin-bottom: 24px; }
  .steps, .usecases { margin-top: 26px; }
  .section-card { padding: 28px 20px; }
  .hero-trust { margin-top: 28px; padding-top: 20px; }
  footer { padding-top: 44px; }

  /* Venstrestill sentrerte seksjonsoverskrifter */
  .section-head.center { text-align: left; margin-left: 0; margin-right: 0; }
  .section-head.center .lede {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Trust-logoer — ryddig 2-kolonners rutenett, jevnere størrelser */
  .trust-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 14px;
    place-items: center;
    max-width: 440px;
    margin-inline: auto;
  }
  .trust-logo     { height: 30px; }
  .trust-logo--md { height: 34px; }
  .trust-logo--lg { height: 46px; }
  .trust-logos .trust-logo--md img,
  .trust-logos .trust-logo--lg img { max-width: 46vw; }

  /* Sammenligningstabell — vannrett scroll i stedet for knust kolonner */
  .compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .compare { min-width: 520px; }

  /* Tidslinje — loddrett liste i stedet for ødelagt rutenett */
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 24px;
    border-top: none;
    padding-top: 0;
  }
  .timeline-item {
    padding: 18px 0 18px 28px;
    border-bottom: 1px solid var(--border);
  }
  .timeline-item:last-child { border-bottom: none; }
  .timeline-item::before { top: 27px; left: 0; }

  /* CTA — fjern dekorativ gradient som lager synlig skjøt på smal skjerm */
  .contact-card::before { display: none; }
  .contact-card { padding: 40px 26px; }
}
