:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #5f6f7b;
  --line: #d9e2e8;
  --surface: #ffffff;
  --surface-soft: #f5f8f7;
  --green: #2f7d67;
  --green-dark: #1e5f4f;
  --blue: #276b9f;
  --rose: #b75f74;
  --amber: #c5842f;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:focus-visible {
  outline: 3px solid rgba(39, 107, 159, 0.35);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__brand {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-header nav a {
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header__brand:hover {
  color: var(--green-dark);
}

.hero {
  min-height: calc(72vh - 72px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(47, 125, 103, 0.1), rgba(39, 107, 159, 0.08) 44%, rgba(183, 95, 116, 0.1)),
    var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.hero__inner,
.brands {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.75fr);
  gap: 48px;
  align-items: end;
  padding: 72px 0 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.25rem, 4.6rem, 4.6rem);
}

.hero__lede {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.25rem;
}

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

.hero__panel > div {
  min-height: 104px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.hero__panel-stat {
  grid-column: 1 / -1;
}

.metric,
.metric-label {
  display: block;
}

.metric {
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.flag {
  font-size: 2.25rem;
}

.metric-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.brands {
  padding: 64px 0 80px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2rem, 2.6rem, 2.6rem);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.brand-card {
  display: grid;
  grid-template-rows: 168px 1fr;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.brand-logo {
  display: grid;
  place-items: center;
  min-height: 168px;
  padding: 32px;
  border-bottom: 1px solid var(--line);
}

.brand-logo img {
  display: block;
  width: min(100%, 240px);
  max-height: 84px;
  object-fit: contain;
}

.brand-logo--bonmed-se {
  background: #eef7f2;
}

.brand-logo--bonmed-no {
  background: #edf4fa;
}

.brand-logo--graviditetskollen {
  background: #fff5f8;
}

.brand-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 24px;
}

.brand-card h3 {
  font-size: 1.45rem;
}

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

.brand-card a {
  margin-top: auto;
}

.page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

.page h1 {
  margin-bottom: 24px;
}

.page p {
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.site-footer__inner {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  min-height: 116px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__details {
  display: grid;
  gap: 4px;
}

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

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__panel {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hero__panel-stat {
    grid-column: auto;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    grid-template-columns: 180px 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .brand-logo {
    min-height: 100%;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .hero__inner,
  .brands {
    width: min(100% - 28px, 1120px);
  }

  .hero__inner {
    padding: 52px 0 44px;
  }

  .site-header__inner {
    width: min(100% - 28px, 1120px);
    min-height: 84px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }

  .site-header nav {
    gap: 14px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero__lede {
    font-size: 1.08rem;
  }

  .hero__panel,
  .brand-card {
    grid-template-columns: 1fr;
  }

  .hero__panel-stat {
    grid-column: auto;
  }

  .hero__panel > div {
    min-height: 88px;
    padding: 18px;
  }

  .brand-card {
    grid-template-rows: 132px 1fr;
  }

  .brand-logo {
    min-height: 132px;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand-card__body {
    padding: 20px;
  }

  .page {
    width: min(100% - 28px, 760px);
    padding: 56px 0;
  }

  .site-footer__inner {
    width: min(100% - 28px, 1120px);
    min-height: 132px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}
