:root {
    --bg: #f3efe6;
    --surface: rgba(255, 252, 247, 0.94);
    --ink: #191714;
    --muted: #5f594f;
    --border: #d9d0c2;
    --accent: #0a5c63;
    --accent-strong: #063e43;
    --accent-soft: #dceeee;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, #efe3cc 0, transparent 28rem),
        linear-gradient(180deg, #f8f4eb 0%, var(--bg) 100%);
    opacity: 0;
    transform: translateY(16px);
}

body.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.container {
    width: min(100%, 70rem);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.narrow {
    width: min(100%, 48rem);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 244, 235, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.topbar {
    min-height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand img {
    height: 4rem;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.nav-link,
.text-link,
.footer-link {
    color: var(--ink);
    text-decoration: none;
}

.nav-link:hover,
.text-link:hover,
.footer-link:hover {
    text-decoration: underline;
}

.nav-link.active {
    font-weight: 700;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0 1.15rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.button-link:hover {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
}

.page-main {
    flex: 1;
    display: flex;
    align-items: center;
}

.hero,
.guide {
    display: grid;
    gap: 1.25rem;
    padding: 5rem 1.25rem 4rem;
}

.hero {
    min-height: 65vh;
    align-content: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    line-height: 0.98;
    max-width: 12ch;
}

.lede {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.65;
    max-width: 38rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.steps {
    display: grid;
    gap: 1rem;
    padding-left: 1.2rem;
}

.steps li {
    color: var(--ink);
    line-height: 1.65;
}

.steps a {
    color: var(--accent-strong);
}

.callout {
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface);
    display: grid;
    gap: 0.35rem;
}

.callout p {
    color: var(--muted);
    line-height: 1.55;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.4rem 0;
    background: rgba(255, 252, 247, 0.75);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.92rem;
}

@media (max-width: 720px) {
    .topbar {
        min-height: auto;
        padding: 1rem 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        width: 100%;
        justify-content: space-between;
    }

    .page-main {
        display: block;
    }

    .hero,
    .guide {
        padding-top: 3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    body.loaded {
        transition: none;
    }
}
