/* ==========================================================================
   ULISES MARKETING — GLOBAL DESIGN SYSTEM
   Design tokens, reset, typography, and shared utilities.
   ========================================================================== */

/* ── Design Tokens ── */
:root {
    --um-bg: #020B1C;
    --um-bg-lighter: #04122C;
    --um-surface: rgba(6, 19, 43, 0.4);
    --um-surface-solid: #06132b;
    --um-accent: #00FFA3;
    --um-accent-hover: #00cc82;
    --um-accent-glow: rgba(0, 255, 163, 0.15);
    --um-text-white: #ffffff;
    --um-text-light: rgba(255, 255, 255, 0.85);
    --um-text-muted: rgba(255, 255, 255, 0.65);
    --um-text-dim: rgba(255, 255, 255, 0.4);
    --um-border: rgba(255, 255, 255, 0.08);
    --um-border-light: rgba(255, 255, 255, 0.15);
    --um-radius: 1rem;
    --um-radius-lg: 1.5rem;
    --um-radius-pill: 50px;
    --um-header-height: 80px;
    --um-max-width: 1240px;
    --um-font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --um-transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--um-font);
    background-color: var(--um-bg);
    color: var(--um-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--um-accent);
    text-decoration: none;
    transition: var(--um-transition);
}

a:hover {
    color: var(--um-accent-hover);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--um-font);
    color: var(--um-text-white);
    font-weight: 700;
    line-height: 1.2;
}

/* ── Utilities ── */
.um-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;
}

.um-main,
#um-main {
    min-height: 60vh;
    /* No padding-top: the fixed floating header sits on top of content */
    overflow: visible;
    width: 100%;
}

.um-full-width {
    width: 100%;
    overflow: visible;
}

/* Page content wrapper — allows breakout sections */
.um-page-content {
    position: relative;
}

/* ── Selection Color ── */
::selection {
    background: rgba(0, 255, 163, 0.3);
    color: #ffffff;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}
