/* =============================================================
   BASE — design tokens, resets, typography, global primitives
   ============================================================= */

/* --- Design tokens --- */
:root {
    --color-navy:       #0f172a;
    --color-navy-mid:   #1e3a5f;
    --color-slate-900:  #0f172a;
    --color-slate-700:  #334155;
    --color-slate-500:  #64748b;
    --color-slate-400:  #94a3b8;
    --color-slate-200:  #e2e8f0;
    --color-slate-100:  #f1f5f9;
    --color-slate-50:   #f8fafc;
    --color-white:      #ffffff;
    --color-blue:       #2563eb;
    --color-blue-dark:  #1d4ed8;
    --color-green:      #16a34a;
    --color-amber:      #d97706;
    --color-red:        #dc2626;

    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  14px;
    --radius-xl:  16px;
    --radius-pill: 30px;

    --shadow-sm:  0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
    --shadow-md:  0 4px 24px rgba(0,0,0,0.07);
    --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);

    --header-height: 4rem;

    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                 'Helvetica Neue', Arial, sans-serif;
}

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

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--color-slate-700, #334155);
}

/* --- Footer (shared base) --- */
footer {
    float: left;
    width: 100%;
    height: 1.5em;
    text-align: center;
    background-color: dimgray;
}

footer * {
    color: white;
    font-size: 1em;
    margin: 0.1em;
}

/* --- Form elements base --- */
input, select {
    border-radius: var(--radius-sm);
    font-size: 1em;
    margin: 0;
    outline: 0;
    border: 1px solid #aaaaaa;
    padding: 8px;
}
