*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    color-scheme: light;
    --bg: #f5f1ea;
    --surface: #ffffff;
    --ink: #1f252b;
    --ink-soft: #4f5b66;
    --brand: #0f3f3d;
    --accent: #c59a63;
    --line: #e3ddd3;
    --radius: 20px;
    --shadow: 0 24px 60px rgba(15, 63, 61, 0.12);
}

body {
    margin: 0;
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top left, #fff7ec 0%, #f5f1ea 35%, #ece7dd 100%);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 16px;
    background: var(--brand);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    z-index: 10;
}

.skip-link:focus {
    left: 16px;
}

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(245, 241, 234, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "brand cta"
        "nav nav";
    align-items: start;
    gap: 8px 16px;
    padding: 18px 0;
}

.brand {
    display: flex;
    align-items: center;
    grid-area: brand;
    min-width: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-title {
    font-family: "Source Serif 4", Georgia, serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-left: 0;
    grid-area: nav;
    width: 100%;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--ink-soft);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-link.is-active,
.nav-link:hover {
    color: var(--brand);
    border-color: var(--accent);
}

.header-cta {
    margin-left: 0;
    grid-area: cta;
    justify-self: end;
    align-self: start;
}

.hero {
    position: relative;
    padding: 64px 0 40px;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, #c9a77c 0%, rgba(197, 154, 99, 0.1) 70%);
    top: -120px;
    right: -120px;
}

.hero::after {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #0f3f3d 0%, rgba(15, 63, 61, 0.08) 70%);
    bottom: -200px;
    left: -160px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 32px;
    align-items: stretch;
}

.hero-logo {
    max-width: 520px;
    margin: 8px 0 6px;
}

.hero-logo img {
    width: 100%;
    height: auto;
    display: block;
    background: transparent;
    filter: drop-shadow(0 14px 30px rgba(15, 63, 61, 0.18));
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--ink-soft);
    margin-bottom: 16px;
}

h1,
h2,
h3 {
    font-family: "Source Serif 4", Georgia, serif;
    margin: 0 0 12px;
}

h1 {
    font-size: clamp(2.2rem, 2.8vw, 3.2rem);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lead {
    font-size: 1.1rem;
    color: var(--ink-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 24px 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 63, 61, 0.15);
}

.button-primary {
    background: var(--brand);
    color: #fff;
}

.button-secondary {
    background: var(--accent);
    color: #2b2418;
}

.button-ghost {
    border-color: var(--brand);
    color: var(--brand);
}

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

.highlight {
    background: var(--surface);
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
}

.highlight-title {
    display: block;
    font-weight: 600;
    color: var(--brand);
}

.highlight-text {
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.hero-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.checklist li {
    position: relative;
    padding-left: 26px;
    color: var(--ink-soft);
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.section {
    position: relative;
    padding: 56px 0;
}

.section.section-graphic::before,
.section.section-graphic::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 28px;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.section.section-graphic::before {
    background: linear-gradient(135deg, #c59a63 0%, rgba(197, 154, 99, 0.1) 70%);
    top: 24px;
    right: 6%;
}

.section.section-graphic::after {
    background: linear-gradient(135deg, #0f3f3d 0%, rgba(15, 63, 61, 0.1) 70%);
    bottom: 24px;
    left: 6%;
}

.section > .container {
    position: relative;
    z-index: 1;
}

.section.alt {
    background: rgba(255, 255, 255, 0.6);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-title {
    margin-bottom: 28px;
}

.section-title p {
    color: var(--ink-soft);
    margin: 0;
}

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

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    min-height: 160px;
}

.card p {
    color: var(--ink-soft);
}

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

details {
    background: var(--surface);
    border-radius: 16px;
    padding: 16px 18px;
    border: 1px solid var(--line);
}

summary {
    cursor: pointer;
    font-weight: 600;
}

details p {
    color: var(--ink-soft);
}

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

.step {
    background: var(--surface);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--line);
}

.step-number {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.2rem;
}

.contact {
    padding-bottom: 80px;
}

.contact-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: center;
}

.contact-links a {
    color: var(--brand);
    font-weight: 600;
}

.contact-card {
    background: var(--surface);
    border-radius: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 26px 0 40px;
    background: #f1ece2;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--ink-soft);
}

@media (max-width: 960px) {
    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand cta"
            "nav nav";
        align-items: start;
        gap: 8px 10px;
        padding: 12px 0;
    }

    .brand {
        grid-area: brand;
        min-width: 0;
    }

    .site-nav {
        grid-area: nav;
        margin-left: 0;
        gap: 10px;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .nav-link {
        font-size: 0.9rem;
        padding-bottom: 2px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .faq-grid,
    .steps,
    .contact-inner {
        grid-template-columns: 1fr;
    }

    .header-cta {
        grid-area: cta;
        width: auto;
        margin-left: 0;
        justify-self: end;
        align-self: start;
    }

    .header-cta .button-primary {
        min-width: 72px;
        padding: 6px 8px;
        font-size: 0.8rem;
        line-height: 1.1;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        padding-inline: 12px;
    }

    .brand-title {
        font-size: 1.05rem;
    }

    .header-cta .button-primary {
        font-size: 0.78rem;
        padding: 6px 8px;
        white-space: nowrap;
        line-height: 1.1;
    }
}
