/*
 * Public CBE Toolbox site.
 * Observable reference: pioneer-alliance.eu (2026-10-28): Poppins/Roboto roles,
 * #0087a9 teal, #273171/#3044ccd blues, #f3f5f8 wash, thin header divider,
 * 60px hero type, 50px section type, pill actions and a 1024px mobile nav collapse.
 */
:root {
  --pioneer-teal: #0087a9;
  --pioneer-teal-light: #83cbd6;
  --pioneer-blue: #273171;
  --pioneer-blue-strong: #3044ccd;
  --pioneer-ink: #444444;
  --pioneer-wash: #f3f5f8;
  --pioneer-line: #e4e6f2;
  --pioneer-white: #ffffff;
  --pioneer-max: 1180px;
  --pioneer-display: Arial, Helvetica, sans-serif;
  --pioneer-heading: "Poppins", Arial, sans-serif;
  --pioneer-body: "Roboto", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--pioneer-ink);
  background: var(--pioneer-white);
  font-family: var(--pioneer-body);
  font-size: 16px;
  line-height: 1.65;
}

body.pioneer-nav-open {
  overflow: hidden;
}

a {
  color: var(--pioneer-teal);
  text-underline-offset: 0.18em;
}

.pioneer-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--pioneer-line);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(12px);
}

.pioneer-header-inner,
.pioneer-section-inner,
.pioneer-footer-inner {
  width: min(calc(100% - 40px), var(--pioneer-max));
  margin-inline: auto;
}

.pioneer-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.pioneer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--pioneer-blue);
  font-family: var(--pioneer-heading);
  text-decoration: none;
}

.pioneer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 13px;
}

.pioneer-brand span {
  display: grid;
  line-height: 1.15;
}

.pioneer-brand strong {
  font-size: 18px;
  font-weight: 600;
}

.pioneer-brand small {
  margin-top: 4px;
  color: var(--pioneer-teal);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pioneer-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.pioneer-navigation a {
  color: var(--pioneer-blue);
  font-family: var(--pioneer-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.pioneer-navigation a:hover,
.pioneer-navigation a:focus-visible {
  color: var(--pioneer-teal);
}

.pioneer-nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--pioneer-teal);
  border-radius: 3px;
  padding: 8px 12px;
  color: var(--pioneer-blue);
  background: transparent;
  font: 500 15px var(--pioneer-body);
}

.pioneer-hero {
  min-height: min(760px, calc(100vh - 82px));
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--pioneer-white);
  background:
    linear-gradient(105deg, rgb(35 47 94 / 96%), rgb(0 135 169 / 82%)),
    radial-gradient(circle at 80% 20%, var(--pioneer-teal-light), transparent 42%);
}

.pioneer-hero-inner {
  width: min(calc(100% - 40px), 980px);
  padding: 110px 0;
  text-align: center;
}

.pioneer-kicker {
  margin: 0 0 12px;
  color: inherit;
  font-family: var(--pioneer-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pioneer-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  color: inherit;
  font-family: var(--pioneer-display);
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.pioneer-hero-copy {
  max-width: 760px;
  margin: 26px auto 0;
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.55;
}

.pioneer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.pioneer-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 30px;
  font-family: var(--pioneer-heading);
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.pioneer-button-primary {
  border-color: var(--pioneer-teal);
  color: var(--pioneer-white);
  background: var(--pioneer-teal);
}

.pioneer-button-primary:hover,
.pioneer-button-primary:focus-visible {
  border-color: var(--pioneer-blue-strong);
  color: var(--pioneer-white);
  background: var(--pioneer-blue-strong);
}

.pioneer-button-secondary {
  border-color: var(--pioneer-white);
  color: var(--pioneer-white);
  background: transparent;
}

.pioneer-button-secondary:hover,
.pioneer-button-secondary:focus-visible {
  color: var(--pioneer-blue);
  background: var(--pioneer-white);
}

.pioneer-release {
  margin: 24px 0 0;
  font-size: 14px;
}

.pioneer-section {
  padding: 100px 0;
}

.pioneer-documentation {
  background: var(--pioneer-wash);
}

.pioneer-section-heading {
  max-width: 800px;
  margin-bottom: 48px;
}

.pioneer-section-heading .pioneer-kicker {
  color: var(--pioneer-teal);
}

.pioneer-section-heading h2 {
  margin: 0;
  color: var(--pioneer-blue);
  font-family: var(--pioneer-heading);
  font-size: clamp(38px, 5vw, 50px);
  font-weight: 600;
  line-height: 1.12;
}

.pioneer-section-heading > p:not(.pioneer-kicker) {
  max-width: 720px;
  margin: 20px 0 0;
  font-size: 18px;
}

.pioneer-docs-host {
  color: var(--pioneer-ink);
}

.pioneer-docs-host .cbe-docs-toolbar {
  border-bottom: 1px solid var(--pioneer-line);
  padding-bottom: 18px;
}

.pioneer-docs-host .cbe-docs-button,
.pioneer-docs-host .cbe-docs-nav-button {
  border-color: var(--pioneer-teal);
}

.pioneer-docs-host .cbe-docs-button[aria-pressed="true"],
.pioneer-docs-host .cbe-docs-nav-button[aria-current="page"] {
  color: var(--pioneer-white);
  background: var(--pioneer-teal);
}

.pioneer-docs-host .cbe-docs-intro h1,
.pioneer-docs-host .cbe-docs-topic h2,
.pioneer-docs-host .cbe-docs-topic h3 {
  color: var(--pioneer-blue);
  font-family: var(--pioneer-heading);
}

.pioneer-download {
  color: var(--pioneer-white);
  background: var(--pioneer-blue);
}

.pioneer-download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}

.pioneer-download .pioneer-section-heading {
  margin-bottom: 0;
}

.pioneer-download .pioneer-kicker,
.pioneer-download .pioneer-section-heading h2,
.pioneer-download a {
  color: inherit;
}

.pioneer-text-link {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--pioneer-heading);
  font-weight: 600;
}

.pioneer-download-host .cbe-download-card {
  border-color: rgb(255 255 255 / 58%);
  background: rgb(255 255 255 / 7%);
}

.pioneer-download-host .cbe-download-primary {
  border-color: var(--pioneer-teal);
  color: var(--pioneer-white);
  background: var(--pioneer-teal);
}

.pioneer-download-host .cbe-download-primary:hover,
.pioneer-download-host .cbe-download-primary:focus-visible {
  border-color: var(--pioneer-teal-light);
  background: var(--pioneer-blue-strong);
}

.pioneer-footer {
  border-top: 1px solid var(--pioneer-line);
  color: var(--pioneer-blue);
  background: var(--pioneer-white);
}

.pioneer-footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.pioneer-footer-inner a {
  margin-left: auto;
}

@media (max-width: 1024px) {
  .pioneer-nav-toggle {
    display: inline-flex;
  }

  .pioneer-navigation {
    position: fixed;
    inset: 83px 0 auto;
    display: none;
    padding: 24px 20px 32px;
    border-bottom: 1px solid var(--pioneer-line);
    background: var(--pioneer-white);
  }

  .pioneer-nav-open .pioneer-navigation {
    display: grid;
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .pioneer-header-inner,
  .pioneer-section-inner,
  .pioneer-footer-inner,
  .pioneer-hero-inner {
    width: min(calc(100% - 30px), var(--pioneer-max));
  }

  .pioneer-brand img {
    width: 46px;
    height: 46px;
  }

  .pioneer-brand strong {
    font-size: 16px;
  }

  .pioneer-brand small {
    font-size: 10px;
  }

  .pioneer-hero {
    min-height: 640px;
  }

  .pioneer-hero-inner {
    padding: 82px 0;
  }

  .pioneer-hero h1 {
    font-size: clamp(42px, 13vw, 54px);
  }

  .pioneer-actions {
    display: grid;
  }

  .pioneer-section {
    padding: 70px 0;
  }

  .pioneer-section-heading {
    margin-bottom: 34px;
  }

  .pioneer-download-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pioneer-footer-inner {
    min-height: 150px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }

  .pioneer-footer-inner a {
    margin: 8px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pioneer-button {
    transition: none;
  }
}
