/* ==========================================================================
   landing-business.css - the public /business page on the digibiz shell.
   business-home.css carries the page design; this file only fits it into the
   shared marketing header and adds the few pieces the admin data needs
   (screenshots, photos, tags, chips) that the static template draws instead.
   ========================================================================== */

/* the shared .hp-bar is fixed and floats over the page, so the hero starts at
   the top of <main> and pads itself clear of the bar instead of pulling up
   under the template's own (absent) business header */
.bz-landing .bz-hero {
  margin-top: 0;
  padding-top: var(--hp-hero-top, 160px);
}

.bz-landing section[id] {
  scroll-margin-top: 100px;
}

/* ---- the notice strip above the header ----
   It sits in the flow at the very top; the fixed header starts under it and
   moves up to the top edge once the page scrolls (hp-page.js adds .is-stuck). */
.bz-top .bz-strip p {
  margin-block: 0;
}

body:has(.bz-top) .hp-bar:not(.is-stuck) {
  top: var(--bz-strip-h, 38px);
}

/* ---- the business footer: its own ground under the last band ---- */
.bz .bz-foot .bz-foot-cols a {
  display: block;
}

/* ---- hero: a screenshot (admin upload or bundled) in place of the render ---- */
.lb-hero-shot {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin-inline: auto;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.lb-hero-shot .lb-shot {
  box-shadow: 0 18px 26px rgba(12, 16, 23, 0.1), 0 52px 80px -30px rgba(12, 16, 23, 0.25);
}

.lb-hero-person {
  position: absolute;
  z-index: 2;
  inset-inline-start: -18px;
  bottom: -24px;
  width: clamp(110px, 18%, 190px);
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 4px solid var(--bz-paper);
  border-radius: 14px;
  box-shadow: 0 20px 40px -20px rgba(9, 12, 20, 0.45);
}

/* ---- a screenshot in a window frame ---- */
.bz-shot.lb-shot {
  border: 1px solid var(--bz-line);
  border-radius: 14px;
  background: var(--bz-paper);
}

.lb-shot-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bz-line);
  background: var(--bz-paper-2);
}

.lb-shot-bar i {
  height: 9px;
  width: 9px;
  border-radius: 50%;
  background: var(--bz-line);
}

.bz-shot.lb-shot img,
.bz-shot.lb-fit img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

/* ---- trust: the four cards carry a title, not a figure ---- */
.lb-tr-cards b {
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* ---- people: a main photo and a smaller one over its corner ---- */
.lb-photos {
  padding-bottom: 36px;
  padding-inline-end: 36px;
}

.lb-photo-main img {
  aspect-ratio: 4/3;
}

.lb-photo-side {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 5px solid var(--bz-paper-2);
  border-radius: 14px;
  box-shadow: 0 20px 40px -22px rgba(9, 12, 20, 0.45);
}

/* ---- tour: the screenshot with its tags ---- */
.lb-tagged {
  display: grid;
  gap: 14px;
}

.lb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lb-tags li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--bz-line);
  border-radius: 999px;
  background: var(--bz-paper);
  font-size: 13px;
  font-weight: 600;
  color: var(--bz-text);
}

.lb-tags i {
  color: var(--bz-green);
}

/* the drawn sample, used only when no screenshot is on disk */
.lb-screen {
  padding: clamp(14px, 1.8vw, 22px);
  border: 1px solid var(--bz-line);
  border-radius: 14px;
  background: var(--bz-paper);
}

.lb-screen .bz-rows b {
  font-weight: 600;
}

.lb-screen .bz-rows em {
  grid-column: 2;
  font-size: 12.5px;
  font-style: normal;
  color: var(--bz-text-3);
}

.lb-screen .bz-rows-a {
  grid-column: 3;
  grid-row: 1 / 3;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.lb-screen .bz-code {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ---- splits: currencies and the fact chips ---- */
/* .hp-scoped for the same reason as the chips: `.hp ul { margin: 0 }` took the gap away */
.hp .lb-ccys {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.lb-ccys li {
  padding: 4px 10px;
  border: 1px solid var(--bz-line);
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bz-text-2);
}

/* .hp-scoped: home.css `.hp ul { margin: 0 }` outranked a bare .lb-chips and
   took away the gap above the chips */
.hp .lb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--bz-line);
}

.lb-chips:empty {
  display: none;
}

.lb-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bz-pop) 9%, transparent);
  font-size: 13px;
  font-weight: 600;
  color: var(--bz-text);
}

.lb-chips i {
  color: var(--bz-pop);
}

/* ---- invoicing / links: two screenshots, one over the other ---- */
.lb-duo {
  position: relative;
  padding-bottom: 48px;
  padding-inline-end: 48px;
}

.lb-duo-over {
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 48%;
  box-shadow: 0 24px 48px -24px rgba(9, 12, 20, 0.5);
  border-radius: 14px;
}

/* ---- the picked landing sections (the home FAQ by default) ---- */
.bz-picked {
  background: var(--bz-paper-2);
}

@media (max-width: 991px) {
  .lb-hero-person {
    display: none;
  }
}

@media (max-width: 575px) {
  .lb-photos,
  .lb-duo {
    padding: 0;
  }

  .lb-photo-side,
  .lb-duo-over {
    display: none;
  }
}

/* ---- generated: business-home.css text rules re-applied above the shell's .hp p / .hp h* / .hp ul resets
   (the template business page has no .hp body, so these resets never applied there). ---- */
.hp .bz-eyebrow { padding: 6px 13px 6px 10px; letter-spacing: 0.07em; color: color-mix(in srgb, var(--bz-pop) 82%, var(--bz-text)); }
.hp .bz-h2 { line-height: 1.12; letter-spacing: -0.032em; }
.hp .bz-lead { margin-top: 18px; line-height: 1.6; color: var(--bz-text-2); }
.hp .bz-head .bz-eyebrow { margin-bottom: 20px; }
.hp .bz-head .bz-lead { margin-inline: auto; }
.hp .bz-tr-say .bz-eyebrow { margin-bottom: 18px; }
.hp .bz-tr-t { line-height: 1.12; letter-spacing: -0.032em; }
.hp .bz-tr-p { margin-top: 16px; line-height: 1.6; color: var(--bz-text-2); }
.hp .bz-tr-stats li { padding: clamp(16px, 1.8vw, 22px); }
.hp .bz-tr-stats i { margin-bottom: 14px; color: var(--bz-pop); }
.hp .bz-tr-stats b { line-height: 1; letter-spacing: -0.04em; }
.hp .bz-tr-stats span { margin-top: 7px; line-height: 1.45; color: var(--bz-text-3); }
.hp .bz-tr-stats .bz-tr-lead b { color: var(--bz-pop); }
.hp .bz-hero-t { line-height: 1.08; letter-spacing: -0.035em; }
.hp .bz-hero-p { margin: 18px auto 0; line-height: 1.65; color: var(--bz-on-ink-2); }
.hp .bz-band.is-ink .bz-lead { color: var(--bz-on-ink-2); }
.hp .bz-mod { padding: clamp(22px, 2.2vw, 30px); }
.hp .bz-mod::after { line-height: 1; letter-spacing: -0.06em; color: color-mix(in srgb, var(--bz-text) 6%, transparent); }
.hp .bz-mod-t { margin-bottom: 8px; letter-spacing: -0.02em; }
.hp .bz-mod-p { line-height: 1.65; color: var(--bz-text-2); }
.hp .bz-rows { margin-top: 6px; }
.hp .bz-rows li { padding: 12px 0; }
.hp .bz-rows .is-ok i { color: var(--bz-green); }
.hp .bz-rows .is-warn i { color: var(--bz-pop); }
.hp .bz-rows .is-bad i { color: var(--bz-red); }
.hp .bz-rows em { color: var(--bz-text-3); }
.hp .bz-flow { margin-top: 26px; }
.hp .bz-flow i { color: var(--bz-pop); }
.hp .bz-flow b { letter-spacing: -0.015em; }
.hp .bz-flow span { line-height: 1.55; color: var(--bz-text-2); }
.hp .bz-run { margin-top: clamp(24px, 2.8vw, 32px); }
.hp .bz-run li { padding-bottom: 26px; }
.hp .bz-run li:last-child { padding-bottom: 0; }
.hp .bz-run li::before { color: var(--bz-pop); }
.hp .bz-run b { letter-spacing: -0.015em; }
.hp .bz-run span { line-height: 1.55; color: var(--bz-text-2); }
.hp .bz-dev-tag { margin-bottom: 18px; padding: 5px 12px; letter-spacing: 0.04em; color: var(--bz-pop); }
.hp .bz-dev-t { line-height: 1.12; letter-spacing: -0.032em; }
.hp .bz-dev-p { margin-top: 16px; line-height: 1.7; color: var(--bz-text-2); }
.hp .bz-dev-base { padding-bottom: 16px; color: var(--bz-text-3); }
.hp .bz-dev-base b { color: var(--bz-text); }
.hp .bz-ends li { padding: 14px 0; }
.hp .bz-ends li:hover { padding-inline-start: 6px; }
.hp .bz-ends code { color: var(--bz-text); }
.hp .bz-ends em { color: var(--bz-text-3); }
.hp .bz-close-t { line-height: 1.1; letter-spacing: -0.035em; }
.hp .bz-close-p { margin: 16px auto 0; line-height: 1.65; color: rgba(255, 255, 255, 0.66); }

/* the closing panel is always dark: its heading stays white in light mode too (the shell sets h2 to --dbk-text) */
.hp .bz-close-panel .bz-close-t { color: #fff; }

/* ---- the business lockup on the header logo (template business-account/index.html) ----
   A "Business" chip off the logo's top end corner, like a trademark sign. The header sits
   outside .bz, so it reads the site tokens: solid ink with paper type, inverted in dark.
   The logo keeps room for the chip so it never lands on the first menu link. */
.hp-logo.has-mark { position: relative; }
/* room for the chip is taken from the menu, so the logo keeps the size it has on every other page */
.hp-bar .hp-logo.has-mark + .hp-menu { margin-inline-start: 74px; }
.hp-logo-mark {
  position: absolute;
  inset-block-start: -8px;
  inset-inline-start: 100%;
  margin-inline-start: 6px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--dbk-text);
  color: var(--dbk-surface);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  white-space: nowrap;
}
@media (max-width: 419px) {
  .hp-bar .hp-logo.has-mark + .hp-menu { margin-inline-start: 0; }
  .hp-logo-mark { display: none; }
}
