/* Benchmark ---------------------------------------------------------------
   The matrix, the anecdote cards and the evidence tables appear on both the
   lander and /benchmark, so their styles cannot live in either page. Everything
   here assumes a .band-dark ancestor, which is how both pages present it.
   Extracted verbatim from launch.html; the reasoning in the comments is the
   original. */

/* Benchmark matrix -----------------------------------------------------
   Read down the columns, not across the rows. Rows are grouped by mechanism
   — executing it, surviving a change, building it — because that grouping is
   what makes the columns invert exactly: RPA wins the whole execution block
   and loses everything after it, Computer Use loses execution and wins the
   rest. That inversion is the whole argument. They are not two unrelated bug
   lists, they are two products implementing different halves of the same
   three jobs. The one row we concede sits last, where a concession reads as
   candour rather than as an opening weakness. */
.matrix thead th:first-child { width: 26%; }
.matrix thead th:not(:first-child) { width: 24.6%; }
.matrix-group th {
  padding: .5625rem 1.375rem; border-top: 1px solid rgba(255, 255, 255, .07);
  color: var(--lime); font-family: var(--mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  background: rgba(201, 242, 77, .04);
}

/* Numbered markers, not hover cards. Hover cannot be tapped, screenshotted,
   pasted into the message a champion forwards, or printed on the slide — and
   these anecdotes are the most persuasive material on the page, which is the
   last thing to hide behind a gesture. So this is the newspaper solution: a
   marker in the cell, the story visible below it, and a click that ties the
   two together for anyone who wants the tie made explicit. */
.mark-anec {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.0625rem; height: 1.0625rem; margin-left: .3125rem; padding: 0 .25rem;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--r-full);
  background: transparent; color: inherit; vertical-align: middle;
  font-family: var(--mono); font-size: .5625rem; font-weight: 500; line-height: 1;
  cursor: pointer; transition: border-color .12s, color .12s;
}
.mark-anec:hover, .mark-anec:focus-visible { border-color: var(--lime); color: var(--lime); }
/* The dot stays 17px because a bigger one would shout over the cell it
   annotates, but 17px is under the 24px minimum for a touch target, so the
   hit area is grown invisibly instead of the marker. */
.mark-anec::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 1.5rem; height: 1.5rem; transform: translate(-50%, -50%);
}
/* The default ring is browser blue, which on this band is close to invisible
   and is the entire keyboard route through the anecdotes. */
.mark-anec:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
/* A marker that wraps onto its own line reads as a typo rather than as a
   reference, so each one is tied to the word it follows. */
.marks { white-space: nowrap; }

.anec-block { margin-top: 1.75rem; }
.anec-label {
  margin: 0; color: rgba(255, 255, 255, .5); font-family: var(--mono);
  font-size: var(--t-micro); font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase;
}
.anec { margin-top: .875rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .875rem; }
.anec-card { padding: 1.1875rem 1.3125rem; scroll-margin-top: 5rem; }
/* Drawn, not iconography. An envelope with a cross on it would be decoration
   — these each show the structure of the failure, which is the part the prose
   has to work hardest to convey: two destinations for one message, a progress
   bar far short of the label stamped on it, a vendor's calendar colliding with
   yours. Same test as the install art: it has to carry information, or it is
   weight without argument. */
.anec-art {
  display: block; width: 100%; height: auto; margin-bottom: 1.0625rem;
  border-radius: var(--r-sm);
  /* Between 616 and 990 the cards go one-up and a full-width diagram inflates
     to 889px, rendering its annotations larger than the anecdote's own
     headline. The support graphic must never outgrow the thing it supports. */
  max-width: 26rem;
}
.anec-art text { font-family: inherit; }
.anec-head { display: flex; align-items: center; gap: .5rem; }
.anec-num {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-width: 1.25rem; height: 1.25rem; padding: 0 .3125rem; border-radius: var(--r-full);
  border: 1px solid rgba(201, 242, 77, .4); color: var(--lime);
  font-family: var(--mono); font-size: .625rem; font-weight: 500;
}
/* Which row of the matrix this cashes out, said in words as well as by
   position, so the tie survives being read out of order. */
.anec-row { color: rgba(255, 255, 255, .5); font-family: var(--mono); font-size: .625rem; letter-spacing: .07em; text-transform: uppercase; }
.anec-card h4 { margin-top: .75rem; font-size: var(--t-small); font-weight: 640; letter-spacing: -.01em; color: #fff; }
.anec-card p { margin-top: .4375rem; color: rgba(232, 239, 236, .66); font-size: var(--t-small); line-height: 1.6; }
/* Observed in an eval and reported by a customer are different grades of
   evidence. Presented identically, the weaker one drags the stronger one
   down to its level, so each card says which it is. */
.anec-src { margin-top: .8125rem; color: rgba(255, 255, 255, .52); font-family: var(--mono); font-size: .625rem; letter-spacing: .06em; text-transform: uppercase; }
/* Conviction peaks at the matrix and the anecdotes; without this the reader
   has to survive three evidence tables and two footnotes before an ask. */
.anec-cta {
  margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .875rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding: 1.1875rem 1.3125rem;
}
.anec-cta p { margin: 0; max-width: 44ch; color: rgba(232, 239, 236, .72); font-size: var(--t-small); line-height: 1.55; }
.anec-card.lit { border-color: rgba(201, 242, 77, .5); background: rgba(201, 242, 77, .05); }

/* Two actions in the call to action rather than one: the lander's copy sends a
   reader to the measurements and to the live demo, and those are different
   appetites. */
.anec-cta-actions { display: flex; flex-wrap: wrap; gap: .625rem; }

/* The landing flash. Held long enough to find on a long page, on both the
   light how-cells and the dark benchmark blocks, and it fades rather than
   snapping off so nothing looks like it broke. */
.lit-target { animation: lit-flash 2.4s ease-out 1; }
@keyframes lit-flash {
  0%, 55% { box-shadow: 0 0 0 3px rgba(201, 242, 77, .55); }
  100% { box-shadow: 0 0 0 3px rgba(201, 242, 77, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .lit-target { animation: none; box-shadow: 0 0 0 3px rgba(201, 242, 77, .55); }
}

/* Clears the sticky-free header and gives the flashed element some air, so
   an anchor never lands with its top edge against the viewport. */
#how-learn, #bm-me21n, #bm-change { scroll-margin-top: 4rem; }

/* The transcript. Shown rather than summarized, because a direct quote is
   the one form of competitive evidence nobody argues with — and because the
   damning part is not that it stopped, it is the register it stopped in. */
.verbatim { margin-top: .875rem; padding: 1.1875rem 1.3125rem; }
.verbatim-head { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; justify-content: space-between; }
.verbatim-head .anec-row { color: var(--lime); }
.verbatim blockquote {
  margin: .875rem 0 0; padding-left: 1rem; border-left: 2px solid rgba(201, 242, 77, .3);
  color: rgba(232, 239, 236, .82); font-family: var(--mono); font-size: .8125rem; line-height: 1.7;
}
.verbatim blockquote p + p { margin-top: .75rem; }
.verbatim figcaption { margin-top: .875rem; color: rgba(255, 255, 255, .52); font-size: var(--t-micro); }

.evidence-head { margin-top: 2.25rem; }
.evidence-head h3 { font-size: var(--t-body); font-weight: 640; }
.evidence-head p { margin-top: .3125rem; color: rgba(232, 239, 236, .62); font-size: var(--t-small); line-height: 1.6; max-width: 46em; }
.evidence-head + .table-card { margin-top: .875rem; }
/* Deliberately not color-coded. The tier describes the task, the bar beside
   it describes the result, and keeping them visually separate is what stops
   the labels reading as though the failing task was called "hard" after the
   fact to excuse the number. The basis for the rating is stated in the lede,
   independent of any outcome. */
.tier {
  display: inline-block; margin-left: .5rem; padding: .125rem .4375rem;
  border-radius: var(--r-full); border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(232, 239, 236, .58); font-family: var(--mono);
  font-size: var(--t-micro); font-weight: 500; letter-spacing: .07em;
  text-transform: uppercase; vertical-align: middle;
}

@media (max-width: 990px) {
  .anec { grid-template-columns: 1fr; }
}
