:root {
    --ink-900: #112536;
    --ink-700: #2f4558;
    --sand-100: #f5f2ec;
    --sand-200: #ece6dc;
    --accent-600: #8a4b1f;
    --paper: #ffffff;
    --line: #d8d1c8;
    --radius: 12px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Karla", Arial, sans-serif;
    color: var(--ink-900);
    background: var(--paper);
    line-height: 1.7;
}

h1, h2, h3, .logo, .eyebrow {
    font-family: "Bitter", Georgia, serif;
    color: var(--ink-900);
}

a { color: var(--accent-600); text-underline-offset: 2px; }

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.narrow { width: min(820px, 100%); }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink-900);
    color: #fff;
    padding: 0.6rem 1rem;
    z-index: 1000;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(4px);
    z-index: 20;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0;
}

.logo { margin: 0; font-size: 1.3rem; }

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.menu a {
    padding: 0.35rem 0.6rem;
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none;
}

.menu a:hover, .menu a:focus-visible {
    border-color: var(--line);
    outline: none;
}

.hero, .section, .notice { padding: 4rem 0; }
.alt {
    background: var(--sand-100);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.hero-center { text-align: center; width: min(900px, 100%); }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent-600);
    margin-bottom: 0.7rem;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.6rem; }

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    margin-top: 1.2rem;
}

.btn {
    border-radius: 999px;
    padding: 0.65rem 1rem;
    border: 1px solid var(--ink-900);
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}

.btn-primary { background: var(--ink-900); color: #fff; }
.btn-outline { background: #fff; color: var(--ink-900); }
.btn-ghost { background: transparent; color: var(--accent-600); border-color: var(--accent-600); }

.reading {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.cards, .quotes, .glossary-grid {
    display: grid;
    gap: 1rem;
}

.cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.quotes { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.glossary-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card, blockquote, .glossary-grid article, details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 1rem;
}

blockquote { margin: 0; }

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form, .newsletter {
    display: grid;
    gap: 0.6rem;
}

input, textarea, button { font: inherit; }

input, textarea {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
}

.check {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.check-sm { font-size: 0.9rem; }

.hp {
    position: absolute;
    left: -9999px;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 2.5rem 0;
    background: var(--sand-100);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 1.3rem;
    align-items: start;
}

.legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
}

.legal {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.thanks {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.thanks-box {
    width: min(700px, 100%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
}

.cookie {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.9rem;
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    align-items: center;
}

.hidden { display: none; }

@media (max-width: 920px) {
    .contact-wrap, .footer-grid { grid-template-columns: 1fr; }
    .header-inner { flex-direction: column; align-items: flex-start; }
    .cookie { flex-direction: column; align-items: stretch; }
}
