/* Bolagssignaler: same colours as the PDF reports (navy #0f2b5e, blue #1a5cb5, amber accent for "now").
   System fonts, no external fonts, scripts or trackers. Contrast checked for WCAG AA. */

:root {
  --navy: #0f2b5e;
  --navy-deep: #091c3d;
  --blue: #1a5cb5;           /* 6.2:1 on white */
  --blue-hover: #144a93;
  --sky: #5b9bf5;
  --amber: #d97706;
  --amber-soft: #fff4e0;
  --text: #13213b;
  --muted: #4a5873;          /* 7.0:1 on white */
  --bg: #ffffff;
  --tint: #eef4fd;
  --line: #d8e1ef;
  --radius: 18px;
  --max: 1140px;
  --shadow: 0 1px 2px rgba(15, 43, 94, 0.06), 0 12px 32px rgba(15, 43, 94, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* signal colours (text colours ≥ 4.5:1 on their soft backgrounds) */
  --amber-c: #8a4b00;  --amber-bg: #fff1dc;
  --teal-c: #0b5f58;   --teal-bg: #dcf5f1;
  --blue-c: #123f80;   --blue-bg: #e2ecfb;
  --green-c: #166534;  --green-bg: #e1f5e6;
  --red-c: #991b1b;    --red-bg: #fde6e6;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(9, 28, 61, 0.92);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; height: 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px;
  letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.brand:hover { color: #fff; text-decoration: none; }
.brand-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--sky);
  box-shadow: 0 0 0 4px rgba(91, 155, 245, 0.25); }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav-links a { color: #dbe6f7; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; text-decoration: none; }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sky); padding-bottom: 4px; }

/* ---------- layout ---------- */
.section { padding: 96px 24px; }
.section.alt, .section.tint { background: var(--tint); }
.section.dark, .section.navy { background: var(--navy); color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; }
.narrow { max-width: 780px; margin: 0 auto; }
.center { text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 16px; }
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--navy); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--navy); }
.section.navy h2, .section.dark h2, .price-band h2 { color: #fff; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--muted); margin: 0 0 32px; max-width: 720px; }
.section.navy .lead, .section.dark .lead, .price-band .lead, .hero .lead { color: #c9d8f0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow, .kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 12px; }
.kicker.light, .hero .eyebrow { color: #8fbcff; }
.sec-head { max-width: 780px; margin-bottom: 40px; }

/* ---------- buttons ---------- */
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.center .actions, .section .actions { justify-content: flex-start; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 12px; font-size: 17px; font-weight: 700;
  line-height: 1.2; border: 2px solid transparent; text-align: center; }
.btn:hover { text-decoration: none; }
/* amber button: white on #b45309 is 5.0:1 */
.btn-primary { background: #b45309; color: #fff; box-shadow: 0 6px 18px rgba(180, 83, 9, 0.35); }
.btn-primary:hover { background: #92400e; color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e8f0fd; color: var(--navy); }
.btn-link { color: var(--blue); padding-left: 6px; padding-right: 6px; }
.btn-block { display: block; width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 96px 24px 88px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, var(--blue) 100%); }
.hero h1 { color: #fff; }
.hero h1 span { color: #ffc56b; }
.hero > .eyebrow, .hero > h1, .hero > .lead, .hero > .actions { max-width: var(--max); margin-left: auto; margin-right: auto; }
.hero > .lead { margin-bottom: 28px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 85% 15%, rgba(91, 155, 245, 0.35), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255, 197, 107, 0.18), transparent 35%); }
.hero-bg::after { content: ""; position: absolute; right: -10%; top: 0; width: 55%; height: 100%;
  background: rgba(255, 255, 255, 0.04); clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%); }
.hero-home { padding: 80px 24px 120px; }
.hero-grid { position: relative; max-width: var(--max); margin: 0 auto; display: grid;
  grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-text .lead { max-width: 540px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 15px; color: #dbe6f7; }
.hero-points li::before { content: "✓"; color: #ffc56b; font-weight: 800; margin-right: 8px; }
.hero-art { position: relative; height: 500px; }
.shot { position: absolute; width: 300px; border-radius: 10px; background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.2); }
.shot-front { left: 6%; top: 10px; transform: rotate(-4deg); z-index: 2; }
.shot-back { right: 2%; top: 60px; transform: rotate(5deg); opacity: 0.95; }
.chip { position: absolute; z-index: 3; left: 0; bottom: 10px; background: #fff; color: var(--navy);
  border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  font-size: 14px; line-height: 1.3; }
.chip-num { font-weight: 800; font-size: 18px; color: var(--amber-c); }

/* ---------- stats strip (overlaps the hero) ---------- */
.stats { padding: 0 24px; margin-top: -64px; position: relative; z-index: 5; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow);
  border-top: 5px solid var(--blue); }
.stat-card:first-child { border-top-color: var(--amber); }
.stat-card:last-child { border-top-color: #0d9488; }
.stat-card p { margin: 0; color: var(--muted); }
.stat-card .stat-num { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); line-height: 1.1; }

/* ---------- chart ---------- */
.chart-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 28px;
  display: grid; grid-template-columns: 1fr 290px; gap: 32px; }
.chart-main { margin: 0; min-width: 0; }
.chart-main figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 8px 20px; margin-bottom: 8px; }
.chart-title { font-weight: 700; color: var(--navy); font-size: 18px; }
.legend { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.chart { display: block; width: 100%; height: auto; }
.chart .grid { stroke: #e3e9f3; stroke-width: 1; }
.chart .ylab { font-size: 13px; fill: var(--muted); text-anchor: end; }
.chart .xlab { font-size: 13px; fill: var(--muted); text-anchor: middle; }
.chart circle { cursor: default; }
.chart-side { border-left: 1px solid var(--line); padding-left: 28px; display: flex; flex-direction: column;
  justify-content: center; }
.chart-side h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.chart-side .small { color: var(--muted); margin: 18px 0 0; }
.ybar { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; gap: 4px 12px; margin: 10px 0; }
.ybar-year { font-weight: 700; color: var(--navy); grid-row: span 2; align-self: center; }
.ybar-track { height: 14px; background: #edf2f9; border-radius: 7px; overflow: hidden; }
.ybar-fill { display: block; height: 100%; border-radius: 7px; }
.ybar-val { font-size: 15px; font-weight: 700; color: var(--navy); }
.delta { margin-left: 8px; font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 980px; }
.delta.up { background: var(--green-bg); color: var(--green-c); }
.delta.down { background: var(--red-bg); color: var(--red-c); }
.data-details { margin-top: 18px; }
.data-details summary { cursor: pointer; color: var(--blue); font-weight: 600; }
.data-details table { max-width: 520px; margin-top: 12px; background: #fff; border-radius: 12px; }
.source { font-size: 13px; color: var(--muted); margin: 16px 0 0; max-width: 820px; }

/* ---------- signal cards ---------- */
.sig-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.sig-card { border-radius: var(--radius); padding: 26px 24px; background: var(--c-bg); color: var(--c); }
.sig-card h3 { color: var(--c); font-size: 18px; margin-bottom: 8px; }
.sig-card p { margin: 0; font-size: 15px; color: var(--text); }
.sig-card .sig-num { font-size: 42px; font-weight: 800; letter-spacing: -0.03em; color: var(--c); line-height: 1.1; margin: 0 0 4px; }
.sig-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; color: var(--c); margin-bottom: 14px; }
.sig-card.amber { --c: var(--amber-c); --c-bg: var(--amber-bg); }
.sig-card.teal  { --c: var(--teal-c);  --c-bg: var(--teal-bg); }
.sig-card.blue  { --c: var(--blue-c);  --c-bg: var(--blue-bg); }
.sig-card.green { --c: var(--green-c); --c-bg: var(--green-bg); }
.sig-card.red   { --c: var(--red-c);   --c-bg: var(--red-bg); }

/* ---------- report gallery ---------- */
.section.navy { background: linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #163f80); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; margin-bottom: 40px; }
.gallery-item { margin: 0; }
.gallery-item img { display: block; width: 100%; border-radius: 10px; background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); }
.gallery-item figcaption { margin-top: 14px; color: #c9d8f0; font-size: 15px; }
.gallery-item figcaption b { color: #fff; display: block; font-size: 17px; }
.feature-card { margin: 0 0 48px; max-width: 860px; }
.feature-card img { display: block; width: 100%; border-radius: 16px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35); }
.feature-card figcaption { margin-top: 12px; color: #c9d8f0; font-size: 14px; }

/* ---------- map ---------- */
.map-wrap { text-align: center; }
.map-wrap img { max-height: 620px; width: auto; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--tint); color: var(--navy); font-weight: 600; font-size: 15px;
  padding: 8px 14px; border-radius: 980px; }
.chips li.more { background: var(--amber-bg); color: var(--amber-c); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.steps li::after { counter-increment: step; content: counter(step); position: absolute; top: 22px; right: 26px;
  font-size: 44px; font-weight: 800; color: #e3ebf8; line-height: 1; }
.step-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; margin-bottom: 16px; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- pricing ---------- */
.price-band { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: #fff; }
.split-price { grid-template-columns: 1fr 440px; }
.price-card { background: #fff; color: var(--text); border-radius: 24px; padding: 36px 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); }
.price-label { margin: 0; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; }
.price { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 0; color: var(--navy); }
.price small { font-size: 18px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.check { list-style: none; padding: 0; margin: 20px 0 26px; }
.check li { padding: 9px 0 9px 32px; position: relative; border-bottom: 1px solid #edf1f7; }
.check li::before { content: "✓"; position: absolute; left: 4px; top: 8px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-bg); color: var(--green-c); font-weight: 800; font-size: 13px; display: grid; place-items: center; }

/* ---------- trust strip ---------- */
.trust { background: var(--amber-soft); padding: 26px 24px; }
.trust-inner { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; }
.trust p { margin: 0; color: #5c3a06; }
.trust a { font-weight: 700; color: #8a4b00; }

/* ---------- generic cards & tables (example page) ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 48px; }
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 5px solid var(--blue); }
.card p { margin: 0; color: var(--muted); }
.card .stat { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); margin: 4px 0 6px; }
.nowrap { white-space: nowrap; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px 20px 12px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
caption { text-align: left; font-weight: 800; font-size: 21px; color: var(--navy); padding: 16px 0 12px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #e6ecf5; vertical-align: top; }
thead th { font-size: 12px; font-weight: 700; color: #fff; background: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; }
thead th:first-child { border-radius: 8px 0 0 8px; }
thead th:last-child { border-radius: 0 8px 8px 0; }
tbody tr:nth-child(even) td { background: #f7f9fd; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data th[scope="row"] { font-weight: 600; color: var(--navy); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 980px;
  background: var(--blue-bg); color: var(--blue-c); white-space: nowrap; }
.tag.warn { background: var(--amber-bg); color: var(--amber-c); }
.tag.good { background: var(--green-bg); color: var(--green-c); }

.notice { background: var(--amber-soft); border: 1px solid #f0d58a; color: #5c4400;
  border-radius: 12px; padding: 12px 16px; font-size: 14px; margin: 0 auto 24px; max-width: var(--max); }

/* ---------- prose pages ---------- */
.prose h2 { font-size: 30px; margin-top: 48px; }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 22px; }

/* ---------- footer ---------- */
.footer { background: var(--navy-deep); color: #b9c8e2; padding: 48px 24px 56px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; }
.footer p { margin: 0 0 10px; }
.footer a { color: #fff; text-decoration: underline; }
.footer-brand { margin-bottom: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .split-price, .chart-card { grid-template-columns: 1fr; }
  .hero-art { height: 420px; max-width: 520px; }
  .chart-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 20px; }
  .hero { padding: 64px 20px 56px; }
  .hero-home { padding: 56px 20px 100px; }
  .hero-art { height: 360px; }
  .shot { width: 220px; }
  .nav-links { gap: 14px; font-size: 14px; }
  .hide-sm { display: none; }
  .brand { font-size: 13px; }
  .gallery { grid-template-columns: 1fr; }
  .chart-card { padding: 18px 12px; }
  .tag { font-size: 11px; padding: 3px 8px; white-space: normal; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn, .nav-links a { transition: background-color .2s ease, color .2s ease; }
}

/* ---------- print (example report → PDF) ---------- */
@media print {
  .nav, .footer, .actions, .skip-link, .no-print, .trust { display: none !important; }
  .section, .hero { padding: 16px 0; }
  .hero, .section.alt, .section.tint, .section.navy, .section.dark { background: #fff; color: #000; }
  .hero h1, .hero .lead, .hero .eyebrow { color: #000; }
  .card, .table-wrap { box-shadow: none; border: 1px solid #ccc; }
  thead th { background: #eee; color: #000; }
  body { font-size: 11pt; }
  a { color: #000; }
  table { font-size: 9pt; page-break-inside: auto; }
  tr { page-break-inside: avoid; }
}
