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

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

body {
    font-family: var(--f-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-text);
    background-color: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

table {
    border-collapse: collapse;
    width: 100%;
}

/* ── Custom Properties ──────────────────────────────── */
:root {
    /* Colors */
    --c-bg:          #0B0E1A;
    --c-surface:     #141828;
    --c-surface2:    #1C2035;
    --c-border:      #2A2E42;
    --c-text:        #E2E0EC;
    --c-text-dim:    #8B89A0;
    --c-accent:      #9B3A6A;
    --c-accent-hover:#B34D7E;
    --c-accent-sec:  #6B4C8A;
    --c-special:     #1A1230;
    --c-white:       #F4F2FA;
    --c-error:       #D94452;
    --c-success:     #4CAF7D;

    /* Fonts */
    --f-heading: 'Space Grotesk', -apple-system, sans-serif;
    --f-body:    'Manrope', -apple-system, sans-serif;

    /* Spacing (8px grid) */
    --s-4:   0.25rem;
    --s-8:   0.5rem;
    --s-12:  0.75rem;
    --s-16:  1rem;
    --s-24:  1.5rem;
    --s-32:  2rem;
    --s-40:  2.5rem;
    --s-48:  3rem;
    --s-64:  4rem;
    --s-80:  5rem;
    --s-96:  6rem;
    --s-120: 7.5rem;

    /* Transitions */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --dur:  280ms;

    /* Layout */
    --max-w:    1180px;
    --header-h: 56px;

    /* Radius */
    --r-sm:   6px;
    --r-md:   10px;
    --r-lg:   14px;
    --r-pill: 100px;
}

/* ── Typography ─────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-heading);
    color: var(--c-white);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.625rem, 3vw + 0.5rem, 2.5rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.25rem, 2vw + 0.25rem, 1.625rem);
    font-weight: 600;
}

p {
    margin-bottom: var(--s-16);
}

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

strong {
    font-weight: 600;
}

/* ── Labels ─────────────────────────────────────────── */
.label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--c-text-dim);
}

/* ── Links within content ───────────────────────────── */
.content a,
.entry-content a {
    color: var(--c-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--dur) var(--ease);
}

.content a:hover,
.entry-content a:hover {
    color: var(--c-accent-hover);
}

/* ── Selection ──────────────────────────────────────── */
::selection {
    background-color: var(--c-accent);
    color: var(--c-white);
}
