.bf-page { background: var(--canvas); }
.bf-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(40px, 6vw, 80px) 40px;
}
.bf-hero h1 { max-width: 11ch; }
.bf-intro { max-width: 48ch; margin-block: 20px 26px; font-size: 18px; }
.bf-sale-ended { margin: 0 0 12px; font-weight: 700; }
.bf-sale-ended[hidden] { display: none; }
.bf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.bf-actions .text-link, .bf-section-intro .text-link { color: var(--green-ink); }
.bf-preview {
  min-width: 0;
  margin: 0;
  border: 1px solid #c7d6cd;
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.bf-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-card) var(--r-card) 0 0;
}
.bf-preview figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
}
/* The sale, first on the page while it runs. Night band with lime (DESIGN.md dark bands), sun on the last day. */
.bf-sale { background: var(--night); color: var(--paper); }
.bf-sale[hidden] { display: none; }
.bf-sale-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(24px, 5vw, 64px); padding-block: clamp(32px, 5vw, 64px); }
.bf-sale h2, .bf-sale h3 { color: inherit; }
.bf-sale p { color: #d5e5db; }
.bf-sale-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--lime) !important; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bf-sale-pill { padding: 2px 10px; border-radius: 999px; background: var(--sun, #ffc83d); color: var(--ink) !important; letter-spacing: .04em; }
.bf-sale-pill[hidden] { display: none; }
.bf-sale h2 { max-width: 14ch; margin: 0; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.035em; }
.bf-sale h2 span { color: var(--lime); }
.bf-sale-lede { max-width: 44ch; margin: 16px 0 0; font-size: 17px; }
.bf-sale code { display: inline-block; padding: 1px 6px; border-radius: 5px; background: #293e31; color: var(--paper); font-weight: 700; }
.bf-sale-clock { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 20px; }
.bf-deadline { margin: 0; }
.bf-deadline time { color: var(--paper); font-weight: 800; white-space: nowrap; }
.bf-sale[data-last-day-sale] .bf-deadline time { color: var(--sun, #ffc83d); }
.bf-countdown { margin: 0; padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.09); color: var(--paper) !important; font: 700 16px/1.4 "JetBrains Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bf-countdown:empty { display: none; }
.bf-sale-actions { display: grid; justify-items: start; gap: 10px; margin-top: 24px; }
.bf-sale-actions .button:focus-visible, .bf-plan-link:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.bf-guarantee { margin: 0; color: var(--paper) !important; font-size: 14px; font-weight: 700; }
.bf-plans { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bf-plans li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head save" "price price" "per per" "terms link"; align-items: center; gap: 2px 12px; padding: 14px 18px; border: 1px solid #40574a; border-radius: var(--r-control); background: #192d22; }
.bf-plans li.bf-plan-featured { border: 2px solid var(--lime); }
.bf-plan-head { grid-area: head; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.bf-plans h3 { margin: 0; font-size: 18px; }
.bf-plan-badge { padding: 1px 8px; border-radius: 999px; background: #e8f8ef; color: var(--green-ink); font-size: 12px; font-weight: 800; }
.bf-plan-save { grid-area: save; justify-self: end; margin: 0; padding: 1px 8px; border: 1px solid var(--sun, #ffc83d); border-radius: 999px; background: var(--sun-soft, #fff5d1); color: var(--ink) !important; font-size: 13px; font-weight: 800; white-space: nowrap; }
.bf-plan-save:empty { display: none; }
.bf-plan-price { grid-area: price; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; margin: 2px 0 0; }
.bf-plan-price strong { color: var(--paper); font-size: 30px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bf-plan-price s { color: #b7c9be; text-decoration-color: #91aa9b; }
.bf-plan-per { grid-area: per; margin: 0; font-size: 14px; font-weight: 700; color: var(--lime) !important; }
.bf-plan-per:empty { display: none; }
.bf-plan-terms { grid-area: terms; margin: 0; font-size: 14px; }
.bf-plan-link { grid-area: link; justify-self: end; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--paper); font-size: 14px; font-weight: 800; text-underline-offset: 3px; white-space: nowrap; }
.bf-included { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; color: #d5e5db; }
.bf-included li::before { content: "✓"; margin-right: 6px; color: var(--lime); font-weight: 800; }
.bf-sale-fine { margin: 12px 0 0; font-size: 13px; }
.bf-sale-ended { display: inline-block; padding: 6px 12px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.bf-skills, .bf-faq {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(20px, 6vw, 76px);
  padding-block: 32px 48px;
}
.bf-section-intro p { max-width: 38ch; margin-top: 12px; }
.bf-section-intro .text-link { margin-top: 6px; }
.bf-skill-list { margin: 0; padding: 0; list-style: none; }
.bf-skill-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bf-skill-list li:first-child { border-top: 1px solid var(--line); }
.bf-skill-list h3 { margin: 0 0 2px; font-size: 16px; }
.bf-skill-list p { max-width: 46ch; margin: 0; font-size: 14px; }
.bf-skill-list a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--green-ink); font-size: 14px; font-weight: 800; text-underline-offset: 3px; }
.bf-faq { padding-block: 16px 64px; }
.bf-faq details { border-bottom: 1px solid var(--line); }
.bf-faq details:first-child { border-top: 1px solid var(--line); }
.bf-faq summary { min-height: 44px; padding-block: 12px; cursor: pointer; font-weight: 800; }
.bf-faq details p { max-width: 60ch; padding-bottom: 16px; }

@media (max-width: 720px) {
  .bf-hero, .bf-skills, .bf-faq { grid-template-columns: minmax(0, 1fr); }
  .bf-hero { padding-block: 36px 24px; }
  .bf-hero h1 { max-width: 15ch; }
  .bf-intro { margin-block: 16px 20px; font-size: 16px; }
  .bf-skills { padding-block: 24px 32px; }
  .bf-faq { padding-bottom: 48px; }
}
@media (max-width: 860px) {
  .bf-sale-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 500px) {
  .bf-sale-grid { padding-block: 28px 32px; gap: 24px; }
  .bf-sale-lede { font-size: 16px; }
  .bf-sale-actions .button { width: 100%; justify-content: center; }
  .bf-plans li { padding: 12px 14px; }
  .bf-plan-price strong { font-size: 26px; }
  .bf-included { grid-template-columns: minmax(0, 1fr); }
}
