:root {
  --paper: #f1efe9;
  --paper-2: #e9e6de;
  --card: #fcfbf8;
  --ink: #15181d;
  --ink-2: #3f454e;
  --mute: #777d86;
  --line: rgb(21 24 29 / 0.1);
  --blue: #0069a8;
  --blue-soft: rgb(0 105 168 / 0.1);
  --red: #c0392b;
  --red-soft: rgb(192 57 43 / 0.1);
  --amber: #a86400;
  --amber-soft: rgb(196 125 10 / 0.14);
  --green: #2a7a4b;
  --green-soft: rgb(42 122 75 / 0.12);
  --night: #0d1117;
  --night-2: #151b24;
  --on-night: #e9ecf0;
  --on-night-2: #9aa3ae;
  --night-line: rgb(233 236 240 / 0.12);
  --sky: #00a6f4;
  --sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; }
a { color: inherit; }
s { text-decoration-thickness: 1.5px; }
ins { text-decoration: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em; line-height: 1.02; }
h1 { font-size: clamp(2.9rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 3.9vw, 3.5rem); text-wrap: balance; }
.sub { margin-top: 18px; max-width: 30em; font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--ink-2); text-wrap: pretty; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform 0.3s, background 0.3s; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-light { background: var(--on-night); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--on-night); box-shadow: inset 0 0 0 1.5px var(--night-line); }

@keyframes breathe { 50% { opacity: 0.3; } }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; gap: 32px; padding: 0 40px; color: var(--ink); transition: background 0.4s, color 0.4s, box-shadow 0.4s; }
.nav.scrolled { background: rgb(241 239 233 / 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.on-dark { color: var(--on-night); }
.nav.on-dark.scrolled { background: rgb(13 17 23 / 0.72); box-shadow: 0 1px 0 var(--night-line); }
.nav.on-dark .btn { background: var(--on-night); color: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; font-weight: 500; }
.nav-links a { text-decoration: none; opacity: 0.75; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-login { margin-right: -14px; font-size: 14.5px; font-weight: 500; text-decoration: none; opacity: 0.75; transition: opacity 0.2s; }
.nav-login:hover { opacity: 1; }
@media (max-width: 820px) { .nav { padding: 0 16px; } .nav-links { display: none; } .nav-login { margin-left: auto; } }

/* Sections */
.s { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 28px) 0 44px; }
.s.alt { background: var(--paper-2); }
.s-head { position: relative; z-index: 1; }
.s-head + * { margin-top: clamp(28px, 5vh, 52px); }
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split > .s-head + * { margin-top: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.dark { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.dark .sub { color: var(--on-night-2); }
.dark::before { content: ""; position: absolute; inset: -20%; pointer-events: none; background: radial-gradient(40% 35% at 20% 25%, rgb(0 105 168 / 0.22), transparent 70%), radial-gradient(35% 40% at 85% 70%, rgb(0 166 244 / 0.1), transparent 70%); animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(4%, -3%, 0) scale(1.05); } }

/* 1. Hero: the page in a shaft of light, in a dark room of drifting dust */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 20px) 0 40px; background: #04060a; isolation: isolate; }
.hero::before { content: none; }
.hero-cv { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; animation: hero-dawn 2.4s ease-out both; }
.hero-cv.front { z-index: 3; }
@keyframes hero-dawn { from { opacity: 0; } }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; pointer-events: none; }
.hero-grid a, .hero-grid .doc { pointer-events: auto; }
.hero h1 { color: #f6f4ef; font-size: clamp(3rem, 6.3vw, 6.1rem); line-height: 0.98; letter-spacing: -0.03em; }
.hero h1 em { font-style: italic; letter-spacing: -0.035em; }
.hero-ln { display: block; }
.hero .sub { max-width: 25em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* Everything comes into focus, the way the facts do. */
.hero-ln, .hero .sub, .hero .ctas { animation: hero-focus 1.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-ln:nth-child(1) { animation-delay: 0.25s; }
.hero-ln:nth-child(2) { animation-delay: 0.38s; }
.hero-ln:nth-child(3) { animation-delay: 0.51s; }
.hero .sub { animation-delay: 0.8s; }
.hero .ctas { animation-delay: 0.95s; }
@keyframes hero-focus { from { opacity: 0; filter: blur(12px); transform: translateY(14px); } }

.hero-doc { display: flex; justify-content: center; perspective: 1500px; animation: hero-surface 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s both; }
@keyframes hero-surface { from { opacity: 0; filter: blur(18px); } }
.hero-paper { position: relative; width: min(100%, 440px); transform: rotateY(-7deg) rotateX(2.5deg); transform-style: preserve-3d; will-change: transform; --sheen: 0%; }
/* Older pages under the current one, in its shadow */
.hero-sheet { position: absolute; inset: 0; border-radius: 6px; background: #b9b4aa; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8); }
.hero-sheet:nth-child(1) { transform: translate3d(13px, 12px, -24px) rotate(1.6deg); background: #8f8b83; }
.hero-sheet:nth-child(2) { transform: translate3d(6px, 6px, -12px) rotate(0.7deg); }
.doc { position: relative; width: 100%; padding: 30px 30px 22px; border-radius: 6px; background: #f5f2eb; color: var(--ink); box-shadow: 0 1px 0 rgb(255 255 255 / 0.7) inset, 0 60px 110px -40px rgb(0 0 0 / 0.95), 0 22px 40px -22px rgb(0 0 0 / 0.7); }
/* Light falls from above: brighter at the top, a sheen that moves as the page turns */
.doc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent calc(28% + var(--sheen)), rgb(255 255 255 / 0.22) calc(42% + var(--sheen)), transparent calc(58% + var(--sheen))), linear-gradient(176deg, rgb(255 246 228 / 0.35), transparent 30%, transparent 70%, rgb(30 40 60 / 0.1)); mix-blend-mode: soft-light; }
.doc-title { font: 400 26px/1.1 var(--serif); letter-spacing: -0.015em; }
.doc-ver { margin-top: 6px; font-size: 13px; color: var(--mute); }
.doc-rows { margin-top: 22px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 7.6em 1fr; gap: 12px; align-items: center; min-height: 37px; padding: 7px 8px; margin: 0 -8px; border-bottom: 1px solid var(--line); border-radius: 4px; transition: background 1.2s; }
.row dt { font-size: 12.5px; color: var(--mute); }
.row dd { font: 400 15.5px/1.25 var(--serif); }
/* A change on its way in: the old value gives way; then the row is checked */
.row .v { transition: opacity 0.35s; }
.row.out .v { opacity: 0; }
.row.checking { background: rgb(0 105 168 / 0.08); transition: background 0.25s; }
.row.lit { background: var(--blue-soft); transition: background 0.2s; }
.doc-status { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--green); transition: color 0.3s; }
.doc-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.doc-status.busy { color: var(--blue); }
.doc-status.busy i { width: 10px; height: 10px; margin: -1px; background: none; border: 1.5px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { align-items: flex-start; }
  .doc { padding: 22px 20px 18px; }
  .row { grid-template-columns: 7em 1fr; min-height: 32px; }
  .row dd { font-size: 14.5px; }
  .doc-title { font-size: 22px; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--nav-h) + 8px); padding-bottom: 28px; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero .sub { margin-top: 14px; }
  .ctas { margin-top: 24px; }
  .hero-grid { gap: 30px; }
  .hero-paper { width: 92%; transform: rotateY(-4deg) rotateX(2deg); }
  .row.more { display: none; }
}

/* 2. Stop */
.stop-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); column-gap: clamp(32px, 5vw, 72px); align-items: center; }
.stop-grid .s-head + * { margin-top: 0; }
@media (max-width: 900px) { .stop-grid { grid-template-columns: 1fr; } .stop-grid .stop-list { margin-top: 20px; } }
.stop-grid h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.chores li { position: relative; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.15rem, 2vw, 1.65rem); font-weight: 600; letter-spacing: -0.02em; transition: color 0.6s; }
.chores li span { position: relative; }
.chores li svg { position: absolute; left: -2%; top: 50%; width: 104%; height: 30px; margin-top: -15px; overflow: visible; pointer-events: none; }
.chores li svg path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.chores li.done { color: rgb(21 24 29 / 0.3); }
.stop-line { margin-top: clamp(22px, 4.5vh, 44px); font: 400 clamp(2.4rem, 4.6vw, 4.2rem)/1 var(--serif); letter-spacing: -0.035em; opacity: 0; transform: translateY(14px); transition: opacity 0.9s, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.stop-line em { font-style: normal; color: var(--blue); }
.stop-line.in { opacity: 1; transform: none; }

/* 3. How it works */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: st; }
.st { position: relative; transition: opacity 0.6s; }
.flow.run .st { opacity: 0.32; }
.flow.run .st.on, .flow.run .st.done { opacity: 1; }
.st-vis { position: relative; height: clamp(170px, 30vh, 230px); border-radius: 16px; background: var(--card); box-shadow: 0 1px 2px rgb(21 24 29 / 0.05), 0 20px 40px -26px rgb(21 24 29 / 0.35); overflow: hidden; }
.st-txt { padding: 18px 4px 0; }
.st-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12.5px; font-weight: 700; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.st h3 { margin-top: 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.st p { margin-top: 2px; font-size: 14.5px; color: var(--mute); }

/* Step 1: files, a system and a person, each looking like what it is */
.v-src .it { position: absolute; }
.v-src .file { display: flex; flex-direction: column; gap: 6px; height: 54%; aspect-ratio: 0.8; overflow: hidden; padding: 9px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 20px -12px rgb(21 24 29 / 0.4); font-size: 11.5px; line-height: 1.25; color: var(--ink-2); }
.v-src .file b { align-self: flex-start; font-size: 10px; padding: 2px 5px; border-radius: 4px; color: #fff; background: #2b5797; }
.v-src .file.xl b { background: #217346; }
.v-src .sys { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 6px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 20px -12px rgb(21 24 29 / 0.6); }
.v-src .sys svg { width: 20px; height: 20px; padding: 2px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.v-src .per { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 4px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 20px -12px rgb(21 24 29 / 0.4); font-size: 12px; font-weight: 600; white-space: nowrap; }
.v-src .per i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 700 9px var(--sans); font-style: normal; color: #fff; background: var(--blue); }
.v-src .it:nth-child(1) { left: 14%; top: 9%; transform: rotate(-7deg); }
.v-src .it:nth-child(2) { left: 50%; top: 5%; transform: rotate(6deg); }
.v-src .it:nth-child(3) { left: 8%; bottom: 10%; transform: rotate(-3deg); }
.v-src .it:nth-child(4) { right: 8%; bottom: 22%; transform: rotate(4deg); }

/* Step 2: every change checked; one held */
.v-check { display: grid; align-content: center; gap: 9px; padding: 0 20px; }
.v-check .ck { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px 9px 12px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.v-check .ck span { height: 6px; border-radius: 3px; background: rgb(21 24 29 / 0.1); }
.v-check .ck:nth-child(1) span { width: 68%; }
.v-check .ck:nth-child(2) span { width: 50%; }
.v-check .ck:nth-child(3) span { width: 78%; }
.v-check .ck:nth-child(4) span { width: 42%; }
.v-check .ck i { order: 2; flex: none; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgb(21 24 29 / 0.18); background: center / 100% no-repeat; transition: background-color 0.3s, box-shadow 0.3s; }
.v-check.checked .ck i { box-shadow: none; background-color: var(--green); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.v-check.checked .ck.hold i { background-color: var(--amber); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M10 5.5v5.5' stroke='white' stroke-width='2.2' stroke-linecap='round'/><circle cx='10' cy='14.2' r='1.3' fill='white'/></svg>"); }
.v-check.checked .ck:nth-child(2) i { transition-delay: 0.25s; }
.v-check.checked .ck:nth-child(3) i { transition-delay: 0.5s; }
.v-check.checked .ck:nth-child(4) i { transition-delay: 0.75s; }

/* Step 3: placed on every page */
.v-place .pg { position: absolute; left: 50%; top: 12%; width: 50%; height: 76%; margin-left: -25%; padding: 14px 12px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 8px; }
.v-place .pg i { height: 6px; border-radius: 3px; background: rgb(21 24 29 / 0.1); transition: background 0.5s; }
.v-place .pg i:nth-child(even) { width: 80%; }
.v-place.placed .pg i.hit { background: var(--blue); }
.v-place.placed .pg i:nth-child(5) { transition-delay: 0.25s; }
.v-place.placed .pg i:nth-child(9) { transition-delay: 0.5s; }
.v-place .ok { position: absolute; right: 18%; top: 8%; width: 26px; height: 26px; border-radius: 50%; background: var(--green) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 100% no-repeat; transform: scale(0); transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.6, 1) 0.8s; }
.v-place.placed .ok { transform: scale(1); }

/* Step 4: signed */
.v-seal { display: grid; place-items: center; }
.seal { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 20px; border-radius: 12px; text-align: center; color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); transform: scale(1.4) rotate(-6deg); opacity: 0; transition: transform 0.5s cubic-bezier(0.3, 1.5, 0.6, 1), opacity 0.3s; }
.seal small { font-size: 11.5px; font-weight: 600; opacity: 0.8; }
.seal b { font: 400 21px/1.15 var(--serif); }
.seal span { font-size: 12px; font-weight: 600; }
.v-seal.stamped .seal { transform: rotate(-4deg); opacity: 1; }

.flow-rail { position: relative; display: flex; align-items: center; margin-top: 26px; }
.flow-rail::before { content: ""; flex: 1; height: 2px; border-radius: 2px; background: var(--line); }
.flow-rail i { position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; width: 0; border-radius: 2px; background: var(--ink); }

@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .st-vis { height: 150px; }
  .st-txt { padding-top: 10px; }
  .st h3 { font-size: 16px; margin-top: 6px; }
  .st p { font-size: 13px; }
  .v-src .file { font-size: 10px; padding: 7px; gap: 4px; }
  .v-src .file b { font-size: 9px; }
  .v-src .sys, .v-src .per { font-size: 10.5px; gap: 5px; }
  .v-src .sys svg { width: 16px; height: 16px; }
  .v-src .per i { width: 18px; height: 18px; font-size: 8px; }
  .v-check { padding: 0 12px; gap: 6px; }
  .v-check .ck { padding: 6px 8px 6px 10px; }
  .v-check .ck i { width: 15px; height: 15px; }
  .seal { padding: 10px 10px; }
  .seal b { font-size: 15px; }
  .seal small, .seal span { font-size: 10.5px; }
}
@media (max-width: 640px) {
  .st-vis { height: 128px; }
  .v-src .it:nth-child(1) { left: 10%; top: 10%; }
  .v-src .it:nth-child(2) { display: none; }
  .v-src .it:nth-child(3) { left: auto; right: 6%; bottom: 12%; }
  .v-src .it:nth-child(4) { right: 6%; bottom: auto; top: 16%; }
  .v-check { gap: 5px; }
  .v-check .ck { padding: 5px 8px 5px 10px; }
  .seal { padding: 8px 8px; }
  .seal b { font-size: 13px; }
}

/* 4. Sources: many kinds of source, one draft */
.hub { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: repeat(3, auto); gap: 22px 48px; align-items: center; width: 100%; max-width: 620px; justify-self: center; }
.hub-lines { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hub-lines .sp { fill: none; stroke: var(--ink); stroke-opacity: 0.12; stroke-width: 1.5; transition: stroke 0.4s, stroke-opacity 0.4s; }
.hub-lines .sp.on { stroke: var(--blue); stroke-opacity: 0.75; }
.hub-lines .gd { fill: var(--paper); stroke: rgb(21 24 29 / 0.25); stroke-width: 1.2; transition: fill 0.3s, stroke 0.3s; }
.hub-lines .gd.ok { fill: var(--green); stroke: var(--green); }
.hub-lines .pulse { fill: var(--blue); }
.hub-src { display: contents; }
.hs { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.hs:nth-child(1) { grid-area: 1 / 1; }
.hs:nth-child(2) { grid-area: 2 / 1; }
.hs:nth-child(3) { grid-area: 3 / 1; }
.hs:nth-child(4) { grid-area: 1 / 3; }
.hs:nth-child(5) { grid-area: 3 / 3; }
.ic { display: grid; place-items: center; width: 48px; height: 48px; outline: 3px solid transparent; outline-offset: 3px; transition: outline-color 0.3s; }
.hs.on .ic { outline-color: rgb(0 105 168 / 0.25); }
.ic.sys { border-radius: 13px; background: var(--ink); color: #fff; }
.ic.sys svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ic.file { width: 39px; align-content: end; padding-bottom: 8px; border-radius: 4px; background: #fff linear-gradient(225deg, var(--paper-2) 8px, transparent 8px); box-shadow: 0 0 0 1px var(--line), 0 6px 12px -8px rgb(21 24 29 / 0.4); }
.ic.file b { font-size: 9.5px; font-weight: 700; padding: 2px 4px; border-radius: 3px; color: #fff; background: #217346; }
.ic.per { border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; }
.hl { font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--ink-2); }
.hub-doc { position: relative; z-index: 1; grid-area: 1 / 2 / 4 / 3; padding: 16px 16px 8px; border-radius: 3px; background: #fdfcf9; box-shadow: 0 1px 2px rgb(21 24 29 / 0.06), 0 30px 60px -34px rgb(21 24 29 / 0.45); }
.hd-t { display: block; padding-bottom: 9px; border-bottom: 1px solid var(--line); font: 400 15px/1.15 var(--serif); }
.hd-row { padding: 7px 6px; margin: 0 -6px; border-bottom: 1px solid var(--line); border-radius: 4px; transition: background 1.2s; }
.hd-row:last-child { border-bottom: 0; }
.hd-row dt { font-size: 11.5px; color: var(--mute); }
.hd-row dd { position: relative; min-height: 1.3em; font: 400 15.5px/1.3 var(--serif); }
.hd-row dd span { opacity: 0; transition: opacity 0.5s; }
.hd-row dd i { position: absolute; left: 0; top: 50%; width: 66%; height: 7px; margin-top: -3.5px; border-radius: 4px; background: rgb(21 24 29 / 0.08); transition: opacity 0.4s; }
.hd-row.in dd span { opacity: 1; }
.hd-row.in dd i { opacity: 0; }
.hd-row.lit { background: var(--blue-soft); transition: background 0.2s; }
@media (max-width: 640px) {
  .hub { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 30px 4px; }
  .hs:nth-child(n) { grid-area: auto; grid-row: 1; }
  .hub-doc { grid-area: 2 / 1 / 3 / 6; }
  .ic { width: 40px; height: 40px; }
  .ic.file { width: 32px; }
  .ic.sys svg { width: 20px; height: 20px; }
  .hl { font-size: 11px; }
}

/* 5. Proof: the regulator's own finding, on its own */
.beat.alt { background: var(--paper-2); }
.beat { position: relative; display: flex; align-items: center; min-height: 72vh; min-height: 72svh; padding: calc(var(--nav-h) + 20px) 0 40px; }
.beat-q { max-width: 17em; font: 400 clamp(2.1rem, 4.4vw, 4.2rem)/1.08 var(--serif); letter-spacing: -0.03em; text-wrap: balance; }
.beat-q em { font-style: normal; color: var(--red); background: linear-gradient(var(--red), var(--red)) 0 94% / 0 2px no-repeat; transition: background-size 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s; }
.beat.in .beat-q em { background-size: 100% 2px; }
.beat-src { margin-top: 22px; font-size: 14px; color: var(--mute); }

/* 6. Catch: the whole PSMF at a glance, scanned */
#catch .split { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
@media (max-width: 900px) { #catch .split { grid-template-columns: 1fr; } }
.scan { position: relative; padding-top: 44px; }
.spread { position: relative; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 60px 10px; }
.pg { position: relative; display: flex; flex-direction: column; gap: 5px; aspect-ratio: 0.72; padding: 11% 13%; border-radius: 3px; background: #fdfcf9; box-shadow: 0 0 0 1px var(--line), 0 10px 20px -14px rgb(21 24 29 / 0.4); transition: box-shadow 0.4s; }
.pg i { height: 4px; border-radius: 2px; background: rgb(21 24 29 / 0.1); transition: background 0.3s; }
.pg i:nth-child(2n) { width: 74%; }
.pg.seen i { background: rgb(0 105 168 / 0.35); }
.pg > span { position: absolute; left: 0; right: 0; top: calc(100% + 6px); text-align: center; font-size: 11.5px; font-weight: 600; color: var(--mute); }
.pin { position: absolute; z-index: 2; left: 50%; bottom: calc(100% + 11px); display: grid; transform: translateX(-50%); font-size: 12px; font-style: normal; font-weight: 600; white-space: nowrap; pointer-events: none; }
.pin.down { bottom: auto; top: calc(100% + 30px); }
.pin b, .pin u { grid-area: 1 / 1; padding: 4px 9px; border-radius: 7px; color: #fff; text-align: center; text-decoration: none; opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.35s; }
.pin b { background: var(--red); }
.pin u { background: var(--green); }
.pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 8px; height: 8px; margin: -5px 0 0 -4px; transform: rotate(45deg); background: var(--red); opacity: 0; transition: opacity 0.35s, background 0.35s; }
.pin.down::after { top: 0; margin-top: -3px; }
.pg.found { box-shadow: 0 0 0 2px var(--red), 0 10px 20px -14px rgb(21 24 29 / 0.4); }
.pg.found .pin b, .pg.found .pin::after { opacity: 1; transform: none; }
.pg.fixed { box-shadow: 0 0 0 2px var(--green), 0 10px 20px -14px rgb(21 24 29 / 0.4); }
.pg.fixed .pin b { opacity: 0; transform: translateY(-6px); }
.pg.fixed .pin u { opacity: 1; transform: none; }
.pg.fixed .pin::after { opacity: 1; background: var(--green); }
.beam { position: absolute; top: 30px; bottom: 74px; left: 0; width: 80px; margin-left: -80px; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgb(0 105 168 / 0), rgb(0 105 168 / 0.14)); border-right: 2px solid rgb(0 105 168 / 0.55); }
.scan-lock { display: grid; grid-template-columns: 22px auto; align-items: center; gap: 10px; margin-top: 64px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; }
.scan-lock svg { width: 22px; height: 22px; fill: none; stroke: var(--amber); stroke-width: 1.8; transition: stroke 0.4s; }
.scan-lock svg .shackle { transition: transform 0.4s; transform-origin: 13px 9px; }
.scan-lock b { grid-area: 1 / 2; font-weight: 600; transition: opacity 0.4s; }
.scan-lock .a { color: var(--amber); }
.scan-lock .b { color: var(--green); opacity: 0; }
.scan.open .scan-lock svg { stroke: var(--green); }
.scan.open .scan-lock svg .shackle { transform: translateY(-2.5px) rotate(18deg); }
.scan.open .scan-lock .a { opacity: 0; }
.scan.open .scan-lock .b { opacity: 1; }
@media (max-width: 640px) {
  .spread { gap: 56px 4px; }
  .pg { gap: 3px; }
  .pg i { height: 3px; }
  .pg > span { font-size: 10.5px; }
  .pin { font-size: 11px; }
  .pin b, .pin u { padding: 3px 7px; }
  .scan-lock { font-size: 13px; }
}

/* 7. Change it once: owners map */
.ew { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.map { position: relative; height: clamp(290px, calc(100vh - 310px), 460px); }
.map svg { display: block; width: 100%; height: 100%; overflow: visible; }
.map .ln { fill: none; stroke: var(--ink); stroke-opacity: 0.08; transition: stroke-opacity 0.5s, stroke 0.5s; }
.map .ln.hi { stroke: var(--blue); stroke-opacity: 0.85; }
.map .ln.log { stroke-dasharray: 3 5; }
.map .on-lbl, .map .pl-lbl { font: 500 14px var(--sans); fill: var(--ink-2); transition: fill 0.4s, opacity 0.4s; }
.map .pl-lbl { font-size: 12.5px; fill: var(--mute); }
.map svg.narrow .on-lbl { font-size: 13px; }
.map .pl-lbl.hi { fill: var(--blue); font-weight: 600; }
.map .on-lbl.hi { fill: var(--ink); font-weight: 600; }
.map .owner { cursor: pointer; }
.map .owner:focus { outline: none; }
.map .owner:focus-visible .on-dot { stroke: var(--blue); stroke-width: 3; }
.map .on-dot { fill: var(--card); stroke: var(--ink); stroke-width: 1.5; }
.map .owner.hi .on-dot { fill: var(--ink); }
.map .pl-dot { fill: var(--paper); stroke: rgb(21 24 29 / 0.3); stroke-width: 1.2; transition: fill 0.4s, stroke 0.4s; }
.map .pl-dot.hi { fill: var(--blue); stroke: var(--blue); }
.map .spine { fill: var(--card); stroke: var(--line); }
.map .ans rect { fill: var(--ink); }
.map .ans text { font: 600 13px var(--sans); fill: #fff; }
.map .pulse { fill: var(--blue); }


/* The pages a change rewrites: a line lights up on each */
.ew-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; width: 100%; max-width: 250px; justify-self: center; }
.ewp { display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.35; transition: opacity 0.4s; }
.ewp.on { opacity: 1; }
.ewp.off { visibility: hidden; }
.ewp-pg { display: flex; flex-direction: column; gap: 7px; width: 84px; aspect-ratio: 0.74; padding: 13px 10px; border-radius: 3px; background: #fdfcf9; box-shadow: 0 0 0 1px var(--line), 0 14px 28px -18px rgb(21 24 29 / 0.4); transition: box-shadow 0.4s; }
.ewp-pg i { height: 5px; border-radius: 3px; background: rgb(21 24 29 / 0.1); transition: background 0.4s; }
.ewp-pg i:nth-child(even) { width: 78%; }
.ewp.lit .ewp-pg { box-shadow: 0 0 0 1.5px var(--blue), 0 14px 28px -18px rgb(21 24 29 / 0.4); }
.ewp.lit .ewp-pg i.hl { background: var(--blue); }
.ewp span { font-size: 12.5px; font-weight: 600; color: var(--ink-2); transition: color 0.4s; }
.ewp.lit span { color: var(--blue); }
@media (max-width: 900px) {
  .ew { grid-template-columns: 1fr; gap: 14px; }
  .map { height: 330px; }
  .ew-pages { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 360px; gap: 10px; }
  .ewp-pg { width: 54px; padding: 8px 7px; gap: 5px; }
  .ewp span { font-size: 11px; }
}

/* 8. Logbook and glossary: whole sections written from the content */
.cmp { display: grid; gap: 18px; width: 100%; max-width: 560px; justify-self: center; }
.cmp-src { display: flex; flex-direction: column; gap: 9px; padding: 18px 22px 16px; border-radius: 3px; background: #fdfcf9; box-shadow: 0 1px 2px rgb(21 24 29 / 0.06), 0 24px 48px -30px rgb(21 24 29 / 0.45); }
.cmp-src > i { height: 5px; border-radius: 3px; background: rgb(21 24 29 / 0.1); }
.cmp-src > i:nth-of-type(2) { width: 82%; }
.cmp-src > i:nth-of-type(3) { width: 64%; }
.cs-new { margin: 2px -6px; padding: 4px 6px; border-radius: 4px; font: 400 clamp(16px, 1.35vw, 18px)/1.4 var(--serif); opacity: 0; transform: translateY(6px); transition: opacity 0.6s, transform 0.6s, background 1.2s; }
.cmp.s1 .cs-new { opacity: 1; transform: none; background: var(--blue-soft); }
.cmp.s2 .cs-new { background: transparent; }
.cs-new u { text-decoration: underline 2px transparent; text-underline-offset: 4px; transition: color 0.4s, text-decoration-color 0.4s; }
.cs-new .tk-q { text-decoration-style: dotted; }
.cmp.s2 .tk-y { color: var(--blue); text-decoration-color: var(--blue); }
.cmp.s2 .tk-q { color: var(--amber); text-decoration-color: var(--amber); }
.cmp.s6 .tk-q { color: inherit; text-decoration-color: transparent; }
.cs-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity 0.5s, transform 0.5s; }
.cmp.s5 .cs-ask { opacity: 1; transform: none; }
.ca-q { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 7px; border-radius: 8px; color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -10px rgb(21 24 29 / 0.4); }
.ca-q svg { width: 15px; height: 15px; color: var(--blue); }
.ca-a { padding: 5px 10px; border-radius: 8px; color: #fff; background: var(--ink); opacity: 0; transform: translateX(-6px); transition: opacity 0.4s, transform 0.4s; }
.cmp.s6 .ca-a { opacity: 1; transform: none; }
.cmp-out { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.gl, .lb { padding: 14px 16px 10px; border-radius: 3px; background: #fdfcf9; box-shadow: 0 1px 2px rgb(21 24 29 / 0.06), 0 24px 48px -30px rgb(21 24 29 / 0.45); }
.cp-t { display: block; margin-bottom: 4px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font: 400 16px/1.15 var(--serif); }
.gl li, .lb li { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 26px; margin: 0 -4px; padding: 6px 4px; border-radius: 4px; }
.lb li { grid-template-columns: 26px minmax(0, 1fr); }
.gl li b, .lb li b { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink-2); transition: color 0.4s; }
.lb li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.gl li i, .lb li i { height: 5px; border-radius: 3px; background: rgb(21 24 29 / 0.1); }
.gl li:nth-child(odd) i, .lb li:nth-child(even) i { width: 78%; }
li.nw { max-height: 0; min-height: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; opacity: 0; transition: max-height 0.6s, min-height 0.6s, padding 0.6s, opacity 0.5s; }
li.nw em { font-size: 13px; font-style: normal; line-height: 1.3; color: var(--blue); }
li.nw b { color: var(--blue); }
.cmp.s3 .gl li.nw, .cmp.s4 .lb li.nw { max-height: 64px; min-height: 26px; padding-top: 6px; padding-bottom: 6px; opacity: 1; background: var(--blue-soft); }
.lb li.nw em { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s steps(24); }
.cmp.s4 .lb li.nw em { clip-path: inset(0 0 0 0); }
@media (max-width: 640px) {
  .cmp { gap: 12px; }
  .cmp-src { padding: 14px 14px 12px; }
  .cmp-out { gap: 10px; }
  .gl, .lb { padding: 10px 10px 8px; }
  .cp-t { font-size: 14.5px; }
  .gl li { grid-template-columns: 36px minmax(0, 1fr); gap: 6px; }
  .lb li { grid-template-columns: 22px minmax(0, 1fr); gap: 6px; }
  .gl li b, .lb li b { font-size: 11px; }
  li.nw em { font-size: 12px; }
  .cs-ask { font-size: 12px; }
}

/* 9. AI: every suggestion stops with you */
.gate { position: relative; display: flex; justify-content: space-between; align-items: flex-start; width: 100%; max-width: 600px; justify-self: center; padding-top: 64px; }
.gate::before { content: ""; position: absolute; left: 28px; right: 44px; top: calc(64px + 60px); border-top: 1.5px dashed rgb(21 24 29 / 0.18); }
.g-col { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.g-col > :first-child { height: 120px; }
.g-node { display: grid; place-items: center; width: 56px; height: 56px !important; margin: 32px 0; border-radius: 50%; color: var(--blue); background: #e3edf4; box-shadow: 0 0 0 6px rgb(0 105 168 / 0.06); }
.g-node svg { width: 26px; height: 26px; fill: currentColor; }
.g-bar { width: 6px; border-radius: 3px; background: var(--ink); }
.g-av { position: absolute; top: -46px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: var(--ink); }
.g-av svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.g-mark { position: absolute; top: 20px; left: calc(50% + 10px); width: 26px; height: 26px; border-radius: 50%; background: center / 100% no-repeat; transform: scale(0); transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.6, 1); }
.g-mark.yes { transform: scale(1); background-color: var(--green); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 10.2l2.6 2.6L14 7.4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.g-mark.no { transform: scale(1); background-color: var(--red); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M7 7l6 6M13 7l-6 6' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'/></svg>"); }
.g-mark.undo { transform: scale(1); background-color: var(--ink); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M7.5 7.5H12a3.5 3.5 0 0 1 0 7H9' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/><path d='M9.5 5L7 7.5 9.5 10' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.g-pg { display: flex; flex-direction: column; gap: 9px; width: 88px; padding: 14px 11px; border-radius: 3px; background: #fdfcf9; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -24px rgb(21 24 29 / 0.45); }
.g-pg i { height: 6px; border-radius: 3px; background: rgb(21 24 29 / 0.1); transition: background 0.5s; }
.g-pg i:nth-child(even) { width: 76%; }
.g-pg i.lit { background: var(--blue); }
.g-l { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tok { position: absolute; z-index: 2; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 10px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 20px -12px rgb(21 24 29 / 0.4); font-size: 12.5px; font-weight: 600; white-space: nowrap; opacity: 0; transition: box-shadow 0.3s, color 0.3s; }
.tok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); transition: background 0.3s; }
.tok.yes { box-shadow: 0 0 0 1.5px var(--green), 0 10px 20px -12px rgb(21 24 29 / 0.4); }
.tok.yes::before { background: var(--green); }
.tok.no { color: var(--mute); box-shadow: 0 0 0 1.5px var(--red), 0 10px 20px -12px rgb(21 24 29 / 0.4); text-decoration: line-through; }
.tok.no::before { background: var(--red); }
.tok.undo { box-shadow: 0 0 0 1.5px var(--ink), 0 10px 20px -12px rgb(21 24 29 / 0.4); }
.tok.undo::before { background: var(--ink); }
@media (max-width: 640px) {
  .g-node { width: 44px; height: 44px !important; margin: 38px 0; }
  .g-node svg { width: 21px; height: 21px; }
  .g-pg { width: 66px; gap: 7px; padding: 10px 8px; }
  .g-l { font-size: 11.5px; }
  .tok { padding: 5px 10px 5px 8px; font-size: 11px; gap: 5px; }
  .gate::before { left: 22px; right: 33px; }
}

/* 10. Rules: the regulator broadcasts; Veria listens around your PSMF and adapts it */
.stars polygon { fill: #ffcc00; }
#rules h2 { font-size: clamp(2.5rem, 5.2vw, 4.8rem); }
#rules .sub { max-width: 34em; }
.bcast { position: relative; display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); align-items: center; gap: 40px; min-height: clamp(300px, calc(100vh - 330px), 420px); }
.waves { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.waves .wv { fill: none; stroke: #ffcc00; stroke-width: 1.5; opacity: 0; }
.emitter { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ema-mark { position: relative; display: grid; place-items: center; width: 136px; height: 136px; border-radius: 50%; background: #0a2d7a; box-shadow: 0 0 0 1px rgb(255 204 0 / 0.22), 0 0 90px -20px rgb(255 204 0 / 0.3); }
.ema-mark .stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.ema-mark b { position: relative; font-size: 19px; font-weight: 700; letter-spacing: 0.08em; color: #fff; }
.ema-mark.pulse { animation: emit 1s ease-out; }
@keyframes emit { 30% { transform: scale(1.06); box-shadow: 0 0 0 1px rgb(255 204 0 / 0.55), 0 0 120px -10px rgb(255 204 0 / 0.55); } }
.em-l { font-size: 13px; font-weight: 600; color: var(--on-night-2); }
.em-tag, .ls-tag { display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 12px; border-radius: 8px; font-size: 13px; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity 0.5s, transform 0.5s; }
.em-tag b, .ls-tag b { font-weight: 600; }
.em-tag i, .ls-tag i { font-style: normal; font-variant-numeric: tabular-nums; }
.em-tag { color: #fff; background: rgb(255 204 0 / 0.1); box-shadow: inset 0 0 0 1px rgb(255 204 0 / 0.35); }
.em-tag i { color: #ffcc00; }
.em-tag.on, .ls-tag.on { opacity: 1; transform: none; }
.listener { position: relative; z-index: 1; justify-self: end; padding: 80px 28px 32px; border-radius: 22px; border: 1.5px dashed rgb(0 166 244 / 0.35); background: rgb(13 17 23 / 0.6); transition: border-color 0.4s, box-shadow 0.8s; }
.listener.hit { border-style: solid; border-color: rgb(0 166 244 / 0.85); box-shadow: 0 0 0 6px rgb(0 166 244 / 0.08), 0 0 90px -20px rgb(0 166 244 / 0.55); }
.ls-k { position: absolute; top: -13px; left: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 3px 12px 3px 10px; border-radius: 999px; background: var(--night); font-size: 13px; font-weight: 700; color: var(--on-night); }
.ls-k svg { width: 16px; height: 16px; color: var(--sky); }
.ls-k i { width: 6px; height: 6px; margin-left: 4px; border-radius: 50%; background: var(--sky); animation: breathe 1.8s ease-in-out infinite; }
.ls-k em { font-style: normal; font-weight: 500; color: var(--on-night-2); }
.ls-tag { position: absolute; right: 22px; bottom: -15px; color: #fff; background: var(--night); box-shadow: inset 0 0 0 1px rgb(0 166 244 / 0.6); }
.ls-tag i { color: var(--sky); }

/* Your PSMF, fanned out: pages reshape when the rules change */
.fan { --pw: 112px; --ph: 150px; --step: 62px; position: relative; width: calc(var(--step) * 5 + var(--pw)); height: var(--ph); }
.fp { position: absolute; top: 0; left: calc(var(--i) * var(--step)); display: flex; flex-direction: column; gap: 7px; width: var(--pw); height: var(--ph); padding: 14px 12px; border-radius: 3px; background: #fdfcf9; box-shadow: -12px 0 24px -16px rgb(0 0 0 / 0.7), 0 30px 50px -30px rgb(0 0 0 / 0.8); transition: transform 0.6s cubic-bezier(0.3, 1.4, 0.6, 1), opacity 0.6s; }
.fp > i { height: 5px; border-radius: 3px; background: rgb(21 24 29 / 0.12); transition: background 0.5s; }
.fp > i:nth-of-type(3n) { width: 72%; }
.fp-t { height: 10px; width: 70%; margin-bottom: 6px; border-radius: 3px; background: rgb(21 24 29 / 0.22); }
.fp.lift { transform: translateY(-16px); }
.fp.s7.done > i.rw { background: var(--blue); }
.tbl { display: grid; gap: 4px; }
.tbl > span { display: flex; gap: 3px; }
.tbl i { flex: 1 1 0; height: 8px; border-radius: 2px; background: rgb(21 24 29 / 0.1); transition: flex-grow 0.7s, margin 0.7s, background 0.5s; }
.tbl .th i { background: rgb(21 24 29 / 0.25); }
.tbl i.nc { flex-grow: 0; margin-right: -3px; }
.fp.ab.done .tbl i.nc { flex-grow: 1; margin-right: 0; background: var(--blue); }
.fp.nw { opacity: 0; transform: translateY(-60px); }
.fp.nw.in { opacity: 1; transform: none; }
.fp.nw.in.lift { transform: translateY(-16px); }
.fp em { position: absolute; z-index: 2; left: 50%; bottom: calc(100% + 12px); padding: 4px 9px; border-radius: 7px; font-size: 12px; font-style: normal; font-weight: 600; white-space: nowrap; color: var(--night); background: var(--sky); opacity: 0; transform: translate(-50%, 6px); transition: opacity 0.4s, transform 0.4s; }
.fp em::after { content: ""; position: absolute; left: 50%; top: 100%; width: 8px; height: 8px; margin: -5px 0 0 -4px; transform: rotate(45deg); background: var(--sky); }
.fp.s7 em { bottom: calc(100% + 44px); }
.fp.s7 em::before { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 36px; background: rgb(0 166 244 / 0.5); }
.fp.done em { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) {
  .bcast { grid-template-columns: minmax(0, 1fr); gap: 34px; min-height: 0; }
  .emitter { gap: 10px; }
  .ema-mark { width: 92px; height: 92px; }
  .ema-mark b { font-size: 14px; }
  .listener { justify-self: center; padding: 66px 14px 28px; }
  .ls-k { left: 14px; font-size: 12px; }
  .fan { --pw: 66px; --ph: 90px; --step: 46px; }
  .fp { gap: 4px; padding: 8px 7px; }
  .fp > i { height: 3px; }
  .fp-t { height: 6px; margin-bottom: 3px; }
  .tbl { gap: 3px; }
  .tbl > span { gap: 2px; }
  .tbl i { height: 5px; }
  .fp em { padding: 3px 7px; font-size: 11px; }
  .fp.s7 em, .fp.nw em { bottom: calc(100% + 38px); }
  .fp.nw em::before { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; background: rgb(0 166 244 / 0.5); }
  .fp.s7 em::before, .fp.nw em::before { height: 30px; }
  .em-tag, .ls-tag { font-size: 12px; padding: 5px 10px; }
}

/* 11. A year with Veria */
.year { height: 560vh; position: relative; }
.year-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--season, #e6ecf2); display: flex; flex-direction: column; }
.month-word { position: absolute; left: 0; right: 0; top: 52%; transform: translateY(-62%); text-align: center; font: 400 clamp(6rem, 19vw, 19rem)/1 var(--serif); font-style: italic; letter-spacing: -0.04em; color: rgb(21 24 29 / 0.07); pointer-events: none; white-space: nowrap; }
.year-head { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; padding: calc(var(--nav-h) + 30px) 40px 0; max-width: 1200px; width: 100%; margin: 0 auto; }
.year-head h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.tally { display: flex; gap: 22px; font-size: 15px; color: var(--ink-2); }
.tally > span { transition: color 0.4s; }
.tally b { display: inline-block; font: 400 34px var(--serif); color: var(--ink); margin-right: 6px; vertical-align: -4px; }
.track-wrap { position: relative; flex: 1; }
.track { position: absolute; z-index: 2; left: 0; top: 0; bottom: 70px; will-change: transform; }
.ev { position: absolute; bottom: 30px; width: 244px; margin-left: -18px; padding: 12px 15px 13px; border-radius: 14px; background: rgb(252 251 248 / 0.94); box-shadow: 0 1px 2px rgb(21 24 29 / 0.05), 0 14px 30px -22px rgb(21 24 29 / 0.3); opacity: 0.32; transition: opacity 0.4s, transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1); }
.ev.hi { bottom: 220px; }
.ev.on { opacity: 1; transform: translateY(-8px); }
.ev::after { content: ""; position: absolute; left: 18px; bottom: -30px; width: 1.5px; height: 30px; background: rgb(21 24 29 / 0.25); }
.ev.hi::after { bottom: -220px; height: 220px; }
.ev .d { font-size: 12.5px; font-weight: 600; color: var(--mute); }
.ev h3 { margin: 3px 0 2px; font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.22; }
.ev p { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.ev .chip-s { display: inline-flex; margin-top: 8px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-soft); }
.ev .chip-s.g { color: var(--green); background: var(--green-soft); }
.ev.punch { width: 290px; background: var(--ink); color: #f1efe9; }
.ev.punch .d { color: #a6abb3; }
.ev.punch p { color: #c9ccd1; }
.ev.punch h3 { font: 400 20px/1.15 var(--serif); }
.ev.punch .chip-s { color: #8fd0ff; background: rgb(0 166 244 / 0.16); }
.playhead { position: absolute; left: 50%; top: 0; bottom: 40px; width: 2px; margin-left: -1px; background: linear-gradient(rgb(21 24 29 / 0), rgb(21 24 29 / 0.5)); pointer-events: none; }
.playhead i { position: absolute; bottom: -4px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px rgb(21 24 29 / 0.12); }
.axis { position: absolute; left: 0; bottom: 0; height: 46px; will-change: transform; }
.axis .m { position: absolute; bottom: 0; height: 46px; padding: 6px 0 0 8px; border-left: 1.5px solid rgb(21 24 29 / 0.2); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.axis .w { position: absolute; bottom: 0; height: 8px; border-left: 1px solid rgb(21 24 29 / 0.12); }
.axis .rev { position: absolute; bottom: 0; height: 4px; border-radius: 2px; background: var(--green); opacity: 0.5; }
.tally i { font-style: normal; }
@media (max-height: 760px) { .ev.hi { bottom: 212px; } .ev.hi::after { bottom: -212px; height: 212px; } .year-head { padding-top: calc(var(--nav-h) + 16px); } }
@media (max-width: 640px) { .ev::after { display: none; } .ev { width: 260px; opacity: 0; } .ev.on { opacity: 1; } .ev.punch { width: 260px; } .year-head { padding: calc(var(--nav-h) + 16px) 16px 0; } .ev.hi { bottom: 200px; } .ev.hi::after { bottom: -200px; height: 200px; } }

/* 12. Trust: stated, then the rules met (marks) and how it's built (a spec list) */
.trust .wrap { position: relative; z-index: 1; }
.bd-wrap { position: relative; }
.ring { position: absolute; z-index: 0; left: 50%; top: 50%; width: 600px; height: 600px; margin: -300px 0 0 -300px; opacity: 0.35; animation: spin 140s linear infinite; pointer-events: none; }
.ring circle { fill: var(--sky); }
@keyframes spin { to { transform: rotate(360deg); } }
.tr-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.tr-h { font-size: clamp(2.4rem, 4vw, 3.9rem); line-height: 1.04; letter-spacing: -0.03em; color: #fff; }
.tr-h span { display: block; opacity: 0.18; transform: translateY(10px); transition: opacity 0.9s, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.tr-h.in span { opacity: 1; transform: none; }
.tr-h.in span:nth-child(2) { transition-delay: 0.25s; }
.tr-h.in span:nth-child(3) { transition-delay: 0.5s; }
.tr-h.in span:nth-child(4) { transition-delay: 0.75s; }
.tr-lbl { position: relative; z-index: 1; margin-bottom: 16px; padding-bottom: 9px; border-bottom: 1px solid var(--night-line); font-size: 12.5px; font-weight: 600; color: var(--on-night-2); }
.tr-built { margin-top: clamp(28px, 5vh, 52px); max-width: 520px; }
.badges { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.2vh, 20px) 16px; }
.bd { display: flex; flex-direction: column; align-items: center; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity 0.6s, transform 0.6s; }
.tr-marks.in .bd, .tr-marks.in .spec-i { opacity: 1; transform: none; }
.mk { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 8px; border-radius: 50%; }
.mk.eu { background: #003399; box-shadow: 0 0 0 1px rgb(255 204 0 / 0.25); }
.mk.eu .stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk.eu b { position: relative; font-size: 11px; font-weight: 700; letter-spacing: 0.03em; color: #fff; }
.mk.us { border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4.5px #0b2d5c; }
.mk.us b { font: 700 11.5px/1 var(--sans); letter-spacing: 0.02em; color: #0b2d5c; }
.mk.own { color: var(--sky); box-shadow: inset 0 0 0 1.5px rgb(233 236 240 / 0.3); }
.mk.own svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mk.own b { font: 400 21px/1 var(--serif); letter-spacing: -0.02em; color: #fff; }
.mk.std { box-shadow: inset 0 0 0 1.5px rgb(233 236 240 / 0.45); }
.mk.std b { font: 700 10.5px/1 var(--sans); letter-spacing: 0.02em; color: #fff; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.spec-i { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-items: start; opacity: 0; transform: translateY(8px); transition: opacity 0.6s, transform 0.6s; }
.spec-i svg { grid-row: span 2; width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--sky); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.spec-i b { font-size: 14.5px; font-weight: 600; line-height: 1.3; color: #fff; }
.spec-i span { font-size: 12.5px; line-height: 1.35; color: var(--on-night-2); }
.bd > b { font-size: 14.5px; font-weight: 600; color: #fff; }
.bd > span { font-size: 12.5px; color: var(--on-night-2); }
@media (max-width: 900px) {
  .tr-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .tr-h { font-size: clamp(2rem, 8.4vw, 2.8rem); }
  .badges { gap: 16px 8px; }
  .mk { width: 48px; height: 48px; margin-bottom: 6px; }
  .mk.eu b, .mk.us b { font-size: 9.5px; }
  .mk.std b { font-size: 9px; }
  .specs { gap: 12px 12px; }
  .spec-i { grid-template-columns: 18px minmax(0, 1fr); column-gap: 8px; }
  .spec-i svg { width: 18px; height: 18px; }
  .spec-i b { font-size: 13px; }
  .spec-i span { font-size: 11.5px; }
  .mk.own svg { width: 23px; height: 23px; }
  .mk.own b { font-size: 16px; }
  .bd > b { font-size: 13.5px; }
  .bd > span { font-size: 11.5px; }
  .ring { width: 600px; height: 600px; margin: -300px 0 0 -300px; opacity: 0.2; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 13. Questions */
.faq-grid { align-items: start; }
.faq-grid h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.faq > div { padding: clamp(12px, 2.2vh, 20px) 0; border-bottom: 1px solid var(--line); }
.faq > div:first-child { padding-top: 0; }
.faq dt { font: 400 clamp(19px, 1.8vw, 23px)/1.25 var(--serif); }
.faq dd { margin-top: 4px; font-size: 15.5px; color: var(--ink-2); }

/* 14. Close */
.close { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 40px) 0 0; }
.close-in { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.close h2 { font-size: clamp(2.8rem, 6.4vw, 6rem); color: #fff; }
.qform { display: flex; gap: 10px; max-width: 520px; margin-top: 36px; }
.qform input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: 999px; border: 0; background: rgb(233 236 240 / 0.08); box-shadow: inset 0 0 0 1.5px var(--night-line); color: var(--on-night); font-size: 16px; }
.qform input::placeholder { color: var(--on-night-2); }
.qform input:focus { outline: 2px solid var(--sky); outline-offset: 2px; }
.qform .btn { height: 52px; }
.foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 60px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--night-line); font-size: 13px; color: var(--on-night-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { text-decoration: none; transition: color 0.2s; }
.foot-links a:hover { color: var(--on-night); }
@media (max-width: 520px) { .qform { flex-direction: column; } .qform input { flex: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 15. Legal pages: privacy, terms, DPA, subprocessors, legal notice */
.legal-page .nav { background: rgb(241 239 233 / 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.legal { max-width: 760px; padding-top: calc(var(--nav-h) + clamp(40px, 8vh, 88px)); padding-bottom: 96px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.legal-date { margin-top: 14px; font-size: 14px; color: var(--mute); }
.legal-lead { margin-top: 28px; font-size: 1.1rem; color: var(--ink-2); text-wrap: pretty; }
.legal h2 { margin-top: 52px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.015em; line-height: 1.15; }
.legal h3 { margin: 28px 0 0; font-size: 1.02rem; font-weight: 600; }
.legal p, .legal ul, .legal ol, .legal dl { margin-top: 14px; }
.legal p, .legal li { text-wrap: pretty; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: 6px; }
.legal li::marker { color: var(--mute); }
.legal a { color: var(--blue); text-underline-offset: 2px; }
.legal-facts { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 10px 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.legal-facts dt { color: var(--mute); }
.legal-facts dd { overflow-wrap: anywhere; }
@media (max-width: 560px) { .legal-facts { grid-template-columns: 1fr; gap: 2px; } .legal-facts dd + dt { margin-top: 12px; } }
.legal-tbl { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.legal-tbl table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
.legal-tbl th, .legal-tbl td { padding: 13px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.legal-tbl thead th { border-top: 0; font-size: 13px; font-weight: 600; color: var(--mute); }
.legal-foot { padding-top: 1px; }
.legal-foot .foot { margin-top: 0; padding-top: 26px; border-top: 0; }
.foot-links a[aria-current] { color: var(--on-night); }
