/* ============================================================
   atoms.css — design tokens, reset, base typography
   ============================================================ */

:root {
    --ac: #ccff66;
    --bg: #ffffff;
    --dk: #00284d;
    --fg: #003366;
    --ln: #d9e2ec;
    --mut: #4a6b8a;
}

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

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

body {
    background: var(--bg);
    color: var(--fg);
    font-family: 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    margin: 0;
}

h1,
h2,
h3,
h4 {
    font-family: 'Alegreya', Georgia, serif;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.375rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 1rem;
}

a {
    color: inherit;
    text-decoration-color: var(--ac);
    text-decoration-thickness: 0.125rem;
    text-underline-offset: 0.1875rem;
}

a:hover {
    background: var(--ac);
    color: var(--dk);
    text-decoration: none;
}

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

ul,
ol {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

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

button,
input {
    font: inherit;
}

::selection {
    background: var(--ac);
    color: var(--dk);
}
