/* =========================================================
   FanFlavorite marketing site - design system "F: Synthesis"
   Ink = brand/trust anchor. Apricot = actions. Gold = ratings,
   discovery, leaderboard - kept separate from Apricot on purpose.
   ========================================================= */
:root {
  --ff-primary: #ef6a3c;
  --ff-primary-dark: #d8552b;
  --ff-primary-text: #b8431f;
  --ff-primary-light: #fce3d6;
  --ff-gold: #f0b84b;
  --ff-gold-light: #fbecc7;
  --ff-dark: #1c2b36;
  --ff-muted: #66727a;
  --ff-bg: #ffffff;
  --ff-bg-alt: #faf7f2;
  --ff-border: #e7e2d9;

  --ff-font-heading: 'Instrument Sans', sans-serif;
  --ff-font-body: 'Inter', sans-serif;

  /* Spacing scale (4px base) - use these instead of one-off rem values */
  --ff-space-1: 0.25rem;  /* 4px */
  --ff-space-2: 0.5rem;   /* 8px */
  --ff-space-3: 0.75rem;  /* 12px */
  --ff-space-4: 1rem;     /* 16px */
  --ff-space-5: 1.5rem;   /* 24px */
  --ff-space-6: 2rem;     /* 32px */
  --ff-space-8: 3rem;     /* 48px */
  --ff-space-10: 5rem;    /* 80px */

  /* Type scale */
  --ff-fs-xs: 0.75rem;                        /* 12px - taglines, badges, captions */
  --ff-fs-sm: 0.875rem;                       /* 14px - small labels */
  --ff-fs-base: 1rem;                         /* 16px - body */
  --ff-fs-md: 1.15rem;                        /* ~18px - h3, lead text */
  --ff-fs-lg: 1.35rem;                        /* ~22px - brand name */
  --ff-fs-xl: clamp(1.75rem, 3vw, 2.25rem);   /* h2 */
  --ff-fs-2xl: clamp(2.25rem, 4vw, 3.25rem);  /* h1 */
  --ff-fs-price: 2.75rem;                     /* pricing numeral - its own moment */
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--ff-font-body);
  color: var(--ff-dark);
  background-color: var(--ff-bg);
}

h1, h2, h3, h4, .ff-brand-name {
  font-family: var(--ff-font-heading);
}

a {
  color: var(--ff-primary-text);
}

/* ---------- Bootstrap Icons (subset) ----------
   Replaces the full Bootstrap Icons CDN stylesheet + font (~230 KB, render-blocking)
   with a 1 KB font holding ONLY the icons this page uses. Markup is unchanged:
   <i class="bi bi-check-lg"></i>.

   Icons in the font: check-lg, clipboard-data, fork-knife, stars, qr-code, check-circle-fill

   To add an icon: an icon not in the list above renders as blank. Re-run
   zz-docs/bootstrap-icons-subset.py with the FULL list (old + new), replace the woff2,
   paste the printed rules below, and bump ?v= here AND on the preload link in index.html.
   Source: Bootstrap Icons v1.13.1 (MIT) - https://icons.getbootstrap.com/ */
@font-face {
  font-display: block;
  font-family: "bootstrap-icons";
  src: url("../assets/fonts/bootstrap-icons-subset.woff2?v=1") format("woff2");
}

.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bi-check-lg::before { content: "\f633"; }
.bi-clipboard-data::before { content: "\f28c"; }
.bi-fork-knife::before { content: "\f91a"; }
.bi-stars::before { content: "\f589"; }
.bi-qr-code::before { content: "\f6ae"; }
.bi-check-circle-fill::before { content: "\f26a"; }
/* ---------- end Bootstrap Icons (subset) ---------- */

/* ---------- Buttons ---------- */
.btn-ff-primary {
  background-color: var(--ff-primary);
  border-color: var(--ff-primary);
  color: #fff;
}
.btn-ff-primary:hover,
.btn-ff-primary:focus {
  background-color: var(--ff-primary-dark);
  border-color: var(--ff-primary-dark);
  color: #fff;
}

.btn-ff-outline {
  background-color: transparent;
  border: 1px solid var(--ff-primary);
  color: var(--ff-primary-text);
}
.btn-ff-outline:hover,
.btn-ff-outline:focus {
  background-color: var(--ff-primary-light);
  border-color: var(--ff-primary);
  color: var(--ff-primary-text);
}

.btn-ff-primary:focus,
.btn-ff-outline:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(239, 106, 60, 0.35) !important;
}

/* ---------- Header ---------- */
.ff-header {
  background-color: var(--ff-bg);
  border-bottom: 1px solid var(--ff-border);
  z-index: 1030;
  transition: box-shadow 0.2s ease;
}

.ff-header-scrolled {
  box-shadow: 0 0.25rem 0.75rem rgba(31, 36, 41, 0.06);
}

.ff-brand {
  display: flex;
  align-items: center;
  gap: var(--ff-space-3);
}

.ff-brand-mark {
  border-radius: 22%;
  flex-shrink: 0;
}

.ff-brand-name {
  font-weight: 700;
  font-size: var(--ff-fs-lg);
  color: var(--ff-dark);
}

.ff-brand-tagline {
  font-size: var(--ff-fs-xs);
  color: var(--ff-muted);
  font-weight: 500;
}

/* ---------- Typography helpers ---------- */
.ff-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--ff-fs-xs);
  font-weight: 600;
  color: var(--ff-primary-text);
  margin-bottom: var(--ff-space-3);
}

.ff-h1 {
  font-size: var(--ff-fs-2xl);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--ff-space-5);
}

.ff-h2 {
  font-size: var(--ff-fs-xl);
  font-weight: 700;
  margin-bottom: var(--ff-space-4);
}

.ff-h3 {
  font-size: var(--ff-fs-md);
  font-weight: 600;
  margin-bottom: var(--ff-space-2);
}

.ff-lead {
  font-size: var(--ff-fs-md);
  color: var(--ff-muted);
}

.ff-body-lg {
  font-size: var(--ff-fs-md);
}

.ff-hero-features {
  display: flex;
  flex-direction: column;
  gap: var(--ff-space-3);
  font-size: var(--ff-fs-md);
  color: var(--ff-muted);
  margin: 0;
}

.ff-hero-features li {
  display: flex;
  align-items: baseline;
  gap: var(--ff-space-2);
}

.ff-hero-features i {
  color: var(--ff-primary-text);
  flex-shrink: 0;
}

/* ---------- Sections ---------- */
.ff-section {
  padding: var(--ff-space-10) 0;
}

.ff-section-alt {
  background-color: var(--ff-bg-alt);
}

.ff-section-tight {
  padding: var(--ff-space-6) 0;
}

.ff-statement-rule {
  width: 2.5rem;
  height: 3px;
  border-radius: 2px;
  background-color: var(--ff-primary);
  margin: 0 auto var(--ff-space-5);
}

.ff-statement {
  font-family: var(--ff-font-heading);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.45;
  color: var(--ff-dark);
  margin: 0;
}

.ff-hero {
  padding-top: var(--ff-space-8);
  background: linear-gradient(180deg, var(--ff-primary-light) 0%, var(--ff-bg) 60%);
}

.ff-hero-img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}

/* Desktop: the hero image sets the section height, so the container's py-5 is enough top spacing */
@media (min-width: 992px) {
  .ff-hero {
    padding-top: 0;
  }
}

/* Hero image sits above the copy when stacked - keep it short so the headline stays near the top */
@media (max-width: 991.98px) {
  .ff-hero-img {
    max-width: 280px;
  }
}

/* ---------- How It Works ---------- */
.ff-step-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid var(--ff-border);
  margin-bottom: var(--ff-space-5);
}

/* Stacked below lg: cap step width so images don't blow up to full tablet width */
@media (max-width: 991.98px) {
  .ff-step {
    max-width: 480px;
    margin: 0 auto;
  }
}

.ff-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--ff-primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: var(--ff-space-4);
}

/* ---------- Benefits ---------- */
.ff-benefit-icon {
  font-size: 3rem;          /* 48px */
  color: var(--ff-primary);
  margin-bottom: var(--ff-space-4);
  display: block;
}

/* ---------- Pricing ---------- */
.ff-included-panel {
  background-color: var(--ff-bg-alt);
  border: 1px solid var(--ff-border);
  border-radius: 0.75rem;
  padding: 2.5rem;              /* 40px */
}

.ff-included-label {
  font-weight: 600;
  color: var(--ff-dark);
  margin-bottom: var(--ff-space-3);
}


.ff-price-card {
  height: 100%;
  padding: var(--ff-space-6);
  border: 1px solid var(--ff-border);
  border-radius: 0.75rem;
  background-color: var(--ff-bg);
  position: relative;
}

.ff-price-card-featured {
  border: 2px solid var(--ff-primary);
  box-shadow: 0 0.5rem 1.5rem rgba(239, 106, 60, 0.14);
}

.ff-price-badge {
  position: absolute;
  top: -0.75rem;
  left: var(--ff-space-6);
  background-color: var(--ff-gold);
  color: var(--ff-dark);
  font-size: var(--ff-fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--ff-space-1) var(--ff-space-3);
  border-radius: 1rem;
}

.ff-price {
  font-family: var(--ff-font-heading);
  font-size: var(--ff-fs-price);
  font-weight: 700;
  color: var(--ff-dark);
  margin: var(--ff-space-2) 0 var(--ff-space-5);
}

.ff-price-period {
  font-size: var(--ff-fs-base);
  font-weight: 500;
  color: var(--ff-muted);
}

.ff-price-savings {
  font-weight: 700;
  color: var(--ff-primary-text);
}

.ff-price-features {
  margin-bottom: 0;
}

.ff-price-features li {
  padding: 0.625rem 0;          /* 10px top + bottom = 20px between rows */
  color: var(--ff-dark);
}

.ff-price-features i {
  color: var(--ff-primary-text);
  margin-right: var(--ff-space-2);
}

/* ---------- Contact form ---------- */
.ff-contact-form .form-control:focus {
  border-color: var(--ff-primary);
  box-shadow: 0 0 0 0.2rem rgba(239, 106, 60, 0.15);
}

.ff-contact-note {
  margin-top: var(--ff-space-3);
}

.ff-contact-thanks {
  border: 1px solid var(--ff-border);
  border-radius: 0.75rem;
  padding: var(--ff-space-6) var(--ff-space-5);
}

/* ---------- Footer ---------- */
.ff-footer {
  background-color: var(--ff-dark);
  color: #fff;
}

.ff-footer p {
  color: rgba(255, 255, 255, 0.6);
}

.ff-footer-link {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.ff-footer-link:hover {
  color: var(--ff-primary-light);
}

/* ---------- For Your Customers ---------- */
.ff-customers-img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .ff-customers-img {
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .ff-section {
    padding: var(--ff-space-8) 0;
  }
}
