@font-face { font-family: "Host Grotesk"; src: url("/assets/fonts/host-grotesk.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("/assets/fonts/host-grotesk-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
/* Buyerflare home: page CSS on top of the taste kit (system.css, layout.css).
   The floating, blurred nav is the client's own call (it matches hyperlink.build); everything else here
   lives inside a visual: the drawn Buyerflare screens. */

/* ---------------------------------------------------------------- floating nav */
.nav { --pill: 14px; background: transparent; border-bottom: 0; height: calc(var(--nav) + 12px); pointer-events: none; }
.nav__bar {
  pointer-events: auto; margin-top: 12px; height: var(--nav);
  width: calc(min(100% - 2 * var(--gut), 1280px) + 2 * var(--pill)); padding-inline: var(--pill);
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border: 1px solid color-mix(in oklab, var(--ink) 9%, transparent); border-radius: 16px;
}
@media (max-width: 639px) { .nav { --pill: 10px; height: calc(var(--nav) + 8px); } .nav__bar { margin-top: 8px; } }
.nav__logo { font-weight: 600; }
.nav__logo svg { height: 28px; width: 28px; }
.nav__menu {
  top: calc(100% + 6px); left: 0; right: 0; margin-inline: auto; width: calc(min(100% - 2 * var(--gut), 1280px) + 2 * var(--pill));
  border: 1px solid color-mix(in oklab, var(--ink) 9%, transparent); border-radius: 16px;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  padding: var(--s-6) 0;
}
.nav__menu .wrap { width: calc(100% - 2 * var(--pill)); }
.nav.is-open { pointer-events: auto; background: var(--bg); height: 100svh; }
.nav.is-open .nav__bar { border-color: transparent; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.is-open .nav__menu { width: 100%; border: 0; background: none; padding: 0; }
.nav.is-open .nav__menu .wrap { width: 100%; }

/* headings: large, tight, semibold */
h1, h2 { text-wrap: balance; }

/* ---------------------------------------------------------------- the drawn screens */
.bf-app, .bf-setup, .bf-shot {
  --w-line: color-mix(in oklab, var(--ink) 10%, transparent);
  --w-soft: color-mix(in oklab, var(--ink) 4%, #fff);
  background: #fff; color: var(--ink); border: 1px solid var(--w-line); border-radius: 14px;
  font-size: 14px; line-height: 1.45; overflow: hidden;
}
.bf-app__bar { display: flex; align-items: center; gap: var(--s-3); height: 44px; padding: 0 var(--s-4); border-bottom: 1px solid var(--w-line); background: var(--w-soft); }
.bf-dots { display: inline-flex; gap: 6px; }
.bf-dots i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in oklab, var(--ink) 14%, transparent); }
.bf-app__title { font-weight: 500; }
.bf-app__count { margin-left: auto; font-size: 13px; color: var(--accent); font-weight: 500; }
.bf-label { font-size: 13px; font-weight: 500; color: var(--muted); margin: 0 0 var(--s-2); }

/* hero: the lead list and the open lead, a whole window centred in a warm frame */
.hero--split .hero__grid { align-items: center; }
.hero--split .hero__text { align-self: center; }
.hero--split .hero__media { height: auto; background: #e9dccb; padding: var(--s-7); display: block; }
.hero__media .bf-app { width: 100%; box-shadow: 0 1px 0 rgba(22, 19, 15, .04), 0 24px 48px -24px rgba(22, 19, 15, .25); }
.bf-app__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.bf-list { list-style: none; margin: 0; padding: var(--s-2); border-right: 1px solid var(--w-line); }
.bf-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: var(--s-3); row-gap: 3px; padding: var(--s-3); border-radius: 10px; }
.bf-list b { grid-column: 1 / -1; }
.bf-list li + li { margin-top: 2px; }
.bf-list li.is-open { background: color-mix(in oklab, var(--accent) 9%, #fff); }
.bf-list b { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-list span { display: block; min-width: 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bf-list span img { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }
.bf-st { font-style: normal; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; text-align: right; }
.bf-st--reply { color: #1d7a4d; }
.bf-st--li { color: #0a66c2; }
.bf-open { padding: var(--s-5); display: grid; align-content: start; gap: var(--s-5); }
.bf-step { border-left: 2px solid color-mix(in oklab, var(--ink) 14%, transparent); padding-left: var(--s-4); }
.bf-step p { margin: 0; }
.bf-step .bf-label { margin-bottom: var(--s-2); }
.bf-step--sent { border-left-color: var(--accent); }
.bf-step--reply { border-left-color: #1d7a4d; }
.bf-step--reply p:last-child { font-weight: 500; }
.bf-who { display: flex; align-items: center; gap: 6px; margin-bottom: var(--s-2); }
.bf-who span { color: var(--muted); font-size: 13px; }

/* how it works: one screen per step */
.bf-shot { width: 100%; padding: var(--s-6); display: grid; gap: var(--s-3); background: #fff; }
.mo-pc__visual { background: #e9dccb; border-radius: var(--r-lg); padding: var(--s-7); display: grid; align-items: center; }
.mo-pc__visuals .mo-pc__visual { height: 100%; }
.bf-sig { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-4); border: 1px solid var(--w-line); border-radius: 12px; }
.bf-sig b { font-weight: 500; font-size: 13px; color: var(--muted); }
.bf-sig p { margin: 4px 0 0; font-size: 15px; }
.bf-sig img { width: 24px; height: 24px; }
.bf-glyph { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: color-mix(in oklab, var(--accent) 12%, #fff); color: var(--accent); }
.bf-glyph svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.bf-compose { display: grid; }
.bf-compose__row { display: grid; grid-template-columns: 72px minmax(0, 1fr); margin: 0; padding: var(--s-2) 0; border-bottom: 1px solid var(--w-line); }
.bf-compose__row span { color: var(--muted); font-size: 13px; }
.bf-compose__body { padding-top: var(--s-4); font-size: 15px; }
.bf-compose__body p { margin: 0 0 var(--s-3); }
.bf-slack__head { display: flex; align-items: center; gap: var(--s-2); padding-bottom: var(--s-3); border-bottom: 1px solid var(--w-line); }
.bf-slack__msg { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--s-3); padding-top: var(--s-4); }
.bf-slack__msg p { margin: 0 0 var(--s-1); }
.bf-slack__msg p span { color: var(--muted); font-size: 13px; }
.bf-slack__msg blockquote { margin: var(--s-2) 0; padding-left: var(--s-3); border-left: 3px solid color-mix(in oklab, var(--ink) 18%, transparent); font-size: 15px; }
.bf-slack__note { color: var(--muted); font-size: 13px; }
.bf-av svg { width: 36px; height: 36px; display: block; }

/* who it's for: one signal on each card's panel */
.bf-who-card .panel { --ground-bg: #e2d3c0; display: grid; align-content: start; gap: var(--s-3); padding: var(--s-6); aspect-ratio: 16 / 10; }
.bf-note { position: relative; z-index: 1; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-3); align-items: start;
  background: #fff; border: 1px solid color-mix(in oklab, var(--ink) 10%, transparent); border-radius: 12px; padding: var(--s-4); font-size: 15px; line-height: 1.45; }
.bf-note p { margin: 0; }
.bf-note--mail { grid-template-columns: minmax(0, 1fr); background: color-mix(in oklab, var(--accent) 6%, #fff); border-color: color-mix(in oklab, var(--accent) 22%, transparent); }
.bf-note img { width: 20px; height: 20px; margin-top: 2px; }

/* first month: the setup checklist */
#month .grid { align-items: stretch; }
.bf-setup-wrap { background: #e2d3c0; border-radius: var(--r-lg); padding: var(--s-7); display: grid; align-content: center; }
.bf-checks { list-style: none; margin: 0; padding: var(--s-2) var(--s-5) var(--s-4); }
.bf-checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; column-gap: var(--s-3); row-gap: var(--s-2); padding: var(--s-3) 0; border-bottom: 1px solid var(--w-line); font-size: 15px; }
.bf-ck { display: flex; align-items: center; gap: var(--s-2); min-width: 0; }
.bf-checks li:last-child { border-bottom: 0; }
.bf-checks li img { width: 16px; height: 16px; }
.bf-checks em { grid-column: 3; font-style: normal; font-size: 13px; color: var(--muted); }
.bf-tick { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid color-mix(in oklab, var(--ink) 25%, transparent); flex: none; }
.is-done .bf-tick { background: #1d7a4d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.3 2.6 2.6L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: #1d7a4d; }
.is-now .bf-tick { border-color: var(--accent); border-width: 5px; }
.is-now em { color: var(--accent); font-weight: 500; }
.bf-bar { grid-column: 2 / -1; height: 4px; border-radius: 4px; background: color-mix(in oklab, var(--ink) 8%, transparent); overflow: hidden; }
.bf-bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.rows .rows__name { font-weight: 500; font-size: var(--t-card); }
.rows .rows__name small { display: block; font-weight: 400; color: var(--ink); font-size: var(--t-body); margin-top: 4px; }

/* the team and what clients say */
.bf-pair { display: grid; grid-template-columns: subgrid; align-items: center; }
.bf-face { grid-column: span 2; width: 100%; aspect-ratio: 1; height: auto; border-radius: var(--r-lg); object-fit: cover; }
.bf-person { grid-column: span 4; }
.bf-person h3 { font-size: var(--t-card); font-weight: 500; margin: 0; }
.bf-person p { margin: var(--s-1) 0 0; max-width: 36ch; }
.bf-quotes { list-style: none; padding: 0; margin: var(--s-8) 0 0; }
.bf-quotes li { border-top: 1px solid var(--line); padding-top: var(--s-5); }
.bf-quotes blockquote { margin: 0 0 var(--s-3); font-size: var(--t-card); line-height: 1.45; font-style: normal; }
.bf-quotes p { margin: 0; font-size: var(--t-small); font-style: italic; }

/* the enquiry form (site.js sends it) */
.bf-form { display: grid; gap: var(--s-4); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bf-form .field label .muted { font-weight: 400; }
.form-status { display: none; border-radius: var(--r-md); padding: var(--s-4) var(--s-5); }
.form-status.show { display: block; }
.form-status.ok { background: #e3f1e8; color: #14563a; }
.form-status.warn { background: #fbe6dc; color: #7a2a08; }
.form-status h3 { font-size: var(--t-card); margin: 0 0 var(--s-1); color: inherit; }
.form-status .btn { margin-top: var(--s-3); }
.bf-form.sent .field, .bf-form.sent .btn-row { display: none; }
.bf-inline { color: var(--action); text-decoration: underline; text-underline-offset: 3px; }


/* ---------------------------------------------------------------- smaller screens */
/* 1024 to 1279: the three cards stay in one row */
@media (min-width: 1024px) { #who .grid > .span-4 { grid-column: span 4; } }
/* the tablet, held upright: two screens where the stack needs them, the FAQ in two columns */
@media (min-width: 640px) and (max-width: 1023px) {
  #who { --h: 2; }
  #faq .grid > .faq { grid-column: span 6; }
  #faq .grid > .faq.start-7 { grid-column: 7 / span 6; }
  #month .bf-setup-wrap { padding: var(--s-5); }
  #who .bf-who-card .panel { aspect-ratio: 16 / 7; }

  #month .rows > li { padding-block: var(--s-3); }
  .mo-pc__visual { padding: var(--s-4); }
  .bf-shot { padding: var(--s-4); gap: var(--s-2); font-size: 13px; }
  .bf-sig p, .bf-compose__body, .bf-slack__msg blockquote { font-size: 14px; }
}
@media (max-width: 1023px) {
  .hero--split .hero__media { padding: var(--s-5); }
}
@media (max-width: 639px) {
  #who, #month, #faq, #team { --hm: 2; }
  .bf-sig:nth-child(3), .bf-compose__row:nth-child(1), .bf-slack__note, .bf-compose__body p:last-child { display: none; }
  .bf-sig p, .bf-compose__body, .bf-slack__msg blockquote { font-size: 14px; }
  .bf-app__body { grid-template-columns: minmax(0, 1fr); }
  .bf-open { display: none; }
  .bf-list li:nth-child(n+4) { display: none; }
  .mo-pc__visual { padding: var(--s-4); }
  .bf-shot { padding: var(--s-4); }
  .bf-setup-wrap { padding: var(--s-4); }
  .bf-pair { grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
  .bf-face { width: 120px; }
  .bf-face, .bf-person { grid-column: auto; }
  .bf-quotes { margin-top: var(--s-6); gap: var(--s-4); }
}

/* how it works without the pin (under 1024 and with reduced motion): still two whole screens */
@media (min-width: 640px) { main > #how:not(.is-live) { min-height: 200svh; } }
@media (max-width: 639px) {
  main > #how:not(.is-live) { min-height: 200lvh; }
  .hero--split .hero__media { min-height: 0; padding: var(--s-4); }
}


@media (min-width: 1024px) { .closing__links .bf-col-last { grid-column: 11 / span 2; } }
@media (min-width: 1024px) { .hero--split h1 { font-size: min(var(--t-h1), 64px); } }

/* the enquiry: what happens next */
.bf-next { margin-top: var(--s-6); }

/* the closing call and the footer at their own height */
footer.closing { height: auto; min-height: 0; padding-bottom: var(--s-7); }
footer.closing > .wrap { display: grid; gap: var(--s-9); height: auto; }
.closing__links .footer__lede { margin-top: var(--s-3); }

/* on a phone every section takes the height of what it holds */
@media (max-width: 639px) {
  main > section:not(.hero) { height: auto !important; min-height: 0 !important; padding-top: 88px; padding-bottom: 56px; }
  main > section:not(.hero) > .wrap { height: auto; }
}
@media (max-width: 639px) {
  .hero--split .hero__media { width: 100%; align-self: stretch; flex: none; }
  .hero__media .bf-list li:nth-child(n+3) { display: none; }
  .bf-who-card .panel { aspect-ratio: auto; }
}
/* under 1420 the window is too narrow for two columns: it shows the open lead only */
@media (min-width: 640px) and (max-width: 1419px) {
  .hero__media .bf-list { display: none; }
  .hero__media .bf-app__body { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) and (max-width: 1419px) { .hero--split .hero__media { padding: var(--s-6); } }
@media (max-width: 1023px) { .hero--split .hero__media { flex: none; } }
