@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-latin.woff2") format("woff2");
}

:root {
  --night-blue: #0b2545;
  --harbor-blue: #13315c;
  --sea-blue: #2f6db5;
  --sky-blue: #a9c8ec;
  --mist-white: #eef3f8;
  --ink: #10243e;
  --ink-muted: #4a5d75;
  --rule-on-dark: rgba(169, 200, 236, 0.25);
  --max-width: 1040px;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-stretch: 100%;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--mist-white);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Language toggle: only content matching the active language is shown */
html[data-lang="nl"] [lang="en"]:not(html),
html[data-lang="en"] [lang="nl"]:not(html) {
  display: none !important;
}

a {
  color: var(--sea-blue);
  text-underline-offset: 3px;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Masthead: top bar and hero on night blue */
.masthead {
  background: var(--night-blue);
  color: #ffffff;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  border-bottom: 1px solid var(--rule-on-dark);
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  text-decoration: none;
}

.lang-switch {
  display: flex;
  gap: 2px;
  border: 1px solid var(--rule-on-dark);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch button {
  border: 0;
  background: transparent;
  padding: 4px 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--sky-blue);
}

.lang-switch button[aria-pressed="true"] {
  background: var(--sky-blue);
  color: var(--night-blue);
  font-weight: 600;
}

.hero {
  padding: 104px 0 112px;
}

.hero h1 {
  margin: 0 0 32px;
  font-size: clamp(2.5rem, 7.2vw, 5.25rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 14ch;
}

.hero p {
  margin: 0;
  max-width: 56ch;
  font-size: 1.2rem;
  color: var(--sky-blue);
}

/* Services: columns separated by blue rules */
.services {
  padding: 96px 0;
}

.section-title {
  margin: 0 0 40px;
  font-size: 1.75rem;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.01em;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 3px solid var(--night-blue);
}

.platforms li {
  padding: 28px 28px 8px 0;
}

.platforms li + li {
  padding-left: 28px;
  border-left: 1px solid #c9d6e6;
}

.platforms h3 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 700;
  font-stretch: 118%;
  color: var(--harbor-blue);
}

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

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

  .platforms li,
  .platforms li + li {
    padding: 24px 0;
    border-left: 0;
  }

  .platforms li + li {
    border-top: 1px solid #c9d6e6;
  }
}

/* Company details on harbor blue */
.company {
  background: var(--harbor-blue);
  color: #ffffff;
  padding: 88px 0;
}

.details {
  margin: 0;
  border-top: 1px solid var(--rule-on-dark);
}

.details div {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule-on-dark);
}

.details dt {
  color: var(--sky-blue);
}

.details dd {
  margin: 0;
  font-weight: 500;
}

.details a {
  color: #ffffff;
}

.details .note {
  color: var(--sky-blue);
  font-weight: 400;
}

@media (max-width: 560px) {
  .details div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Legal pages */
.legal {
  padding: 72px 0 96px;
  max-width: 68ch;
}

.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.1;
  color: var(--night-blue);
}

.legal h2 {
  margin: 36px 0 8px;
  font-size: 1.2rem;
  color: var(--harbor-blue);
}

/* Footer */
.site-footer {
  background: var(--night-blue);
  color: var(--sky-blue);
  padding: 32px 0;
  font-size: 0.95rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.site-footer a {
  color: #ffffff;
}
