/* Early Black Friday page, version 2 (BeautyFix's own design). Separate from quiz.css on purpose.
   Jost stands in for the design's geometric display face; Montserrat for UI and body copy. */
:root {
  --black: #050505;
  --ink: #1d1a19;
  --muted: #6f6866;
  --line: #e9e2de;
  --cream: #faf6f3;
  --wine: #6d1b1c;
  --wine-deep: #561415;
  --maroon: #3a0c06;
  --gold: #f2c48c;
  --gold-text: #f4c07e;
  --display: 'Jost', 'Century Gothic', system-ui, sans-serif;
  --body: 'Montserrat', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.bf2 { margin: 0; background: var(--black); color: #fff; font-family: var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select { font: inherit; }
.ic { width: 20px; height: 20px; flex: none; }

.bf2-wrap { max-width: 1128px; margin: 0 auto; padding: 0 24px; }
.bf2-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* Nav */
.bf2-nav { border-bottom: 1px solid rgba(255,255,255,.12); }
.bf2-nav .bf2-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.bf2-logo { height: 34px; width: auto; filter: brightness(0) invert(1); }
.bf2-nav-right { display: flex; align-items: center; gap: 20px; }
.bf2-nav-right span { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

.bf2-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 20px; border-radius: 999px; background: var(--gold); color: #2a1406; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: filter .15s; }
.bf2-pill:hover { filter: brightness(1.05); }

/* Hero + closing (black) */
.bf2-hero { padding: 72px 0 88px; scroll-margin-top: 0; }
.bf2-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.bf2-badge .ic { width: 16px; height: 16px; }
.bf2 h1 { margin: 28px 0 22px; font-family: var(--display); font-weight: 300; font-size: clamp(52px, 7.2vw, 96px); line-height: .98; letter-spacing: -.01em; }
.bf2-save { margin: 0 0 24px; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; }
.bf2 em { font-style: normal; font-weight: 600; color: var(--gold-text); }
.bf2-intro { margin: 0 0 32px; max-width: 450px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.85); }
.bf2-intro a { color: var(--gold); }
.bf2-eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #7a2a2a; text-align: center; }
.bf2-eyebrow.gold { color: var(--gold); }
.bf2-eyebrow.light { color: rgba(255,255,255,.75); text-align: left; }
.bf2-clock { display: flex; gap: 12px; }
.bf2-clock div { display: grid; place-items: center; align-content: center; gap: 4px; width: 76px; height: 76px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; }
.bf2-clock b { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.bf2-clock span { font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.bf2-live { margin: 0; font-size: 15px; color: var(--gold); }

/* Form card */
.bf2-form { padding: 32px; background: #fff; border-radius: 24px; color: var(--ink); scroll-margin-top: 24px; }
.bf2-step { display: grid; gap: 16px; }
.bf2-step[data-step="2"] { gap: 20px; animation: bf2-rise .35s ease both; }
@keyframes bf2-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bf2-form h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--wine); }
.bf2-form-sub { margin: -6px 0 2px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.bf2-field { display: grid; gap: 7px; font-size: 14px; font-weight: 600; }
.bf2-field input, .bf2-field select {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #cfc7c3; border-radius: 8px; background: #fff;
  color: var(--ink); font-size: 16px; font-weight: 400; outline: none; appearance: none; -webkit-appearance: none;
}
.bf2-field input::placeholder { color: #9b9390; }
.bf2-field select { padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231d1a19' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.bf2-field input:focus, .bf2-field select:focus { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(109,27,28,.12); }
.bf2-field small { font-size: 12px; font-weight: 400; color: var(--muted); }
.bf2-field .is-bad { border-color: #c0392b; box-shadow: 0 0 0 1px #c0392b; }
.bf2-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.bf2-group legend { margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 600; }
.bf2-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bf2-chips .bf2-chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
.bf2-chip { position: relative; cursor: pointer; }
.bf2-chip input { position: absolute; opacity: 0; pointer-events: none; }
.bf2-chip span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 10px; border: 1px solid #cfc7c3; border-radius: 10px; text-align: center; font-size: 14px; font-weight: 500; line-height: 1.25; transition: background .15s, border-color .15s, color .15s; }
.bf2-chip:hover span { border-color: var(--wine); }
.bf2-chip input:checked + span { background: var(--wine); border-color: var(--wine); color: #fff; font-weight: 600; }
.bf2-chip input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 2px; }
.bf2-group.is-bad .bf2-chip span { border-color: #c0392b; }
.form-error { margin: 0; font-size: 14px; color: #b3261e; text-align: center; }
.bf2-form-note { margin: -4px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.bf2-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--wine); color: #fff; font-family: var(--display); font-size: 19px; font-weight: 400; text-decoration: none; cursor: pointer; transition: background .15s; }
.bf2-btn:hover { background: var(--wine-deep); }
.bf2-btn[disabled] { opacity: .6; cursor: progress; }
.bf2-btn.small { min-height: 38px; font-family: var(--body); font-size: 13.5px; font-weight: 500; }
.bf2-btn.large { display: inline-flex; width: auto; padding: 0 32px; }

/* Offers (cream) */
.bf2-offers, .bf2-faq { background: var(--cream); color: var(--ink); padding: 88px 0; }
.bf2-title { margin: 0 auto; max-width: 920px; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1; text-align: center; color: #5a1515; }
.bf2-title.light { color: #fff; }
.bf2-sub { margin: 16px auto 0; max-width: 540px; font-size: 16px; line-height: 1.6; text-align: center; color: var(--muted); }
.bf2-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.bf2-offer { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.bf2-offer img { width: 100%; aspect-ratio: 511 / 383; object-fit: cover; }
.bf2-offer-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.bf2-offer h3 { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0; font-size: 17px; font-weight: 700; line-height: 1.2; }
.bf2-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid #ecd9d2; border-radius: 50%; background: #fdf7f5; color: var(--wine); }
.bf2-icon .ic { width: 18px; height: 18px; }
.bf2-icon.gold { border-color: rgba(242,196,140,.55); background: transparent; color: var(--gold); width: 44px; height: 44px; }
.bf2-offer p { margin: 14px 0 20px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.bf2-price { margin: auto 0 12px; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--wine); }
.bf2-more { margin-top: 48px; text-align: center; }
.bf2-more p { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* Reviews + trust (maroon) */
.bf2-proof { background: var(--maroon); padding: 88px 0 56px; }
.bf2-reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.bf2-review { display: flex; flex-direction: column; margin: 0; padding: 24px; background: #fff; border-radius: 20px; color: var(--ink); }
.bf2-stars { color: #e5ad6e; font-size: 16px; letter-spacing: 3px; }
.bf2-review blockquote { flex: 1; margin: 14px 0 24px; font-family: var(--display); font-size: 18.5px; line-height: 1.45; }
.bf2-review figcaption { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.bf2-review figcaption strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.bf2-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 48px 0 0; padding: 32px 0 0; border-top: 1px solid rgba(255,255,255,.14); list-style: none; }
.bf2-trust li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.4; color: rgba(255,255,255,.9); }
.bf2-trust .ic { width: 22px; height: 22px; color: var(--gold); }

/* FAQ */
.bf2-faq-list { max-width: 760px; margin: 40px auto 0; border-top: 1px solid #e3d9d4; }
.bf2-faq details { border-bottom: 1px solid #e3d9d4; }
.bf2-faq summary { position: relative; padding: 24px 48px 24px 4px; list-style: none; cursor: pointer; font-family: var(--display); font-size: 21px; line-height: 1.3; }
.bf2-faq summary::-webkit-details-marker { display: none; }
.bf2-faq summary::before, .bf2-faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--wine); }
.bf2-faq summary::after { transform: rotate(90deg); transition: transform .2s; }
.bf2-faq details[open] summary::after { transform: rotate(0); }
.bf2-faq details p { margin: 0; padding: 0 48px 24px 4px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* Closing */
.bf2-close { padding: 88px 0; }
.bf2-close-title { margin: 0 0 22px; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; }
.bf2-close .bf2-eyebrow { text-align: left; }
.bf2-checks { display: grid; gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.bf2-checks li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.bf2-checks .ic { width: 18px; height: 18px; color: var(--gold); }
.bf2-rewards { display: flex; align-items: center; gap: 16px; max-width: 520px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; }
.bf2-rewards div { flex: 1; }
.bf2-rewards strong { display: block; font-family: var(--display); font-size: 20px; font-weight: 400; }
.bf2-rewards div span { font-size: 14px; color: rgba(255,255,255,.8); }

/* Footer */
.bf2-foot { border-top: 1px solid rgba(255,255,255,.12); padding: 32px 0 40px; }
.bf2-foot .bf2-wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.bf2-foot .bf2-logo { height: 28px; }
.bf2-foot p { margin: 0; max-width: 470px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.7); }

/* Thank-you */
.bf2-ty { padding: 96px 0 120px; }
.bf2-ty h1 { max-width: 720px; font-size: clamp(44px, 6vw, 76px); }
.bf2-ty .bf2-intro { max-width: 560px; }

@media (max-width: 960px) {
  .bf2-grid, .bf2-reviews { grid-template-columns: repeat(2, 1fr); }
  .bf2-trust { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .bf2-split { grid-template-columns: 1fr; gap: 32px; }
  .bf2-nav-right span { display: none; }
  .bf2-hero { padding: 36px 0 48px; }
  .bf2 h1 { margin: 20px 0 14px; }
  .bf2-save { margin-bottom: 20px; }
}

@media (max-width: 600px) {
  .bf2-wrap { padding: 0 16px; }
  .bf2-nav .bf2-wrap { min-height: 64px; }
  .bf2-logo { height: 28px; }
  .bf2-pill { min-height: 36px; padding: 0 16px; font-size: 13px; }
  .bf2-hero { padding: 28px 0 40px; }
  .bf2-badge { font-size: 11.5px; padding: 6px 12px; }
  .bf2 h1 { font-size: 52px; }
  .bf2-save { font-size: 30px; }
  .bf2-hero-copy .bf2-intro { display: none; } /* the badge says the same; keeps the form near the top */
  .bf2-clock { gap: 8px; }
  .bf2-clock div { width: 64px; height: 64px; }
  .bf2-clock b { font-size: 26px; }
  .bf2-form { padding: 24px 20px; border-radius: 20px; }
  .bf2-step { gap: 14px; }
  .bf2-form h2 { font-size: 28px; }

  .bf2-offers, .bf2-faq, .bf2-close { padding: 56px 0; }
  .bf2-proof { padding: 56px 0 40px; }
  .bf2-grid { gap: 12px; margin-top: 32px; }
  .bf2-offer { border-radius: 16px; }
  .bf2-offer-body { padding: 12px 12px 14px; }
  .bf2-offer h3 { min-height: 38px; font-size: 14px; }
  .bf2-offer h3 .bf2-icon, .bf2-offer p { display: none; }
  .bf2-price { margin-top: 6px; font-size: 20px; }
  .bf2-btn.small { min-height: 36px; font-size: 12.5px; padding: 0 8px; }
  .bf2-more { margin-top: 32px; }

  .bf2-reviews { display: flex; gap: 12px; margin: 32px -16px 0; padding: 0 16px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .bf2-reviews::-webkit-scrollbar { display: none; }
  .bf2-review { flex: 0 0 82%; scroll-snap-align: center; }
  .bf2-trust { gap: 20px 16px; margin-top: 32px; padding-top: 28px; }
  .bf2-trust li { align-items: flex-start; font-size: 13.5px; }

  .bf2-faq summary { font-size: 18px; padding: 20px 40px 20px 0; }
  .bf2-faq details p { padding: 0 0 20px; font-size: 15px; }

  .bf2-rewards { flex-wrap: wrap; }
  .bf2-rewards .bf2-pill { width: 100%; }
  .bf2-foot .bf2-wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
