/* Netilo – webbplatsens stilmall */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(../fonts/dm-sans-latin-wght-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(../fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2');
}

:root {
  --ink: #0b172b;
  --ink-deep: #081224;
  --ink-hero: #091529;
  --panel: #122341;
  --panel-2: #0e1e38;
  --paper: #f6f8fb;
  --white: #ffffff;
  --accent: #a8c5f5;
  --accent-hover: #bfd6fa;
  --blue: #1e40af;
  --blue-hover: #1e3a8a;
  --text: #0b172b;
  --muted: #475569;
  --muted-2: #64748b;
  --on-dark: #e2e8f0;
  --on-dark-muted: #cbd5e1;
  --on-dark-faint: #94a3b8;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --line-dark: rgba(255, 255, 255, 0.14);
  --error: #b91c1c;
  --radius: 12px;
  --radius-sm: 8px;
  --font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --header-h: 64px;
}

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

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: #a8c7fa; color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .container { padding: 0 24px; } }

.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- Knappar och länkar ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .16s, color .16s, border-color .16s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { border-color: rgba(255,255,255,.25); color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--muted-2); }
@media (min-width: 640px) { .btn { font-size: 16px; } }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer;
  transition: color .16s;
}
.text-link svg { width: 16px; height: 16px; }
.text-link:hover { color: var(--blue); }
.on-dark .text-link { color: var(--accent); }
.on-dark .text-link:hover { color: var(--white); }

/* ---------- Sidhuvud ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 23, 43, .95);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-header .bar {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.logo { display: inline-flex; align-items: center; padding: 4px 0; }
.logo img { height: 28px; width: auto; }
.logo:hover { opacity: .9; }

.main-nav { display: none; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
.main-nav a {
  color: var(--on-dark-muted); text-decoration: none; padding: 4px 0;
  border-bottom: 2px solid transparent; transition: color .16s, border-color .16s;
}
.main-nav a:hover { color: var(--white); border-color: rgba(255,255,255,.3); }
.main-nav a[aria-current="page"] { color: var(--white); border-color: var(--accent); }

.header-cta { display: none; min-height: 40px; padding: 0 16px; font-size: 14px; font-weight: 500; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: transparent; border: 0; color: var(--white); cursor: pointer;
}
.menu-toggle:hover { background: rgba(255,255,255,.1); }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  background: var(--panel-2); border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a.item {
  display: block; padding: 12px; border-radius: var(--radius-sm);
  color: var(--on-dark); text-decoration: none; font-weight: 500;
}
.mobile-nav a.item:hover { background: rgba(255,255,255,.05); }
.mobile-nav a.item[aria-current="page"] { background: rgba(255,255,255,.1); color: var(--white); }
.mobile-nav .btn { width: 100%; margin-top: 12px; }

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
}

/* ---------- Sektioner ---------- */

.section { padding: 64px 0; }
@media (min-width: 640px) { .section { padding: 96px 0; } }
.section-tight { padding: 56px 0; }
@media (min-width: 640px) { .section-tight { padding: 80px 0; } }
.bg-paper { background: var(--paper); }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }
.border-top { border-top: 1px solid var(--line); }

.eyebrow { font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 12px; }
.on-dark .eyebrow { color: var(--accent); font-weight: 500; }

.h2 { font-size: clamp(1.875rem, 3.2vw, 2.25rem); font-weight: 700; line-height: 1.15; }
.h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.lead { color: var(--muted); font-size: 16px; line-height: 1.7; }
.on-dark .lead { color: var(--on-dark-muted); }
.stack-s > * + * { margin-top: 8px; }
.stack-m > * + * { margin-top: 20px; }
.stack-l > * + * { margin-top: 24px; }

.split {
  display: grid; gap: 40px; align-items: start;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 5fr 7fr; gap: 48px; }
  .split.center { align-items: center; }
  .split.wide-left { grid-template-columns: 7fr 5fr; }
}

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

.hero { position: relative; overflow: hidden; background: var(--ink-hero); color: var(--white); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(9,21,41,.75), transparent 55%, rgba(9,21,41,.3)),
    linear-gradient(to right, #091529, rgba(9,21,41,.88) 45%, rgba(9,21,41,.5));
}
@media (min-width: 768px) {
  .hero-media img { object-position: right center; }
  .hero-media::after { background: linear-gradient(to right, #091529, rgba(9,21,41,.92) 40%, rgba(9,21,41,.35)); }
  .hero-career .hero-media { left: auto; width: 62%; }
  .hero-career .hero-media img { filter: saturate(.72) contrast(1.03); }
  .hero-career .hero-media::after {
    background:
      linear-gradient(to right, #091529, rgba(9,21,41,.55) 30%, transparent),
      rgba(13,35,71,.35);
  }
}
.hero-inner { position: relative; padding-top: 80px; padding-bottom: 80px; }
@media (min-width: 640px) { .hero-inner { padding-top: 112px; padding-bottom: 112px; } }
@media (min-width: 1024px) { .hero-inner { padding-top: 128px; padding-bottom: 128px; } }
.hero-copy { max-width: 672px; }
.hero-eyebrow { font-size: 14px; font-weight: 500; color: var(--accent); margin-bottom: 16px; }
.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 700;
  line-height: 1.12; letter-spacing: -0.025em; margin-bottom: 24px;
}
.hero-lead { font-size: 16px; line-height: 1.7; color: var(--on-dark); max-width: 576px; margin-bottom: 32px; }
@media (min-width: 640px) { .hero-lead { font-size: 18px; } }
.actions { display: flex; flex-direction: column; gap: 12px; }
.actions .btn { width: 100%; }
@media (min-width: 640px) {
  .actions { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .actions .btn { width: auto; }
}

/* ---------- Listor och kort ---------- */

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 1px 3px rgba(11,23,43,.04);
}
.def-card { margin: 0; }
.def-card > div { padding: 24px; }
.def-card > div + div { border-top: 1px solid var(--line); }
@media (min-width: 640px) { .def-card > div { padding: 28px; } }
dt { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
dd { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
@media (min-width: 640px) { dd { font-size: 16px; } }

.def-lines { margin: 0; }
.def-lines > div { padding: 20px 0; }
.def-lines > div:first-child { padding-top: 0; }
.def-lines > div:last-child { padding-bottom: 0; }
.def-lines > div + div { border-top: 1px solid var(--line); }

.def-grid { margin: 0; display: grid; gap: 24px; }
.def-grid > div { border-top: 1px solid var(--line); padding-top: 16px; }
@media (min-width: 768px) { .def-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; } }

.dark-card {
  background: var(--panel); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 24px;
}
@media (min-width: 640px) { .dark-card { padding: 32px; } }
.dark-card.highlight { border-color: rgba(168,197,245,.4); }

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

.contact-list { padding: 24px; display: grid; gap: 16px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; }
.contact-item svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }
.contact-item .label { font-size: 12px; font-weight: 500; color: var(--muted-2); }
.contact-item .value { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; }
.contact-item a.value:hover { color: var(--blue); }

/* ---------- Formulär ---------- */

.form-card { padding: 24px; }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.form-stack > * + * { margin-top: 20px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field .opt { color: var(--muted-2); font-weight: 400; }
.input {
  width: 100%; min-height: 46px; padding: 10px 14px;
  font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .16s;
}
.input:hover { border-color: #94a3b8; }
.input::placeholder { color: #8a96a8; }
textarea.input { resize: vertical; min-height: 120px; line-height: 1.5; }
select.input { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.input[aria-invalid="true"] { border-color: var(--error); }
.field-error { font-size: 13px; color: var(--error); margin-top: 6px; }
.field-error:empty { display: none; }
.form-foot { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.form-foot .btn { width: 100%; }
.form-note { font-size: 13px; color: var(--muted-2); line-height: 1.5; }
.form-note a { color: var(--blue); }
@media (min-width: 640px) {
  .form-foot { flex-direction: row; align-items: center; justify-content: space-between; }
  .form-foot .btn { width: auto; }
  .form-note { max-width: 300px; text-align: right; }
}
.form-success[hidden], .form-body[hidden] { display: none; }
.form-success .head { display: flex; gap: 12px; align-items: flex-start; }
.form-success .head svg { width: 24px; height: 24px; color: var(--blue); flex: none; margin-top: 3px; }
.form-success h3 { font-size: 20px; font-weight: 600; }
.form-success p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.summary { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.summary div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 4px 0; }
.summary dt { font-family: var(--font-sans); font-size: 14px; font-weight: 400; color: var(--muted-2); margin: 0; }
.summary dd { font-size: 14px; color: var(--ink); font-weight: 500; }

/* ---------- Lönemodeller och kalkylator ---------- */

.models { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 1024px) { .models { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.model h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.model .tagline { color: var(--on-dark); font-weight: 500; font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.model ul { margin: 0 0 24px; padding-left: 20px; color: var(--on-dark-muted); font-size: 14px; }
.model li + li { margin-top: 10px; }
.model .note { border-top: 1px solid var(--line-dark); padding-top: 20px; }
.model .note h4 { font-size: 14px; font-weight: 600; margin-bottom: 6px; letter-spacing: 0; }
.model .note p { color: var(--on-dark-muted); font-size: 14px; line-height: 1.6; }

.calc { margin-top: 32px; }
.calc-head { display: flex; flex-direction: column; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 768px) { .calc-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.calc-head .kicker { font-size: 12px; font-weight: 500; color: var(--accent); margin-bottom: 4px; }
.calc-head h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.presets .lbl { font-size: 12px; color: var(--on-dark-muted); margin-right: 4px; }
.preset {
  min-height: 36px; padding: 0 12px; border-radius: 6px; cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  background: var(--ink); color: var(--on-dark); border: 1px solid var(--line-dark);
}
.preset:hover { background: rgba(255,255,255,.1); }
.preset[aria-pressed="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.controls { display: grid; gap: 24px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 640px) { .controls { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .controls { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.control .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.control label { font-size: 14px; font-weight: 500; color: var(--on-dark); }
.control output, .control .val { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--accent); }
.control .scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-faint); margin-top: 4px; }
.control input[type="range"] { width: 100%; accent-color: var(--accent); cursor: pointer; margin: 0; height: 24px; }
.rate-box {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); border: 1px solid var(--line-dark); border-radius: 6px; padding: 2px 10px;
}
.rate-box:focus-within { border-color: var(--accent); }
.rate-box input {
  width: 3.6em; background: transparent; border: 0; text-align: right; padding: 4px 0;
  font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--accent);
  -moz-appearance: textfield; appearance: textfield;
}
.rate-box input::-webkit-outer-spin-button, .rate-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rate-box input:focus { outline: none; }
.rate-box span { font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-faint); }

.results { display: grid; gap: 16px; padding-top: 24px; }
@media (min-width: 768px) { .results { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; } }
.result {
  background: var(--ink); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm); padding: 20px;
}
.result.flex { border-color: rgba(168,197,245,.4); }
.result .rh { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.result .rh h4 { font-size: 16px; font-weight: 600; letter-spacing: 0; }
.result .rh span { font-size: 12px; color: var(--on-dark-faint); }
.result .big { font-family: var(--font-mono); font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 700; margin-top: 14px; line-height: 1.2; }
.result.flex .big { color: var(--accent); }
.result .sub { font-size: 13px; color: var(--on-dark-muted); margin-top: 2px; }
.result .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--on-dark-muted); margin-top: 12px; }
.result .row b { font-family: var(--font-mono); font-weight: 500; color: var(--on-dark); white-space: nowrap; }

.gauge { margin-top: 24px; }
.gauge-track { position: relative; height: 12px; border-radius: 999px; background: rgba(255,255,255,.08); }
.gauge-band { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: rgba(255,255,255,.28); }
.gauge-marker {
  position: absolute; top: 50%; width: 18px; height: 18px; margin-left: -9px; margin-top: -9px;
  border-radius: 50%; background: var(--accent); border: 3px solid var(--ink); box-shadow: 0 0 0 1px var(--accent);
  transition: left .2s ease;
}
.gauge-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 13px; color: var(--on-dark-muted); }
.gauge-legend span { display: inline-flex; align-items: center; gap: 8px; }
.gauge-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.verdict {
  margin-top: 20px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: rgba(168,197,245,.08); border: 1px solid rgba(168,197,245,.22);
  font-size: 15px; line-height: 1.6; color: var(--on-dark);
}
.verdict strong { color: var(--white); }

.breakdown { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.breakdown summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 14px; font-weight: 500; color: var(--on-dark);
}
.breakdown summary::-webkit-details-marker { display: none; }
.breakdown summary .tog { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--accent); white-space: nowrap; }
.breakdown summary .tog svg { width: 16px; height: 16px; transition: transform .2s; }
.breakdown[open] summary .tog svg { transform: rotate(180deg); }
.breakdown summary .open-label { display: none; }
.breakdown[open] summary .open-label { display: inline; }
.breakdown[open] summary .closed-label { display: none; }
.bd-grid { display: grid; gap: 24px; margin-top: 16px; font-size: 14px; }
@media (min-width: 768px) { .bd-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px; } }
.bd-grid h5 { font-family: var(--font-sans); font-size: 14px; font-weight: 600; margin: 0 0 6px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--white); display: flex; justify-content: space-between; gap: 8px; }
.bd-grid h5 span { font-family: var(--font-mono); font-weight: 400; font-size: 12px; color: var(--on-dark-faint); }
.bd-row { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--on-dark-muted); }
.bd-row b { font-family: var(--font-mono); font-weight: 400; white-space: nowrap; }
.bd-row.total { margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.1); color: var(--white); font-weight: 500; }
.bd-row.total b { color: var(--accent); }
.fineprint { margin-top: 16px; font-size: 13px; line-height: 1.65; color: var(--on-dark-muted); max-width: 820px; }

/* ---------- Förmåner ---------- */

.benefits { display: grid; gap: 24px; }
@media (min-width: 768px) { .benefits { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(3, minmax(0,1fr)); } }
.benefit { padding: 24px; }
.benefit h3 { font-size: 18px; font-weight: 700; }
.benefit .hl { font-size: 14px; font-weight: 600; color: var(--blue); margin: 4px 0 8px; }
.benefit p:last-child { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ---------- Text-sida (integritetspolicy) ---------- */

.page-head { background: var(--ink); color: var(--white); padding: 64px 0 56px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; }
.page-head p { color: var(--on-dark-muted); margin-top: 12px; }
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; font-weight: 700; margin-top: 40px; margin-bottom: 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #334155; line-height: 1.75; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--blue); }

/* ---------- Sidfot ---------- */

.site-footer { background: var(--ink-deep); color: var(--on-dark-muted); border-top: 1px solid rgba(255,255,255,.1); }
.site-footer .inner { padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 640px) { .site-footer .inner { padding-top: 64px; padding-bottom: 64px; } }
.footer-grid { display: grid; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
.footer-grid h2 { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--white); letter-spacing: 0; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.footer-grid li + li { margin-top: 8px; }
.footer-grid a { text-decoration: none; transition: color .16s; }
.footer-grid a:hover { color: var(--white); }
.footer-about p { font-size: 14px; line-height: 1.65; max-width: 380px; margin-top: 12px; }
.footer-about .region { font-size: 12px; color: var(--on-dark-faint); margin-top: 12px; }
.footer-bottom { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; font-size: 12px; color: var(--on-dark-faint); }
.footer-bottom a { color: inherit; text-underline-offset: 4px; }
.footer-bottom a:hover { color: var(--white); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
