/* Butterflakes, concept v2 A "Bake Sale" (design folder
   butterflakes-concept-v2-20261107/concept-a.html). Jam red on sugar pink, Bricolage Grotesque,
   five hand-drawn stickers, one Notify me. No image, no brand tile.
   Self-hosted face only: Fontsource @fontsource-variable/bricolage-grotesque
   5.3.0, SIL OFL 1.1 (public/fonts/bricolage-grotesque/LICENSE). */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: block;
  font-weight: 200 800;
  src: url("/fonts/bricolage-grotesque/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: block;
  font-weight: 200 800;
  src: url("/fonts/bricolage-grotesque/bricolage-grotesque-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.bf-bakesale {
  --bf-ink: #2a1216;
  --bf-jam: #9e1b32;
  --bf-jam-d: #7d1426;
  --bf-bg: #fdeaee;
  --bf-pist: #245c43;
  --bf-focus: #1f4fbf;
  margin: 0;
  min-height: 100vh;
  /* A column whose main grows, so the steps band and footer sit at the bottom of a tall viewport. */
  display: flex;
  flex-direction: column;
  background: var(--bf-bg);
  color: var(--bf-ink);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
.bf-bakesale *, .bf-bakesale *::before, .bf-bakesale *::after { box-sizing: border-box; }
/* Resets at zero specificity, so each component's own margins win (as in the design's bare resets). */
.bf-bakesale :where(h1, h2, p, ul, ol) { margin: 0; }
.bf-bakesale :where(ul, ol) { padding: 0; list-style: none; }
.bf-bakesale :where(svg) { display: block; }
.bf-bakesale > main { flex: 1 0 auto; }

.bf-flash { margin: 0; padding: 14px 20px; background: var(--bf-ink); color: #fff; font-size: 15px; line-height: 1.5; }

.bf-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
.bf-word { font-weight: 800; font-size: 24px; letter-spacing: -.03em; color: var(--bf-jam); }
.bf-soon {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px;
  border-radius: 999px; background: var(--bf-pist); color: #fff; font-weight: 700; font-size: 14px;
}

.bf-hero { display: grid; gap: 28px; padding: 8px 20px 36px; }
.bf-bakesale h1 {
  font-size: clamp(52px, 15vw, 124px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.055em;
  font-variation-settings: "opsz" 96;
}
.bf-bakesale h1 em { font-style: normal; color: var(--bf-jam); }
.bf-lede { max-width: 36ch; margin-top: 16px; font-size: 20px; }

/* The one action: the existing screened landing signup, as a native form (works without JavaScript). */
.bf-signup { max-width: 520px; margin-top: 24px; }
.bf-label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 16px; }
.bf-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-input {
  flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 0 16px;
  border: 2px solid var(--bf-ink); border-radius: 14px; background: #fff; color: var(--bf-ink);
  font: inherit; font-size: 17px;
}
.bf-cta {
  flex: 1 1 100%; min-height: 52px; padding: 0 24px; border: 0; border-radius: 14px;
  background: var(--bf-jam); color: #fff; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer;
}
.bf-cta:hover { background: var(--bf-jam-d); }
.bf-input:focus-visible, .bf-cta:focus-visible { outline: 3px solid var(--bf-focus); outline-offset: 3px; }

/* The stickers: hand-drawn SVG from the design (build.py stickers()), on pastel grounds. */
.bf-stks { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 12px; padding: 6px 4px; }
.bf-stk {
  flex: 0 0 calc((100% - 24px) / 3);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 8px 12px; border-radius: 20px; background: var(--bf-stk-bg, #fff);
  transform: rotate(var(--bf-tilt, 0deg));
  box-shadow: 0 0 0 4px #fff, 0 10px 22px -12px rgba(80, 20, 30, .45);
}
.bf-stk svg { width: 100%; max-width: 120px; height: auto; aspect-ratio: 120 / 110; }
.bf-stk span { font-weight: 700; font-size: 15px; }

.bf-steps { padding: 36px 20px 40px; background: var(--bf-jam); color: #fff; }
.bf-steps h2 { margin-bottom: 14px; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: #ffd9df; }
.bf-steps ol { display: grid; gap: 10px; }
.bf-steps li { font-size: clamp(44px, 13vw, 96px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.bf-steps li span { margin-right: .25em; color: #ffb3c0; font-size: .42em; vertical-align: .9em; letter-spacing: 0; }

.bf-foot { display: flex; justify-content: space-between; padding: 22px 20px; font-size: 14px; color: #5a2a32; }

/* The only motion: a sticker straightens on hover, and only when motion is welcome. The final
   layout is the same either way (system test). */
@media (prefers-reduced-motion: no-preference) {
  .bf-stk { transition: transform .25s ease; }
  .bf-stk:hover { transform: rotate(0) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .bf-bakesale *, .bf-bakesale *::before, .bf-bakesale *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (min-width: 900px) {
  .bf-top { padding: 28px 56px; }
  .bf-hero { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; max-width: 1440px; padding: 24px 56px 80px; }
  .bf-cta { flex: 0 0 auto; }
  .bf-stks { justify-self: center; max-width: 620px; gap: 26px 22px; }
  .bf-stk { flex: 0 0 calc((100% - 44px) / 3); padding: 16px 12px; }
  .bf-stk svg { max-width: 150px; }
  .bf-stk span { font-size: 17px; }
  .bf-steps { padding: 64px 56px 72px; }
  .bf-steps ol { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .bf-foot { padding: 28px 56px; }
}
