:root {
  --fb-ink: #0f172a;
  --fb-ink-soft: #475569;
  --fb-muted: #94a3b8;
  --fb-line: #e2e8f0;
  --fb-bg: #fefce8;
  --fb-bg-warm: #fef3c7;
  --fb-brand: #f59e0b;
  --fb-brand-dark: #d97706;
  --fb-accent: #ef4444;
  --fb-success: #16a34a;
  --fb-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  --fb-radius: 16px;
}

/* Lift the page background to <html>/<body> so the cream tint covers the
   strip behind the fixed inset header and the area around the footer. */
html, body { background: var(--fb-bg); }

.fb-page {
  background: transparent;
  color: var(--fb-ink);
  font-family: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 96px;
}
.fb-page h1, .fb-page h2, .fb-page h3 { font-family: "DM Serif Display", serif; font-weight: 400; }
.fb-container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

.fb-hero { padding: 28px 0 8px; text-align: center; }
.fb-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--fb-line);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--fb-ink-soft);
}
.fb-hero h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.05; margin: 14px 0 10px; letter-spacing: -0.01em; }
.fb-hero h1 .fb-hi {
  background: linear-gradient(120deg, var(--fb-brand) 0%, var(--fb-accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fb-hero p { color: var(--fb-ink-soft); font-size: clamp(15px, 1.6vw, 18px); max-width: 640px; margin: 0 auto; }
.fb-trust-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 22px; margin: 18px 0 6px; font-size: 13px; color: var(--fb-ink-soft); }
.fb-trust-row b { color: var(--fb-ink); }

.fb-buy-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; margin-top: 28px; }
@media (max-width: 880px) { .fb-buy-grid { grid-template-columns: 1fr; gap: 20px; } }

.fb-gallery { position: sticky; top: 84px; }
.fb-gallery-main {
  background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-radius);
  aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden;
  box-shadow: var(--fb-shadow); position: relative;
}
.fb-gallery-flag {
  position: absolute; top: 14px; left: 14px;
  background: var(--fb-brand); color: #fff;
  font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 8px;
  letter-spacing: 0.03em;
}
.fb-play-pill {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(15,23,42,.85); color: #fff;
  font-size: 12px; padding: 6px 10px; border-radius: 999px;
  font-weight: 600;
}

/* The animated flipbook illustration: stack of frames + flick animation */
.fb-stack {
  width: 70%; aspect-ratio: 4 / 3;
  position: relative;
}
.fb-frame {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #fff, #fde68a);
  border: 2px solid var(--fb-ink);
  border-radius: 6px;
  display: grid; place-items: center;
  font-family: "DM Sans", sans-serif; font-weight: 800;
  font-size: clamp(18px, 3vw, 28px); color: var(--fb-ink);
  box-shadow: 4px 4px 0 var(--fb-ink);
  transform-origin: left center;
  animation: fb-flip 2.4s cubic-bezier(.6,.05,.4,.95) infinite;
}
.fb-frame:nth-child(1) { animation-delay: 0s;   background: linear-gradient(135deg,#fff,#fed7aa); }
.fb-frame:nth-child(2) { animation-delay: .15s; background: linear-gradient(135deg,#fff,#fdba74); }
.fb-frame:nth-child(3) { animation-delay: .30s; background: linear-gradient(135deg,#fff,#fb923c); }
.fb-frame:nth-child(4) { animation-delay: .45s; background: linear-gradient(135deg,#fff,#f97316); }
.fb-frame:nth-child(5) { animation-delay: .60s; background: linear-gradient(135deg,#fff,#ea580c); }
@keyframes fb-flip {
  0%, 40% { transform: rotateY(0deg);  z-index: 5; }
  50%     { transform: rotateY(-100deg); z-index: 5; }
  60%, 100% { transform: rotateY(-180deg); z-index: 1; }
}

.fb-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.fb-thumbs button {
  appearance: none; border: 2px solid var(--fb-line); background: #fff;
  border-radius: 12px; aspect-ratio: 1 / 1; cursor: pointer; padding: 6px;
  font-size: 10px; color: var(--fb-muted); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  transition: border-color .15s, transform .15s;
}
.fb-thumbs button.is-active { border-color: var(--fb-brand); color: var(--fb-ink); }
.fb-thumbs button:hover { transform: translateY(-1px); }

.fb-buybox h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; margin: 0 0 8px; }
.fb-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--fb-ink-soft); margin-bottom: 12px; }
.fb-stars { color: #f5a623; letter-spacing: 1px; }
.fb-price-row { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 16px; }
.fb-price-now { font-size: 28px; font-weight: 800; color: var(--fb-ink); }
.fb-price-was { font-size: 16px; color: var(--fb-muted); text-decoration: line-through; }
.fb-save { background: #dcfce7; color: var(--fb-success); font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }

.fb-coupon {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px dashed var(--fb-brand); background: #fffbeb;
  padding: 10px 14px; border-radius: 12px; margin-bottom: 18px;
}
.fb-coupon-text { font-size: 13px; color: var(--fb-ink-soft); }
.fb-coupon-text b { color: var(--fb-brand-dark); }
.fb-coupon-code {
  background: #fff; border: 1px solid var(--fb-brand); color: var(--fb-brand-dark);
  font-weight: 800; font-size: 13px; padding: 6px 10px; border-radius: 8px;
  cursor: pointer; letter-spacing: 0.06em;
}

.fb-opt-group { margin: 14px 0 4px; }
.fb-opt-label { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fb-ink-soft); margin-bottom: 8px; }
.fb-opt-label small { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--fb-muted); }
.fb-opt-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.fb-opt-row.cols-2 { grid-template-columns: 1fr 1fr; }
.fb-opt {
  appearance: none; border: 1.5px solid var(--fb-line); background: #fff;
  border-radius: 12px; padding: 12px 14px; cursor: pointer; text-align: left;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.fb-opt:hover { border-color: #cbd5e1; }
.fb-opt.is-active { border-color: var(--fb-brand); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18); }
.fb-opt-title { font-weight: 700; font-size: 15px; color: var(--fb-ink); display: block; }
.fb-opt-sub { display: block; font-size: 12px; color: var(--fb-muted); margin-top: 2px; }

.fb-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--fb-line); border-radius: 12px; overflow: hidden; background: #fff; }
.fb-qty button { appearance: none; border: 0; background: #fff; width: 38px; height: 42px; font-size: 18px; cursor: pointer; color: var(--fb-ink); }
.fb-qty button:disabled { color: var(--fb-line); cursor: not-allowed; }
.fb-qty span { min-width: 36px; text-align: center; font-weight: 700; }

.fb-cta { display: block; width: 100%; margin-top: 16px; padding: 16px 18px; background: var(--fb-ink); color: #fff; border: 0; border-radius: 14px; font-size: 16px; font-weight: 700; cursor: pointer; text-align: center; text-decoration: none; transition: transform .15s, background .15s; }
.fb-cta:hover { background: #000; transform: translateY(-1px); color: #fff; }
.fb-cta.alt { background: #25d366; }
.fb-cta.alt:hover { background: #1ebe5d; }

.fb-trust-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; font-size: 12px; color: var(--fb-ink-soft); text-align: center; }
.fb-trust-list span { padding: 8px 4px; background: #fff; border-radius: 10px; border: 1px solid var(--fb-line); }

.fb-section { margin-top: 56px; }
.fb-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fb-brand-dark); margin-bottom: 8px; }
.fb-section h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.15; margin: 0 0 8px; }
.fb-section .fb-lede { color: var(--fb-ink-soft); font-size: 16px; max-width: 640px; }
.fb-section-head { margin-bottom: 22px; }

.fb-usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 880px) { .fb-usecases { grid-template-columns: repeat(2, 1fr); } }
.fb-usecase {
  background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-radius);
  padding: 18px; text-align: center; box-shadow: var(--fb-shadow);
}
.fb-usecase-emoji { font-size: 36px; }
.fb-usecase h3 { font-size: 16px; margin: 6px 0 4px; }
.fb-usecase p { font-size: 13px; color: var(--fb-muted); margin: 0; }

.fb-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 720px) { .fb-specs { grid-template-columns: repeat(2, 1fr); } }
.fb-spec { background: #fff; border: 1px solid var(--fb-line); border-radius: 12px; padding: 16px; }
.fb-spec-k { font-size: 12px; color: var(--fb-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.fb-spec-v { font-size: 18px; font-weight: 700; margin-top: 4px; color: var(--fb-ink); font-family: "DM Sans", sans-serif; }

.fb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 720px) { .fb-steps { grid-template-columns: 1fr; } }
.fb-step { background: #fff; border-radius: var(--fb-radius); padding: 22px; border: 1px solid var(--fb-line); position: relative; }
.fb-step::before { counter-increment: step; content: counter(step); position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--fb-ink); color: #fff; display: grid; place-items: center; font-weight: 800; }
.fb-step h3 { font-size: 17px; margin: 0 0 8px; padding-right: 40px; }
.fb-step p { font-size: 14px; color: var(--fb-ink-soft); margin: 0; }

.fb-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 880px) { .fb-reviews { grid-template-columns: 1fr; } }
.fb-review { background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-radius); padding: 20px; box-shadow: var(--fb-shadow); }
.fb-review p { font-size: 14px; color: var(--fb-ink); margin: 10px 0; line-height: 1.5; }
.fb-review-by { font-size: 12px; color: var(--fb-muted); }
.fb-review-by b { color: var(--fb-ink); }

.fb-faq { background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-radius); overflow: hidden; }
.fb-faq details { padding: 16px 20px; border-bottom: 1px solid var(--fb-line); cursor: pointer; }
.fb-faq details:last-child { border-bottom: 0; }
.fb-faq summary { list-style: none; font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; align-items: center; color: var(--fb-ink); }
.fb-faq summary::-webkit-details-marker { display: none; }
.fb-faq summary::after { content: "+"; font-size: 22px; color: var(--fb-brand); }
.fb-faq details[open] summary::after { content: "−"; }
.fb-faq details p { margin: 10px 0 0; font-size: 14px; color: var(--fb-ink-soft); line-height: 1.55; }

.fb-guarantee { background: var(--fb-ink); color: #fff; border-radius: var(--fb-radius); padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
@media (max-width: 720px) { .fb-guarantee { grid-template-columns: 1fr; text-align: center; } }
.fb-guarantee h3 { margin: 0 0 6px; font-size: 22px; }
.fb-guarantee p { margin: 0; opacity: 0.85; font-size: 15px; }
.fb-guarantee .fb-cta { margin: 0; background: var(--fb-brand); color: #fff; }
.fb-guarantee .fb-cta:hover { background: var(--fb-brand-dark); }

.fb-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--fb-line); box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.06); padding: 10px 14px env(safe-area-inset-bottom); }
.fb-sticky-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.fb-sticky-left { flex: 1; min-width: 0; }
.fb-sticky-title { font-size: 13px; font-weight: 700; color: var(--fb-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fb-sticky-price { font-size: 12px; color: var(--fb-ink-soft); }
.fb-sticky-price b { color: var(--fb-ink); font-size: 14px; }
.fb-sticky button { appearance: none; border: 0; background: var(--fb-brand); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; }
.fb-sticky button:hover { background: var(--fb-brand-dark); }

/* ─── Shared reviews widget tokens — consumed by reviews.css under
   body.landing-fraunces-page. Mapped to the flipbook (amber + red) palette. ─── */
:root {
  --sb-ink: #0F172A;
  --sb-muted: #475569;
  --sb-line: rgba(15, 23, 42, 0.10);
  --sb-card: rgba(255, 255, 255, 0.92);
  --sb-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  --sb-accent: #F59E0B;
  --sb-accent-deep: #D97706;
  --sb-secondary: #EF4444;
}
