.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.8rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font-family: var(--wbt-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: none;
  box-shadow: var(--wbt-focus);
}

.button--primary {
  background: var(--wbt-gradient);
  box-shadow: 0 10px 22px rgba(50, 55, 230, 0.2);
  color: var(--wbt-white);
}

.button--primary:hover {
  box-shadow: 0 14px 28px rgba(50, 55, 230, 0.28);
}

.button--outline {
  border-color: var(--wbt-blue);
  background: var(--wbt-white);
  color: var(--wbt-blue);
}

.button--outline:hover {
  background: var(--wbt-violet-soft);
}

.button--light {
  min-width: min(100%, 330px);
  justify-content: space-between;
  padding-inline: 2.3rem;
  background: var(--wbt-white);
  color: var(--wbt-ink);
}

.button--text {
  background: transparent;
  color: var(--wbt-blue);
}

.button--wide {
  width: 100%;
}

.button .icon {
  flex: 0 0 24px;
}

.site-header {
  position: relative;
  z-index: 50;
  background: var(--wbt-white);
  border-bottom: 1px solid transparent;
}

.site-header__inner {
  display: grid;
  min-height: 112px;
  grid-template-columns: minmax(230px, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.site-brand {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 258px;
  height: 62px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
}

.brand-mark--packaged img {
  object-fit: cover;
  object-position: center;
}

.brand-mark--custom {
  height: 58px;
}

.brand-mark--custom img {
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 6vw, 8rem);
}

.site-nav__list,
.footer-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.8rem, 4vw, 4.5rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav__list a {
  position: relative;
  display: inline-block;
  padding-block: 0.8rem;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.site-nav__list a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 2px;
  background: var(--wbt-blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav__list a:hover::after,
.site-nav__list .current-menu-item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav__cta {
  min-width: 220px;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--wbt-border);
  border-radius: 9px;
  background: var(--wbt-white);
  cursor: pointer;
}

.section-heading {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-heading h2 {
  max-width: 980px;
  margin-bottom: 1rem;
  font-size: clamp(2.75rem, 4.3vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.section-heading > p:not(.section-label) {
  margin-bottom: 0;
  color: var(--wbt-muted);
  font-size: 22px;
  line-height: 1.55;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center h2 {
  margin-inline: auto;
}

.section-label {
  width: fit-content;
  margin: 0 auto 2rem;
  color: var(--wbt-blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-label::after {
  display: block;
  width: 140px;
  height: 4px;
  margin: 0.9rem auto 0;
  background: linear-gradient(90deg, rgba(101, 87, 242, 0.45), var(--wbt-blue));
  content: "";
}

.site-footer {
  position: relative;
  padding-block: 2rem 1.6rem;
  overflow: hidden;
  background: var(--wbt-navy);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer::after {
  position: absolute;
  z-index: 0;
  right: -15%;
  bottom: -260px;
  width: 760px;
  height: 520px;
  border-radius: 50%;
  background: rgba(50, 55, 230, 0.26);
  filter: blur(90px);
  content: "";
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
}

.site-footer__top,
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer__top {
  padding-bottom: 1.5rem;
}

.site-footer__bottom {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 14px;
}

.site-footer__bottom p {
  margin: 0;
}

.site-brand--footer .brand-mark,
.about-section .brand-mark {
  width: 238px;
  height: 55px;
}

.site-brand--footer .brand-mark--packaged img,
.about-section .brand-mark--packaged img {
  mix-blend-mode: screen;
}

.footer-nav__list a,
.site-footer__legal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-nav__list a:hover,
.site-footer__legal a:hover {
  color: var(--wbt-white);
}

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-footer__admin {
  opacity: 0.64;
  text-decoration: underline !important;
}

.floating-actions {
  position: fixed;
  z-index: 70;
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1rem, 2vw, 2rem);
  display: flex;
  flex-direction: column-reverse;
  gap: 0.75rem;
}

.wbt-floating-actions {
  right: clamp(1rem, 2vw, 2rem) !important;
  bottom: calc(clamp(1rem, 2vw, 2rem) + var(--wbt-cookie-offset, 0px)) !important;
  gap: 0.75rem !important;
}

/* Keep contact shortcuts clear of the hero CTA until cookie consent is chosen. */
body:not(.wbt-cookie-choice-made) .wbt-floating-actions {
  opacity: 0;
  pointer-events: none;
}

.wbt-floating-actions--left {
  right: auto !important;
  left: clamp(1rem, 2vw, 2rem) !important;
}

.wbt-floating-action {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: var(--wbt-floating-color, var(--wbt-blue));
  box-shadow: 0 12px 25px rgba(8, 9, 31, 0.22) !important;
}

.wbt-floating-action svg {
  width: 25px;
  height: 25px;
}

body:not(.wbt-cookie-choice-made) .floating-actions {
  bottom: clamp(8rem, 16vw, 10rem);
}

.floating-action {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: var(--floating-color, var(--wbt-gradient));
  box-shadow: 0 12px 25px rgba(8, 9, 31, 0.22);
  color: var(--wbt-white);
  text-decoration: none;
  transition: transform 180ms ease;
}

.floating-action:hover {
  transform: translateY(-3px) scale(1.02);
}

.floating-action__label {
  position: absolute;
  top: 50%;
  right: calc(100% + 0.75rem);
  width: max-content;
  max-width: 220px;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  opacity: 0;
  background: var(--wbt-ink);
  color: var(--wbt-white);
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
}

.floating-action:hover .floating-action__label,
.floating-action:focus-visible .floating-action__label {
  opacity: 1;
  transform: translate(0, -50%);
}

.wbt-cookie-banner {
  position: fixed;
  z-index: 10000;
  right: 14px;
  bottom: 10px;
  left: 14px;
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.6rem 2.4rem;
  border: 1px solid var(--wbt-border);
  border-radius: 18px;
  background: var(--wbt-white);
  box-shadow: 0 18px 55px rgba(8, 9, 31, 0.2);
}

.wbt-cookie-banner[hidden],
.wbt-cookie-modal[hidden] {
  display: none !important;
}

.wbt-cookie-banner__message {
  max-width: 720px;
  margin: 0;
  color: var(--wbt-muted);
  font-size: 16px;
}

.wbt-cookie-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.75rem;
}

.wbt-cookie-banner__actions .button {
  min-height: 50px;
  padding-inline: 1.5rem;
}

.wbt-cookie-button {
  min-height: 50px;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--wbt-blue);
  border-radius: 9px;
  background: var(--wbt-white);
  color: var(--wbt-blue);
  cursor: pointer;
  font-family: var(--wbt-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.wbt-cookie-button--primary {
  background: var(--wbt-gradient);
  color: var(--wbt-white);
}

.wbt-cookie-modal {
  position: fixed;
  z-index: 10010;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.wbt-cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 8, 29, 0.72);
  cursor: default;
}

.wbt-cookie-modal .wbt-cookie-modal__dialog {
  position: relative;
  top: auto;
  left: auto;
  width: min(620px, 100%);
  max-height: calc(100vh - 48px);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  overflow-y: auto;
  border-radius: 16px;
  background: var(--wbt-white);
  box-shadow: var(--wbt-shadow);
  transform: none;
}

.wbt-cookie-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.wbt-cookie-modal__header h2 {
  margin-bottom: 0;
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--wbt-border);
  border-radius: 8px;
  background: var(--wbt-white);
  cursor: pointer;
}

.wbt-cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--wbt-border);
}

.wbt-cookie-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--wbt-border);
}

.wbt-cookie-category p,
.wbt-cookie-modal__dialog > p {
  color: var(--wbt-muted);
  font-size: 14px;
  line-height: 1.5;
}

.wbt-cookie-switch {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  font-weight: 700;
}

.wbt-cookie-switch input {
  width: 22px;
  height: 22px;
  accent-color: var(--wbt-blue);
}

.wbt-cookie-option p {
  margin: 0.3rem 0 0;
  color: var(--wbt-muted);
  font-size: 14px;
  line-height: 1.5;
}

.wbt-cookie-option input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  accent-color: var(--wbt-blue);
}

.wbt-cookie-option__status {
  flex: 0 0 auto;
  color: var(--wbt-success);
  font-size: 13px;
  font-weight: 700;
}

.wbt-cookie-modal__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

html.wbt-cookie-modal-open {
  overflow: hidden;
}

.wbt-cookie-preferences-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 1100px) {
  .site-header__inner {
    min-height: 96px;
  }

  .site-nav {
    gap: 2rem;
  }

  .site-nav__list {
    gap: 1.8rem;
  }

  .site-nav__cta {
    min-width: 180px;
  }

  .wbt-cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 820px) {
  .site-header {
    border-bottom-color: var(--wbt-border);
  }

  .site-header__inner {
    min-height: 88px;
  }

  .brand-mark {
    width: 238px;
    height: 56px;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 88px);
    align-items: stretch;
    padding: 1.5rem 24px 2rem;
    overflow-y: auto;
    background: var(--wbt-white);
    border-bottom: 1px solid var(--wbt-border);
    box-shadow: 0 16px 34px rgba(8, 9, 31, 0.09);
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .site-nav__list {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav__list a {
    display: block;
    padding-block: 0.9rem;
    font-size: 18px;
  }

  .site-nav__list a::after {
    display: none;
  }

  .site-nav__cta {
    width: 100%;
  }

  .site-footer__top,
  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav__list {
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
  }

  .site-footer__legal {
    flex-wrap: wrap;
  }

  .wbt-cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .wbt-cookie-banner__actions .button:first-child {
    grid-column: 1 / -1;
  }

  .wbt-cookie-banner__actions .wbt-cookie-button:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .brand-mark {
    width: 226px;
    height: 54px;
  }

  .section-heading h2 {
    font-size: clamp(2.125rem, 10vw, 2.625rem);
  }

  .section-heading > p:not(.section-label) {
    font-size: 18px;
  }

  .site-footer {
    padding-block: 2.5rem 2rem;
  }

  .site-brand--footer .brand-mark {
    width: 215px;
    height: 52px;
  }

  .site-footer__bottom {
    font-size: 13px;
  }

  .floating-actions {
    right: 16px;
  }

  .wbt-cookie-banner {
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.25rem 24px;
    border-radius: 16px 16px 0 0;
  }

  .wbt-cookie-banner__actions {
    grid-template-columns: 1fr;
  }

  .wbt-cookie-banner__actions .button:first-child {
    grid-column: auto;
  }

  .wbt-cookie-banner__actions .wbt-cookie-button:first-child {
    grid-column: auto;
  }

  .wbt-cookie-modal {
    align-items: end;
    padding: 0;
  }

  .wbt-cookie-modal .wbt-cookie-modal__dialog {
    max-height: 90vh;
    border-radius: 18px 18px 0 0;
  }

  .wbt-cookie-modal__actions {
    align-items: stretch;
    flex-direction: column;
  }
}
