/* ==========================================================================
   WP-KORE CORE — CANONICAL CUBE CSS UTILITIES
   Predictable, Human-Centered Utility Catalog (58 Canonical Utilities)
   5 Sovereign Groups:
     1. Modern CSS Reset & Native Defaults
     2. Ready-to-Use Typographic Kits (.h-display, .lead, .caption, .kicker, .kpi-number, .telemetry-num, .cad-crosshair)
     3. Text Colors, Surfaces & Borders (.text-main, .text-muted, .text-dim, .text-brand, .text-accent, .bg-canvas, .bg-surface, .bg-dark, .border, .radius-*)
     4. Layout Helpers, Aspect & A11y (.w-full, .h-full, .relative, .absolute, .aspect-*, .object-cover, .line-clamp-*, .sr-only, .skip-link)
     5. Atmospheric Direct Pseudo-Effects (.bg-grid-blueprint, .inverse-bg-grid, .hero-radial-glow, .card-cta--orbital)
   ========================================================================== */

/* ==========================================================================
   1. MODERN CSS RESET & NATIVE DEFAULTS
   ========================================================================== */
/* Modern CSS Reset & Native Defaults (Unlayered Sovereignty) */
:where(*, *::before, *::after) {
  box-sizing: border-box;
  min-width: 0;
}

:where(html) {
  font-size: 100%;
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  overflow-x: clip;
  scroll-behavior: smooth;
  font-optical-sizing: auto;
  scrollbar-color: oklch(14% var(--canvas-c) var(--dark-h) / 0.25) var(--canvas);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 0.625rem;
  height: 0.625rem;
}

::-webkit-scrollbar-track {
  background: var(--canvas);
}

::-webkit-scrollbar-thumb {
  --local-thumb-bg: oklch(14% var(--canvas-c) var(--dark-h) / 0.22);
  background: var(--local-thumb-bg);
  border-radius: var(--radius-full);
  border: 0.125rem solid var(--canvas);
}

::-webkit-scrollbar-thumb:hover {
  --local-thumb-bg: oklch(14% var(--canvas-c) var(--dark-h) / 0.45);
}

:where(body) {
  min-height: 100dvh;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  font-family: var(--font-sans);
  background-color: var(--canvas);
  color: var(--text-main);
}

:where(img, picture, video, canvas, svg) {
  display: block;
  max-width: 100%;
  height: auto;
  shape-margin: var(--space-sm);
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(p, h1, h2, h3, h4, h5, h6, a, figure, blockquote, dl, dd) {
  overflow-wrap: break-word;
  margin-block: inherit;
  font-family: inherit;
}

:where(h1) {
  font-family: var(--font-display);
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-heading);
}

:where(h2) {
  font-family: var(--font-display);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-heading);
}

:where(h3) {
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
}

:where(h4) {
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-heading);
}

:where(p) {
  font-size: var(--font-size-body);
  line-height: var(--leading-normal);
}

:where(small) {
  font-size: var(--font-size-sm);
}

:where(ul[class], ol[class], ul[role="list"], ol[role="list"]) {
  list-style: none;
  margin: 0;
  padding: 0;
}

:where(hr, .divider) {
  display: block;
  width: 100%;
  margin-block: var(--space-md);
  border: 0;
  border-top: 1px solid var(--surface-border);
}

.divider-brand {
  border-top-color: var(--brand);
}

:where(a) {
  text-decoration: none;
  color: inherit;
}

:where(strong, b) {
  font-weight: var(--font-weight-bold);
}

:where(iframe) {
  border: 0;
}

/* ==========================================================================
   2. READY-TO-USE TYPOGRAPHIC KITS & UTILITIES
   ========================================================================== */

.h-display {
  font-family: var(--font-display);
  font-size: var(--font-size-display);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}

.lead {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-relaxed);
  text-wrap: pretty;
}

.caption {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-regular);
  line-height: 1.4;
  color: var(--text-muted);
}

.kicker {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: var(--tracking-mono);
  --local-kicker-color: var(--brand);
  color: var(--local-kicker-color);
}

.kicker-accent {
  --local-kicker-color: var(--brand-accent);
}

.bg-dark .kicker,
.stage-dark .kicker,
.surface-inverse .kicker,
[data-intent="inverse"] .kicker {
  --local-kicker-color: var(--brand-accent-on-dark);
}

:is(.bg-dark, .stage-dark, .surface-inverse, [data-intent="inverse"]) .kicker-accent {
  --local-kicker-color: var(--brand-accent-on-dark);
}

.kpi-number {
  font-family: var(--font-display);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.03em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.cad-crosshair {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  user-select: none;
  pointer-events: none;
}

.telemetry-num {
  font-family: var(--font-mono);
  --local-telemetry-size: clamp(2rem, 4vw, 3.5rem);
  font-size: var(--local-telemetry-size);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: -0.04em;
  --local-telemetry-color: var(--brand);
  color: var(--local-telemetry-color);
}

/* Mid scale — compact hero/card panels where full display size dominates */
.telemetry-num-md {
  --local-telemetry-size: clamp(1.75rem, 2.8vw, 2.5rem);
}

.bg-dark .telemetry-num,
.stage-dark .telemetry-num,
.surface-inverse .telemetry-num,
[data-intent="inverse"] .telemetry-num {
  --local-telemetry-color: var(--brand-accent-on-dark);
}

.telemetry-label {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-mono);
  color: var(--text-muted);
}

/* Modificadores Tipográficos */
.font-display {
  font-family: var(--font-display);
}

.font-sans {
  font-family: var(--font-sans);
}

.font-mono {
  font-family: var(--font-mono);
}

.font-normal {
  font-weight: var(--font-weight-regular);
}

.font-medium {
  font-weight: var(--font-weight-medium);
}

.font-semibold {
  font-weight: var(--font-weight-semibold);
}

.font-bold {
  font-weight: var(--font-weight-bold);
}

.italic {
  font-style: italic;
}

.text-uppercase {
  text-transform: uppercase;
  letter-spacing: var(--tracking-mono);
}

.tracking-tight {
  letter-spacing: var(--tracking-heading);
}

.tracking-wider {
  letter-spacing: var(--tracking-mono);
}

.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: var(--leading-tight);
}

.leading-heading {
  line-height: var(--leading-heading);
}

.leading-normal {
  line-height: 1.5;
}

.leading-relaxed {
  line-height: 1.625;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-nowrap {
  white-space: nowrap;
}

.measure-prose {
  max-width: 68ch;
}

.measure-narrow {
  max-width: 44ch;
}

/* ==========================================================================
   3. COLORES DE TEXTO, SUPERFICIES & BORDES SEMÁNTICOS
   ========================================================================== */

.text-main {
  color: var(--text-main);
}

.text-muted {
  color: var(--text-muted);
}

.text-dim {
  color: var(--text-muted);
}

.text-white {
  color: var(--white);
}

.text-brand {
  color: var(--brand);
}

.text-accent {
  color: var(--brand-accent);
}

:is(.bg-dark, .stage-dark, .surface-inverse, [data-intent="inverse"]) .text-accent {
  color: var(--brand-accent-on-dark);
}

.text-gold {
  color: var(--accent-gold);
}

.text-sage {
  color: var(--accent-sage);
}

.text-terracotta {
  color: var(--brand);
}

.text-on-dark {
  color: var(--text-on-dark);
}

.text-on-dark-muted {
  color: var(--text-on-dark-muted);
}

.text-success {
  color: var(--status-success);
}

.text-warn {
  color: var(--status-warn);
}

.text-error {
  color: var(--status-error);
}

.text-gradient-brand {
  background-image: linear-gradient(135deg, var(--brand), var(--brand-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Superficies & Fondos Emparejados */
.bg-canvas {
  background-color: var(--canvas);
  color: var(--text-main);
}

.bg-surface {
  background-color: var(--surface);
  color: var(--text-main);
}

.bg-surface-elevated {
  background-color: var(--surface-elevated);
  color: var(--text-main);
}

.bg-subtle {
  background-color: var(--surface-subtle);
  color: var(--text-main);
}

.bg-island {
  background-color: var(--surface-island);
  color: var(--surface-island-on);
  border-color: var(--surface-island-border);
}

/* Canonical dark scene — remaps the surface ladder via --bg-dark* tokens.
   .stage-dark / .surface-inverse: deprecated aliases still present in live Oxygen DB content. */
:is(section, .ct-section):is(.bg-dark, .stage-dark, .surface-inverse) {
  border-top: 1px solid var(--bg-dark-border);
}

.bg-dark,
[data-intent="inverse"],
.stage-dark,
.surface-inverse {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--bg-dark-on);
  --surface: var(--bg-dark-surface);
  --surface-elevated: var(--bg-dark-elevated);
  --text-main: var(--bg-dark-on);
  --text-muted: var(--bg-dark-on-muted);
  --surface-border: var(--bg-dark-border);
  --brand-on: var(--bg-dark-on);
}



.bg-brand {
  background-color: var(--brand);
  color: var(--brand-on);
}

.bg-accent {
  background-color: var(--brand-accent);
  color: var(--brand-accent-on);
}

/* Bordes y Radios Semánticos (ADN RVToad - 4 Roles Universales)
   [border-subtle-color-only] .border-subtle SOLO pinta border-color.
   La geometría (width/style) la aportan .border / .border-b / .border-t o
   el componente .card — nunca un solo side-effect de 4 lados a 90°. */
.border {
  border: 1px solid var(--surface-border);
}

.border-subtle {
  border-color: var(--surface-border);
}

.border-dark {
  border-color: var(--surface-border);
}

.border-t-dark {
  border-top: 1px solid var(--surface-border);
}

.border-brand {
  border: 1px solid var(--brand);
}

.border-none {
  border: none;
}

.border-b {
  border-bottom: 1px solid var(--surface-border);
}

.border-t {
  border-top: 1px solid var(--surface-border);
}

.radius-control {
  border-radius: calc(var(--radius-brand) * 0.5);
}

.radius-card {
  border-radius: var(--radius-brand);
}

.radius-overlay {
  border-radius: calc(var(--radius-brand) * 1.33);
}

.radius-full {
  border-radius: var(--radius-full);
}

.radius-none {
  border-radius: 0;
}

/* ==========================================================================
   4. LAYOUT HELPERS, ASPECT & ACCESIBILIDAD (A11Y)
   ========================================================================== */

.w-full {
  width: 100%;
}

.w-60 {
  width: 100%;
}

@media (min-width: 48rem) {
  .w-60,
  .ct-div-block:is(.w-60) {
    width: 60%;
    max-width: 60%;
  }
}

.h-full {
  height: 100%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Superposition Overlay Badge & Card Positioning Utilities
   .badge (kore-badge.css) declares position:relative and loads after this
   sheet; the paired .badge.* selectors raise specificity so overlays stay
   absolute instead of degrading into relative offsets. */
.superposition-bottom-left,
.badge.superposition-bottom-left {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  z-index: 20;
}

.superposition-bottom-right,
.badge.superposition-bottom-right {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  z-index: 20;
}

.superposition-top-left,
.badge.superposition-top-left {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 20;
}

.superposition-top-right,
.badge.superposition-top-right {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 20;
}

/* Alignment & Justification Custom Variables Interface (Sovereign Dual-Target Pattern) */
.align-center:not(.ct-section),
.items-center:not(.ct-section),
.ct-section.align-center>.ct-section-inner-wrap,
.ct-section.items-center>.ct-section-inner-wrap {
  --local-align: center;
  align-items: center;
}

.align-start:not(.ct-section),
.items-start:not(.ct-section),
.ct-section.align-start>.ct-section-inner-wrap,
.ct-section.items-start>.ct-section-inner-wrap {
  --local-align: flex-start;
  align-items: flex-start;
}

.align-end:not(.ct-section),
.items-end:not(.ct-section),
.ct-section.align-end>.ct-section-inner-wrap,
.ct-section.items-end>.ct-section-inner-wrap {
  --local-align: flex-end;
  align-items: flex-end;
}

.align-baseline:not(.ct-section),
.ct-section.align-baseline>.ct-section-inner-wrap {
  --local-align: baseline;
  align-items: baseline;
}

.align-stretch:not(.ct-section),
.ct-section.align-stretch>.ct-section-inner-wrap {
  --local-align: stretch;
  align-items: stretch;
}

.justify-center:not(.ct-section),
.ct-section.justify-center>.ct-section-inner-wrap {
  --local-justify: center;
  --local-justify-items: center;
  justify-content: center;
}

.justify-start:not(.ct-section),
.ct-section.justify-start>.ct-section-inner-wrap {
  --local-justify: flex-start;
  --local-justify-items: flex-start;
  justify-content: flex-start;
}

.justify-end:not(.ct-section),
.ct-section.justify-end>.ct-section-inner-wrap {
  --local-justify: flex-end;
  --local-justify-items: flex-end;
  justify-content: flex-end;
}

.justify-between:not(.ct-section),
.ct-section.justify-between>.ct-section-inner-wrap {
  --local-justify: space-between;
  justify-content: space-between;
}

.opacity-xs {
  opacity: 0.25;
}

.opacity-sm {
  opacity: 0.50;
}

.opacity-md {
  opacity: 0.75;
}

.opacity-full {
  opacity: 1;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.aspect-portrait {
  aspect-ratio: 3 / 4;
}

.aspect-4-5 {
  aspect-ratio: 4 / 5;
}

.aspect-3-2 {
  aspect-ratio: 3 / 2;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.object-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-clip {
  overflow: clip;
}

/* Line Clamp Utilitario */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Paddings y Gaps Semánticos */
.pad-none {
  padding: 0;
}

.pad-3xs {
  padding: var(--space-3xs);
}

.pad-2xs {
  padding: var(--space-2xs);
}

.pad-xs {
  padding: var(--space-xs);
}

.pad-sm {
  padding: var(--space-sm);
}

.pad-md {
  padding: var(--space-md);
}

.pad-lg {
  padding: var(--space-lg);
}

.pad-xl {
  padding: var(--space-xl);
}

.pad-2xl {
  padding: var(--space-2xl);
}

.pad-card {
  padding: var(--space-md);
}

/* Padding Block (Vertical) */
.pad-block-3xs {
  padding-block: var(--space-3xs);
}

.pad-block-2xs {
  padding-block: var(--space-2xs);
}

.pad-block-xs {
  padding-block: var(--space-xs);
}

.pad-block-sm {
  padding-block: var(--space-sm);
}

.pad-block-md {
  padding-block: var(--space-md);
}

/* Padding Bottom */
.pad-bottom-3xs {
  padding-bottom: var(--space-3xs);
}

.pad-bottom-2xs {
  padding-bottom: var(--space-2xs);
}

.pad-bottom-xs {
  padding-bottom: var(--space-xs);
}

.pad-bottom-sm {
  padding-bottom: var(--space-sm);
}

.pad-bottom-md {
  padding-bottom: var(--space-md);
}

/* Padding Top */
.pad-top-3xs {
  padding-top: var(--space-3xs);
}

.pad-top-2xs {
  padding-top: var(--space-2xs);
}

.pad-top-xs {
  padding-top: var(--space-xs);
}

.pad-top-sm {
  padding-top: var(--space-sm);
}

.pad-top-md {
  padding-top: var(--space-md);
}

.gap-xs {
  gap: var(--space-xs);
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.gap-xl {
  gap: var(--space-xl);
}

.icon-sm {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.icon-md {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

.icon-lg {
  width: 2.25rem;
  height: 2.25rem;
  fill: currentColor;
}

.icon-xl {
  width: 3rem;
  height: 3rem;
  fill: currentColor;
}

.touch-target {
  min-height: 2.75rem;
  min-width: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 44pt HIG touch floor (alias named by CANONICAL_BUILDER_PLAYBOOK for page blueprints) */
.touch-target-44 {
  min-height: 2.75rem;
  min-width: 2.75rem;
}

.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;
}

.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  z-index: var(--z-modal);
  padding: var(--space-sm) var(--space-md);
  background: var(--brand);
  color: var(--brand-on);
  font-weight: var(--font-weight-semibold);
  border-radius: calc(var(--radius-brand) * 0.5);
}

.skip-link:focus {
  top: var(--space-sm);
  left: var(--space-sm);
  position: fixed;
}

.focus-ring:focus-visible {
  --local-shadow: var(--focus-ring);
  box-shadow: var(--local-shadow);
  outline: none;
}

/* Mobile-first: oculto por defecto en móvil; visible ≥48rem */
.hide-mobile {
  display: none;
}

@media (min-width: 48rem) {
  .hide-mobile {
    display: revert;
  }
}

@media (min-width: 48.0625rem) {
  .hide-desktop {
    display: none;
  }
}

.sticky-top {
  --local-sticky-pos: static;
  --local-sticky-top: auto;
  --local-sticky-align: auto;
  --local-sticky-z: auto;

  position: var(--local-sticky-pos);
  top: var(--local-sticky-top);
  align-self: var(--local-sticky-align);
  z-index: var(--local-sticky-z);
}

@media (min-width: 58.0625rem) {
  .sticky-top {
    --local-sticky-pos: sticky;
    --local-sticky-top: calc(var(--header-height) + 1.5rem);
    --local-sticky-align: flex-start;
    --local-sticky-z: 100;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   5. ATMOSPHERIC BACKDROPS & KINETIC MOTION (Pseudo-Elements Law)
   ========================================================================== */

:is(.surface-dark, .surface-inverse, [class*="surface-dark"], [data-intent="inverse"], [data-theme="dark"]) {
  --canvas-on: var(--surface);
}

/* Note: Background grid, radial glow and atmospheric stage effects have been consolidated in atmospheres.css */

.bg-cover {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.oxy-repeater-pages-wrap {
  display: none;
}

@keyframes kore-grid-drift {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 2.5rem 2.5rem;
  }
}

@keyframes kore-dot-drift {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 1.5rem 1.5rem;
  }
}

@keyframes kore-ambient-pulse {
  0% {
    opacity: 0.65;
    transform: translateY(-50%) scale(0.96);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.06);
  }

  100% {
    opacity: 0.65;
    transform: translateY(-50%) scale(0.96);
  }
}

@keyframes kore-hero-pulse {
  0% {
    opacity: 0.8;
    transform: translateX(-50%) scale(0.97);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.04);
  }

  100% {
    opacity: 0.8;
    transform: translateX(-50%) scale(0.97);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-radial-glow::after {
    animation: kore-hero-pulse 16s ease-in-out infinite;
    will-change: transform, opacity;
  }
}

/* ─── Live Status Dot (.pulse-dot) ───────────────────────────────────────
   Canonical live/online indicator used by AST sections and element renders
   (dashboard, account-form, inquiry-box). Color follows currentColor so it
   adapts to light/dark stages. Hard outline ring (never neon blur halos,
   per BLOCK_LIBRARY_ENGINEERING_MANUAL). Builder canvas shows the static
   dot only — oxygen-editor.css suppresses outline; frontend animates. */
.pulse-dot {
  --local-dot-size: 0.5rem;
  --local-dot-color: currentColor;

  display: inline-block;
  width: var(--local-dot-size);
  height: var(--local-dot-size);
  min-width: var(--local-dot-size);
  min-height: var(--local-dot-size);
  border-radius: var(--radius-full);
  background-color: var(--local-dot-color);
  flex-shrink: 0;
  vertical-align: middle;
}

@media (prefers-reduced-motion: no-preference) {
  .pulse-dot {
    animation: kore-pulse-dot-ring 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  }
}

@keyframes kore-pulse-dot-ring {
  0% {
    outline: 0 solid var(--local-dot-color);
  }

  70% {
    outline: 0.4rem solid transparent;
  }

  100% {
    outline: 0 solid transparent;
  }
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  align-self: flex-start;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.logo-link:hover {
  opacity: 0.85;
}

.logo-img,
a.logo-link img,
:where(footer) img[src*="Logo"],
:where(footer) img[alt*="Logo"] {
  height: 2.875rem;
  width: auto;
  max-width: 18.5rem;
  object-fit: contain;
  filter: none;
  mix-blend-mode: normal;
  background-color: transparent;
}

@media (max-width: 768px) {
  .logo-img,
  a.logo-link img,
  :where(footer) img[src*="Logo"],
  :where(footer) img[alt*="Logo"] {
    height: 2.25rem;
    max-width: 14rem;
  }
}

/* ==========================================================================
   6. ATOMIC SHORTHAND UTILITIES & COMPOSITION ASSISTS
   ========================================================================== */

/* Margin & Auto-Alignment Shorthands */
.m-0 {
  margin: 0 !important;
}

.m-auto {
  margin: auto !important;
}

.mi-auto {
  margin-inline: auto !important;
}

.mx-auto {
  margin-inline: auto !important;
}

.my-auto {
  margin-block: auto !important;
}


/* Positioning, Z-Index & Elevation Shorthands */
.top-sm {
  top: var(--space-sm);
}

.right-sm {
  right: var(--space-sm);
}

.left-sm {
  left: var(--space-sm);
}

.bottom-sm {
  bottom: var(--space-sm);
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: var(--shadow-lg);
}

.shadow-2xl {
  box-shadow: var(--shadow-lg);
}

/* Typographic Scale & Transform Shorthands */
.text-xs {
  font-size: var(--font-size-xs);
}

.text-sm {
  font-size: calc(var(--font-size-body) * 0.875);
}

.text-base {
  font-size: var(--font-size-body);
}

.text-lg {
  font-size: var(--font-size-body);
}

.text-xl {
  font-size: var(--font-size-h3);
}

.text-2xl {
  font-size: var(--font-size-h3);
}

.uppercase {
  text-transform: uppercase;
}

.nowrap {
  white-space: nowrap;
}

/* Display, Flexbox, Pointer & Grid Helpers */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-1 {
  flex: 1 1 0%;
}

.shrink-0 {
  flex-shrink: 0;
}

/* Canonical Icon Container & Squircle Box Centering Invariant */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.icon-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.icon-box > svg {
  display: block;
  flex-shrink: 0;
}

.icon-capsule > svg {
  display: block;
  flex-shrink: 0;
}

.icon-wrap > svg {
  display: block;
  flex-shrink: 0;
}

.pointer-events-none {
  pointer-events: none;
}

.cursor-pointer {
  cursor: pointer;
}

.bg-transparent {
  background-color: transparent !important;
}

.border-glass {
  border: 1px solid var(--surface-border);
}