/* improve.html only. Built from the tokens in site.css and mockup.css; nothing here is shared. */

/* The headline is one sentence on two lines, not three short ones. */
.hero .display { max-width: 22ch; }

/* Three short points under the hero mockup. */
.i-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(32px, 5vw, 56px); }
.i-ways h2 { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem); line-height: 1.25; letter-spacing: -0.015em; }
.i-ways p { color: var(--soft); margin-bottom: 0; }
@media (max-width: 860px) {
  .i-ways { grid-template-columns: minmax(0, 1fr); }
}

/* Gap themes: the example line sits under the theme, and the numbers stay on one line. */
.i-eg { display: block; margin-top: 2px; font-weight: 400; }
.i-gaps .m-table { min-width: 680px; }
.i-gaps .m-table th[scope="row"] { min-width: 15rem; }
.i-gaps .m-table td { white-space: nowrap; }
.i-gaps .m-table td:last-child { white-space: normal; min-width: 9.5rem; }

/* Replay and impact tables read sideways inside their own box on a phone. */
.i-replay .m-table { min-width: 760px; }
.i-replay .m-table th[scope="row"] { white-space: nowrap; }
.i-impact .m-table { min-width: 760px; }
.i-impact .m-table th[scope="row"] { white-space: nowrap; }
.i-impact .m-table td:last-child { white-space: nowrap; }
.i-matrix .m-table { min-width: 720px; }
.i-matrix .m-table th[scope="row"] { min-width: 16rem; }
.i-registry .m-table { min-width: 820px; }
.i-registry .m-table th[scope="row"] { min-width: 12rem; }

/* The branch's steps as a numbered list. The kit has no numbered list that is not a progress step. */
.i-steps { counter-reset: step; display: grid; gap: 8px; }
.i-steps li { counter-increment: step; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.45; }
.i-steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 22px; height: 22px;
  border: 1.5px solid var(--soft); border-radius: 50%;
  font: 500 11px/1 var(--mono); color: var(--white);
}
.i-tight { gap: 6px; }

/* "differs" and the impact kind are an icon and a word, not pills: the pill shape keeps the spec's section 4 words. */
.i-differs, .i-kind {
  display: inline-flex; align-items: center; gap: 6px; color: var(--white);
  font: 500 12.5px/1.5 var(--sans); white-space: nowrap;
}
.i-differs i, .i-kind i { font-size: 12px; line-height: 1; width: 1em; text-align: center; }

/* The law change's head stacks the chips, the headline and the dates. */
.i-law-head { display: grid; gap: 10px; align-items: start; }
.i-law-head .m-exc-top { align-items: center; }
.i-law-head .m-big { font: 600 20px/1.25 var(--sans); letter-spacing: -0.01em; }

/* Light-surface copy under a mockup, and the sub-heads that introduce a second mockup in a section. */
.i-after { margin: clamp(24px, 4vw, 40px) 0 0; max-width: 46rem; }
.i-below { margin-top: clamp(48px, 7vw, 80px); }
.i-subhead { max-width: 44rem; margin: 0 0 clamp(24px, 3vw, 32px); }
.i-subhead h3 { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem); }
.i-subhead p { color: var(--soft); margin: 12px 0 0; }
.i-principles { margin-top: clamp(32px, 5vw, 56px); max-width: 46rem; }
