/* The paged site (2026-09-30): home, product, frameworks, compare, auditors,
   request demo. Prefixed s-.

   One topic per page, and pages of one kind share one template, so this file
   is a small set of section shapes rather than a stylesheet per page: an Ink
   hero, white and teal-light sections, card grids, the badge strip, the
   framework directory and the framework page's tables. Colours come only from
   tokens (base.css states the light ground and the .ink scope). */

/* ── sections ───────────────────────────────────────────────────────────── */

.s-hero { padding-block: clamp(64px, 9vw, 120px) clamp(56px, 8vw, 104px); }
.s-hero h1 { max-width: 20ch; margin-top: 14px; font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.025em; }
.s-hero__lede { max-width: 62ch; margin-top: 20px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); }
.s-hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 32px; }
.s-hero__link { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.s-hero--page { padding-block: clamp(44px, 6vw, 80px) clamp(44px, 6vw, 72px); }
.s-hero--page h1 { max-width: 26ch; font-size: clamp(1.9rem, 4.2vw, 3rem); }
.s-hero--home h1 { max-width: 22ch; }

.s-sec { padding-block: clamp(64px, 8vw, 104px); }
.s-sec--tint { background: var(--bg-raise); }
.s-sec + .s-sec:not(.s-sec--tint) { border-top: 1px solid var(--line); }
.s-sec--tint + .s-sec { border-top: 0; }

.s-head { max-width: 62ch; }
.s-head h2 { margin-top: 12px; }
.s-head p { margin-top: 14px; }
.s-head--center { margin-inline: auto; text-align: center; }
.s-h3 { font-size: 1.1rem; margin-bottom: 10px; }
.s-note { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.s-more { color: var(--accent-2); font-weight: 600; }
.s-more::after { content: " \2192"; }

/* Two columns: the heading block on the left stays in view while the long
   right side reads. */
.s-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.s-split > .s-head { position: sticky; top: calc(var(--nav-h) + 32px); }
@media (max-width: 900px) {
  .s-split { grid-template-columns: 1fr; }
  .s-split > .s-head { position: static; }
}
.s-narrow { max-width: 860px; }

.s-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--faint); margin-bottom: 18px; }
.s-crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ── cards ──────────────────────────────────────────────────────────────── */

.s-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 40px; }
.s-cards--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.s-card {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
a.s-card:hover { border-color: var(--accent-bd); box-shadow: var(--shadow-sm); }
.s-card__ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--bg-raise); color: var(--accent-2); }
.s-card__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s-card h3 { font-size: 1.12rem; }
.s-card p { font-size: .95rem; }
.s-card__go { color: var(--accent-2); font-weight: 600; font-size: .92rem; }
.s-card__go::after { content: " \2192"; }
.s-sec--tint .s-card { background: var(--bg); }
.s-tag { justify-self: start; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }

/* A plain list of facts, two to a row on a wide screen. */
.s-facts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; margin-top: 28px; }
.s-facts li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.s-facts strong { font-size: .98rem; }
.s-facts span { color: var(--muted); font-size: .93rem; }

/* Numbered steps. */
.s-steps { list-style: none; counter-reset: s; display: grid; gap: 0; margin-top: 8px; }
.s-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.s-steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: .85rem; color: var(--accent-2); padding-top: 3px; }
.s-steps h3 { font-size: 1.02rem; }
.s-steps p { font-size: .94rem; }

/* ── badges ─────────────────────────────────────────────────────────────── */

/* Simple circles, one per framework: the label, and a small tick under it.
   The strip wraps; on a phone it is two or three to a row, never a sideways
   scroll. */
.s-badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 12px; margin-top: 40px; }
.s-badge { position: relative; display: grid; justify-items: center; color: var(--text); }
.s-badge__c {
  display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50%;
  border: 1.5px solid var(--accent-bd); background: var(--bg);
  font-weight: 600; font-size: .8rem; line-height: 1.1; text-align: center; letter-spacing: -.01em; padding: 6px;
  transition: border-color .15s ease, background-color .15s ease;
}
.s-badge:hover .s-badge__c { border-color: var(--accent); background: var(--bg-raise); }
.s-badge__t { display: grid; place-items: center; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--accent); }
.s-badge__t svg { width: 14px; height: 14px; fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s-badge__c--sm { width: 56px; height: 56px; font-size: .68rem; flex: none; }
.s-badges__cap { text-align: center; margin-top: 22px; font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.s-badges__cap a { color: var(--accent-2); }
@media (max-width: 560px) {
  .s-badges { gap: 16px 12px; }
  .s-badge__c { width: 72px; height: 72px; font-size: .72rem; }
}

/* ── home: stages ───────────────────────────────────────────────────────── */

.s-stages { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); }
.s-stages__art { background: var(--bg-raise); display: grid; align-items: end; padding: 32px 32px 0; }
.s-stages__art svg { width: 100%; height: auto; }
.s-stages__list { display: grid; align-content: start; }
.s-stage { border-bottom: 1px solid var(--line); }
.s-stage:last-child { border-bottom: 0; }
.s-stage summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; padding: 24px 28px; }
.s-stage summary::-webkit-details-marker { display: none; }
.s-stage summary::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s ease; }
.s-stage[open] summary::after { transform: rotate(225deg); }
.s-stage[open] { background: var(--bg-raise); }
.s-stage__tag { justify-self: start; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }
.s-stage__title { grid-column: 1; font-family: var(--disp); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -.01em; color: var(--text); }
.s-stage__body { padding: 0 28px 26px; display: grid; gap: 14px; justify-items: start; }
.s-stage__body p { max-width: 58ch; }
@media (max-width: 900px) {
  .s-stages { grid-template-columns: 1fr; }
  .s-stages__art { padding: 24px 24px 0; }
  .s-stages__art svg { max-width: 420px; margin-inline: auto; }
  .s-stage summary { padding: 20px; }
  .s-stage__body { padding: 0 20px 22px; }
}
.st-bar { fill: var(--bg); stroke: var(--line); }
.st-bar--2 { fill: color-mix(in srgb, var(--accent) 22%, var(--paper)); stroke: none; }
.st-bar--3 { fill: var(--ink); stroke: none; }
.st-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; fill: var(--muted); text-transform: uppercase; }
.st-lbl--inv { fill: var(--paper); }
.st-pin { stroke: var(--accent); stroke-width: 2; }
.st-dot { fill: var(--accent); }

/* ── link strips kept from the old home: check it yourself, compare ────── */

.s-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 36px; }
.s-links--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.s-link { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); color: var(--text); transition: border-color .15s ease; }
.s-link:hover { border-color: var(--accent-bd); }
.s-link__k { font-weight: 600; font-size: 1.02rem; }
.s-link__v { font-size: .92rem; color: var(--muted); }
.s-link__go { font-size: .88rem; font-weight: 600; color: var(--accent-2); }
.s-link__go::after { content: " \2192"; }

/* ── closing band ───────────────────────────────────────────────────────── */

.s-cta { padding-block: clamp(64px, 8vw, 104px); text-align: center; }
.s-cta h2 { max-width: 24ch; margin-inline: auto; }
.s-cta p { max-width: 56ch; margin: 14px auto 0; }
.s-cta .btn { margin-top: 28px; }

/* Diagram beside a list, as on the product pages. */
.s-with-dg { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 36px; }
@media (max-width: 900px) { .s-with-dg { grid-template-columns: 1fr; } }

/* A code or JSON sample. */
.s-code { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg); }
.s-code header { padding: 10px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; color: var(--muted); background: var(--bg-raise); }
.s-code pre { margin: 0; padding: 16px 18px; overflow-x: auto; font-size: .82rem; line-height: 1.65; color: var(--text); }
.s-code .k { color: var(--accent-2); }
.s-code .s { color: var(--muted); }

.s-states { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* A two-column who-does-what table. */
.s-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.s-table th, .s-table td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.s-table thead th { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.s-table td { color: var(--muted); }
.s-table td:first-child { color: var(--text); font-weight: 600; width: 28%; }
.s-tablewrap { overflow-x: auto; margin-top: 24px; }

/* ── framework uses (product pages) and attestations ───────────────────── */

.s-uses { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.s-uses a { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--text); font-size: .9rem; }
.s-uses a:hover { border-color: var(--accent-bd); }
.s-uses__n { font-weight: 600; }
.s-uses__c { color: var(--muted); font-size: .82rem; }

.s-att { list-style: none; display: grid; gap: 0; }
.s-att li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.s-att li:first-child { border-top: 1px solid var(--line); }
.s-att code { grid-column: 1 / -1; font-size: .78rem; color: var(--accent-2); }
.s-att__n { font-family: var(--mono); font-size: .78rem; color: var(--muted); white-space: nowrap; }

/* ── frameworks directory ───────────────────────────────────────────────── */

/* The filter needs no script: the checked radio's value hides the cards of
   the other categories. A browser without :has() shows every card, which is
   the "All" view and still correct. */
.s-filter { border: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.s-filter__r { position: absolute; opacity: 0; pointer-events: none; }
.s-filter__l { display: inline-flex; align-items: center; height: 40px; padding-inline: 18px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); color: var(--text); font-size: .92rem; cursor: pointer; }
.s-filter__r:checked + .s-filter__l { background: var(--text); border-color: var(--text); color: var(--bg); }
.s-filter__r:focus-visible + .s-filter__l { outline: 2px solid var(--accent); outline-offset: 2px; }
.s-dir:has(#fw-cat-security:checked) .s-fwcard:not([data-cat="security"]),
.s-dir:has(#fw-cat-regulatory:checked) .s-fwcard:not([data-cat="regulatory"]),
.s-dir:has(#fw-cat-regional:checked) .s-fwcard:not([data-cat="regional"]) { display: none; }

.s-dir__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.s-fwcard { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); color: var(--text); transition: border-color .15s ease, box-shadow .15s ease; }
.s-fwcard:hover { border-color: var(--accent-bd); box-shadow: var(--shadow-sm); }
.s-fwcard__top { display: flex; align-items: center; gap: 14px; }
.s-fwcard__meta { display: grid; gap: 2px; font-size: .8rem; color: var(--muted); }
.s-fwcard__meta span:first-child { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.s-fwcard__name { font-weight: 600; font-size: 1.04rem; line-height: 1.35; }
.s-fwcard__covers { font-size: .88rem; color: var(--muted); }
.s-fwcard__count { font-family: var(--mono); font-size: .76rem; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }

/* ── framework page ─────────────────────────────────────────────────────── */

.s-insts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 32px; }
.s-inst { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-raise); display: grid; gap: 6px; }
.s-inst__name { font-weight: 600; color: var(--text); }
.s-inst__ref { font-family: var(--mono); font-size: .8rem; color: var(--accent-2); overflow-wrap: anywhere; }
.s-inst__cov { font-size: .9rem; }

.s-clauses { width: 100%; border-collapse: collapse; font-size: .93rem; }
.s-clauses th, .s-clauses td { text-align: left; vertical-align: top; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--line); }
.s-clauses thead th { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.s-clauses tbody th { font-weight: 400; width: 16%; }
.s-clauses td:last-child { width: 30%; padding-right: 0; }
.s-clauses--out td:last-child { width: auto; }
.s-clauses--out td p { font-size: .88rem; margin-top: 6px; }
.s-cite { font-family: var(--mono); font-size: .82rem; color: var(--text); overflow-wrap: anywhere; }
.s-asks summary { cursor: pointer; color: var(--text); font-weight: 600; list-style: none; }
.s-asks summary::-webkit-details-marker { display: none; }
.s-asks summary::after { content: " +"; color: var(--accent-2); font-weight: 400; }
.s-asks[open] summary::after { content: " \2212"; }
.s-asks p { margin-top: 8px; font-size: .9rem; }
.s-chips { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
td.s-chips { display: table-cell; }
.s-chip { display: inline-block; margin: 0 4px 6px 0; padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px; font-size: .76rem; color: var(--muted); background: var(--bg); white-space: nowrap; }
.s-outside { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 20px; }
.s-outside summary { cursor: pointer; font-weight: 600; }
.s-outside .s-tablewrap { margin-top: 12px; }
@media (max-width: 720px) {
  /* On a phone the three columns become one block per clause: citation, the
     clause, then its sections. A table squeezed to 390px is unreadable, and a
     sideways scroll on the page's main content is worse. */
  .s-clauses thead { display: none; }
  .s-clauses, .s-clauses tbody, .s-clauses tr, .s-clauses th, .s-clauses td { display: block; width: auto !important; }
  .s-clauses tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .s-clauses th, .s-clauses td { border: 0; padding: 0; }
  .s-clauses td { margin-top: 6px; }
}

.s-secs { list-style: none; counter-reset: sec; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.s-secs li { counter-increment: sec; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--muted); font-size: .9rem; }
.s-secs li::before { content: counter(sec, decimal-leading-zero); font-family: var(--mono); font-size: .72rem; color: var(--faint); }
.s-secs li[data-cited] { color: var(--text); border-color: var(--accent-bd); background: var(--bg-raise); font-weight: 600; }
.s-secs__n { margin-left: auto; font-family: var(--mono); font-size: .72rem; font-weight: 400; color: var(--accent-2); }

.s-quote { margin-top: 28px; padding: 24px 28px; border-left: 3px solid var(--accent); background: var(--bg); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.s-quote p { color: var(--text); font-size: .98rem; max-width: 80ch; }

.s-faq { display: grid; gap: 10px; margin-top: 28px; }
.s-faq details { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.s-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 22px; font-weight: 600; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: ""; margin-left: auto; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s ease; }
.s-faq details[open] summary::after { transform: rotate(225deg); }
.s-faq details p { padding: 0 22px 20px; font-size: .95rem; }
.s-faq a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }

/* ── auditors: package files and partner tiers ─────────────────────────── */

.s-files { list-style: none; display: grid; gap: 0; }
.s-files li { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.s-files li:first-child { border-top: 1px solid var(--line); }
.s-files code { font-size: .86rem; color: var(--text); overflow-wrap: anywhere; }
.s-files span { font-size: .93rem; color: var(--muted); }
@media (max-width: 640px) { .s-files li { grid-template-columns: 1fr; } }

.s-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 36px; }
.s-tier { display: grid; gap: 12px; align-content: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.s-tier h3 { font-size: 1.25rem; }
.s-tier__k { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }

/* ── request demo ───────────────────────────────────────────────────────── */

.s-demo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .s-demo { grid-template-columns: 1fr; } }
.s-checks { border: 0; display: grid; gap: 8px; }
.s-checks legend { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.s-checks__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 14px; }
.s-check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: .92rem; color: var(--text); cursor: pointer; }
.s-check input { width: 18px; height: 18px; accent-color: var(--btn); flex: none; }
.s-after { display: grid; gap: 12px; justify-items: start; padding: 24px; border: 1px solid var(--accent-bd); border-radius: var(--radius-lg); background: var(--bg-raise); }
.s-after[hidden] { display: none; }
.s-aside { display: grid; gap: 16px; padding: 28px; border-radius: var(--radius-lg); background: var(--bg-raise); }
.s-aside h2 { font-size: 1.2rem; }
.s-aside ol { padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: .93rem; }

/* ── animated graphics (round two, 2026-09-30) ─────────────────────────── */

/* Four drawings that move: the admission gate, the chain from image to
   evidence, the evidence zip opening, and the Falco decision flow. Rules
   they all follow:
   - The resting style of every part is the drawing's final frame. Keyframes
     only say where a part comes from, so with motion off (reduced motion, or
     animation unsupported) each one reads as a finished, correct diagram.
   - Motion plays once, when the drawing scrolls into view: site.js adds
     .is-on to [data-anim]; until then the parts wait on their first frame.
     Without script they simply play on load.
   - Nothing is drawn that the product does not do. */

.js [data-anim]:not(.is-on) *,
.js [data-anim]:not(.is-on)::before,
.js [data-anim]:not(.is-on)::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  [data-anim] *, [data-anim]::before, [data-anim]::after { animation: none !important; }
}

/* The layered card the drawings sit in: a soft wash, a dotted grid, a faint
   teal glow. On Ink it reads as a lit glass panel; on white as paper. */
.s-art {
  position: relative; border-radius: 22px; padding: clamp(16px, 2.4vw, 28px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--accent) 22%, transparent) 1px, transparent 1.4px) 0 0 / 18px 18px,
    radial-gradient(120% 90% at 85% 0%, var(--accent-soft), transparent 60%),
    var(--bg-raise);
  box-shadow: 0 40px 80px -48px color-mix(in srgb, var(--accent) 55%, transparent);
}
.s-art svg { display: block; width: 100%; height: auto; }
.s-art__cap { margin-top: 12px; font-size: .88rem; color: var(--muted); text-align: center; }

/* shared SVG parts */
.g-box { fill: var(--bg); stroke: var(--line-2); stroke-width: 1.2; }
.g-box--on { fill: var(--bg); stroke: var(--accent); stroke-width: 1.5; }
.g-zone { fill: color-mix(in srgb, var(--accent) 6%, transparent); stroke: var(--accent-bd); stroke-dasharray: 5 5; }
.g-t { font-family: var(--sans); font-size: 13px; font-weight: 600; fill: var(--text); text-anchor: middle; }
.g-t--l { text-anchor: start; }
.g-s { font-family: var(--mono); font-size: 10px; fill: var(--muted); text-anchor: middle; letter-spacing: .04em; }
.g-s--l { text-anchor: start; }
.g-line { stroke: var(--line-2); stroke-width: 1.4; fill: none; }
.g-flow { stroke: var(--accent); stroke-width: 1.6; fill: none; stroke-dasharray: 5 7; animation: g-march 1.2s linear infinite; }
@keyframes g-march { to { stroke-dashoffset: -24; } }
.g-ok { fill: var(--green); }
.g-no { fill: var(--red); }
.g-okt { fill: var(--green); font-family: var(--mono); font-size: 11px; text-anchor: middle; }
.g-not { fill: var(--red); font-family: var(--mono); font-size: 11px; text-anchor: middle; }
.g-mark { stroke: var(--paper); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* one-shot helpers: a part fades and settles in after the given delay */
.a-pop { animation: a-pop .6s cubic-bezier(.2, .8, .2, 1) both; transform-box: fill-box; transform-origin: center; }
@keyframes a-pop { from { opacity: 0; transform: translateY(8px) scale(.94); } }
.a-d1 { animation-delay: .3s; } .a-d2 { animation-delay: .8s; } .a-d3 { animation-delay: 1.3s; }
.a-d4 { animation-delay: 1.8s; } .a-d5 { animation-delay: 2.3s; } .a-d6 { animation-delay: 2.8s; }
.a-d7 { animation-delay: 3.3s; } .a-d8 { animation-delay: 3.8s; }

/* 1. The admission gate. Pod A reaches the webhook, the verdict is read from
   the cache, it is admitted into the cluster; pod B reaches it, is refused
   and stays outside with its reason. */
.gate-a { animation: gate-a 7s cubic-bezier(.45, 0, .2, 1) both; }
@keyframes gate-a {
  0% { transform: translateX(-340px); opacity: 0; }
  8% { opacity: 1; }
  28%, 42% { transform: translateX(-196px); opacity: 1; }
  60%, 100% { transform: none; opacity: 1; }
}
.gate-b { animation: gate-b 7s cubic-bezier(.45, 0, .2, 1) both; }
@keyframes gate-b {
  0%, 46% { transform: translateX(-190px); opacity: 0; }
  52% { opacity: 1; transform: translateX(-190px); }
  70% { transform: none; }
  73% { transform: translateX(-9px); }
  76%, 100% { transform: none; opacity: 1; }
}
.gate-a-ok { animation: a-show 7s both; }
@keyframes a-show { 0%, 40% { opacity: 0; } 46%, 100% { opacity: 1; } }
.gate-b-no { animation: b-show 7s both; }
@keyframes b-show { 0%, 71% { opacity: 0; } 76%, 100% { opacity: 1; } }
.gate-bar { fill: var(--accent); animation: gate-bar 7s both; }
@keyframes gate-bar {
  0%, 30% { fill: var(--accent); }
  34%, 42% { fill: var(--green); }
  48%, 68% { fill: var(--accent); }
  72%, 80% { fill: var(--red); }
}
.gate-cache { animation: gate-cache 7s both; }
@keyframes gate-cache {
  0%, 29% { stroke: var(--line-2); }
  31%, 37% { stroke: var(--accent); stroke-width: 3; }
  40%, 68% { stroke: var(--line-2); }
  70%, 76% { stroke: var(--accent); stroke-width: 3; }
}

/* 2. The chain, as HTML so it can turn vertical on a phone. Each step
   lights in turn; the line between two steps fills as the light passes. */
.s-chain { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; counter-reset: ch; }
.s-chain li { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; }
.s-chain__ico {
  position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px;
  background: var(--bg); color: var(--accent-2); border: 1.5px solid var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft), 0 14px 30px -16px var(--accent);
  animation: ch-light .6s ease both;
}
.s-chain__ico .ico { width: 24px; height: 24px; }
.s-chain b { font-size: .95rem; }
.s-chain small { font-size: .82rem; color: var(--muted); line-height: 1.4; max-width: 20ch; }
.s-chain li + li::before {
  content: ""; position: absolute; top: 29px; right: calc(50% + 36px); width: calc(100% - 72px + 14px); height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left center;
  animation: ch-line .5s ease both;
}
@keyframes ch-light { from { border-color: var(--line-2); box-shadow: none; color: var(--muted); opacity: .5; } }
@keyframes ch-line { from { transform: scaleX(0); } }
.s-chain li:nth-child(1) .s-chain__ico { animation-delay: .1s; }
.s-chain li:nth-child(2)::before { animation-delay: .4s; } .s-chain li:nth-child(2) .s-chain__ico { animation-delay: .8s; }
.s-chain li:nth-child(3)::before { animation-delay: 1.1s; } .s-chain li:nth-child(3) .s-chain__ico { animation-delay: 1.5s; }
.s-chain li:nth-child(4)::before { animation-delay: 1.8s; } .s-chain li:nth-child(4) .s-chain__ico { animation-delay: 2.2s; }
.s-chain li:nth-child(5)::before { animation-delay: 2.5s; } .s-chain li:nth-child(5) .s-chain__ico { animation-delay: 2.9s; }
.s-chain li:nth-child(6)::before { animation-delay: 3.2s; } .s-chain li:nth-child(6) .s-chain__ico { animation-delay: 3.6s; }
.s-chain li:nth-child(7)::before { animation-delay: 3.9s; } .s-chain li:nth-child(7) .s-chain__ico { animation-delay: 4.3s; }
/* Vertical: always for the checklist variant, and for every chain on a
   phone. The line runs down the left under the icons. */
.s-chain--v { grid-auto-flow: row; grid-auto-columns: auto; gap: 18px; }
.s-chain--v li { grid-template-columns: 58px 1fr; justify-items: start; text-align: left; column-gap: 16px; row-gap: 2px; }
.s-chain--v .s-chain__ico { grid-row: span 2; }
.s-chain--v li + li::before { top: auto; bottom: calc(100% - 2px); left: 28px; right: auto; width: 2px; height: 30px; transform-origin: center top; animation-name: ch-vline; }
@keyframes ch-vline { from { transform: scaleY(0); } }
@media (max-width: 760px) {
  .s-chain { grid-auto-flow: row; grid-auto-columns: auto; gap: 18px; }
  .s-chain li { grid-template-columns: 58px 1fr; justify-items: start; text-align: left; column-gap: 16px; row-gap: 2px; }
  .s-chain__ico { grid-row: span 2; }
  .s-chain li + li::before { top: auto; bottom: calc(100% - 2px); left: 28px; right: auto; width: 2px; height: 30px; transform-origin: center top; animation-name: ch-vline; }
}

/* 3. The zip opening into its files. */
.zip-lid { transform-box: fill-box; transform-origin: 0% 100%; animation: zip-lid 1s .2s cubic-bezier(.3, 1.4, .5, 1) both; transform: rotate(-24deg); }
@keyframes zip-lid { from { transform: rotate(0deg); } }
.zip-f { animation: zip-f .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes zip-f { from { opacity: 0; transform: translate(-150px, 30px) scale(.7); } }
.zip-f--1 { animation-delay: .9s; } .zip-f--2 { animation-delay: 1.3s; } .zip-f--3 { animation-delay: 1.7s; } .zip-f--4 { animation-delay: 2.1s; }
.zip-covers { animation: a-pop .6s 2.8s both; }
.zip-card { fill: var(--bg); stroke: var(--line-2); stroke-width: 1.2; }
.zip-card--on { stroke: var(--accent); stroke-width: 1.8; }
.zip-name { font-family: var(--mono); font-size: 13px; font-weight: 600; fill: var(--text); }
.zip-note { font-family: var(--sans); font-size: 11.5px; fill: var(--muted); }
.zip-body { fill: var(--bg); stroke: var(--accent-2); stroke-width: 1.6; }
.zip-teeth { stroke: var(--accent-2); stroke-width: 2; stroke-dasharray: 4 4; }
.zip-tag { fill: var(--ink); }
.zip-tagt { fill: var(--paper); font-family: var(--mono); font-size: 10px; text-anchor: middle; }

/* The home hero, text beside the gate. */
.s-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 1000px) { .s-hero__grid { grid-template-columns: 1fr; } }
.s-hero__grid h1 { max-width: 16ch; }
.s-chainwrap { margin-top: 44px; }
.s-files--after { margin-top: 28px; }

/* 4. The ledger: a sealed record edited in the database, and the check that
   names it. The edit happens a beat after the checkpoints appear. */
.lg-row { fill: var(--bg); stroke: var(--line-2); stroke-width: 1; }
.lg-t { font-family: var(--mono); font-size: 10.5px; fill: var(--text); }
.lg-ok { font-family: var(--mono); font-size: 11px; fill: var(--green); white-space: pre; }
.lg-no { font-family: var(--mono); font-size: 11px; fill: var(--red); white-space: pre; font-weight: 600; }
.lg-bad { stroke: var(--red); stroke-width: 1.8; animation: lg-bad 3.6s both; }
@keyframes lg-bad { 0%, 72% { stroke: var(--line-2); stroke-width: 1; } }
.lg-old { opacity: 0; animation: lg-old 3.6s both; }
@keyframes lg-old { 0%, 72% { opacity: 1; } 100% { opacity: 0; } }
.lg-new { animation: lg-new 3.6s both; }
.lg-new.g-not { animation-name: lg-new; }
@keyframes lg-new { 0%, 76% { opacity: 0; } 100% { opacity: 1; } }
.s-mt { margin-top: 32px; }
.s-chips-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.s-chips-list li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; color: var(--text); background: var(--bg); }
.s-facts--1 { grid-template-columns: 1fr; margin-top: 0; }

/* The Ink bands' texture (hero and closing band only). A tile of small
   brand glyphs -- the mark's outline, a hash, a shield -- in Teal #0F9E8E at
   7% over Ink, drifting one tile every 80 seconds, and a soft teal glow that
   breathes. The glyphs fade out under the text column so they never sit
   behind a headline. The tile is a data URI, so the hex is written into it;
   it is the brand teal and nothing else. Still under reduced motion. */
.s-hero.ink, .s-cta.ink { position: relative; overflow: hidden; isolation: isolate; }
.s-hero.ink > .wrap, .s-cta.ink > .wrap { position: relative; z-index: 1; }
.s-hero.ink::before, .s-cta.ink::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"%3E%3Cg fill="none" stroke="%230F9E8E" stroke-width="1.2"%3E%3Cpath transform="translate(14 14) scale(.42)" d="M4 4H44V44H29.5V38H18.5V44H4ZM10 10V38H18.5V32H29.5V38H38V10Z"/%3E%3Cpath d="M78 70v18M86 70v18M73 76h18M73 83h18"/%3E%3Cpath d="M84 18c0 6-2.6 9-6 10.5-3.4-1.5-6-4.5-6-10.5v-5c2.4 0 4.3-1 6-2.3 1.7 1.3 3.6 2.3 6 2.3z"/%3E%3C/g%3E%3Cg fill="%230F9E8E"%3E%3Ccircle cx="40" cy="92" r="1.3"/%3E%3Ccircle cx="104" cy="44" r="1.3"/%3E%3Ccircle cx="60" cy="60" r="1"/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  opacity: .07;
  animation: ink-drift 80s linear infinite;
}
.s-hero.ink::before { -webkit-mask-image: linear-gradient(90deg, transparent 0 38%, #000 70%); mask-image: linear-gradient(90deg, transparent 0 38%, #000 70%); }
.s-cta.ink::before { -webkit-mask-image: radial-gradient(ellipse 42% 60% at 50% 50%, transparent 55%, #000 100%); mask-image: radial-gradient(ellipse 42% 60% at 50% 50%, transparent 55%, #000 100%); }
.s-hero.ink::after, .s-cta.ink::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 70vmax; height: 70vmax; right: -18vmax; top: -30vmax; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 26%, transparent), transparent);
  animation: ink-breathe 14s ease-in-out infinite alternate;
}
.s-cta.ink::after { right: auto; left: 50%; top: -40vmax; transform: translateX(-50%); animation-name: ink-breathe-c; }
@keyframes ink-drift { to { background-position: 120px -120px; } }
@keyframes ink-breathe { from { opacity: .55; transform: scale(.92); } to { opacity: 1; transform: scale(1.06); } }
@keyframes ink-breathe-c { from { opacity: .55; transform: translateX(-50%) scale(.92); } to { opacity: 1; transform: translateX(-50%) scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  .s-hero.ink::before, .s-cta.ink::before, .s-hero.ink::after, .s-cta.ink::after { animation: none !important; }
}

/* request demo: what happens next */
.s-next { list-style: none; counter-reset: nx; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 36px; }
.s-next li { counter-increment: nx; display: grid; gap: 8px; align-content: start; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg); }
.s-next li::before { content: counter(nx, decimal-leading-zero); font-family: var(--mono); font-size: .8rem; color: var(--accent-2); }
.s-next h3 { font-size: 1.1rem; }

/* feature drawings: bars, tags and hand-carried paths */
.a-grow { animation: a-grow .8s cubic-bezier(.2, .8, .2, 1) both; transform-box: fill-box; transform-origin: left center; }
@keyframes a-grow { from { transform: scaleX(0); } }
.sc-bar { fill: var(--line-2); }
.sc-bar--c { fill: var(--red); }
.sc-bar--h { fill: color-mix(in srgb, var(--red) 55%, var(--bg)); }
.wi-tag { fill: var(--ink); stroke: var(--accent); }
.wi-tagt { fill: var(--paper); font-family: var(--mono); font-size: 12px; text-anchor: middle; letter-spacing: .06em; }
.ag-hand { stroke: var(--accent); stroke-dasharray: 2 6; stroke-width: 2; stroke-linecap: round; }
.s-art.s-chain { padding: clamp(18px, 2.4vw, 28px); }

/* feature page template */
.s-prose { display: grid; gap: 16px; max-width: 64ch; font-size: 1.04rem; }
.s-prose p { color: var(--text); }
.s-records { margin-top: 14px; font-family: var(--disp); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; color: var(--text); line-height: 1.35; }
.s-docs { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
