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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 1.5rem;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--color-text, #22302c);
    background: var(--color-page, #f7f5ef);
    font-family: var(--font-body, "Roboto", Arial, sans-serif);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.is-locked {
    overflow: hidden;
}

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

img {
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--color-heading, #17221f);
    font-family: var(--font-heading, "Playfair Display", Georgia, serif);
    line-height: 1.08;
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--color-accent, #ba7449) 72%, white);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

.funnel-skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    color: #fff;
    background: #111;
    border-radius: 0.5rem;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.funnel-skip-link:focus {
    transform: translateY(0);
}

.funnel-container {
    width: min(calc(100% - 2rem), var(--container-width, 1180px));
    margin-inline: auto;
}

.funnel-section {
    position: relative;
    padding-block: clamp(4.5rem, 8vw, 7.5rem);
    overflow: clip;
}

.funnel-section--compact {
    padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.funnel-section__heading {
    max-width: 760px;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.funnel-section__heading--center {
    margin-inline: auto;
    text-align: center;
}

.funnel-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: var(--color-accent-strong, #8e4d2c);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.funnel-eyebrow::before {
    width: 2rem;
    height: 1px;
    content: "";
    background: currentColor;
}

.funnel-title {
    margin-bottom: 1.2rem;
    font-size: clamp(2.15rem, 5vw, 4.25rem);
}

.funnel-title--small {
    font-size: clamp(1.95rem, 4vw, 3.2rem);
}

.funnel-lead {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--color-muted, #68736f);
    font-size: clamp(1.06rem, 2vw, 1.24rem);
    line-height: 1.7;
}

.funnel-button {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.85rem 1.45rem;
    color: var(--button-primary-text, #fff);
    text-align: center;
    text-decoration: none;
    background: var(--button-primary-bg, #9a5a37);
    border: 1px solid transparent;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(88, 48, 28, 0.2);
    font-weight: 800;
    line-height: 1.2;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.funnel-button:hover {
    color: var(--button-primary-text, #fff);
    background: var(--button-primary-hover, #7f4528);
    box-shadow: 0 18px 38px rgba(88, 48, 28, 0.28);
    transform: translateY(-2px);
}

.funnel-button--secondary {
    color: var(--color-heading, #17221f);
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(23, 34, 31, 0.14);
    box-shadow: none;
    backdrop-filter: blur(12px);
}

.funnel-button--secondary:hover {
    color: var(--color-heading, #17221f);
    background: #fff;
    box-shadow: 0 12px 28px rgba(33, 42, 38, 0.1);
}

.funnel-button--light {
    color: var(--color-heading, #17221f);
    background: #fff;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.funnel-button--light:hover {
    color: var(--color-heading, #17221f);
    background: #f8f4eb;
}

.funnel-button--full {
    width: 100%;
}

.funnel-icon {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
}

.funnel-card {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border, rgba(36, 52, 47, 0.12));
    border-radius: var(--radius-card, 1.5rem);
    box-shadow: var(--shadow-card, 0 22px 60px rgba(34, 47, 43, 0.08));
}

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

.funnel-legal-page {
    min-height: 100vh;
    padding-block: clamp(5rem, 10vw, 8rem);
    background: var(--color-page, #f7f5ef);
}

.funnel-legal-page__content {
    max-width: 820px;
    padding: clamp(1.5rem, 5vw, 4rem);
    margin-inline: auto;
    background: #fff;
    border: 1px solid var(--color-border, rgba(36, 52, 47, 0.12));
    border-radius: var(--radius-card, 1.5rem);
    box-shadow: var(--shadow-card, 0 22px 60px rgba(34, 47, 43, 0.08));
}

.funnel-legal-page__content h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.funnel-legal-page__content h2 {
    margin-top: 2.2rem;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.funnel-legal-page__back {
    display: inline-flex;
    margin-top: 2rem;
    color: var(--color-accent-strong, #8e4d2c);
    font-weight: 800;
}

@media (max-width: 639.98px) {
    .funnel-container {
        width: min(calc(100% - 1.25rem), var(--container-width, 1180px));
    }

    .funnel-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
