/* Local brand fonts: the theme remains typographically stable without a third-party request. */
@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/comfortaa/comfortaa-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/comfortaa/comfortaa-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/comfortaa/comfortaa-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Comfortaa";
  src: url("../fonts/comfortaa/comfortaa-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist/geist-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist/geist-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist/geist-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist/geist-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --wz-red: #dd5234;
  --wz-red-deep: #b24130;
  --wz-yellow: #f5c54f;
  --wz-yellow-deep: #f0b34c;
  --wz-blue: #37509d;
  --wz-blue-deep: #2a3876;
  --wz-gray-light: #edeeee;
  --wz-gray: #676767;
  --wz-white: #ffffff;
  --wz-black: #010101;

  --wz-bg: #ffffff;
  --wz-bg-soft: #edeeee;
  --wz-bg-elevated: #ffffff;
  --wz-text: #010101;
  --wz-text-muted: #525252;
  --wz-border: #c9cbcb;
  --wz-action: #b24130;
  --wz-action-text: #ffffff;
  --wz-link: #2a3876;
  --wz-focus: #37509d;
  --wz-nav-bg: rgba(255, 255, 255, 0.94);
  --wz-nav-border: rgba(1, 1, 1, 0.18);
  --wz-shadow-color: rgba(1, 1, 1, 0.12);

  --wz-font-display: "Comfortaa", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  --wz-font-body: "Geist", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --wz-step--2: clamp(0.78rem, 0.74rem + 0.17vw, 0.88rem);
  --wz-step--1: clamp(0.9rem, 0.86rem + 0.2vw, 1rem);
  --wz-step-0: clamp(1rem, 0.95rem + 0.24vw, 1.125rem);
  --wz-step-1: clamp(1.25rem, 1.12rem + 0.62vw, 1.62rem);
  --wz-step-2: clamp(1.56rem, 1.29rem + 1.3vw, 2.35rem);
  --wz-step-3: clamp(2rem, 1.52rem + 2.3vw, 3.4rem);
  --wz-step-4: clamp(2.75rem, 1.75rem + 4.8vw, 6.8rem);

  --wz-space-1: 0.375rem;
  --wz-space-2: 0.625rem;
  --wz-space-3: 1rem;
  --wz-space-4: 1.5rem;
  --wz-space-5: 2.5rem;
  --wz-space-6: 4rem;
  --wz-space-7: 6rem;
  --wz-space-section: clamp(4.5rem, 9vw, 9rem);
  --wz-shell: 1240px;

  --wz-radius-s: 0.75rem;
  --wz-radius-m: 1.25rem;
  --wz-radius-l: 2rem;
  --wz-radius-pill: 999px;
  --wz-border-thin: 1px solid var(--wz-border);
  --wz-shadow-s: 0 0.5rem 1.5rem var(--wz-shadow-color);
  --wz-shadow-l: 0 1.5rem 4rem var(--wz-shadow-color);
  --wz-duration-fast: 160ms;
  --wz-duration-normal: 320ms;
  --wz-duration-slow: 620ms;
  --wz-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --wz-nav-clearance: 7.5rem;
}

:root[data-theme="dark"] {
  --wz-bg: #010101;
  --wz-bg-soft: #151515;
  --wz-bg-elevated: #1d1d1d;
  --wz-text: #ffffff;
  --wz-text-muted: #c5c5c5;
  --wz-border: #444444;
  --wz-action: #f5c54f;
  --wz-action-text: #010101;
  --wz-link: #f5c54f;
  --wz-focus: #f5c54f;
  --wz-nav-bg: rgba(20, 20, 20, 0.94);
  --wz-nav-border: rgba(255, 255, 255, 0.22);
  --wz-shadow-color: rgba(0, 0, 0, 0.45);
}

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

.wz-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--wz-bg);
  color: var(--wz-text);
  font-family: var(--wz-font-body);
  font-size: var(--wz-step-0);
  line-height: 1.62;
  padding-bottom: calc(var(--wz-nav-clearance) + env(safe-area-inset-bottom));
  text-rendering: optimizeLegibility;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

a { color: var(--wz-link); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 0.12em; }

:focus-visible {
  outline: 3px solid var(--wz-focus);
  outline-offset: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--wz-font-display);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--wz-step-4); }
h2 { font-size: var(--wz-step-3); }
h3 { font-size: var(--wz-step-2); }
p { margin-block: 0 1em; }

.wz-shell {
  width: min(calc(100% - clamp(2rem, 6vw, 6rem)), var(--wz-shell));
  margin-inline: auto;
}

.wz-section { position: relative; padding-block: var(--wz-space-section); }
.wz-section--soft,
.wz-section--contrast { background: var(--wz-bg-soft); color: var(--wz-text); }
.wz-section--ink { background: var(--wz-bg); color: var(--wz-text); }

.wz-kicker {
  display: flex;
  align-items: center;
  gap: var(--wz-space-2);
  color: inherit;
  font-family: var(--wz-font-display);
  font-size: var(--wz-step--1);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.wz-brand-symbol {
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  object-fit: contain;
}
.wz-brand-symbol--slash { width: 1.05rem; height: 1.7rem; }
.wz-brand-symbol--point { width: 0.8rem; height: 0.8rem; }

.wz-section-heading { max-width: 850px; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.wz-section-heading > * + * { margin-top: var(--wz-space-3); }
.wz-section-heading p:last-child { color: var(--wz-text-muted); max-width: 66ch; }
.wz-section--contrast .wz-section-heading p:last-child,
.wz-section--ink .wz-section-heading p:last-child { color: var(--wz-text-muted); }

.wz-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--wz-radius-pill);
  font-family: var(--wz-font-display);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--wz-duration-fast) var(--wz-ease), background-color var(--wz-duration-fast), border-color var(--wz-duration-fast);
}
.wz-button:hover { transform: translateY(-2px); }
.wz-button--primary { background: var(--wz-action); color: var(--wz-action-text); }
.wz-button--secondary { border-color: var(--wz-text); color: var(--wz-text); }
.wz-section--contrast .wz-button--secondary,
.wz-section--ink .wz-button--secondary { border-color: currentColor; color: inherit; }

.wz-text-link { font-family: var(--wz-font-display); font-weight: 700; }

.wz-reveal-pending {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity var(--wz-duration-slow) var(--wz-ease), transform var(--wz-duration-slow) var(--wz-ease);
}
.wz-reveal-pending.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .wz-reveal-pending { opacity: 1; transform: none; }
}

@media (max-width: 47.99rem) {
  :root { --wz-nav-clearance: 6.75rem; }
  .wz-shell { width: min(calc(100% - 2rem), var(--wz-shell)); }
}

@media (forced-colors: active) {
  .wz-brand-symbol { forced-color-adjust: none; }
  .wz-button { border-color: currentColor; }
}
