/* Countersign: the home page, the contact page and the 404 page.
   One light page with one dark navy band. Brand: blue #226192 (the pen), red #B3261E (stopped),
   green #17734A (matched), orange #F27236 (the spark in the logo). */
:root {
  --bg: #ffffff; --bg-2: #f5f7fa; --card: #ffffff; --ink: #0c1a2b; --ink-2: #3d4b5c; --muted: #5b687d;
  --rule: #e5e9ef; --rule-2: #d2d9e2;
  --navy: #0a1b2e; --navy-2: #10263f; --navy-ink: #e9eef5; --navy-muted: #9fb2c8; --navy-rule: rgba(233, 238, 245, .12);
  --spark: #f27236; --pen: #226192; --pen-2: #1b527d; --pen-ink: #ffffff; --pen-text: #226192; --pen-soft: #e8f0f7;
  --stop: #b3261e; --stop-soft: #fbeceb; --clear: #17734a; --tile: #12151c; --tile-ink: #ffffff;
  /* the Countersign wash: the pen's blue and the spark's orange, used in a few places only */
  --wash-blue: #9cc3e4; --wash-orange: #f9b48f; --wash-mist: #c9dcec;
  --sig: linear-gradient(90deg, #226192 0%, #7db4e0 45%, #f9b48f 75%, #f27236 100%);
  --font-ui: "IBM Plex Sans", system-ui, sans-serif; --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-sign: "Mrs Saint Delafield", "Snell Roundhand", cursive;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 12px 32px -8px rgba(0, 0, 0, .14);
  --shadow-up: 0 2px 4px rgba(0, 0, 0, .05), 0 24px 48px -12px rgba(0, 0, 0, .22);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-padding-top: 88px; }
body { background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; }
a { color: var(--pen-text); text-underline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; text-wrap: balance; }
p, dd, .lead { text-wrap: pretty; }
h2 { font-size: 44px; line-height: 1.12; font-weight: 600; max-width: 24ch; }
h2 .soft, h1 .soft { color: var(--muted); }
.lead { color: var(--ink-2); font-size: 18px; margin: 18px 0 0; max-width: 60ch; }
.mono { font-family: var(--font-mono); }
.fine { font-size: 14px; color: var(--muted); }
::selection { background: #d5e4f1; color: var(--ink); }
:focus-visible { outline: 2px solid var(--pen); outline-offset: 3px; border-radius: 4px; }
section { padding: 120px 0; }

/* buttons: step up on hover, press on click */
.btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1.5px solid var(--rule-2); color: var(--ink); background: var(--card); cursor: pointer; font-family: inherit;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.btn.primary { background: var(--pen); border-color: var(--pen); color: var(--pen-ink); }
.btn .arr { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-1px); border-color: var(--pen); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .25); }
.btn.primary:hover { background: var(--pen-2); border-color: var(--pen-2); }
.btn:hover .arr { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; transition-duration: .08s; }

/* header: solid, so nothing shows through it while the page scrolls */
header#top { position: sticky; top: 0; z-index: 40; background: var(--bg); padding: 16px 0; border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
header#top.scrolled { border-bottom-color: var(--rule); box-shadow: 0 6px 20px -14px rgba(0, 0, 0, .3); }
header .wrap { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; view-transition-name: brand; }
.tile { width: 40px; height: 40px; border-radius: 9px; background: var(--tile); color: var(--tile-ink); display: grid; place-items: center; }
.brand .logo-word { height: 20px; width: auto; }
nav { display: flex; gap: 30px; }
nav a { color: var(--ink-2); text-decoration: none; font-size: 15.5px; font-weight: 500; position: relative; padding: 4px 0; transition: color .2s; }
nav a:hover { color: var(--ink); }
nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
nav a:hover::after { transform: scaleX(1); transform-origin: left; }
header .btn { padding: 8px 18px; font-size: 15px; }
header .wrap > .btn + .btn { margin-left: -16px; }

/* ================= Hero ================= */
.hero { position: relative; overflow: hidden; padding: 72px 0 112px; isolation: isolate; }
/* a slow wash of the brand colours behind the record, under a faint dot grid */
.wash { position: absolute; inset: -20% -10% 0 38%; z-index: -2; pointer-events: none; filter: blur(60px); opacity: .55; }
.wash i { position: absolute; border-radius: 50%; will-change: transform; }
.wash i:nth-child(1) { width: 46%; height: 60%; left: 10%; top: 12%; background: var(--wash-blue); animation: drift1 18s ease-in-out infinite alternate; }
.wash i:nth-child(2) { width: 34%; height: 46%; left: 48%; top: 6%; background: var(--wash-orange); animation: drift2 22s ease-in-out infinite alternate; }
.wash i:nth-child(3) { width: 40%; height: 50%; left: 32%; top: 44%; background: var(--wash-mist); animation: drift3 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14%, 10%) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-18%, 16%) scale(.9); } }
@keyframes drift3 { to { transform: translate(10%, -14%) scale(1.15); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(0, 0, 0, .13) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 70%); mask-image: linear-gradient(100deg, transparent 35%, #000 70%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero h1 { font-size: 64px; line-height: 1.04; font-weight: 600; letter-spacing: -.035em; max-width: 13ch; }
.hero .lead { font-size: 19px; margin-top: 26px; max-width: 46ch; }
.go { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 16px; }

/* the record: a ruled form with a light that follows the pointer */
.record { position: relative; background: var(--card); border: 1px solid var(--rule-2); border-radius: 10px; padding: 0 28px 4px; box-shadow: var(--shadow-up); }
.record::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 97, 146, .07), transparent 60%); }
.record:hover::after { opacity: 1; }
.rec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 18px 0 12px; border-bottom: 2px solid var(--ink); font-size: 14px; color: var(--muted); }
.rec-h b { color: var(--ink); font-weight: 600; }
.rec-h .mono { font-size: 13px; }
.rec-title { font-size: 22px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; margin: 16px 0 4px; max-width: none; }
.fields { margin: 0; }
.fields > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.fields > div:last-child { border-bottom: 0; }
.fields dt { color: var(--muted); font-size: 14px; }
.fields dd { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.money { font: 500 18px var(--font-mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.was { color: var(--muted); margin-right: 10px; position: relative; }
.was::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 2px; background: var(--stop); transform-origin: left; transform: scaleX(1); }
.now { color: var(--stop); font: 600 24px var(--font-mono); }
.why { display: block; font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.ok { color: var(--clear); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.ok svg, .flag svg { width: 16px; height: 16px; flex: none; }
.flag { display: inline-flex; align-items: center; gap: 6px; color: var(--stop); font-weight: 600; }
.result dd { color: var(--ink); }
.rec-end { padding: 13px 0 14px; border-top: 1px solid var(--ink); font-size: 14.5px; color: var(--ink-2); }
.rec-end .k { color: var(--muted); margin-right: 8px; }

/* the hero enters once on load; then the amount is struck and replaced, once */
.m-enter [data-enter] > * { opacity: 0; transform: translateY(16px); }
.m-enter.m-enter-done [data-enter] > * { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.m-enter.m-enter-done [data-enter] > :nth-child(2) { transition-delay: .08s; }
.m-enter.m-enter-done [data-enter] > :nth-child(3) { transition-delay: .16s; }
.m-enter.m-enter-done [data-enter] > :nth-child(4) { transition-delay: .22s; }
.m-enter.m-enter-done [data-enter] > :nth-child(5) { transition-delay: .28s; }
.record.play .was::after { transform: scaleX(0); }
.record.play .now, .record.play .why, .record.play .result dd { opacity: 0; }
.record.play.done .was::after { transform: scaleX(1); transition: transform .45s var(--ease) .1s; }
.record.play.done .now { opacity: 1; transition: opacity .5s ease .5s; }
.record.play.done .why { opacity: 1; transition: opacity .5s ease .7s; }
.record.play.done .result dd { opacity: 1; transition: opacity .5s ease 1.1s; }

/* ================= The replay ================= */
.replay { background: var(--bg-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.replay-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; margin-top: 56px; align-items: start; }
.feed { background: var(--card); border: 1px solid var(--rule-2); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
.feed-h { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.feed-h b { color: var(--ink); font-weight: 600; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--stop); flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(179, 38, 30, 0); } 100% { box-shadow: 0 0 0 0 rgba(179, 38, 30, 0); } }
.feed-h .count { margin-left: auto; font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.pause { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule-2); background: var(--card); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; padding: 0; transition: border-color .2s, color .2s; }
.pause:hover { border-color: var(--pen); color: var(--pen); }
.pause svg { width: 12px; height: 12px; }
.feed table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.feed th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--muted); padding: 10px 18px; border-bottom: 1px solid var(--rule); background: var(--bg-2); }
.feed td { padding: 12px 18px; border-bottom: 1px solid var(--rule); font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.feed td.app { font-family: var(--font-ui); color: var(--ink-2); }
.feed .n { text-align: right; }
.feed td.bad { color: var(--stop); font-weight: 600; }
.feed tbody { display: table-row-group; }
.feed tbody tr { transition: background-color .2s; }
.feed tbody tr:hover { background: var(--pen-soft); }
.feed tbody tr.in { animation: row-in .6s var(--ease); }
@keyframes row-in { from { opacity: 0; transform: translateY(-10px); background: var(--stop-soft); } 40% { background: var(--stop-soft); } }
.feed tbody tr:last-child td { border-bottom: 0; }
.facts { margin: 0; }
.facts > div { padding: 22px 0; border-top: 1px solid var(--rule-2); }
.facts > div:first-child { border-top: 2px solid var(--ink); }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }
.facts dd b { color: var(--ink); font-weight: 600; }
.facts .big { display: block; font: 600 34px/1.1 var(--font-mono); color: var(--ink); letter-spacing: -.02em; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.bars { display: grid; gap: 10px; margin-top: 10px; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 14.5px; }
.bar span:nth-child(2) { font-family: var(--font-mono); color: var(--ink); }
.bar i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--rule); position: relative; overflow: hidden; }
.bar i::before { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--stop); border-radius: inherit; }

/* ================= Dark band: the systems ================= */
.systems { background: var(--navy); color: var(--navy-ink); position: relative; overflow: hidden; isolation: isolate; }
.systems::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(233, 238, 245, .16) 1px, transparent 1.4px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 85%); }
/* the dots brighten under the pointer */
.systems::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .5s;
  background-image: radial-gradient(circle, rgba(242, 114, 54, .9) 1.1px, transparent 1.6px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), #000, transparent 70%); mask-image: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), #000, transparent 70%); }
.systems.lit::after { opacity: .7; }
.systems h2 { color: var(--navy-ink); }
.systems h2 .soft { color: var(--navy-muted); }
.systems .lead { color: var(--navy-muted); }
.systems .panel { --p-h: 440px; margin-top: 48px; }
.systems .dg { --ink: var(--navy-ink); --muted: var(--navy-muted); --card: var(--navy-2); --accent: var(--spark); --accent-ink: var(--navy); --font-text: var(--font-ui); --r-sm: 8px; }
.sys-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin: 40px 0 0; border-top: 1px solid var(--navy-rule); }
.sys-facts > div { padding-top: 22px; }
.sys-facts dt { font-weight: 600; color: var(--navy-ink); }
.sys-facts dd { margin: 6px 0 0; color: var(--navy-muted); font-size: 15.5px; }

/* ================= A decision, signed ================= */
.decide-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.record.small .fields > div { grid-template-columns: 130px minmax(0, 1fr); }
.rec-sign { padding: 20px 0 18px; max-width: 360px; }
.rec-sign .name { font: 54px/1 var(--font-sign); color: var(--pen-text); padding-bottom: 4px; }
.rec-sign .rule { border-top: 1.5px solid var(--ink); padding-top: 8px; color: var(--muted); font-size: 14px; }
.rec-sign.ready .name { clip-path: inset(0 100% 0 0); }
.rec-sign.ready.done .name { clip-path: inset(0 0 0 0); transition: clip-path 1.5s cubic-bezier(.45, 0, .2, 1) .2s; }

/* ================= How it decides ================= */
.how-sec { border-top: 1px solid var(--rule); }
.how-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.how-grid > div:first-child { position: sticky; top: 120px; }
.how { margin: 0; border-top: 2px solid var(--ink); }
.how > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.how .ic { grid-row: span 2; width: 36px; height: 36px; border-radius: 8px; background: var(--pen-soft); color: var(--pen); display: grid; place-items: center; transition: background-color .25s, color .25s; }
.how .ic svg { width: 18px; height: 18px; }
.how > div:hover .ic { background: var(--pen); color: var(--pen-ink); }
.how dt { font-weight: 600; color: var(--ink); font-size: 17px; }
.how dd { margin: 0; color: var(--ink-2); max-width: 58ch; }

/* ================= Video ================= */
.film { background: var(--bg-2); border-top: 1px solid var(--rule); }
.video { position: relative; margin-top: 44px; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-up); }
.video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }

/* ================= Close ================= */
.close { padding: 128px 0; }
.close h2 { max-width: 20ch; }
.builders { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 16px 64px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule); }
.builders b { display: block; font-weight: 600; color: var(--ink); font-size: 17px; }
.builders span { color: var(--ink-2); }

/* ================= Footer: a dark band that closes the page ================= */
.site-foot { background: #0e1014; color: #c2c7d0; margin-top: 0; padding: 76px 0 0; }
.site-foot a { color: #c2c7d0; text-decoration: none; transition: color .2s; }
.site-foot a:hover { color: #ffffff; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 56px; padding-bottom: 60px; }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; color: #e9ebef !important; }
.foot-logo .tile { background: #e9ebef; color: #0e1014; }
.foot-logo .logo-word { height: 21px; width: auto; }
.foot-brand p { margin: 18px 0 0; font-size: 17px; line-height: 1.5; color: #e9ebef; max-width: 30ch; }
.foot-go { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.site-foot .btn { padding: 10px 18px; font-size: 15px; }
.site-foot .btn.primary { background: #7db4e0; border-color: #7db4e0; color: #0e1014; }
.site-foot .btn.primary:hover { background: #9bc6ea; border-color: #9bc6ea; color: #0e1014; }
.site-foot .btn:not(.primary) { background: none; border-color: #3a414d; color: #e9ebef; }
.site-foot .btn:not(.primary):hover { border-color: #8a92a0; background: rgba(255, 255, 255, .04); color: #ffffff; }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.5fr); gap: 32px; }
.foot-cols h4 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8a92a0; }
.foot-cols a { display: block; font-size: 15px; padding: 5px 0; overflow-wrap: break-word; }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; border-top: 1px solid #252a33; padding-top: 22px; padding-bottom: 30px; font-size: 13.5px; color: #8a92a0; }
.foot-note { margin-right: auto; }
.to-top { display: inline-flex; align-items: center; gap: 6px; }
.to-top span { transition: transform .25s var(--ease); }
.to-top:hover span { transform: translateY(-3px); }

/* ================= The opening: the mark is inked in, full screen, once per visit ================= */
.intro[hidden] { display: none; }
.intro { position: fixed; inset: 0; z-index: 50; background: #0e1014; color: #e9ebef; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; }
.intro .logo-mark { height: min(44vh, 340px); width: auto; color: #e9ebef; overflow: visible; }
.intro .logo-word { height: min(8vh, 66px); width: auto; color: #e9ebef; opacity: 0; transform: translateY(18px); }
.intro .hk { stroke: currentColor; stroke-width: 6; stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; }
.intro .spk { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.intro.play .hk1 { animation: ink 1.7s .2s cubic-bezier(.55, 0, .3, 1) forwards; }
.intro.play .hk2 { animation: ink 1.7s .7s cubic-bezier(.55, 0, .3, 1) forwards; }
.intro.play .spk { animation: spark .6s 2.35s cubic-bezier(.3, 1.7, .5, 1) forwards; }
.intro.play .logo-word { animation: rise .9s 2.5s cubic-bezier(.2, .7, .2, 1) forwards; }
.intro.leave { animation: leave 1s cubic-bezier(.7, 0, .2, 1) forwards; }
.intro.leave .logo-mark, .intro.leave .logo-word { animation: grow 1s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes ink { 70% { stroke-dashoffset: 0; fill-opacity: 0; stroke-width: 6; } 100% { stroke-dashoffset: 0; fill-opacity: 1; stroke-width: 0; } }
@keyframes spark { 60% { transform: scale(1.5); } to { transform: scale(1); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes leave { 40% { opacity: 1; } to { opacity: 0; visibility: hidden; } }
@keyframes grow { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(1.25); } }
.intro-skip { position: absolute; bottom: 28px; font-size: 14px; color: #8a92a0; background: none; border: 0; cursor: pointer; font-family: inherit; }
body.intro-on { overflow: hidden; }

/* ================= The contact page and the 404 page ================= */
.contact-page { padding-top: 56px; padding-bottom: 110px; }
.contact-page h1 { font-size: 60px; line-height: 1.05; font-weight: 600; letter-spacing: -.03em; max-width: 14ch; }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 44px; max-width: 860px; }
.way { background: var(--card); border: 1px solid var(--rule-2); border-radius: 10px; padding: 26px 28px; text-decoration: none; color: var(--ink); display: block;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .2s; }
.way:hover { border-color: var(--pen); transform: translateY(-2px); box-shadow: var(--shadow); }
.way .label { font-size: 14px; color: var(--muted); font-weight: 500; }
.way .value { display: block; font-size: 24px; font-weight: 600; margin-top: 8px; color: var(--pen-text); overflow-wrap: anywhere; }
.way .how { display: block; font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.expect { margin-top: 56px; max-width: 760px; }
.expect h2 { font-size: 26px; max-width: none; }
.expect ul { margin: 16px 0 0; padding-left: 20px; color: var(--ink-2); }
.expect li + li { margin-top: 8px; }

/* ================= Page transitions =================
   Browsers that support it cross-fade natively and keep the logo in place; others use transitions.js. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
::view-transition-group(brand) { animation-duration: .5s; animation-timing-function: var(--ease); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); filter: blur(2px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
html.page-out main { opacity: 0; transform: translateY(-10px); filter: blur(3px); transition: opacity .22s ease, transform .22s ease, filter .22s ease; }
html.page-in .contact-page > * { animation: stage-in .7s var(--ease) backwards; }
html.page-in .contact-page > :nth-child(2) { animation-delay: .08s; }
html.page-in .contact-page > :nth-child(n+3) { animation-delay: .16s; }
@keyframes stage-in { from { opacity: 0; transform: translateY(18px); } }

/* ================= Smaller screens ================= */
@media (max-width: 1040px) {
  .hero .wrap, .replay-grid, .decide-grid, .how-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .how-grid > div:first-child { position: static; }
  .hero h1 { font-size: 56px; max-width: 15ch; }
  .wash { inset: 30% -20% 0 -10%; }
}
@media (max-width: 860px) { .foot-top { grid-template-columns: minmax(0, 1fr); gap: 44px; } }
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  nav { display: none; }
  header#top { padding: 12px 0; }
  section { padding: 80px 0; }
  .hero { padding: 36px 0 72px; }
  .hero h1 { font-size: 42px; }
  .hero .lead { font-size: 17px; }
  h2 { font-size: 32px; }
  .lead { font-size: 16.5px; }
  .record { padding: 0 16px 2px; }
  .fields > div, .record.small .fields > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .now { font-size: 21px; }
  .rec-title { font-size: 19px; }
  .rec-sign .name { font-size: 44px; }
  .feed-h { padding: 12px 14px; }
  .feed th, .feed td { padding: 10px 14px; }
  .feed .col-app { display: none; }
  .facts .big { font-size: 28px; }
  .systems .panel { margin-top: 36px; }
  .sys-facts { grid-template-columns: minmax(0, 1fr); }
  .builders { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
  .close { padding: 88px 0; }
  .contact-page h1 { font-size: 40px; }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .way .value { font-size: 20px; }
}
@media (max-width: 560px) {
  header .wrap { gap: 12px; }
  header .btn.primary { display: none; }
  header .wrap > .btn + .btn { margin-left: 0; }
  .brand .logo-word { height: 17px; }
  .feed td.was-col, .feed th.was-col { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > div:last-child { grid-column: 1 / -1; } .foot-note { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .m-enter [data-enter] > * { opacity: 1; transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .systems::after, .record::after { display: none; }
}
.m-enter.m-enter-done .hero [data-enter]:last-child > * { transition-delay: .25s; }
.systems h2 { max-width: 28ch; }
.feed-h b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 560px) { .feed-h .count { display: none; } .feed-h .pause { margin-left: auto; } }

/* ================= The wash as the brand's mark =================
   The hero, the closing call, the contact page and the 404 page carry it; the footer carries its line. */
.washed { position: relative; overflow: hidden; isolation: isolate; }
.wash.end { inset: 0 -10% -20% 45%; opacity: .5; }
.wash.page { inset: -30% -10% 10% 45%; opacity: .42; }
.site-foot { position: relative; }
.site-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--sig); }
@media (max-width: 1040px) { .wash.end, .wash.page { inset: 20% -20% -20% -10%; } }
@media (max-width: 720px) { .contact-page { padding-top: 36px; } }

/* security review: questions a security team asks, each answer linked to the code */
.sec-sec { background: var(--bg-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sec-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.sec-grid > div:first-child { position: sticky; top: 120px; }
.sec-qa dl { margin: 0; }
.sec-qa dl > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.sec-qa dl > div:last-child { border-bottom: 0; }
.sec-qa dt { font-weight: 600; line-height: 1.45; }
.sec-qa dd { margin: 0; color: var(--ink-2); }
.sec-qa .proof { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; font: 13px/1.4 var(--font-mono); color: var(--pen-text); text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.sec-qa .proof::before { content: "→"; font-family: var(--font-ui); }
.sec-qa .proof:hover { border-bottom-color: currentColor; }
.sec-qa .gap dt { color: var(--ink); box-shadow: inset 3px 0 0 var(--spark); padding-left: 12px; margin-left: -12px; }
.sec-qa .gap { background: linear-gradient(90deg, rgba(249, 180, 143, .14), transparent 70%); margin: 0 -28px; padding: 18px 28px 22px; border-radius: 0 0 10px 10px; }
@media (max-width: 1040px) { .sec-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; } .sec-grid > div:first-child { position: static; } }
@media (max-width: 720px) {
  .sec-qa dl > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .sec-qa .gap { margin: 0 -16px; padding: 18px 16px 20px; }
}
