/* ════════════════════════════════════════════════════════════════
   BASE — reset + html/body + global typography defaults
   ════════════════════════════════════════════════════════════════ */

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

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

body {
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings use the editorial sans (Plus Jakarta Sans) by default */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--text-primary);
}

h1 { font-size: clamp(40px, 5vw, 72px); }
h2 { font-size: clamp(32px, 3.5vw, 48px); }
h3 { font-size: clamp(20px, 2vw, 28px); }
h4 { font-size: 18px; }

p {
    color: var(--text-secondary);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

ul, ol {
    list-style: none;
}
