/* Tokens from ENTHUSTheme scss/variables (_colors, _typography, _distances). */

@font-face {
  font-family: 'CircularXX';
  src: url('/export/fonts/Circular/CircularXXWeb-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CircularXX';
  src: url('/export/fonts/Circular/CircularXXWeb-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'CircularXX';
  src: url('/export/fonts/Circular/CircularXXWeb-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --smart-yellow: #dbff00;
  --deep-blue-10: #6075b6;
  --deep-blue-20: #303c62;
  --deep-blue-30: #1a2753;
  --deep-blue-50: #000f40;
  --deep-blue-70: #010a2a;
  --grey-20: #f8f8f8;
  --grey-30: #f2f3f5;
  --grey-50: #d9dbe2;
  --grey-60: #c5c7cc;
  --grey-70: #858585;
  --grey-90: #343434;
  --green-30: #cfffe2;
  --green-50: #61ffa0;
  --trustful-30: #dffbff;
  --trustful-50: #94f2ff;
  --purple-30: #d5deff;
  --purple-50: #9fb4ff;
  --purple-90: #2617db;
  --red-90: #f62356;

  --text: var(--deep-blue-50);
  --text-muted: var(--deep-blue-20);
  --surface: var(--white);
  --hairline: var(--grey-50);

  --container: 1440px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(56px, 8vw, 120px);
  --radius: 16px;
  --header-h: 80px;
  --font: 'CircularXX', arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--smart-yellow);
  color: var(--deep-blue-50);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:focus-visible,
summary:focus-visible,
.nav-toggle:focus-visible + .nav-burger {
  outline: 3px solid var(--purple-90);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.narrow {
  max-width: 880px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--deep-blue-50);
  color: var(--white);
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--deep-blue-50);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--deep-blue-10);
}

.btn-secondary {
  border-color: var(--deep-blue-50);
  color: var(--deep-blue-50);
}

.btn-secondary:hover {
  background: var(--deep-blue-50);
  color: var(--white);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--smart-yellow);
  border-color: var(--smart-yellow);
  color: var(--deep-blue-50);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--grey-30);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
}

.brand {
  flex: none;
  display: block;
  padding: 8px 0;
}

/* The white logo PNG doubles as a mask so the header can show it in deep blue. */
.logo {
  display: block;
  width: 128px;
  aspect-ratio: 640 / 152;
  background: var(--deep-blue-50);
  -webkit-mask: url('/assets/enthus-logo-white.png') center / contain no-repeat;
  mask: url('/assets/enthus-logo-white.png') center / contain no-repeat;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.nav-burger {
  display: none;
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 28px 14px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-item.is-active > .nav-link,
.nav-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--smart-yellow);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}

.nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 16px 40px rgba(0, 15, 64, 0.12);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.nav-item:hover > .nav-sub,
.nav-item:focus-within > .nav-sub {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.nav-sub a {
  display: block;
  padding: 8px 24px;
  text-decoration: none;
}

.nav-sub a:hover,
.nav-sub a[aria-current='page'] {
  background: var(--grey-30);
}

.nav-cta {
  flex: none;
}

@media (max-width: 1199px) {
  .nav-burger {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-left: auto;
    cursor: pointer;
  }

  .nav-burger span,
  .nav-burger span::before,
  .nav-burger span::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--deep-blue-50);
    transition: transform 0.2s, background-color 0.2s;
  }

  .nav-burger span {
    position: relative;
  }

  .nav-burger span::before,
  .nav-burger span::after {
    content: '';
    position: absolute;
    left: 0;
  }

  .nav-burger span::before {
    top: -8px;
  }

  .nav-burger span::after {
    top: 8px;
  }

  .nav-toggle:checked + .nav-burger span {
    background: transparent;
  }

  .nav-toggle:checked + .nav-burger span::before {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-burger span::after {
    transform: translateY(-8px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 16px var(--gutter) 48px;
    background: var(--white);
    overflow-y: auto;
    display: none;
  }

  .nav-toggle:checked ~ .main-nav {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-item {
    border-bottom: 1px solid var(--grey-30);
  }

  .nav-link {
    padding: 16px 0 8px;
    font-size: 20px;
  }

  .nav-sub {
    position: static;
    min-width: 0;
    padding: 0 0 12px;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-sub a {
    padding: 6px 0;
    color: var(--text-muted);
  }

  .nav-sub a:hover,
  .nav-sub a[aria-current='page'] {
    background: none;
    text-decoration: underline;
  }

  .nav-cta {
    align-self: flex-start;
  }
}

/* Placeholder marking */

.ph-banner {
  margin: 0;
  padding: 10px var(--gutter);
  background: var(--red-90);
  color: var(--white);
  font-size: 14px;
  text-align: center;
}

.ph-banner span {
  font-weight: 700;
  margin-right: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ph-img {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(0, 15, 64, 0.05) 14px 28px),
    var(--grey-30);
  color: var(--grey-70);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Breadcrumb */

.breadcrumb {
  background: var(--grey-20);
  font-size: 14px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0;
  padding: 12px 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: '/';
  margin: 0 10px;
  color: var(--grey-70);
}

.breadcrumb a {
  color: var(--text-muted);
}

/* Sections */

.section {
  padding: var(--section-y) 0;
}

.section + .section.bg-white,
.section.bg-white + .section.bg-white {
  padding-top: 0;
}

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

.bg-grey {
  background: var(--grey-30);
}

.bg-yellow {
  background: var(--smart-yellow);
}

.bg-green {
  background: var(--green-30);
}

.bg-trustful {
  background: var(--trustful-30);
}

.bg-purple {
  background: var(--purple-30);
}

.bg-blue {
  background: var(--deep-blue-50);
  color: var(--white);
}

.bg-blue .eyebrow,
.bg-blue .section-intro {
  color: var(--white);
}

.bg-blue .btn-primary {
  background: var(--smart-yellow);
  color: var(--deep-blue-50);
}

.bg-blue .btn-primary:hover {
  background: var(--white);
}

/* A white page section that follows a coloured one keeps its top spacing. */
.section:not(.bg-white) + .section.bg-white {
  padding-top: var(--section-y);
}

.page-title {
  padding-bottom: 24px;
}

.page-title h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-blue-20);
}

.section-title {
  font-size: clamp(28px, 3.6vw, 47px);
}

.section-intro {
  max-width: 64ch;
  margin: 16px 0 0;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--text-muted);
}

.section-title + .grid,
.section-intro + .grid,
.section-title + .logo-grid,
.section-intro + .logo-grid,
.section-title + .accordion,
.section-intro + .accordion,
.section-title + .check-list,
.section-intro + .check-list,
.section-title + .rich,
.section-intro + .rich {
  margin-top: 40px;
}

/* Marker highlight, the clip-path from ENTHUSOneTheme globals/marker-effect.scss */
.marker {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.marker::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0.04em -0.2em -0.02em;
  background: var(--smart-yellow);
  clip-path: polygon(0 0, calc(100% - 0.1em) 0.16em, 100% 100%, 0.2em calc(100% - 0.08em));
}

.bg-yellow .marker::before {
  background: var(--white);
}

.bg-blue .marker {
  color: var(--deep-blue-50);
}

/* Hero */

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-grid:has(.hero-media) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.hero-title {
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.05;
  max-width: 18ch;
}

.hero-small .hero-title {
  font-size: clamp(36px, 5vw, 63px);
}

.hero-small:has(.hero-media) {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
}

.hero-small .hero-media {
  max-height: 360px;
  object-fit: contain;
}

.section:has(.hero-banner) {
  position: relative;
  overflow: hidden;
}

.hero-banner {
  min-height: clamp(240px, 22vw, 420px);
}

.hero-banner .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 55%;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-text {
  max-width: 60ch;
  margin: 24px 0 0;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
}

.section-hero {
  padding: clamp(64px, 10vw, 140px) 0;
}

.section-hero-small {
  padding: clamp(48px, 6vw, 88px) 0;
}

.media {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.hero-media.ph-img {
  aspect-ratio: 1;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(0, 15, 64, 0.06) 14px 28px),
    rgba(255, 255, 255, 0.5);
}

/* Rich text */

.rich > :first-child {
  margin-top: 0;
}

.rich > :last-child {
  margin-bottom: 0;
}

.rich p,
.rich ul,
.rich ol {
  margin: 0 0 16px;
}

.rich h3 {
  margin: 32px 0 12px;
  font-size: 24px;
}

.rich a {
  font-weight: 700;
}

.rich img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.rich h2 {
  margin: 40px 0 12px;
  font-size: clamp(24px, 2.6vw, 30px);
}

/* Pagination */

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.page-num,
.page-step,
.page-gap {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.page-num,
.page-step {
  border: 2px solid var(--grey-50);
}

.page-num:hover,
.page-step:hover {
  border-color: var(--deep-blue-50);
}

.page-num[aria-current='page'] {
  background: var(--deep-blue-50);
  border-color: var(--deep-blue-50);
  color: var(--white);
}

/* Image + text */

.image-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.image-text.media-right > .media {
  order: 2;
}

.image-text-copy .rich {
  margin-top: 24px;
}

/* Grids and cards */

.grid {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

.grid > li {
  display: flex;
}

.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--grey-50);
  border-radius: var(--radius);
  text-decoration: none;
}

.bg-white .card {
  background: var(--grey-20);
  border-color: transparent;
}

.card-link {
  transition: transform 0.15s, box-shadow 0.15s;
}

.card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 15, 64, 0.12);
}

.card-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 28px;
}

.card-meta {
  margin: 0;
  font-size: 14px;
  color: var(--grey-70);
}

.card-title {
  font-size: 22px;
}

.card-text {
  margin: 0;
  color: var(--text-muted);
}

.card-more {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 700;
}

.card-more::after {
  content: ' →';
}

.card-link:hover .card-more {
  text-decoration: underline;
  text-decoration-color: var(--smart-yellow);
  text-decoration-thickness: 3px;
}

.bg-blue .card {
  background: var(--deep-blue-30);
  border-color: transparent;
  color: var(--white);
}

.bg-blue .card-text {
  color: var(--grey-50);
}

/* Features */

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--smart-yellow);
  font-weight: 700;
}

.bg-yellow .feature-icon {
  background: var(--white);
}

.feature-title {
  font-size: 22px;
}

.feature-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.feature-more {
  margin-top: auto;
  font-weight: 700;
}

.image-grid .media {
  aspect-ratio: 16 / 9;
}

.image-grid .media.ph-img {
  aspect-ratio: 16 / 9;
}

.image-grid.cols-1 {
  max-width: 880px;
}

/* Check list */

.check-list {
  display: grid;
  gap: 12px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 36px;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--smart-yellow);
}

.check-list li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--deep-blue-50);
  border-bottom: 2px solid var(--deep-blue-50);
  transform: rotate(-45deg);
}

/* Accordion */

.accordion {
  border-top: 1px solid var(--hairline);
}

.accordion-item {
  border-bottom: 1px solid var(--hairline);
}

.accordion-item summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-size: 19px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::before,
.accordion-item summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s;
}

.accordion-item summary::after {
  transform: rotate(90deg);
}

.accordion-item[open] summary::after {
  transform: rotate(0deg);
}

.accordion-item .rich {
  padding: 0 0 24px;
  color: var(--text-muted);
}

/* Quote and reference */

.quote {
  margin: 0;
}

.quote blockquote {
  margin: 0;
}

.quote p {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
}

.quote p::before {
  content: '„';
}

.quote p::after {
  content: '“';
}

.quote figcaption {
  margin-top: 24px;
  color: var(--text-muted);
}

.reference-quote {
  margin: 24px 0 0;
  padding-left: 20px;
  border-left: 4px solid var(--smart-yellow);
}

.reference-quote p {
  margin: 0;
  font-size: 19px;
}

.reference-quote footer {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-muted);
}

/* Contact */

.contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 48px;
  align-items: center;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.avatar {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar.ph-img {
  aspect-ratio: 1;
  font-size: 0;
}

.contact-name,
.contact-role {
  margin: 0;
}

.contact-name {
  font-weight: 700;
}

.contact-links {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-links li {
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--deep-blue-30);
}

.contact-label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-60);
}

.contact-links a {
  font-size: 22px;
  font-weight: 700;
  color: var(--smart-yellow);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-links a:hover {
  text-decoration: underline;
}

.location-links {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
}

/* Logos */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo-tile {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--grey-50);
  color: var(--grey-70);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.logo-img {
  max-height: 56px;
  width: auto;
}

/* Legal pages (markup reused from site/*.html) */

.legal-content .legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px 48px;
}

.legal-content .legal-grid h2 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-70);
}

.legal-content .legal-grid p {
  margin: 0;
}

.legal-content dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 16px;
  margin: 0;
}

.legal-content dt {
  color: var(--text-muted);
}

.legal-content dd {
  margin: 0;
}

.legal-content .prose {
  max-width: 80ch;
  overflow-wrap: anywhere;
}

.legal-content .prose h2 {
  margin: 48px 0 16px;
  font-size: clamp(22px, 2.6vw, 28px);
}

.legal-content .prose h2:first-child {
  margin-top: 0;
}

.legal-content .prose h3 {
  margin: 36px 0 12px;
  font-size: 20px;
}

.legal-content .prose h4,
.legal-content .prose h5 {
  margin: 28px 0 8px;
  font-size: 17px;
}

.legal-content .prose p,
.legal-content .prose ul,
.legal-content .prose ol {
  margin: 0 0 14px;
}

.legal-content .prose table {
  width: 100%;
  margin: 0 0 20px;
  border-collapse: collapse;
  font-size: 15px;
}

.legal-content .prose th,
.legal-content .prose td {
  padding: 8px 10px;
  border: 1px solid var(--hairline);
  text-align: left;
  vertical-align: top;
}

/* Sitemap */

.sitemap {
  gap: 40px 24px;
}

.sitemap-title {
  margin-bottom: 12px;
  font-size: 22px;
}

.sitemap ul {
  margin: 0;
  padding-left: 1.2em;
}

/* Footer */

.site-footer {
  background: var(--deep-blue-50);
  color: var(--white);
  font-size: 15px;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-decoration-color: var(--smart-yellow);
}

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

.site-footer .btn-primary {
  background: var(--smart-yellow);
  color: var(--deep-blue-50);
}

.site-footer .btn-primary:hover {
  background: var(--white);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr);
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 48px;
}

.footer-logo {
  display: block;
  width: 128px;
  margin-bottom: 24px;
}

.footer-brand p {
  margin: 0 0 16px;
  color: var(--grey-50);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}

.footer-title {
  margin-bottom: 12px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--smart-yellow);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li {
  margin-top: 6px;
}

.footer-col a {
  color: var(--grey-50);
}

.footer-extra {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 32px;
  align-items: start;
  padding-top: 40px;
  padding-bottom: 48px;
  border-top: 1px solid var(--deep-blue-20);
}

.footer-extra p {
  margin: 0 0 16px;
  color: var(--grey-50);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--deep-blue-30);
}

/* The icons are dark SVGs; render them white on the round button. */
.social-link img {
  display: block;
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.social-link:hover {
  background: var(--smart-yellow);
}

.social-link:hover img {
  filter: brightness(0);
}

.iso-badge {
  display: block;
  padding: 12px;
  border-radius: 12px;
  background: var(--white);
}

.iso-badge img {
  display: block;
}

.footer-bottom {
  background: var(--deep-blue-70);
  font-size: 14px;
  color: var(--grey-60);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
}

.footer-bottom p {
  margin: 0;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.b2b-hint {
  padding: 12px 0 24px;
  font-size: 13px;
}

/* Responsive */

@media (max-width: 1199px) {
  .cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 991px) {
  .cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid:has(.hero-media),
  .image-text,
  .contact-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .image-text.media-right > .media {
    order: 0;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .iso-badge {
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .section:has(.hero-banner) {
    padding-bottom: 0;
  }

  .hero-banner {
    min-height: 0;
    gap: 24px;
  }

  .hero-banner .hero-copy {
    max-width: none;
  }

  .hero-banner-img {
    position: static;
    height: 180px;
    margin: 0 calc(-1 * var(--gutter));
    width: calc(100% + 2 * var(--gutter));
    max-width: none;
  }

  body {
    font-size: 16px;
  }

  .cols-2,
  .cols-3,
  .cols-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-body {
    padding: 22px;
  }

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

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