@font-face { font-family: 'woodgrit'; src: url('fonts/bf-heading.woff2') format('woff2'); font-display: swap; font-weight: 100 900; }

:root {
  --bf-paper: #f6f1e8;
  --bf-card: #fffaf2;
  --bf-ink: #2b2724;
  --bf-charcoal: #3e3e3e;
  --bf-muted: #6e665d;
  --bf-line: #ddd3c4;
  --bf-orange: #eb8a23;
  --bf-red: #b8660f;
  --bf-red-dark: #8f4d08;
}

body { background: var(--bf-paper); color: var(--bf-ink); }

.bf-sec > .ct-section-inner-wrap { padding-top: 0; padding-bottom: 0; max-width: none; padding-left: 0; padding-right: 0; }
.bf-sec { padding: 88px 0; }
.ct-div-block.bf-wrap, .bf-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; display: block; }

.bf-display, .bf-h2 { font-family: 'woodgrit', 'Arimo', sans-serif; font-weight: 400; color: var(--bf-ink); letter-spacing: .01em; line-height: 1; margin: 0 0 20px; }
.bf-display { font-size: clamp(48px, 7vw, 96px); }
.bf-display--page { font-size: clamp(42px, 6vw, 72px); }
.bf-h2 { font-size: clamp(36px, 4.6vw, 60px); }
.bf-h3 { font: 700 19px/1.25 'Arimo', sans-serif; margin: 0 0 6px; color: var(--bf-ink); }
.bf-lead { font: 400 20px/1.55 'Arimo', sans-serif; color: var(--bf-ink); margin: 0 0 28px; max-width: none; }
.bf-text { font: 400 17px/1.65 'Arimo', sans-serif; color: var(--bf-ink); margin: 0 0 16px; }
.bf-text--wide { margin-bottom: 32px; }

.bf-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.bf-button, a.bf-button { display: inline-block; background: var(--bf-charcoal); color: #fff; border: 2px solid var(--bf-charcoal); border-radius: 4px; padding: 14px 24px; font: 700 16px/1 'Arimo', sans-serif; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.bf-button:hover { background: var(--bf-orange); border-color: var(--bf-orange); color: var(--bf-ink); }
.bf-button--ghost, a.bf-button--ghost { background: transparent; color: var(--bf-ink); }
.bf-textlink, a.bf-textlink { background: none; border: 0; padding: 0; color: var(--bf-red-dark); font: 700 16px/1.4 'Arimo', sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.bf-textlink:hover { background: none; color: var(--bf-ink); }

.bf-sec--sale { padding: 0; }
.bf-sec--sale .bf-sale { background: var(--bf-orange); color: var(--bf-ink); }

.bf-sec--hero { padding: 72px 0 64px; border-bottom: 1px solid var(--bf-line); }
.bf-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.bf-hero__art { display: flex; justify-content: center; }
.bf-hero__img { width: 100%; height: auto; max-width: 620px; }

.bf-sec--catalog { background: var(--bf-paper); }

.bf-sec--pass { background: var(--bf-charcoal); }
.bf-sec--pass .bf-h2, .bf-sec--pass .bf-text, .bf-sec--pass .bf-step__title { color: #fff; }
.bf-sec--pass .bf-h2 { color: var(--bf-orange); }
.bf-sec--pass .bf-button { background: var(--bf-orange); border-color: var(--bf-orange); color: var(--bf-ink); }
.bf-sec--pass .bf-button:hover { background: #fff; border-color: #fff; }
.bf-pass { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.bf-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bf-step { border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; padding: 20px; display: block; }
.bf-step__title { font: 400 34px/1 'woodgrit', 'Arimo', sans-serif; margin: 0 0 8px; color: #fff; }
.bf-step__text { font: 400 15px/1.5 'Arimo', sans-serif; color: #d9d3ca; }

.bf-sec--story { border-bottom: 1px solid var(--bf-line); }
.bf-story .bf-text { font-size: 19px; }

.bf-sec--license { padding: 56px 0; }
.bf-licstrip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.bf-licstrip__item { display: block; border-top: 3px solid var(--bf-orange); padding-top: 18px; }

.bf-sec--page { padding: 64px 0 88px; }
.bf-sec--family { padding-top: 56px; }
.bf-family-head { margin-bottom: 28px; }
.bf-family-head__name { font: 400 clamp(48px, 7vw, 92px)/1 'woodgrit', 'Arimo', sans-serif; margin: 0 0 12px; color: var(--bf-ink); }
.bf-family-head__blurb { font: 400 19px/1.55 'Arimo', sans-serif; margin: 0 0 8px; }
.bf-family-head__meta { font: 400 14px/1.4 'Arimo', sans-serif; color: var(--bf-muted); margin: 0; }
.bf-family { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.bf-family__test { display: block; min-width: 0; }
.bf-family__buy { display: block; position: sticky; top: 24px; }
.bf-family-about { margin-top: 48px; font: 400 17px/1.65 'Arimo', sans-serif; }

.bf-tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 8px; }
.bf-tip { font: 400 15px/1.5 'Arimo', sans-serif; background: var(--bf-card); border: 1px solid var(--bf-line); border-radius: 6px; padding: 16px 18px; margin: 0; }
.bf-sec--creator { padding: 0 0 88px; }

.bf-eula { font: 400 16px/1.7 'Arimo', sans-serif; }
.bf-eula h2 { font: 700 20px/1.3 'Arimo', sans-serif; margin: 32px 0 8px; }
.bf-eula ul { padding-left: 22px; }

.bf-tester, .bf-buy, .bf-catalog, .bf-cart, .bf-order { font-family: 'Arimo', sans-serif; }

.ct-div-block.bf-wrap, .ct-div-block.bf-story, .ct-div-block.bf-pass__copy, .ct-div-block.bf-hero__copy, .ct-div-block.bf-family__test, .ct-div-block.bf-family__buy, .ct-div-block.bf-step, .ct-div-block.bf-licstrip__item { display: block; }
.ct-div-block.bf-hero, .ct-div-block.bf-pass, .ct-div-block.bf-family, .ct-div-block.bf-steps, .ct-div-block.bf-licstrip, .ct-div-block.bf-tips { display: grid; }
.ct-div-block.bf-hero__art { display: flex; }
.ct-div-block.bf-actions { display: flex; flex-direction: row; }
.bf-wrap > .ct-shortcode, .bf-family__test > .ct-shortcode, .bf-family__buy > .ct-shortcode { display: block; width: 100%; }
.bf-wrap > .ct-headline, .bf-wrap > .ct-text-block { display: block; }

@media (max-width: 991px) {
  .bf-sec { padding: 64px 0; }
  .ct-div-block.bf-hero, .ct-div-block.bf-pass, .ct-div-block.bf-family { grid-template-columns: 1fr; gap: 32px; }
  .bf-family__buy { position: static; }
  .ct-div-block.bf-licstrip, .ct-div-block.bf-tips { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .bf-wrap { padding: 0 16px; }
  .ct-div-block.bf-steps { grid-template-columns: 1fr; }
  .bf-lead { font-size: 18px; }
}

.bf-tester :is(h1,h2,h3,h4,h5,h6), .bf-buy :is(h1,h2,h3,h4,h5,h6), .bf-cart :is(h1,h2,h3,h4,h5,h6), .bf-order :is(h1,h2,h3,h4,h5,h6), .bf-pass-dialog :is(h1,h2,h3,h4,h5,h6), .bf-creator-host :is(h1,h2,h3,h4,h5,h6), .bf-card__name { font-family: 'Arimo', sans-serif; }
