
.bf-offer{padding:0;border:1px solid #ff6900;background:#0a0a14;color:white;width:min(980px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;overflow:auto;box-shadow:0 24px 100px #0009}
.bf-offer[open]{display:grid;grid-template-columns:.9fr 1.1fr}.bf-offer::backdrop{background:rgba(0,0,0,.8);backdrop-filter:blur(5px)}
.bf-photo{min-height:100%;position:relative;background:#050505}.bf-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.bf-content{padding:48px 36px 30px;background:radial-gradient(ellipse at top right,#ff690018,transparent 65%),#0a0a14}.bf-label{display:inline-block;background:#ff6900;color:#0a0a14;font-size:13px;font-weight:800;letter-spacing:.04em;padding:7px 12px;margin:0 0 22px;transform:rotate(-2deg)}.bf-content h2{font-family:'Playfair Display',serif;font-size:clamp(36px,4vw,49px);line-height:1.06;margin:0 0 20px}.bf-content h2 span{display:block;color:#ff6900}.bf-lessons{font-size:20px;font-weight:600;line-height:1.5;margin:0}.bf-gift-copy{font-size:15px;line-height:1.6;margin:8px 0 24px;color:#d2d0d4}
.bf-deal{position:relative;display:flex;align-items:center;gap:26px;padding:22px 20px 32px;border:1px solid #ff690066;background:linear-gradient(115deg,#ff690024,#ff690008);margin:0 0 30px}.bf-deal div{display:flex;flex-direction:column}.bf-deal div>span{font-size:11px;letter-spacing:.09em;font-weight:700;color:#d4ced0}.bf-value{padding-right:24px;border-right:1px solid #ff690066}.bf-value strong{font-size:32px;color:#fff;font-weight:600;line-height:1.3}.bf-pay strong{font-size:66px;color:#ff6900;font-weight:800;line-height:1.05;letter-spacing:-.05em}.bf-saving{position:absolute;bottom:-12px;right:16px;background:#ff6900;color:#0a0a14;font-size:13px;font-weight:800;padding:6px 12px;transform:rotate(-3deg)}
.bf-limit{font-size:13px;font-weight:600;margin:0 0 16px;color:#dedbe1}.bf-content .btn{width:100%;white-space:normal;font-size:14px;letter-spacing:.04em;padding:17px 12px;background:#ff6900;color:#0a0a14}.bf-content .btn:disabled{opacity:.75;cursor:not-allowed}.bf-status{font-size:12px;line-height:1.5;margin:12px 0 0;color:#aaa}.bf-close{position:absolute;right:10px;top:10px;z-index:2;width:40px;height:40px;background:#0a0a14;color:white;border:1px solid #777;font-size:30px;line-height:1;cursor:pointer}.bf-close:focus-visible{outline:2px solid #ff6900;outline-offset:3px}body.bf-is-open{overflow:hidden}
@media(max-width:600px){.bf-offer[open]{grid-template-columns:1fr}.bf-photo{height:200px;min-height:0}.bf-photo img{object-position:center 35%}.bf-content{padding:26px 24px}.bf-content h2{font-size:38px}.bf-lessons{font-size:18px}.bf-deal{gap:18px;padding:20px 16px 28px}.bf-value{padding-right:18px}.bf-pay strong{font-size:60px}}
@media(prefers-reduced-motion:reduce){.bf-offer *{transition:none!important}}

/* Homepage photo ribbon opens the offer dialog. */
.hero__image:has(.bf-hero-ribbon){position:relative;overflow:hidden}
.bf-hero-ribbon{position:absolute;z-index:2;left:-6%;bottom:7%;width:112%;transform:rotate(-6deg);border:0;background:#ff6900;color:#0a0a14;padding:20px 8%;font-family:inherit;font-size:clamp(13px,1.3vw,20px);font-weight:800;letter-spacing:.07em;text-transform:uppercase;line-height:1.4;cursor:pointer;box-shadow:0 5px 20px #0006;text-align:center}
.bf-hero-ribbon:hover{background:#ff852f}.bf-hero-ribbon:focus-visible{outline:3px solid white;outline-offset:-6px}
@media(max-width:600px){.bf-hero-ribbon{padding:15px 8%;font-size:13px;letter-spacing:.04em}}

/* Compact offer layout. */
.bf-offer{width:min(840px,calc(100% - 24px))}
.bf-offer[open]{grid-template-columns:.85fr 1.15fr;align-items:stretch}
.bf-content{padding:28px 24px 22px}
.bf-label{margin-bottom:16px;font-size:12px;padding:6px 10px}
.bf-content h2{font-size:clamp(32px,3.6vw,42px);margin-bottom:14px}
.bf-lessons{font-size:18px;line-height:1.4}
.bf-gift-copy{font-size:14px;line-height:1.45;margin:6px 0 16px}
.bf-deal{padding:14px 16px 22px;margin-bottom:23px;gap:22px}
.bf-pay strong{font-size:56px}
.bf-value strong{font-size:29px}
.bf-limit{margin-bottom:12px;font-size:12px}
.bf-content .btn{padding:14px 10px;font-size:13px}
.bf-status{margin-top:9px;font-size:11px;line-height:1.4}
.bf-close{width:32px;height:32px;right:7px;top:7px;font-size:25px}
@media(max-width:600px){.bf-offer[open]{grid-template-columns:1fr}.bf-photo{height:165px}.bf-content{padding:20px}.bf-content h2{font-size:34px}.bf-label{margin-bottom:12px}.bf-pay strong{font-size:52px}}

@media(min-width:601px){.bf-offer{width:min(680px,calc(100vw - 48px));max-width:680px}.bf-offer[open]{grid-template-columns:240px minmax(0,1fr)}.bf-content{padding:26px 22px 20px;min-width:0}.bf-content h2{font-size:34px}.bf-lessons{font-size:16px}.bf-gift-copy{font-size:13px}.bf-deal{gap:16px;padding:14px 12px 22px}.bf-value{padding-right:16px}.bf-deal div>span{font-size:9px}.bf-pay strong{font-size:50px}.bf-value strong{font-size:27px}.bf-status{font-size:11px}}
@media(min-width:601px) and (max-width:720px){.bf-offer[open]{grid-template-columns:34% minmax(0,1fr)}}
