/* ── Drothven base.css ──────────────────────────────────
   Reset, CSS custom properties, typography (Bitter + Plus Jakarta Sans).
   ─────────────────────────────────────────────────────── */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-wrap: break-word; word-wrap: break-word; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }

/* ── Custom Properties ─────────────────────────────────── */
:root {
    /* Colours */
    --c-bg:             #14111B;
    --c-surface:        #1D1A27;
    --c-surface-2:      #252233;
    --c-text:           #EDE8E1;
    --c-text-dim:       #9590A0;
    --c-accent:         #E8652A;
    --c-accent-hover:   #F07A42;
    --c-accent-sec:     #3B8868;
    --c-accent-sec-text:#4CA87A;
    --c-border:         #2A2735;
    --c-win:            #3B8868;
    --c-loss:           #C44B4B;
    --c-error:          #C44B4B;

    /* Typography */
    --f-heading: 'Bitter', serif;
    --f-body:    'Plus Jakarta Sans', sans-serif;

    /* Border radius */
    --r-sm: 3px;
    --r-md: 6px;
    --r-lg: 8px;

    /* Layout */
    --max-w:    1200px;
    --header-h: 68px;

    /* Transitions */
    --dur:  260ms;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing scale */
    --s-4:  0.25rem;
    --s-8:  0.5rem;
    --s-12: 0.75rem;
    --s-16: 1rem;
    --s-20: 1.25rem;
    --s-24: 1.5rem;
    --s-32: 2rem;
    --s-40: 2.5rem;
    --s-48: 3rem;
    --s-56: 3.5rem;
    --s-64: 4rem;
    --s-80: 5rem;
    --s-96: 6rem;
}

/* ── Base Typography ───────────────────────────────────── */
body {
    font-family: var(--f-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--c-text);
    background-color: var(--c-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-heading);
    line-height: 1.25;
    color: var(--c-text);
}

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

h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

h1 em, h2 em {
    font-style: italic;
    font-weight: 500;
}

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

a {
    color: var(--c-accent);
    transition: color var(--dur) var(--ease);
}
a:hover {
    color: var(--c-accent-hover);
}

/* Focus */
:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 2px;
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden !important;
}
