:root {
    --bg: #f5efe4;
    --paper: rgba(255, 251, 246, 0.88);
    --paper-strong: #fffaf3;
    --text: #1f2a1f;
    --muted: #5d675c;
    --accent: #1f7a5c;
    --accent-deep: #165a44;
    --border: rgba(31, 42, 31, 0.1);
    --shadow: 0 20px 50px rgba(56, 54, 43, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background:
        radial-gradient(circle at top left, rgba(255, 218, 185, 0.8), transparent 34%),
        radial-gradient(circle at top right, rgba(164, 214, 185, 0.6), transparent 30%),
        linear-gradient(180deg, #fbf7ef 0%, #efe6d7 100%);
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Avenir Next", "Segoe UI", sans-serif;
}

a {
    color: inherit;
}

.page-shell {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 56px;
}

.hero {
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(255, 248, 238, 0.9));
    box-shadow: var(--shadow);
}

.hero-compact {
    padding-bottom: 28px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent-deep);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
    font-size: clamp(2.6rem, 7vw, 4.8rem);
    line-height: 0.96;
}

h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
}

.lede,
.card p,
.legal-card p,
.bullet-list {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.lede {
    max-width: 42rem;
    margin: 18px 0 0;
}

.text-link:hover,
.footer-link:hover {
    transform: translateY(-1px);
}

.text-link {
    color: var(--accent-deep);
    font-weight: 700;
    text-underline-offset: 0.18em;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--paper);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.card-wide {
    margin-top: 22px;
    background: var(--paper-strong);
}

.legal-card h2 + p,
.legal-card ul + h2 {
    margin-top: 0;
}

.legal-card h2:not(:first-child) {
    margin-top: 28px;
}

.bullet-list {
    margin: 0;
    padding-left: 20px;
}

.bullet-list li + li {
    margin-top: 10px;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 26px;
    padding: 6px 2px 0;
    color: rgba(31, 42, 31, 0.58);
    font-size: 0.86rem;
}

.footer-mark {
    margin-right: 4px;
}

.footer-link {
    color: rgba(31, 42, 31, 0.58);
    text-decoration: none;
    transition: transform 140ms ease, color 140ms ease;
}

.footer-link:hover {
    color: var(--accent-deep);
}

@media (max-width: 760px) {
    .page-shell {
        width: min(100% - 20px, 960px);
        padding-top: 20px;
    }

    .hero,
    .card {
        padding: 22px;
        border-radius: 22px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}
