:root {
    color-scheme: light;
    --bf-ink: #15241a;
    --bf-dark: #101b14;
    --bf-accent: #a0f3af;
    --bf-paper: #f7f7ef;
    --bf-muted: #485b4d;
    --bf-line: #d8dfd4;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

.bf-page {
    margin: 0;
    background: var(--bf-paper);
    color: var(--bf-ink);
    font: 400 1rem/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.bf-page a:focus-visible,
.bf-page summary:focus-visible {
    outline: 3px solid #21944b;
    outline-offset: 4px;
}

.bf-wrap { width: min(100% - 32px, 1100px); margin-inline: auto; }
.bf-narrow { max-width: 720px; }

.bf-page h1,
.bf-page h2,
.bf-page h3,
.bf-page p { margin: 0; }

.bf-page h1,
.bf-page h2,
.bf-page h3 { line-height: 1.08; letter-spacing: -.04em; }

.bf-page h1 { font-size: clamp(2.15rem, 5vw, 4rem); font-weight: 800; }
.bf-page h2 { font-size: clamp(1.85rem, 4vw, 3rem); font-weight: 780; }
.bf-page h3 { font-size: 1.23rem; font-weight: 740; }

.bf-urgency {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 22px;
    padding: 9px 12px;
    background: var(--bf-accent);
    color: var(--bf-ink);
    text-align: center;
    font-size: .82rem;
    line-height: 1.25;
}

.bf-countdown,
.bf-clock {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 9px;
}

.bf-countdown-label { font-weight: 780; }
.bf-clock b { font-size: 1.05em; font-variant-numeric: tabular-nums; }
.bf-clock span { white-space: nowrap; }

.bf-brand {
    padding: 14px 16px 0;
    text-align: center;
    background: #000;
}

.bf-brand a { display: inline-flex; padding-block: 4px; }
.bf-brand img { display: block; width: min(56vw, 246px); height: auto; }

.bf-hero {
    padding: clamp(30px, 6vw, 76px) 0 clamp(42px, 7vw, 84px);
    background: radial-gradient(ellipse at 88% 55%, #263e2b, #0c170f 54%, #000 100%);
    color: #f7fbf5;
}

.bf-hero-grid {
    display: grid;
    gap: 26px;
    align-items: center;
}

.bf-page .bf-kicker {
    margin-bottom: 12px;
    color: #31623f;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.bf-hero .bf-kicker { color: var(--bf-accent); }
.bf-hero h1 { font-size: clamp(2.12rem, 4.65vw, 3.4rem); text-wrap: balance; }
.bf-hero h1 em { display: block; margin-top: .13em; color: #b5f5c0; font-style: normal; }
.bf-page .bf-hero-intro { max-width: 54ch; margin-top: 15px; color: #d8e5d8; }

.bf-hero-photo {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    max-height: 530px;
    object-fit: cover;
    object-position: 50% 39%;
    border: 1px solid #59705d;
    border-radius: 16px;
}

.bf-hero-price,
.bf-program-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 10px;
    font-variant-numeric: tabular-nums;
}

.bf-hero-price { margin: 15px 0 14px; }
.bf-hero-price del { color: #c7d5c8; }
.bf-hero-price strong { font-size: clamp(2.25rem, 5vw, 3.25rem); line-height: 1; letter-spacing: -.065em; }
.bf-hero-price span { color: #b5f5c0; font-size: .9rem; font-weight: 700; }

.bf-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: var(--bf-accent);
    color: #13291a;
    text-align: center;
    text-decoration: none;
    font-weight: 780;
    line-height: 1.25;
}

.bf-button:hover { background: #c2fbca; color: #13291a; }
.bf-page .bf-small { margin-top: 10px; color: #c6d4c7; font-size: .84rem; }

.bf-section { padding: clamp(46px, 8vw, 92px) 0; }
.bf-section p { color: var(--bf-muted); }
.bf-section h2 { max-width: 25ch; }
.bf-intro { background: #e7efe2; }
.bf-intro p { margin-top: 14px; }

.bf-benefits,
.bf-steps {
    display: grid;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.bf-benefits li,
.bf-steps li {
    padding: 20px;
    border: 1px solid var(--bf-line);
    border-radius: 10px;
    background: #fff;
}

.bf-benefits li p,
.bf-steps li p { margin-top: 8px; }

.bf-programs { scroll-margin-top: 88px; background: #e7efe2; }
.bf-program-hint { margin-top: 12px !important; }
.bf-program-grid { display: grid; gap: 14px; margin-top: 24px; }

.bf-program {
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 4vw, 35px);
    border: 1px solid #bdcbbc;
    border-radius: 14px;
    background: #fff;
}

.bf-program h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.bf-program p { margin-top: 9px; }
.bf-program ul { flex: 1; margin: 14px 0; padding-left: 21px; color: var(--bf-muted); }
.bf-program li::marker { color: #31623f; }
.bf-program-price strong { color: var(--bf-ink); font-size: 2.2rem; line-height: 1; letter-spacing: -.06em; }
.bf-program .bf-button { margin-top: 20px; border-color: #b7dcba; }

.bf-about { display: grid; gap: 24px; align-items: center; }
.bf-about img { display: block; width: min(100%, 240px); height: auto; border-radius: 11px; }
.bf-about p { margin-top: 15px; }

.bf-steps-section { background: #e7efe2; }
.bf-steps { counter-reset: step; }
.bf-steps li { counter-increment: step; }
.bf-steps li::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #d9efdb;
    color: #235234;
    font-weight: 750;
}

.bf-faq-section {
    scroll-margin-top: 62px;
    background: linear-gradient(135deg, #eaf2e6, var(--bf-paper) 70%);
}

.bf-faq-layout {
    display: grid;
    align-items: start;
    gap: clamp(24px, 6vw, 76px);
}

.bf-faq-intro h2 {
    max-width: 12ch;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.bf-faq-contact {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    margin-top: 8px;
    color: #235234;
    font-weight: 700;
    text-underline-offset: 4px;
}

.bf-faq-contact:hover { color: var(--bf-ink); }

.bf-faq {
    display: grid;
    gap: 10px;
}

.bf-faq details {
    border: 1px solid #cad8c9;
    border-radius: 13px;
    background: #fff;
}

.bf-faq details[open] {
    border-color: #83a989;
    background: #f3faf1;
}

.bf-faq summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center;
    gap: 14px;
    padding: 13px clamp(14px, 3vw, 22px);
    border-radius: 12px;
    color: var(--bf-ink);
    cursor: pointer;
    font-size: clamp(1.02rem, 2vw, 1.16rem);
    font-weight: 720;
    line-height: 1.3;
    list-style: none;
}

.bf-faq summary::-webkit-details-marker { display: none; }
.bf-faq summary:focus-visible { outline-offset: -4px; }

.bf-faq-toggle {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e6efe4;
    color: #235234;
}

.bf-faq-toggle::before,
.bf-faq-toggle::after {
    grid-area: 1 / 1;
    border-radius: 2px;
    background: currentColor;
    content: "";
}

.bf-faq-toggle::before { width: 12px; height: 2px; }
.bf-faq-toggle::after { width: 2px; height: 12px; }
.bf-faq summary:hover .bf-faq-toggle,
.bf-faq details[open] .bf-faq-toggle { background: #cbeacf; }
.bf-faq details[open] .bf-faq-toggle::after { display: none; }

.bf-page .bf-faq-answer {
    max-width: 66ch;
    padding: 0 clamp(14px, 3vw, 22px) 19px;
}

.bf-close { background: var(--bf-dark); color: #f7fbf5; text-align: center; }
.bf-close h2 { margin-inline: auto; }
.bf-close p { margin-top: 12px; color: #d4e0d3; }
.bf-close .bf-hero-price { justify-content: center; }
.bf-close .bf-countdown { color: #b5f5c0; }
.bf-final-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 17px; }

.bf-status { min-height: 55vh; display: grid; align-items: center; padding: 48px 0; }
.bf-status h1 { max-width: 14ch; }
.bf-status h1 + p { margin-top: 14px; }
.bf-status .bf-button { margin-top: 22px; }

.bf-footer { padding: 18px 0; background: #0b140e; color: #d4e0d3; font-size: .87rem; }
.bf-footer .bf-wrap,
.bf-footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.bf-footer .bf-wrap { justify-content: space-between; }
.bf-footer a { color: inherit; text-underline-offset: 3px; }

.bf-cookie-settings {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bf-cookie-panel {
    position: fixed;
    z-index: 3;
    right: 12px;
    bottom: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    display: grid;
    gap: 14px;
    max-width: 800px;
    margin-inline: auto;
    padding: 16px;
    border: 1px solid #c7d8c7;
    border-radius: 12px;
    background: #fff;
    color: var(--bf-ink);
    box-shadow: 0 5px 28px #0b140e24;
}

.bf-cookie-panel h2 { font-size: 1.1rem; }
.bf-cookie-panel p { margin-top: 5px; color: var(--bf-muted); font-size: .87rem; line-height: 1.4; }
.bf-cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.bf-cookie-actions button {
    min-height: 44px;
    padding: 6px 14px;
    border: 1px solid #7e9a81;
    border-radius: 6px;
    background: #e6efe4;
    color: var(--bf-ink);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.bf-cookie-actions button:hover { background: #d6ebd5; }
.bf-cookie-actions button:focus-visible,
.bf-cookie-settings:focus-visible { outline: 3px solid #21944b; outline-offset: 2px; }

@media (min-width: 560px) {
    .bf-wrap { width: min(100% - 64px, 1100px); }
    .bf-benefits, .bf-steps, .bf-program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bf-about { grid-template-columns: minmax(150px, 240px) minmax(0, 1fr); gap: clamp(24px, 6vw, 75px); }
    .bf-cookie-panel { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 800px) {
    .bf-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 64px); }
    .bf-hero-photo { aspect-ratio: 4 / 5; }
    .bf-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .bf-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bf-faq-layout { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }
}

@media (max-width: 559px) {
    .bf-hero-photo { max-height: 285px; }
    .bf-hero .bf-button, .bf-final-buttons .bf-button { width: 100%; }
    .bf-urgency > p { flex-basis: 100%; }
}
