/* WebVue — base layer. All component styling lives inline in the templates,
   exactly as designed; this file carries only what inline styles cannot express. */

html,
body {
  margin: 0;
  padding: 0;
  background: #050907;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #edf2ef;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

a {
  color: #5fc98c;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #8fe5b3;
}

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

:focus-visible {
  outline: 2px solid #5fc98c;
  outline-offset: 3px;
}

.wv-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: #40aa6d;
  color: #04100a;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 0 0 14px 0;
}

.wv-skip-link:focus {
  left: 0;
  color: #04100a;
}

/* Scroll reveal ------------------------------------------------------------ */

.wv-anim [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.wv-anim [data-reveal].wv-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .wv-anim [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

@keyframes wv-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(95, 201, 140, 0.32);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(95, 201, 140, 0);
  }
}

@keyframes wv-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes wv-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Header ------------------------------------------------------------------- */

.wv-nav-spacer {
  height: 82px;
  flex: none;
  pointer-events: none;
}

.wv-burger {
  display: none;
}

@media (max-width: 999px) {
  .wv-nav-spacer {
    height: 76px;
  }

  .wv-nav-links {
    display: none !important;
  }

  .wv-burger {
    display: flex !important;
  }

  .wv-nav-pill {
    padding: 8px 8px 8px 16px !important;
  }

  .wv-nav-cta {
    font-size: 13.5px !important;
    padding: 11px 16px !important;
  }
}

@media (min-width: 1000px) {
  .wv-drawer {
    display: none !important;
  }
}

/* Dropdown + drawer open states are driven by [data-open] from theme.js. */

.wv-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.wv-has-dropdown[data-open="true"] .wv-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.wv-caret {
  display: inline-block;
  transition: transform 0.2s, color 0.2s;
}

.wv-has-dropdown[data-open="true"] .wv-caret {
  transform: rotate(180deg);
  color: #9fefc2;
}

.wv-drawer {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.wv-drawer[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.wv-drawer-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.18s;
}

.wv-drawer-group[data-open="true"] .wv-drawer-panel {
  max-height: 720px;
  opacity: 1;
}

.wv-drawer-group[data-open="true"] .wv-drawer-caret {
  transform: rotate(180deg);
}

.wv-drawer-caret {
  display: inline-block;
  transition: transform 0.22s;
}

.wv-burger span {
  display: block;
  width: 18px;
  height: 1.6px;
  border-radius: 2px;
  background: #dce7e1;
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.2s;
}

.wv-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.6px) rotate(45deg);
}

.wv-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.wv-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.6px) rotate(-45deg);
}

/* Accordions --------------------------------------------------------------- */

.wv-acc-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.34s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.2s;
}

.wv-acc[data-open="true"] .wv-acc-panel {
  max-height: 520px;
  opacity: 1;
}

.wv-acc[data-open="true"] .wv-acc-sign {
  transform: rotate(45deg);
}

.wv-acc-sign {
  display: inline-block;
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Forms -------------------------------------------------------------------- */

.wv-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 15px 17px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15.5px;
  color: #f4f8f6;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.wv-field::placeholder {
  color: #6f7f77;
}

.wv-field:focus {
  outline: none;
  border-color: rgba(95, 201, 140, 0.55);
  background: rgba(64, 170, 109, 0.06);
  box-shadow: 0 0 0 3px rgba(95, 201, 140, 0.16);
}

.wv-field[aria-invalid="true"] {
  border-color: rgba(229, 72, 77, 0.65);
}

.wv-field-error {
  display: none;
  font-size: 13px;
  color: #ff8a8d;
  margin-top: 8px;
}

.wv-field-error[data-show="true"] {
  display: block;
}

.wv-chip-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.wv-chip-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: #c3d2ca;
  font-size: 14.5px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.wv-chip-toggle:hover {
  border-color: rgba(95, 201, 140, 0.4);
  color: #dce7e1;
}

.wv-chip-toggle:has(input:checked) {
  border-color: rgba(95, 201, 140, 0.6);
  background: rgba(64, 170, 109, 0.14);
  color: #9fefc2;
}

.wv-chip-toggle:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(95, 201, 140, 0.25);
}

.wv-submit[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.wv-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Toggles (cookie settings) ------------------------------------------------ */

.wv-switch {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}

.wv-switch:hover {
  opacity: 0.92;
}

.wv-switch-state {
  font-size: 13.5px;
  color: #93a39b;
  min-width: 26px;
  text-align: right;
}

.wv-switch-track {
  display: block;
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s, border-color 0.2s;
}

.wv-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #7e8f86;
  transition: transform 0.2s cubic-bezier(0.22, 0.61, 0.36, 1), background 0.2s;
}

.wv-switch[aria-checked="true"] .wv-switch-track {
  background: #40aa6d;
  border-color: rgba(95, 201, 140, 0.5);
}

.wv-switch[aria-checked="true"] .wv-switch-track::after {
  transform: translateX(22px);
  background: #04100a;
}

.wv-switch[disabled] {
  cursor: default;
}

.wv-switch[disabled][aria-checked="true"] .wv-switch-track {
  background: rgba(64, 170, 109, 0.35);
}

.wv-switch[disabled][aria-checked="true"] .wv-switch-track::after {
  background: #9fefc2;
}

.wv-switch[aria-checked="true"] .wv-switch-state::after {
  content: "On";
}

.wv-switch[aria-checked="false"] .wv-switch-state::after {
  content: "Off";
}

[data-wv-consent-status] {
  font-size: 13.5px;
  color: #5fc98c;
  min-height: 20px;
  opacity: 0;
  transition: opacity 0.2s;
}

[data-wv-consent-status][data-show="true"] {
  opacity: 1;
}

/* Cookie banner ------------------------------------------------------------ */

.wv-cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 120;
  width: min(940px, calc(100vw - 32px));
  transform: translateX(-50%) translateY(140%);
  transition: transform 0.36s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s;
  opacity: 0;
}

.wv-cookie-bar[data-show="true"] {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Editor / fallback content ------------------------------------------------ */

.wv-prose h2,
.wv-prose h3 {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 400;
  letter-spacing: -1px;
  color: #f4f8f6;
}

.wv-prose p,
.wv-prose li {
  font-size: 16.5px;
  line-height: 1.7;
  color: #a9bcb2;
}

.wv-prose a {
  text-decoration: underline;
}

@media print {
  .wv-nav-wrap,
  .wv-cookie-bar,
  .wv-drawer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }
}
