/* ==========================================================================
   Bory Home — podstrona „Aplikacja" (portal klienta)
   Wartości z prototypu `Bory Home Aplikacja.dc.html`.

   Strona to hero + dziesięć sekcji funkcji (`#f01`–`#f10`) + pas CTA.
   Sekcje chodzą naprzemiennie: białe / szare, dwie z nich to granatowe
   karty. Rytm sekcji ma tu 80 px, nie 96 px jak na stronie głównej.

   Szarość na granacie to #8FA0AC — w tokenach jej nie ma, bo stopka
   i hero mają własne trzy poziomy (--bh-on-dark*). Prototyp tej strony
   używa jednego, jaśniejszego odcienia i to on stoi w tym pliku.
   ========================================================================== */

/* --- Hero ----------------------------------------------------------------- */

.bh-aphero { padding: 40px var(--bh-pad-x) 76px; }

.bh-aphero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 52px;
  align-items: center;
  max-width: var(--bh-max);
  margin-inline: auto;
}

.bh-aphero__badges { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; }

.bh-aphero__tag {
  font: 700 10.5px/1 var(--bh-font);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--bh-ink);
  background: var(--bh-accent);
  padding: 8px 10px;
  border-radius: 7px;
}

.bh-aphero__title {
  font-size: 54px;
  line-height: 1.03;
  letter-spacing: -.038em;
  margin: 0 0 22px;
  max-width: 18ch;
}

/* Podkreślenie w tym nagłówku jest ciaśniejsze niż w bazie (14/6). */
.bh-aphero__title .bh-mark { padding: 0 12px 5px; }

.bh-aphero__lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--bh-text-2);
  margin: 0 0 28px;
  max-width: 52ch;
}

.bh-aphero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 30px; }
.bh-aphero__actions .bh-btn { padding: 18px 26px; font-size: 15px; }
.bh-aphero__actions .bh-btn--ghost { padding: 17px 26px; }

.bh-aphero__chips { display: flex; gap: 9px; flex-wrap: wrap; }
.bh-aphero__chip {
  font: 600 12px/1 var(--bh-font);
  color: var(--bh-text-3);
  background: var(--bh-surface-alt);
  padding: 11px 14px;
  border-radius: var(--bh-pill);
  transition: background var(--bh-t-fast), color var(--bh-t-fast);
}
.bh-aphero__chip:hover { background: var(--bh-accent-bg); color: var(--bh-ink); }

/* --- Makieta telefonu ------------------------------------------------------
   Powtarza się przy każdej sekcji: obudowa 12 px, ekran w proporcji 9/17.5
   z siatką kratki. Wariant ciemny wchodzi na granatowych kartach. */

.bh-apphone-wrap { display: flex; justify-content: center; }

.bh-apphone {
  /* Prototyp nie ma resetu `border-box`, więc jego 300 px to sama treść,
     a obudowa 12 px dochodzi na zewnątrz — makieta ma 324 px szerokości
     i tyle samo wynika z niej wysokość sekcji (README, pułapka box-sizing). */
  box-sizing: content-box;
  width: 100%;
  max-width: 300px;
  background: var(--bh-ink);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--bh-shadow-phone);
}
.bh-apphone--hero { max-width: 320px; }
.bh-apphone--dark { background: var(--bh-ink-soft); }

/* Makieta ze zrzutem: obraz wypełnia ekran, ramka telefonu zostaje. */
.bh-apphone--shot .bh-apphone__screen { padding: 0; overflow: hidden; }
.bh-apphone__shot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
}

.bh-apphone__screen {
  /* Proporcja 9/17.5 liczy się w prototypie od treści, nie od pudełka. */
  box-sizing: content-box;
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 17.5;
  padding: 22px 20px;
  border-radius: 26px;
  background-color: var(--bh-surface-alt);
  background-image:
    linear-gradient(rgba(12, 26, 34, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 26, 34, .05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.bh-apphone--dark .bh-apphone__screen {
  background-color: var(--bh-ink);
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
}

.bh-apphone__head { display: flex; align-items: center; gap: 10px; }
.bh-apphone__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--bh-accent);
  font: 800 10px/1 var(--bh-font);
  color: var(--bh-ink);
}
.bh-apphone__label {
  font: 700 11px/1 var(--bh-font);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--bh-text-3);
}
.bh-apphone--dark .bh-apphone__label { color: #8FA0AC; }

.bh-apphone__body { margin: auto 0; text-align: center; }
.bh-apphone__title { font: 700 13px/1.4 var(--bh-font); color: var(--bh-ink); margin: 0 0 7px; }
.bh-apphone--dark .bh-apphone__title { color: #fff; }
.bh-apphone__note { font: 400 11.5px/1.5 var(--bh-font); color: var(--bh-text-4); }

.bh-apphone__bars { display: flex; gap: 6px; }
.bh-apphone__bar {
  display: block;
  flex: 1;
  height: 5px;
  border-radius: var(--bh-pill);
  background: var(--bh-border-strong);
}
.bh-apphone__bar--on { background: var(--bh-accent); }
.bh-apphone--dark .bh-apphone__bar { background: var(--bh-ink-border); }
.bh-apphone--dark .bh-apphone__bar--on { background: var(--bh-accent); }

/* --- Szeroka makieta ekranu (lista wersji, plików, biblioteki wiedzy) ------ */

/* --- Sekcja funkcji — wspólna obudowa ------------------------------------- */

.bh-apfeat { padding: 80px var(--bh-pad-x); scroll-margin-top: var(--bh-header-h); }
.bh-apfeat--alt { background: var(--bh-surface-alt); }

.bh-apfeat__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  max-width: var(--bh-max);
  margin-inline: auto;
}
.bh-apfeat__grid--flip { grid-template-columns: .85fr 1.15fr; }

/* Granatowa karta — sekcje „Wycena" i „Serwis". */
.bh-apfeat__card {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 48px;
  align-items: center;
  max-width: var(--bh-max);
  margin-inline: auto;
  padding: 44px 46px;
  border-radius: 28px;
  background: var(--bh-ink);
}
.bh-apfeat__card--flip { grid-template-columns: .8fr 1fr; }

.bh-apfeat__kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.bh-apfeat__num {
  font: 800 12px/1 var(--bh-font);
  color: var(--bh-ink);
  background: var(--bh-accent);
  padding: 9px 10px;
  border-radius: var(--bh-r-sm);
}
.bh-apfeat__label {
  font: 600 11.5px/1 var(--bh-font);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bh-text-4);
}
.bh-apfeat__card .bh-apfeat__label { color: #8FA0AC; }

.bh-apfeat__title {
  font-size: 36px;
  line-height: 1.08;
  letter-spacing: -.032em;
  margin: 0 0 16px;
  max-width: 20ch;
}
.bh-apfeat__title--22 { max-width: 22ch; }
.bh-apfeat__card .bh-apfeat__title { color: #fff; }

.bh-apfeat__lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--bh-text-2);
  margin: 0 0 26px;
  max-width: 50ch;
}
/* Sekcje z siatką kart pod leadem mają 24 px odstępu, nie 26. */
.bh-apfeat__lead--tight { margin-bottom: 24px; }
.bh-apfeat__card .bh-apfeat__lead { font-size: 15.5px; color: #8FA0AC; max-width: 48ch; }

/* Nagłówek dwukolumnowy — sekcje „Projekt", „Materiały", „Wiedza". */
.bh-apfeat__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: var(--bh-max);
  margin: 0 auto 30px;
}
.bh-apfeat__bar .bh-apfeat__title { margin: 0; }
.bh-apfeat__barlead { font: 400 15px/1.6 var(--bh-font); color: var(--bh-text-2); max-width: 42ch; }

.bh-apfeat__split {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 20px;
  align-items: stretch;
  max-width: var(--bh-max);
  margin-inline: auto;
}
.bh-apfeat__split--center { align-items: center; }

.bh-apfeat__split--flip { grid-template-columns: .65fr 1.35fr; align-items: center; }

.bh-apfeat__col { min-width: 0; }

/* --- 01 Ustalenia: wątek wiadomości --------------------------------------- */

/* `max-width` w prototypie to 46ch przy odziedziczonych 16 px; motyw ma
   14,5 px, więc `ch` dałoby blok węższy o ~50 px — stąd zmierzona wartość
   w pikselach (patrz README, pułapka jednostki `ch`). */
.bh-apthread { display: flex; flex-direction: column; gap: 10px; max-width: 538.75px; }
.bh-apthread__msg {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: 16px;
  border-top-left-radius: 6px;
  padding: 15px 17px;
}
.bh-apthread__msg--reply {
  background: var(--bh-accent-bg);
  border: 1.5px solid var(--bh-accent);
  border-radius: 16px;
  border-top-right-radius: 6px;
  margin: 0 0 0 40px;
}
.bh-apthread__meta {
  font: 600 10.5px/1 var(--bh-font);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bh-text-4);
  margin: 0 0 8px;
}
.bh-apthread__msg--reply .bh-apthread__meta { color: var(--bh-ink); }
.bh-apthread__text { font: 400 13.5px/1.55 var(--bh-font); color: var(--bh-text-3); }
.bh-apthread__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0 0;
  font: 600 12px/1 var(--bh-font);
  color: var(--bh-text-4);
}
.bh-apthread__dot {
  display: block;
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bh-accent);
}

/* --- 02 Wycena: składniki ceny i lista potwierdzeń ------------------------ */

.bh-apbits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}
.bh-apbits__item { background: var(--bh-ink-soft); border-radius: var(--bh-r-lg); padding: 18px 16px; }
.bh-apbits__title { font: 800 19px/1 var(--bh-font); color: var(--bh-accent); margin: 0 0 7px; }
.bh-apbits__desc { font: 400 11.5px/1.4 var(--bh-font); color: #8FA0AC; }

.bh-apchecks { display: flex; flex-direction: column; gap: 10px; }
.bh-apchecks__item { display: flex; gap: 11px; font: 400 14px/1.55 var(--bh-font); color: #8FA0AC; }
.bh-apchecks__mark { flex: none; color: var(--bh-accent); }

/* --- 03 Zmiany: trzy kroki ------------------------------------------------ */

.bh-apflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bh-apflow__step {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: 18px;
  padding: 20px 18px;
}
.bh-apflow__step--accent { background: var(--bh-accent-bg); border: 1.5px solid var(--bh-accent); }
.bh-apflow__num {
  display: inline-block;
  font: 800 12px/1 var(--bh-font);
  color: var(--bh-ink);
  background: var(--bh-accent);
  padding: 8px 9px;
  border-radius: 7px;
  margin: 0 0 12px;
}
.bh-apflow__title { font: 700 13.5px/1.3 var(--bh-font); margin: 0 0 6px; }
.bh-apflow__desc { font: 400 12px/1.5 var(--bh-font); color: var(--bh-text-2); }

/* --- 04 Projekt: wersje --------------------------------------------------- */

.bh-apvers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 0;
}
/* Kolumna obok makiety ma ok. 560 px — przy trzech kartach w rzędzie opis
   („Projekt bazowy modelu") łamałby się na trzy wiersze. */
@media (min-width: 861px) {
  .bh-apfeat__grid .bh-apvers { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
.bh-apvers__item { background: var(--bh-surface-alt); border-radius: var(--bh-r-lg); padding: 18px 16px; }
/* Prototyp kompensuje obwódkę węższym dopełnieniem — przepisujemy wprost. */
.bh-apvers__item--accent {
  background: var(--bh-accent-bg);
  border: 1.5px solid var(--bh-accent);
  padding: 17px 15px;
}
.bh-apvers__title { font: 700 13px/1.3 var(--bh-font); margin: 0 0 6px; }
.bh-apvers__desc { font: 400 11.5px/1.45 var(--bh-font); color: var(--bh-text-2); }
.bh-apvers__item--accent .bh-apvers__desc { color: var(--bh-text-3); }

/* --- 05 Działka: cztery karty --------------------------------------------- */

/* 44ch przy 16 px prototypu — w pikselach z tego samego powodu co wątek. */
.bh-apland { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 515.32px; }
.bh-apland__item {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: var(--bh-r-lg);
  padding: 17px 16px;
}
.bh-apland__item--accent {
  background: var(--bh-accent-bg);
  border: 1.5px solid var(--bh-accent);
  padding: 16px 15px;
}
.bh-apland__title { font: 700 12.5px/1.3 var(--bh-font); margin: 0 0 6px; }
.bh-apland__desc { font: 400 11.5px/1.45 var(--bh-font); color: var(--bh-text-2); }
.bh-apland__item--accent .bh-apland__desc { color: var(--bh-text-3); }

/* --- 06 Płatności: postęp rozliczeń --------------------------------------- */

/* 50ch przy 16 px prototypu. */
.bh-appay {
  /* 50ch treści + 24 px dopełnienia z każdej strony — prototyp liczy szerokość
     od treści (README, pułapka box-sizing). */
  box-sizing: content-box;
  background: var(--bh-surface-alt);
  border-radius: var(--bh-r-xl);
  padding: 24px 24px 20px;
  max-width: 585.59px;
}
.bh-appay__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 14px;
}
.bh-appay__label {
  font: 700 12px/1 var(--bh-font);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--bh-ink);
}
.bh-appay__value { font: 800 17px/1 var(--bh-font); letter-spacing: -.025em; }
.bh-appay__track {
  height: 8px;
  border-radius: var(--bh-pill);
  background: var(--bh-border-strong);
  overflow: hidden;
  margin: 0 0 16px;
}
.bh-appay__fill { height: 100%; border-radius: var(--bh-pill); background: var(--bh-accent); }
.bh-appay__rows { display: flex; flex-direction: column; gap: 9px; }
.bh-appay__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font: 400 12.5px/1.4 var(--bh-font);
  color: var(--bh-text-2);
}
.bh-appay__row b { font-weight: 700; color: var(--bh-ink); }
.bh-appay__link {
  display: inline-block;
  font: 700 13.5px/1 var(--bh-font);
  color: var(--bh-ink);
  border-bottom: 1.5px solid var(--bh-accent);
  padding: 0 0 4px;
  margin: 20px 0 0;
}

/* --- 07 Materiały: karty plików ------------------------------------------- */

.bh-apfiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}
.bh-apfiles__item {
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: 18px;
  padding: 20px;
}
.bh-apfiles__title { font: 700 13.5px/1.3 var(--bh-font); margin: 0 0 6px; }
.bh-apfiles__desc { font: 400 12px/1.5 var(--bh-font); color: var(--bh-text-2); }

/* --- 08 Serwis: kafle na granacie ----------------------------------------- */

.bh-aptiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}
.bh-aptiles__item { background: var(--bh-ink-soft); border-radius: var(--bh-r-lg); padding: 18px 16px; }
.bh-aptiles__title { font: 700 12.5px/1.3 var(--bh-font); color: #fff; margin: 0 0 6px; }
.bh-aptiles__desc { font: 400 11.5px/1.45 var(--bh-font); color: #8FA0AC; }

/* --- 09 Zespół: wiersze z awatarami --------------------------------------- */

/* 46ch przy 16 px prototypu. */
.bh-appeople { display: flex; flex-direction: column; gap: 10px; max-width: 538.75px; }
.bh-appeople__item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bh-surface);
  border: 1px solid var(--bh-border);
  border-radius: 18px;
  padding: 14px 16px;
}
.bh-appeople__avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.bh-appeople__avatar--top { object-position: center top; }
.bh-appeople__text { min-width: 0; }
.bh-appeople__name { font: 700 13.5px/1.3 var(--bh-font); margin: 0 0 4px; }
.bh-appeople__role { font: 400 11.5px/1.3 var(--bh-font); color: var(--bh-text-4); }

/* --- 10 Wiedza: trzy karty i pas dokumentów ------------------------------- */

.bh-apknow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--bh-max);
  margin: 0 auto 20px;
}
/* W kolumnie obok makiety karty idą jedna pod drugą — trzy obok siebie
   zwężyłyby się do nieczytelnej szerokości. */
.bh-apknow--stack {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 14px 0 0;
}
.bh-apknow__card { background: var(--bh-surface-alt); border-radius: 22px; padding: 26px 24px 24px; }
.bh-apknow__tag {
  display: inline-block;
  font: 700 10.5px/1 var(--bh-font);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bh-ink);
  background: var(--bh-accent);
  padding: 8px 10px;
  border-radius: 7px;
  margin: 0 0 16px;
}
.bh-apknow__title { font: 700 16px/1.25 var(--bh-font); margin: 0 0 9px; }
.bh-apknow__desc { font: 400 13px/1.6 var(--bh-font); color: var(--bh-text-2); }

.bh-apband {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--bh-accent-bg);
  border: 1.5px solid var(--bh-accent);
  border-radius: 22px;
  padding: 24px 26px;
  max-width: var(--bh-max);
  margin: 20px auto 0;
}
.bh-apband__text { min-width: 0; }
.bh-apband__title { font: 700 16px/1.3 var(--bh-font); margin: 0 0 6px; }
.bh-apband__desc { font: 400 13.5px/1.5 var(--bh-font); color: var(--bh-text-3); }
.bh-apband__cta {
  flex: none;
  font: 700 14px/1 var(--bh-font);
  color: var(--bh-ink);
  background: var(--bh-surface);
  padding: 16px 22px;
  border-radius: var(--bh-pill);
}

/* --- Pas CTA -------------------------------------------------------------- */

.bh-apcta { padding: 0 var(--bh-pad-x) 76px; }
.bh-apcta__card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
  max-width: var(--bh-max);
  margin-inline: auto;
  padding: 44px 46px;
  border-radius: 28px;
  background: var(--bh-ink);
}
.bh-apcta__body { min-width: 0; }
.bh-apcta__title {
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 14px;
  max-width: 22ch;
}
.bh-apcta__text { font: 400 15.5px/1.65 var(--bh-font); color: #8FA0AC; max-width: 56ch; }
.bh-apcta__actions { display: flex; flex-direction: column; gap: 12px; }
.bh-apcta__actions .bh-btn { font-size: 15px; padding: 18px 24px; }
.bh-apcta__actions .bh-btn--on-dark { padding: 17px 24px; }

/* --- Progi ---------------------------------------------------------------- */

@media (max-width: 1100px) {
  .bh-aphero__title { font-size: 46px; }
  .bh-apfeat__title { font-size: 32px; }
  .bh-apfeat__grid,
  .bh-apfeat__grid--flip { gap: 40px; }
  .bh-apfeat__card,
  .bh-apfeat__card--flip { gap: 36px; padding: 36px 32px; }
  .bh-apcta__card { gap: 32px; padding: 36px 32px; }
}

@media (max-width: 860px) {
  /* Poniżej tej szerokości kolumna z telefonem nie ma już sensu obok tekstu
     — makieta schodzi pod treść i zostaje wyśrodkowana. */
  .bh-aphero__grid,
  .bh-apfeat__grid,
  .bh-apfeat__grid--flip,
  .bh-apfeat__card,
  .bh-apfeat__card--flip,
  .bh-apfeat__split,
  .bh-apfeat__split--flip,
  .bh-apcta__card { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  /* Kolejność z projektu: najpierw treść, potem makieta. */
  .bh-apfeat__grid--flip > .bh-apphone-wrap,
  .bh-apfeat__card--flip > .bh-apphone-wrap,
  .bh-apfeat__split--flip > .bh-apphone-wrap { order: 2; }

  .bh-aphero { padding-bottom: 56px; }
  .bh-apfeat { padding-block: 56px; }
  .bh-aphero__title { font-size: 38px; }
  .bh-apfeat__title { font-size: 28px; }
  .bh-apcta__title { font-size: 28px; }

  .bh-apfeat__bar { display: block; }
  .bh-apfeat__bar .bh-apfeat__title { margin: 0 0 14px; }
  .bh-apfeat__barlead { max-width: none; }

  .bh-apthread,
  .bh-apland,
  .bh-appay,
  .bh-appeople { max-width: none; }
}

@media (max-width: 640px) {
  /* Na telefonie makieta liczy się już zwyczajnie — inaczej dopełnienie
     obudowy wychodziłoby poza kolumnę na najwęższych ekranach. */
  .bh-apphone { box-sizing: border-box; max-width: 324px; }
  .bh-apphone--hero { max-width: 344px; }
  .bh-appay { box-sizing: border-box; }

  .bh-aphero { padding-top: 28px; }
  .bh-aphero__title { font-size: 34px; }
  .bh-aphero__lead { font-size: 15px; }
  .bh-aphero__actions { flex-direction: column; gap: 10px; }
  .bh-aphero__actions .bh-btn { width: 100%; }

  .bh-apfeat__card,
  .bh-apfeat__card--flip,
  .bh-apcta__card { padding: 28px 22px; border-radius: 24px; }

  .bh-apbits,
  .bh-aptiles,
  .bh-apflow,
  .bh-apvers,
  .bh-apknow { grid-template-columns: minmax(0, 1fr); }

  .bh-apfiles { grid-template-columns: minmax(0, 1fr); }

  .bh-apband { flex-direction: column; align-items: flex-start; gap: 18px; }
  .bh-apband__cta { width: 100%; text-align: center; }

  .bh-apthread__msg--reply { margin-left: 20px; }
}
