:root {
    --bg: #6fb6ff;
    --surface: #fff8d6;
    --text: #2f1b00;
    --muted: #5c3f1f;
    --brand: #e52521;
    --brand-dark: #aa1815;
    --accent: #2aa84a;
    --border: #2f1b00;
    --shadow: 6px 6px 0 rgba(47, 27, 0, 0.9);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Courier New", "Lucida Console", monospace;
    color: var(--text);
    background:
        linear-gradient(180deg, #72c1ff 0%, #80d0ff 55%, #85d57e 56%, #85d57e 100%);
    line-height: 1.5;
    image-rendering: pixelated;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    opacity: 0.9;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    background: #ffd54a;
    border-bottom: 4px solid var(--border);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

.brand {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

nav {
    display: flex;
    gap: 1.2rem;
}

.hero {
    padding: 3.3rem 0 2.3rem;
}

.eyebrow {
    margin: 0 0 0.8rem;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-shadow: 2px 2px 0 #1d5b99;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3.3rem);
    line-height: 1.05;
    text-transform: uppercase;
    text-shadow: 3px 3px 0 #fff0a5;
}

.lead {
    font-size: 1.06rem;
    color: #1f2c2f;
    max-width: 700px;
    margin-top: 1rem;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1rem;
    border-radius: 0;
    font-weight: 700;
    border: 3px solid var(--border);
    box-shadow: 4px 4px 0 rgba(47, 27, 0, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-primary {
    color: #fffceb;
    background: var(--brand);
}

.btn-primary:hover {
    background: var(--brand-dark);
    text-decoration: none;
}

.btn-secondary {
    color: #fffceb;
    background: var(--accent);
}

.btn-secondary:hover {
    text-decoration: none;
    background: #21823a;
}

.section {
    padding: 2rem 0;
}

.section-muted {
    background: #ffe18f;
    border-top: 4px solid var(--border);
    border-bottom: 4px solid var(--border);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.card {
    background: var(--surface);
    border: 3px solid var(--border);
    border-radius: 0;
    box-shadow: var(--shadow);
    padding: 1.2rem;
}

.card-compact p {
    margin: 0.4rem 0;
}

.split {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.prose {
    max-width: 780px;
}

.updates {
    padding-left: 1.1rem;
}

.faq {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fffef4;
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
}

.data-table th,
.data-table td {
    border: 2px solid var(--border);
    padding: 0.7rem 0.8rem;
    text-align: left;
    vertical-align: top;
}

.data-table th {
    background: #ffd54a;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tag-cloud {
    border: 3px dashed var(--border);
    background: #fff4b9;
    padding: 1rem;
    font-weight: 700;
}

.timeline {
    border-left: 4px solid var(--border);
    padding-left: 1rem;
}

.note-box {
    border: 3px solid var(--border);
    background: #fff4b9;
    padding: 0.6rem 0.8rem;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    margin: 0.4rem 0 0.95rem;
    border: 2px solid var(--border);
    border-radius: 0;
    padding: 0.65rem 0.75rem;
    font: inherit;
    background: #fffef4;
}

.site-footer {
    border-top: 4px solid var(--border);
    background: #2f1b00;
    margin-top: 2rem;
}

.footer-wrap {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffe08a;
    font-size: 0.92rem;
}

@media (max-width: 900px) {
    .grid-3,
    .split,
    .grid-2,
    .faq {
        grid-template-columns: 1fr;
    }

    nav {
        gap: 0.75rem;
        font-size: 0.95rem;
    }
}
