/* Falu Börs & Finans AB — site stylesheet.
   One file, no framework, no JavaScript. The look follows the brand board of
   2026-12-01: Falu Serif for headlines (see below), Manrope for text, and
   five colours – Nordic Green, Falu Red, Mineral Green, Zorn Ochre and Warm
   Canvas. Generous white space, soft panels with large radii, pill buttons.
   Both typefaces are self-hosted (SIL Open Font License); nothing is loaded
   from another site. Token names such as --navy-900 are kept from the earlier
   design so the rest of the file did not have to change; their VALUES are
   the new palette. */

@font-face {
  font-family: "Falu Serif";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/falu-serif-semibold.woff2?v=97fa6efc") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-var.woff2?v=8c2def02") format("woff2");
}

:root {
  --text: #142724; /* Nordic Green */
  --muted: #55605b;
  --line: #dcd6c8;
  --tint: #fffdf9; /* paper: the lighter bands */
  --white: #f7f4ed; /* Warm Canvas: the page, and light text on dark */
  --accent: #52766a; /* Mineral Green: links and buttons */
  --accent-hover: #142724;
  --kurbits: #a63d35; /* Falu Red */
  --mineral: #52766a;
  --ochre: #c2a16b; /* Zorn Ochre */
  --ai-ink: #102b3c; /* the kit's supporting colour for the AI icon */

  --navy-950: #0c1a17;
  --navy-900: #142724; /* Nordic Green, the dark ground */
  --slate: #142724; /* dark bands are flat Nordic Green */
  --teal: #52766a;
  --on-dark: #f7f4ed;
  --on-dark-muted: #b5c4bc;
  --accent-on-dark: #c2a16b; /* Zorn Ochre */
  --line-on-dark: rgba(255, 255, 255, 0.14);

  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --serif: "Falu Serif", Georgia, "Times New Roman", serif;

  --wrap: 68rem;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius: clamp(1.25rem, 2.4vw, 1.75rem);
  --focus: var(--accent);
}

/* ── Base ─────────────────────────────────────────────────────── */

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.011em;
  color: var(--text);
  background: var(--white);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  text-wrap: balance;
}

/* Headlines are set in Falu Serif Semibold (brand/falu-serif/). Version 0.2
   is a renamed Crimson Pro (SIL Open Font License): the first version, traced
   from the profile's specimen image, was too soft at headline sizes. */
h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw + 1rem, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.875rem, 2.6vw + 1rem, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.3125rem;
  line-height: 1.25;
  letter-spacing: -0.018em;
}

h4 {
  font-size: 1.0625rem;
  line-height: 1.35;
}

p,
ul,
ol,
dl,
address {
  margin: 0;
}

p + p {
  margin-top: 1em;
}

address {
  font-style: normal;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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

main:focus {
  outline: none;
}

.num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.icon {
  flex: none;
  width: 0.8em;
  height: 0.8em;
  margin-left: 0.3em;
  vertical-align: -0.04em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.7rem 1.1rem;
  background: var(--text);
  color: var(--white);
  font-weight: 600;
  border-radius: 999px;
}

.skip-link:focus {
  top: 0.5rem;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Header: frosted, sticky ──────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 237, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand lang" "nav nav";
  align-items: center;
  column-gap: 0.75rem;
  padding-block: 0.5rem 0.125rem;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  min-width: 0;
  max-width: 100%;
  color: var(--text);
  text-decoration: none;
  justify-self: start;
}

.brand:hover {
  color: var(--text);
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: 14.5rem;
  max-width: 100%;
  height: auto;
}

@media (min-width: 52rem) {
  .brand__logo {
    width: 15.5rem;
  }
}

.site-footer .brand__logo {
  width: 12.5rem;
}

.site-nav {
  grid-area: nav;
}

.site-nav ul,
.lang ul,
.site-footer__links,
.areas,
.cards,
.linklist {
  list-style: none;
  padding: 0;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1.125rem;
}

@media (min-width: 52rem) {
  .site-nav ul {
    column-gap: 1.75rem;
  }
}

/* The partnership page is the call to action: a small pill in the menu. */
.site-nav a.site-nav__cta {
  min-height: 2rem;
  margin-block: 0.25rem;
  padding: 0.25rem 0.9rem;
  color: var(--white);
  background: var(--kurbits);
  border-radius: 999px;
  opacity: 1;
  font-weight: 600;
}

.site-nav a.site-nav__cta:hover,
.site-nav a.site-nav__cta[aria-current="page"] {
  color: var(--white);
  background: #8a2f28;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  font-size: 0.875rem;
  color: var(--text);
  opacity: 0.8;
}

.site-nav a:hover {
  opacity: 1;
  color: var(--text);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  opacity: 1;
  font-weight: 600;
}

/* Language switcher as a segmented control. */
.lang {
  grid-area: lang;
}

.lang ul {
  display: flex;
  align-items: center;
  padding: 3px;
  background: #ebe6da;
  border-radius: 999px;
}

.lang__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.875rem;
  min-width: 2.75rem;
  padding-inline: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
}

a.lang__item:hover {
  color: var(--text);
  text-decoration: none;
}

.lang__item[aria-current="true"] {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.lang__name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (min-width: 80rem) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav lang";
    column-gap: 2rem;
    padding-block: 0.375rem;
  }

  .site-nav ul {
    justify-content: center;
    column-gap: 1.75rem;
  }

  .lang__code {
    display: none;
  }

  .lang__name {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
  }

  .lang__item {
    font-weight: 500;
  }
}

/* ── Hero ─────────────────────────────────────────────────────── */

.hero {
  padding-block: clamp(4rem, 11vw, 8.5rem) clamp(3rem, 7vw, 5.5rem);
  text-align: center;
  background: radial-gradient(90% 70% at 50% 0%, var(--tint) 0%, var(--white) 70%);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 5rem);
}

.hero h1 {
  font-size: clamp(2.75rem, 6.5vw + 1rem, 5.5rem);
  letter-spacing: -0.04em;
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--kurbits);
}

.lead {
  max-width: 40rem;
  margin-top: 1.25rem;
  font-size: clamp(1.1875rem, 0.8vw + 1rem, 1.5rem);
  line-height: 1.4;
  letter-spacing: -0.016em;
  color: var(--muted);
}

.hero .lead,
.pagehead .lead {
  margin-inline: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero .actions,
.pagehead .actions {
  justify-content: center;
}

/* ── Buttons and links ────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.65rem 1.4rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn--solid,
.btn--dark {
  background: var(--accent);
  color: var(--white);
}

.btn--solid:hover,
.btn--dark:hover {
  background: var(--accent-hover);
  color: var(--white);
}

.btn--ghost,
.btn--outline {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--ghost:hover,
.btn--outline:hover {
  background: var(--accent);
  color: var(--white);
}

.more {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 500;
}

.more .icon {
  width: 0.9em;
  height: 0.9em;
}

/* ── Facts ────────────────────────────────────────────────────── */

.factcard {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 18px 48px rgba(11, 29, 54, 0.08);
  text-align: left;
}

.factcard__title,
.panel__title,
.label,
.site-footer__heading {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--muted);
}

.factcard__title {
  margin-bottom: 0.5rem;
}

.facts__row {
  padding-block: 0.85rem;
  border-top: 1px solid var(--line);
}

.facts dt {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted);
}

.facts dd {
  margin: 0.15rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.014em;
  color: var(--text);
  overflow-wrap: anywhere;
}

.facts__row:last-child {
  padding-bottom: 0;
}

/* The hero's company details read as a row of specs on wide screens. */
@media (min-width: 58rem) {
  .factcard .facts {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .factcard .facts__row {
    padding: 1rem 0 0;
  }
}

.facts--compact .facts__row:first-child {
  padding-top: 0;
  border-top: 0;
}

.panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--tint);
  border-radius: var(--radius);
}

.panel__title {
  margin-bottom: 0.5rem;
}

.panel--white {
  background: var(--white);
}

.prose__after {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.section--tint .card,
.section--flush .card {
  background: var(--tint);
}

.section--tint .note {
  background: var(--white);
}

.section--tint .linklist {
  background: var(--white);
}

.panel > .facts:first-child > .facts__row:first-child {
  padding-top: 0;
  border-top: 0;
}

.label {
  margin-bottom: 0.5rem;
}

/* ── Sections ─────────────────────────────────────────────────── */

.section {
  padding-block: var(--section);
}

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

.section__head {
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
  text-align: center;
}

.section__foot {
  max-width: 42rem;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  text-align: center;
  color: var(--muted);
}

.section__intro {
  margin-top: 1.1rem;
  font-size: 1.1875rem;
  line-height: 1.45;
  color: var(--muted);
}

.split,
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
}

.split > div > h2 + p,
.section .wrap > h2 + .cards {
  margin-top: 1.25rem;
}

.section .wrap > h2 {
  text-align: center;
}

.section .wrap > h2 + .cards {
  margin-top: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 58rem) {
  .split {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }

  .columns {
    grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 1fr);
    align-items: start;
  }

  .panel--sticky {
    position: sticky;
    top: 5rem;
  }
}

/* Focus areas: a bento grid of soft cards. */

.areas {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

@media (min-width: 44rem) {
  .areas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.area {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--tint);
  border-radius: var(--radius);
}

.area__no {
  display: block;
  margin-bottom: 2.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--kurbits);
}

.area h3 {
  font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem);
  letter-spacing: -0.024em;
}

.area p {
  margin-top: 0.75rem;
  color: var(--muted);
}

/* The product showcase on the home page: one dark rounded tile. */

.section--showcase {
  padding-block: 0;
  margin-bottom: var(--section);
}

/* The section right after the hero needs no extra top space. */
.section--flush {
  padding-top: clamp(1rem, 3vw, 2rem);
}

@media (min-width: 58rem) {
  .areas--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.section--showcase > .split,
.section--showcase > .band {
  --focus: var(--accent-on-dark);
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  padding: clamp(2.25rem, 6vw, 4.5rem);
  color: var(--on-dark-muted);
  background:
    radial-gradient(100% 120% at 100% 0%, var(--slate) 0%, var(--navy-900) 60%);
  border-radius: calc(var(--radius) * 1.3);
}

@media (min-width: 72rem) {
  .section--showcase > .split,
  .section--showcase > .band {
    width: calc(100% - 2 * var(--gutter));
  }
}

.section--showcase .eyebrow {
  color: var(--accent-on-dark);
}

.section--showcase h2,
.section--showcase .facts dd {
  color: var(--white);
}

.section--showcase .facts dt {
  color: var(--on-dark-muted);
}

.section--showcase .panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-on-dark);
}

.section--showcase .facts__row {
  border-top-color: var(--line-on-dark);
}

.section--showcase .btn--dark {
  background: var(--white);
  color: var(--navy-900);
}

.section--showcase .btn--dark:hover {
  background: #e9e3d6;
}

.section--showcase .btn--outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.section--showcase .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* Contact */

.contactlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.contactlist > div {
  padding: 1.5rem 1.75rem;
  background: var(--tint);
  border-radius: var(--radius);
}

.contactlist__email,
.contactgrid__email {
  font-size: clamp(1.25rem, 1.6vw + 0.8rem, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contactgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.contactgrid__item {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--tint);
  border-radius: var(--radius);
}

@media (min-width: 58rem) {
  .contactgrid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.contactgrid__note {
  margin-top: 1rem;
  color: var(--muted);
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

@media (min-width: 52rem) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--white);
  border-radius: var(--radius);
}

.tag {
  align-self: flex-start;
  margin-bottom: 1.25rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--kurbits);
  background: #f6e6e3;
  border-radius: 999px;
}

.card h3 {
  font-size: 1.5rem;
  letter-spacing: -0.024em;
}

.card p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.card .card__link {
  margin-top: auto;
  padding-top: 1.5rem;
  color: inherit;
  font-weight: 500;
}

/* ── Page heads and prose ─────────────────────────────────────── */

.pagehead {
  padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
}

.pagehead--tall {
  padding-block: clamp(5rem, 14vw, 10rem);
}

.prose {
  max-width: 42rem;
}

.prose > section + section,
.prose > h2:not(:first-child) {
  margin-top: clamp(2.75rem, 5vw, 4rem);
}

.prose h2 {
  font-size: clamp(1.625rem, 1.4vw + 1rem, 2.25rem);
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 1rem;
}

.prose h3 {
  margin-top: 2.75rem;
  font-size: 1.5rem;
  letter-spacing: -0.022em;
}

.prose p,
.prose li {
  color: #33423d;
}

.prose ul:not([class]),
.prose ol:not([class]) {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.5rem;
}

.prose p + ul,
.prose p + address,
.prose address + p,
.prose ul + p {
  margin-top: 1em;
}

.figure {
  margin: 1.75rem 0 0;
}

.figure img {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.1);
}

.figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.prose--spaced {
  margin-top: var(--section);
}

.prose address {
  padding: 1.25rem 1.5rem;
  background: var(--tint);
  border-radius: 1rem;
}

.adr-name {
  font-weight: 600;
  color: var(--text);
}

.updated {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  font-size: 0.9375rem;
  color: var(--muted);
}

.sectionno {
  display: inline-block;
  min-width: 1.6em;
  color: var(--kurbits);
}

.prose--policy h2 {
  font-size: clamp(1.375rem, 1vw + 1.1rem, 1.75rem);
}

/* Numbered steps */

.steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.25rem 0 1.25rem 3rem;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1.2rem;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 999px;
}

.steps p {
  margin-top: 0.35rem;
}

.note {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--tint);
  border-radius: var(--radius);
}

.prose .note h3 {
  margin-top: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.prose .note h3 + p {
  margin-top: 0.5rem;
}

.linklist {
  background: var(--tint);
  border-radius: var(--radius);
  padding-inline: 1.5rem;
}

.linklist li + li {
  border-top: 1px solid var(--line);
}

.prose .linklist li + li {
  margin-top: 0;
}

.linklist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding-block: 0.6rem;
  font-weight: 500;
}

/* ── 404 ──────────────────────────────────────────────────────── */

.notfound-alt {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.notfound-alt .lead {
  margin-top: 0;
}

.notfound-alt p + p {
  margin-top: 0.5rem;
}

/* ── Footer ───────────────────────────────────────────────────── */

.site-footer {
  background: var(--tint);
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

main:has(> .section--tint:last-child) + .site-footer {
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 2rem;
}

@media (min-width: 40rem) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

.brand--static {
  min-height: 0;
}

.site-footer__blurb {
  max-width: 22rem;
  margin-top: 0.9rem;
}

.site-footer__heading {
  margin-bottom: 0.6rem;
  color: var(--text);
}

.site-footer a {
  color: #33423d;
}

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

.site-footer p a,
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  overflow-wrap: anywhere;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.1rem 1.75rem;
  border-top: 1px solid var(--line);
}

.site-footer__bottom p + p {
  margin-top: 0;
}

/* ── Motion and print ─────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .site-nav,
  .lang,
  .skip-link,
  .actions {
    display: none;
  }

  .section--showcase > .split,
  .section--showcase > .band {
    background: none;
    color: #000;
  }
}

/* ── B2B pages: hero extras, brand map, bands, timeline, tables ── */

.hero__sub {
  max-width: 38rem;
  margin: 1rem auto 0;
  color: var(--muted);
}

.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
}

.strip li {
  padding: 0.3rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero__built {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Status tags. Each text colour reaches 4.5:1 on its own tint (check.mjs). */
.tag--live,
.tag--bd,
.tag--service,
.tag--ai { color: var(--text); background: #dfe8e3; }
.tag--soon,
.tag--company,
.tag--partial { color: var(--text); background: #efe6d6; }
.tag--vision,
.tag--mc { color: var(--kurbits); background: #f6e6e3; }
.tag--partner,
.tag--future { color: var(--text); background: #ece8de; }

/* Brand map: the company on top, its brands below. */
.brandmap {
  display: grid;
  gap: 1.25rem;
}

.brandmap__root,
.brandmap__item {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.brandmap__root {
  color: var(--on-dark-muted);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.brandmap__root h3,
.brandmap__root .brandmap__who span {
  color: var(--white);
}

.brandmap__root .tag {
  color: var(--navy-900);
  background: var(--accent-on-dark);
}

.brandmap h3 {
  font-size: 1.375rem;
  letter-spacing: -0.02em;
}

.brandmap p {
  margin-top: 0.5rem;
}

.brandmap .tag {
  align-self: flex-start;
  margin: 0 0 1rem;
}

.brandmap__item p:not(.tag) {
  color: var(--muted);
}

.brandmap .brandmap__who {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.875rem;
}

.brandmap__who span {
  font-weight: 600;
  color: var(--text);
}

.brandmap__branches,
.brandmap__group ul {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  list-style: none;
}

.brandmap__item--child {
  margin-left: clamp(1rem, 4vw, 2rem);
  border-style: dashed;
}

@media (min-width: 52rem) {
  .brandmap__branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

/* Dark band (inside .section--showcase): heading, text, pillars. */
.band__head {
  max-width: 44rem;
}

.band__head h2,
.band__subhead,
.pillar h3 {
  color: var(--white);
}

.band__head p {
  margin-top: 1rem;
}

.band__head .pillar__tag {
  margin: 0 0 1rem;
}

.band__subhead {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.band__cta {
  margin-top: 2.5rem;
}

.pillars {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 0;
  list-style: none;
}

@media (min-width: 52rem) {
  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pillar {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
}

.pillar h3 {
  font-size: 1.25rem;
}

.pillar p {
  margin-top: 0.5rem;
}

.pillar .pillar__tag {
  margin: 0 0 1rem;
}

.pillar__tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-on-dark);
  border: 1px solid var(--accent-on-dark);
  border-radius: 999px;
}

.btn--light {
  background: var(--white);
  color: var(--navy-900);
}

.btn--light:hover {
  background: #e9e3d6;
  color: var(--navy-900);
}

/* Timeline: past steps solid with a Falu-red top, future steps dashed. */
.timeline {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 58rem) {
  .timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.timeline__step {
  padding: 1.25rem 1.25rem 1.5rem;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.timeline__step--done {
  border-style: solid;
  border-top: 3px solid var(--kurbits);
}

.timeline__when {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.timeline__what {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Closing invitation. */
.invite {
  text-align: center;
}

.invite .section__intro {
  max-width: 38rem;
  margin-inline: auto;
}

.invite .actions {
  justify-content: center;
}

.invite__mail {
  margin-top: 1.25rem;
  color: var(--muted);
}

/* Tables scroll inside their box on narrow screens instead of widening the page. */
.tablebox {
  max-width: 52rem;
  margin-inline: auto;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.status,
.qa {
  width: 100%;
  border-collapse: collapse;
}

.status th,
.status td,
.qa th,
.qa td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.status thead th,
.qa thead th {
  border-top: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.status tbody th,
.qa tbody th {
  font-weight: 500;
}

.status .tag {
  display: inline-block;
  margin: 0;
  white-space: nowrap;
}

.qa td {
  color: var(--muted);
}

/* A mock conversation: questions, never invented answers. */
.chat {
  display: grid;
  gap: 0.75rem;
  max-width: 32rem;
  margin: 0 auto 2rem;
  padding: 0;
  list-style: none;
}

.chat__q,
.chat__a {
  max-width: 85%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  border-radius: 1.25rem;
}

.chat__q {
  justify-self: end;
  color: var(--white);
  background: var(--accent);
  border-bottom-right-radius: 0.375rem;
}

.chat__a {
  justify-self: start;
  background: var(--tint);
  border: 1px solid var(--line);
  border-bottom-left-radius: 0.375rem;
}

/* Delivery options. */
.delivery {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 44rem) {
  .delivery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 58rem) {
  .delivery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.delivery__item {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
}

.delivery__item .tag {
  display: inline-block;
  margin: 0 0 0.75rem;
}

.delivery__item h3 {
  font-size: 1.125rem;
}

.delivery__item p:not(.tag) {
  margin-top: 0.4rem;
  color: var(--muted);
}

/* Architecture diagram, top to bottom. */
.arch {
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
  margin: 0 auto;
}

.arch__base {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 44rem) {
  .arch__base {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.arch__layer {
  padding: 1.25rem 1.5rem;
  text-align: center;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.arch__layer h3 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arch__layer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1rem;
  margin-top: 0.6rem;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--muted);
}

.arch__layer--ai {
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.arch__layer--ai h3 {
  color: var(--accent-on-dark);
}

.arch__layer--ai ul {
  color: var(--on-dark-muted);
}

.arch__layer--marketchat {
  border-style: dashed;
}

.arch figcaption {
  margin-top: 1rem;
  font-size: 0.9375rem;
  text-align: center;
  color: var(--muted);
}

/* Partnerships page. */
@media (min-width: 52rem) {
  .cards--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 52rem;
    margin-inline: auto;
  }
}

.who {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.35rem 0.9rem;
  font-size: 0.9375rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.checklist {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--accent);
  border-radius: 50%;
}

.checklist__after {
  margin-top: 1.5rem;
  color: var(--muted);
}

@media (min-width: 58rem) {
  .split--top {
    align-items: start;
  }
}

.prose--center {
  max-width: 44rem;
  margin-inline: auto;
}

.prose--center h2 + p,
.prose--center p + p {
  margin-top: 1rem;
}

/* Seven menu items: on wide screens the header gets more room than the
   content column, and the menu stays on one line. */
@media (min-width: 80rem) {
  .site-header .wrap {
    --wrap: 80rem;
  }

  .site-nav ul {
    flex-wrap: nowrap;
    column-gap: 1.375rem;
  }

  .site-nav a {
    white-space: nowrap;
  }
}

/* A status tag in running content keeps to its own width. */
.split > div > .tag {
  display: inline-block;
  margin-bottom: 1rem;
}

/* Cards on a tinted section stay white, so they read as cards. */
.section--tint .cards--two .card {
  background: var(--white);
}

/* A dark band already keeps a section's worth of space below itself. */
.section--showcase + .section:not(.section--tint) {
  padding-top: 0;
}

.pagehead__body {
  max-width: 40rem;
  margin: 1rem auto 0;
  color: var(--muted);
}

/* Products page: five offerings, the strategic initiative first and wider. */
@media (min-width: 52rem) {
  .cards--eco .card--feature {
    grid-column: span 2;
  }
}

.cards--eco {
  margin-top: clamp(1rem, 3vw, 2rem);
}

.card--feature {
  color: var(--on-dark-muted);
  background: radial-gradient(100% 140% at 100% 0%, var(--slate) 0%, var(--navy-900) 65%);
}

.card--feature h3 {
  color: var(--white);
}

.card.card--feature p:not(.tag) {
  color: var(--on-dark-muted);
}

.card--feature .tag {
  color: var(--navy-900);
  background: var(--accent-on-dark);
}

.card--feature a {
  color: var(--accent-on-dark);
}

.section--tint .cards--eco .card:not(.card--feature),
.section--flush .cards--eco .card:not(.card--feature) {
  border: 1px solid var(--line);
}

/* Two columns inside a dark band. */
.band__cols {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 58rem) {
  .band__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.band__cols .band__subhead {
  margin-top: 0;
  margin-bottom: 1rem;
}

.band__note {
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.9375rem;
  border-top: 1px solid var(--line-on-dark);
}

.checklist--dark li::before {
  background: var(--accent-on-dark);
}

.subhead {
  margin-top: 2rem;
  font-size: 1.125rem;
}

.subhead--center {
  margin: 0 0 1.25rem;
  text-align: center;
}

/* Delivery modes: a compact list, each with a text status. */
.modes {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0;
  list-style: none;
}

.modes li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.6rem 0.9rem;
  background: var(--tint);
  border-radius: 0.875rem;
}

.modes .tag {
  margin: 0;
}

.split .actions .more {
  margin-left: 0.5rem;
}

/* The illustrative chat: labelled as a concept, questions only. */
.concept {
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--tint);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.concept__label {
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
}

.concept .chat {
  margin-bottom: 0;
}

/* The technology section continues into the product detail. */
.section--continue {
  padding-top: 0;
}

/* Potential benefits. */
.values {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 44rem) {
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 66rem) {
  .values {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.values li {
  padding: 1.25rem 1.5rem;
  background: var(--tint);
  border-radius: var(--radius);
}

.values h3 {
  font-size: 1.0625rem;
}

.values p {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.tt tbody td {
  color: var(--text);
}

/* Numbered pilot steps. */
.checklist--steps {
  counter-reset: step;
}

.checklist--steps li {
  padding-left: 2.25rem;
  counter-increment: step;
}

.checklist--steps li::before {
  content: counter(step);
  top: 0.05em;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5rem;
  text-align: center;
  color: var(--white);
}

/* Beats ".section--flush .card", which would paint the feature card light
   under its white text. */
.section .cards--eco .card.card--feature {
  background: radial-gradient(100% 140% at 100% 0%, var(--slate) 0%, var(--navy-900) 65%);
  border-color: var(--navy-900);
}

/* Home: hero line and the measured credibility strip. */
.hero__ready {
  margin-top: 1rem;
  font-weight: 600;
}

.proof {
  padding-block: 0 clamp(1rem, 3vw, 2rem);
}

.proof__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@media (min-width: 58rem) {
  .proof__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 72rem) {
  .proof__list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.proof__list li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem;
  background: var(--white);
}

.proof__big {
  font-size: clamp(1.375rem, 1.2vw + 1rem, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.proof__small {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted);
}

.proof__note {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  text-align: center;
  color: var(--muted);
}

@media (min-width: 66rem) {
  .values--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.section--tint .values li {
  background: var(--white);
}

/* MarketChat page tagline under the head. */
.tagline {
  margin: 0 auto;
  padding-inline: var(--gutter);
  font-weight: 600;
  text-align: center;
}

.band__key {
  margin-top: 1.5rem;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--white);
}

.tablebox--wide {
  max-width: 62rem;
}


/* Five figures: in the two- and three-column layouts the last one fills
   the row, so no empty cell shows; on wide screens they sit in one row. */
@media (max-width: 71.99rem) {
  .proof__list li:last-child {
    grid-column: span 2;
  }
}

@media (min-width: 72rem) {
  .proof__list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ── Brand icons on cards ─────────────────────────────────────── */
/* The icons are the brand kit's SVG files, used as they are. */
.brandicon {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  flex: none;
}

.brandmap__top,
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.brandmap__top .tag,
.card__top .tag {
  margin: 0;
}

/* The kit's company logo: the plume beside the name. */
.brand__logo {
  width: 15.5rem;
}

@media (min-width: 52rem) {
  .brand__logo {
    width: 17.5rem;
  }
}

.site-footer .brand__logo {
  width: 14rem;
}

/* Headline type: Fraunces sets wider than the system face it replaced. */
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw + 1rem, 5rem);
  letter-spacing: -0.025em;
}

/* ── Product groups ───────────────────────────────────────────── */
/* Börsdatabasen and its mobile app are one product group; their two logos
   stand side by side. */
.brandicons {
  display: flex;
  gap: 0.6rem;
}

.tag--ent { color: var(--text); background: #efe6d6; }

.brandmap__item {
  height: 100%;
}

@media (min-width: 52rem) {
  .cards--eco .card--group {
    grid-column: span 2;
  }
}

.card--group > .tag {
  align-self: flex-start;
}

.parts {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 44rem) {
  .parts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.parts li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--white);
  border-radius: 1rem;
}

.parts h4 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
}

.parts .tag {
  margin: 0;
}

.parts p {
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* The products' own logos, listed in the Börsdatabasen section. */
.prose .parts {
  margin-top: 1rem;
}

.prose .parts li + li {
  margin-top: 0;
}

.prose .parts h4,
.prose .parts p {
  margin: 0;
}

.prose .parts p {
  margin-top: 0.35rem;
}

.card--group .card__top {
  justify-content: flex-start;
}
