/* /business (scripts/build/business.mjs): the page's own sheet, loaded after the language's
   (story/src/language/language.css) and built from the tokens every page has (frame/frame.css).
   The page is a ledger page on the black ground: three RER statements (the hero, "Enter it
   once…" and the close), Inter Tight heads, ruled rows, and the site's tags at 13 px. No text
   is under 13 px, the drawings included, and no cobalt is used: the line ends are ink rings.

   The drawings (the hero's constellation and the Your business screen) are drawn in the app's
   own tokens below: ground, card, rail, ink, muted, hairline and the ok tint, with radius 12 for
   cards, 8 for fields and 999 for the app's chips. */

.biz-page {
  --biz-app-ground: #faf9f5;
  --biz-app-card: #ffffff;
  --biz-app-rail: #f2efe9;
  --biz-app-ink: #11181c;
  --biz-app-muted: #5d6470;
  --biz-app-hairline: rgba(17, 24, 28, 0.08);
  --biz-app-edge: rgba(17, 24, 28, 0.16);
  --biz-app-ok: #e7f4ec;
}

/* The nav sits over the page above 900 px: the hero starts 160 px down. */
@media (min-width: 901px) {
  .biz-page { padding-top: 160px; }
}

/* Type: the statements wrap by design, so they take their line breaks from the column, and
   the site's tags are 26 px at 13 px on this page (13 px is its floor). */
/* The caps are set from the lines as RER Display sets them: SET UP YOUR is 10.9 caps wide and
   BUSINESS ONCE. 13.3, so the hero keeps its two lines in the 620 px column at 46 px and its
   three lines on a phone at 8vw; EACH APP TAKES is 14.2 caps, so "Enter it once…" keeps its
   three lines at 50 px and at 6.2vw. */
.biz-statement {
  max-width: 13.5em;
  font-size: min(var(--rer-cap-statement), 46px, 8vw);
  line-height: 1.2;
  white-space: normal;
  text-wrap: balance;
}
.biz-page .rer-tag { --rer-h: 26px; padding: 0 10px; font-size: 13px; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-eyebrow { margin: 0 0 20px; }
.biz-h2 { margin: 0; font: 700 clamp(24px, 2.2vw, 34px)/1.15 var(--rer-ui); letter-spacing: -0.02em; color: var(--rer-ink); }
.biz-head .biz-eyebrow { margin-bottom: 14px; }
.biz-head__line, .biz-intro { max-width: var(--rer-measure); margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: var(--rer-muted); }
.biz-notbuilt { max-width: var(--rer-measure); margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--rer-muted); }
.biz-notbuilt, .biz-step__body, .biz-product__body, .biz-intro, .biz-door__text, .biz-way__body { text-wrap: pretty; }
.biz-notbuilt strong { font-weight: 600; color: var(--rer-ink); }
.biz-figure { margin: 0; }
.biz-figure > figcaption { margin-top: 12px; }

/* The actions: the primary (48 px), its line 12 px under it, the ghost 20 px under the line. */
.biz-actions { display: flex; flex-direction: column; align-items: flex-start; margin-top: calc(var(--rer-space-inset) + 8px); }
.biz-actions__line { max-width: 34em; margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--rer-muted); text-wrap: balance; }
.biz-actions .rer-btn--ghost { margin-top: 20px; }

/* 1. The hero: the text, then the constellation under it; from 1360 px the constellation stands
   beside the text, as Home's carton does. */
.biz-hero.rer-head { display: grid; grid-template-columns: minmax(0, 1fr); max-width: none; }
.biz-hero .rer-lead { text-wrap: balance; }
.biz-hero__figure { margin-top: var(--rer-space-head); container: biz-constellation / inline-size; }
/* Its caption, then the not-built line for what the drawing shows before it ships. */
.biz-hero__figure > figcaption > .rer-meta { display: block; }
@media (min-width: 1360px) {
  .biz-hero.rer-head { grid-template-columns: minmax(0, 620px) 630px; column-gap: 40px; align-items: start; }
  .biz-hero__figure { margin-top: 0; }
}

/* The constellation. Its cards are the apps' surfaces at true size; every card's box and the
   profile card's rows come from the generator's table (scripts/business/constellation.mjs) as
   custom properties, so the lines (one SVG behind the cards) meet them. */
.biz-constellation { position: relative; display: block; }
.biz-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: var(--pad) 16px;
  border-radius: 12px;
  background: var(--biz-app-card);
  color: var(--biz-app-ink);
  font: 400 14px/20px var(--rer-ui);
}
.biz-card__head { display: flex; flex: none; align-items: center; gap: 8px; height: var(--head); font: 600 15px/20px var(--rer-ui); }
.biz-card__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz-mark { display: block; flex: none; width: 20px; height: 20px; }
.biz-logo { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: var(--biz-brand); color: #fff; font: 700 18px/1 var(--rer-ui); }
.biz-pair { display: block; }
.biz-pair__label { display: block; font: 400 13px/18px var(--rer-ui); color: var(--biz-app-muted); }
.biz-pair__value { display: block; overflow: hidden; font: 400 14px/20px var(--rer-ui); text-overflow: ellipsis; white-space: nowrap; }
.biz-card--profile .biz-card__name { font-size: 17px; }
.biz-card--profile .biz-card__head + .biz-pair { margin-top: var(--gap); }
.biz-card--profile .biz-pair, .biz-pairs-row { height: var(--row); }
.biz-card--profile .biz-pair + .biz-pair, .biz-pairs-row { margin-top: var(--row-gap); }
.biz-pairs-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.biz-pairs-row .biz-pair + .biz-pair { margin-top: 0; }
.biz-mail { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 6px 8px; margin-top: 12px; }
.biz-mail__label { font: 400 13px/20px var(--rer-ui); color: var(--biz-app-muted); }
.biz-mail__value { overflow-wrap: anywhere; }
/* Slate's workspace: under the sidebar's head, a hairline across the card, then the rail of
   Slate's own nav labels (the current one on the rail's tint) beside the page: its title and three
   rows, each drawn shorter than the one above. */
.biz-ws { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 14px; margin: 10px -16px 0; padding: 10px 16px 0; border-top: 1px solid var(--biz-app-hairline); }
.biz-ws__rail { display: grid; align-content: start; gap: 2px; }
.biz-ws__nav { padding: 3px 8px; border-radius: 8px; font: 500 13px/18px var(--rer-ui); color: var(--biz-app-muted); white-space: nowrap; }
.biz-ws__nav--current { background: var(--biz-app-rail); color: var(--biz-app-ink); }
.biz-ws__page { display: block; min-width: 0; padding-top: 2px; }
.biz-ws__title { display: block; overflow: hidden; font: 600 14px/20px var(--rer-ui); text-overflow: ellipsis; white-space: nowrap; }
.biz-ws__rows { display: grid; gap: 9px; margin-top: 10px; }
.biz-ws__rows > span { display: block; height: 8px; border-radius: 999px; background: #ebe8e1; }
.biz-ws__rows > :nth-child(2) { width: 78%; }
.biz-ws__rows > :nth-child(3) { width: 56%; }
.biz-invoice__to { display: block; margin-top: 12px; font: 600 15px/20px var(--rer-ui); }
.biz-invoice__number { display: block; margin-top: 2px; color: var(--biz-app-muted); }
.biz-invoice__label { display: block; margin-top: 10px; font: 400 13px/18px var(--rer-ui); color: var(--biz-app-muted); }
.biz-invoice__amount { display: block; font: 600 18px/24px var(--rer-ui); }
.biz-card__sub { display: block; margin-top: 10px; font: 600 15px/20px var(--rer-ui); }
.biz-rows { display: grid; gap: 6px; margin-top: 8px; }
.biz-rows .biz-pair { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; }
.biz-rows .biz-pair__label { line-height: 20px; }
.biz-lines { display: none; }

/* Narrow: a chain. The profile card, then for each surface a spine 20 px from the left, a ring,
   the line's label, and the card at full width. */
.biz-link { position: relative; padding-top: 24px; }
.biz-link::before { content: ''; position: absolute; left: 20px; top: 0; width: 1px; height: 33px; background: var(--rer-line); }
.biz-link__label { position: relative; display: block; margin-bottom: 12px; padding-left: 36px; font: 400 13px/18px var(--rer-mono); color: var(--rer-ink); white-space: nowrap; }
.biz-link__label::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 5.5px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--rer-line-strong);
  border-radius: 50%;
  background: var(--rer-ground);
}

/* Full size: two cards over the profile card over two cards, at the table's places, the lines
   behind them. The lines are drawn at rest: a draw-in replays whenever the layout changes (a
   full-page capture resizes the page), and a capture taken then shows no lines. */
@container biz-constellation (min-width: 630px) {
  .biz-constellation { width: var(--box-w); height: var(--box-h); }
  .biz-constellation .biz-card { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); }
  .biz-link { position: static; padding: 0; }
  .biz-link::before { content: none; }
  .biz-link__label { position: absolute; left: var(--lx); top: var(--ly); margin: 0; padding: 0; }
  .biz-link__label::before { content: none; }
  .biz-lines { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; overflow: visible; }
  .biz-lines path { fill: none; stroke: var(--rer-line); stroke-width: 1; }
  .biz-lines circle { fill: var(--rer-ground); stroke: var(--rer-line-strong); stroke-width: 1; }
}

/* 2. The step index: the site's ruled rows, in strict columns (figure, title, text, tags). It
   starts one head's space under the hero, at the fold at 1440. */
.biz-page > .biz-steps { margin-top: var(--rer-space-head); padding-top: 0; border-top: 0; }
/* The tags' column is 280 px, not 240: at 13 px two tags need 251 to 267 px, so step 04's three
   wrap two and one, as the picked index sets them on as few lines as it can. */
.biz-step { display: grid; grid-template-columns: 88px minmax(0, 300px) minmax(0, 1fr) minmax(0, 280px); align-items: baseline; column-gap: 32px; padding: var(--rer-space-row) 0; }
.biz-step__code { white-space: nowrap; }
.biz-step__title { margin: 0; font: 600 26px/1.2 var(--rer-ui); letter-spacing: -0.01em; color: var(--rer-ink); }
.biz-step__body { max-width: var(--rer-measure); margin: 0; font-size: 17px; line-height: 1.6; }
.biz-step__record { margin-top: 8px; }
.biz-step .biz-tags { justify-content: flex-end; }
/* The optional step: quieter than the numbered ones, in a dashed box, after 05. */
.biz-step--optional { display: block; }
.biz-step__box { display: grid; grid-template-columns: 64px minmax(0, 300px) minmax(0, 1fr) minmax(0, 256px); align-items: baseline; column-gap: 32px; padding: 24px; border: 1px dashed var(--rer-line); border-radius: var(--rer-radius); }
.biz-step--optional .biz-step__title { font-size: 22px; }
.biz-step--optional .biz-step__body { font-size: 15px; color: var(--rer-muted); }
.biz-step__code--optional { justify-self: start; border-style: dashed; }

/* 3. The product section: its words, then the Your business screen and the two apps. */
.biz-product .biz-statement { max-width: 14.4em; font-size: min(var(--rer-cap-statement), 50px, 6.2vw); }
.biz-product__body { max-width: var(--rer-measure); margin: var(--rer-space-inset) 0 0; font-size: 17px; line-height: 1.6; }
.biz-shot { margin-top: var(--rer-space-head); container: biz-shot / inline-size; }

/* The app's own parts, in both forms. */
.biz-app__mark { display: block; width: 56px; color: var(--biz-app-ink); line-height: 0; }
.biz-app__mark svg { display: block; width: 100%; height: auto; }
.biz-app__eyebrow { display: block; font: 600 13px/18px var(--rer-ui); letter-spacing: 0.08em; text-transform: uppercase; color: var(--biz-app-muted); }
.biz-app__title { display: block; font: 600 26px/32px var(--rer-ui); letter-spacing: -0.01em; }
.biz-app__save { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 18px; border-radius: 8px; background: var(--biz-app-ink); color: #fff; font: 600 14px/1 var(--rer-ui); }
.biz-app__card { display: block; padding: 16px; border: 1px solid var(--biz-app-hairline); border-radius: 12px; background: var(--biz-app-card); }
.biz-app__card-title { display: block; margin-bottom: 12px; font: 600 15px/20px var(--rer-ui); }
.biz-app__card-note { font-weight: 400; color: var(--biz-app-muted); }
.biz-input { display: block; min-width: 0; }
.biz-input__label { display: block; margin-bottom: 6px; font: 400 13px/18px var(--rer-ui); color: var(--biz-app-muted); }
.biz-input__box { display: block; height: 36px; padding: 0 12px; overflow: hidden; border: 1px solid var(--biz-app-edge); border-radius: 8px; background: var(--biz-app-card); font: 400 14px/34px var(--rer-ui); text-overflow: ellipsis; white-space: nowrap; }
.biz-input__box--colour { display: flex; align-items: center; }
.biz-input__box--select { position: relative; padding-right: 36px; }
.biz-input__box--select::after { content: ''; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--biz-app-muted); border-bottom: 1.5px solid var(--biz-app-muted); transform: translateY(-70%) rotate(45deg); }
.biz-logo--field { width: 36px; height: 36px; }
.biz-swatch { display: block; flex: none; width: 16px; height: 16px; margin-right: 8px; border-radius: 999px; background: var(--biz-brand); }
.biz-seg { display: inline-flex; height: 36px; overflow: hidden; border: 1px solid var(--biz-app-edge); border-radius: 8px; }
.biz-seg__option { display: flex; align-items: center; padding: 0 16px; font: 500 14px/1 var(--rer-ui); color: var(--biz-app-muted); }
.biz-seg__option + .biz-seg__option { border-left: 1px solid var(--biz-app-edge); }
.biz-seg__option--on { background: var(--biz-app-ink); color: #fff; }
.biz-approw { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 0; }
.biz-approw + .biz-approw, .biz-phone__link + .biz-approw { border-top: 1px solid var(--biz-app-hairline); }
.biz-approw__name { display: block; font: 600 15px/20px var(--rer-ui); }
.biz-approw__line { display: block; font: 400 13px/18px var(--rer-ui); color: var(--biz-app-muted); }
.biz-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.biz-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--biz-app-rail); color: var(--biz-app-muted); font: 500 13px/1 var(--rer-ui); white-space: nowrap; }
.biz-chip--ok { background: var(--biz-app-ok); color: var(--biz-app-ink); }
.biz-frag { display: block; padding: 12px; border: 1px solid var(--biz-app-hairline); border-radius: 12px; background: var(--biz-app-card); color: var(--biz-app-ink); font: 400 14px/20px var(--rer-ui); }
.biz-frag__head { display: flex; align-items: center; gap: 8px; height: 24px; font: 600 15px/20px var(--rer-ui); }
.biz-invoice__due { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px; }
.biz-invoice__due .biz-invoice__label { margin: 0; }
/* Pantry's settings strip: its three settings as rows, label and value. */
.biz-frag--strip { display: grid; gap: 6px; padding: 10px 12px; }
.biz-frag--strip .biz-pair { display: flex; justify-content: space-between; gap: 12px; }
.biz-frag--strip .biz-pair__label { line-height: 20px; }

/* The full-width form: the screen (rail 160, content 620), 100 px for the lines, and the apps'
   column. A line and the app part it ends on hang off their field: each is placed at its field's
   own height (its static position), so it stays level with the field. */
.biz-shot__wide { display: none; }
.biz-app { display: grid; grid-template-columns: 160px 620px; width: 780px; overflow: hidden; border-radius: 12px; background: var(--biz-app-ground); color: var(--biz-app-ink); }
.biz-app__rail { display: flex; flex-direction: column; gap: 4px; padding: 24px 16px; background: var(--biz-app-rail); }
.biz-app__rail .biz-app__mark { margin: 0 0 24px 8px; }
.biz-app__nav { display: block; padding: 8px 12px; border-radius: 8px; font: 500 14px/20px var(--rer-ui); color: var(--biz-app-muted); }
.biz-app__nav--current { background: var(--biz-app-card); color: var(--biz-app-ink); }
.biz-app__main { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.biz-app__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin-bottom: 8px; }
.biz-app__head .biz-app__title { grid-column: 1; }
.biz-app__head .biz-app__save { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.biz-app__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.biz-app__grid--shown { grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); }
.biz-input--span { grid-column: span 2; }
.biz-input--full { grid-column: 1 / -1; }
.biz-approws { display: block; }
@container biz-shot (min-width: 1280px) {
  .biz-shot__wide { position: relative; display: block; }
  .biz-shot .biz-shot__phone { display: none; }
  .biz-lead { position: absolute; left: 780px; z-index: 1; width: 190px; height: 1px; margin-top: -18px; background: var(--rer-line); }
  .biz-lead::before, .biz-lead::after { content: ''; position: absolute; top: -3px; width: 7px; height: 7px; border: 1px solid var(--rer-line-strong); border-radius: 50%; background: var(--rer-ground); }
  .biz-lead::before { left: 1px; }
  .biz-lead::after { right: 1px; }
  .biz-lead__label { position: absolute; left: 14px; bottom: 7px; font: 400 13px/18px var(--rer-mono); color: var(--rer-ink); white-space: nowrap; }
  .biz-shot__wide .biz-frag { position: absolute; left: 970px; right: 0; }
  /* A part hangs from its field's foot (60 px under the field's top; the line is 42 px under it, at
     the box's centre), so its line meets it at its first row: 58 px under the top of Slate's email
     and of the invoice (12 + head 24 + 12 + half a line), 20 px under the top of the settings. */
  .biz-shot__wide .biz-frag--slate, .biz-shot__wide .biz-frag--invoice { margin-top: -76px; }
  .biz-shot__wide .biz-frag--strip { margin-top: -38px; }
  .biz-shot__wide .biz-mail { grid-template-columns: 52px minmax(0, 1fr); }
}

/* The phone form: the app at true size, its profile, then Your apps with each app's part under
   its own row. Two screens side by side where there is room. */
.biz-shot__phone { display: grid; grid-template-columns: minmax(0, 440px); gap: 16px; align-items: start; }
@container biz-shot (min-width: 760px) {
  .biz-shot__phone { grid-template-columns: repeat(2, minmax(0, 440px)); gap: 24px; }
}
.biz-phone { display: block; padding-bottom: 16px; overflow: hidden; border-radius: 12px; background: var(--biz-app-ground); color: var(--biz-app-ink); }
.biz-phone__bar { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 16px; border-bottom: 1px solid var(--biz-app-hairline); }
.biz-phone__bar .biz-app__mark { width: 44px; }
.biz-phone__menu { position: relative; display: block; width: 18px; height: 1.5px; background: var(--biz-app-ink); box-shadow: 0 -6px 0 var(--biz-app-ink), 0 6px 0 var(--biz-app-ink); }
.biz-avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--biz-app-rail); font: 600 13px/1 var(--rer-ui); }
.biz-phone__head { display: grid; gap: 4px; padding: 20px 16px 16px; }
.biz-app__save--block { width: 100%; height: 44px; margin-top: 12px; font-size: 15px; }
.biz-phone .biz-app__card { margin: 0 8px; padding: 14px 12px; }
.biz-phone .biz-app__card + .biz-app__card { margin-top: 16px; }
.biz-phone > .biz-app__card:first-child { margin-top: 16px; }
.biz-phone .biz-input + .biz-input { margin-top: 12px; }
.biz-phone .biz-input__box { height: 44px; padding: 0 10px; font-size: 15px; line-height: 42px; }
.biz-phone .biz-logo--field { width: 44px; height: 44px; font-size: 22px; }
.biz-phone .biz-approw { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 0; }
.biz-phone__link { position: relative; display: block; padding: 0 0 16px 24px; }
.biz-phone__link::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 16px; width: 1px; background: var(--biz-app-edge); }
.biz-phone__label { position: relative; display: block; margin-bottom: 10px; font: 400 13px/18px var(--rer-mono); color: var(--biz-app-muted); }
.biz-phone__label::before { content: ''; position: absolute; left: -20px; top: 5.5px; width: 7px; height: 7px; border: 1px solid var(--biz-app-muted); border-radius: 50%; background: var(--biz-app-card); }
.biz-phone .biz-frag + .biz-frag { margin-top: 8px; }

/* 4. The three ways (product's slab, under one hairline): each plan's name, body, tag and
   not-built line. */
.biz-ways__columns { margin-top: var(--rer-space-inset); }
.biz-ways__columns > :first-child { padding-left: 0; }
.biz-way > p { margin: 0; }
.biz-way__name { margin: 0; font: 700 24px/1.2 var(--rer-ui); letter-spacing: -0.01em; color: var(--rer-ink); }
.biz-way > .biz-way__body { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--rer-muted); }
.biz-way > .biz-way__tag { margin-top: 20px; }
.biz-way > .biz-notbuilt { margin-top: 2px; }
.rer-page > .biz-ways > .biz-ways__footer { margin: 24px 0 0; font-size: 17px; line-height: 1.6; color: var(--rer-muted); }

/* 5. The doors: title, text, and in the end column the tags then the action, 12 px apart. */
.biz-doors__rows { margin-top: var(--rer-space-inset); }
.biz-door { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr) minmax(0, 300px); align-items: baseline; column-gap: 32px; padding: var(--rer-space-row) 0; }
.biz-door__title { margin: 0; font: 600 17px/1.4 var(--rer-ui); color: var(--rer-ink); }
.biz-door__text { max-width: var(--rer-measure); margin: 0; font-size: 16px; line-height: 1.6; }
.biz-door__end { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.biz-door__end .biz-tags { justify-content: flex-end; }
.biz-head .biz-notbuilt { margin-top: 10px; }

/* 6. The plans: one table from the feed. */
.biz-plans__key { display: none; }
.biz-plans__table { width: 100%; margin-top: var(--rer-space-inset); border-collapse: collapse; table-layout: fixed; }
/* Columns 35 / 22 / 21 / 22 %: Managed's head (279 px at 15 px) needs one point more than 21 % to
   stay on one line, so the project column gives it. */
.biz-plans__table col:nth-child(1) { width: 35%; }
.biz-plans__table col:nth-child(2), .biz-plans__table col:nth-child(4) { width: 22%; }
.biz-plans__table col:nth-child(3) { width: 21%; }
.biz-plans__table thead th { padding: 0 24px 14px 0; border-bottom: 1px solid var(--rer-line); font: 400 15px/1.4 var(--rer-ui); color: var(--rer-muted); text-align: left; vertical-align: bottom; text-wrap: balance; }
.biz-plans__way { font-weight: 600; color: var(--rer-ink); }
.biz-plans__table tbody th, .biz-plans__table td { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--rer-hairline); font: 400 15px/1.5 var(--rer-ui); text-align: left; vertical-align: top; }
.biz-plans__table :is(th, td):last-child { padding-right: 0; }
.biz-plans__name { display: inline-block; margin-block: -9px; padding-block: 9px; font: 600 20px/1.3 var(--rer-ui); color: var(--rer-ink); }
.biz-plans__category { margin-left: 10px; font: 400 13px/1.4 var(--rer-mono); color: var(--rer-muted); }
.biz-plans__line { display: block; max-width: 30em; margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--rer-muted); }
.biz-plans__label { display: none; }
.biz-plans__value { display: block; }
/* Links: underlined in --rer-line, each with a 44 px target (the project's name too) that leaves
   the rows as tight as drawn. */
.biz-plans__link { display: inline-block; margin-block: -11px; padding-block: 11px; text-decoration: underline; text-decoration-color: var(--rer-line); text-underline-offset: 0.18em; }
.biz-plans__link:hover { text-decoration-color: currentColor; }
.biz-plans__note { max-width: var(--rer-measure); margin: 24px 0 0; font-size: 15px; line-height: 1.6; color: var(--rer-muted); }

/* 7. Not built yet: one block, its items in two columns from 900 px, each led by an open capsule. */
.biz-limits__card { max-width: 1140px; padding: 32px; border: 1px solid var(--rer-line); border-radius: var(--rer-radius); }
.biz-limits__title { margin: 0; font: 600 20px/1.3 var(--rer-ui); color: var(--rer-ink); }
.biz-limits__items { display: grid; gap: 10px 48px; margin: 20px 0 0; padding: 0; list-style: none; }
.biz-limits__items li { display: flex; align-items: baseline; gap: 12px; font-size: 16px; line-height: 1.5; }
.biz-limits__items .rer-capsule { transform: translateY(-4px); }
.biz-limits__card .rer-btn--ghost { margin-top: 24px; }
@media (min-width: 900px) {
  .biz-limits__items { grid-template-rows: repeat(4, auto); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; }
}

/* 8. The close: the statement echoes the hero's, left on the content column, then the same actions. */
.rer-page > .biz-close > .rer-lead { max-width: 30em; margin: var(--rer-space-inset) 0 0; font-size: var(--rer-size-lead); color: var(--rer-ink); }
/* Wrapped greedily, the close breaks SET IT UP / ONCE. on a phone (balanced, it would break SET IT). */
.biz-close .biz-statement { text-wrap: wrap; }

/* Between the step grid's columns and the stack: the figure beside the title, the rest under it. */
@media (max-width: 1099px) {
  .biz-step, .biz-step__box { grid-template-columns: 64px minmax(0, 1fr); row-gap: 10px; }
  .biz-step > :nth-child(n+3), .biz-step__box > :nth-child(n+3) { grid-column: 2; }
  .biz-step .biz-tags { justify-content: flex-start; }
  .biz-door { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); row-gap: 14px; }
  .biz-door__end { grid-column: 2; align-items: flex-start; }
  .biz-door__end .biz-tags { justify-content: flex-start; }
}

/* Phones (390): everything stacked, as the frames have it. */
@media (max-width: 640px) {
  .biz-step, .biz-step__box { display: block; padding: 26px 0; }
  .biz-step__box { padding: 16px; }
  .biz-step__code.rer-figure { display: block; font-size: 32px; }
  .biz-step__title { margin-top: 12px; font-size: 22px; }
  .biz-step__body { font-size: 16px; }
  .biz-step--optional .biz-step__body { font-size: 15px; }
  .biz-step .biz-tags { margin-top: 14px; }
  .biz-step__text { margin-top: 8px; }
  .biz-ways__columns > * { padding-left: 0; padding-right: 0; }
  .biz-door { display: block; }
  .biz-door__text { margin-top: 6px; }
  .biz-door__end { align-items: flex-start; margin-top: 14px; }
  .biz-plans__key { display: block; margin: 20px 0 0; padding: 0; list-style: none; font: 400 13px/1.7 var(--rer-mono); color: var(--rer-muted); }
  .biz-plans__table { margin-top: 20px; border-top: 1px solid var(--rer-hairline); }
  .biz-plans__table thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
  .biz-plans__table colgroup { display: none; }
  .biz-plans__table, .biz-plans__table tbody, .biz-plans__table tr { display: block; }
  .biz-plans__table tr { padding: 20px 0; border-bottom: 1px solid var(--rer-hairline); }
  .biz-plans__table tbody th, .biz-plans__table td { display: block; padding: 0; border: 0; }
  .biz-plans__table td { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0 8px; margin-top: 8px; }
  .biz-plans__table tbody th + td { margin-top: 12px; }
  .biz-plans__label { display: block; font: 400 13px/22px var(--rer-mono); color: var(--rer-muted); }
  .biz-plans__value { display: inline; }
  /* The value, a dot held to it by a no-break space, then the link. */
  .biz-plans__value::after { content: "\00a0·"; }
  .biz-limits__card { padding: 20px; }
}
