@import "/_shared/vilkax-a11y.css"; /* a11y system: reduced-motion + focus-ring (must be first) */
/* ============================================================
 * Vilkax - brand stylesheet
 * ============================================================
 *
 * Single source of truth for brand tokens (modern-blue
 * atmosphere, Manrope typography, frosted-glass cards,
 * kinetic display typography). All public-facing pages
 * (landing, support, 404) inherit from this file so the brand
 * stays locked across surfaces.
 */

:root {
  /* Pass-180 - Nexus alignment (from /assets/tokens/nexus.css).
   * The Arctic Steel system is retuned so the marketing surface
   * shares the canonical Vilkax signature violet (#B14CFF) and the
   * dark-ink ladder used across the APEX suite dossiers. The token
   * names are unchanged so every inheriting surface (subscription
   * stack, /features/ pillars, KIN, support widget, etc.) shifts
   * in lockstep with no markup edits. We keep the calm, premium
   * marketing posture - more whitespace, hero imagery - rather than
   * the dense app-dashboard density. */
  --bg-ink:        #0A0D13;   /* nexus --bg-0 (page) */
  --bg-ink-deep:   #06080C;   /* nexus --bg-void */
  --bg-card:       rgba(14, 18, 26, 0.62);   /* nexus --bg-1 tinted */
  --bg-surface:    #141923;   /* nexus --bg-2 (elevated) */

  /* Dark-Wolf alignment: the marketing surface now shares the signature
   * VIOLET accent (#B14CFF) used across home / trust-layer / investors,
   * instead of the old ice-blue, so the whole site reads as one world. */
  --brand-primary:        #B14CFF;   /* Vilkax signature violet */
  --brand-primary-hover:  #8B2FD6;   /* deep violet */
  --brand-primary-bright: #C88CFF;   /* bright violet */
  --brand-accent-soft:    rgba(177, 76, 255, 0.18);   /* violet glow */
  --brand-accent-glow:    rgba(177, 76, 255, 0.45);   /* violet glow */

  --brand-deep:    #8B2FD6;   /* deep violet */
  --brand-ice:     #C88CFF;   /* bright violet (name kept for inheritance) */
  --brand-silver:  #C3CAD6;   /* Silver → nexus --ink-1 */
  --brand-bone:    #F2F5FA;   /* Bone → nexus --ink-0 */

  --text-strong:   #F2F5FA;   /* nexus --ink-0 */
  --text-default:  #C3CAD6;   /* nexus --ink-1 */
  --text-muted:    #818996;   /* nexus --ink-2 */
  --text-dim:      #7A8393;   /* AA-safe on the dark canvas (>=4.5:1); was #535C6A (2.72:1, failed WCAG 1.4.3 on small text) */

  --border-subtle: rgba(177, 76, 255, 0.10);
  --border-strong: rgba(177, 76, 255, 0.24);
  --border-line:   #1B212D;   /* nexus --bg-3 */

  /* Nexus glow primitives - premium halo + ring for CTAs / cards. */
  --vlx-sh-glow:   0 0 0 1px rgba(177,76,255,0.35), 0 0 24px -4px rgba(177,76,255,0.18);
  --vlx-ease-out:  cubic-bezier(.2,.7,.2,1);

  /* Inter for body, Instrument Serif italic for accent words.
   * Manrope kept as fallback so any historical surface that still
   * references it doesn't lose its weight stack. */
  --font-brand:  "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif:  "Instrument Serif", Georgia, serif;

  /* Chrome-text gradient - used on accent words throughout the site
   * for the "wolf-glint" feel without painting an actual image. */
  --chrome-grad: linear-gradient(95deg, #C88CFF 0%, #B14CFF 35%, #9B6BFF 65%, #C77DFF 100%);

  /* /scan page color tokens — indigo/violet palette, dark surface */
  --scan-bg:           #0B1426;
  --scan-accent:       #5B6BFF;
  --scan-accent-end:   #7B5EA7;
  --scan-accent-text:  #a5b4fc;
  --scan-accent-link:  #818cf8;
  --scan-ink-0:        #f8fafc;
  --scan-ink-1:        #e2e8f0;
  --scan-ink-2:        #94a3b8;
  --scan-ink-3:        #64748b;
  --scan-ink-4:        #475569;
  --scan-ink-5:        #334155;
  /* /scan verdict foreground colors */
  --scan-ok-fg:        #86efac;
  --scan-watch-fg:     #bfdbfe;
  --scan-warn-fg:      #fcd34d;
  --scan-block-fg:     #fca5a5;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* ── Pass-145 viewport-overflow guards ──────────────────────────
 * Catch every element that would extend past the viewport edge
 * (a stray fixed-width container, a long word, a misbehaving
 * iframe) before it becomes a horizontal scrollbar.  Two
 * complementary layers:
 *
 *   1. `overflow-x: clip` on <html> + <body>      - hard stop.
 *      `clip` (not `hidden`) preserves position:sticky behaviour.
 *   2. `max-width: 100%` + `min-width: 0` on <img>, <svg>,
 *      <video>, <iframe>, <table>, <pre>           - catches the
 *      common culprits (responsive images, code blocks, embeds).
 *   3. `word-wrap: break-word` + `overflow-wrap: anywhere` on
 *      <p>, <li>, <h1-h6>                          - long URLs in
 *      copy break instead of pushing the page wider.
 *   4. iOS safe-area padding via `env(safe-area-inset-*)` so
 *      content stays clear of the notch / home indicator.
 * --------------------------------------------------------------- */
html, body {
  overflow-x: clip;
  /* Fallback for engines that don't support `clip` yet. */
  overflow-x: hidden;
  max-width: 100vw;
}
img, svg, video, iframe, table, pre {
  max-width: 100%;
  min-width: 0;
  height: auto;
}
img, svg, video {
  /* Keep aspect ratio when widthless. */
  display: inline-block;
}
p, li, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
body {
  /* iOS / Android notch + home-indicator safety.  Pages can
     override per-section if they need flush-edge content. */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

html { background: var(--bg-ink); }

body {
  min-height: 100vh;
  /*
   * Modern-blue atmosphere - four layered radial washes over a
   * vertical ink gradient. Stays under ~18% intensity so the
   * surface reads as "calm security product", never "casino".
   */
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%,  rgba(177, 76, 255, 0.13), transparent 60%),
    radial-gradient(ellipse 60% 45% at 15% 30%, rgba(177, 76, 255, 0.06), transparent 65%),
    radial-gradient(ellipse 70% 50% at 85% 90%, rgba(177, 76, 255, 0.07), transparent 60%),
    linear-gradient(180deg, var(--bg-ink) 0%, var(--bg-ink-deep) 100%);
  background-attachment: fixed;
  color: var(--text-default);
  font-family: var(--font-brand);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Atmosphere - two soft brand-blue radial glows ────────────── */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.atmosphere-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.atmosphere-glow-top {
  top: -30vh;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 1100px;
  height: 70vh;
  /* Vilkax-ice presence - restrained, never garish. */
  background: radial-gradient(circle, rgba(177, 76, 255, 0.34), transparent 70%);
}
.atmosphere-glow-bottom {
  bottom: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  max-width: 800px;
  height: 40vh;
  background: radial-gradient(circle, rgba(177, 76, 255, 0.18), transparent 70%);
}

/* ── Skip-link (WCAG 2.4.1) ────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--brand-primary);
  color: var(--text-strong);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 6px;
  transition: top 120ms ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--text-strong);
  outline-offset: 2px;
}

/* ── Hero / stage ─────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  /* Pass 116 - bumped horizontal padding from 24 → 32 so the hero
   * never feels jammed against the edges on big phones / small
   * laptops. Bottom padding eases too (100 → 88) so the bento
   * doesn't crowd the fold. */
  padding: clamp(32px, 6vh, 80px) 32px 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage {
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 6vh, 56px);
}

.composition {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(12px, 2.4vh, 20px);
  opacity: 0;
  transform: translateY(12px);
  animation: heroEntranceFade 1000ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms forwards;
}

@keyframes heroEntranceFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Brand mark - the canonical ecosystem PNG, prominent ──────── */

.brand-mark {
  display: block;
  /* Pass-146 - wolf is the hero anchor; bumped one notch more.
   *   mobile floor : 280 → 320 px
   *   desktop ceil : 500 → 560 px
   *   vmin sweet   :  44 →  48
   * Drop-shadow + breathing stay; the eye reads the wolf first. */
  width: clamp(320px, 48vmin, 560px);
  aspect-ratio: 1 / 1;   /* never squeezes */
  filter:
    drop-shadow(0 10px 36px rgba(177, 76, 255, 0.32))
    drop-shadow(0 0 48px rgba(177, 76, 255, 0.18));
  /* Subtle 4.5s breathing - disabled in reduced-motion. */
  animation: brandBreathe 4.5s ease-in-out infinite;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
@keyframes brandBreathe {
  0%, 100% { transform: scale(1.000); }
  50%      { transform: scale(1.018); }
}

/* ── Wordmark - kinetic per-letter reveal, accent X ───────────── */

.logo-text {
  margin: 0;
  font-weight: 800;
  /* Logo grew bigger again → wordmark shrinks once more to keep
   * the visual hierarchy right.  Mobile floor 28px (was 32);
   * desktop ceiling 56px (was 64).  Wolf-mark is the hero;
   * wordmark + tagline are supporting type. */
  font-size: clamp(28px, 4.4vw, 56px);
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  color: var(--text-strong);
  text-shadow:
    0 0 20px rgba(177, 76, 255, 0.18),
    0 0 52px rgba(177, 76, 255, 0.07);
  line-height: 1;
}
.kt-line { display: inline-block; }
.kt-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: ktReveal 700ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--kt-i, 0) * 90ms + 350ms);
}
.kt-char.accent {
  color: var(--brand-primary-bright);
  text-shadow:
    0 0 28px rgba(177, 76, 255, 0.55),
    0 0 56px rgba(177, 76, 255, 0.22);
}
@keyframes ktReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Tagline ──────────────────────────────────────────────────── */

.tagline {
  margin: 0;
  /* Pass 90 - downsized from 14/18 to 12/16. The wolf-mark stays
   * the hero; supporting copy quiets down to match the new rhythm. */
  font-size: clamp(12px, 1.3vw, 16px);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: lowercase;
}
.kt-tagline {
  opacity: 0;
  animation: ktFade 800ms ease-out 1100ms forwards;
}
.kt-dots {
  display: inline-block;
  opacity: 0;
  animation: ktBreath 2.6s ease-in-out 1500ms infinite;
}
@keyframes ktFade   { to { opacity: 1; } }
@keyframes ktBreath {
  0%, 100% { opacity: 0.30; }
  50%      { opacity: 0.95; }
}

/* ── CTA · frosted-glass mailing-list card ────────────────────── */

/* Screen-reader-only text.
 *
 * TWO NAMES FOR ONE THING, and the second one had no rule. `.visually-hidden`
 * has been defined here for a long time; `.sr-only` is the name four pages
 * actually use — /predict, /scan, /agenda and /app/agenda — and it was defined
 * in exactly one file, developer.css, which none of them load.
 *
 * So on those pages the label was not hidden at all. It rendered as ordinary
 * text, and on /predict it landed inside `.predict-textarea-wrap`, which sets
 * `overflow: hidden` — reported from the live site as "the T is almost out of
 * that box". A label written for a screen reader was sitting half-clipped
 * inside the input, on a page whose whole job is to look trustworthy.
 *
 * Aliased rather than renamed across four files: `.sr-only` is the commoner
 * name in the wild, so the next person reaching for it is likelier to type
 * that, and a class that silently does nothing is how this happened once
 * already. Both names, one rule, in the stylesheet every page loads.
 */
.visually-hidden,
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: clamp(8px, 2vh, 16px);
  opacity: 0;
  animation: ktFade 1100ms ease-out 1400ms forwards;
}
.cta-glass {
  /* Pass 90 - tightened from 18 → 14 to match the smaller wordmark
   * + tagline. Card still reads as a card, just calmer. */
  padding: 14px;
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.mode-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
  position: relative;
}
.mode-tab {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 9px 14px;
  font-family: var(--font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 999px;
  transition: color 200ms ease, background 200ms ease;
}
.mode-tab.is-active {
  background: var(--brand-accent-soft);
  color: var(--brand-primary-bright);
  box-shadow:
    inset 0 0 0 1px rgba(177, 76, 255, 0.35),
    0 0 16px rgba(177, 76, 255, 0.12);
}
.mode-tab:hover { color: var(--text-strong); }

.register-form {
  display: flex;
  gap: 8px;
  position: relative;
}

#email {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-strong);
  font-family: var(--font-brand);
  /* Pass 90 - tightened to match the smaller wordmark / submit-btn. */
  font-size: 13px;
  padding: 11px 13px;
  border-radius: 11px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
#email::placeholder { color: var(--text-dim); }
#email:hover { background: rgba(255, 255, 255, 0.055); }
#email:focus,
#email:focus-visible {
  border-color: var(--brand-primary-bright);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(177, 76, 255, 0.22);
}

.hp-field {
  /* Off-screen without a negative offset - see the RTL note below. */
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

.submit-btn {
  position: relative;
  /* Was bright violet #C88CFF to brand: white label at 2.2:1, under WCAG AA. */
  background: linear-gradient(135deg, #8E3DCC 0%, #7A22C4 100%);
  color: var(--text-strong);
  border: 0;
  /* Pass 90 - tightened from 13×22 / 13px → 11×18 / 12px. */
  padding: 11px 18px;
  border-radius: 11px;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 180ms ease, filter 180ms ease;
  box-shadow:
    0 6px 20px rgba(177, 76, 255, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  white-space: nowrap;
}
.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(177, 76, 255, 0.45),
    0 12px 36px rgba(177, 76, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  filter: brightness(1.06);
}
.submit-btn:active { transform: translateY(0); }
.submit-btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.submit-btn .submit-spinner {
  display: none;
  width: 14px; height: 14px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--text-strong);
  border-radius: 50%;
  vertical-align: middle;
  animation: spin 700ms linear infinite;
}
.submit-btn.is-loading .submit-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.hook {
  margin: 4px 0 0;
  /* Pass 90 - 11.5 → 10.5; reads as supporting micro-copy. */
  font-size: 10.5px;
  letter-spacing: 0.02em;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: center;
}
.hook strong {
  color: var(--text-strong);
  font-weight: 600;
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--text-muted);
}
.form-status.is-success { color: var(--brand-primary-bright); }
.form-status.is-error   { color: #ff8a8a; }

/* ── App Store + Google Play buttons ──────────────────────────── */

.stores {
  display: flex;
  gap: 10px;
  margin-top: clamp(8px, 2vh, 16px);
  opacity: 0;
  animation: ktFade 1100ms ease-out 1700ms forwards;
}
.store-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-strong);
  text-decoration: none;
  transition: border-color 200ms ease, background 200ms ease, transform 160ms ease;
}
.store-btn:hover {
  border-color: var(--brand-primary-bright);
  background: rgba(177, 76, 255, 0.08);
  transform: translateY(-1px);
}
.store-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--text-strong);
}
.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.store-eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.store-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ── Bento sidecar (desktop only) ─────────────────────────────── */

.bento {
  display: grid;
  width: 100%;
  max-width: 460px;
  grid-template-columns: 1fr;
  gap: 14px;
  opacity: 0;
  transform: translateY(10px);
  animation: heroEntranceFade 1000ms cubic-bezier(0.22, 0.61, 0.36, 1) 380ms forwards;
}
.bento-card {
  position: relative;
  padding: 22px 22px 20px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: border-color 280ms ease, transform 280ms ease, background 280ms ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 30%);
  opacity: 0.7;
}
.bento-card:hover {
  border-color: rgba(177, 76, 255, 0.32);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.055);
}
.bento-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.bento-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--brand-primary-bright);
}
.bento-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary-bright);
  box-shadow: 0 0 0 4px rgba(177, 76, 255, 0.16);
  animation: bentoPulse 2.4s ease-in-out infinite;
}
@keyframes bentoPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1.0; transform: scale(1.18); }
}
.bento-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-strong);
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.bento-body {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.bento-footer {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}
.bento-stat {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-dim);
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
}

/* ── Footer ───────────────────────────────────────────────────── */

.footer {
  position: fixed;
  inset: auto 0 0 0;
  padding: 14px 24px env(safe-area-inset-bottom, 14px);
  display: flex;
  justify-content: center;
  z-index: 10;
}
.footer-links {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
}
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 180ms ease;
}
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--brand-primary-bright);
  outline: none;
}
.footer-sep { color: var(--text-dim); opacity: 0.5; }
.footer-mark { color: var(--text-dim); font-weight: 500; }

/* ── 404 fallback link ─────────────────────────────────────────── */

.fallback-action { margin: 8px 0 0; }
.fallback-link {
  color: rgba(177, 76, 255, 0.85);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid rgba(177, 76, 255, 0.35);
  padding-bottom: 2px;
  transition: color 180ms ease, border-color 180ms ease;
}
.fallback-link:hover,
.fallback-link:focus-visible {
  color: var(--brand-primary-bright);
  border-color: var(--brand-primary-bright);
}
.noscript-note { margin-top: 16px; opacity: 0.5; }

/* ── Universal focus-visible ──────────────────────────────────── */

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 2px solid var(--brand-primary-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Reduced motion (WCAG 2.3.3) ──────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .composition, .bento, .stores { opacity: 1; transform: none; animation: none; }
  .brand-mark, .kt-char, .kt-tagline, .kt-dots, .cta,
  .submit-spinner, .bento-pulse, .footer-link, .skip-link, .footer {
    animation: none !important;
    transition: none !important;
  }
  .brand-mark   { transform: none; }
  .kt-char      { opacity: 1; transform: none; }
  .kt-tagline   { opacity: 1; }
  .kt-dots      { opacity: 0.6; }
}

/* ── Forced colors (Windows HCM) ──────────────────────────────── */

@media (forced-colors: active) {
  .skip-link    { background: Highlight; color: HighlightText; }
  .footer-link  { color: LinkText; }
  .footer-link:hover { color: Highlight; }
  a:focus-visible { outline: 2px solid Highlight; }
  .cta-glass    { border-color: CanvasText; background: Canvas; }
  .submit-btn   { background: Highlight; color: HighlightText; }
  .bento-card   { border-color: CanvasText; background: Canvas; }
  .bento-card:hover { border-color: Highlight; }
  .store-btn    { border-color: CanvasText; }
  .store-btn:hover { border-color: Highlight; }
}

/* ── DESKTOP (≥ 1024px) - Bento sidecar appears ───────────────── */

@media (min-width: 1024px) {
  .stage {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(48px, 7vw, 96px);
  }
  .composition {
    flex: 0 0 auto;
    margin: 0;
  }
  .bento {
    flex: 0 0 auto;
    width: clamp(380px, 32vw, 460px);
  }
}

/* ── WIDE DESKTOP (≥ 1440px) ──────────────────────────────────── */

@media (min-width: 1440px) {
  .stage { gap: 120px; }
  .bento { width: 460px; }
  .bento-card { padding: 26px 26px 22px; }
  .bento-body { font-size: 13.5px; }
}

/* ── TABLET (768-1023px) - Bento collapses to row below hero ──── */

@media (min-width: 768px) and (max-width: 1023px) {
  .bento {
    width: 100%;
    max-width: 720px;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
  }
  .bento-card { padding: 18px; }
  .bento-title { font-size: 15px; }
  .bento-body { font-size: 12px; }
  .bento-footer { display: none; }
}

/* ── LARGE PHONE / SMALL TABLET (481px - 767px) - Pass 114 ───
 *
 * The Pass 88 + Pass 90 work optimised for phones ≤ 480px and
 * tablets ≥ 768px, leaving phones in the 481-767px gap rendering
 * the desktop hero - oversized logo + tagline. This block
 * compresses them to the middle-ground sizing the design wanted
 * without changing the brand vibe (background, colours,
 * spacing rhythm preserved).
 */
@media (min-width: 481px) and (max-width: 767px) {
  .hero { padding: 28px 18px 80px; }
  /* Logo: scaled down from the desktop clamp's upper end. */
  .brand-mark { width: clamp(240px, 44vw, 340px); }
  .logo-text  { font-size: clamp(34px, 6.4vw, 52px); }
  .tagline    { font-size: 12.5px; }
  .cta-glass  { padding: 14px; }
  /* Bento sits in 2-up flow at this width - tighter spacing. */
  .bento { max-width: 520px; gap: 12px; }
  .bento-card { padding: 14px; }
}

/* ── PHONE (≤ 480px) ──────────────────────────────────────────── */

@media (max-width: 480px) {
  .hero { padding: 24px 16px 72px; }
  /* Pass 90 - the WOLF stays prominent on phones (founder's
   * explicit ask: "downsize everything but the logo"). The
   * .brand-mark mobile clamp keeps its Pass-88 floor 160px so
   * the desktop_layout.test.ts assertion still passes. */
  .brand-mark { width: clamp(220px, 52vw, 340px); }
  /* Everything else compresses. */
  .logo-text { letter-spacing: 0.26em; padding-left: 0.26em; font-size: clamp(26px, 7vw, 42px); }
  .tagline { font-size: 11.5px; }
  .cta-glass { padding: 12px; }
  .register-form { flex-direction: column; }
  .submit-btn { width: 100%; }
  .stores { flex-direction: column; }
  .bento { max-width: 340px; gap: 10px; }
  .bento-card { padding: 14px; }
  .bento-title { font-size: 13.5px; }
  .bento-body { font-size: 11.5px; }
  .bento-footer { display: none; }
  .bento-pulse { display: none; }
}

/* ── SQUAT (landscape phone) - Bento hidden to save vertical px ── */

@media (max-height: 640px) and (max-width: 1023px) {
  .bento { display: none; }
  .hero { align-items: flex-start; }
}

/* ============================================================
 * Floating support button + chat panel
 * ============================================================
 *
 * Brand-aligned with the landing hero (frosted glass, modern
 * blue, Manrope). Present on every public page.
 */

.support-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--brand-accent-glow);
  background:
    linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-bright) 100%);
  color: #fff;
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(177, 76, 255, 0.35), 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.support-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(177, 76, 255, 0.45), 0 2px 10px rgba(0, 0, 0, 0.45);
  filter: brightness(1.05);
}
.support-fab:focus-visible {
  outline: 2px solid var(--text-strong);
  outline-offset: 3px;
}
.support-fab-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.support-fab-label { white-space: nowrap; }

@media (max-width: 480px) {
  .support-fab {
    right: 14px;
    bottom: 14px;
    padding: 12px;
  }
  /* Compact icon-only fab on small screens - the label takes too
   * much horizontal real estate next to mobile keyboards. */
  .support-fab-label { display: none; }
}

.support-panel {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 51;
  /* Slightly wider + taller for premium feel - gives the
   * conversation room to breathe. */
  width: min(400px, calc(100vw - 32px));
  max-height: min(75vh, 640px);
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at top, rgba(177, 76, 255, 0.10), transparent 50%),
    rgba(11, 20, 38, 0.94);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  /* Layered shadow: a tight ring + a deep ambient drop -
   * reads as "designed product", not "free widget". */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 6px 24px rgba(177, 76, 255, 0.18);
  overflow: hidden;
  color: var(--text-default);
  font-family: var(--font-brand);
}
.support-panel[hidden] { display: none; }

@media (max-width: 480px) {
  .support-panel {
    right: 8px;
    left: 8px;
    bottom: 76px;
    width: auto;
  }
}

.support-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(177, 76, 255, 0.08);
}

/* Wolf mark in the chat header - brand anchor on the assistant
 * panel so the visitor knows they're talking to Vilkax, not a
 * generic chat blob. */
.support-panel-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(177, 76, 255, 0.18);
  flex-shrink: 0;
}
.support-panel-brand img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 4px rgba(177, 76, 255, 0.45));
}
.support-panel-titleblock {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* Pass-145 - tighter vertical rhythm so the title baseline +
     status pill sit as a single visual unit (no floating gap). */
  gap: 2px;
  min-width: 0;
}
.support-panel-title {
  margin: 0;
  /* Pass-145 - fixed line-height so the title's height matches
     the rest of the header chrome (32-px wolf-mark + close btn). */
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
/* Trust pill - a calm "online" indicator with a pulsing dot
 * under the assistant title.  Tells the visitor at a glance:
 * yes, the bot is alive + will reply immediately.  Common
 * pattern across premium chat widgets (Intercom, Front, Crisp).
 */
.support-panel-status {
  /* Pass-144 - tightened to a single small status pill aligned
     with the title baseline.  Smaller font + reduced gap so the
     pill reads as a label, not a sentence. */
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--text-muted);
  line-height: 1;
  height: 12px;
}
.support-panel-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: support-status-pulse 2.4s ease-in-out infinite;
}
@keyframes support-status-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(52, 211, 153, 0.5); }
  50%  { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0   rgba(52, 211, 153, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .support-panel-status-dot { animation: none; }
}

/* Pass-142 - form-mode dimming for the chat header.  When the
   visitor switches to "Send a message", the bot-assistant chrome
   reads as backgrounded so the form below has full attention.
   Pure visual swap; no layout shift. */
.support-panel-brand.is-dimmed {
  opacity: 0.55;
  filter: saturate(0.6);
  transition: opacity 220ms ease, filter 220ms ease;
}
.support-panel-status.is-form-mode {
  color: rgba(208, 168, 255, 0.85);
}
.support-panel-status.is-form-mode .support-panel-status-dot {
  background: #C07BFF;
  animation: none;
}

/* Mode toggle (Pass 131) - two tabs at the top of the chat panel
 * for "Quick help" (local, instant) vs "Send a message" (server,
 * email follow-up).  Active tab gets the brand-blue underline. */
.support-mode-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(11, 20, 38, 0.4);
}
.support-mode-tab {
  flex: 1;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-brand);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}
.support-mode-tab.is-active {
  color: var(--text-strong);
  border-bottom-color: var(--brand-primary);
}
.support-mode-tab:hover:not(.is-active),
.support-mode-tab:focus-visible:not(.is-active) {
  color: var(--text-default);
  outline: none;
}
.support-mode-tab:focus-visible {
  outline: 2px solid rgba(165, 180, 205, 0.55);
  outline-offset: -2px;
}
.support-panel-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-strong);
}
.support-panel-close {
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.support-panel-close:hover { color: var(--text-strong); background: rgba(255,255,255,0.06); }

.support-panel-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
  max-height: 360px;
}

/* Modern chat row layout.  Bot rows put a wolf avatar on the
 * left + bubble; user rows are right-aligned with no avatar.
 * Same pattern every modern chat app uses (iMessage, WhatsApp,
 * Slack).
 */
.support-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 100%;
}
.support-row-bot  { align-self: flex-start; padding-right: 24px; }
.support-row-user { align-self: flex-end;   padding-left: 24px; justify-content: flex-end; }

.support-row-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* Pass-138/140 - wolf-character avatar with radial brand wash
     + crisper border.  Pass-140 adds a slow ambient pulse so the
     wolf reads as "alive + listening" without being distracting.
     Pass-153 - bumped to 38px outer / 30px inner so the logo
     reads at a glance + hides clipping with overflow:hidden so
     a rectangular PNG can't bleed past the ring. */
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 35% 30%, rgba(192, 123, 255, 0.32), rgba(177, 76, 255, 0.10) 70%);
  border: 1px solid rgba(192, 123, 255, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 3px 14px -2px rgba(177, 76, 255, 0.55);
  animation: support-avatar-pulse 4.2s ease-in-out infinite;
}
@keyframes support-avatar-pulse {
  0%, 100% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.06),
      0 3px 14px -2px rgba(177, 76, 255, 0.45);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.06),
      0 3px 18px -2px rgba(177, 76, 255, 0.65);
  }
}
@media (prefers-reduced-motion: reduce) {
  .support-row-avatar { animation: none; }
}
.support-row-avatar img,
.support-row-avatar svg {
  /* Pass-153 - object-fit: contain prevents any logo aspect-
     ratio drift inside the round ring; centered absolutely so
     the logo reads as a portrait regardless of the source asset
     dimensions. */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  object-position: center;
  color: #D0A8FF;          /* drives currentColor on the SVG */
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

/* ────────────────────────────────────────────────────────────────
   Pass 138 - focused ticket panel (replaces the chat thread when
   "Send a message" mode is active).  Modern, Zendesk-style.
   ──────────────────────────────────────────────────────────────── */
.support-ticket-panel {
  /* Pass-140 - full-bleed panel.  Ticket form stretches floor-to-
     ceiling between the mode tabs and the send button.  Slim neon
     ring inset gives the focal area a "live console" feel without
     overpowering the rest of the panel. */
  padding: 18px 18px 0;
  flex: 1 1 auto;
  overflow-y: auto;
  position: relative;
  background:
    radial-gradient(120% 60% at 50% 0%,
      rgba(177, 76, 255, 0.08) 0%, rgba(177, 76, 255, 0) 60%),
    rgba(11, 20, 38, 0.30);
  box-shadow: inset 0 0 0 1px rgba(192, 123, 255, 0.10),
              inset 0 1px 0 0 rgba(192, 123, 255, 0.18);
}
.support-ticket-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #f8fafc;
}
.support-ticket-sub {
  /* Pass-144 - slightly tighter to match the chat panel's compact
     header rhythm.  Same line-height as other meta copy. */
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.68);
  letter-spacing: 0.01em;
}
.support-ticket-sub strong {
  font-weight: 600;
  color: #cbd5e1;
}
.support-ticket-ref {
  margin: 8px 0 14px;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.9);
  display: flex;
  align-items: center;
  gap: 6px;
}
.support-ticket-ref code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(177, 76, 255, 0.18);
  border: 1px solid rgba(192, 123, 255, 0.35);
  color: #bfdbfe;
  letter-spacing: 0.04em;
}
.support-ticket-again {
  margin-top: 4px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.9);
  background: rgba(177, 76, 255, 0.14);
  border: 1px solid rgba(192, 123, 255, 0.35);
  border-radius: 8px;
  cursor: pointer;
  transition: background 120ms ease, transform 120ms ease;
}
.support-ticket-again:hover {
  background: rgba(177, 76, 255, 0.22);
}
.support-ticket-again:active {
  transform: translateY(1px);
}
.support-select {
  /* Native select with a calmer dark-mode treatment so the topic
     dropdown looks aligned with the rest of the form. */
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #D0A8FF 50%),
                    linear-gradient(135deg, #D0A8FF 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 30px;
}

.support-msg {
  /* Pass-153 - bump body type to 14.5 px / 1.58 lh so longer
     bot replies read comfortably without crowding.  Round
     padding adjusted to match the bigger type. */
  margin: 0;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.58;
  letter-spacing: 0;
  max-width: calc(100% - 44px);
  word-wrap: break-word;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.support-msg-bot {
  /* Wolf-side bubble - frosted neutral with a subtle blue tint.
     Pass-140 - soft neon inner ring + ambient drop so the wolf's
     replies read as a "console" message, not a passive label. */
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid rgba(192, 123, 255, 0.22);
  color: var(--text-default);
  border-bottom-left-radius: 4px;
  box-shadow:
    inset 0 0 0 1px rgba(192, 123, 255, 0.06),
    0 2px 10px -6px rgba(177, 76, 255, 0.35);
}

/* ── Typing indicator (Pass 129) ──────────────────────────────
 * Three pulsing dots inside a bot-styled bubble while the wolf
 * "reads" the user's message + waits for the real reply.  Modern
 * chat UX expectation; gives the visitor immediate feedback so a
 * 1-2 second model latency doesn't read as "frozen".
 * prefers-reduced-motion users get a static row with no pulse. */
.support-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 14px;
  min-height: 20px;
}
.support-typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.5;
  animation: support-typing-pulse 1.2s ease-in-out infinite;
}
.support-typing-dot:nth-child(2) { animation-delay: 0.18s; }
.support-typing-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes support-typing-pulse {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40%           { opacity: 1;    transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .support-typing-dot { animation: none; opacity: 0.6; }
}
.support-msg-user {
  /* User-side bubble - brand-blue gradient.  Higher contrast
   * than the bot bubble so the eye instantly reads which side
   * said what. */
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-hover) 100%);
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 6px 18px -8px rgba(177, 76, 255, 0.45);
}
.support-msg-line { display: inline; }

.support-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.25);
}
.support-input,
.support-textarea {
  /* Pass-153 - bump to 14.5 px so the text reads cleanly on a
     mobile viewport without iOS auto-zoom (which kicks in below
     ~16 px in form fields).  We keep <16 px on purpose so the
     desktop layout stays compact, and disable auto-zoom via the
     viewport meta. */
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  color: var(--text-strong);
  font-family: var(--font-brand);
  font-size: 14.5px;
  line-height: 1.5;
  padding: 11px 13px;
  border-radius: 10px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  width: 100%;
}
.support-textarea {
  resize: vertical;
  min-height: 72px;
  max-height: 180px;
  line-height: 1.55;
}
.support-input:hover,
.support-textarea:hover {
  /* Pass-140 - soft neon hover.  Subtle, only when the pointer
     is over the field; no shift to layout. */
  border-color: rgba(192, 123, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(177, 76, 255, 0.10);
}
.support-input:focus,
.support-textarea:focus {
  /* Pass-140 - full neon ring on focus.  Reads as a "live" field
     when the user actually types. */
  border-color: var(--brand-primary-bright);
  box-shadow:
    0 0 0 3px var(--brand-accent-soft),
    0 0 18px -4px rgba(177, 76, 255, 0.55);
}

.support-send {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-bright));
  color: #fff;
  border: 1px solid var(--brand-accent-glow);
  padding: 9px 18px;
  border-radius: 8px;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: filter 180ms ease, transform 180ms ease;
}
.support-send:hover {
  /* Pass-140 - neon-cast on hover.  The button reads as "armed". */
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 6px 18px -6px rgba(177, 76, 255, 0.55),
    0 0 22px -4px rgba(177, 76, 255, 0.45);
}
.support-send:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.support-send-spinner {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: support-spin 700ms linear infinite;
}
.support-send.is-loading .support-send-label { visibility: hidden; }
.support-send.is-loading .support-send-spinner { display: block; }
@keyframes support-spin { to { transform: rotate(360deg); } }

.support-panel-foot {
  margin: 0;
  padding: 4px 16px 12px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  min-height: 1.2em;
}
.support-panel-foot.is-success { color: #34d399; }
.support-panel-foot.is-error   { color: #fca5a5; }

/* ── Learning-loop rating buttons on each bot reply ─────────── */
.support-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-subtle);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  width: 100%;
}
.support-rating-prompt {
  font-style: italic;
  opacity: 0.8;
}
.support-rating-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 14px;
  line-height: 1.1;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
  color: inherit;
}
.support-rating-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
  transform: scale(1.08);
}
.support-rating-btn:disabled {
  cursor: default;
  opacity: 0.5;
}
.support-rating-btn.is-selected {
  background: var(--brand-accent-soft);
  border-color: var(--brand-primary-bright);
  opacity: 1;
}

/* ── Email typo "did you mean?" hint ─────────────────────────
 * Inline suggestion shown below the email input when the user
 * mistypes a common consumer-email domain. The "Use this"
 * button is the brand-blue accent - one tap to fix and move on. */
.email-typo-hint {
  display: block;
  margin: 6px 0 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  font-family: var(--font-brand);
}
.email-typo-hint[hidden] { display: none; }
.email-typo-fix {
  display: inline-block;
  margin: 0 2px;
  padding: 1px 8px;
  border: 1px solid var(--brand-accent-glow);
  background: var(--brand-accent-soft);
  color: var(--text-strong);
  border-radius: 999px;
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}
.email-typo-fix:hover {
  background: var(--brand-primary);
  color: #fff;
  transform: translateY(-1px);
}
.email-typo-fix:focus-visible {
  outline: 2px solid var(--text-strong);
  outline-offset: 2px;
}

/* ── "Try the wolf" - scam-text classifier demo ─────────────── */

.try-wolf {
  margin: 28px auto 0;
  max-width: 560px;
  padding: 24px 22px;
  text-align: left;
}
.try-wolf-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.try-wolf-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-strong);
}
.try-wolf-sub {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}
.try-wolf-input {
  width: 100%;
  resize: vertical;
  min-height: 70px;
  max-height: 200px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text-strong);
  font-family: ui-monospace, "SF Mono", Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.try-wolf-input:focus {
  border-color: var(--brand-primary-bright);
  box-shadow: 0 0 0 3px var(--brand-accent-soft);
}
.try-wolf-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.try-wolf-btn {
  position: relative;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-bright));
  color: #fff;
  border: 1px solid var(--brand-accent-glow);
  padding: 10px 22px;
  border-radius: 10px;
  font-family: var(--font-brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 180ms ease, transform 180ms ease;
}
.try-wolf-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.try-wolf-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.try-wolf-btn-spinner {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  animation: support-spin 700ms linear infinite;
}
.try-wolf-btn.is-loading .try-wolf-btn-label { visibility: hidden; }
.try-wolf-btn.is-loading .try-wolf-btn-spinner { display: block; }
.try-wolf-byline {
  flex: 1;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.try-wolf-result {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.55;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.025);
}
.try-wolf-result[hidden] { display: none; }
.try-wolf-verdict {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-strong);
}
.try-wolf-confidence {
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.try-wolf-reasons {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--text-default);
}
.try-wolf-reasons li {
  margin: 2px 0;
  font-size: 12.5px;
}
.try-wolf-err {
  margin: 0;
  color: var(--text-strong);
  font-size: 13px;
}

/* Verdict-tinted borders - the only colour the result borrows
 * from the verdict, so the panel still reads as the Vilkax-blue
 * brand surface (not a stoplight). */
.try-wolf-result-ok    { color: #34d399; }
.try-wolf-result-watch { color: #fbbf24; }
.try-wolf-result-warn  { color: #fb923c; }
.try-wolf-result-block { color: #ff6b6b; }
.try-wolf-result-error { color: var(--text-muted); }

/* ============================================================
 * Hero-explore link (Pass 125)
 * ============================================================
 *
 * Inline "See what we're building →" link that sits directly
 * below the email form.  This is the entry-point to /movement/
 * - every visitor sees it because it's in the central scan
 * path, not tucked in a corner.
 *
 * Design language: NOT a primary CTA (we don't want it competing
 * with "Join the Pack").  It's a quieter "tertiary" link - a
 * brand-blue underline with an arrow that nudges right on hover.
 *
 * Pass 121 shipped a floating corner door; Pass 123 promoted it
 * to a pill - both got missed by visitors because the page focus
 * is the email form.  Pass 125 puts the door IN the form's scan
 * path, which is where eyes already land.
 */
/* Mailing-list value blurb (Pass 131).  Quiet line between the
 * form status and the movement link explaining what the visitor
 * gets in their inbox.  Centered + max-width matches the form so
 * it scans as part of the same composition.
 */
.mailing-list-blurb {
  margin: 12px auto 0;
  max-width: 380px;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.55;
  text-align: center;
}

.hero-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 18px auto 0;
  padding: 6px 4px;
  color: var(--brand-primary-bright);
  text-decoration: none;
  font-family: var(--font-brand);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, transform 180ms ease, color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}
.hero-explore:hover,
.hero-explore:focus-visible {
  color: var(--text-strong);
  border-bottom-color: var(--brand-primary);
  outline: none;
}
.hero-explore-arrow {
  display: inline-block;
  transition: transform 180ms ease;
}
.hero-explore:hover .hero-explore-arrow,
.hero-explore:focus-visible .hero-explore-arrow {
  transform: translateX(3px);
}
.hero-explore:focus-visible {
  outline: 2px solid rgba(165, 180, 205, 0.55);
  outline-offset: 3px;
  border-bottom-color: var(--brand-primary);
}
@media (prefers-reduced-motion: reduce) {
  .hero-explore,
  .hero-explore-arrow { transition: none; }
}

/* ============================================================
 * Operator diagnostics banner (Pass 123)
 * ============================================================
 *
 * Only ever rendered on localhost / *.pages.dev / `?diag`.
 * Never seen by a real visitor.  See operator-diagnostics.js
 * for the visibility predicate.  Styled as a calm fixed banner
 * top of viewport so the operator can read it in one glance and
 * dismiss when satisfied.
 */
.vlx-op-diag {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 100;
  margin: 0 auto;
  max-width: 720px;
  padding: 14px 16px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 146, 60, 0.45);
  color: var(--text-default);
  font-family: var(--font-brand);
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.55);
}
.vlx-op-diag-head strong { color: #fb923c; font-weight: 800; letter-spacing: 0.02em; }
.vlx-op-diag-sub { color: var(--text-dim); font-size: 11.5px; }
.vlx-op-diag-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vlx-op-diag-list li {
  padding: 8px 10px;
  background: rgba(165, 180, 205, 0.06);
  border-radius: 8px;
}
.vlx-op-diag-list li strong {
  color: var(--text-strong);
  display: inline-block;
  margin-bottom: 2px;
}
.vlx-op-diag-list li span { color: var(--text-muted); }
.vlx-op-diag-close {
  margin-top: 10px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.vlx-op-diag-close:hover,
.vlx-op-diag-close:focus-visible {
  color: var(--text-strong);
  border-color: var(--brand-primary);
  outline: none;
}

/* ────────────────────────────────────────────────────────────────
 * Pass 147 - Shared "neon hover lift" utility.
 *
 * Apply `.vlx-lift` to any card-like element (or to a class
 * selector list - see below).  Reads as a 3D tilt + brand-blue
 * glow on hover, settles back smoothly on leave.  No JS;
 * `prefers-reduced-motion` collapses to a calm opacity bump.
 *
 * Already-styled cards (vlx-card, app-card, company-card,
 * vax-pack, lab-mb-prize, etc.) pick this up automatically
 * via the selector list below - no per-page CSS changes needed.
 * ──────────────────────────────────────────────────────────────── */
.vlx-lift,
.vlx-card,
.app-card,
.company-card,
.vax-pack,
.pricing-receipt-card,
.lab-mb-prize {
  transition:
    transform 280ms cubic-bezier(0.25, 0.8, 0.3, 1),
    box-shadow 280ms ease,
    border-color 280ms ease,
    background 280ms ease;
  will-change: transform;
}
@media (hover: hover) {
  .vlx-lift:hover,
  .vlx-card:hover,
  .app-card:hover,
  .company-card:hover,
  .vax-pack:hover,
  .pricing-receipt-card:hover,
  .lab-mb-prize:hover {
    transform: translateY(-4px) scale(1.012);
    box-shadow:
      0 16px 38px -12px rgba(177, 76, 255, 0.40),
      0 0 36px -8px rgba(177, 76, 255, 0.30);
    border-color: rgba(192, 123, 255, 0.55);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vlx-lift, .vlx-card, .app-card, .company-card,
  .vax-pack, .pricing-receipt-card, .lab-mb-prize {
    transition: none;
  }
  .vlx-lift:hover, .vlx-card:hover, .app-card:hover,
  .company-card:hover, .vax-pack:hover,
  .pricing-receipt-card:hover, .lab-mb-prize:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Neon outline that follows the cursor - extra polish on the
 * recommended tier.  Same `--vlx-mx` / `--vlx-my` vars the
 * pricing-stack mousemove handler writes (Pass-146); cards
 * without a custom-var get a static glow. */
.vlx-card[data-recommended="true"] {
  --vlx-mx: 0;
  --vlx-my: 0;
}

/* Neon focus-visible ring on every interactive element so
 * keyboard users get the same "alive" affordance the mouse
 * users get on hover.  Pure CSS; no JS. */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(192, 123, 255, 0.70);
  outline-offset: 2px;
  box-shadow:
    0 0 0 3px rgba(177, 76, 255, 0.18),
    0 0 22px -4px rgba(177, 76, 255, 0.45);
  transition: outline 120ms ease, box-shadow 120ms ease;
}

/* ── Pass-156 - new rectangular brand-mark normalisation ──
 *
 * The new "Logo blue background.png" is 3:2 (1536×1024) instead
 * of square.  HTML across the site renders the mark at many
 * sizes - all width===height squares (favicon 28, app brand 36,
 * auth 100, preview 120, hero 480).  Letterbox the rectangular
 * source inside the square slot using object-fit:contain so it
 * never squishes.  Matches by image src - no markup changes
 * needed.  Same trick for the new (still-square) VAX coin in
 * case it's ever rendered in a non-square slot. */
img[src="/brand/vilkax-brandmark-row.png"],
img[src="/vax-logo-blue.png"],
img[src="/vax-coin.svg"],
img[src="/vax-coin.png"] {
  object-fit: contain;
  object-position: center;
}

/* ── Pass-156 - big-mark hero composition ──
 *
 * The new "Logo blue background" includes the VILKAX wordmark
 * inside the image, so the landing-page hero no longer needs
 * the separate kinetic-typography <h1>.  Render the mark large
 * at the top of the hero, with responsive scaling.
 *
 * Aspect ratio of the new file: 1536×1024 (3:2).  We size it
 * with `width` only and let the aspect-ratio attribute on the
 * <img> drive the height - no squish.
 */
.composition.composition-big-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.brand-mark.brand-mark-xl {
  display: block;
  width: clamp(280px, 60vw, 640px);
  margin: 0 auto;
}
.brand-mark.brand-mark-xl img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 44px rgba(177, 76, 255, 0.22));
}
@media (max-width: 480px) {
  .brand-mark.brand-mark-xl {
    width: min(82vw, 360px);
  }
}

/* ── Pass-156m - per-seat band ladder for Alpha tier ──
 *
 * Rendered under the headline price ("from $9 / seat / mo") so
 * prospects see the discount at scale: the more seats they add,
 * the lower the per-seat cost.  Reads as a compact 4-row table.
 */
.vlx-card-bands {
  list-style: none;
  margin: 0.75rem 0 0 0;
  padding: 0.6rem 0 0 0;
  border-top: 1px solid var(--border-soft, rgba(255, 255, 255, 0.08));
  font-size: 0.85rem;
  line-height: 1.55;
}
.vlx-card-band-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.15rem 0;
  color: var(--text-muted, rgba(230, 239, 255, 0.65));
}
.vlx-card-band-label {
  letter-spacing: 0.01em;
}
.vlx-card-band-rate {
  color: var(--text-strong, #e6efff);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.vlx-card-price-prefix {
  color: var(--text-muted, rgba(230, 239, 255, 0.65));
  font-size: 0.85em;
  margin-right: 0.25rem;
}

/* ────────────────────────────────────────────────────────────────
 * Pass-156v - AdaptiveLogo component (replaces .vlx-spotlight*).
 *
 * One clean, production-stable presentation system for every
 * Vilkax logo across the site.  Hides the artwork's hard edges,
 * blends into any dark-gradient surface, looks premium without
 * a single keyframe animation.
 *
 * Design principles:
 *   1. No `mask-image` cropping (Pass-156t over-clipped the chrome ring)
 *   2. No competing inset shadows (Pass-156p created a double-border)
 *   3. No rotating rings by default (mobile + battery)
 *   4. ONE pseudo-element halo, hardware-composited
 *   5. Drop-shadow filter - softer than box-shadow, scales with image
 *   6. Backdrop-blur capsule behind the badge for cards on light
 *      surfaces (graceful fallback if not supported)
 *
 * Usage:
 *   <span class="vlx-logo">           default - auto-sized halo
 *     <img src="/brand/vilkax-brandmark-row.png" width="…" height="…">
 *   </span>
 *
 *   .vlx-logo-hero    larger halo for landing hero / auth screens
 *   .vlx-logo-nav     compact halo for nav-headers (≤ 120px wide)
 *   .vlx-logo-button  no halo, for icon-in-button contexts
 *
 * Mobile + iOS:
 *   - Uses transform / filter / opacity only (GPU compositing)
 *   - No backdrop-filter on the IMAGE itself - only on optional
 *     capsule that defaults to off (avoids iOS Safari quirks)
 *   - No background-attachment:fixed on these elements
 *   - Respects prefers-reduced-motion (drops the gentle pulse)
 *   - Respects forced-colors (drops halo + uses system border)
 * ──────────────────────────────────────────────────────────────── */

.vlx-logo {
  position: relative;
  display: inline-block;
  isolation: isolate;
  line-height: 0;
}

/* The image itself - no border-radius, no inset effects, just a
 * tasteful drop-shadow that bleeds into the page bg.  filter:
 * drop-shadow respects the alpha channel so transparent corners
 * don't get boxed shadows like box-shadow would. */
.vlx-logo > img,
.vlx-logo > picture > img {
  display: block;
  max-width: 100%;
  height: auto;
  filter:
    drop-shadow(0 14px 32px rgba(11, 25, 60, 0.55))
    drop-shadow(0 2px 8px rgba(192, 123, 255, 0.18));
}

/* Halo behind the badge - radial gradient anchored to the
 * badge centroid.  Uses the same blue tone (#080828 / #8B2FD6)
 * the page bg already uses so the badge dissolves into the
 * gradient.  Pseudo-element so no extra DOM. */
.vlx-logo::before {
  content: "";
  position: absolute;
  inset: -28% -18%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(177, 76, 255, 0.32) 0%,
    rgba(177, 76, 255, 0.14) 28%,
    rgba(177, 76, 255, 0.04) 55%,
    rgba(11, 20, 38, 0)     78%
  );
  filter: blur(4px);
  /* Gentle pulse - slower than a heartbeat, 12s, low amplitude.
   * Imperceptible unless you're staring; saves battery vs the
   * old breathing animation. */
  animation: vlx-logo-pulse 12s ease-in-out infinite;
}

/* Hero variant - larger halo, more saturated centre.
 * Use on /, /app/auth/, marketing heroes. */
.vlx-logo-hero::before {
  inset: -38% -24%;
  background: radial-gradient(
    ellipse at center,
    rgba(177, 76, 255, 0.48) 0%,
    rgba(177, 76, 255, 0.22) 24%,
    rgba(177, 76, 255, 0.06) 55%,
    rgba(11, 20, 38, 0)     82%
  );
  filter: blur(6px);
}

/* Nav / compact variant - tighter halo, lower opacity so it
 * doesn't bleed into adjacent nav text. */
.vlx-logo-nav::before {
  inset: -14% -8%;
  background: radial-gradient(
    ellipse at center,
    rgba(177, 76, 255, 0.22) 0%,
    rgba(177, 76, 255, 0.08) 45%,
    rgba(11, 20, 38, 0)     80%
  );
  filter: blur(2px);
}

/* Button / inline variant - no halo, just the soft drop-shadow.
 * For icon-in-button contexts where the logo sits in tight UI. */
.vlx-logo-button > img,
.vlx-logo-button > picture > img {
  filter: drop-shadow(0 2px 6px rgba(11, 25, 60, 0.45));
}
.vlx-logo-button::before { display: none; }

/* Optional glass capsule - wraps the badge in a frosted card
 * for use on busier surfaces (admin dashboards, modals).
 * backdrop-filter is feature-tested via @supports; the fallback
 * is a flat translucent panel. */
.vlx-logo-glass {
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(8, 8, 40, 0.45);
  border: 1px solid rgba(192, 123, 255, 0.18);
}
@supports (backdrop-filter: blur(12px)) {
  .vlx-logo-glass {
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    background: rgba(8, 8, 40, 0.28);
  }
}

@keyframes vlx-logo-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1);    }
  50%      { opacity: 1.00; transform: scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .vlx-logo::before { animation: none; }
}

@media (forced-colors: active) {
  .vlx-logo::before { display: none; }
  .vlx-logo > img,
  .vlx-logo > picture > img {
    filter: none;
    border: 1px solid CanvasText;
  }
}

/* ── Legacy class aliases (back-compat) ──
 * Existing markup uses .vlx-spotlight* - keep them working
 * as aliases of the new system rather than rewriting every
 * HTML file in this pass. */
.vlx-spotlight             { position: relative; display: inline-block; isolation: isolate; line-height: 0; }
.vlx-spotlight > img,
.vlx-spotlight > picture > img {
  display: block; max-width: 100%; height: auto;
  filter:
    drop-shadow(0 14px 32px rgba(11, 25, 60, 0.55))
    drop-shadow(0 2px 8px rgba(192, 123, 255, 0.18));
}
.vlx-spotlight::before {
  content: ""; position: absolute; inset: -28% -18%; z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
    rgba(177, 76, 255, 0.32) 0%,
    rgba(177, 76, 255, 0.14) 28%,
    rgba(177, 76, 255, 0.04) 55%,
    rgba(11, 20, 38, 0)     78%);
  filter: blur(4px);
  animation: vlx-logo-pulse 12s ease-in-out infinite;
}
.vlx-spotlight-hero::before {
  inset: -38% -24%;
  background: radial-gradient(ellipse at center,
    rgba(177, 76, 255, 0.48) 0%,
    rgba(177, 76, 255, 0.22) 24%,
    rgba(177, 76, 255, 0.06) 55%,
    rgba(11, 20, 38, 0)     82%);
  filter: blur(6px);
}
.vlx-spotlight-sm::before {
  inset: -14% -8%;
  background: radial-gradient(ellipse at center,
    rgba(177, 76, 255, 0.22) 0%,
    rgba(177, 76, 255, 0.08) 45%,
    rgba(11, 20, 38, 0)     80%);
  filter: blur(2px);
}

/* ── Restored from earlier passes - hero composition + size clamp.
 * Pass-156v wipe accidentally took these with the messy spotlight
 * overrides.  These two classes are still used by index.html
 * hero markup, so we re-establish them in their canonical shape. */
.composition.composition-big-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}
.brand-mark.brand-mark-xl {
  display: block;
  width: clamp(280px, 60vw, 640px);
  margin: 0 auto;
}
.brand-mark.brand-mark-xl img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 480px) {
  .brand-mark.brand-mark-xl {
    width: min(82vw, 360px);
  }
}

/* Page-top blue bleed (Pass-156r - kept; harmless either way). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(
    ellipse 1200px 700px at 50% -10%,
    #080828 0%,
    rgba(8, 8, 40, 0.55) 28%,
    rgba(8, 8, 40, 0.18) 55%,
    rgba(11, 20, 38, 0) 80%
  );
}
@media (forced-colors: active) {
  body::before { display: none; }
}

/* Per-seat tier band ladder + skeleton loader - both got wiped
 * with the spotlight blocks.  Re-establish minimally. */
.vlx-card-bands {
  list-style: none;
  margin: 0.75rem 0 0 0;
  padding: 0.6rem 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  line-height: 1.55;
}
.vlx-card-band-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.15rem 0;
  color: rgba(230, 239, 255, 0.65);
}
.vlx-card-band-rate {
  color: #e6efff;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.vlx-card-price-prefix {
  color: rgba(230, 239, 255, 0.65);
  font-size: 0.85em;
  margin-right: 0.25rem;
}

.vlx-skel {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 100%);
  border-radius: 8px;
  color: transparent;
  user-select: none;
}
.vlx-skel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%,
    rgba(192, 123, 255, 0.10) 30%,
    rgba(192, 123, 255, 0.18) 50%,
    rgba(192, 123, 255, 0.10) 70%, transparent 100%);
  transform: translateX(-100%);
  animation: vlx-skel-shimmer 1.6s ease-in-out infinite;
}
.vlx-skel-line     { width: 100%; height: 12px; max-width: 18ch; }
.vlx-skel-line-sm  { width: 8ch;  height: 10px; }
.vlx-skel-line-lg  { width: 100%; height: 16px; max-width: 28ch; }
.vlx-skel-num      { width: 4ch;  height: 24px; }
.vlx-skel-num-lg   { width: 6ch;  height: 40px; }
.vlx-skel-pill     { width: 6ch;  height: 22px; border-radius: 999px; }
.vlx-skel-circle   { width: 32px; height: 32px; border-radius: 50%; }
.vlx-skel-avatar   { width: 56px; height: 56px; border-radius: 50%; }
.vlx-skel-block    { width: 100%; height: 80px; border-radius: 12px; display: block; }
@keyframes vlx-skel-shimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%);  }
  100% { transform: translateX(100%);  }
}
@media (prefers-reduced-motion: reduce) {
  .vlx-skel::after { animation: none; opacity: 0; }
}

/* ── Pass-156x - alpha-keyed logos + mini-header treatment ──
 *
 * The PNG itself now has a transparent backdrop (chroma-key
 * pass), so there is no rectangle to hide.  These rules just
 * make the mini-header brand mark sized + positioned correctly.
 *
 * .vlx-mini-brand-mark used by the shared site-footer chrome
 * (auto-injected on /pricing/, /business/, etc).
 */
/* Canonical nav brand-mark size — SINGLE source of truth so the logo is
 * IDENTICAL on every shared-chrome page whether or not site-footer.css is
 * loaded (it mirrors `.vlx-mini-brand img` there). 44px desktop / 36px mobile
 * matches the landing + /app/ brand anchor. Previously two competing blocks
 * here (36px and 80px) fought site-footer.css's 44px, so the SAME logo rendered
 * at different sizes across pages — the nav-size misalignment the user flagged. */
.vlx-mini-brand-mark {
  display: block;
  height: 44px;
  width: auto;             /* preserves the 3:2 logo aspect */
  max-width: 200px;
  filter: drop-shadow(0 4px 12px rgba(61, 123, 217, 0.32));
  transition: transform 220ms ease, filter 220ms ease;
  will-change: transform, filter;
}
a:hover > .vlx-mini-brand-mark,
a:focus-visible > .vlx-mini-brand-mark,
.vlx-mini-brand-mark:hover {
  transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 6px 18px rgba(61, 123, 217, 0.50));
}
@media (max-width: 640px) {
  .vlx-mini-brand-mark { height: 36px; max-width: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .vlx-mini-brand-mark { transition: none; }
  .vlx-mini-brand-mark:hover,
  a:hover > .vlx-mini-brand-mark { transform: none; }
}

/* Belt-and-suspenders: if any logo asset still has a residual
 * dark cluster post-chroma-key, `mix-blend-mode: lighten` makes
 * dark pixels disappear into dark page bg.  Safe on dark themes,
 * gracefully no-ops on light ones.  Excluded from .vlx-logo-glass
 * (where the capsule needs the dark backdrop). */
img[src="/brand/vilkax-brandmark-row.png"]:not(.vlx-keep-dark) {
  /* The new VAX coin (vax-coin.png / vax-logo-blue.png) is a self-contained
   * disc with its own dark field + spectrum rim, so it must NOT use lighten
   * (which would blend its dark disc into a dark page). Only the flat Vilkax
   * brandmark row keeps the lighten treatment. */
  mix-blend-mode: lighten;
}
.vlx-logo-glass img,
.vlx-keep-dark {
  mix-blend-mode: normal;
}

/* ── Pass-156z - dial back VAX halo + center landing form ──
 *
 * User feedback: VAX coin has "too much bright aura" - the
 * shared blue halo behind the gold coin reads as a glow that
 * fights the coin's natural drop shadow.  Reduce halo opacity
 * specifically for the VAX coin.  Vilkax keeps full halo.
 *
 * Also: the shared mini-header brand image should be bigger
 * (the user's screenshot showed it at the tiny default size).
 */

/* Specifically suppress halo on VAX-coin spotlight wrappers.
 * Uses :has() - supported in Safari 15.4+, Chrome 105+, Firefox
 * 121+.  Older browsers just see the default subtle halo. */
.vlx-spotlight:has(> img[src="/vax-logo-blue.png"])::before,
.vlx-spotlight:has(> img[src="/vax-coin.png"])::before,
.vlx-spotlight:has(> img[src="/vax-coin.svg"])::before,
.vlx-spotlight:has(> picture > img[src="/vax-logo-blue.png"])::before,
.vlx-logo:has(> img[src="/vax-logo-blue.png"])::before,
.vlx-logo:has(> img[src="/vax-coin.png"])::before,
.vlx-logo:has(> img[src="/vax-coin.svg"])::before {
  opacity: 0.32;
  filter: blur(8px);
}

/* Belt-and-suspenders: drop mix-blend-mode on the VAX coin -
 * lighten mode washes out the gold tones against bright halos.
 * Vilkax silver-on-blue keeps the blend mode (it helps). */
img[src="/vax-logo-blue.png"],
img[src="/vax-coin.png"],
img[src="/vax-coin.svg"] {
  mix-blend-mode: normal;
}

/* (The former Pass-156ab 80px block was REMOVED — it conflicted with the
 * canonical 44px definition above and with site-footer.css, causing the nav
 * logo to render at different sizes depending on stylesheet load order. The
 * hover-lift + reduced-motion rules now live once, in the canonical block.) */

/* Admin console brand mark - same posture as the public nav. */
.wd-brand img {
  height: 80px;
  width: auto;
  max-width: 300px;
  filter: drop-shadow(0 2px 8px rgba(192, 123, 255, 0.22));
  transition: transform 220ms ease, filter 220ms ease;
  will-change: transform, filter;
}
.wd-brand:hover img,
.wd-brand:focus-visible img {
  transform: translateY(-1px) scale(1.025);
  filter: drop-shadow(0 6px 18px rgba(192, 123, 255, 0.44));
}
@media (max-width: 640px) {
  .wd-brand img { height: 56px; max-width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .wd-brand img { transition: none; }
  .wd-brand:hover img { transform: none; }
}

/* Landing hero - let the form be visually closer to the logo
 * (the previous gap pushed everything below the fold).  Cap
 * the hero column at 720px so the eye-line stays centered on
 * desktop wide screens too. */
.composition.composition-big-mark {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 1rem;
  gap: 0.9rem;            /* was 1.4rem */
}

/* Pass-157 - "Preview" pill for surfaces whose underlying fleet
 * is not yet live (e.g. Smart VPN - WireGuard infra pending).
 * Visual cue that this is real but pre-launch. */
.app-preview-pill {
  display: inline-block;
  margin-inline-start: 6px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(192, 123, 255, 0.14);
  color: #D0A8FF;
  border: 1px solid rgba(192, 123, 255, 0.40);
  vertical-align: middle;
  line-height: 1.4;
}

/* ============================================================
 * Pass-163 - Arctic Steel utilities (from /Assets new web/)
 * ------------------------------------------------------------
 *  .vlx-chrome      - chrome-shimmer text gradient for accent
 *                     words.  Pair with serif italic for the
 *                     premium "first to protect" line.
 *  .vlx-italic      - Instrument Serif italic accent.
 *  .vlx-eyebrow-az  - uppercase tracking eyebrow.
 *  .vlx-pill-card   - refined card on Arctic Steel surface.
 *  Buttons / links sweep brand colours to Signal Blue.
 * ============================================================ */
.vlx-chrome {
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vlx-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.vlx-eyebrow-az {
  font-size: 11px; font-weight: 500; letter-spacing: 0.20em;
  text-transform: uppercase; color: var(--text-muted);
}
.vlx-pill-card {
  background: linear-gradient(160deg, var(--bg-surface), var(--bg-ink));
  border: 1px solid var(--border-line);
  border-radius: 18px;
}

/* ============================================================
 *  Pass-165 - Premium headline system (Arctic Steel pack)
 *  Inter for the grounded line, Instrument Serif italic for the
 *  emotional accent, chrome-text gradient for the "wolf-glint"
 *  feel.  Used on landing, /features/, /pricing/, /business/,
 *  /company/, and any page that needs a hero moment.
 * ============================================================ */
.hero-headline {
  margin: 28px 0 14px;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
  max-width: 14ch;
  color: var(--text-strong);
}
.hero-headline-line { display: block; }
.hero-headline .vlx-italic.vlx-chrome {
  font-size: 1em;
  font-weight: 400;
  /* Inherit chrome gradient from utility class. */
}
.hero-tagline {
  /* Quieter supporting line under the chrome headline. */
  margin: 8px auto 20px;
  max-width: 50ch;
  color: var(--text-muted);
}

/* When the chrome accent sits inline with a non-chrome word,
 * push the italic optical baseline a touch so they read as one
 * line - Instrument Serif italic descends slightly differently
 * than Inter at the same nominal size. */
.vlx-italic { line-height: 1.02; }

/* ── Pass-170 - language toggle (shared) ─────────────────── */
.vlx-lang {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-brand);
}
.vlx-lang-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.vlx-lang-select {
  appearance: none; -webkit-appearance: none;
  padding: 8px 30px 8px 14px;
  border-radius: 999px;
  background: rgba(11, 20, 38, 0.85);
  border: 1px solid var(--border-strong);
  color: var(--text-strong);
  font: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand-ice, #C88CFF) 50%),
    linear-gradient(135deg, var(--brand-ice, #C88CFF) 50%, transparent 50%);
  background-position: calc(100% - 16px) center, calc(100% - 11px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.vlx-lang-select:focus,
.vlx-lang-select:hover { border-color: var(--brand-ice, #C88CFF); background-color: rgba(15, 27, 50, 0.95); outline: none; }
.vlx-lang-select option { background: #0B1426; color: var(--text-strong); }

/* ── Pass-172 - "Get the app" strip (shared, non-landing) ── */
.vlx-app-strip {
  margin: 56px auto 0;
  max-width: 1080px;
  padding: 0 clamp(20px, 4vw, 40px);
}
.vlx-app-strip-inner {
  padding: 28px clamp(20px, 3vw, 40px);
  background: linear-gradient(160deg, rgba(16, 30, 51, 0.55), rgba(10, 19, 34, 0.42));
  border: 1px solid rgba(127, 207, 230, 0.18);
  border-radius: 20px;
}
.vlx-app-strip-head { text-align: center; margin-bottom: 18px; }
.vlx-app-strip-h {
  margin: 6px 0 0;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-strong);
}
.vlx-app-strip-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 10px;
}
.vlx-app-strip-link {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(127, 207, 230, 0.16);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}
.vlx-app-strip-link:hover {
  transform: translateY(-1px);
  background: rgba(127, 207, 230, 0.06);
  border-color: rgba(127, 207, 230, 0.42);
}
.vlx-app-strip-glyph {
  width: 32px; height: 32px; border-radius: 8px;
  display: grid; place-items: center;
  color: var(--brand-ice, #C88CFF);
  background: rgba(127, 207, 230, 0.10);
  border: 1px solid rgba(127, 207, 230, 0.22);
}
.vlx-app-strip-glyph svg { width: 18px; height: 18px; }
.vlx-app-strip-text { display: flex; flex-direction: column; min-width: 0; }
.vlx-app-strip-label { font-size: 13px; font-weight: 700; color: var(--text-strong); }
.vlx-app-strip-sub   { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.vlx-app-strip-foot {
  margin: 18px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.vlx-app-strip-foot a {
  color: var(--brand-ice, #C88CFF);
  text-decoration: none;
  font-weight: 600;
}
.vlx-app-strip-foot a:hover { color: #fff; }
.vlx-app-strip-flag {
  font-size: 16px;
  filter: drop-shadow(0 0 8px rgba(127, 207, 230, 0.40));
}

/* ── Pass-176 - floating top-right language toggle ────────── */
/* Floating language pill. Custom dropdown built by
 * /_shared/language-toggle.js. Visibility of the menu is driven by
 * the `.is-open` class on #vlx-lang. No [hidden] attribute, no inline
 * styles, no native <select> - all the dropdown state lives in one
 * class so it cannot get stuck open.
 *
 * The pill sits a little below the top edge so it never clashes with
 * the OS notch / status bar AND so the menu has room to drop DOWN
 * (it used to drop up, which on landing - where the pill is near the
 * top - pushed the menu off-screen). Drops up only on the rare page
 * where data-direction="up" is set. */
#vlx-lang {
  position: fixed;
  /* Was 2147483600 (effectively MAX_INT), which sat above the open
   * chat panel (z-index 2147483541-2) and the awakening overlay.
   * Now sits between the support-widget FAB (9000) and the support-
   * widget modal (9200) so it stays visible when the page scrolls
   * but disappears under any actively-open modal/panel.
   * Fix 2026-05-17 - CRIT-2 from public-page audit. */
  z-index: 9050;
  top: max(20px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  font-family: var(--font-brand);
}
#vlx-lang .vlx-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 16, 30, 0.82);
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
#vlx-lang .vlx-lang-btn:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.90);
  color: rgba(255, 255, 255, 0.92);
}
#vlx-lang .vlx-lang-btn:focus-visible {
  outline: 2px solid var(--brand-ice);
  outline-offset: 3px;
}
#vlx-lang .vlx-lang-globe {
  display: flex;
  align-items: center;
  opacity: 0.6;
  line-height: 1;
}
#vlx-lang .vlx-lang-code {
  color: inherit;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.08em;
}
#vlx-lang .vlx-lang-chev {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 1px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform 0.2s ease;
}
#vlx-lang.is-open .vlx-lang-chev {
  /* Chevron flips when menu is open (down → up). */
  transform: rotate(-135deg);
}

/* Menu - HIDDEN BY DEFAULT.  Only revealed when JS adds .is-open.
 * Drops DOWNWARD because the pill sits near the top of the viewport
 * on every page. Pages that need an upward drop can set
 * data-direction="up" on #vlx-lang. */
#vlx-lang .vlx-lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 240px;
  max-height: min(70vh, 460px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(11, 20, 38, 0.96);
  border: 1px solid rgba(127, 207, 230, 0.32);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(127, 207, 230, 0.08) inset,
    0 18px 42px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(127, 207, 230, 0.20);
  /* No backdrop-filter. This menu SCROLLS (overflow-y above, up to 460px of
     languages) and a blur on a scrolling element makes the compositor re-blur
     the page behind it on every frame of that scroll. The background is
     already 96% opaque, so the blur was contributing almost nothing visible
     while costing the most expensive thing a dropdown can cost. */
}
#vlx-lang.is-open .vlx-lang-menu {
  display: block;
  animation: vlx-lang-pop 0.18s ease-out;
}
/* Optional opt-in: pages that genuinely need the menu above the
 * pill can set <div id="vlx-lang" data-direction="up">. */
#vlx-lang[data-direction="up"] .vlx-lang-menu {
  top: auto;
  bottom: calc(100% + 10px);
}
@keyframes vlx-lang-pop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
#vlx-lang[data-direction="up"].is-open .vlx-lang-menu {
  animation: vlx-lang-pop-up 0.18s ease-out;
}
@keyframes vlx-lang-pop-up {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  #vlx-lang.is-open .vlx-lang-menu { animation: none; }
}
#vlx-lang .vlx-lang-menu li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #cfdcef;
  cursor: pointer;
  user-select: none;
  min-height: 44px;       /* hit target for touch */
  transition: background 0.14s ease, color 0.14s ease;
}
#vlx-lang .vlx-lang-menu li:hover {
  background: rgba(127, 207, 230, 0.10);
  color: #ffffff;
}
#vlx-lang .vlx-lang-menu li[aria-selected="true"] {
  background: rgba(127, 207, 230, 0.18);
  color: #ffffff;
}
#vlx-lang .vlx-lang-mcode {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--brand-ice);
  min-width: 24px;
}
#vlx-lang .vlx-lang-mlabel {
  font-size: 13px;
  font-weight: 500;
}

body.landing-v2 #vlx-lang {
  /* Sits below the top nav row, comfortably tucked under the hero.
   * Shrunk again so it reads as a utility chip rather than a hero
   * element - history: 92px → 108px → 124px (this nudge gives the
   * eyebrow line breathing room without making the toggle hide
   * below the fold on smaller laptops). */
  top: max(124px, calc(env(safe-area-inset-top) + 104px));
  right: max(24px, env(safe-area-inset-right));
}
body.landing-v2 #vlx-lang .vlx-lang-btn {
  padding: 5px 10px;
  font-size: 10px;
  gap: 6px;
  border-radius: 999px;
}
body.landing-v2 #vlx-lang .vlx-lang-globe { opacity: 0.55; }
body.landing-v2 #vlx-lang .vlx-lang-code  { font-size: 10px; letter-spacing: 0.08em; }
body.landing-v2 #vlx-lang .vlx-lang-chev  { width: 5px; height: 5px; }
/* Pages that mount the shared sticky header (.vlx-mini-header, ~80px
 * tall) need the toggle below it so it doesn't sit on top of the
 * 'Open the app' CTA. body carries data-chrome-header when the
 * header is mounted. */
body[data-chrome-header]:not(.landing-v2):not(.app-body) #vlx-lang {
  top: max(96px, calc(env(safe-area-inset-top) + 80px));
}
/* App pages have a sticky .app-header (~68px). Push the floating
   language pill below it so it doesn't overlap nav links or the
   sign-in button.  The pill is still above page content (z 9050)
   but sits visually under the header bar. */
body.app-body #vlx-lang {
  top: max(80px, calc(env(safe-area-inset-top) + 72px));
}
@media (max-width: 640px) {
  #vlx-lang { top: 14px; right: 12px; }
  body.landing-v2 #vlx-lang { top: max(60px, calc(env(safe-area-inset-top) + 44px)); right: 14px; }
  body[data-chrome-header]:not(.landing-v2):not(.app-body) #vlx-lang {
    top: max(76px, calc(env(safe-area-inset-top) + 60px));
  }
  body.app-body #vlx-lang {
    top: max(68px, calc(env(safe-area-inset-top) + 56px));
  }
}

/* ── Glow utilities ───────────────────────────────────────────
 * Drop on any element that needs an ambient halo behind it.
 *   .vlx-glow            ambient ice glow
 *   .vlx-glow-iris       chrome gradient halo (best for headlines)
 *   .vlx-glow-ember      warm amber halo (Hearth / warmth surfaces)
 *   .vlx-glow-pulse      slow pulse animation
 *   .vlx-glow-card       block-level glow tuned for feature cards
 *
 * All utilities use a ::before pseudo so the glow lives behind
 * the element with no DOM change. The element itself becomes
 * a positioning context. Safe to combine. */
.vlx-glow,
.vlx-glow-iris,
.vlx-glow-ember,
.vlx-glow-card {
  position: relative;
  isolation: isolate;
}
.vlx-glow::before,
.vlx-glow-iris::before,
.vlx-glow-ember::before,
.vlx-glow-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  filter: blur(48px);
  opacity: 0.55;
  transform: translateZ(0);
}
.vlx-glow::before {
  background: radial-gradient(closest-side, rgba(127, 207, 230, 0.55), rgba(127, 207, 230, 0) 70%);
}
.vlx-glow-iris::before {
  background:
    radial-gradient(closest-side at 25% 50%, rgba(127, 207, 230, 0.50), transparent 60%),
    radial-gradient(closest-side at 60% 40%, rgba(110, 143, 255, 0.45), transparent 65%),
    radial-gradient(closest-side at 85% 60%, rgba(182, 154, 255, 0.40), transparent 65%);
  opacity: 0.7;
}
.vlx-glow-ember::before {
  background:
    radial-gradient(closest-side at 30% 50%, rgba(252, 211, 77, 0.32), transparent 60%),
    radial-gradient(closest-side at 70% 50%, rgba(249, 115, 22, 0.30), transparent 65%);
  opacity: 0.55;
}
.vlx-glow-card {
  border-radius: 18px;
}
.vlx-glow-card::before {
  inset: -14%;
  background:
    radial-gradient(closest-side at 20% 30%, rgba(127, 207, 230, 0.30), transparent 65%),
    radial-gradient(closest-side at 80% 70%, rgba(110, 143, 255, 0.28), transparent 70%);
  opacity: 0.6;
  filter: blur(36px);
}
.vlx-glow-pulse::before {
  animation: vlx-glow-pulse 6s ease-in-out infinite;
}
@keyframes vlx-glow-pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 0.75; transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .vlx-glow-pulse::before { animation: none; }
}
