/* Sequences: the public pages (public-pages.mjs), after style.css and docs.css: the home page at / on the hosted
   service, the feature pages (/features/...), the ST.26 check, the use-case pages (/use-cases/...), the security page,
   the accessibility statement and the API reference (/docs/api). It uses only the colors and sizes defined in
   style.css, as docs.css does, and adds the row of features, the home page's sections, the one-column text of the
   feature and use-case pages with their numbered steps and the panel they end with, the ST.26 check's card and its
   list of rules, and the routes of the API reference. Every link a finger presses outside a sentence is at least 44 px
   tall. */

/* The line under a page's heading, a little wider than the search page's and split into even lines, so a short last
   line does not hang under it. */
.docs-hero .hero-sub { max-width: 38rem; text-wrap: balance; }

/* One column of text, in the middle of the page. */
.public-body { margin-inline: auto; }
.public-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.public-actions .btn { white-space: normal; text-align: center; }

/* A feature page's row of features under its title: a pill for each, the current one navy. */
.public-features { width: 100%; margin-top: 24px; }
.public-features ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.public-features a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); box-shadow: var(--shadow-s);
  font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none;
}
.public-features a:hover { border-color: var(--field); }
.public-features a[aria-current="page"] { border-color: var(--brand-ink); background: var(--brand-ink); color: var(--card); }

/* The home page: the line under the buttons, then its sections, each with its heading in the middle. */
.public-trial { margin-top: 16px; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.public-home { display: grid; gap: 56px; }
.public-section { min-width: 0; }
.public-head { margin-bottom: 20px; text-align: center; }
.public-section > p { margin-top: 14px; text-wrap: pretty; }
/* Its plans (offer.json): the plans page's line under the heading, then a card for each plan, two to a row from
   640 px so the four make two even rows, and the button to the plans page in the middle under them. The cards are not
   links, so they keep their edge under the pointer. */
.public-section > .public-plans-note { max-width: 60ch; margin: -8px auto 20px; font-size: 15px; line-height: 22px; text-align: center; color: var(--ink-2); }
.public-plans { max-width: 60rem; margin-inline: auto; }
@media (min-width: 1024px) {
  .public-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.public-plan:hover { border-color: var(--line-faint); box-shadow: none; }
.public-plan .docs-card-title { color: var(--brand-ink); }
.docs-card .public-plan-price { color: var(--ink); }
.public-plan-amount { font-size: 22px; line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--brand-ink); }
.docs-card .public-plan-alt { margin-top: -4px; font-size: 14px; line-height: 20px; }
.public-plans-action { justify-content: center; }

/* The ST.26 check's own page (st26-page.mjs). The check leads: its hero band keeps room at the bottom, and a white card
   rises 64 px into it, holding the check the Sequence tools draw (tools.css) in this page's own look. The check's
   heading stays for screen readers alone, since the page's h1 says the same. The file button sits in a target as wide
   as the card, a dashed well under the file icon; the file field covers the whole target, not just the button, so a
   click anywhere in it chooses a file and a file dropped on it is taken. The target turns blue under the pointer or a
   dragged file. Under it, the page's two promises with an icon each, two to a row from 768 px; then the line on what
   the check does, the progress, and the report, which tools.css rules off from the box. The line for the check's
   messages shows only with a message, red for an error. */
.public-hero-tool { border-bottom: 0; }
.public-hero-tool .hero-inner { padding-bottom: 92px; }
@media (min-width: 768px) {
  .public-hero-tool .hero-inner { padding-bottom: 108px; }
}
.public-tool { position: relative; z-index: 1; margin-top: -64px; }
.public-tool-card {
  max-width: 52rem; margin-inline: auto; padding: 16px; border: 1px solid var(--line-faint); border-radius: var(--radius-l);
  background: var(--card); box-shadow: var(--shadow);
}
@media (min-width: 768px) {
  .public-tool-card { padding: 24px; }
}
.public-tool .listing-check { gap: 16px; padding: 0; border: 0; background: none; }
.public-tool .tools-heading { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.public-tool .listing-pick {
  position: relative; display: grid; justify-items: center; gap: 10px; padding: 28px 16px 24px;
  border: 2px dashed var(--line-2); border-radius: var(--radius); background: var(--well); text-align: center;
}
@media (min-width: 768px) {
  .public-tool .listing-pick { padding: 40px 24px 32px; }
}
.public-tool .listing-pick:hover, .public-tool .listing-pick.is-dropping { border-color: var(--brand-link); background: var(--brand-tint); }
.public-drop-icon { width: 40px; height: 40px; color: var(--brand-link); }
/* The button is the primary one here (st26-check-page.mjs), the page's one task, and no longer holds the file field. */
.public-tool .file-button { position: static; min-height: 48px; padding: 0 22px; font-size: 16px; }
.public-tool .listing-pick:hover .file-button, .public-tool .listing-pick.is-dropping .file-button { background: var(--brand-action-hover); }
.public-tool .listing-chosen { font-size: 13px; }
.public-tool .listing-about { font-size: 14px; line-height: 20px; }
.public-trust { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) {
  .public-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
}
.public-trust li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 20px; color: var(--ink); }
.public-trust .icon { flex: none; width: 20px; height: 20px; color: var(--ok); }
.public-check-notice { margin-top: 12px; font-size: 15px; line-height: 22px; color: var(--ink-2); }
.public-check-notice:empty { display: none; }
.public-check-notice[data-tone="bad"] { color: var(--bad); }

/* A table of names and values drawn as a list (public-pages.mjs, `columns`), such as the ST.26 check's rules: each name
   with its value on the right in the muted ink, a rule between rows, two columns from 640 px. */
.public-pairs { margin: 14px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-faint); }
@media (min-width: 640px) {
  .public-pairs { columns: 2; column-gap: 32px; }
}
.public-pairs li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--line-faint); break-inside: avoid; font-size: 15px; line-height: 21px; }
.public-pair-name { min-width: 0; color: var(--ink); }
.public-pair-value { flex: none; max-width: 50%; font-size: 13px; line-height: 19px; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* Steps (a section's numbered list): each number in a circle in the hero's tint, joined to the next by a thin line. The
   number is decoration where the browser can say so (the second content line), since the list already counts. */
.public-steps { counter-reset: public-step; gap: 16px; padding-left: 0; list-style: none; }
.public-steps > li { position: relative; min-height: 32px; padding-left: 48px; counter-increment: public-step; }
.public-steps > li::before {
  content: counter(public-step);
  content: counter(public-step) / '';
  position: absolute; top: -3px; left: 0; display: grid; place-items: center; width: 32px; height: 32px;
  border: 1px solid var(--brand-tint-strong); border-radius: 50%; background: var(--brand-tint);
  font-size: 14px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--brand-ink);
}
.public-steps > li:not(:last-child)::after { content: ''; position: absolute; top: 33px; bottom: -15px; left: 16px; width: 1px; background: var(--brand-tint-strong); }

/* The panel a page ends with (public-pages.mjs, `cta`): its last section, a few words and the page's buttons, in the
   hero's tint with its words and buttons in the middle, the words split into even lines. */
.public-body > .public-cta { margin-top: 48px; padding: 28px 20px; border-top: 0; border-radius: var(--radius-l); background: var(--brand-tint); text-align: center; }
@media (min-width: 768px) {
  .public-body > .public-cta { padding: 36px 40px; }
}
.public-cta > p { max-width: 38rem; margin-inline: auto; text-wrap: balance; }
.public-cta .public-actions { justify-content: center; }

/* The API reference: each route with its method, its path, its parameters and its answers. Their words come from the
   OpenAPI description and may hold an address or a setting with no space in it, such as
   /api/cases/{id}/imports/{jobId}/unresolved, which breaks where it must rather than widen the page on a phone. */
.api-route { margin-top: 32px; overflow-wrap: anywhere; }
.api-route .docs-h3 { margin-top: 0; }
.api-route > p, .api-route > .docs-list { margin-top: 10px; }
.api-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.api-method {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: var(--radius-s);
  background: var(--brand-ink); color: var(--card); font: 600 12.5px/1 var(--font-mono); letter-spacing: 0.04em;
}
.api-path { overflow-wrap: anywhere; }
.api-id { font: 400 13px/1.3 var(--font-mono); color: var(--ink-2); overflow-wrap: anywhere; }
.api-label { font: 400 12px/1.3 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
