/* ============================================================
   VIXA · BASE LAYER
   Global element defaults + brand utility classes.
   Website mode = pure dark (#0A0A0A), DM Sans, restrained.
   ============================================================ */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tracking-tight);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: var(--fw-bold);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--brand-hover); }

button { font-family: inherit; }

::selection { background: color-mix(in srgb, var(--blue-500) 40%, transparent); color: var(--white); }

/* ---- Brand utility classes ---- */

/* Blue accent word inside a headline (the website's headline treatment) */
.vx-accent { color: var(--brand); }

/* Hero headline (Gotham Bold, tight) */
.vx-hero {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: clamp(48px, 6.4vw, 95px);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-hero);
  color: var(--text-strong);
}

/* Uppercase micro eyebrow — Inter Light, often with a small blue mark */
.vx-eyebrow {
  font-family: var(--font-label);
  font-weight: var(--fw-light);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Pill — the brand's signature button/eyebrow/tab shape */
.vx-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  padding: 0 24px;
}

/* Small leading status dot used inside pill buttons */
.vx-dot {
  width: 16px; height: 16px; border-radius: var(--radius-pill);
  background: var(--brand); flex: none;
}

/* SOCIAL/POSTER MODE only — cyan→sky→blue gradient text */
.vx-gradient-text {
  background: var(--gradient-headline);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* SOCIAL/POSTER MODE — heavy poster caps (Gotham Black) */
.vx-poster {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  letter-spacing: var(--tracking-hero);
  line-height: var(--leading-tight);
  color: var(--text-strong);
}

/* SOCIAL/POSTER MODE — dotted wash + wave depth surface */
.vx-surface-dark {
  position: relative;
  background: var(--gradient-wave);
  color: var(--text-body);
}
.vx-surface-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--texture-dots);
  background-size: var(--texture-dots-size);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

/* SOCIAL/POSTER MODE — HUD glow panel */
.vx-hud {
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  border: var(--hud-border);
  box-shadow: var(--hud-ring);
}
