/* Black Friday offer page. Everything is scoped to .bf-page; the hero's first-paint rules are inline in the view.
   The site sets html{font-size:10px}, so sizes here are px, not rem.
   Look: near-black and kasavu gold, Anton for sale type, Hanken Grotesk for reading. */

.bf-page h2,
.bf-page h3,
.bf-page h4 { font-family: var(--bf-display); font-weight: 400; letter-spacing: .01em; margin: 0 0 14px; color: var(--bf-ink); text-transform: uppercase; }
.bf-page h2 { font-size: clamp(34px, 3vw + 20px, 60px); line-height: 1; }
.bf-page h3 { font-size: 26px; line-height: 1.1; }
.bf-page p { margin: 0 0 16px; font-size: 17px; line-height: 1.65; color: inherit; }
.bf-page ul { margin: 0; padding: 0; list-style: none; }
.bf-page a { color: inherit; }
.bf-page code,
.bf-page .bf-mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .06em; }

/* ── Buttons ── */
.bf-page .bf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 30px; border-radius: 999px; font-family: var(--bf-body); font-weight: 800; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s; }
.bf-page .bf-btn--gold { background: linear-gradient(135deg, #F1D46A, #C9A227 60%, #A8851A); color: var(--bf-black); box-shadow: 0 14px 34px -14px #E9C64BAA; }
.bf-page .bf-btn--gold:hover { color: var(--bf-black); transform: translateY(-2px); box-shadow: 0 18px 40px -14px #E9C64B; }
.bf-page .bf-btn--ghost { background: transparent; color: #fff; border-color: var(--bf-gold); }
.bf-page .bf-btn--ghost:hover { background: var(--bf-gold); color: var(--bf-black); }
.bf-page .bf-btn.is-disabled { background: #2A3639; color: #9FB1B5; box-shadow: none; cursor: not-allowed; transform: none; }

/* ── Hero ── */
.bf-page .bf-soon { color: var(--bf-gold2); font-weight: 700; margin-bottom: 8px; }
.bf-page .bf-ended { color: #fff; }
.bf-page .bf-hero__deal { display: grid; gap: 22px; justify-items: center; }
.bf-page .bf-big { display: flex; align-items: center; margin: 0; font-family: var(--bf-display); line-height: .82; color: transparent; }
.bf-page .bf-big__num { font-size: clamp(150px, 14vw + 60px, 280px); background: linear-gradient(180deg, #F6DD7E 10%, #C9A227 55%, #8F6F10); -webkit-background-clip: text; background-clip: text; font-variant-numeric: tabular-nums; }
.bf-page .bf-big__side { display: flex; flex-direction: column; gap: 10px; margin-left: 12px; }
.bf-page .bf-big__pct { font-size: clamp(70px, 6vw + 30px, 130px); color: #fff; }
.bf-page .bf-big__off { font-size: clamp(40px, 3vw + 20px, 70px); color: transparent; -webkit-text-stroke: 2px var(--bf-gold2); text-transform: uppercase; }

/* Price-tag code card */
.bf-page .bf-tag { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label label" "code copy"; align-items: center; gap: 6px 16px; width: min(100%, 400px); padding: 22px 22px 22px 56px; background: linear-gradient(135deg, #F1D46A, #C9A227 70%); color: var(--bf-black); border-radius: 14px 44px 44px 14px; transform: rotate(-3deg); transform-origin: 20px 50%; box-shadow: 0 26px 50px -24px #000, inset 0 0 0 2px #ffffff55; }
.bf-page .bf-tag::before { content: ""; position: absolute; left: -46px; top: 50%; width: 52px; height: 2px; background: linear-gradient(90deg, transparent, #E9C64B); }
.bf-page .bf-tag__hole { position: absolute; left: 20px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--bf-ink2); box-shadow: inset 0 2px 3px #0008; }
.bf-page .bf-tag__label { grid-area: label; font: 800 12px/1.2 var(--bf-body); letter-spacing: .14em; text-transform: uppercase; }
.bf-page .bf-tag__code { grid-area: code; padding: 0; background: none; color: var(--bf-black); font: 400 42px/1 var(--bf-display); letter-spacing: .06em; }
.bf-page .bf-copy { grid-area: copy; min-height: 44px; padding: 8px 18px; border: 0; border-radius: 999px; background: var(--bf-black); color: #fff; font: 700 15px/1.2 var(--bf-body); cursor: pointer; transition: background-color .2s; }
.bf-page .bf-copy:hover { background: var(--bf-ink); }
.bf-page .bf-copy.is-copied { background: #fff; color: var(--bf-black); }

/* Countdown tiles */
.bf-page .bf-count { text-align: center; }
.bf-page .bf-count__label { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #BFD1D5; }
.bf-page .bf-count__grid { display: flex; gap: 10px; justify-content: center; }
.bf-page .bf-count__cell { display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 12px 8px 9px; border: 1px solid #C9A22766; border-radius: 12px; background: linear-gradient(180deg, #ffffff10, #ffffff04); }
.bf-page .bf-count__num { font-family: var(--bf-display); font-size: 42px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.bf-page .bf-count__unit { margin-top: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #BFD1D5; }

/* Sale ticker */
.bf-page .bf-ticker { overflow: hidden; background: var(--bf-gold); color: var(--bf-black); transform: rotate(-1.2deg) scale(1.03); margin: -14px 0 -10px; position: relative; z-index: 2; box-shadow: 0 10px 30px -10px #000; }
.bf-page .bf-ticker__track { display: flex; width: max-content; animation: bf-marquee 36s linear infinite; }
.bf-page .bf-ticker__group { display: flex; align-items: center; flex: none; }
.bf-page .bf-ticker__group span { padding: 14px 20px; font: 400 22px/1 var(--bf-display); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.bf-page .bf-ticker__group i { font-style: normal; font-size: 11px; opacity: .7; }
@keyframes bf-marquee { to { transform: translateX(-50%); } }

/* ── Kasavu: two thin gold lines (JS draws them in from the centre) ── */
.bf-page .bf-kasavu { position: relative; height: 12px; background: var(--bf-black); }
.bf-page .bf-kasavu span { position: absolute; left: 0; right: 0; height: 2px; background: var(--bf-gold); transform-origin: 50% 50%; }
.bf-page .bf-kasavu span:first-child { top: 3px; }
.bf-page .bf-kasavu span:last-child { top: 8px; height: 1px; }

/* ── Sections ── */
.bf-page .bf-section { padding: 80px 0; background: #fff; }
.bf-page .bf-soft { background: var(--bf-soft); }
.bf-page .bf-dark { background: radial-gradient(70% 60% at 50% 0%, #102A30 0%, var(--bf-black) 70%); color: #E7EEF0; }
.bf-page .bf-dark h2,
.bf-page .bf-dark h3,
.bf-page .bf-dark h4 { color: #fff; }
.bf-page .bf-lead { max-width: 760px; font-size: 18px; }
.bf-page .bf-dark .bf-lead { color: #C8D7DA; }
.bf-page .bf-note { padding: 12px 16px; border-left: 4px solid var(--bf-gold); background: #ffffff0D; border-radius: 6px; max-width: 760px; color: #fff; }
.bf-page .bf-small { margin: 28px 0 0; font-size: 15px; color: #9FB1B5; }

/* Term toggle */
.bf-page .bf-terms { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 14px 0 6px; padding: 6px; border: 1px solid #C9A22766; border-radius: 999px; background: #ffffff08; min-width: 0; }
.bf-page .bf-terms__legend { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.bf-page .bf-term { position: relative; margin: 0; cursor: pointer; }
.bf-page .bf-term input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bf-page .bf-term__text { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 20px; border-radius: 999px; font-weight: 800; font-size: 16px; color: #E7EEF0; transition: background-color .2s, color .2s; }
.bf-page .bf-term input:checked + .bf-term__text { background: linear-gradient(135deg, #F1D46A, #C9A227); color: var(--bf-black); }
.bf-page .bf-term input:focus-visible + .bf-term__text { outline: 3px solid #fff; outline-offset: 2px; }
.bf-page .bf-term__tag { padding: 3px 8px; border-radius: 999px; background: var(--bf-black); color: var(--bf-gold2); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.bf-page .bf-term input:not(:checked) + .bf-term__text .bf-term__tag { background: var(--bf-gold); color: var(--bf-black); }

/* Plan cards */
.bf-page .bf-group { margin: 48px 0 18px; font-size: 30px; color: var(--bf-gold2) !important; }
.bf-page .bf-plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.bf-page .bf-plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; background: linear-gradient(180deg, #13272C, #0C1719); border: 1px solid #C9A22744; border-radius: 18px; overflow: hidden; transition: transform .25s, border-color .25s, box-shadow .25s; }
.bf-page .bf-plan::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--bf-gold), transparent); }
.bf-page .bf-plan:hover { transform: translateY(-4px); border-color: var(--bf-gold); box-shadow: 0 24px 50px -28px #E9C64B88; }
.bf-page .bf-plan__sticker { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #F6DD7E, #C9A227 65%, #9C7A14); color: var(--bf-black); font: 400 20px/1 var(--bf-display); transform: rotate(12deg); box-shadow: 0 8px 18px -8px #000; }
.bf-page .bf-plan__type { margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8FA6AB; }
.bf-page .bf-plan__name { margin: 0 70px 12px 0; font-size: 30px; line-height: 1.05; }
.bf-page .bf-plan__deal { margin: 0 0 4px; font-weight: 800; font-size: 18px; color: var(--bf-gold2); }
.bf-page .bf-plan__term { margin: 0 0 4px; font-size: 15px; color: #C8D7DA; }
.bf-page .bf-plan__only { margin: 0 0 4px; font-size: 14px; color: #E9C64B; }
.bf-page .bf-plan .bf-btn { margin-top: auto; width: 100%; }
.bf-page .bf-plan__term + .bf-btn,
.bf-page .bf-plan__only + .bf-btn { margin-top: 20px; }

/* Existing customers */
.bf-page .bf-band { background: var(--bf-ink); color: #fff; }
.bf-page .bf-band h2 { color: #fff; }
.bf-page .bf-band strong { color: var(--bf-gold2); }
.bf-page .bf-duo { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.bf-page .bf-duo__item { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 26px; border: 1px solid #C9A22766; border-radius: 18px; background: #ffffff08; }
.bf-page .bf-duo__item p { color: #DCE9EB; }

/* Why */
.bf-page .bf-ticks { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 576px) { .bf-page .bf-ticks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .bf-page .bf-ticks { grid-template-columns: repeat(3, 1fr); } }
.bf-page .bf-ticks li { position: relative; padding: 18px 18px 18px 48px; background: var(--bf-soft); border-radius: 14px; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--bf-ink); }
.bf-page .bf-ticks li::before { content: ""; position: absolute; left: 20px; top: 23px; width: 14px; height: 8px; border-left: 2px solid var(--bf-gold); border-bottom: 2px solid var(--bf-gold); transform: rotate(-45deg); }

.bf-page .bf-prose { max-width: 800px; }
.bf-page .bf-prose p { font-size: 18px; }

/* FAQ */
.bf-page .bf-faq__inner { max-width: 840px; }
.bf-page .bf-faq__item { border-bottom: 1px solid #DCE5E7; }
.bf-page .bf-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; }
.bf-page .bf-faq__item summary::-webkit-details-marker { display: none; }
.bf-page .bf-faq__item summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--bf-black); color: var(--bf-gold2); font-size: 20px; line-height: 1; transition: transform .2s; }
.bf-page .bf-faq__item[open] summary::after { transform: rotate(45deg); }
.bf-page .bf-faq__item h3 { margin: 0; font-family: var(--bf-body); font-weight: 800; font-size: 18px; text-transform: none; letter-spacing: 0; }
.bf-page .bf-faq__item p { margin: 0 0 20px; }

/* LaunchPad + links */
.bf-page .bf-launch { background: var(--bf-black); color: #fff; }
.bf-page .bf-launch h2 { color: #fff; }
.bf-page .bf-launch__inner { max-width: 760px; text-align: center; }
.bf-page .bf-launch .bf-eyebrow { margin-bottom: 10px; }
.bf-page .bf-launch p:not(.bf-eyebrow) { color: #DCE9EB; }
.bf-page .bf-links { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: 24px; }
.bf-page .bf-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 12px 16px; background: #fff; border: 1px solid #DCE5E7; border-radius: 12px; color: var(--bf-ink); font-weight: 700; text-decoration: none; transition: border-color .2s; }
.bf-page .bf-links a::after { content: "\2192"; color: var(--bf-gold); }
.bf-page .bf-links a:hover { border-color: var(--bf-gold); color: var(--bf-ink); }
.bf-page .bf-help { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; }
.bf-page .bf-help a { color: var(--bf-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--bf-gold); text-underline-offset: 4px; }

@media (max-width: 991.98px) {
    .bf-page .bf-hero__copy { text-align: center; }
    .bf-page .bf-sub { margin-left: auto; margin-right: auto; }
}

@media (max-width: 575.98px) {
    .bf-page .bf-section { padding: 60px 0; }
    .bf-page .bf-tag { padding-left: 48px; transform: rotate(-2deg); }
    .bf-page .bf-tag::before { display: none; }
    .bf-page .bf-tag__code { font-size: 34px; }
    .bf-page .bf-count { width: 100%; }
    .bf-page .bf-count__cell { min-width: 0; flex: 1; }
    .bf-page .bf-count__num { font-size: 34px; }
    .bf-page .bf-hero .bf-btn { width: 100%; }
    .bf-page .bf-terms { display: flex; border-radius: 18px; }
    .bf-page .bf-term { flex: 1 1 auto; }
    .bf-page .bf-term__text { width: 100%; justify-content: center; padding: 8px 12px; }
    .bf-page .bf-ticker__group span { font-size: 18px; padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .bf-page *, .bf-page *::before, .bf-page *::after { transition: none !important; }
    .bf-page .bf-ticker__track { animation: none !important; }
}
