:root {
    --bg: #f6f1e8;
    --surface: rgba(255, 252, 247, 0.88);
    --surface-strong: #fffaf3;
    --text: #1f2933;
    --muted: #5f6c7a;
    --border: rgba(31, 41, 51, 0.12);
    --accent: #0f766e;
    --accent-strong: #115e59;
    --shadow: 0 20px 45px rgba(31, 41, 51, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 32%),
        linear-gradient(180deg, #fbf7f0 0%, var(--bg) 100%);
}

a {
    color: inherit;
}

code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.95em;
}

.site-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 48px;
}

.site-header,
.site-footer,
.hero,
.section-card,
.note-panel,
.highlight-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
}

.site-name {
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.eyebrow,
.note-label,
.card-title {
    margin: 0 0 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.site-nav a {
    text-decoration: none;
    color: var(--muted);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
    gap: 24px;
    margin-top: 20px;
    padding: 28px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.3rem, 6vw, 4.8rem);
    line-height: 0.95;
    max-width: 11ch;
}

.intro {
    margin: 18px 0 0;
    max-width: 60ch;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted);
}

.actions {
    margin-top: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--accent);
    color: #f8fffd;
    text-decoration: none;
    font-weight: 700;
}

.button:hover,
.button:focus-visible {
    background: var(--accent-strong);
}

.highlight-card {
    align-self: end;
    padding: 22px;
}

.highlight-card ul {
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.7;
}

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

.section-card {
    padding: 22px;
}

.section-card h2 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.section-card p,
.note-panel p,
.site-footer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.note-panel {
    margin-top: 20px;
    padding: 22px;
}

.site-footer {
    margin-top: 20px;
}

body.site-ready .hero,
body.site-ready .section-card,
body.site-ready .note-panel,
body.site-ready .highlight-card {
    animation: rise-in 460ms ease both;
}

body.site-ready .section-card:nth-child(2) {
    animation-delay: 80ms;
}

body.site-ready .section-card:nth-child(3) {
    animation-delay: 160ms;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .hero,
    .section-grid,
    .site-header,
    .site-footer {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        max-width: none;
    }
}
