/* ============================================
   BASE — Reset + Global Styles
   ============================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--dark);
    background: var(--light-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: color var(--duration); }
ul, ol { list-style: none; }
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
    background: none;
}
button { cursor: pointer; }

/* ── Container ────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ── Typography ───────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--dark);
}

.heading-xl  { font-size: var(--text-4xl); font-weight: 800; }
.heading-lg  { font-size: var(--text-3xl); font-weight: 700; }
.heading-md  { font-size: var(--text-2xl); font-weight: 700; }
.heading-sm  { font-size: var(--text-xl);  font-weight: 700; }
.heading-xs  { font-size: var(--text-lg);  font-weight: 700; }

.text-gold   { color: var(--accent); }
.text-red    { color: var(--cta); }
.text-green  { color: var(--green); }
.text-primary { color: var(--primary); }
.text-muted  { color: var(--warm-gray); }
.text-sm     { font-size: var(--text-sm); }
.text-xs     { font-size: var(--text-xs); }

/* ── Utility ──────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

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