/* Option B, the one-page brief. Paper page, ink type, product moments on dark stages. Editorial labels:
   a hairline, a muted number and a sentence-case name (no pill eyebrows). */
.brief-body { background: var(--paper); color: var(--text); }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

.b-top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  height: 60px; padding: 0 20px; background: rgba(243, 241, 236, 0.86); backdrop-filter: blur(12px) saturate(1.05); -webkit-backdrop-filter: blur(12px) saturate(1.05);
  border-bottom: 1px solid var(--line);
}
.b-top__logo img { width: 92px; height: auto; }
.b-top__nav { display: none; gap: 22px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.b-top__nav a { text-decoration: none; transition: color 0.2s; }
.b-top__nav a:hover { color: var(--text); }
.b-top__cta { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 2px; background: var(--ink); color: var(--on-dark); font-size: 13.5px; font-weight: 700; text-decoration: none; transition: transform 0.2s var(--ease); }
.b-top__cta:hover { transform: translateY(-1px); }
.b-top__cta:active { transform: scale(0.98); }

main { overflow-x: clip; }
.b-hero { padding: 40px 20px 36px; max-width: 1240px; margin: 0 auto; }
.b-kicker { font-size: 13px; font-weight: 600; color: var(--muted); }
.b-h1 { margin-top: 12px; font-size: clamp(32px, 8.4vw, 64px); line-height: 1.04; font-weight: 500; letter-spacing: -0.04em; max-width: 15em; text-wrap: balance; }
.b-lead { margin-top: 16px; font-size: clamp(16.5px, 2.2vw, 20px); line-height: 1.45; color: #34312c; max-width: 34em; }
.b-hero__value { margin-top: 28px; }
.m-value--wide { width: 100%; }
.b-hero__note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.b-hero__note .link { color: var(--text); }

/* sections */
.b-sec { max-width: 1240px; margin: 0 auto; padding: 44px 20px 8px; border-top: 1px solid var(--line); }
.b-label { display: flex; gap: 12px; align-items: baseline; font-size: 13.5px; font-weight: 700; }
.b-label .n { color: var(--faint); font-weight: 600; font-variant-numeric: tabular-nums; }
.b-h2 { margin-top: 12px; font-size: clamp(27px, 6.6vw, 40px); line-height: 1.08; font-weight: 500; letter-spacing: -0.032em; text-wrap: balance; }
.b-compare { margin-top: 18px; display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.b-compare > div { background: var(--paper); padding: 12px 0; }
.b-compare dt { font-size: 12.5px; font-weight: 800; color: var(--muted); }
.b-compare > div:last-child dt { color: var(--accent-ink); }
.b-compare dd { margin: 3px 0 0; font-size: 15.5px; line-height: 1.5; }
.b-gain { margin-top: 14px; font-size: 15.5px; line-height: 1.5; color: #34312c; }
.b-gain b { color: var(--text); }
.b-p { margin-top: 12px; font-size: 15.5px; line-height: 1.55; color: #34312c; max-width: 44em; }

.b-stage { margin: 22px -20px 0; padding: 30px 16px 34px; background: var(--ink); display: grid; place-items: center; overflow: hidden; }
.b-stage__in { display: grid; place-items: center; width: 100%; }
.b-pair { display: grid; gap: 16px; justify-items: center; }

/* what it's worth */
.b-calc { margin-top: 22px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.b-calc__cell { background: var(--surface); padding: 18px 16px 18px; }
.b-calc__num { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 44px; line-height: 1; font-weight: 500; letter-spacing: -0.045em; }
.b-calc__num span { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.b-calc__cell:first-child .b-calc__num { color: var(--accent-ink); }
.b-calc__txt { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: #34312c; }
.b-range { display: block; margin-top: 14px; }
.b-range input { width: 100%; accent-color: var(--ink); height: 28px; }
.b-range__hint { font-size: 12px; color: var(--faint); }
.b-how { margin-top: 12px; border-top: 1px solid var(--line); }
.b-how:last-child { border-bottom: 1px solid var(--line); }
.b-how summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 14px 0; font-size: 15px; font-weight: 700; }
.b-how summary::-webkit-details-marker { display: none; }
.b-how summary .i { transition: transform 0.25s var(--ease); color: var(--muted); }
.b-how[open] summary .i { transform: rotate(90deg); }
.b-tbl { overflow-x: auto; margin: 0 -20px; padding: 0 20px 14px; }
.b-tbl table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13.5px; line-height: 1.4; }
.b-tbl th, .b-tbl td { text-align: left; vertical-align: top; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); }
.b-tbl thead th { font-size: 12px; font-weight: 800; color: var(--muted); }
.b-tbl tbody th { font-weight: 700; }
.b-tbl td { color: #34312c; }
.b-tbl .r { text-align: right; padding-right: 0; white-space: nowrap; font-weight: 700; color: var(--text); }
.b-tbl tfoot th, .b-tbl tfoot td { border-bottom: 0; font-weight: 800; color: var(--text); }
.b-tbl tfoot th { font-weight: 600; color: var(--muted); }
.b-how .b-p { margin: 0 0 16px; }
/* On a phone the hours table becomes a list: who + hours on one line, then what changes and the assumption. */
@media (max-width: 719px) {
  .b-tbl { overflow: visible; margin: 0; padding: 0 0 12px; }
  .b-tbl table { min-width: 0; }
  .b-tbl thead { display: none; }
  .b-tbl tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .b-tbl tbody th, .b-tbl tbody td { display: block; padding: 0; border: 0; }
  .b-tbl tbody td:not(.r) { grid-column: 1 / -1; font-size: 13px; }
  .b-tbl tbody td:nth-of-type(2) { color: var(--muted); }
  .b-tbl tbody .r { grid-row: 1; grid-column: 2; }
  .b-tbl tfoot tr { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 0 0; }
  .b-tbl tfoot th, .b-tbl tfoot td { display: block; padding: 0; }
}

/* why it fits */
.b-facts { margin-top: 18px; display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.b-facts li { background: var(--paper); display: grid; grid-template-columns: 24px 1fr; gap: 4px 14px; padding: 14px 0; }
.b-facts .i { grid-row: span 2; color: var(--accent-ink); margin-top: 1px; }
.b-facts b { font-size: 15.5px; }
.b-facts span { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* next step */
.b-next { margin-top: 52px; background: var(--ink); color: var(--on-dark); }
.b-next__in { max-width: 1240px; margin: 0 auto; padding: 46px 20px 50px; }
.b-next .b-label { color: var(--on-dark); }
.b-next .b-label .n { color: var(--on-dark-muted); }
.b-next__h { margin-top: 12px; font-size: clamp(34px, 9vw, 60px); line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.b-next__p { margin-top: 14px; font-size: 16.5px; line-height: 1.5; color: var(--on-dark-2); max-width: 34em; }
.b-next__cta { margin-top: 24px; display: grid; gap: 8px; }
.b-next__more { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--on-dark-muted); }
.b-next__more .link { color: var(--on-dark); }
.b-foot { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding: 18px 20px calc(env(safe-area-inset-bottom, 0px) + 24px); font-size: 12px; line-height: 1.6; }
.b-foot p { max-width: 1240px; margin: 0 auto; }
.b-foot .link { color: var(--on-dark-2); }

/* tablet and laptop */
@media (min-width: 720px) {
  .b-top { padding: 0 32px; }
  .b-hero, .b-sec { padding-left: 32px; padding-right: 32px; }
  .b-hero { padding-top: 72px; padding-bottom: 56px; }
  .m-value--wide { display: grid; grid-template-columns: 1fr 1.35fr; gap: 0 40px; align-items: start; }
  .m-value--wide .m-value__row:last-child { border-bottom: 0; }
  .m-value--wide .m-value__row { border-bottom: 1px solid var(--cv-line); }
  .b-stage { margin-left: 0; margin-right: 0; border-radius: 4px; }
  .b-pair { grid-template-columns: auto auto; align-items: start; }
  .b-calc { grid-template-columns: repeat(3, 1fr); }
  .b-tbl { margin: 0; padding: 0 0 14px; }
  .b-facts { grid-template-columns: 1fr 1fr; column-gap: 32px; background: none; border-bottom: 0; }
  .b-facts li { border-bottom: 1px solid var(--line); }
  .b-next__in { padding: 72px 32px 80px; }
  .b-next__cta { grid-template-columns: auto auto; justify-content: start; }
  .b-foot { padding-left: 32px; padding-right: 32px; }
}
@media (min-width: 1080px) {
  .b-top__nav { display: flex; }
  .b-sec { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.12fr); gap: 0 48px; padding-top: 64px; padding-bottom: 64px; }
  .b-sec .b-label { grid-column: 1; }
  .b-sec__text { grid-column: 2; }
  .b-sec .b-stage { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; align-self: start; position: sticky; top: 84px; min-height: 520px; }
  .b-sec--pair .b-sec__text, .b-sec .b-stage--pair { grid-column: auto; }
  .b-sec .b-stage--pair { grid-column: 2 / 4; grid-row: 2; position: static; min-height: 0; margin-top: 32px; }
  .b-sec--worth, .b-sec--fit { grid-template-columns: 180px minmax(0, 1fr); }
  .b-worth, .b-facts { grid-column: 2; }
  .b-sec--fit .b-facts { margin-top: 0; }
  .b-h2 { margin-top: 0; }
}

/* review fixes: demo label on every stage; the alternative set apart from the gains */
.b-stage { position: relative; }
.b-stage__demo { position: absolute; top: 12px; right: 12px; z-index: 2; }
.b-calc__k { margin-bottom: 8px; font-size: 12px; font-weight: 800; color: var(--muted); }
.b-calc__cell--alt { background: var(--paper); }
.b-calc__cell--alt .b-calc__num { font-size: 36px; color: #34312c; }

/* what it's worth: two cells (hours, the alternative) and the alternative's gaps */
@media (min-width: 720px) { .b-calc--two { grid-template-columns: 1fr 1.25fr; } }
.b-gaps { display: grid; gap: 6px; margin-top: 10px; }
.b-gaps li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; font-size: 14px; line-height: 1.45; color: #34312c; }
.b-gaps .i { width: 14px; height: 14px; margin-top: 3px; color: var(--muted); stroke-width: 2.2; }
.b-ours { display: grid; grid-template-columns: 16px 1fr; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; font-weight: 700; }
.b-ours .i { width: 14px; height: 14px; margin-top: 3px; color: var(--accent-ink); stroke-width: 2.6; }
