/* What the Hill? — /experthilltracker
   Page-specific replicas, loaded after style.css and reusing its tokens and
   the shared .check-list/.check-grid/.plan-grid/.section-band/.qa-grid
   primitives. Six demos live here: the hero bills table, the version compare,
   the bin rule builder, the week strip, the legislator scorecard, and the
   team lock screen + inbox. Everything is markup; nothing is a screenshot.

   The lock-screen block (.lock-wrap/.ip-lock/.lock-note/.ln-*) and the
   table-mock look (.vote-table) were lifted out of css/experts.css before
   that file was deleted; .iphone / .ip-screen still come from style.css. */

/* ---------- hero ---------- */

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 26px 0 12px;
}

/* inline shorthand samples in the checklist ("hb21") */
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--chip);
  border-radius: 5px;
  padding: 1px 5px;
}

/* ==========================================================================
   1. hero bills table — the tracker's main screen, six rows deep
   ========================================================================== */

.tbl-demo {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 14px;
}

.tbl-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.tbl-search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  background: var(--chip);
  border-radius: 10px;
  padding: 0 11px;
}

/* magnifying glass, drawn rather than shipped */
.ts-glass {
  position: relative;
  width: 11px;
  height: 11px;
  border-radius: 6px;
  border: 1.6px solid var(--dim);
  flex-shrink: 0;
}

.ts-glass::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -2px;
  width: 6px;
  height: 1.6px;
  border-radius: 1px;
  background: var(--dim);
  rotate: 45deg;
}

.ts-text {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tbl-demo:not(.searching) .ts-text:empty::before {
  content: "Search bills";
  font-weight: 500;
  color: var(--dim);
}

.ts-caret {
  width: 1.5px;
  height: 14px;
  background: var(--house);
  opacity: 0;
  margin-left: -4px;
}

.tbl-demo.searching .ts-caret {
  opacity: 1;
  animation: ts-blink 1s steps(1) infinite;
}

@keyframes ts-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.tbl-chip {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: var(--chip);
  border-radius: 9px;
  padding: 7px 10px;
  flex-shrink: 0;
}

.tbl-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 4px;
  border-top: 1px solid var(--hairline);
  max-height: 56px;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.3s ease, padding 0.45s ease;
}

.tbl-row.head {
  border-top: 0;
  padding: 6px 4px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
}

.tbl-row.out {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-top-color: transparent;
}

.tbl-row .c-bill {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.c-bill b {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.c-bill i {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.b-h { color: var(--house); }
.b-s { color: var(--senate); }

.c-pri, .c-pos { width: 76px; flex-shrink: 0; }
/* wide enough that the OWNER header does not run into TAG */
.c-own { width: 46px; flex-shrink: 0; }
.c-tag { width: 94px; flex-shrink: 0; }

/* every value cell is empty-looking until the demo fills it in */
.cell {
  display: inline-flex;
  align-items: center;
  opacity: 0;
  translate: 0 4px;
  transition: opacity 0.35s ease, translate 0.35s ease;
}

.cell.on { opacity: 1; translate: 0 0; }

.pill {
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  padding: 3px 8px;
  white-space: nowrap;
}

.p-high { background: color-mix(in srgb, var(--house) 14%, transparent); color: var(--house); }
.p-med { background: color-mix(in srgb, var(--governor) 15%, transparent); color: var(--governor); }
.p-low { background: var(--chip); color: var(--muted); }
.p-support { background: color-mix(in srgb, var(--signed) 15%, transparent); color: var(--signed); }
.p-oppose { background: color-mix(in srgb, var(--veto) 14%, transparent); color: var(--veto); }
.p-neutral { background: color-mix(in srgb, var(--senate) 15%, transparent); color: var(--senate); }
.p-watch { background: var(--chip); color: var(--muted); }

.own {
  width: 26px;
  height: 26px;
  border-radius: 13px;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.o-1 { background: color-mix(in srgb, var(--house) 16%, transparent); color: var(--house); }
.o-2 { background: color-mix(in srgb, var(--senate) 18%, transparent); color: var(--senate); }
.o-3 { background: color-mix(in srgb, var(--governor) 18%, transparent); color: var(--governor); }

.tagchip {
  max-width: 100%;
  font-size: 10.5px;
  font-weight: 600;
  background: var(--chip);
  color: var(--muted);
  border-radius: 7px;
  padding: 3px 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.tbl-foot {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
  font-size: 11px;
  font-weight: 600;
  color: var(--dim);
}

@media (max-width: 560px) {
  /* a phone has room for the bill and two decisions, not five columns */
  .tbl-row .c-own, .tbl-row .c-tag { display: none; }
  .c-pri, .c-pos { width: 70px; }
}

/* ==========================================================================
   3. version compare — two columns, a drag-highlight, a note
   ========================================================================== */

.bt {
  position: relative;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 14px;
  margin-bottom: 26px;
  /* highlighter wash: lighter in dark mode so the text underneath survives */
  --hl: rgba(255, 214, 10, 0.55);
}

@media (prefers-color-scheme: dark) {
  .bt { --hl: rgba(255, 214, 10, 0.3); }
}

.bt-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.bt-sel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  background: var(--chip);
  border-radius: 9px;
  padding: 6px 10px;
}

.bt-sel i {
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.bt-arrow { color: var(--dim); font-weight: 700; }

.bt-toggle {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--divider);
  border-radius: 9px;
  padding: 5px 9px;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.bt-toggle.on {
  background: color-mix(in srgb, var(--house) 12%, transparent);
  border-color: color-mix(in srgb, var(--house) 32%, transparent);
  color: var(--house);
}

.bt-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bt-col {
  min-width: 0;
  background: var(--surface2);
  border-radius: 12px;
  padding: 10px;
}

.bt-colhead {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}

.bt-line {
  display: flex;
  gap: 6px;
  margin: 0 -4px;
  padding: 3px 4px;
  border-radius: 6px;
  font-size: 11.5px;
  line-height: 1.45;
  transition: background 0.4s ease;
}

.bt-n {
  flex-shrink: 0;
  font-size: 9.5px;
  padding-top: 2px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.bt-t { min-width: 0; transition: color 0.4s ease; }

.bt-line[data-mark="add"].marked { background: color-mix(in srgb, var(--signed) 14%, transparent); }
.bt-line[data-mark="add"].marked .bt-t { color: var(--signed); }
.bt-line[data-mark="del"].marked { background: color-mix(in srgb, var(--veto) 12%, transparent); }
.bt-line[data-mark="del"].marked .bt-t { color: var(--veto); text-decoration: line-through; }

/* the highlighter is a background that gets dragged across the phrase */
.bt-hl {
  background-image: linear-gradient(var(--hl), var(--hl));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background-size 0.9s ease;
}

.bt-hl.on { background-size: 100% 100%; }

.bt-note {
  position: absolute;
  right: 14px;
  bottom: -16px;
  width: min(268px, 80%);
  display: flex;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 10px 12px;
  opacity: 0;
  translate: 0 8px;
  scale: 0.96;
  transition: opacity 0.4s ease, translate 0.4s cubic-bezier(0.22, 1.2, 0.36, 1), scale 0.4s ease;
}

.bt-note.on { opacity: 1; translate: 0 0; scale: 1; }

.bt-av {
  width: 26px;
  height: 26px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 800;
  background: color-mix(in srgb, var(--house) 16%, transparent);
  color: var(--house);
}

.bt-nb {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
}

.bt-nb b {
  display: block;
  font-size: 11.5px;
  color: var(--ink);
}

@media (max-width: 560px) {
  .bt-line { font-size: 10px; }
  .bt-col { padding: 8px; }
  .bt-cols { gap: 6px; }
}

/* ==========================================================================
   4. bin rule builder
   ========================================================================== */

.bin {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 16px;
}

.bin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.bin-name { font-size: 15px; font-weight: 800; letter-spacing: -0.2px; }

.bin-lock {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--chip);
  border-radius: 7px;
  padding: 4px 8px;
  flex-shrink: 0;
}

.bin-rules { display: grid; gap: 8px; }

/* a rule that hasn't been added yet takes up no room — the card grows as the
   demo types each one in, instead of holding three rows of empty space */
.bin-rule {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  background: var(--surface2);
  border-radius: 11px;
  padding: 0 11px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  translate: 0 8px;
  transition: opacity 0.4s ease, translate 0.4s cubic-bezier(0.22, 1.2, 0.36, 1),
    max-height 0.4s ease, padding 0.4s ease;
}

.bin-rule.in {
  opacity: 1;
  translate: 0 0;
  max-height: 140px;
  padding: 9px 11px;
}

.bin-j {
  width: 42px;
  flex-shrink: 0;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
}

.bf {
  font-size: 12.5px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 8px;
  padding: 4px 9px;
}

.bo { font-size: 12px; font-weight: 600; color: var(--muted); }

.bv {
  display: inline-flex;
  align-items: center;
  min-width: 20px;
  min-height: 27px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--house);
  background: color-mix(in srgb, var(--house) 11%, transparent);
  border: 1px solid color-mix(in srgb, var(--house) 28%, transparent);
  border-radius: 8px;
  padding: 4px 9px;
}

.bin-add {
  font-size: 12px;
  font-weight: 700;
  color: var(--dim);
  border: 1px dashed var(--divider);
  border-radius: 11px;
  padding: 9px 11px;
  text-align: center;
}

.bin-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.bin-foot b {
  font-size: 15px;
  color: var(--house);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   5. week strip + waiting-for-a-floor-vote list
   ========================================================================== */

.week-demo {
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 14px;
}

.week-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.week-title { font-size: 14px; font-weight: 800; letter-spacing: -0.2px; }

.week-toggle {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--divider);
  border-radius: 9px;
  padding: 5px 9px;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.week-toggle.on {
  background: color-mix(in srgb, var(--house) 12%, transparent);
  border-color: color-mix(in srgb, var(--house) 32%, transparent);
  color: var(--house);
}

/* seven days never fit a phone: the strip scrolls sideways instead of
   collapsing into something that is no longer a week */
.week-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  min-width: 540px;
}

.wk-day {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 158px;
  background: var(--surface2);
  border-radius: 11px;
  padding: 8px 6px;
}

.wk-day.dim { opacity: 0.45; }

.wk-day.focus {
  background: color-mix(in srgb, var(--house) 7%, var(--surface2));
  outline: 1.5px solid color-mix(in srgb, var(--house) 26%, transparent);
  outline-offset: -1.5px;
}

.wk-dow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: center;
}

.wk-num {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
  text-align: center;
  margin-bottom: 2px;
}

.wk-chip {
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.25;
  border-radius: 7px;
  padding: 5px 6px;
  opacity: 0;
  translate: 0 6px;
  transition: opacity 0.4s ease, translate 0.4s cubic-bezier(0.22, 1.2, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.wk-chip.in { opacity: 1; translate: 0 0; }
.wk-chip.faded { opacity: 0.16; transition-delay: 0s; }

.wk-h { background: color-mix(in srgb, var(--house) 15%, transparent); color: var(--house); }
.wk-s { background: color-mix(in srgb, var(--senate) 17%, transparent); color: var(--senate); }
.wk-g { background: color-mix(in srgb, var(--governor) 17%, transparent); color: var(--governor); }

.wk-bills {
  display: grid;
  gap: 3px;
  background: var(--surface);
  border-radius: 8px;
  max-height: 0;
  padding: 0 6px;
  overflow: hidden;
  opacity: 0;
  translate: 0 -6px;
  transition: opacity 0.45s ease, translate 0.45s ease, max-height 0.45s ease,
    padding 0.45s ease;
}

.wk-bills.in {
  opacity: 1;
  translate: 0 0;
  max-height: 90px;
  padding: 6px;
}

.wk-bl {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
}

.wk-b { font-size: 10px; font-weight: 800; }

.week-wait {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
}

.wk-wl {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}

.wk-wrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 12px;
}

.wk-wrow > span:first-child { font-weight: 800; flex-shrink: 0; }

.wk-wrow > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wk-days { flex-shrink: 0; font-weight: 700; color: var(--dim); }

/* ==========================================================================
   6. legislator scorecard
   ========================================================================== */

.grade-sheet { padding: 18px; }

.grade-sheet .band-title { font-size: 15px; margin-bottom: 6px; }

.grade-sheet .leg-row {
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline);
}

.grade {
  width: 46px;
  height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--chip);
  color: var(--muted);
  transition: background 0.4s ease, color 0.4s ease, scale 0.35s ease;
}

.grade.set { scale: 1.06; }
.grade.g-a.set { background: color-mix(in srgb, var(--signed) 16%, transparent); color: var(--signed); }
.grade.g-b.set { background: color-mix(in srgb, var(--governor) 16%, transparent); color: var(--governor); }

/* table mock, the same shape as the dashboard table on /partners */
.vote-table {
  margin-top: 14px;
  background: var(--surface2);
  border-radius: 12px;
  overflow: hidden;
}

.vt-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
}

.vt-row.head {
  border-top: 0;
  padding: 8px 12px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--dim);
}

.vt-row .c-bill {
  display: block;
  flex: 1;
  min-width: 0;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vt-row .c-v {
  width: 66px;
  flex-shrink: 0;
  color: var(--muted);
}

.vt-row .c-m {
  width: 58px;
  flex-shrink: 0;
  text-align: right;
  font-weight: 700;
  color: var(--dim);
}

.c-v.yea { color: var(--signed); font-weight: 700; }
.c-v.nay { color: var(--veto); font-weight: 700; }
.c-m.ok { color: var(--signed); }
.c-m.no { color: var(--veto); }

.demo-note {
  margin: 10px 0 0;
  font-size: 11.5px;
  color: var(--dim);
  text-align: center;
}

@media (max-width: 560px) {
  .vt-row { font-size: 11px; padding-left: 10px; padding-right: 10px; gap: 6px; }
  .vt-row .c-v { width: 54px; }
  .vt-row .c-m { width: 50px; }
}

/* ==========================================================================
   7. team — lock screen + updates inbox
   (.iphone / .ip-screen come from style.css; everything below was lifted
   out of css/experts.css before that file was retired)
   ========================================================================== */

.lock-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  height: 548px;
  overflow: hidden;
}

.lock-wrap .iphone {
  transform: scale(0.72);
  transform-origin: top center;
}

.ip-lock {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, #2a3550 0%, #4c3a58 55%, #7a4a52 100%);
  padding: 68px 16px 0;
  color: #fff;
  overflow: hidden;
}

.lock-date {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.lock-time {
  text-align: center;
  font-size: 80px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.lock-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  padding: 13px 15px;
  margin-bottom: 9px;
  opacity: 0;
  translate: 0 -18px;
  scale: 0.96;
  transition: opacity 0.45s ease, translate 0.45s cubic-bezier(0.22, 1.2, 0.36, 1),
    scale 0.45s ease;
}

.lock-note.in { opacity: 1; translate: 0 0; scale: 1; }

.lock-note img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  flex-shrink: 0;
  background: #fff;
}

.lock-note .ln-body { flex: 1; min-width: 0; }

.ln-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.72);
}

.ln-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 19px;
  margin-top: 2px;
}

.ln-text {
  font-size: 14px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 1px;
}

/* the Updates inbox, sitting in front of the phone */
.inbox-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 268px;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 13px 15px;
  z-index: 3;
}

.inbox-head { font-size: 13px; font-weight: 800; letter-spacing: -0.2px; }

.inbox-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 4px;
}

.ic-chip {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  background: var(--chip);
  border-radius: 8px;
  padding: 4px 8px;
  transition: background 0.3s ease, color 0.3s ease;
}

.ic-chip.on { background: var(--house); color: #fff; }

.ib-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--hairline);
  opacity: 0;
  translate: 0 6px;
  transition: opacity 0.4s ease, translate 0.4s ease;
}

.ib-row.in { opacity: 1; translate: 0 0; }
.ib-row.muted { opacity: 0.28; }

.ib-dot { width: 7px; height: 7px; border-radius: 4px; flex-shrink: 0; }
.d-h { background: var(--house); }
.d-s { background: var(--senate); }
.d-g { background: var(--governor); }

.ib-t {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--muted);
  overflow: hidden;
}

.ib-t b {
  display: block;
  font-size: 11.5px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ib-when { flex-shrink: 0; font-size: 10px; font-weight: 600; color: var(--dim); }

@media (max-width: 900px) {
  /* one column: the phone sits on its own, the inbox below it. scale() leaves
     the phone's full layout box behind — the negative margin absorbs it */
  .lock-wrap {
    display: block;
    height: auto;
    overflow: visible;
  }
  .lock-wrap .iphone { display: block; margin: 0 auto -202px; }
  .inbox-card {
    position: static;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   8–11. checklist tail, partner band, pricing, questions
   ========================================================================== */

.building-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dim);
  text-align: left;
}

.band-wrap { text-align: center; }

.section-band h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 12px;
}

.band-lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 26px;
}

.band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
  max-width: 900px;
  margin: 0 auto 24px;
}

@media (max-width: 760px) {
  .band-grid { grid-template-columns: 1fr; gap: 10px; }
}

.band-note {
  max-width: 34rem;
  margin: 0 auto 22px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

/* the sticky nav would otherwise cover the pricing heading on a #pricing jump */
#pricing { scroll-margin-top: 84px; }

.plan-window {
  max-width: 44rem;
  margin: 34px auto 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.plan-more {
  margin: 12px auto 0;
  font-size: 0.95rem;
  color: var(--dim);
}

#questions .qa-grid { margin-top: 24px; }

/* ==========================================================================
   reduced motion — every demo renders its finished state, nothing moves
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .cell,
  .tbl-row,
  .bt-line,
  .bt-t,
  .bt-hl,
  .bt-note,
  .bt-toggle,
  .bin-rule,
  .week-toggle,
  .wk-chip,
  .wk-bills,
  .grade,
  .ic-chip,
  .ib-row,
  .lock-note {
    transition: none;
  }
  .tbl-demo.searching .ts-caret { animation: none; }
}
