/* business-flow.css — the pages for companies per industry (/business/<industry>/ …), on top of business.css.
   Made by scripts/build_business.mjs. The picture (.bf) says the page's one message from top to bottom: loose
   papers come in, a ToolRecipe recipe of three steps, the finished file. */
/* The top of the page: the words and the two buttons on the left, the picture beside them on the right, so the
   headline and the first button are on screen without scrolling. Narrow screens: words, buttons, then the picture. */
.bi-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .74fr); gap: clamp(28px, 4.4vw, 56px); align-items: center; padding: 28px 0 8px; }
.bi-copy { display: grid; gap: 16px; min-width: 0; align-content: start; }
.bi-hero h1 { font: 600 clamp(31px, 4vw, 46px)/1.06 var(--display); letter-spacing: -.012em; margin: 0; text-wrap: balance; }
.bi-sub { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.45; color: var(--muted); max-width: 30em; text-wrap: pretty; }
.bi-copy .biz-ctas { margin-top: 6px; }
.bi-hero .biz-note { max-width: 520px; }

/* ── the picture: from top to bottom, papers come in, the recipe, the ready file ── */
.bf { --bf-ink: #1C2428; --bf-wire: var(--ink); --bf-gap: 30px; display: grid; gap: var(--bf-gap); justify-self: end; width: 100%; max-width: 430px; min-width: 0; }
.bf-col { min-width: 0; display: grid; gap: 10px; align-content: start; }
.biz-main .bf-head { font: 700 12px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; padding-bottom: 6px; border-bottom: 1px solid var(--line); }

/* what comes in: four loose papers in a row, kept small and quiet so the dark panel leads */
.bf-papers { list-style: none; margin: 0; padding: 4px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.bf-paper { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; gap: 6px; min-width: 0; }
.bf-sheet { width: min(62%, 58px); height: auto; opacity: .92; filter: drop-shadow(0 3px 5px rgba(28, 36, 40, .1)); }
.bf-sheet.narrow { width: min(44%, 41px); }
.bf-paper:nth-child(odd) .bf-sheet { rotate: -2deg; }
.bf-paper:nth-child(even) .bf-sheet { rotate: 2deg; }
.bf-tag { color: var(--muted); font-weight: 600; font-size: 12.5px; line-height: 1.2; text-align: center; max-width: 100%; overflow-wrap: break-word; hyphens: auto; }

/* the recipe: one dark panel, joined to what is above and below by a wire with a yellow dot */
.bf-panel { position: relative; background: var(--bf-ink); color: #FFFFFF; border-radius: 18px; padding: 16px 12px 18px;
  display: grid; gap: 12px; justify-items: center; text-align: center; box-shadow: var(--card-lift); }
.bf-panel::before, .bf-panel::after { content: ""; position: absolute; left: 50%; translate: -50% 0; width: 14px; height: var(--bf-gap);
  background: radial-gradient(circle, #FFC61A 0 5px, var(--bf-wire) 5.5px 7px, transparent 7.5px), linear-gradient(var(--bf-wire), var(--bf-wire)) center / 2px 100% no-repeat; }
.bf-panel::before { bottom: 100%; }
.bf-panel::after { top: 100%; }
.biz-main .bf-brand { display: flex; align-items: center; gap: 10px; font: 600 22px/1 var(--display); margin: 0; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .28); width: 100%; justify-content: center; }
.bf-brand svg { width: 32px; height: auto; }
.biz-main .bf-recipe { font: 600 16px/1.25 var(--display); margin: 0; color: #FFFFFF; }
.bf-steps { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; align-items: start; }
.bf-steps li { position: relative; display: grid; gap: 8px; justify-items: center; font: 600 13.5px/1.2 var(--display); min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.bf-icon { width: 56px; height: auto; padding: 12%; box-sizing: border-box; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.bf-steps li + li::before { content: ""; position: absolute; right: calc(100% + 2px); top: 28px; width: 12px; height: 12px; translate: 0 -50%;
  background: #FFC61A; clip-path: polygon(0 40%, 58% 40%, 58% 0, 100% 50%, 58% 100%, 58% 60%, 0 60%); }

/* the ready file: the drawing on the left, its name and what it brings beside it */
.bf-out { grid-template-columns: 76px minmax(0, 1fr); column-gap: 16px; row-gap: 6px; align-items: start; }
.bf-out .bf-head { grid-column: 1 / -1; }
.bf-done { grid-row: 2 / span 2; width: 100%; height: auto; opacity: .95; filter: drop-shadow(0 4px 7px rgba(28, 36, 40, .12)); }
.biz-main .bf-ready { font: 600 21px/1.15 var(--display); color: var(--ink); margin: 2px 0 0; }
.bf-wins { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 14.5px; line-height: 1.3; }
.bf-wins li { display: grid; grid-template-columns: 17px 1fr; gap: 8px; align-items: start; }
.bf-wins svg { width: 17px; height: 17px; color: var(--local); margin-top: 1px; }

/* tablets: still side by side, the picture a size smaller */
@media (max-width: 980px) {
  .bi-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 28px; }
  .bf { --bf-gap: 26px; }
  .bf-tag { font-size: 11.5px; }
  .bf-icon { width: 48px; } .bf-steps { gap: 12px; } .bf-steps li { font-size: 12.5px; } .bf-steps li + li::before { top: 24px; width: 10px; right: 100%; }
  .bf-out { grid-template-columns: 60px minmax(0, 1fr); column-gap: 12px; }
  .biz-main .bf-ready { font-size: 19px; } .bf-wins { font-size: 13.5px; }
}
/* phones: the words and the buttons first, the picture under them */
@media (max-width: 700px) {
  .bi-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 16px; }
  .bf { justify-self: center; max-width: 340px; }
}

/* ── the rest of the page: each part has its own shape, so no two blocks look alike ── */
.bi-jobs ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.bi-jobs li { border-top: 3px solid var(--yellow); background: var(--panel); border-radius: 0 0 12px 12px; padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; min-width: 0; box-shadow: var(--card-shadow); }
.biz-main .bi-jobs h3 { margin: 0; font-size: 18px; }
.bi-jobs li p { color: var(--muted); font-size: 15px; }
.bi-jobs li a { font-weight: 600; margin-top: 4px; }
.biz-main .bi-jobs-note { margin-top: 4px; }

/* one recipe as a row of steps on the dark panel's colour, an arrow between each */
.bi-chain { --bf-ink: #1C2428; background: var(--bf-ink); color: #FFFFFF; border-radius: 18px; padding: clamp(22px, 3.4vw, 34px); display: grid; gap: 16px; }
.biz-main .bi-chain h2 { color: #FFFFFF; margin: 0; }
.bi-chain-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; }
.bi-chain-steps li { position: relative; background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 8px 16px; font: 600 15px/1.25 var(--display); }
.bi-chain-steps li:first-child { background: none; outline: 1px solid rgba(255, 255, 255, .45); outline-offset: -1px; }
.bi-chain-steps li:last-child { background: #FFC61A; color: #1C2428; }
.bi-chain-steps li + li::before { content: ""; position: absolute; right: calc(100% + 8px); top: 50%; width: 14px; height: 12px; translate: 0 -50%;
  background: #FFC61A; clip-path: polygon(0 40%, 58% 40%, 58% 0, 100% 50%, 58% 100%, 58% 60%, 0 60%); }
.biz-main .bi-chain-note { color: rgba(255, 255, 255, .78); font-size: 15px; max-width: 46em; }

/* the reasons: the question on the left, a ticked list on the right */
.bi-why { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px clamp(28px, 4.4vw, 56px); align-items: start; }
.biz-main .bi-why h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.12; }
.bi-why dl { margin: 0; display: grid; gap: 0; }
.bi-why dl > div { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.bi-why dl > div:last-child { border-bottom: 1px solid var(--line); }
.bi-why svg { grid-row: 1 / span 2; width: 24px; height: 24px; color: var(--local); margin-top: 1px; }
.bi-why dt { font: 600 18px/1.3 var(--display); }
.bi-why dd { margin: 2px 0 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .bi-why { grid-template-columns: minmax(0, 1fr); } }

.biz-main .bi-more { margin-top: 20px; color: var(--muted); }

/* the last block: the same button as on top */
.bi-end { background: var(--soft); border: 0; border-radius: 18px; padding: clamp(24px, 3.6vw, 40px); gap: 10px; }
.bi-end p { max-width: 40em; }

@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.bf, .bi-chain) { --bf-ink: #0C1012; } :root:not([data-theme="light"]) :is(.bf-panel, .bi-chain) { outline: 1px solid var(--line); } }
:root[data-theme="dark"] :is(.bf, .bi-chain) { --bf-ink: #0C1012; }
:root[data-theme="dark"] :is(.bf-panel, .bi-chain) { outline: 1px solid var(--line); }

/* ── the new look ("Kitchen counter"): the headline as on every page, the recipe's panel as the plum note of the
   page for companies, outlines in ink. The picture's drawings are unchanged. ── */
.bi-hero h1 { font: 800 clamp(2.1rem, 4.2vw, 3.2rem)/1.02 var(--k-display); letter-spacing: -.04em; }
.bi-sub { font-size: 1.15rem; color: var(--k-muted); }
.biz-main .bf-head { font: 700 .78rem/1.2 var(--k-display); letter-spacing: .08em; color: var(--k-ink); border-bottom: 2px solid var(--k-faint); }
.bf-tag { color: var(--k-muted); }
.bf-panel { background: #6A48DC; border: 2px solid var(--k-line); border-radius: var(--k-r-lg); box-shadow: var(--k-shadow-lg); }
.biz-main .bf-brand { font: 700 1.4rem/1 var(--k-display); letter-spacing: -.03em; }
.biz-main .bf-recipe { font: 750 1.05rem/1.25 var(--k-display); }
.bf-steps li { font: 650 .86rem/1.2 var(--k-body); }
.bf-icon { background: rgba(255, 255, 255, .16); }
.biz-main .bf-ready { font: 800 1.35rem/1.15 var(--k-display); letter-spacing: -.02em; color: var(--k-ink); }
/* the jobs: paper cards; the recipe as a row of steps: the plum band; the reasons; the invitation: a butter note */
.bi-jobs ul { gap: 20px; margin-top: 18px; }
.bi-jobs li { border: 2px solid var(--k-line); border-radius: var(--k-r-lg); background: var(--k-card); padding: 20px; box-shadow: var(--k-shadow); }
.biz-main .bi-jobs h3 { font: 750 1.2rem/1.2 var(--k-display); letter-spacing: -.02em; }
.bi-jobs li p { color: var(--k-muted); }
/* four jobs in one row, two by two on a phone; each with the drawing of what it does on the recipe panel's plum (ticket 0286) */
.bi-jobs ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .bi-jobs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .bi-jobs ul { gap: 12px; } .bi-jobs li { padding: 14px; } .biz-main .bi-jobs h3 { font-size: 1.02rem; } .bi-jobs li p { font-size: 14px; } }
.bi-job-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #6A48DC; border: 2px solid var(--k-line); margin-bottom: 4px; }
.bi-job-icon .bf-icon { width: 44px; padding: 8%; background: none; }
.bi-jobs li p::first-letter, .bi-chain-examples li::first-letter { text-transform: uppercase; }
.bi-jobs li { grid-template-rows: auto auto auto 1fr; } .bi-jobs li a { align-self: end; justify-self: start; }
.biz-main .bi-jobs-more { margin-top: 18px; color: var(--k-muted); }
.biz-main .bi-jobs-more a { font-weight: 600; white-space: nowrap; }
.bi-chain-examples { list-style: none; margin: -4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.bi-chain-examples li { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .4); border-radius: 10px; padding: 6px 12px; font: 600 .95rem/1.3 var(--k-body); }
.bi-chain, :root[data-theme="dark"] .bi-chain { background: #6A48DC; color: #fff; border: 2px solid var(--k-line); border-radius: var(--k-r-xl); box-shadow: var(--k-shadow-lg); outline: 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.bf-panel, .bi-chain) { outline: 0; } :root:not([data-theme="light"]) .bi-chain { background: #6A48DC; } }
:root[data-theme="dark"] :is(.bf-panel, .bi-chain) { outline: 0; }
.bi-chain-steps li, .bi-chain-steps li:first-child { background: #fff; color: #1D1B20; border: 2px solid #1D1B20; outline: 0; font: 650 .95rem/1.25 var(--k-body); }
.bi-chain-steps li:last-child { background: var(--k-yolk); }
.biz-main .bi-chain-note { color: rgba(255, 255, 255, .92); }
.biz-main .bi-why h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; }
.bi-why dl > div, .bi-why dl > div:last-child { border-color: var(--k-faint); border-width: 2px; }
.bi-why dt { font: 750 1.15rem/1.25 var(--k-display); letter-spacing: -.01em; }
.bi-why dd, .biz-main .bi-more { color: var(--k-muted); }
.bi-end { background: var(--k-butter); border: 2px solid var(--k-line); border-radius: var(--k-r-xl); }
