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

:root {
  --ink: #0b1220;
  --ink-2: #111a2d;
  --ink-3: #1a2540;
  --ink-line: rgba(255, 255, 255, 0.08);
  --on-ink: #f1f5ff;
  --on-ink-muted: #9aa8c7;
  --radar: #2ee6a6;
  --radar-strong: #1fd193;
  --radar-glow: rgba(46, 230, 166, 0.18);
  --text: #0b1220;
  --muted: #5b6782;
  --bg: #ffffff;
  --soft: #f5f7fb;
  --line: #e6eaf2;
  --accent: #0b7a5a;
  --accent-soft: #e7f7f0;
  --warn: #a15c07;
  --warn-soft: #fff5e6;
  --danger: #c0392b;
  --danger-soft: #fdeceb;
  --info: #3b4fd8;
  --info-soft: #eef0ff;
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 8px 24px rgba(11, 18, 32, 0.06);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.35);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--bg);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}

.skip:focus {
  left: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 720px) {
  .wrap {
    padding: 0 32px;
  }
}

/* Knapper */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-primary {
  background: var(--radar);
  color: var(--ink);
}

.btn-primary:hover {
  background: #57edb9;
}

.btn-outline-light {
  color: var(--on-ink);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--ink-3);
}

.btn-outline {
  color: var(--text);
  border-color: var(--line);
  background: var(--bg);
}

.btn-outline:hover {
  border-color: #c9d1e0;
}

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

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-ink);
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--radar);
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

/* Topp */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.94);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--ink-line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand img {
  height: 26px;
  width: auto;
}

.nav {
  display: none;
  gap: 28px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-ink-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--on-ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn-sm {
  display: none;
}

.menu-toggle {
  display: inline-flex;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--ink-line);
  padding: 8px 16px 18px;
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  color: var(--on-ink);
  text-decoration: none;
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 1px solid var(--ink-line);
}

@media (min-width: 940px) {
  .nav {
    display: flex;
  }

  .header-actions .btn-sm {
    display: inline-flex;
  }

  .menu-toggle,
  .mobile-nav,
  .mobile-nav.open {
    display: none;
  }
}

/* Hero */

.hero {
  position: relative;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(46, 230, 166, 0.14), transparent 62%),
    radial-gradient(700px 400px at 0% 100%, rgba(59, 79, 216, 0.16), transparent 60%),
    var(--ink);
  color: var(--on-ink);
  padding: 56px 0 72px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 980px) {
  .hero {
    padding: 88px 0 104px;
  }

  .hero .wrap {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--on-ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--radar);
  box-shadow: 0 0 0 4px var(--radar-glow);
}

.hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}

.hero h1 .hl {
  color: var(--radar);
}

.hero .lead {
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.6;
  color: var(--on-ink-muted);
  margin: 0 0 32px;
  max-width: 34em;
}

.hero .lead strong {
  color: var(--on-ink);
  font-weight: 700;
}

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

.send-strip {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  max-width: 540px;
}

.send-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-line);
}

.send-item small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}

.send-item span {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.fine {
  font-size: 13px;
  color: var(--on-ink-muted);
  margin: 12px 0 0;
  max-width: 540px;
}

/* Telefon i hero */

.device-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0 30px;
}

.device {
  position: relative;
  width: min(340px, 86vw);
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, #2a3555, #0f1628);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.screen {
  border-radius: 34px;
  background: #0a0f1c;
  padding: 18px 14px 22px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.screen-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink-3);
  display: grid;
  place-items: center;
}

.avatar img {
  width: 24px;
  height: 24px;
}

.screen-head b {
  font-size: 13px;
  color: var(--on-ink);
}

.msg {
  max-width: 86%;
  font-size: 13.5px;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 18px;
}

.msg.out {
  align-self: flex-end;
  background: #2f6df6;
  color: #fff;
  border-bottom-right-radius: 6px;
}

.msg.in {
  align-self: flex-start;
  background: #1c2540;
  color: var(--on-ink);
  border-bottom-left-radius: 6px;
}

.msg .verdict-word {
  display: inline-block;
  font-weight: 800;
  color: #ff8a7a;
}

.msg-meta {
  font-size: 11px;
  color: var(--on-ink-muted);
  align-self: center;
}

.float-card {
  position: absolute;
  background: rgba(17, 26, 45, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--on-ink);
  box-shadow: var(--shadow-lg);
  width: 210px;
}

.float-card .k {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.float-card strong {
  font-size: 15px;
}

.float-card .bar {
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 8px;
  overflow: hidden;
}

.float-card .bar i {
  display: block;
  height: 100%;
  width: 92%;
  background: linear-gradient(90deg, #ffb347, #ff6b5a);
}

.fc-1 {
  top: 40px;
  left: -10px;
}

.fc-2 {
  bottom: 70px;
  right: -6px;
}

.illu-note {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: var(--on-ink-muted);
}

@media (max-width: 979px) {
  .fc-1 {
    left: 0;
  }

  .fc-2 {
    right: 0;
  }
}

@media (max-width: 520px) {
  .float-card {
    display: none;
  }
}

/* Seksjoner */

.section {
  padding: 72px 0;
}

.section.soft {
  background: var(--soft);
}

.section.dark {
  background: var(--ink);
  color: var(--on-ink);
}

@media (min-width: 980px) {
  .section {
    padding: 104px 0;
  }
}

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.dark .kicker {
  color: var(--radar);
}

.section h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.08;
  margin: 0 0 16px;
  max-width: 18em;
}

.section .intro {
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 19px);
  max-width: 40em;
  margin: 0 0 44px;
}

.dark .intro {
  color: var(--on-ink-muted);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid > *,
.two-col > *,
.hero .wrap > * {
  min-width: 0;
}

@media (min-width: 720px) {
  .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.dark .card {
  background: var(--ink-2);
  border-color: var(--ink-line);
  box-shadow: none;
}

.dark .card p {
  color: var(--on-ink-muted);
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}

.icon svg {
  width: 22px;
  height: 22px;
}

.dark .icon {
  background: rgba(46, 230, 166, 0.1);
  color: var(--radar);
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--warn-soft);
  color: var(--warn);
  margin-left: 6px;
  vertical-align: 3px;
}

.two-col {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 980px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

/* SOC-forklaring */

.soc-steps {
  display: grid;
  gap: 16px;
  counter-reset: soc;
}

@media (min-width: 900px) {
  .soc-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.soc-step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
}

.soc-step .num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--radar);
}

.soc-step h3 {
  font-size: 22px;
  margin: 6px 0 8px;
}

.soc-step p {
  margin: 0;
  color: var(--on-ink-muted);
}

/* Flyt */

.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.flow li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  position: relative;
  padding-bottom: 28px;
}

.flow li:last-child {
  padding-bottom: 0;
}

.flow li::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.flow li:last-child::before {
  display: none;
}

.flow .step {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--radar);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.flow h3 {
  font-size: 19px;
  margin: 10px 0 4px;
}

.flow p {
  margin: 0;
  color: var(--muted);
}

.time-chip {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: 2px;
}

/* Demo */

.demo {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tabs {
  display: flex;
  gap: 6px;
  padding: 10px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.tab {
  flex: none;
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  height: 38px;
  padding: 0 16px;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  background: var(--bg);
  color: var(--text);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.panel {
  padding: 24px;
  display: grid;
  gap: 24px;
}

.panel[hidden] {
  display: none;
}

@media (min-width: 900px) {
  .panel {
    grid-template-columns: 0.9fr 1.1fr;
    padding: 32px;
  }
}

.panel h4 {
  margin: 0 0 10px;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.sms-sample {
  background: #eef1f6;
  border-radius: 18px 18px 18px 6px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #1f2937;
}

.sms-from {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
}

.report {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.report-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.report-top .who {
  font-size: 14px;
  color: var(--muted);
}

.tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}

.tag.danger { background: var(--danger-soft); color: var(--danger); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.tag.info { background: var(--info-soft); color: var(--info); }
.tag.none { background: #eef2f6; color: #334155; }

.signals {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.signals li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--soft);
}

.signals li b {
  font-weight: 700;
}

.signals li em {
  font-style: normal;
  font-weight: 800;
  color: var(--danger);
  white-space: nowrap;
}

.todo {
  margin: 0;
  padding-left: 20px;
  font-size: 14.5px;
  color: #1f2937;
}

.todo li {
  margin: 2px 0;
}

.demo-note {
  font-size: 13px;
  color: var(--muted);
  padding: 0 24px 20px;
  margin: 0;
}

/* Sammenligning */

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15.5px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare th,
.compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--soft);
}

.compare thead th.us {
  color: var(--accent);
}

.compare td.yes,
.compare td.no {
  text-align: center;
  font-weight: 800;
  width: 22%;
}

.compare td.yes { color: var(--accent); }
.compare td.no { color: var(--muted); }

.table-wrap {
  overflow-x: auto;
}

.table-note {
  font-size: 14px;
  color: var(--muted);
  margin: 14px 0 0;
}

/* Lister */

.check-list,
.x-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.check-list li,
.x-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before,
.x-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  background: var(--accent-soft);
  color: var(--accent);
}

.x-list li::before {
  content: "✕";
  background: var(--danger-soft);
  color: var(--danger);
}

/* Tall */

.stat {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 10px;
  color: var(--text) !important;
}

.source {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 600;
}

/* Planer */

.plan-card {
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border: 2px solid var(--accent);
}

.plan-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--muted) !important;
  margin: 0 0 6px !important;
}

.price {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text) !important;
  line-height: 1.1;
  margin: 0 0 14px !important;
}

.price span {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.plan-card .check-list {
  margin-top: 18px;
  font-size: 15px;
}

/* Spørsmål */

.faq {
  max-width: 860px;
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  position: relative;
  padding: 18px 36px 18px 0;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* Avslutning */

.final {
  text-align: center;
}

.final h2 {
  margin-left: auto;
  margin-right: auto;
}

.final .intro {
  margin-left: auto;
  margin-right: auto;
}

.final .cta-row {
  justify-content: center;
}

/* Bunn */

.site-footer {
  background: var(--ink);
  color: var(--on-ink-muted);
  padding: 56px 0 40px;
  font-size: 15px;
  border-top: 1px solid var(--ink-line);
}

.footer-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-grid img {
  height: 26px;
  width: auto;
  margin-bottom: 14px;
}

.footer-grid h3 {
  color: var(--on-ink);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.site-footer a {
  color: var(--on-ink);
  text-decoration: none;
}

.footer-grid li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}

.site-footer a:hover {
  color: var(--radar);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
  font-size: 13.5px;
}

/* Tekstsider */

.prose {
  max-width: 760px;
  padding: 56px 0 88px;
}

.prose h1 {
  font-size: clamp(32px, 4.4vw, 46px);
  line-height: 1.1;
  margin: 0 0 12px;
}

.prose h2 {
  font-size: 22px;
  margin: 40px 0 8px;
}

.prose p,
.prose li {
  color: #273248;
}

.prose .updated {
  color: var(--muted);
  font-size: 15px;
}

.notice {
  background: var(--warn-soft);
  border: 1px solid #f5d29a;
  border-radius: 14px;
  padding: 14px 18px;
  margin: 20px 0 8px;
}

.notice p {
  margin: 0;
}

/* Innfading */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 80;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Video i hero */

.hero-video {
  margin: 0;
  min-width: 0;
}

.flow-video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: var(--ink);
  border: 1px solid rgba(46, 230, 166, 0.22);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 0 8px rgba(46, 230, 166, 0.05);
}

.video-caption {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--on-ink-muted);
  text-align: center;
}

@media (min-width: 980px) {
  .hero .wrap {
    max-width: 1320px;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }
}

/* Tillitslinje */

.trust-strip {
  background: var(--ink-2);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  color: var(--on-ink-muted);
  font-size: 14.5px;
  font-weight: 600;
}

.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 32px;
}

.trust-strip li::before {
  content: "✓";
  color: var(--radar);
  font-weight: 800;
  margin-right: 8px;
}

/* Jeg vil ... */

.action-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.action-card:hover {
  border-color: #c9d1e0;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(11, 18, 32, 0.10);
}

.action-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.action-card h3 svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--accent);
  transition: transform 0.15s ease;
}

.action-card:hover h3 svg {
  transform: translateX(3px);
}

/* Sjekkene i motoren */

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: chk;
}

@media (min-width: 720px) {
  .checks { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .checks { grid-template-columns: repeat(4, 1fr); }
}

.checks li {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}

.checks li::before {
  counter-increment: chk;
  content: "S" counter(chk);
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--radar);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

.checks h3 {
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--on-ink);
}

.checks p {
  margin: 0;
  font-size: 15px;
  color: var(--on-ink-muted);
}

.checks li.verdict-step {
  border-color: rgba(46, 230, 166, 0.45);
  background: linear-gradient(160deg, rgba(46, 230, 166, 0.10), var(--ink-2) 60%);
}

.engine-note {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.engine-note span {
  font-size: 14px;
  font-weight: 700;
  color: var(--on-ink);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  padding: 8px 14px;
}

/* Dommene */

.verdicts {
  display: grid;
  gap: 10px;
}

.verdict {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 14px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

.verdict .tag {
  justify-self: start;
}

.verdict p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

@media (max-width: 520px) {
  .verdict {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.help-box {
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius);
  padding: 28px;
}

.help-box h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.help-box ol {
  margin: 0;
  padding-left: 22px;
  color: var(--on-ink-muted);
  display: grid;
  gap: 8px;
}

.help-box ol strong {
  color: var(--on-ink);
}

/* Telefonnummer med kopiering */

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-ink);
  cursor: pointer;
  flex: none;
}

.copy-btn:hover {
  border-color: var(--radar);
  color: var(--radar);
}

.copy-btn svg {
  width: 18px;
  height: 18px;
}

.send-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Små hjelpeklasser, siden innholdspolicyen ikke tillater stil i HTML */

.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-28 { margin-top: 28px; }
.plan-cta { margin-top: auto !important; padding-top: 22px; }
.final-mark { margin: 0 auto 22px; }
.prose ~ * , .site-header .header-actions .btn-sm { display: inline-flex; }

@media (max-width: 560px) {
  .send-item {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 16px;
  }

  .send-item span {
    font-size: 20px;
    white-space: nowrap;
    word-break: normal;
  }

  .send-actions .btn {
    flex: 1;
  }
}

/* Løfter og deling */

.promise h3 {
  font-size: 18px;
}

.give {
  background: linear-gradient(180deg, var(--bg), var(--accent-soft));
}

/* Advarsel */

.alert-band {
  padding: 56px 0 0;
}

.alert-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  background: var(--danger-soft);
  border: 1px solid #f6c9c4;
  border-radius: var(--radius);
  padding: 26px 28px;
}

.alert-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--danger);
  color: #fff;
}

.alert-icon svg {
  width: 24px;
  height: 24px;
}

.alert-card h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 2px 0 8px;
  color: #7a1b13;
}

.alert-card p {
  margin: 0;
  color: #5b2620;
  font-size: 17px;
}

.alert-card .source {
  color: #8a2b20;
}

@media (max-width: 560px) {
  .alert-card {
    grid-template-columns: 1fr;
  }
}

/* Åtte sjekker fyller to og fire kolonner jevnt, så svaret trenger ikke strekkes */

/* Stort tallbånd */

.stats-band {
  background: var(--ink-2);
  color: var(--on-ink);
  padding: 64px 0;
  border-bottom: 1px solid var(--ink-line);
}

.stats-title {
  font-size: clamp(26px, 3.4vw, 40px);
  margin: 0 0 36px;
  text-align: center;
}

.stats-grid {
  display: grid;
  gap: 36px 28px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 980px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-big {
  text-align: center;
}

.stat-big .num {
  margin: 0;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--radar);
}

.stat-big .txt {
  margin: 12px auto 10px;
  max-width: 17em;
  font-size: 16px;
  color: var(--on-ink);
}

.stat-big .src {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  color: var(--on-ink-muted);
}

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

/* En uke med Folkeradar */

.week {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .week {
    grid-template-columns: repeat(4, 1fr);
  }
}

.week li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.week .day {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.week .msg-in {
  margin: 0;
  background: #eef1f6;
  border-radius: 18px 18px 18px 6px;
  padding: 12px 14px;
  font-size: 15px;
  color: #1f2937;
}

.week .msg-out {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.week .msg-out .tag {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11.5px;
}

.stat-big .num {
  white-space: nowrap;
  font-size: clamp(40px, 4.6vw, 68px);
}

.week .msg-out .tag {
  display: table;
}

/* Svarene som SMS-samtaler på forsiden */


.chats {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .chats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.chat {
  --c: var(--muted);
  --c-soft: #eef2f6;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat-danger { --c: var(--danger); --c-soft: var(--danger-soft); }
.chat-warn { --c: var(--warn); --c-soft: var(--warn-soft); }
.chat-info { --c: var(--info); --c-soft: var(--info-soft); }
.chat-none { --c: #334155; --c-soft: #eef2f6; }

.chat-head {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px 22px 16px;
}

.chat-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-soft);
  color: var(--c);
}

.chat-icon svg {
  width: 22px;
  height: 22px;
}

.chat-head h3 {
  margin: 0 0 2px;
  font-size: 19px;
  line-height: 1.3;
  color: var(--c);
}

.chat-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 18px 22px 22px;
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.bubble {
  margin: 0;
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 18px;
  font-size: 15.5px;
  line-height: 1.45;
}

.bubble .who {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.bubble-out {
  align-self: flex-end;
  background: #e3e8f1;
  color: var(--text);
  border-bottom-right-radius: 6px;
}

.bubble-out .who {
  color: var(--muted);
}

.bubble-in {
  align-self: flex-start;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}

.bubble-in .who {
  color: var(--accent);
}

.bubble-in .verdict-word {
  color: var(--c);
}

.link-chip {
  display: inline-block;
  padding: 0 8px;
  border-radius: 6px;
  background: #cfd7e6;
  color: #33405a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.svar-hjelp {
  margin-top: 28px;
}

@media (min-width: 980px) {
  .svar-hjelp .help-box {
    max-width: 760px;
  }
}

/* Undersiden /mer */

.page-intro h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  margin: 0 0 16px;
}

.page-intro .intro {
  margin-bottom: 28px;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.jump-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Svar åpner søndag */

.open-note {
  display: inline-block;
  margin: 16px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(245, 210, 154, 0.14);
  border: 1px solid rgba(245, 210, 154, 0.55);
  color: var(--on-ink);
  font-size: 15px;
  max-width: 540px;
}

/* De åtte sjekkene i steg 2 på forsiden */

.checks-inline {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.flow .checks-inline li {
  display: inline-flex;
  gap: 5px;
  font-size: 13px;
  padding: 4px 10px 4px 9px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  white-space: nowrap;
}

.flow .checks-inline li::before {
  display: none;
}

.checks-inline b {
  color: inherit;
  font-weight: 800;
  margin-right: 2px;
}

/* Innsending fra nett i toppfeltet */

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

.no-js .nett-sjekk,
.no-js .send-eller {
  display: none;
}

.nett-sjekk {
  margin-top: 28px;
  max-width: 540px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.nett-sjekk label small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
  margin: 0 0 8px 4px;
}

.nett-sjekk textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 92px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: var(--on-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  resize: vertical;
}

.nett-sjekk textarea::placeholder {
  color: var(--on-ink-muted);
}

.nett-sjekk textarea:focus-visible {
  outline: 3px solid var(--radar);
  outline-offset: 1px;
}

.nett-rad {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  align-items: center;
}

.nett-rad .btn {
  flex: 1 1 auto;
}

.nett-bilde-knapp {
  cursor: pointer;
}

.nett-bilde-knapp.har-bilde {
  border-color: var(--radar);
  color: var(--radar);
}

.nett-sjekk input:focus-visible + .btn,
.nett-sjekk input:focus-visible ~ .nett-bilde-knapp {
  outline: 3px solid var(--radar);
}

.nett-status {
  margin: 12px 4px 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--on-ink);
}

.nett-status.feil {
  color: #ffb4a8;
}

.nett-status .dom {
  font-weight: 800;
}

.nett-status a {
  color: var(--radar);
}

.send-eller {
  margin: 24px 0 -16px 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--on-ink-muted);
}

/* Mobil og lesbarhet, 7. november kveld.
   Mål: en førstegangsbruker på 70 år på mobil. Ingen lesetekst under 15 px,
   tekst på knapper minst 16 px, ingen små etiketter i versaler i skjemaet,
   og telefonen med svaret rett under overskriften på mobil. */

body {
  font-size: 18px;
}

.btn {
  font-size: 17px;
}

.btn-sm {
  font-size: 16px;
}

.pill,
.kicker,
.time-chip,
.flow .checks-inline li,
.link-chip,
.table-note,
.source,
.stat-big .src,
.footer-grid h3,
.footer-bottom,
.video-caption,
.compare thead th,
.week .day,
.fine {
  font-size: 15px;
}

.trust-strip,
.send-eller,
.toast,
.open-note {
  font-size: 16px;
}

.bubble {
  font-size: 17px;
}

.bubble .who {
  font-size: 15px;
  letter-spacing: 0;
}

.week .msg-out .tag {
  font-size: 14px;
}

.fine,
.video-caption {
  color: #c3cde3;
}

/* Skjemaet: vanlige etiketter, store knapper */

.nett-sjekk label small,
.send-item small {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--on-ink);
}

.nett-sjekk textarea {
  font-size: 18px;
  min-height: 110px;
}

.nett-sjekk button[type="submit"] {
  height: 56px;
  font-size: 18px;
}

.nett-status {
  font-size: 17px;
}

.copy-btn {
  width: auto;
  min-width: 44px;
  padding: 0 14px;
  gap: 6px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}

/* De åtte sjekkene ligger bak ett trykk */

.checks-mer {
  margin-top: 10px;
}

.checks-mer summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
}

/* Telefonen i toppfeltet. Filmen vises bare på bred skjerm, der den står ved siden av teksten. */

.hero-phone {
  margin: 0 0 8px;
}

.hero-phone .device {
  width: min(320px, 86vw);
  margin: 0 auto;
  border-radius: 40px;
  padding: 10px;
}

.hero-phone .screen {
  min-height: 0;
  border-radius: 31px;
  padding: 16px 12px 18px;
}

.hero-phone .screen-head b {
  font-size: 15px;
}

.hero-phone .msg {
  margin: 0;
  max-width: 88%;
  font-size: 16px;
  line-height: 1.4;
}

.hero-phone .msg-meta {
  margin: 0;
  font-size: 13px;
}

.hero-phone .msg-sendt {
  align-self: flex-end;
}

.hero-phone .msg .link-chip {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 15px;
}

.hero-phone .msg.in .verdict-word {
  color: #ff8a7a;
}

.hero-phone .typing {
  display: none;
  gap: 5px;
  padding: 14px 16px;
}

.hero-phone .typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--on-ink-muted);
}

.hero-phone figcaption {
  margin-top: 10px;
  font-size: 15px;
  color: #c3cde3;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-phone .msg.out,
  .hero-phone .msg-sendt {
    animation: telefon-inn 0.5s ease-out 0.4s both;
  }

  .hero-phone .typing {
    display: flex;
    animation: telefon-skriver 1.8s ease-out 1.1s both;
    overflow: hidden;
  }

  .hero-phone .typing span {
    animation: telefon-prikk 0.9s ease-in-out infinite;
  }

  .hero-phone .typing span:nth-child(2) {
    animation-delay: 0.15s;
  }

  .hero-phone .typing span:nth-child(3) {
    animation-delay: 0.3s;
  }

  .hero-phone .svar {
    animation: telefon-inn 0.5s ease-out 2.9s both;
  }
}

@keyframes telefon-inn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes telefon-skriver {
  0% {
    opacity: 0;
    max-height: 60px;
  }
  15%,
  85% {
    opacity: 1;
    max-height: 60px;
  }
  100% {
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -10px;
  }
}

@keyframes telefon-prikk {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 979px) {
  .hero {
    padding-top: 32px;
  }

  .hero .wrap {
    gap: 0;
  }

  .hero .lead {
    margin-bottom: 24px;
  }

  .hero-video {
    display: none;
  }
}

@media (min-width: 980px) {
  .hero-phone {
    display: none;
  }
}

/* Familien: ekte mennesker, slik som Telenor Sikre gjør det */

.gi-bilde {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.send-item .copy-tekst {
  display: inline;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

/* Kjøp av Familie og Bedrift */

.plan-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.kjop-antall {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.kjop-antall[hidden],
.kjop[hidden],
.kjop-reserve[hidden] {
  display: none;
}

.kjop-antall input {
  width: 96px;
  height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  font-size: 18px;
}

.betaling-info,
.betaling-test,
.betaling-status {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.betaling-test {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--warn-soft);
  color: var(--warn);
}

.betaling-test[hidden],
.betaling-info[hidden],
.betaling-status[hidden] {
  display: none;
}

/* Samtalen i iMessage-stil, bare på mobil. Desktop har filmen. */

.samtale {
  margin: 0 0 8px;
}

.samtale-tittel {
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--on-ink);
}

.samtale-valg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.samtale-valg .valg {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.samtale-valg .valg[aria-pressed="true"] {
  background: var(--radar);
  border-color: var(--radar);
  color: var(--ink);
}

.imessage {
  background: #ffffff;
  color: #111;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.im-topp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 12px 10px;
  background: #f6f6f8;
  border-bottom: 1px solid #e3e3e8;
}

.im-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
}

.im-topp b {
  font-size: 15px;
  font-weight: 600;
}

.im-trad {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px 18px;
  min-height: 290px;
}

.im {
  margin: 0;
  max-width: 82%;
  padding: 9px 14px;
  border-radius: 20px;
  font-size: 17px;
  line-height: 1.4;
  animation: im-inn 0.35s ease-out both;
}

.im.ut {
  align-self: flex-end;
  background: #0a7cff;
  color: #fff;
  border-bottom-right-radius: 6px;
}

.im.inn {
  align-self: flex-start;
  background: #e9e9eb;
  color: #111;
  border-bottom-left-radius: 6px;
}

.im.inn strong {
  font-weight: 800;
}

.im.inn[data-tilstand="danger"] strong { color: #b42318; }
.im.inn[data-tilstand="warn"] strong { color: #9a4d00; }
.im.inn[data-tilstand="info"] strong { color: #3446c4; }
.im.inn[data-tilstand="none"] strong { color: #0b6b4f; }

.im-lenke {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.im-meta {
  margin: 0;
  font-size: 13px;
  color: #6e6e73;
  text-align: center;
}

.im-levert {
  align-self: flex-end;
  text-align: right;
  margin-top: -2px;
}

.im-skriver {
  display: flex;
  gap: 5px;
  padding: 14px 16px;
}

.im-skriver span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8e8e93;
  animation: telefon-prikk 0.9s ease-in-out infinite;
}

.im-skriver span:nth-child(2) { animation-delay: 0.15s; }
.im-skriver span:nth-child(3) { animation-delay: 0.3s; }

.samtale-note {
  margin: 10px 0 0;
  font-size: 15px;
  color: #c3cde3;
}

@keyframes im-inn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .im,
  .im-skriver span {
    animation: none;
  }
}

@media (min-width: 980px) {
  .samtale {
    display: none;
  }
}

/* På mobil står samtalen øverst, så svarkortene viser bare hva hver tilstand betyr */
@media (max-width: 979px) {
  #svaret .chat-thread,
  #svaret .chats + .table-note {
    display: none;
  }
}

/* Kjøpssiden i betaling, som bruker stilarket herfra */

.kjop-side .wrap {
  max-width: 560px;
}

.kjop-kort {
  padding: 28px 24px;
}

.kjop-tittel {
  font-size: 26px;
  margin: 18px 0 8px;
}

.kjop-merk {
  font-size: 16px;
  color: var(--muted);
}

.kjop-kort section[hidden] {
  display: none;
}

/* Salgssiden: knapper i toppen og innlogging i menyen */

.hero-cta {
  margin-top: 4px;
}

.hero-cta .btn {
  height: 56px;
  font-size: 18px;
}

.hero-merk {
  margin: 12px 0 28px;
  font-size: 15px;
  color: #c3cde3;
}

.site-header .header-actions .logg-inn {
  display: none;
}

@media (min-width: 700px) {
  .site-header .header-actions .logg-inn {
    display: inline-flex;
  }
}
