/* Shared GeoStates design tokens + base. Linked before each page's stylesheet. */

@font-face {
    font-family: 'Neo-Sans';
    src: url('Neo-Sans.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Brand palette — sky blue + leaf green */
    --sky-1: #a1c4fd;
    --sky-2: #90daee;
    --bg-app: linear-gradient(135deg, var(--sky-1) 0%, var(--sky-2) 100%);

    --accent: #5fa80d;
    --accent-strong: #4d8c08;
    --accent-soft: #eaf5db;

    /* Ink + surfaces */
    --ink: #1f2530;
    --ink-2: #4a5260;
    --ink-3: #717a88;
    --surface: #ffffff;
    --surface-2: #f5f8fb;
    --border: #d9e0e8;
    --link: #1597cf;
    --footer-bg: #222834;

    /* Radii */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-xl: 24px;
    --r-pill: 999px;

    /* Soft, layered shadows */
    --shadow-1: 0 1px 2px rgba(20, 28, 46, .06), 0 1px 3px rgba(20, 28, 46, .10);
    --shadow-2: 0 6px 16px rgba(20, 28, 46, .10), 0 2px 6px rgba(20, 28, 46, .06);
    --shadow-3: 0 18px 40px rgba(20, 28, 46, .18), 0 6px 12px rgba(20, 28, 46, .10);

    /* Typography */
    --font-display: 'Neo-Sans', 'Segoe UI', system-ui, sans-serif;
    --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

body,
h1, h2, h3,
p {
    margin: 0;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 2px;
}

/* Visually hidden, but available to screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Primary button */
.btn {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    padding: 0 1.6rem;
    font: 600 1rem/1 var(--font-body);
    color: #fff;
    background-color: var(--accent);
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-1);
    transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease;
}

.btn:hover {
    background-color: var(--accent-strong);
    box-shadow: var(--shadow-2);
}

.btn:active {
    transform: translateY(1px);
}
