/* ============================================================
 * 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 {
  --bg-ink:        #0B1426;
  --bg-ink-deep:   #060A14;
  --bg-card:       rgba(15, 23, 42, 0.55);

  --brand-primary:        #2563EB;
  --brand-primary-hover:  #1D4ED8;
  --brand-primary-bright: #3B82F6;
  --brand-accent-soft:    rgba(37, 99, 235, 0.18);
  --brand-accent-glow:    rgba(37, 99, 235, 0.45);

  --text-strong:   #FFFFFF;
  --text-default:  #E2E8F0;
  --text-muted:    #A5B4CD;
  --text-dim:      #94A3B8;

  --border-subtle: rgba(165, 180, 205, 0.10);
  --border-strong: rgba(165, 180, 205, 0.20);

  --font-brand: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { 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(37, 99, 235, 0.15), transparent 60%),
    radial-gradient(ellipse 60% 45% at 15% 30%, rgba(59, 130, 246, 0.07), transparent 65%),
    radial-gradient(ellipse 70% 50% at 85% 90%, rgba(37, 99, 235, 0.08), 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;
  /* Modern-blue presence — restrained, never garish. */
  background: radial-gradient(circle, rgba(37, 99, 235, 0.38), transparent 70%);
}
.atmosphere-glow-bottom {
  bottom: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  max-width: 800px;
  height: 40vh;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.20), 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(37, 99, 235, 0.32))
    drop-shadow(0 0 48px rgba(59, 130, 246, 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(37, 99, 235, 0.18),
    0 0 52px rgba(37, 99, 235, 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(59, 130, 246, 0.55),
    0 0 56px rgba(37, 99, 235, 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 ────────────────────── */

.visually-hidden {
  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(59, 130, 246, 0.35),
    0 0 16px rgba(37, 99, 235, 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(37, 99, 235, 0.22);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.submit-btn {
  position: relative;
  background: linear-gradient(135deg, var(--brand-primary-bright) 0%, var(--brand-primary) 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(37, 99, 235, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  white-space: nowrap;
}
.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 36px rgba(37, 99, 235, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  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(59, 130, 246, 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(59, 130, 246, 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(59, 130, 246, 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(59, 130, 246, 0.85);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid rgba(37, 99, 235, 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(37, 99, 235, 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(37, 99, 235, 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(37, 99, 235, 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(37, 99, 235, 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(37, 99, 235, 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(37, 99, 235, 0.18);
  flex-shrink: 0;
}
.support-panel-brand img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 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(147, 197, 253, 0.85);
}
.support-panel-status.is-form-mode .support-panel-status-dot {
  background: #60a5fa;
  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(96, 165, 250, 0.32), rgba(37, 99, 235, 0.10) 70%);
  border: 1px solid rgba(96, 165, 250, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 3px 14px -2px rgba(37, 99, 235, 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(37, 99, 235, 0.45);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.06),
      0 3px 18px -2px rgba(59, 130, 246, 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: #93c5fd;          /* 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(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 60%),
    rgba(11, 20, 38, 0.30);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.10),
              inset 0 1px 0 0 rgba(96, 165, 250, 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(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 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(37, 99, 235, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 8px;
  cursor: pointer;
  transition: background 120ms ease, transform 120ms ease;
}
.support-ticket-again:hover {
  background: rgba(37, 99, 235, 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%, #93c5fd 50%),
                    linear-gradient(135deg, #93c5fd 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(96, 165, 250, 0.22);
  color: var(--text-default);
  border-bottom-left-radius: 4px;
  box-shadow:
    inset 0 0 0 1px rgba(96, 165, 250, 0.06),
    0 2px 10px -6px rgba(37, 99, 235, 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(37, 99, 235, 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(96, 165, 250, 0.55);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 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(59, 130, 246, 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(37, 99, 235, 0.55),
    0 0 22px -4px rgba(59, 130, 246, 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(37, 99, 235, 0.40),
      0 0 36px -8px rgba(59, 130, 246, 0.30);
    border-color: rgba(96, 165, 250, 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(96, 165, 250, 0.70);
  outline-offset: 2px;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.18),
    0 0 22px -4px rgba(59, 130, 246, 0.45);
  transition: outline 120ms ease, box-shadow 120ms ease;
}
