/* BoothFunnel design system — Heritage Frame
   Cream + ink + Kodak red. Modern grotesque does the work, italic serif does the moment.
   ------------------------------------------------- */
:root {
  /* Brand palette */
  --bf-cream: #F2EAD8;       /* canvas — page background */
  --bf-cream-2: #E7DCC2;     /* darker cream for alternating sections — visible contrast */
  --bf-cream-3: #DACCAE;     /* deepest cream for accent bands */
  --bf-white: #FFFFFF;       /* "print white" — cards, photos */
  --bf-ink: #1A1612;         /* voice — primary text */
  --bf-ink-2: #2A241D;       /* slightly softer ink */
  --bf-mud: #5A4A38;         /* body subdued */
  --bf-rust: #8C5142;        /* eyebrows, metadata */
  --bf-line: #D9CFB6;        /* hairlines on cream — slightly stronger */
  --bf-line-2: #B8A98A;      /* stronger hairline */

  --bf-brand: #B33A2A;       /* Kodak red — the moment */
  --bf-brand-dark: #8C2D20;
  --bf-brass: #C9A063;       /* texture / fine detail */

  /* Legacy aliases — keep so existing markup keeps working */
  --bf-text: var(--bf-ink);
  --bf-muted: var(--bf-mud);
  --bf-hint: var(--bf-rust);
  --bf-bg: var(--bf-cream);
  --bf-bg-warm: var(--bf-cream-2);
  --bf-bg-cream: var(--bf-white);
  --bf-amber: var(--bf-brass);
  --bf-success: #1D9E75;
  --bf-danger: #A32D2D;

  --bf-radius-sm: 6px;
  --bf-radius: 10px;
  --bf-radius-lg: 14px;
  --bf-shadow: 0 1px 2px rgba(26,22,18,0.04);
  --bf-shadow-lift: 0 4px 16px rgba(26,22,18,0.06);
  --bf-max: 1140px;
  --bf-gutter: 28px;

  --bf-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --bf-font-serif: "EB Garamond", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--bf-font-sans);
  color: var(--bf-ink);
  background: var(--bf-cream);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Layout primitives */
.bf-wrap { max-width: var(--bf-max); margin: 0 auto; padding: 0 var(--bf-gutter); }
.bf-section { padding: 80px 0; }
.bf-section-tight { padding: 56px 0; }

/* Type */
.bf-eyebrow {
  font-size: 11px; color: var(--bf-rust); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
h1.bf-h1 {
  font-size: 56px; line-height: 1.05; font-weight: 500;
  color: var(--bf-ink); letter-spacing: -0.025em; margin: 14px 0 18px;
}
h2.bf-h2 {
  font-size: 36px; line-height: 1.15; font-weight: 500;
  color: var(--bf-ink); letter-spacing: -0.02em; margin: 0 0 18px;
}
h3.bf-h3 {
  font-size: 20px; line-height: 1.3; font-weight: 500;
  color: var(--bf-ink); margin: 0 0 8px;
}
.bf-lead { font-size: 18px; line-height: 1.55; color: var(--bf-mud); margin: 0 0 28px; max-width: 56ch; }
.bf-body { font-size: 15px; line-height: 1.6; color: var(--bf-mud); margin: 0; }
/* The italic moment — the brand's signature gesture */
em.bf-mark {
  font-family: var(--bf-font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--bf-brand);
  letter-spacing: -0.01em;
}

/* Buttons */
.bf-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; padding: 12px 18px;
  border-radius: var(--bf-radius-sm); border: 1px solid transparent;
  transition: transform 0.1s ease, background 0.15s ease, color 0.15s ease;
}
.bf-btn:active { transform: translateY(1px); }
.bf-btn-primary { background: var(--bf-brand); color: #FFFFFF; }
.bf-btn-primary:hover { background: var(--bf-brand-dark); }
.bf-btn-outline { background: transparent; color: var(--bf-ink); border-color: var(--bf-ink); }
.bf-btn-outline:hover { background: var(--bf-ink); color: #FFFFFF; }
.bf-btn-ghost { background: transparent; color: var(--bf-ink); }
.bf-btn-ghost:hover { color: var(--bf-brand); }
.bf-btn-lg { padding: 14px 22px; font-size: 15px; }

/* Header */
.bf-header { border-bottom: 0.5px solid var(--bf-line); background: var(--bf-cream); }
.bf-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
/* Wordmark: "Booth" sans + "funnel" italic serif in Kodak red */
.bf-logo { font-size: 22px; font-weight: 500; color: var(--bf-ink); letter-spacing: -0.02em; line-height: 1; }
.bf-logo span {
  font-family: var(--bf-font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--bf-brand);
  letter-spacing: -0.01em;
}
.bf-nav { display: flex; gap: 28px; font-size: 14px; color: var(--bf-muted); }
.bf-nav a:hover { color: var(--bf-ink); }
.bf-nav a.bf-current { color: var(--bf-ink); }
.bf-header-cta { display: flex; gap: 10px; align-items: center; }

/* Hero — ink palette to match trust strip / activated section */
.bf-hero {
  padding: 72px 0 56px;
  background: var(--bf-ink);
  color: var(--bf-cream);
}
.bf-hero h1.bf-h1 { color: var(--bf-cream); }
.bf-hero .bf-lead { color: rgba(242, 234, 216, 0.78); }
.bf-hero .bf-eyebrow { color: var(--bf-brass); }
.bf-hero .bf-btn-outline { color: var(--bf-cream); border-color: var(--bf-cream); }
.bf-hero .bf-btn-outline:hover { background: var(--bf-cream); color: var(--bf-ink); }
.bf-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.bf-hero-ctas { display: flex; gap: 12px; }
.bf-hero-art {
  background: var(--bf-ink); border-radius: var(--bf-radius-lg); padding: 22px;
  aspect-ratio: 4/3;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 10px;
}
/* Legacy tile grid — kept for backward compatibility */
.bf-tile { background: #2A241D; border-radius: 4px; }
.bf-tile.bf-amber { background: var(--bf-brass); }
.bf-tile.bf-cream { background: var(--bf-white); }
.bf-tile.bf-coral { background: var(--bf-brand-dark); }
.bf-tile.bf-gray { background: #5A4A38; }
.bf-tile.bf-brand {
  background: var(--bf-brand); color: var(--bf-cream); font-size: 11px;
  font-weight: 500; letter-spacing: 0.05em; text-align: center;
  display: flex; align-items: center; justify-content: center; padding: 6px;
}

/* The funnel diagram — one photo, three channels */
.bf-funnel-source {
  /* Block + text-align centering is more predictable than flex when the child has a transform applied */
  display: block;
  text-align: center;
  margin-bottom: 8px;
}

/* The actual strip image — real client output as the funnel input */
.bf-funnel-strip {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 185px;
  width: 100%;
  height: auto;
  box-shadow: 0 10px 28px rgba(26,22,18,0.22);
  transform: rotate(-1.5deg);
  transform-origin: center center;
  transition: transform 0.4s ease;
}
.bf-funnel-strip:hover { transform: rotate(0deg) scale(1.03); }

/* Icon system — consistent line-style icons */
.bf-icon { display: inline-block; width: 22px; height: 22px; stroke-width: 1.5; flex-shrink: 0; }

/* Card hover — subtle lift */
.bf-benefit, .bf-step, .bf-tier, .bf-industry, .bf-funnel-channel {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bf-benefit:hover, .bf-step:hover, .bf-funnel-channel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 22, 18, 0.10);
  border-color: var(--bf-line-2);
}

/* Industries — refresh with icons */
.bf-industry-icon {
  width: 32px; height: 32px;
  margin-bottom: 14px;
  color: var(--bf-brass);
  display: block;
}
.bf-industry:hover .bf-industry-icon { color: var(--bf-cream); }

/* Activated journey — 4 step visual */
.bf-journey {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}
.bf-journey-step {
  text-align: center;
  padding: 0 14px;
  position: relative;
}
.bf-journey-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  right: -50%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--bf-brass) 0%, var(--bf-brass) 50%, transparent 50%, transparent 100%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
  opacity: 0.5;
  z-index: 0;
}
.bf-journey-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(201, 160, 99, 0.5);
  border-radius: 50%;
  background: var(--bf-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--bf-brass);
  position: relative;
  z-index: 1;
}
.bf-journey-icon svg { width: 20px; height: 20px; }
.bf-journey-label {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 10px;
  color: var(--bf-brass);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.bf-journey-text {
  font-family: var(--bf-font-sans);
  font-size: 13px;
  color: rgba(242, 234, 216, 0.78);
  line-height: 1.5;
}
@media (max-width: 800px) {
  .bf-journey { grid-template-columns: 1fr; gap: 14px; }
  .bf-journey-step::after { display: none !important; }
}

/* Scroll fade-in */
.bf-fade { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.bf-fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .bf-fade { opacity: 1; transform: none; transition: none; }
}

/* Activated customers section */
.bf-activated {
  background: var(--bf-ink);
  color: var(--bf-cream);
  border-top: 0.5px solid var(--bf-ink-2);
  border-bottom: 0.5px solid var(--bf-ink-2);
}
.bf-activated .bf-eyebrow { color: var(--bf-brass); }
.bf-activated h2 { color: var(--bf-cream); }
.bf-activated .bf-lead { color: rgba(242, 234, 216, 0.78); max-width: 62ch; }
.bf-activated em.bf-mark { color: #E84F1F; }
.bf-activated-stat {
  margin-top: 32px;
  padding: 28px 32px;
  border-left: 3px solid var(--bf-brand);
  background: rgba(242, 234, 216, 0.03);
}
.bf-activated-stat-num {
  font-family: var(--bf-font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 38px;
  color: var(--bf-brand);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.bf-activated-stat-num strong { font-style: normal; font-family: var(--bf-font-sans); font-weight: 500; }
.bf-activated-stat-label {
  font-size: 14px;
  color: rgba(242, 234, 216, 0.65);
  margin-top: 8px;
  line-height: 1.5;
  max-width: 56ch;
}
.bf-activated-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.bf-activated-rule {
  padding: 22px 22px 20px;
  border: 0.5px solid rgba(242, 234, 216, 0.15);
  border-radius: var(--bf-radius);
}
.bf-activated-rule-num {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11px;
  color: var(--bf-brass);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.bf-activated-rule h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--bf-cream);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.bf-activated-rule p {
  font-size: 13px;
  color: rgba(242, 234, 216, 0.65);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 800px) {
  .bf-activated-rules { grid-template-columns: 1fr; }
}

/* Photo strip — the photo booth's signature output shape */
.bf-photostrip {
  position: relative;
  background: #1A1612;
  width: 200px;
  padding: 14px 12px 56px;
  box-shadow: 0 10px 28px rgba(26,22,18,0.22);
  transform: rotate(-1.5deg);
  border: 0.5px solid rgba(201,160,99,0.18);
}
.bf-photostrip-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  background: var(--bf-ink);
  margin-bottom: 6px;
  object-fit: cover;
}
.bf-photostrip-photo:last-of-type { margin-bottom: 0; }
.bf-photostrip-mark {
  position: absolute;
  bottom: 14px;
  left: 12px; right: 12px;
  text-align: center;
  font-family: var(--bf-font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--bf-cream);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.bf-photostrip-mark .x {
  display: inline-block;
  font-family: var(--bf-font-sans);
  font-style: normal;
  font-size: 9px;
  color: var(--bf-brass);
  letter-spacing: 0.18em;
  margin: 0 4px;
  vertical-align: middle;
}
.bf-photostrip-stars {
  position: absolute;
  top: 14px; bottom: 56px;
  width: 8px;
  display: flex; flex-direction: column; justify-content: space-evenly;
  align-items: center;
  pointer-events: none;
}
.bf-photostrip-stars.is-left { left: 2px; }
.bf-photostrip-stars.is-right { right: 2px; }
.bf-photostrip-stars svg { width: 7px; height: 7px; color: var(--bf-brass); opacity: 0.8; }
.bf-funnel-branches { display: block; width: 100%; height: 70px; margin: -4px 0 14px; }
.bf-funnel-channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bf-funnel-channel {
  background: var(--bf-white); border: 0.5px solid var(--bf-line);
  border-radius: var(--bf-radius); padding: 24px 22px 20px;
  position: relative;
  box-shadow: 0 4px 14px rgba(26,22,18,0.06);
}
.bf-funnel-num {
  font-family: var(--bf-font-serif); font-style: italic;
  font-size: 28px; color: var(--bf-brand); line-height: 1; margin-bottom: 14px;
}
.bf-funnel-outcome {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 11px; color: var(--bf-rust);
  letter-spacing: 0.04em; text-transform: uppercase;
  padding-top: 12px; margin-top: 14px;
  border-top: 0.5px solid var(--bf-line);
}
.bf-funnel-foot {
  margin: 30px auto 0; padding-top: 18px;
  border-top: 0.5px dashed var(--bf-brass);
  text-align: center; max-width: 600px;
  font-family: var(--bf-font-serif); font-style: italic;
  font-size: 15px; color: var(--bf-mud);
}
.bf-funnel-foot strong { color: var(--bf-ink); font-style: normal; font-weight: 500; }
@media (max-width: 800px) {
  .bf-funnel-channels { grid-template-columns: 1fr; gap: 28px; }
  .bf-funnel-branches { display: none; }
  /* Vertical dashed connector between stacked cards on mobile */
  .bf-funnel-channel { position: relative; }
  .bf-funnel-channel::before {
    content: '';
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 1.5px;
    height: 18px;
    background: repeating-linear-gradient(180deg, var(--bf-brass) 0 4px, transparent 4px 8px);
    opacity: 0.8;
  }
  .bf-funnel-channel:first-child::before {
    top: -32px;
    height: 28px;
  }
  /* Down arrow from the strip to the first card */
  .bf-funnel-source { margin-bottom: 20px; padding: 0; }
  .bf-funnel-source::after {
    content: '';
    display: block;
    width: 1.5px;
    height: 18px;
    margin: 12px auto -8px;
    background: repeating-linear-gradient(180deg, var(--bf-brass) 0 4px, transparent 4px 8px);
    opacity: 0.8;
  }
  /* Reduce tilt on mobile — at narrow widths the rotated bounding box pulls the
     image visually off-center even when the parent is centering correctly. */
  .bf-funnel-strip {
    transform: rotate(-0.5deg);
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Polaroid stack — Heritage Frame hero treatment */
.bf-polaroids {
  position: relative;
  aspect-ratio: 4/3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: center;
  padding: 20px 4px;
  max-width: 100%;
}
.bf-polaroid {
  position: relative;
  background: var(--bf-white);
  padding: 12px 12px 36px;
  border: 0.5px solid var(--bf-line);
  box-shadow: 0 6px 18px rgba(26, 22, 18, 0.10);
  transition: transform 0.25s ease;
  min-width: 0;
  max-width: 100%;
}
.bf-polaroid:nth-child(1) { transform: rotate(-7deg); z-index: 1; }
.bf-polaroid:nth-child(2) { transform: rotate(3deg) translateY(-18px); z-index: 3; }
.bf-polaroid:nth-child(3) { transform: rotate(-2deg) translateY(12px); z-index: 2; }
.bf-polaroids:hover .bf-polaroid:nth-child(1) { transform: rotate(-9deg) translateX(-4px); }
.bf-polaroids:hover .bf-polaroid:nth-child(3) { transform: rotate(0deg) translateY(8px) translateX(4px); }
.bf-polaroid-photo {
  aspect-ratio: 1;
  background: var(--bf-ink);
  display: block;
  width: 100%;
}
.bf-polaroid-photo.is-brass { background: var(--bf-brass); }
.bf-polaroid-photo.is-red   { background: var(--bf-brand-dark); }
.bf-polaroid-photo.is-cream { background: var(--bf-cream-2); }
.bf-polaroid-photo.is-rust  { background: var(--bf-rust); }
.bf-polaroid-video {
  object-fit: cover;
  background: var(--bf-ink);
  width: 100%;
  height: auto;
  max-width: 100%;
}
.bf-polaroid-cap {
  position: absolute;
  bottom: 10px; left: 14px; right: 14px;
  font-family: ui-monospace, "SF Mono", "Menlo", monospace;
  font-size: 10px;
  color: var(--bf-ink);
  letter-spacing: 0.02em;
  /* Force single line — captions wrapped onto two lines on mobile and overlapped the photo */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bf-polaroid-stamp {
  position: absolute;
  bottom: 38px; right: 14px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bf-brand);
  color: var(--bf-cream);
  font-family: var(--bf-font-serif);
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
@media (max-width: 900px) {
  .bf-polaroids { padding: 28px 16px; }
  .bf-polaroid:nth-child(1) { transform: rotate(-5deg); }
  .bf-polaroid:nth-child(2) { transform: rotate(2deg) translateY(-12px); }
  .bf-polaroid:nth-child(3) { transform: rotate(-1deg) translateY(8px); }
}
@media (max-width: 600px) {
  /* Phones: tighter polaroid card padding + smaller caption so it doesn't bleed onto the photo */
  .bf-polaroid { padding: 8px 8px 26px; }
  .bf-polaroid-cap {
    bottom: 7px; left: 10px; right: 10px;
    font-size: 9px;
  }
  .bf-polaroid-stamp { bottom: 30px; right: 10px; width: 22px; height: 22px; font-size: 11px; }
}

/* Trust strip — matches the activated section palette */
.bf-trust {
  background: var(--bf-ink); border-top: 0.5px solid var(--bf-ink-2);
  border-bottom: 0.5px solid var(--bf-ink-2); padding: 24px 0;
}
.bf-trust .bf-trust-label { color: var(--bf-brass); }
.bf-trust .bf-logo-pill { background: rgba(242, 234, 216, 0.18); }
.bf-trust-row { display: flex; align-items: center; gap: 28px; }
.bf-trust-label {
  font-size: 11px; color: var(--bf-hint); letter-spacing: 0.05em;
  text-transform: uppercase; font-weight: 600;
}
.bf-trust-logos { display: flex; gap: 32px; flex: 1; }
.bf-logo-pill { height: 16px; flex: 1; background: #D6D6D6; border-radius: 3px; max-width: 120px; }

/* Steps */
.bf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.bf-step {
  padding: 28px; background: var(--bf-white);
  border-radius: var(--bf-radius); border: 0.5px solid var(--bf-line);
  box-shadow: 0 1px 2px rgba(26,22,18,0.03);
}
.bf-step-num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--bf-ink);
  color: #FFFFFF; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  flex: none;
}
/* Header row: step number + concept icon side-by-side at the top of each step card */
.bf-step-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.bf-step-header .bf-step-num { margin-bottom: 0; }
.bf-step-icon {
  width: 40px; height: 40px; border-radius: 8px; background: var(--bf-cream-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--bf-brand); flex: none;
  margin-left: auto;
}
.bf-step-icon svg { width: 22px; height: 22px; }

/* Benefits grid */
.bf-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.bf-benefit {
  padding: 24px; background: var(--bf-white);
  border-radius: var(--bf-radius); border: 0.5px solid var(--bf-line);
  box-shadow: 0 1px 2px rgba(26,22,18,0.03);
}
.bf-benefit-icon {
  width: 40px; height: 40px; border-radius: 8px; background: var(--bf-cream-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--bf-brand); margin-bottom: 14px;
}

/* Industries strip */
.bf-industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.bf-industry {
  padding: 24px; background: var(--bf-ink); color: #FFFFFF;
  border-radius: var(--bf-radius); display: block; transition: background 0.15s ease;
}
.bf-industry:hover { background: var(--bf-brand); }
.bf-industry h3 { font-size: 18px; font-weight: 600; color: #FFFFFF; margin: 0 0 6px; }
.bf-industry p { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.7); margin: 0; }

/* Stats */
.bf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 32px 0; padding: 36px 0; border-top: 0.5px solid var(--bf-line); border-bottom: 0.5px solid var(--bf-line); }
.bf-stat-num { font-size: 44px; font-weight: 600; color: var(--bf-ink); letter-spacing: -0.02em; line-height: 1; }
.bf-stat-label { font-size: 14px; color: var(--bf-muted); margin-top: 6px; }

/* Testimonial */
.bf-quote {
  background: var(--bf-bg-warm); padding: 36px; border-radius: var(--bf-radius-lg);
  border-left: 4px solid var(--bf-brand);
}
.bf-quote blockquote {
  margin: 0 0 16px; font-size: 22px; line-height: 1.45; color: var(--bf-ink);
  font-weight: 500; letter-spacing: -0.01em;
}
.bf-quote cite { font-style: normal; font-size: 14px; color: var(--bf-muted); }
.bf-quote cite strong { color: var(--bf-ink); font-weight: 600; }

/* Pricing */
.bf-pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; align-items: stretch; }
.bf-pricing-grid.bf-pricing-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .bf-pricing-grid.bf-pricing-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 720px)  { .bf-pricing-grid { grid-template-columns: 1fr; } }
.bf-tier {
  padding: 32px; background: var(--bf-bg); border: 1px solid var(--bf-line);
  border-radius: var(--bf-radius-lg); display: flex; flex-direction: column;
}
.bf-tier.bf-tier-feature { border-color: var(--bf-brand); border-width: 2px; position: relative; }
.bf-tier-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--bf-brand); color: #FFFFFF; font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.bf-tier-name { font-size: 14px; font-weight: 600; color: var(--bf-muted); text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 8px; }
.bf-tier-price { font-size: 40px; font-weight: 600; color: var(--bf-ink); letter-spacing: -0.02em; line-height: 1; }
.bf-tier-price span { font-size: 15px; font-weight: 400; color: var(--bf-muted); }
.bf-tier-tagline { font-size: 14px; color: var(--bf-muted); margin: 8px 0 24px; }
.bf-tier-features { list-style: none; padding: 0; margin: 0 0 28px; }
.bf-tier-features li { padding: 8px 0 8px 24px; font-size: 14px; color: var(--bf-text); position: relative; }
.bf-tier-features li::before { content: "✓"; color: var(--bf-brand); position: absolute; left: 0; font-weight: 700; }
.bf-tier .bf-btn { margin-top: auto; }

/* FAQ */
.bf-faq { max-width: 760px; margin: 36px auto 0; }
.bf-faq-item { border-bottom: 0.5px solid var(--bf-line); padding: 20px 0; }
.bf-faq-q { font-size: 16px; font-weight: 600; color: var(--bf-ink); margin: 0 0 8px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.bf-faq-q::after { content: "+"; color: var(--bf-brand); font-size: 22px; font-weight: 400; }
.bf-faq-item.bf-open .bf-faq-q::after { content: "−"; }
.bf-faq-a { font-size: 15px; color: var(--bf-muted); margin: 0; line-height: 1.6; max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.bf-faq-item.bf-open .bf-faq-a { max-height: 400px; padding-top: 6px; }

/* Final CTA banner */
.bf-cta-banner { background: var(--bf-ink); color: #FFFFFF; padding: 64px 0; text-align: center; }
.bf-cta-banner h2 { color: #FFFFFF; font-size: 36px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 14px; }
.bf-cta-banner p { color: rgba(255,255,255,0.7); font-size: 17px; margin: 0 0 28px; }

/* Footer */
.bf-footer { background: var(--bf-cream-3); border-top: 0.5px solid var(--bf-line-2); padding: 48px 0 24px; font-size: 14px; color: var(--bf-mud); }
.bf-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.bf-footer h4 { font-size: 13px; font-weight: 600; color: var(--bf-ink); text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 14px; }
.bf-footer ul { list-style: none; padding: 0; margin: 0; }
.bf-footer li { margin: 8px 0; }
.bf-footer a:hover { color: var(--bf-brand); }
.bf-footer-bar { display: flex; justify-content: space-between; padding-top: 24px; border-top: 0.5px solid var(--bf-line); font-size: 13px; color: var(--bf-hint); }

/* Forms */
.bf-form { display: grid; gap: 16px; }
.bf-field { display: flex; flex-direction: column; gap: 6px; }
.bf-label { font-size: 13px; font-weight: 600; color: var(--bf-ink); }
.bf-help { font-size: 12px; color: var(--bf-hint); }
.bf-input, .bf-select, .bf-textarea {
  font-family: inherit; font-size: 15px; padding: 11px 14px;
  border: 1px solid var(--bf-line); border-radius: var(--bf-radius-sm);
  background: var(--bf-bg); color: var(--bf-text); transition: border-color 0.15s ease;
}
.bf-input:focus, .bf-select:focus, .bf-textarea:focus {
  outline: none; border-color: var(--bf-brand);
  box-shadow: 0 0 0 3px rgba(232, 79, 31, 0.15);
}
.bf-textarea { resize: vertical; min-height: 110px; }
.bf-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Logo dropzone (checkout step 3) */
.bf-dropzone {
  position: relative;
  display: block;
  padding: 20px;
  border: 1.5px dashed var(--bf-line);
  border-radius: var(--bf-radius);
  background: var(--bf-bg-warm);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.bf-dropzone:hover { border-color: var(--bf-ink); }
.bf-dropzone.is-dragging { border-color: var(--bf-brand); background: #FFF6F2; }
.bf-dropzone.is-uploading { opacity: 0.85; cursor: progress; }
.bf-dropzone.is-uploaded { border-style: solid; border-color: var(--bf-brand); background: #FFF6F2; }
.bf-dropzone-input {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.bf-dropzone-body { display: flex; align-items: center; gap: 14px; pointer-events: none; }
.bf-dropzone-icon { width: 28px; height: 28px; color: var(--bf-muted); flex: none; }
.bf-dropzone.is-uploaded .bf-dropzone-icon { color: var(--bf-brand); }
.bf-dropzone-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bf-dropzone-text strong { font-size: 14px; font-weight: 600; color: var(--bf-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf-dropzone-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--bf-line); border-radius: 0 0 var(--bf-radius) var(--bf-radius); overflow: hidden; }
.bf-dropzone-bar { width: 40%; height: 100%; background: var(--bf-brand); animation: bf-progress 1.1s ease-in-out infinite; }
@keyframes bf-progress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* Checkout stepper */
.bf-stepper { display: flex; gap: 6px; margin-bottom: 32px; }
.bf-stepper-item { flex: 1; height: 4px; background: var(--bf-line); border-radius: 2px; }
.bf-stepper-item.bf-done { background: var(--bf-brand); }
.bf-stepper-item.bf-active { background: var(--bf-ink); }
.bf-step-meta { font-size: 13px; color: var(--bf-hint); margin-bottom: 6px; }
.bf-checkout { max-width: 640px; margin: 0 auto; }
.bf-checkout .bf-step-pane { display: none; }
.bf-checkout .bf-step-pane.bf-active { display: block; }
.bf-step-actions { display: flex; justify-content: space-between; margin-top: 28px; gap: 10px; }

/* Plan picker (in checkout) */
.bf-plan-options { display: grid; gap: 12px; margin: 16px 0; }
.bf-plan-option {
  display: block; padding: 18px; border: 1px solid var(--bf-line);
  border-radius: var(--bf-radius); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
}
.bf-plan-option:hover { border-color: var(--bf-ink); }
.bf-plan-option input { margin-right: 10px; }
.bf-plan-option.bf-selected { border-color: var(--bf-brand); background: #FFF6F2; }
.bf-plan-option-row { display: flex; justify-content: space-between; align-items: baseline; }
.bf-plan-option-name { font-weight: 600; color: var(--bf-ink); font-size: 16px; }
.bf-plan-option-price { font-weight: 600; color: var(--bf-ink); font-size: 16px; }
.bf-plan-option-desc { font-size: 13px; color: var(--bf-muted); margin: 4px 0 0; }

/* Banners */
.bf-banner-warn {
  background: #FEF6E7; color: #7A4F00; padding: 12px 16px;
  border-radius: var(--bf-radius-sm); font-size: 13px;
  border-left: 3px solid var(--bf-amber); margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 900px) {
  h1.bf-h1 { font-size: 40px; }
  h2.bf-h2 { font-size: 28px; }
  .bf-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .bf-steps, .bf-benefits, .bf-industries, .bf-pricing-grid, .bf-stats { grid-template-columns: 1fr; }
  .bf-footer-grid { grid-template-columns: 1fr 1fr; }
  .bf-section { padding: 56px 0; }
  .bf-nav { display: none; }
  .bf-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .bf-trust-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bf-footer-grid { grid-template-columns: 1fr; }
  .bf-footer-bar { flex-direction: column; gap: 8px; }
}
