:root {
    --brand-a: #8f4d36;
    --brand-b: #f5ead7;
    --brand-c: #2b211d;
    --brand-d: #7b8d58;
    --brand-e: #fffaf3;
    --brand-f: #d7c0a4;
    --brand-g: #efe1d1;
    --brand-h: #ffffff;
    --brand-shadow: 0 18px 40px rgba(43, 33, 29, 0.08);
    --line-strong: 1px solid rgba(43, 33, 29, 0.18);
    --line-soft: 1px solid rgba(43, 33, 29, 0.1);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-sm: 10px;
    --content-width: 1160px;
    --copy-width: 760px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--brand-c);
    background:
        radial-gradient(circle at top left, rgba(143, 77, 54, 0.12), transparent 24%),
        linear-gradient(180deg, #fcf8f1 0%, #f8f0e4 100%);
    line-height: 1.65;
}

body::selection {
    background: rgba(143, 77, 54, 0.18);
}

.skip-link,
.sr-only {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--brand-c);
    color: var(--brand-h);
    border-radius: var(--radius-sm);
}

.page-shell {
    width: min(calc(100% - 2rem), var(--content-width));
    margin: 1.25rem auto 3rem;
}

.site-header,
.newsletter-band,
.site-footer,
.hero-band,
.text-band,
.notice-band {
    border: var(--line-soft);
    background: rgba(255, 250, 243, 0.84);
    box-shadow: var(--brand-shadow);
    backdrop-filter: blur(10px);
}

.site-header {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-end;
    padding: 1.25rem 1.5rem;
    border-radius: 26px;
    position: sticky;
    top: 0.8rem;
    z-index: 20;
}

.eyebrow,
.section-kicker,
.resource-tag,
.panel-title {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.73rem;
    font-weight: 700;
    color: var(--brand-a);
}

.brand-note,
.panel-meta {
    margin: 0.55rem 0 0;
    max-width: 28rem;
    font-size: 0.98rem;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: flex-end;
}

.site-nav a,
.legal-nav a {
    color: var(--brand-c);
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.legal-nav a:hover,
.legal-nav a:focus-visible {
    border-bottom-color: var(--brand-a);
}

main {
    display: grid;
    gap: 1.35rem;
    margin-top: 1.35rem;
}

.hero-band {
    display: grid;
    grid-template-columns: 1.55fr 0.85fr;
    gap: 1.2rem;
    padding: 1.8rem;
    border-radius: 34px;
}

.hero-copy h1,
.section-heading h2,
.notice-band h2,
.newsletter-band h2 {
    margin: 0.3rem 0 0.9rem;
    font-family: "DM Serif Display", serif;
    font-weight: 400;
    line-height: 1.05;
    color: var(--brand-c);
}

.hero-copy h1 {
    font-size: clamp(2.85rem, 7vw, 5.4rem);
    max-width: 10ch;
}

.hero-copy p,
.long-copy p,
.resource-item p,
.faq-item p,
.template-card p,
.quote-card p,
.contact-copy p,
.notice-band p {
    margin: 0 0 1rem;
    font-size: 1.02rem;
}

.hero-actions,
.single-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.hero-panel {
    border: var(--line-strong);
    border-radius: var(--radius-xl);
    padding: 1.3rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 234, 215, 0.95));
}

.panel-list {
    padding-left: 1.15rem;
    margin: 1rem 0;
}

.panel-list li {
    margin-bottom: 0.8rem;
}

.text-band,
.notice-band,
.newsletter-band {
    padding: 1.7rem;
    border-radius: 28px;
}

.accent-band {
    background: linear-gradient(135deg, rgba(245, 234, 215, 0.96), rgba(239, 225, 209, 0.94));
}

.muted-band {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 237, 227, 0.92));
}

.section-heading {
    max-width: var(--copy-width);
    margin-bottom: 1.35rem;
}

.compact-heading {
    margin-bottom: 0.8rem;
}

.template-grid,
.benefit-steps,
.testimonial-grid {
    display: grid;
    gap: 1rem;
}

.template-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.template-card,
.resource-item,
.step-card,
.quote-card,
.faq-item,
.contact-form,
.contact-copy {
    border: var(--line-soft);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
}

.template-card,
.step-card,
.quote-card,
.faq-item,
.contact-copy {
    padding: 1.2rem;
}

.template-card h3,
.resource-item h3,
.step-card h3,
.quote-card h3,
.faq-item h3,
.contact-copy .contact-data,
.site-footer .footer-brand {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
}

.long-copy {
    max-width: var(--copy-width);
}

.resource-list {
    display: grid;
    gap: 1rem;
}

.resource-item {
    padding: 1.3rem;
}

.benefit-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.95rem;
    border-radius: 999px;
    border: var(--line-strong);
    color: var(--brand-a);
    font-weight: 700;
}

.testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-list {
    display: grid;
    gap: 0.9rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 1rem;
}

.contact-form {
    display: grid;
    gap: 0.8rem;
    padding: 1.2rem;
}

label {
    font-size: 0.95rem;
    font-weight: 500;
}

input,
textarea {
    width: 100%;
    border: var(--line-strong);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font: inherit;
    color: var(--brand-c);
    background: rgba(255, 255, 255, 0.92);
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(123, 141, 88, 0.42);
    outline-offset: 2px;
}

.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
}

.consent-row input {
    width: auto;
    margin-top: 0.25rem;
}

.compact-consent {
    margin: 0.35rem 0;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-outline {
    border: 1px solid var(--brand-a);
    background: transparent;
    color: var(--brand-a);
}

.button-outline:hover,
.button-outline:focus-visible {
    background: var(--brand-a);
    color: var(--brand-h);
}

.button-ghost {
    border: 1px solid rgba(43, 33, 29, 0.16);
    background: rgba(255, 255, 255, 0.7);
    color: var(--brand-c);
}

.newsletter-band {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1rem;
    margin-top: 1.35rem;
}

.newsletter-form {
    display: grid;
    gap: 0.8rem;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
    padding: 1.25rem 1.5rem;
    margin-top: 1.35rem;
    border-radius: 26px;
}

.legal-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: min(26rem, calc(100% - 2rem));
    padding: 1.1rem;
    border: var(--line-strong);
    border-radius: 20px;
    background: rgba(43, 33, 29, 0.96);
    color: var(--brand-h);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.2);
    z-index: 50;
}

.cookie-banner p {
    margin: 0 0 0.85rem;
}

.cookie-banner .button-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--brand-h);
}

.cookie-banner .button-outline:hover,
.cookie-banner .button-outline:focus-visible {
    background: var(--brand-h);
    color: var(--brand-c);
}

.hidden {
    display: none;
}

@media (max-width: 980px) {
    .site-header,
    .hero-band,
    .contact-layout,
    .newsletter-band,
    .site-footer {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .template-grid,
    .benefit-steps,
    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    .page-shell {
        width: min(calc(100% - 1rem), var(--content-width));
        margin-top: 0.5rem;
    }

    .site-header,
    .hero-band,
    .text-band,
    .notice-band,
    .newsletter-band,
    .site-footer {
        padding: 1.1rem;
        border-radius: 22px;
    }

    .hero-copy h1 {
        font-size: clamp(2.25rem, 13vw, 3.7rem);
    }

    .template-grid,
    .benefit-steps,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .site-nav,
    .legal-nav,
    .hero-actions,
    .single-cta-row {
        gap: 0.65rem;
    }
}
