/* washery.io. Tokens, type and rules: docs/web-style.md. Flat colour only, no gradients. */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #03343b;
  --ink-raised: #0a424a;
  --ink-line: #1f5a63;
  --teal: #007f8a;
  --bright: #00adbb;
  --pale: #7ccdcc;
  --mist: #f4f8f9;
  --line: #d9e3e7;
  --muted: #5a6f75;
  --success: #0b6b47;
  --white: #ffffff;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --band: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--white); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; border-radius: 4px; }
.icon { flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

h1 { font-size: clamp(2.1rem, 1.15rem + 3.1vw, 3.5rem); line-height: 1.07; letter-spacing: -0.022em; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3rem); line-height: 1.08; letter-spacing: -0.022em; font-weight: 700; max-width: 22ch; text-wrap: balance; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 600; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }
.band { padding-block: var(--band); }
.band--mist { background: var(--mist); }
.band--ink { background: var(--ink); color: var(--white); }
.band h2 + * { margin-top: clamp(28px, 4vw, 48px); }
.band h2 + .lead { margin-top: 16px; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 62ch; }
.lead + * { margin-top: clamp(28px, 4vw, 44px); }
.note { margin-top: 28px; color: var(--muted); font-size: 0.9375rem; max-width: 70ch; }
.more { margin-top: 32px; font-weight: 600; }

/* Buttons: the label says what happens next */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 1.5px solid transparent; font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn--bright { background: var(--bright); color: var(--ink); }
.btn--bright:hover { background: var(--pale); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--teal); color: var(--white); }
.btn--ghost { border-color: var(--ink-line); color: var(--white); }
.btn--ghost:hover { border-color: var(--pale); color: var(--white); }

/* Header: one surface with the hero */
.site-header { background: var(--ink); color: var(--white); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.site-header__logo img { height: 32px; width: auto; }
.site-header__toggle { display: none; background: none; border: 1.5px solid var(--ink-line); border-radius: 8px; color: var(--white); padding: 9px; cursor: pointer; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 28px; }
.site-nav a { color: var(--white); text-decoration: none; font-weight: 500; }
.site-nav ul a { padding-block: 6px; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-bottom-color: var(--bright); }
.site-nav__actions { display: flex; align-items: center; gap: 20px; }
.site-nav__signin:hover { color: var(--pale); }
.site-nav .btn { min-height: 42px; padding: 9px 16px; color: var(--ink); }

/* Hero: one short line, one action, then the product in one picture (the same rows before and after masking) */
.hero { background: var(--ink); color: var(--white); padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 88px); }
.hero__copy { text-align: center; max-width: 1080px; margin-inline: auto; }
.hero h1 { font-size: clamp(2.5rem, 1.2rem + 4.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.03em; }
.hero__sub { margin: 24px auto 0; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); color: #c9dcdf; max-width: 46ch; }
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn--large { min-height: 56px; padding: 14px 28px; font-size: 1.125rem; }

/* Flow: the four steps, lit in order. One 10 second cycle; each ring and each line has its moment in it. */
.flow { display: block; width: 100%; height: auto; margin-top: clamp(40px, 5vw, 64px); color: var(--white); }
.flow__account { font-size: 15px; }
.flow__line { stroke: var(--ink-line); stroke-width: 2; }
.flow__fill { stroke: var(--bright); stroke-width: 2; stroke-dasharray: 162; stroke-dashoffset: 162; animation: 10s linear infinite; }
.flow__ring { fill: var(--bright); fill-opacity: 0; stroke: var(--ink-line); stroke-width: 2; animation: 10s linear infinite; }
.flow__badge { fill: var(--ink); stroke: var(--ink-line); stroke-width: 1.5; }
.flow__number { fill: var(--pale); font-size: 14px; font-weight: 600; }
.flow__title { fill: var(--white); font-size: 18px; font-weight: 600; }
.flow__step--1 .flow__ring { animation-name: flow-ring-1; }
.flow__step--2 .flow__ring { animation-name: flow-ring-2; }
.flow__step--3 .flow__ring { animation-name: flow-ring-3; }
.flow__step--4 .flow__ring { animation-name: flow-ring-4; }
.flow__step--5 .flow__ring { animation-name: flow-ring-5; }
.flow__fill--1 { animation-name: flow-fill-1; }
.flow__fill--2 { animation-name: flow-fill-2; }
.flow__fill--3 { animation-name: flow-fill-3; }
.flow__fill--4 { animation-name: flow-fill-4; }
/* The hero has a fifth ring, so its fourth is a step on the way and not the end */
.flow .flow__step--4 .flow__ring, .flow-list .flow__step--4 .flow__ring { animation-name: flow-ring-4-step; }
@keyframes flow-ring-1 { 0%, 3% { fill-opacity: 0; stroke: var(--ink-line); } 7%, 92% { fill-opacity: 0.16; stroke: var(--bright); } 100% { fill-opacity: 0; stroke: var(--ink-line); } }
@keyframes flow-fill-1 { 0%, 12% { stroke-dashoffset: 162; opacity: 1; } 22%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes flow-ring-2 { 0%, 22% { fill-opacity: 0; stroke: var(--ink-line); } 26%, 92% { fill-opacity: 0.16; stroke: var(--bright); } 100% { fill-opacity: 0; stroke: var(--ink-line); } }
@keyframes flow-fill-2 { 0%, 31% { stroke-dashoffset: 162; opacity: 1; } 41%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes flow-ring-3 { 0%, 41% { fill-opacity: 0; stroke: var(--ink-line); } 45%, 92% { fill-opacity: 0.16; stroke: var(--bright); } 100% { fill-opacity: 0; stroke: var(--ink-line); } }
@keyframes flow-fill-3 { 0%, 50% { stroke-dashoffset: 162; opacity: 1; } 60%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes flow-ring-4 { 0%, 60% { fill-opacity: 0; stroke: var(--ink-line); } 64%, 92% { fill-opacity: 0.32; stroke: var(--bright); } 100% { fill-opacity: 0; stroke: var(--ink-line); } }
@keyframes flow-ring-4-step { 0%, 60% { fill-opacity: 0; stroke: var(--ink-line); } 64%, 92% { fill-opacity: 0.16; stroke: var(--bright); } 100% { fill-opacity: 0; stroke: var(--ink-line); } }
@keyframes flow-fill-4 { 0%, 69% { stroke-dashoffset: 162; opacity: 1; } 79%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes flow-ring-5 { 0%, 79% { fill-opacity: 0; stroke: var(--ink-line); } 83%, 92% { fill-opacity: 0.32; stroke: var(--bright); } 100% { fill-opacity: 0; stroke: var(--ink-line); } }
.flow-list { display: none; margin-top: 40px; gap: 14px; text-align: left; color: #c9dcdf; }
.flow-list__account { padding: 16px 18px 18px; background: var(--ink-raised); border: 1.5px solid var(--ink-line); border-radius: 14px; }
.flow-list__account--destination { border: 2px solid var(--bright); }
.flow-list__name { margin-bottom: 14px; font-size: 0.875rem; font-weight: 600; color: var(--pale); }
.flow-list ol, .flow-list ul { display: grid; gap: 16px; }
.flow-list li { display: flex; gap: 14px; align-items: center; }
.flow-list strong { color: var(--white); font-weight: 600; }
.flow-list__icon { flex: none; overflow: visible; color: var(--white); }
.engines h2 { max-width: 26ch; }
.engines__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.engines__grid > div { display: flex; align-items: center; gap: 20px; padding: clamp(20px, 2.6vw, 28px); background: var(--ink-raised); border: 1px solid var(--ink-line); border-radius: 14px; color: #c9dcdf; }
.engines__grid img { flex: none; }
.engines__grid strong { color: var(--white); font-weight: 600; font-size: 1.125rem; }
@media (prefers-reduced-motion: reduce) {
  .flow__ring, .flow__fill { animation: none; }
  .flow__ring { fill-opacity: 0.16; stroke: var(--bright); }
  .flow__step--4 .flow__ring, .flow__step--5 .flow__ring { fill-opacity: 0.32; }
  .flow .flow__step--4 .flow__ring, .flow-list .flow__step--4 .flow__ring { fill-opacity: 0.16; }
  .flow__fill { stroke-dashoffset: 0; }
}

/* Inner page heading */
.page-head { background: var(--ink); color: var(--white); padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.page-head h1 { max-width: 22ch; }
.page-head p { margin-top: 22px; font-size: 1.1875rem; color: #c9dcdf; max-width: 60ch; }
.page-head__links { display: flex; flex-wrap: wrap; gap: 12px; }
/* Inner page tops: the heading on the left, one small drawing of the page's subject on the right */
.page-head__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.art { display: block; width: 100%; max-width: 460px; height: auto; justify-self: end; color: var(--white); }
.art__box { fill: var(--ink-raised); stroke: var(--ink-line); stroke-width: 1.5; }
.art__box--accent { stroke: var(--bright); stroke-width: 2; }
.art__label { fill: var(--pale); font-size: 13px; font-weight: 600; }
.art__name { fill: var(--white); font-size: 14px; font-weight: 600; }
.art__ring { fill: none; stroke: var(--ink-line); stroke-width: 2; }
.art__ring--accent { fill: var(--bright); fill-opacity: 0.3; stroke: var(--bright); }
.art__lock { color: var(--bright); }
.art__tick { fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.art__arrow { stroke: var(--bright); stroke-width: 2; }
.art__arrowhead { fill: var(--bright); }
.art__only { fill: var(--bright); font-size: 13px; font-weight: 600; }
.art__card { fill: var(--ink); stroke: var(--ink-line); stroke-width: 1.5; }
.art__icon { color: var(--pale); }
.art__mono { fill: var(--white); font-family: var(--mono); font-size: 13px; }
.art__pill { fill: var(--bright); fill-opacity: 0.18; }
.art__pill-text { fill: var(--pale); font-size: 11px; font-weight: 600; }

/* The story: two bad options side by side, and each turns into what Washery does about it. A pair holds the
   bad option and its answer in the same place and fades between them every 10 seconds, in step with the
   pictures inside (which also loop every 10 seconds). With reduced motion the two are stacked instead.
   Amber means risk and red means failure; they appear nowhere else on the site. */
.story__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.story__card { border: 1.5px solid var(--line); border-radius: 14px; padding: clamp(24px, 3vw, 36px); }
.story__card h3 { font-size: 1rem; font-weight: 600; color: var(--muted); }
.story__line { margin-top: 14px; font-size: clamp(1.6rem, 1rem + 1.9vw, 2.4rem); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
.story__card--risk { background: #fffaf2; border-color: #f1d9b5; }
.story__card--risk .story__line span { color: #b4500b; }
.story__card--fail { background: #fdf5f4; border-color: #efcdc9; }
.story__card--fail .story__line span { color: #a3221a; }
.story__card--washery { background: var(--ink); border-color: var(--ink); color: var(--white); }
.story__card--washery h3 { color: var(--bright); }

/* Story pictures: the film's first two scenes as SVG, each on a 10 second loop.
   The styles below are the finished picture; the animations play up to it, so reduced motion shows the end. */
.scene { display: block; width: 100%; height: auto; margin-top: 26px; overflow: visible; }
.scene__card { fill: var(--white); stroke: var(--line); stroke-width: 1.5; }
.scene__card--prod { stroke: #e2a9a3; }
.scene__caption { fill: var(--muted); font-size: 12.5px; }
.scene__head, .scene__mono, .scene__value, .scene__count { font-family: var(--mono); }
.scene__head { fill: var(--muted); font-size: 12px; }
.scene__rule { stroke: var(--line); stroke-width: 1; }
.scene__name { fill: var(--ink); font-size: 14px; font-weight: 600; }
.scene__value { fill: #7a3a06; font-size: 13px; font-weight: 500; }
.scene__mono { fill: var(--muted); font-size: 13px; }
.scene__count { fill: var(--ink); font-size: 13px; font-weight: 500; }
.scene__warn { fill: #b4500b; font-size: 14px; font-weight: 600; }
.scene__ok { fill: var(--success); font-size: 14px; font-weight: 600; }
.scene__error { fill: #a3221a; }
.scene__errortext { fill: var(--white); font-size: 12.5px; font-weight: 600; }
:where(.scene) :where([class^="sc-"], [class^="sf-"], [class^="sm-"], [class^="sp-"]) { animation-duration: 10s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.sc-hl { fill: #fde9c8; }
.sc-row { opacity: 0.16; animation-name: sc-row; }
.sc-row--mia { opacity: 1; transform-box: fill-box; transform-origin: center; transform: scale(1.035); animation-name: sc-mia; }
.sc-warn { color: #b4500b; animation-name: sc-warn; }
.sf-fake .icon { color: var(--success); }
.sf-prod { transform-box: fill-box; animation-name: sf-prod; }
.sf-stream { transform: translateY(-110px); animation-name: sf-stream; animation-timing-function: linear; }
.sf-count { opacity: 0; animation-timing-function: steps(1, end); }
.sf-count--6 { opacity: 1; }
.sf-tint { fill: #a3221a; opacity: 0.09; animation-name: sf-tint; }
.sf-error { animation-name: sf-error; }
.sf-strike { stroke: #a3221a; stroke-width: 2; stroke-dasharray: 90; stroke-dashoffset: 0; animation-name: sf-strike; }
.sf-passed { animation-name: sf-passed; }
.sc-hl--1 { animation-name: sc-hl-1; }
.sc-hl--2 { animation-name: sc-hl-2; }
.sc-hl--3 { animation-name: sc-hl-3; }
.sc-hl--4 { animation-name: sc-hl-4; }
.sf-test--1 { animation-name: sf-test-1; }
.sf-test--2 { animation-name: sf-test-2; }
.sf-test--3 { animation-name: sf-test-3; }
.sf-count--1 { animation-name: sf-count-1; }
.sf-count--2 { animation-name: sf-count-2; }
.sf-count--3 { animation-name: sf-count-3; }
.sf-count--4 { animation-name: sf-count-4; }
.sf-count--5 { animation-name: sf-count-5; }
.sf-count--6 { animation-name: sf-count-6; }
@keyframes sc-hl-1 { 0%, 6% { opacity: 0; } 9%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sc-hl-2 { 0%, 12% { opacity: 0; } 15%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sc-hl-3 { 0%, 18% { opacity: 0; } 21%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sc-hl-4 { 0%, 24% { opacity: 0; } 27%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sc-row { 0%, 36% { opacity: 1; } 44%, 94% { opacity: 0.16; } 100% { opacity: 1; } }
@keyframes sc-mia { 0%, 36% { transform: scale(1); } 46%, 94% { transform: scale(1.035); } 100% { transform: scale(1); } }
@keyframes sc-warn { 0%, 50% { opacity: 0; } 56%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sf-test-1 { 0%, 3% { opacity: 0; } 6%, 100% { opacity: 1; } }
@keyframes sf-test-2 { 0%, 8% { opacity: 0; } 11%, 100% { opacity: 1; } }
@keyframes sf-test-3 { 0%, 13% { opacity: 0; } 16%, 100% { opacity: 1; } }
@keyframes sf-passed { 0%, 17% { opacity: 0; } 20%, 100% { opacity: 1; } }
@keyframes sf-prod { 0%, 23% { transform: translateX(36px); opacity: 0; } 28%, 61% { transform: translateX(0); opacity: 1; } 62.2% { transform: translateX(-7px); } 63.4% { transform: translateX(7px); } 64.6% { transform: translateX(-5px); } 65.8% { transform: translateX(4px); } 67%, 94% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
@keyframes sf-stream { 0%, 28% { transform: translateY(0); } 60%, 100% { transform: translateY(-110px); } }
@keyframes sf-count-1 { 0% { opacity: 0; } 28% { opacity: 1; } 34% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sf-count-2 { 0% { opacity: 0; } 34% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sf-count-3 { 0% { opacity: 0; } 40% { opacity: 1; } 46% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sf-count-4 { 0% { opacity: 0; } 46% { opacity: 1; } 52% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sf-count-5 { 0% { opacity: 0; } 52% { opacity: 1; } 58% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sf-count-6 { 0% { opacity: 0; } 58% { opacity: 1; } 94% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sf-tint { 0%, 60% { opacity: 0; } 63%, 94% { opacity: 0.09; } 100% { opacity: 0; } }
@keyframes sf-error { 0%, 60% { opacity: 0; } 62%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sf-strike { 0%, 66% { stroke-dashoffset: 90; } 71%, 100% { stroke-dashoffset: 0; } }
/* The Washery pair, on ink */
.scene--ink .scene__card { fill: var(--ink-raised); stroke: var(--ink-line); }
.scene--ink .scene__caption, .scene--ink .scene__head { fill: var(--pale); }
.scene--ink .scene__rule { stroke: var(--ink-line); }
.scene--ink .scene__name { fill: var(--white); }
.scene--ink .scene__mono { fill: #c9dcdf; }
.scene--ink .scene__count { fill: var(--white); }
.scene__token { fill: var(--white); font-family: var(--mono); font-size: 13px; font-weight: 500; }
.scene__good { fill: #7fe0b5; font-size: 14px; font-weight: 600; }
.sm-real { opacity: 0; }
.sm-real__chip { fill: #fde9c8; }
.sm-tok__chip { fill: var(--teal); }
.sm-verified, .sp-passed, .sp-test { color: #7fe0b5; }
.sm-verified { animation-name: sm-verified; }
.sp-real { opacity: 0; }
.sp-real--1 { animation-name: sp-real-1; }
.sp-fake--1 { animation-name: sp-fake-1; }
.sp-real--2 { animation-name: sp-real-2; }
.sp-fake--2 { animation-name: sp-fake-2; }
.sp-real--3 { animation-name: sp-real-3; }
.sp-fake--3 { animation-name: sp-fake-3; }
.sp-real--4 { animation-name: sp-real-4; }
.sp-fake--4 { animation-name: sp-fake-4; }
.sp-real--5 { animation-name: sp-real-5; }
.sp-fake--5 { animation-name: sp-fake-5; }
.sp-count { opacity: 0; animation-timing-function: steps(1, end); }
.sp-count--6 { opacity: 1; }
.sp-passed { animation-name: sp-passed; }
.sm-real--1 { animation-name: sm-real-1; }
.sm-tok--1 { animation-name: sm-tok-1; }
.sm-real--2 { animation-name: sm-real-2; }
.sm-tok--2 { animation-name: sm-tok-2; }
.sm-real--3 { animation-name: sm-real-3; }
.sm-tok--3 { animation-name: sm-tok-3; }
.sm-real--4 { animation-name: sm-real-4; }
.sm-tok--4 { animation-name: sm-tok-4; }
.sp-count--1 { animation-name: sp-count-1; }
.sp-count--2 { animation-name: sp-count-2; }
.sp-count--3 { animation-name: sp-count-3; }
.sp-count--4 { animation-name: sp-count-4; }
.sp-count--5 { animation-name: sp-count-5; }
.sp-count--6 { animation-name: sp-count-6; }
.sp-test--1 { animation-name: sp-test-1; }
.sp-test--2 { animation-name: sp-test-2; }
.sp-test--3 { animation-name: sp-test-3; }
@keyframes sm-real-2 { 0%, 8% { opacity: 1; } 12%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sm-tok-2 { 0%, 8% { opacity: 0; } 12%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sm-real-1 { 0%, 20% { opacity: 1; } 24%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sm-tok-1 { 0%, 20% { opacity: 0; } 24%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sm-real-3 { 0%, 28% { opacity: 1; } 32%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sm-tok-3 { 0%, 28% { opacity: 0; } 32%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sm-real-4 { 0%, 36% { opacity: 1; } 40%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sm-tok-4 { 0%, 36% { opacity: 0; } 40%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sm-verified { 0%, 48% { opacity: 0; } 54%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sp-real-1 { 0%, 10% { opacity: 1; } 14%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sp-fake-1 { 0%, 10% { opacity: 0; } 14%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sp-real-2 { 0%, 18% { opacity: 1; } 22%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sp-fake-2 { 0%, 18% { opacity: 0; } 22%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sp-real-3 { 0%, 26% { opacity: 1; } 30%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sp-fake-3 { 0%, 26% { opacity: 0; } 30%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sp-real-4 { 0%, 34% { opacity: 1; } 38%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sp-fake-4 { 0%, 34% { opacity: 0; } 38%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sp-real-5 { 0%, 42% { opacity: 1; } 46%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes sp-fake-5 { 0%, 42% { opacity: 0; } 46%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sp-count-1 { 0% { opacity: 0; } 6% { opacity: 1; } 13% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sp-count-2 { 0% { opacity: 0; } 13% { opacity: 1; } 20% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sp-count-3 { 0% { opacity: 0; } 20% { opacity: 1; } 27% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sp-count-4 { 0% { opacity: 0; } 27% { opacity: 1; } 34% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sp-count-5 { 0% { opacity: 0; } 34% { opacity: 1; } 41% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sp-count-6 { 0% { opacity: 0; } 41% { opacity: 1; } 94% { opacity: 0; } 100% { opacity: 0; } }
@keyframes sp-test-1 { 0%, 54% { opacity: 0; } 57%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sp-test-2 { 0%, 60% { opacity: 0; } 63%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sp-test-3 { 0%, 66% { opacity: 0; } 69%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sp-passed { 0%, 72% { opacity: 0; } 78%, 94% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scene [class^="sc-"], .scene [class^="sf-"], .scene [class^="sm-"], .scene [class^="sp-"] { animation: none; } }
.story__pair { display: grid; gap: 24px; align-content: start; }
.story__phases { display: none; }
.story__phases + .story__options { margin-top: clamp(28px, 4vw, 48px); }
@media (prefers-reduced-motion: no-preference) {
  .story__pair { align-content: stretch; }
  .story__pair > * { grid-area: 1 / 1; }
  .story__pair > *, .story__phases span, .story__phases span::before { animation: 20s ease-in-out infinite; }
  .story__pair > :first-child, .story__phases span:first-child::before { animation-name: story-before; }
  .story__pair > :last-child, .story__phases span:last-child::before { animation-name: story-after; }
  .band h2 + .story__phases { display: inline-flex; gap: 4px; margin-top: 24px; padding: 4px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); }
  .story__phases span { position: relative; z-index: 0; padding: 6px 16px; border-radius: 999px; font-size: 0.875rem; font-weight: 600; }
  .story__phases span::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ink); }
  .story__phases span:first-child { animation-name: story-phase-before; }
  .story__phases span:last-child { animation-name: story-phase-after; }
  .story__phases + .story__options { margin-top: 20px; }
}
@keyframes story-before { 0%, 47.5% { opacity: 1; } 50%, 97.5% { opacity: 0; } 100% { opacity: 1; } }
@keyframes story-after { 0%, 47.5% { opacity: 0; } 50%, 97.5% { opacity: 1; } 100% { opacity: 0; } }
@keyframes story-phase-before { 0%, 47.5% { color: var(--white); } 50%, 97.5% { color: var(--muted); } 100% { color: var(--white); } }
@keyframes story-phase-after { 0%, 47.5% { color: var(--muted); } 50%, 97.5% { color: var(--white); } 100% { color: var(--muted); } }

/* Benefit cells: one bordered grid with hairlines between the cells (the 1px gap over a line-coloured
   background draws them). Each cell leads with a small picture of its idea, partials/vignette.njk. */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.benefits--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.benefits > div { background: var(--white); padding: 26px 26px 32px; }
.benefits dt { font-size: 1.25rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.benefits dd { margin-top: 8px; color: var(--muted); max-width: 52ch; }
/* A last cell left alone on its row takes the whole row, so the grid has no empty corner */
.benefits:not(.benefits--two) > div:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
.benefits--two > div:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Vignettes. The variables are the whole theme, so one drawing serves white cards and ink cards. */
.vg { --vg-line: #a9bcc1; --vg-card: var(--white); --vg-soft: #dbe6e9; --vg-mid: #9fb2b7; --vg-accent: var(--teal); --vg-accent-soft: #c4e7ea; --vg-text: var(--muted); --vg-strong: var(--ink);
  display: block; width: 100%; max-width: 380px; height: auto; margin-bottom: 22px; border-radius: 10px; background: var(--mist); }
.delivery .vg { --vg-line: #2f7079; --vg-card: var(--ink-raised); --vg-soft: #175660; --vg-mid: #3d848d; --vg-accent: var(--bright); --vg-accent-soft: #0f646e; --vg-text: var(--pale); --vg-strong: var(--white); background: var(--ink); }
.vg-o { fill: none; stroke: var(--vg-line); stroke-width: 1.5; }
.vg-d { fill: none; stroke: var(--vg-line); stroke-width: 1.5; stroke-dasharray: 4 4; }
.vg-c, .vg-card { fill: var(--vg-card); stroke: var(--vg-line); stroke-width: 1.5; }
.vg-card { stroke: none; }
.vg-s { fill: var(--vg-soft); }
.vg-m { fill: var(--vg-mid); }
.vg-a { fill: var(--vg-accent); }
.vg-as { fill: var(--vg-accent-soft); }
.vg-asc { fill: var(--vg-accent-soft); stroke: var(--vg-accent); stroke-width: 1.75; }
.vg-ao { fill: none; stroke: var(--vg-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vg-w { fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.delivery .vg-w { stroke: var(--ink); }
.vg-t, .vg-tm, .vg-ta { fill: var(--vg-text); font-size: 11px; }
.vg-tm { font-family: var(--mono); }
.vg-ta { fill: var(--vg-accent); font-weight: 600; }
.delivery .vg-ta { fill: var(--white); }
.vg-tb { fill: var(--vg-strong); font-size: 14px; font-weight: 700; }
.vg-tw { fill: var(--white); font-size: 13px; font-weight: 700; }
.vg-warn { fill: #fde9c8; stroke: #d98a3a; stroke-width: 1.5; }
.vg-ws { fill: #f6d9ae; }
.vg-wt { fill: #7a3a06; font-size: 11px; font-weight: 600; }

/* Steps: a real sequence, so it is numbered */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: step; position: relative; padding-top: 22px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step); position: absolute; top: 22px; right: 0; font-size: 2.5rem; line-height: 1; font-weight: 700; color: var(--line); }
.steps__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink); }
.steps h3 { margin-top: 18px; font-size: 1.25rem; }
.steps p { margin-top: 8px; color: var(--muted); }

/* A run, drawn as the two accounts it happens in */
.accounts { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 1.15fr); gap: 28px; position: relative; }
.accounts__box { background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 20px 24px 26px; }
.accounts__box--destination { border: 2px solid var(--teal); position: relative; }
.accounts__box--destination::before { content: ""; position: absolute; left: -30px; top: 50%; width: 28px; border-top: 2px solid var(--teal); }
.accounts__name { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.accounts__stages { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.accounts__stages li { position: relative; }
.accounts__stages li:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: 68px; right: -8px; border-top: 1.5px solid var(--line); }
.accounts__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink); background: var(--white); position: relative; z-index: 1; }
.accounts__box--destination .accounts__icon { border-color: var(--teal); background: var(--mist); color: var(--teal); }
.accounts__delivered { margin-top: 18px; }
.accounts h3 { margin-top: 14px; }
.accounts h3 + p { margin-top: 6px; font-size: 0.9375rem; color: var(--muted); }

/* How data is masked: a value and what it becomes, in the page top, the table and the method cards */
.crumb { margin: 0 0 14px; font-size: 0.9375rem; }
.page-head .crumb { margin-top: 0; }
.crumb a { color: var(--pale); text-decoration: none; }
.crumb a::before { content: "\2190\00a0"; }
.crumb a:hover { color: var(--white); text-decoration: underline; }
.swap { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-family: var(--mono); font-size: 0.875rem; }
.swap__before { color: var(--muted); text-decoration: line-through; text-decoration-color: #b4500b; }
.swap__arrow { color: var(--teal); font-family: var(--sans); }
.swap__after { color: var(--ink); background: #e3f4f5; border: 1px solid #bfe6ea; border-radius: 6px; padding: 2px 8px; }
.swaps { justify-self: end; width: 100%; max-width: 460px; display: grid; gap: 12px; }
.swaps li { background: var(--ink-raised); border: 1px solid var(--ink-line); border-radius: 12px; padding: 16px 18px; display: grid; gap: 8px; }
.swaps__kind { font-size: 0.875rem; font-weight: 600; color: var(--pale); }
.swaps .swap { font-size: 1rem; }
.swaps .swap__before { color: #c9dcdf; }
.swaps .swap__arrow { color: var(--bright); }
.swaps .swap__after { color: var(--white); background: #0f646e; border-color: var(--teal); }
.teaser { margin-top: clamp(32px, 5vw, 56px); background: var(--ink); color: var(--white); border-radius: 16px; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.teaser h3 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; }
.teaser p { margin-top: 14px; color: #c9dcdf; max-width: 46ch; }
.teaser .btn { margin-top: 24px; }
.kinds tbody th { white-space: nowrap; }
.kinds td { min-width: 240px; }
.kinds td:last-child { min-width: 300px; }
.benefits__example { margin-top: 16px; }
/* Who decides: four steps left to right, each joined to the next by an arrow, ending on the approval */
.decide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.decide li { position: relative; }
.decide li:not(:last-child)::before { content: ""; position: absolute; top: 28px; left: 68px; right: -18px; border-top: 2px solid var(--teal); }
.decide li:not(:last-child)::after { content: ""; position: absolute; top: 22px; right: -24px; border: 7px solid transparent; border-left-color: var(--teal); }
.decide__icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--teal); background: var(--white); color: var(--teal); position: relative; z-index: 1; }
.decide li:last-child .decide__icon { background: var(--teal); color: var(--white); }
.decide h3 { margin-top: 18px; font-size: 1.25rem; }
.decide p { margin-top: 8px; color: var(--muted); }
.vg-wx { fill: none; stroke: #7a3a06; stroke-width: 2; stroke-linecap: round; }

/* Who builds and runs Washery, beside the certification badge */
.team { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 6vw, 88px); align-items: center; }
.team__links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 600; }
.team__badge { display: block; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 28px 32px; }
.team__badge img { display: block; }

/* Where Washery comes from: the story beside three facts (two figures and the certification badge) */
.origin { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.origin__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.origin__facts li { background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 22px 24px; color: var(--muted); font-size: 0.9375rem; }
.origin__facts strong { display: block; margin-bottom: 6px; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.2rem); line-height: 1; letter-spacing: -0.03em; font-weight: 700; color: var(--ink); }
.origin__badge { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; }
.origin__badge img { display: block; }

/* Washery in your AWS accounts (security page): the diagram in a card, its steps and key under it. Numbers match
   the badges in the diagram. On a phone the diagram keeps a readable width and scrolls sideways. */
.architecture { background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: clamp(16px, 2.6vw, 32px); }
.architecture__scroll { overflow-x: auto; }
.architecture__scroll img { width: 100%; min-width: 760px; }
.architecture__notes { margin-top: clamp(24px, 3vw, 36px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.architecture__steps { counter-reset: step; display: grid; gap: 16px; }
.architecture__steps li { counter-increment: step; position: relative; padding-left: 48px; min-height: 32px; padding-top: 3px; }
.architecture__steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; border: 1.6px solid var(--teal); color: var(--teal); font-size: 0.9375rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.architecture__key { display: grid; gap: 14px; color: var(--muted); font-size: 0.9375rem; }
.architecture__key li { display: flex; align-items: center; gap: 14px; }
.architecture__line { flex: none; width: 36px; border-top: 2px solid var(--ink); position: relative; }
.architecture__line::after { content: ""; position: absolute; right: -1px; top: -6px; border: 5px solid transparent; border-left: 8px solid var(--ink); border-right: 0; }
.architecture__line--data { border-top: 3px solid var(--teal); }
.architecture__line--data::after { top: -6.5px; border-left-color: var(--teal); }
.architecture__download { display: inline-block; margin-top: 24px; font-weight: 600; color: var(--teal); }

/* A short HubSpot form in a card beside what it offers (security pack, larger databases: partials/hubspot-form.njk) */
.form-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hs-form { background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 32px); }
.hs-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-bottom: 22px; }
.hs-form__fields label { font-size: 0.9375rem; font-weight: 500; }
.hs-form__fields input, .hs-form__fields textarea { display: block; margin-top: 6px; width: 100%; height: 46px; padding: 0 12px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: inherit; }
.hs-form__fields textarea { height: auto; padding: 10px 12px; resize: vertical; }
.hs-form__wide { grid-column: 1 / -1; }
.hs-form__fields input:focus, .hs-form__fields textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 127, 138, 0.15); }
.hs-form__status:not(:empty) { margin-top: 14px; font-weight: 500; }
.pack__contents-heading { margin-top: clamp(28px, 4vw, 40px); font-size: 1rem; font-weight: 600; }
.pack__contents { margin-top: 16px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.pack__contents li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.pack__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--mist); color: var(--teal); }
.hs-form__consent { display: grid; gap: 14px; margin-bottom: 18px; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }
.hs-form__consent > div { display: grid; gap: 10px; align-content: start; }
.hs-form__end { display: grid; gap: 18px; font-size: 0.8125rem; line-height: 1.5; color: var(--muted); }
.hs-form__end .btn { justify-self: start; }
/* On its own across the page: fields three to a row, the consents side by side with their boxes level, the button
   beside the small print */
.hs-form--row .hs-form__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hs-form--row .hs-form__consent { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 32px; }
.hs-form--row .hs-form__consent > div { grid-row: span 2; grid-template-rows: subgrid; }
.hs-form--row .hs-form__end { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 32px; }
.hs-form__check { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 0.9375rem; }
.hs-form__check input { flex: none; margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal); }

/* What is where, and who charges for it: Washery beside AWS, half each; the two accounts stack, with when each
   resource exists on the right of its row */
.where { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.where__washery, .where__yours { border-radius: 14px; padding: clamp(20px, 2.4vw, 28px); }
.where__washery { background: var(--ink); color: var(--white); }
.where__yours { background: var(--white); border: 1.5px solid var(--line); }
.where__name { font-size: 1.25rem; font-weight: 700; }
.where__bill { margin-top: 4px; font-size: 0.9375rem; color: var(--muted); }
.where__washery .where__bill { color: var(--pale); }
.where__accounts { margin-top: 20px; display: grid; gap: 16px; }
.where__account { background: var(--mist); border: 1.5px solid var(--line); border-radius: 10px; padding: 16px 18px 8px; }
.where__account--destination { border-color: var(--teal); }
.where__account-name { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.where__parts { margin-top: 20px; }
.where__account .where__parts { margin-top: 6px; }
.where__parts li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; padding-block: 12px; font-size: 0.9375rem; color: var(--muted); }
.where__parts li + li { border-top: 1px solid var(--line); }
.where__washery .where__parts li { color: var(--pale); align-items: start; }
.where__account .where__parts li { grid-template-columns: 40px minmax(0, 1fr) auto; }
.where__washery .where__parts li + li { border-top-color: var(--ink-line); }
.where__parts strong { font-size: 1rem; font-weight: 600; color: var(--ink); }
.where__washery .where__parts strong { color: var(--white); }
.where__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--teal); }
.where__washery .where__icon { border-color: var(--ink-line); background: var(--ink-raised); color: var(--pale); }
.where__when { grid-column: 3; white-space: nowrap; padding: 2px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.where__when--run { color: #7a3a06; background: #fde9c8; border-color: #e9c48f; }

/* What exists when: a bar across the phases each thing is there for */
.life { width: 100%; min-width: 640px; border-collapse: collapse; }
.life thead th { padding: 12px 8px; font-size: 0.875rem; font-weight: 600; color: var(--muted); text-align: center; border-bottom: 1.5px solid var(--ink); }
.life tbody th { padding: 14px 16px 14px 0; text-align: left; font-weight: 400; font-size: 0.9375rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.life__label { display: flex; align-items: center; gap: 14px; }
.life tbody th strong { font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.life tbody th .icon { color: var(--teal); }
.life td { width: 21%; padding: 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
/* One 10 second cycle: between runs, during a run (the temporary things appear, then go), after the run
   (the masked copy is there). The highlighted column is the phase being shown. */
.life__phase { animation: 10s linear infinite; }
.life__phase--1 { animation-name: life-phase-1; }
.life__phase--2 { animation-name: life-phase-2; }
.life__phase--3 { animation-name: life-phase-3; }
@keyframes life-phase-1 { 0%, 18% { background-color: #e6eef0; } 22%, 96% { background-color: transparent; } 100% { background-color: #e6eef0; } }
@keyframes life-phase-2 { 0%, 18% { background-color: transparent; } 22%, 58% { background-color: #e6eef0; } 62%, 100% { background-color: transparent; } }
@keyframes life-phase-3 { 0%, 58% { background-color: transparent; } 62%, 96% { background-color: #e6eef0; } 100% { background-color: transparent; } }
.life thead .life__phase { color: var(--ink); }
.life__bar--run, .life__bar--delivered { transform-origin: left center; animation: 10s ease-out infinite; }
.life__bar--run { animation-name: life-run; }
.life__bar--delivered { animation-name: life-delivered; }
.life tbody tr:nth-child(3) .life__bar--run { animation-delay: 0.25s; }
.life tbody tr:nth-child(4) .life__bar--run { animation-delay: 0.5s; }
@keyframes life-run { 0%, 20% { transform: scaleX(0); opacity: 1; } 32%, 56% { transform: scaleX(1); opacity: 1; } 62%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes life-delivered { 0%, 60% { transform: scaleX(0); opacity: 1; } 72%, 94% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .life__phase, .life__bar--run, .life__bar--delivered { animation: none; }
  .life__phase--2 { background-color: #e6eef0; }
}
.life__bar { display: block; height: 16px; margin-inline: 10px; border-radius: 8px; background: #c3d3d7; border: 1.5px solid #9fb6bb; }
.life__bar--from { margin-left: 0; border-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.life__bar--to { margin-right: 0; border-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.life__bar--delivered { background: #bfe6ea; border-color: var(--teal); }

/* Delivery: the sentence is the headline */
.delivery h2 { max-width: 26ch; }
.delivery__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.delivery__options article { background: var(--ink-raised); border: 1px solid var(--ink-line); border-radius: 14px; padding: clamp(24px, 3vw, 36px); }
.delivery__what { font-size: 1rem; font-weight: 600; color: var(--bright); }
.delivery__options h3 { margin-top: 6px; font-size: clamp(1.4rem, 1rem + 1.2vw, 1.875rem); line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; text-wrap: balance; }
.delivery__options h3 + p { margin-top: 12px; color: #c9dcdf; max-width: 46ch; }

/* Audiences */
.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 88px); }
.audiences article { padding-block: 26px; border-top: 1px solid var(--line); }
.audiences__who { font-size: 0.9375rem; font-weight: 600; color: var(--teal); }
.audiences h3 { margin-top: 6px; font-size: 1.25rem; }
.audiences h3 + p { margin-top: 8px; color: var(--muted); max-width: 52ch; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.prices__item { padding: 32px 28px; border-right: 1px solid var(--line); }
.prices__item:last-child { border-right: 0; }
.prices__item--first { background: var(--mist); }
.prices__amount { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; font-weight: 700; letter-spacing: -0.03em; }
.prices__amount span { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.prices h2 { margin-top: 18px; font-size: 1.125rem; letter-spacing: 0; line-height: 1.3; font-weight: 600; max-width: none; }
.prices h2 + p { margin-top: 8px; color: var(--muted); font-size: 0.9875rem; }
.prices__action { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.prices__link { font-weight: 600; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); }
.plain { display: grid; gap: 14px; }
.plain li { padding-left: 18px; border-left: 2px solid var(--bright); color: var(--ink); }

/* Tables */
/* position: relative keeps the visually hidden labels inside the scrolling box, so they cannot widen the page */
.table-scroll { overflow-x: auto; position: relative; }
.grid { width: 100%; border-collapse: collapse; font-size: 0.9875rem; }
.grid th, .grid td { text-align: left; vertical-align: top; padding: 14px 20px 14px 0; border-bottom: 1px solid var(--line); }
.grid thead th { font-size: 0.875rem; font-weight: 600; color: var(--muted); border-bottom: 1.5px solid var(--ink); }
.grid tbody th { font-weight: 600; }
.grid td { color: var(--muted); }
.grid .num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; white-space: nowrap; }
.grid tfoot th, .grid tfoot td { border-bottom: 0; border-top: 1.5px solid var(--ink); font-weight: 700; color: var(--ink); }
.grid code { font-family: var(--mono); font-size: 0.92em; }
.grid .num:not(:last-child) { padding-right: 20px; }
.grid--wide { min-width: 680px; }
.grid--wide th[scope="row"] { min-width: 13rem; }
.method tbody th { width: 11rem; }

/* Performance: the measured figures, in the bordered grid the cards use, and the report line above the heading */
.report { margin: 0 0 14px; font-size: 0.9375rem; font-weight: 600; color: var(--pale); }
.page-head .report { margin-top: 0; }
/* Performance: the benchmark report. Filters and sorting come from site.js; without JavaScript every run shows */
.filters { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 20px; }
.filters label { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; font-weight: 600; }
.filters select { height: 40px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); font: inherit; font-weight: 400; }
.band h2 + .filters { margin-top: 24px; }
.results th button { all: unset; cursor: pointer; }
.results td, .results tbody th { white-space: nowrap; }
.results td small, .results th small { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--muted); font-weight: 400; }
.results th button::after { content: " \2195"; color: var(--line); }
.results th[aria-sort] button::after { color: var(--teal); }
.results th[aria-sort="ascending"] button::after { content: " \2191"; }
.results th[aria-sort="descending"] button::after { content: " \2193"; }
.grid caption { caption-side: top; text-align: left; padding-bottom: 10px; font-weight: 600; }
.table-scroll + .table-scroll { margin-top: 40px; }
.legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.9375rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend__key { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.timeline { margin-top: 32px; }
.timeline h3 { font-size: 1rem; margin-bottom: 12px; }
.timeline__row + .timeline__row { margin-top: 14px; }
.timeline__label { display: flex; justify-content: space-between; max-width: 900px; font-size: 0.9375rem; font-weight: 600; }
.timeline__label span { font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline__bar { display: block; width: 100%; max-width: 900px; height: 22px; margin-top: 6px; border-radius: 4px; }
.seg--prepare { fill: var(--muted); background: var(--muted); }
.seg--mask { fill: var(--teal); background: var(--teal); }
.seg--scan { fill: var(--pale); background: var(--pale); }
.seg--snapshot { fill: var(--bright); background: var(--bright); }
.seg--encrypt { fill: var(--ink); background: var(--ink); }
.seg--destination { fill: var(--success); background: var(--success); }
.seg--file { fill: var(--ink-line); background: var(--ink-line); }
.seg--cleanup { fill: var(--line); background: var(--line); }
.figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.figures > div { background: var(--white); padding: 26px 26px 30px; }
.figures dt { font-size: clamp(2rem, 1.4rem + 1.8vw, 2.75rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.figures dd { margin-top: 10px; color: var(--muted); max-width: 34ch; }

/* Help: the index is the card grid with each title a link that covers its card; an article is one column of prose */
.help-find { margin-top: 28px; max-width: 520px; }
.help-find label { display: block; font-size: 0.9375rem; font-weight: 500; color: #c9dcdf; }
.help-find input { margin-top: 8px; width: 100%; height: 48px; padding: 0 14px; border-radius: 8px; border: 1.5px solid var(--ink-line); background: var(--ink-raised); color: var(--white); font: inherit; }
.help-find input::placeholder { color: #9fbcc1; }
.help-cards > div { position: relative; }
.help-cards dt a { color: var(--ink); text-decoration: none; }
.help-cards dt a::after { content: ""; position: absolute; inset: 0; }
.help-cards > div:hover dt a { color: var(--teal); text-decoration: underline; }
.art-help__tick { fill: none; stroke: var(--pale); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art-help__line { fill: none; stroke: #c9dcdf; stroke-width: 2; stroke-linecap: round; opacity: 0.55; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: clamp(40px, 5vw, 56px); }
.prose > h2:first-child { margin-top: 0; }
.prose h2 + * { margin-top: 20px; }
.prose p, .prose li { max-width: 70ch; }
.prose ul, .prose ol { display: grid; gap: 12px; }
.prose ul > li { position: relative; padding-left: 22px; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.prose ol { counter-reset: step; gap: 16px; }
.prose ol > li { counter-increment: step; position: relative; padding-left: 48px; min-height: 32px; padding-top: 2px; }
.prose ol > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; border: 1.6px solid var(--teal); color: var(--teal); font-size: 0.9375rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.prose .shot { margin-top: 28px; margin-bottom: 12px; }
.prose .shot img { border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 1px 3px rgba(3, 52, 59, 0.08); }
.prose .shot figcaption { margin-top: 10px; max-width: 70ch; font-size: 0.875rem; color: var(--muted); }
.prose code { font-family: var(--mono); font-size: 0.92em; background: var(--mist); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.prose pre { padding: 18px 20px; border-radius: 10px; background: var(--ink); color: #e6f6f8; overflow-x: auto; font-size: 0.875rem; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; font-size: inherit; overflow-wrap: normal; }
.prose__links { font-weight: 600; }
.prose ul.prose__links > li { padding-left: 0; }
.prose ul.prose__links > li::before { content: none; }

/* Questions */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-size: 1.125rem; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); max-width: 68ch; }

/* Cookie consent: CookieConsent's own stylesheet (css/cookieconsent.css, added by js/consent.js), in the
   site's colours and type. Fixed here too, so the banner is never in the page's flow before that stylesheet arrives */
#cc-main { position: fixed; --cc-font-family: var(--sans); --cc-bg: var(--white); --cc-primary-color: var(--ink); --cc-secondary-color: var(--muted); --cc-link-color: var(--teal);
  --cc-btn-primary-bg: var(--ink); --cc-btn-primary-border-color: var(--ink); --cc-btn-primary-color: var(--white); --cc-btn-primary-hover-bg: var(--teal); --cc-btn-primary-hover-border-color: var(--teal); --cc-btn-primary-hover-color: var(--white);
  --cc-btn-secondary-bg: var(--mist); --cc-btn-secondary-border-color: var(--line); --cc-btn-secondary-color: var(--ink); --cc-btn-secondary-hover-bg: var(--line); --cc-btn-secondary-hover-border-color: var(--line); --cc-btn-secondary-hover-color: var(--ink);
  --cc-toggle-on-bg: var(--teal); --cc-toggle-off-bg: #9fb2b7; --cc-toggle-readonly-bg: var(--line);
  --cc-cookie-category-block-bg: var(--mist); --cc-cookie-category-block-border: var(--line); --cc-cookie-category-block-hover-bg: #eaf1f3; --cc-cookie-category-block-hover-border: var(--line); --cc-cookie-category-expanded-block-bg: var(--white); --cc-cookie-category-expanded-block-hover-bg: var(--mist);
  --cc-separator-border-color: var(--line); --cc-footer-bg: var(--mist); --cc-footer-border-color: var(--line); --cc-footer-color: var(--muted); --cc-overlay-bg: rgba(3, 52, 59, 0.6); --cc-btn-border-radius: 8px; --cc-modal-border-radius: 14px; }
.site-footer__button { background: none; border: 0; padding: 0; font: inherit; color: var(--white); cursor: pointer; }
.site-footer__button:hover { color: var(--pale); text-decoration: underline; }

/* Closing call to action and footer */
.closing { background: var(--teal); color: var(--white); padding-block: clamp(44px, 6vw, 72px); }
.closing__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.closing h2 { max-width: none; }
.closing p { margin-top: 10px; max-width: 60ch; }
.site-footer { background: var(--ink); color: #c9dcdf; padding-block: 48px; font-size: 0.9375rem; }
.site-footer__in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.site-footer img { height: 32px; width: auto; }
.site-footer p { margin-top: 14px; max-width: 44ch; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: flex-end; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--pale); text-decoration: underline; }
.site-footer__by { grid-column: 1 / -1; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--ink-line); max-width: none; }

@media (max-width: 960px) {
  .benefits, .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits:not(.benefits--two) > div:last-child:nth-child(3n + 1) { grid-column: auto; }
  .benefits > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decide { grid-template-columns: 1fr; gap: 0; }
  .decide li { padding: 0 0 28px 78px; min-height: 86px; }
  .decide__icon { position: absolute; left: 0; top: 0; }
  .decide h3 { margin-top: 0; padding-top: 4px; }
  .decide li:not(:last-child)::before { top: 58px; bottom: 0; left: 28px; right: auto; border-top: 0; border-left: 2px solid var(--teal); }
  .decide li:not(:last-child)::after { display: none; }
  .accounts { grid-template-columns: 1fr; }
  .architecture__notes, .form-band, .hs-form__fields, .hs-form--row .hs-form__fields, .hs-form--row .hs-form__consent, .hs-form--row .hs-form__end { grid-template-columns: 1fr; }
  .hs-form--row .hs-form__consent > div { grid-row: auto; grid-template-rows: none; }
  .where { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; justify-items: start; }
  .origin { grid-template-columns: 1fr; }
  .accounts__box--destination::before { left: 50%; top: -30px; width: 0; height: 28px; border-top: 0; border-left: 2px solid var(--teal); }
  .accounts__stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .accounts__stages li:not(:last-child)::after { display: none; }
  .prices { grid-template-columns: 1fr; }
  .prices__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .prices__item:last-child { border-bottom: 0; }
}
@media (max-width: 820px) {
  .flow { display: none; }
  .engines__grid { grid-template-columns: 1fr; }
  .flow-list { display: grid; max-width: 340px; margin-inline: auto; }
  .site-header__toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 76px; z-index: 5; background: var(--ink); border-top: 1px solid var(--ink-line); padding: 20px var(--gutter) 28px; flex-direction: column; align-items: stretch; gap: 20px; }
  .site-nav.is-open { display: flex; }
  .site-header { position: relative; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { display: block; padding-block: 10px; }
  .site-nav__actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .site-nav__signin { padding-block: 6px; }
  .story__options, .delivery__options, .benefits, .figures, .audiences, .split, .site-footer__in, .page-head__in { grid-template-columns: 1fr; }
  .art { justify-self: start; }
  .swaps { justify-self: start; }
  .teaser { grid-template-columns: 1fr; }
  .benefits > div:last-child:nth-child(odd), .benefits--two > div:last-child:nth-child(odd) { grid-column: auto; }
  .site-footer ul { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .where__account .where__parts li { grid-template-columns: 40px minmax(0, 1fr); }
  .where__when { grid-column: 2; justify-self: start; margin-top: 8px; }
  .steps { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Films (partials/film.njk): the poster with a play pill in the corner, then the browser's controls */
.film { position: relative; border-radius: 14px; overflow: hidden; background: var(--mist); border: 1px solid var(--line); box-shadow: 0 16px 48px rgba(3, 52, 59, 0.14); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.film .film__tall { display: none; }
@media (max-width: 640px) {
  .film--tall .film__wide { display: none; }
  .film--tall .film__tall { display: block; aspect-ratio: 4 / 5; }
}
.film__play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: clamp(14px, 2.4vw, 28px); background: transparent; border: 0; cursor: pointer; }
.film__play[hidden] { display: none; }
.film__pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 18px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 1rem; font-weight: 600; box-shadow: 0 8px 28px rgba(3, 52, 59, 0.3); transition: background 0.15s ease, transform 0.15s ease; }
.film__pill::before { content: ""; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }
.film__pill span { color: var(--pale); font-weight: 500; font-variant-numeric: tabular-nums; }
.film__play:hover .film__pill { background: var(--teal); transform: translateY(-1px); }
.film__play:focus-visible { outline: 3px solid var(--bright); outline-offset: -3px; }
.watch { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.watch::before { content: ""; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.watch:hover { text-decoration: underline; }
.hero .watch, .page-head .watch { color: var(--pale); }
.hero__watch { margin-top: 22px; }
.page-head .help-watch { margin-top: 18px; font-size: 1rem; }
.band h2.sr-only + * { margin-top: 0; }
