/*
  Scribe.sg marketing site (#1580): our own rules, loaded after the kit's
  stylesheets (kit-document.ts). The kit gives the type, the grid, the nav, the
  buttons and the rows. This file holds the site's structure, which is the
  same on every page:

    a hero      the headline; under it the line and the two actions in the
                left half and a short list in the right half (the home
                page's is its own: one screen, with the app's video)
    a section   as tall as what it holds; it starts with its numbered label
                and heading (SectionHead.tsx) at the same place every time,
                and then holds one of three things: rows in the two halves,
                a flow, or a statement
    the close   the words in the left half, the actions in the right

  Every split is the same two halves (columns 1 to 6 and 7 to 12); a flow of
  four sits on columns 1, 4, 7 and 10. Nothing here edits a kit file.
*/

:root {
  --flow-line: color-mix(in oklab, var(--ink) 26%, transparent);
}

/* Square corners everywhere, like the Scribe.sg app (scribe-sg #322): the
   kit's "sharp" grade still rounds buttons 4px and panels up to 8px. Same
   weight as the kit's rule, and later, so it wins. */
html[data-radius="sharp"] {
  --r-sm: 0;
  --r-md: 0;
  --r-lg: 0;
  --r-btn: 0;
}

/* ------------------------------------------------------------------ screens
   The hero is the first screen. Every section after it is as tall as what it
   holds, with one space (--sec) above and below it, so the distance between
   any two sections is the same and no screen stands half empty (Brian,
   2026-11-10: reduce the unnecessary gaps). The kit would make each one a
   full screen. */
:root {
  --sec: 96px;
}
@media (max-width: 1023px) {
  :root {
    --sec: 72px;
  }
}
@media (max-width: 639px) {
  :root {
    --sec: 56px;
  }
}
:root[data-type] main > :is(section, .section):not(.hero, .section--hero),
:root[data-type] footer.closing {
  height: auto;
  min-height: 0;
  padding: var(--sec) 0;
}
:root[data-type]
  main
  > :is(section, .section):not(.hero, .section--hero)
  > .wrap,
:root[data-type] footer.closing > .wrap {
  height: auto;
}
/* the phone's action bar never covers the last line of the page */
:root[data-type] footer.closing {
  padding-bottom: calc(var(--sec) + var(--bar, 0px));
}
/* a page with no hero (/book): its first section clears the fixed header */
:root[data-type] main > .section:first-child {
  padding-top: calc(var(--nav) + var(--sec));
}
/* the hero is at least the first screen, never a fixed height, so one with
   more to hold on a short screen grows and never runs into the next */
@media (min-width: 640px) {
  :root[data-type] main > :is(.hero, .section--hero) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1fr;
    height: auto;
    min-height: 100svh;
  }
  :root[data-type] main > :is(.hero, .section--hero) > .wrap {
    height: auto;
  }
}

/* a #link lands under the fixed header, not behind it */
main [id] {
  scroll-margin-top: calc(var(--nav) + var(--s-6));
}

/* ------------------------------------------------------------------ heroes
   Every hero: the headline, then one row of two halves under it, the group
   in the middle of the first screen. */
/* a headline never breaks a word */
.hero h1,
.section-head h2 {
  hyphens: manual;
}
.hero--statement .hero__in {
  justify-content: center;
}
.hero .hero__foot {
  margin-top: var(--s-8);
}
/* From 1024px the two halves are one block with four shared edges: the line
   and the list start on one top edge, the buttons and the list's last rule
   end on one bottom edge. */
@media (min-width: 1024px) {
  .hero .hero__foot {
    align-items: stretch;
  }
  .hero .hero__foot > :first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--s-6);
  }
  .hero .hero__foot .hero__lead,
  .hero .hero__foot .btn-row {
    margin-top: 0;
  }
  /* the home hero's facts take the rows' measure: a rule under each, none
     above the first */
  .hero--word .hero__foot > .hero__facts--col {
    margin-top: 0;
    align-content: start;
  }
  .hero__facts--col > div,
  .hero__facts--col > div:last-child {
    padding-block: var(--s-4);
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero__facts--col > div:first-child {
    padding-top: 0;
  }
}
@media (max-width: 1023px) {
  .hero .hero__foot {
    row-gap: var(--s-7);
  }
}

/* the home hero: the headline; under it the app's video with the line and
   the two actions beside it; the four facts along the foot. */
.hero--video h1 {
  min-width: 0;
}
.hero__demo {
  margin-top: var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-7);
}
.hero__say {
  display: grid;
  gap: var(--s-5);
}
.hero .hero__say .hero__lead {
  margin: 0;
}
.hero__say .btn-row {
  margin: 0;
}
.hero--video .hero__facts {
  margin-top: var(--s-7);
}
/* the film's pause button, on its corner (AppShot.tsx): quiet until the
   pointer or the keyboard is on the film; always there on a touch screen */
.hero__video {
  position: relative;
}
.shot__toggle {
  position: absolute;
  right: var(--s-3);
  bottom: var(--s-3);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: color-mix(in oklab, var(--p-ink) 78%, transparent);
  color: var(--p-bg);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--p-bg) 40%, transparent);
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease-out;
}
.hero__video:hover .shot__toggle,
.shot__toggle:focus-visible {
  opacity: 1;
}
@media (hover: none) {
  .shot__toggle {
    opacity: 0.72;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shot__toggle {
    transition: none;
  }
}
/* narrower than 1280px: the line and the actions first, then the video */
@media (max-width: 1279px) {
  .hero__side {
    display: contents;
  }
  .hero__say {
    order: -1;
    max-width: 560px;
  }
}
/* a phone: the film straight under the headline, so the whole of it is on
   the first screen with the line and the main button (Brian, 2026-11-11:
   on a phone the video was cut off by the foot of the screen) */
@media (max-width: 639px) {
  /* "Automation for" stays on one line down to a 320px screen */
  .hero--video h1 {
    font-size: min(var(--ly-h1-word), calc((100vw - 48px) / 6.4));
  }
  .hero--video .hero__demo {
    margin-top: var(--s-5);
    gap: var(--s-4);
  }
  .hero--video .hero__say {
    order: 1;
    gap: var(--s-4);
  }
  .hero--video .hero__side > .sec-label {
    margin-top: calc(var(--s-2) * -1);
  }
}
/* From 1280px the home hero is exactly one screen, facts and all (Brian,
   2026-11-10: it should all fit in the visitor's screen). The row with the
   video takes whatever height the headline and the facts leave, and the
   video is sized to that height, never the width. On a short screen the
   headline gives a little, so the video keeps a useful size. Under 620px of
   height it stops shrinking and the page scrolls. */
@media (min-width: 1280px) {
  :root[data-type] main > .hero.hero--video {
    --hgap: var(--s-6);
    display: block;
    height: 100svh;
    min-height: 620px;
    padding-bottom: var(--s-6);
  }
  :root[data-type] main > .hero.hero--video > .wrap {
    display: block;
    height: 100%;
  }
  /* the hero's one column (.hero-text.hero__in): the headline, the row with
     the video taking the rest, the facts */
  .hero--video .hero__in {
    display: flex;
    flex-direction: column;
    justify-content: center; /* on a tall screen the group sits in the middle */
    height: 100%;
  }
  .hero--video h1 {
    font-size: min(var(--ly-h1-word), 15svh);
  }
  .hero--video .hero__demo {
    flex: 1 1 0;
    min-height: 0;
    /* never so tall that the video takes more than about three fifths of
       the width: the words beside it keep their room */
    max-height: min(496px, calc((100vw - 160px) * 0.3875));
    margin-top: var(--s-6);
    flex-direction: row;
    gap: var(--s-8);
    align-items: stretch;
  }
  .hero--video .hero__video {
    flex: none;
    height: 100%;
    aspect-ratio: 16 / 10;
  }
  .hero--video .hero__video > .shot {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero--video .hero__side {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--s-5);
  }
  .hero--video .hero__facts {
    flex: none;
    margin-top: var(--s-5);
    padding-top: var(--s-4);
  }
}
/* ------------------------------------------------------------------ sections
   The numbered label over every heading. */
.sec-label,
.section-head .sec-label {
  font-size: var(--t-small);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
/* a statement: one sentence in the display face (the home page's also has
   the kit's word-highlight moment on it, which sets the same type) */
.statement-text {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--t-h2);
  line-height: 1.16;
  letter-spacing: var(--display-tracking);
  max-width: 960px;
  text-wrap: pretty;
}
/* what follows a section's main block: its one link, or a second block */
.block-gap {
  margin-top: var(--s-8);
}
.stack-text {
  display: grid;
  gap: var(--s-4);
  align-content: start;
}

/* a row with a link: on a phone the link sits under the words, not beside */
@media (max-width: 639px) {
  .rows--links > li {
    grid-template-columns: minmax(0, 1fr);
  }
  .rows--links .rows__value {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }
}

/* /book: what happens after the form, beside it from 900px */
@media (max-width: 899px) {
  .book-next {
    display: none;
  }
}

/* a picture of the app (AppShot.tsx): the full width of its nine columns.
   It carries its own desktop background, so it gets no border. */
.shot {
  display: block;
  width: 100%;
  height: auto;
}

/* ------------------------------------------------------------------ close */
.closing__cta.close--split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--s-6);
  align-items: end;
  align-content: start;
}
.close--split > .section-head {
  grid-column: 1 / span 6;
  margin: 0;
}
.close--split > .btn-row {
  grid-column: 7 / -1;
  margin: 0;
}
@media (max-width: 899px) {
  .close--split > .section-head,
  .close--split > .btn-row {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------------ flow
   The site's one diagram (Flow.tsx): a few tiles joined by a hairline, drawn
   straight on the page's ground (no panel, no fill). A tile holds a number
   (a step we take) or an icon (a document).
     <ol class="flow">             step cards in a row from 900px; below that,
                                   tiles down the page
     <ol class="flow flow--wide">  five or more: cards only from 1280px
     <ol class="flow flow--v">     always tiles down the page
*/
.flow {
  --tile: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.flow > li {
  position: relative;
  display: grid;
  grid-template-columns: var(--tile) minmax(0, 1fr);
  column-gap: var(--s-4);
  align-content: start;
  padding-bottom: var(--s-6);
}
.flow > li:last-child {
  padding-bottom: 0;
}
.flow__icon {
  grid-row: 1 / span 2;
  width: var(--tile);
  height: var(--tile);
  display: grid;
  place-items: center;
  border: 1px solid var(--flow-line);
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.flow__icon > svg {
  width: calc(var(--tile) / 2);
  height: calc(var(--tile) / 2);
}
.flow__label {
  grid-column: 2;
  align-self: center;
  min-height: var(--tile);
  display: flex;
  align-items: center;
  font-weight: 500;
  line-height: 1.3;
}
.flow__sub {
  grid-column: 2;
  margin-top: var(--s-1);
  color: var(--muted);
  max-width: 44ch;
}
/* the line from one tile to the next, and its arrowhead */
.flow > li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(var(--tile) / 2);
  top: calc(var(--tile) + 8px);
  bottom: 8px;
  width: 1px;
  background: var(--flow-line);
}
.flow > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--tile) / 2 - 3.5px);
  bottom: 9px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--flow-line);
  border-bottom: 1px solid var(--flow-line);
  transform: rotate(45deg);
}
/* where a sequence ends: the one accent on the diagram */
.flow > li:last-child > .flow__icon {
  border-color: var(--accent);
  color: var(--accent);
}

/* where the flow is the picture: bigger tiles and words */
.flow--lg {
  --tile: 56px;
}
.flow--lg > li {
  column-gap: var(--s-5);
  padding-bottom: var(--s-7);
}
.flow--lg .flow__label {
  font-size: var(--t-lead);
}

/* in a row: step cards. Each is a framed picture (the step's icon), then
   "Step 01", its title and its line. No line joins them: the number carries
   the order, and on a loop the highlight passes from card to card. The same
   rules twice, for the two widths a flow turns at. */
.flow {
  counter-reset: step;
}
.flow > li {
  counter-increment: step;
}
/* down the page, a numbered flow shows the number, not the icon */
.flow--numbered .flow__icon > svg {
  display: none;
}
@media (min-width: 900px) {
  .flow:not(.flow--v, .flow--wide) {
    grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .flow:not(.flow--v, .flow--wide) > li {
    display: flex;
    flex-direction: column;
    padding: var(--s-3) var(--s-3) var(--s-5);
    border: 1px solid var(--line);
  }
  .flow:not(.flow--v, .flow--wide) > li:not(:last-child)::before,
  .flow:not(.flow--v, .flow--wide) > li:not(:last-child)::after {
    content: none;
  }
  .flow:not(.flow--v, .flow--wide) .flow__icon {
    width: auto;
    height: clamp(96px, 14svh, 140px);
    background: color-mix(in oklab, var(--ink) 3%, transparent);
    border-color: var(--line);
  }
  .flow:not(.flow--v, .flow--wide) .flow__icon > svg {
    display: block;
    width: 36px;
    height: 36px;
  }
  .flow:not(.flow--v, .flow--wide) .flow__num {
    display: none;
  }
  .flow:not(.flow--v, .flow--wide) .flow__label {
    display: block;
    align-self: stretch;
    min-height: 0;
    margin-top: var(--s-4);
    padding-inline: var(--s-2);
  }
  .flow:not(.flow--v, .flow--wide) .flow__label::before {
    content: "Step " counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: var(--s-2);
    font-size: var(--t-small);
    font-weight: 400;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
  }
  .flow:not(.flow--v, .flow--wide) .flow__sub {
    margin-top: var(--s-2);
    padding-inline: var(--s-2);
  }
}
@media (min-width: 1280px) {
  .flow--wide {
    grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .flow--wide > li {
    display: flex;
    flex-direction: column;
    padding: var(--s-3) var(--s-3) var(--s-5);
    border: 1px solid var(--line);
  }
  .flow--wide > li:not(:last-child)::before,
  .flow--wide > li:not(:last-child)::after {
    content: none;
  }
  .flow--wide .flow__icon {
    width: auto;
    height: clamp(96px, 14svh, 140px);
    background: color-mix(in oklab, var(--ink) 3%, transparent);
    border-color: var(--line);
  }
  .flow--wide .flow__icon > svg {
    display: block;
    width: 36px;
    height: 36px;
  }
  .flow--wide .flow__num {
    display: none;
  }
  .flow--wide .flow__label {
    display: block;
    align-self: stretch;
    min-height: 0;
    margin-top: var(--s-4);
    padding-inline: var(--s-2);
  }
  .flow--wide .flow__label::before {
    content: "Step " counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: var(--s-2);
    font-size: var(--t-small);
    font-weight: 400;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
  }
  .flow--wide .flow__sub {
    margin-top: var(--s-2);
    padding-inline: var(--s-2);
  }
}

/* on a loop (Flow's "live"): a highlight passes from one tile to the next,
   1.5s a step, so the loop is as long as the flow (--n steps). Negative
   delays put every tile in the loop from the first frame; still under
   prefers-reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
  .flow--live > li > .flow__icon {
    border-color: var(--flow-line);
    color: var(--ink);
    animation: flow-live calc(var(--n) * 1.5s) ease-in-out infinite;
    animation-delay: calc((var(--i) - var(--n)) * 1.5s);
  }
  .flow--live > li:not(:last-child)::before {
    animation: flow-live-line calc(var(--n) * 1.5s) ease-in-out infinite;
    animation-delay: calc((var(--i) - var(--n)) * 1.5s + 0.9s);
  }
  .flow--live > li:not(:last-child)::after {
    animation: flow-live-head calc(var(--n) * 1.5s) ease-in-out infinite;
    animation-delay: calc((var(--i) - var(--n)) * 1.5s + 0.9s);
  }
}
@keyframes flow-live {
  0% {
    border-color: var(--flow-line);
    color: var(--ink);
    background: transparent;
  }
  5%,
  22% {
    border-color: var(--accent);
    color: var(--accent);
    background: color-mix(in oklab, var(--accent) 8%, transparent);
  }
  30%,
  100% {
    border-color: var(--flow-line);
    color: var(--ink);
    background: transparent;
  }
}
@keyframes flow-live-line {
  0% {
    background: var(--flow-line);
  }
  5%,
  12% {
    background: var(--accent);
  }
  20%,
  100% {
    background: var(--flow-line);
  }
}
@keyframes flow-live-head {
  0% {
    border-color: var(--flow-line);
  }
  5%,
  12% {
    border-color: var(--accent);
  }
  20%,
  100% {
    border-color: var(--flow-line);
  }
}

/* ------------------------------------------------------------------ showcase
   Showcase.tsx. From 900px the section is taller than the screen (one
   stretch of scroll per item, --n items) and its stage sticks to the top, so
   the page holds still while the items change. The items of each half share
   one grid cell; only the active one shows. Under 900px nothing pins: the
   items are a plain list, without the diagrams. */
.showcase__texts > div {
  display: grid;
  gap: var(--s-4);
  justify-items: start;
  align-content: start;
}
/* the job's name: clearly under the section's heading, not a second one */
.showcase__texts h3 {
  font: var(--display-weight) var(--t-h3) / 1.2 var(--font-display);
  letter-spacing: var(--display-tracking);
}
.showcase__texts p:not(.sec-label) {
  font-size: var(--t-lead);
  line-height: 1.5;
  max-width: 44ch;
}
@media (max-width: 899px) {
  .showcase__visuals,
  .showcase__dots {
    display: none;
  }
  .showcase__texts > div {
    padding-block: var(--s-6);
    border-bottom: 1px solid var(--line);
  }
  .showcase__texts > div:first-child {
    padding-top: 0;
  }
}
@media (min-width: 900px) {
  :root[data-type] main > .section.showcase {
    display: block;
    height: calc(100svh + var(--n) * 70svh);
    min-height: 0;
    padding: 0;
  }
  .showcase__pin {
    position: sticky;
    top: 0;
    height: 100svh;
    padding: calc(var(--nav) + var(--s-7)) 0 var(--s-7);
    display: grid; /* the .wrap keeps its own width and side margins */
  }
  /* one group in the middle of the screen: the heading, then the job and
     its diagram starting on one line under it, then the dashes */
  .showcase__in {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--s-7);
  }
  :root[data-type] .showcase__in > .section-head {
    margin-bottom: 0; /* the group's own gap stands in for it */
  }
  .showcase__stage {
    align-items: start;
  }
  .showcase__stack {
    display: grid;
  }
  .showcase__stack > div {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition:
      opacity 320ms ease,
      transform 320ms ease,
      visibility 0s 320ms;
  }
  .showcase__stack > [data-active="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  /* the dashes: one per item, the active one longer and in the ink */
  .showcase__dots {
    display: flex;
    gap: 6px;
  }
  .showcase__dots > button {
    width: 16px;
    height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    transition: width 320ms ease;
  }
  .showcase__dots > button::before {
    content: "";
    display: block;
    height: 2px;
    background: var(--flow-line);
  }
  .showcase__dots > [aria-current]::before {
    background: var(--ink);
  }
  .showcase__dots > [aria-current] {
    width: 32px;
  }
}
/* a short laptop screen: the heading gives its room to the stage */
@media (min-width: 900px) and (max-height: 759px) {
  .showcase__in > .section-head > h2 {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .showcase__stack > div,
  .showcase__dots > button {
    transition: none;
    transform: none;
  }
}

/* ------------------------------------------------------------------ questions
   The FAQ: each question opens on a click (a native <details>, so it works
   with the keyboard and without script). Two columns on the two halves. */
.qa > details {
  border-bottom: 1px solid var(--line);
}
.qa summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-5);
  padding-block: var(--s-4);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.qa > details:first-child > summary {
  padding-top: 0;
}
.qa summary::-webkit-details-marker {
  display: none;
}
/* the plus that turns into a minus when the answer is open */
.qa summary::after {
  content: "+";
  flex: none;
  color: var(--muted);
  font-weight: 400;
}
.qa > details[open] > summary::after {
  content: "\2212";
}
.qa > details > p {
  padding-bottom: var(--s-5);
  max-width: 56ch;
}
/* /your-data: one record twice on the first screen. On the left, what the
   business reads; on the right, the same lines as we hold them: bars. The
   halves keep to the grid (columns 1-5 and 8-12) and share their rows'
   heights, so each bar faces the line it stands for. */
.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  row-gap: var(--s-8);
}
.compare__side {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
.hero--compare .compare__head {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.02;
  letter-spacing: var(--display-tracking-xl);
  white-space: nowrap;
}
.compare .rows {
  /* one height for every bar: the letters of a value */
  --bar: calc(var(--t-h3) * 0.9);
  font-size: var(--t-lead);
}
.compare .rows > li {
  align-items: center;
  padding-block: var(--s-4);
}
.compare .rows__value {
  font-size: var(--t-h3);
  max-width: none;
  white-space: nowrap;
}
/* a bar as long as the words it stands for */
.compare__bar {
  display: inline-block;
  width: calc(var(--n) * 0.92ch);
  height: var(--bar);
  vertical-align: middle;
  background: var(--ink);
}
@media (min-width: 768px) {
  .compare {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .compare__side {
    grid-column: 1 / span 5;
  }
  .compare__side + .compare__side {
    grid-column: 8 / span 5;
  }
  /* the rows share the height the first screen has left (356px is the
     header, the headline, the note and the spaces between), within limits */
  .compare .rows > li {
    min-height: clamp(64px, calc((100svh - 356px) / 5), 112px);
  }
}
@media (max-width: 639px) {
  .compare {
    row-gap: var(--s-7);
  }
  .compare__side {
    gap: var(--s-5);
  }
  .compare .rows > li {
    padding-block: var(--s-3);
  }
}
/* once, on load: each line is sealed, top to bottom (the page's one moment) */
@media (prefers-reduced-motion: no-preference) {
  .compare__bar {
    animation: seal 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(850ms + var(--i) * 80ms);
  }
  .rows__value > .compare__bar {
    animation-delay: calc(910ms + var(--i) * 80ms);
  }
}
@keyframes seal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
