/* WebVue Cloud — global styles.
   The page markup carries its own inline styles; this file holds only what an
   inline style cannot express: resets, fonts, breakpoints, states and motion. */

:root {
  --wvc-ink: #EDF2EF;
  --wvc-bg: #050A0C;
  --wvc-green: #40AA6D;
  --wvc-green-light: #5FC98C;
  --wvc-muted: #8FA39D;
  --wvc-ease: cubic-bezier(.22, .61, .36, 1);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--wvc-bg);
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--wvc-ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--wvc-green-light); text-decoration: none; }
a:hover { color: #8FE5B3; }

img, svg, video, canvas { max-width: 100%; }

button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--wvc-green-light);
  outline-offset: 3px;
}

.wvc-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: #40AA6D;
  color: #04100A;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  font-size: 15px;
}
.wvc-skip:focus { left: 0; color: #04100A; }

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

.wv-anim [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--wvc-ease), transform .7s var(--wvc-ease);
}
.wv-anim [data-reveal].wv-in { opacity: 1; transform: none; }

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

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

.wvc-nav-spacer { height: 118px; flex: none; }

.wvc-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
}

.wvc-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px 9px 22px;
  border-radius: 999px;
  background: rgba(9, 17, 20, .85);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}

.wvc-nav-links {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-left: 14px;
  min-width: 0;
}

.wvc-nav-links a:hover { background: rgba(255, 255, 255, .06); color: #F2F7F5; }

.wvc-caret { transition: transform .2s var(--wvc-ease); }
.wvc-group[data-open="true"] .wvc-caret { transform: rotate(180deg); }
.wvc-group[data-open="true"] > a { background: rgba(255, 255, 255, .07); color: #F2F7F5; }

.wvc-signin {
  display: inline-flex;
  align-items: center;
  color: #C0D0CB;
  font-size: 14px;
  padding: 11px 16px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .14);
  transition: border-color .2s, color .2s;
}
.wvc-signin:hover { border-color: rgba(255, 255, 255, .3); color: #F2F7F5; }

.wvc-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--wvc-green);
  color: #04100A;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  flex: none;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(64, 170, 109, .28);
  transition: background .2s;
}
.wvc-cta:hover { background: var(--wvc-green-light); color: #04100A; }

.wvc-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.wvc-burger span {
  display: block;
  width: 18px;
  height: 1.6px;
  border-radius: 2px;
  background: #DCE7E1;
  transition: transform .25s var(--wvc-ease), opacity .2s;
}
.wvc-burger[aria-expanded="true"] { background: rgba(255, 255, 255, .08); }
.wvc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.wvc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.wvc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

.wvc-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-top: 12px;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transform-origin: top center;
  transition: opacity .2s, transform .2s var(--wvc-ease);
}
.wvc-panel[data-open="true"] { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

.wvc-panel-inner {
  background: #080F11;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .66);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
}

.wvc-panel-items {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

.wvc-panel-link { display: block; padding: 14px 16px; border-radius: 14px; transition: background .2s; }
.wvc-panel-link:hover { background: rgba(255, 255, 255, .05); }

.wvc-panel-aside {
  background: linear-gradient(165deg, rgba(64, 170, 109, .12), rgba(8, 15, 17, .4));
  border-left: 1px solid rgba(255, 255, 255, .07);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.wvc-drawer {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 80;
  background: #080F11;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, .6);
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  pointer-events: none;
  transform-origin: top center;
  transition: opacity .22s, transform .22s var(--wvc-ease);
}
.wvc-drawer[data-open="true"] { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.wvc-drawer a { transition: background .2s; }
.wvc-drawer a:hover { background: rgba(255, 255, 255, .05); color: #F2F7F5; }

@media (max-width: 1119px) {
  .wvc-nav-links, .wvc-signin, .wvc-panel { display: none; }
  .wvc-burger { display: flex; }
  .wvc-pill { padding: 8px 8px 8px 16px; }
  .wvc-cta { font-size: 13.5px; padding: 11px 16px; }
}

@media (min-width: 1120px) {
  .wvc-drawer { display: none; }
}

@media (max-width: 420px) {
  .wvc-cta span { display: none; }
  .wvc-nav-spacer { height: 132px; }
}

/* --- Accordion ---------------------------------------------------------- */

.wvc-acc-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .3s var(--wvc-ease), opacity .25s;
}
.wvc-acc[data-open="true"] .wvc-acc-body { max-height: 640px; opacity: 1; }

.wvc-acc-icon {
  flex: none;
  font-size: 20px;
  line-height: 1;
  color: var(--wvc-green-light);
  transition: transform .25s var(--wvc-ease);
}
.wvc-acc[data-open="true"] .wvc-acc-icon { transform: rotate(45deg); }

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

input::placeholder, textarea::placeholder { color: #55665F; }
input:focus, textarea:focus, select:focus { outline: none; border-color: rgba(95, 201, 140, .6) !important; }

.wvc-field[aria-invalid="true"] { border-color: #E5484D !important; }

.wvc-error {
  display: none;
  margin-top: 7px;
  font-size: 12.5px;
  color: #FF8A8F;
  letter-spacing: 0;
  text-transform: none;
  font-family: "Inter", system-ui, sans-serif;
}
.wvc-error[data-show="true"] { display: block; }

.wvc-feedback { font-size: 14px; line-height: 1.5; }
.wvc-feedback[data-state="error"] { color: #FF8A8F; }
.wvc-feedback[data-state="success"] { color: var(--wvc-green-light); }

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

/* --- Prose (editor content, legal pages) -------------------------------- */

.wvc-prose { font-size: 16.5px; line-height: 1.75; color: #A3B4AF; }
.wvc-prose > *:first-child { margin-top: 0; }
.wvc-prose h2 {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: #F4F8F6;
  margin: 46px 0 16px;
}
.wvc-prose h3 {
  font-family: "Rethink Sans", sans-serif;
  font-weight: 400;
  font-size: 21px;
  letter-spacing: -.5px;
  color: #F2F7F5;
  margin: 32px 0 12px;
}
.wvc-prose p, .wvc-prose ul, .wvc-prose ol { margin: 0 0 18px; }
.wvc-prose li { margin-bottom: 8px; }
.wvc-prose strong { color: #E4EDEA; font-weight: 600; }
.wvc-prose hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .08); margin: 40px 0; }
.wvc-prose blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  background: rgba(255, 255, 255, .025);
}
.wvc-prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.wvc-prose th, .wvc-prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.wvc-prose img { border-radius: 16px; height: auto; }

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

.wvc-cookie {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 90;
  width: min(760px, calc(100vw - 32px));
  transform: translate(-50%, 140%);
  transition: transform .42s var(--wvc-ease);
  background: #080F11;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: space-between;
}
.wvc-cookie[data-show="true"] { transform: translate(-50%, 0); }
.wvc-cookie p { margin: 0; font-size: 14px; line-height: 1.6; color: #A3B4AF; max-width: 440px; }
.wvc-cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* --- Responsive safety net --------------------------------------------- */

@media (max-width: 860px) {
  [style*="grid-template-columns:minmax(0,210px)"] { grid-template-columns: minmax(0, 1fr) !important; }
}

@media (max-width: 760px) {
  [style*="grid-template-columns:repeat(2,"],
  [style*="grid-template-columns:repeat(3,"],
  [style*="grid-template-columns:repeat(4,"],
  [style*="grid-template-columns:repeat(5,"],
  [style*="grid-template-columns:repeat(6,"] { grid-template-columns: minmax(0, 1fr) !important; }

  [style*="position:sticky"] { position: static !important; }
}

@media (max-width: 520px) {
  [style*="font-size:38px"] { font-size: 32px !important; }
}

/* --- Hover states for inline-styled links ------------------------------- */
/* Matches the treatments in the generated hover.css so the hand-written
   components and the converted templates behave identically. */

.wvh-cta:hover { background: var(--wvc-green-light) !important; color: #04100A !important; }
.wvh-ghost:hover { border-color: rgba(95, 201, 140, .5) !important; color: #9FEFC2 !important; }
.wvh-mail:hover, .wvh-foot:hover { color: #9FEFC2 !important; }

/* --- Consent switches --------------------------------------------------- */

.wvc-switch-track {
  display: block;
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: background .2s, border-color .2s;
}
.wvc-switch[aria-checked="true"] .wvc-switch-track {
  background: rgba(64, 170, 109, .9);
  border-color: rgba(95, 201, 140, .9);
}
.wvc-switch-dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #DCE7E1;
  transition: transform .2s cubic-bezier(.22, .61, .36, 1);
}
.wvc-switch[aria-checked="true"] .wvc-switch-dot { transform: translateX(22px); background: #04100A; }
.wvc-switch[disabled] { opacity: .6; }
