/* ═══════════════════════════════════════════════════════════
   GITANA DESIGN SYSTEM — Base Styles
   
   Typography, body defaults, headings, links, and text utilities.
   Fonts: Inter (body) + Outfit (display/headings)
   ═══════════════════════════════════════════════════════════ */

/* ─── Body ─── */
.gitana-body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--weight-regular);
    line-height: var(--leading-normal);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    overflow-x: hidden;
}

/* ─── Headings ─── */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--color-text-primary);
}

h1, .h1 { font-size: var(--text-5xl); }
h2, .h2 { font-size: var(--text-4xl); }
h3, .h3 { font-size: var(--text-3xl); }
h4, .h4 { font-size: var(--text-2xl); }
h5, .h5 { font-size: var(--text-xl); }
h6, .h6 { font-size: var(--text-lg); }

/* ─── Paragraphs ─── */
p {
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

p:last-child {
    margin-bottom: 0;
}

/* ─── Links ─── */
a {
    color: var(--color-text-link);
    transition: color var(--transition-fast);
}

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

/* ─── Strong / Bold ─── */
strong, b {
    font-weight: var(--weight-semibold);
    color: var(--color-text-primary);
}

/* ─── Small ─── */
small {
    font-size: var(--text-sm);
    color: var(--color-text-tertiary);
}

/* ─── Code ─── */
code {
    font-family: var(--font-mono);
    font-size: 0.9em;
    padding: 0.15em 0.4em;
    background: var(--color-surface-1);
    border-radius: var(--radius-sm);
    color: var(--color-primary-teal-light);
}

/* ─── Horizontal Rule ─── */
hr {
    border: none;
    height: 1px;
    background: var(--color-border);
    margin: var(--space-8) 0;
}

/* ─── Text Utilities ─── */
.text-accent { color: var(--color-text-accent); }
.text-muted { color: var(--color-text-tertiary); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-error { color: var(--color-error); }

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

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

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Visually Hidden (Accessibility) ─── */
.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;
}
