:root {
  color-scheme: light;
  --paper: #f5f4ee;
  --shell: #e8eee5;
  --ink: #18251e;
  --muted: #43574b;
  --line: #c7d3c6;
  --panel: #1c2b23;
  --accent: #c9ff8e;
  --page-height: 100vh;
  --inset: 15px;
  --rail: clamp(28px, 5.4vw, 100px);
  --top: 64px;
  --bottom: 49px;
  --stage-top: calc(var(--top) + var(--inset));
  --stage-bottom: calc(var(--bottom) + var(--inset));
  --ease: cubic-bezier(.23,.75,.23,1);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-synthesis: none;
  scroll-snap-type: y mandatory;
}
@supports (height:100svh) { :root { --page-height: 100svh; } }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; text-underline-offset: .2em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #21673c; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 9; top: 26px; left: 30px; padding: 10px 14px; background: white; transform: translateY(-175%); }
.skip:focus { transform: none; }
.frame-edge {
  position: fixed; inset: var(--inset); z-index: 6; pointer-events: none;
  border: 1px solid #aebdaf; border-radius: 13px;
  box-shadow: 0 0 0 var(--inset) var(--shell);
}
.frame-header, .frame-footer {
  position: fixed; inset-inline: var(--inset); z-index: 5;
  display: flex; align-items: center; padding-inline: calc(var(--rail) - var(--inset));
  background: var(--paper);
}
.frame-header { top: var(--inset); min-height: var(--top); justify-content: space-between; border-bottom: 1px solid var(--line); }
.identity { display: flex; align-items: center; gap: 9px; }
.identity strong, .identity small { display: block; }
.identity strong { font-size: .94rem; line-height: 1.15; font-weight: 735; letter-spacing: -.03em; }
.identity small { margin-top: 4px; color: #506759; font: 650 .65rem/1 ui-monospace, monospace; letter-spacing: .08em; }
.mark { display: inline-grid; flex: none; grid-template-columns: repeat(2, 5px); gap: 2px; padding: 8px; border-radius: 7px; background: var(--panel); }
.mark i { width: 5px; height: 5px; border: 1px solid var(--accent); }
.mark i:last-child { background: var(--accent); }
.report-link { padding: 9px 16px; border: 1px solid #b8c7b9; border-radius: 24px; text-decoration: none; font-size: .88rem; font-weight: 690; }
.report-link:hover { background: #e4ede1; }
.frame-footer { bottom: var(--inset); min-height: var(--bottom); gap: clamp(11px, 2.5vw, 34px); border-top: 1px solid var(--line); color: #45604f; }
.chapter-count { font: 650 .75rem/1 ui-monospace, monospace; white-space: nowrap; }
#chapter-number { color: #254c34; font-weight: 790; }
.progress-track { flex: 1; height: 2px; overflow: hidden; background: #dce5d9; }
.progress-track > span { display: block; width: 100%; height: 100%; background: #447759; transform: scaleX(var(--progress, .1)); transform-origin: left; transition: transform .32s var(--ease); }
.scroll-hint { white-space: nowrap; font-size: .77rem; font-weight: 650; }
.scroll-hint span { margin-left: 3px; }

.file-sequence { display: flow-root; position: relative; }
[data-scroll-story] .file-pin { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.file-step { display: none; }
[data-scroll-story] .file-step {
  display: block; height: var(--page-height); pointer-events: none;
  scroll-snap-align: start; scroll-snap-stop: always;
}
.file-stage {
  isolation: isolate; display: grid; align-content: center; overflow: clip;
  height: var(--page-height);
  padding: calc(var(--stage-top) + 21px) var(--rail) calc(var(--stage-bottom) + 21px);
  background: radial-gradient(ellipse at 77% 55%, #e9f0e1 0%, var(--paper) 67%);
}
[data-scroll-story] .file-stage { position: sticky; top: 0; }
.stage-inner {
  width: min(100%, 1260px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(250px,.72fr) minmax(0,1.28fr); align-items: center; gap: clamp(26px,4.3vw,76px);
}
.stage-captions { display: grid; }
.stage-caption {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: none;
}
.file-stage[data-step="0"] [data-copy="0"],
.file-stage[data-step="1"] [data-copy="1"],
.file-stage[data-step="2"] [data-copy="2"],
.file-stage[data-step="3"] [data-copy="3"] {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .34s .08s ease, transform .46s .08s var(--ease), visibility 0s;
}
.eyebrow { color: #3c634a; margin: 0 0 13px; font-size: .73rem; font-weight: 760; text-transform: uppercase; letter-spacing: .13em; }
.stage-caption :is(h1,h2) { max-width: 12ch; font-size: clamp(2.75rem, 5.45vw, 5.45rem); font-weight: 760; line-height: .98; letter-spacing: -.07em; margin: 0 0 16px; text-wrap: balance; }
.stage-summary { color: var(--muted); font-size: clamp(.98rem,1.5vw,1.2rem); line-height: 1.4; margin: 0; max-width: 35ch; }
.fallback-note { margin: 0 auto 36px; width: min(90%,42rem); }

.file-art { position: relative; min-width: 0; width: 100%; height: clamp(285px,43vw,450px); }
.art-ground {
  position: absolute; inset: 12% 0 6%;
  background: radial-gradient(ellipse, #d7e7d2 0%, #e6eddf 52%, transparent 76%);
  opacity: .7; transition: opacity .55s ease-out, transform .7s var(--ease);
}
.office {
  position: absolute; top: 48%; left: 50%; width: min(89%,530px); z-index: 2;
  transform: translate(-50%,-50%) scale(1); transform-origin: 50% 41%;
  transition: transform .73s var(--ease), opacity .47s .11s ease-out, filter .55s ease;
}
.monitor-shell {
  border-radius: 15px; padding: 12px; border: 1px solid #3f5548;
  background: linear-gradient(160deg,#34493d 0%,#1c2b23 62%);
  box-shadow: 0 24px 40px #1c2b232c, 0 3px 5px #1c2b2325;
}
.monitor-bezel { display: flex; gap: 4px; height: 14px; justify-content: center; align-items: flex-start; }
.monitor-bezel i { width: 4px; height: 4px; border-radius: 50%; background: #759483; }
.monitor-bezel i:nth-child(2) { background: #b8e5a0; }
.monitor-screen { overflow: hidden; border-radius: 7px; background: #f8fbf3; color: #1f382a; }
.sheet-title { display: flex; gap: 7px; align-items: center; padding: 10px 12px; border-bottom: 1px solid #cbdcca; font-size: clamp(.72rem,1.35vw,1rem); font-weight: 730; }
.sheet-mark, .mini-file { display: grid; place-items: center; flex: none; border-radius: 4px; background: #356948; color: #dcf2d5; font-weight: 800; }
.sheet-mark { width: 23px; height: 23px; font-size: 1rem; }
.file-sheet { width: 100%; border-collapse: collapse; table-layout: fixed; font: 560 clamp(.65rem,1.2vw,.93rem)/1.2 ui-monospace, SFMono-Regular, monospace; }
.file-sheet :is(th,td) { padding: clamp(7px,.98vw,14px) clamp(6px,1vw,13px); border-right: 1px solid #d3dfd0; border-bottom: 1px solid #d3dfd0; text-align: left; }
.file-sheet tr > :last-child { border-right: 0; width: 21%; }
.file-sheet tr:last-child td { border-bottom: 0; }
.file-sheet th { background: #e1eddf; font-weight: 700; }
.file-sheet tbody tr:nth-child(2) td:first-child { background: #e3f5d9; box-shadow: inset 0 0 0 1px #7ea57a; }
.monitor-stand { margin: 0 auto 13px; width: 24%; height: clamp(21px,3.8vw,48px); position: relative; }
.monitor-stand::before { content:""; display: block; margin: 0 auto; width: 37%; height: 90%; background: linear-gradient(90deg,#31463a,#4f6a59); clip-path: polygon(12% 0,88% 0,100% 100%,0 100%); }
.monitor-stand::after { content:""; position: absolute; inset: auto 0 0; height: 5px; border-radius: 80% 80% 4px 4px; background: #344d3e; }
.device-label { display: block; text-align: center; color: #3c6349; font-size: clamp(.65rem,1.08vw,.84rem); line-height: 1.18; font-weight: 700; }
.device-label span { color: #65856c; padding: 0 2px; }

.file-token, .cloud-node, .phone { position: absolute; top: 48%; text-align: center; z-index: 3; }
.file-token {
  left: 50%; opacity: 0;
  transform: translate(-50%,-50%) rotate(-7deg) scale(.16);
  transition: left .70s var(--ease), opacity .38s .14s ease, transform .64s .14s var(--ease);
}
.file-token .device-label, .phone .device-label { position: absolute; margin-top: 8px; left: 50%; translate: -50% 0; white-space: nowrap; }
.file-icon {
  --file-width: clamp(49px,8vw,88px);
  position: relative; display: grid; place-items: end center;
  width: var(--file-width); height: calc(var(--file-width) * 1.17);
  padding-bottom: 14%; color: #1c3828; border-radius: 9px; background: #9adab4;
  box-shadow: 0 10px 22px #37574530; clip-path: polygon(0 0,68% 0,100% 27%,100% 100%,0 100%);
}
.file-icon::before { content:""; position: absolute; top: 0; right: 0; width: 34%; height: 28%; border-bottom-left-radius: 4px; background: #51846a; }
.file-icon span { letter-spacing: .04em; font: 790 clamp(.57rem,1.3vw,.90rem)/1 ui-monospace, monospace; }
.transfer-path {
  position: absolute; top: calc(48% - 4px); left: 23%; width: 58%; height: 8px; z-index: 1;
  background: radial-gradient(circle at center, #457b55 2px, transparent 2.8px) 0 center / 14px 8px repeat-x;
  clip-path: inset(0 100% 0 0); opacity: 0;
  transition: clip-path .92s .17s var(--ease), opacity .30s .08s ease;
}
.transfer-packet {
  position: absolute; z-index: 2; top: 48%; left: 23%; width: 14px; height: 17px;
  transform: translate(-50%,-50%); opacity: 0; border-radius: 2px;
  background: #367447; clip-path: polygon(0 0,65% 0,100% 28%,100% 100%,0 100%);
}
.file-stage[data-step="2"] .transfer-packet { animation: deliver-file 1.07s .24s var(--ease) both; }
@keyframes deliver-file {
  0% { left: 23%; opacity: 0; }
  10%, 75% { opacity: 1; }
  100% { left: 82%; opacity: 0; }
}
.cloud-node {
  left: 51%; opacity: 0; transform: translate(-50%,calc(-50% - 13px)) scale(.78);
  transition: opacity .35s .36s ease, transform .46s .36s var(--ease);
}
.cloud-node .device-label { white-space: nowrap; margin-top: 6px; border-radius: 12px; padding: 3px 5px; background: #e4eee0; }
.cloud-icon { position: relative; margin-inline: auto; width: 45px; height: 20px; border-radius: 13px; background: #d8ead2; border: 1px solid #78a283; }
.cloud-icon i { position: absolute; border-radius: 50%; border: solid #78a283; border-width: 1px 1px 0; background: #d8ead2; }
.cloud-icon i:nth-child(1) { width: 17px; height: 16px; top: -10px; left: 8px; }
.cloud-icon i:nth-child(2) { width: 14px; height: 14px; top: -8px; right: 7px; }
.cloud-icon i:nth-child(3) { width: 38px; height: 11px; top: 1px; left: 2px; border: 0; }
.phone {
  left: 84%; width: clamp(76px,16vw,157px); opacity: 0;
  transform: translate(-39%,-44%) scale(.80) rotate(8deg);
  transition: opacity .46s .44s ease, transform .68s .44s var(--ease);
}
.phone-case { position: relative; border: 1px solid #647b6c; border-radius: clamp(13px,2vw,26px); padding: 6px; background: #23372b; box-shadow: 0 17px 26px #2b47354d; }
.phone-notch { position: absolute; z-index: 2; top: 7px; width: 35%; height: 5px; left: 33%; border-radius: 6px; background: #30473a; }
.phone-screen { width: 100%; aspect-ratio: .57; display: grid; align-content: center; justify-items: center; gap: 8px; border-radius: clamp(9px,1.4vw,20px); background: #e2efdc; }
.mini-file { inline-size: clamp(18px,3.6vw,37px); block-size: clamp(18px,3.6vw,37px); font-size: clamp(.73rem,2vw,1.4rem); }
.phone-screen span { max-width: 92%; color: #244633; font-size: clamp(.52rem,.94vw,.71rem); font-weight: 720; line-height: 1.12; }
.phone-screen > i { width: 60%; height: 2px; border-radius: 2px; background: #a4bda8; }
.phone-screen > i:last-child { width: 42%; }

.file-stage:not([data-step="0"]) .office { opacity: 0; filter: blur(3px); transform: translate(-50%,-50%) scale(.12); }
.file-stage:not([data-step="0"]) .file-token { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.file-stage:is([data-step="2"],[data-step="3"]) .file-token { left: 15%; }
.file-stage:is([data-step="2"],[data-step="3"]) .transfer-path { opacity: 1; clip-path: inset(0); animation: flow-file .76s linear infinite; }
.file-stage:is([data-step="2"],[data-step="3"]) .cloud-node { opacity: 1; transform: translate(-50%,calc(-50% - 13px)) scale(1); }
.file-stage:is([data-step="2"],[data-step="3"]) .phone { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(0); }
.file-stage[data-step="3"] .art-ground { opacity: .32; transform: scale(.93); }
@keyframes flow-file { to { background-position: 14px center; } }

.warning-banner {
  position: absolute; z-index: 4; top: calc(var(--stage-top) + 12px);
  left: 50%; width: min(calc(100% - var(--rail) * 2),1260px);
  display: flex; align-items: center; gap: 10px;
  padding: clamp(11px,1.5vw,17px) clamp(13px,2.3vw,28px);
  border: 1px solid #b55049; border-radius: 8px;
  background: #a82b30; color: #fff4f1; box-shadow: 0 9px 25px #8b20272f;
  font-size: clamp(.88rem,1.65vw,1.27rem); line-height: 1.2;
  transform: translate(-50%,calc(var(--page-height) - var(--stage-top) - 80px));
  opacity: 0; visibility: hidden;
  transition: transform .78s var(--ease), opacity .26s ease, visibility 0s .8s;
}
.warning-icon {
  display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff2ee; color: #8c2529; font-weight: 850;
}
.file-stage[data-step="3"] .warning-banner {
  transform: translate(-50%,0); opacity: 1; visibility: visible;
  transition: transform .83s var(--ease), opacity .23s ease, visibility 0s;
}

.scene {
  display: grid; align-items: center; min-height: var(--page-height);
  padding: calc(var(--stage-top) + clamp(22px,5vh,66px)) var(--rail) calc(var(--stage-bottom) + clamp(22px,5vh,66px));
  scroll-snap-align: start; scroll-snap-stop: always; background: var(--paper);
}
.scene:nth-of-type(even) { background: #eaf0e6; }
@media (max-width: 830px) {
  .stage-inner { grid-template-columns: 1fr; gap: 6px; max-width: 530px; }
  .stage-caption :is(h1,h2) { font-size: clamp(2.35rem, 7.65vw, 4.3rem); max-width: 14ch; }
  .file-art { height: clamp(225px,41vh,350px); }
}
@media (max-width: 520px) {
  :root { --inset: 7px; --rail: 22px; --top: 54px; --bottom: 37px; }
  .frame-edge { border-radius: 10px; }
  .identity { gap: 6px; }
  .identity strong { font-size: .83rem; }
  .identity small { font-size: .58rem; }
  .report-link { padding-inline: 11px; }
  .scroll-hint, .chapter-count { font-size: .68rem; }
  .stage-caption :is(h1,h2) { margin-bottom: 9px; }
  .stage-summary { font-size: .94rem; }
  .eyebrow { margin-bottom: 9px; font-size: .67rem; }
  .office { width: 96%; }
  .monitor-shell { padding: 7px; border-radius: 9px; }
  .monitor-bezel { height: 8px; }
  .monitor-bezel i { width: 3px; height: 3px; }
  .sheet-title { padding: 6px 7px; }
  .sheet-mark { width: 17px; height: 17px; font-size: .8rem; }
  .file-sheet :is(th,td) { padding-block: 7px; }
  .cloud-icon { scale: .8; }
  .phone-screen { gap: 6px; }
}
@media (max-height: 540px) {
  :root { scroll-snap-type: y proximity; }
  .file-art { height: clamp(162px,50vh,265px); }
  .stage-caption :is(h1,h2) { font-size: clamp(1.6rem,4.8vw,3.6rem); }
  .file-stage { padding-block: calc(var(--stage-top) + 8px) calc(var(--stage-bottom) + 8px); }
  .warning-banner { top: calc(var(--stage-top) + 3px); padding-block: 7px; }
  .warning-icon { width: 20px; height: 20px; }
}
@media (max-height: 540px) and (min-width: 600px) {
  .stage-inner { grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); max-width: 1100px; gap: 24px; }
  .office { width: min(82%,440px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.story-scene {
  --story-panel: #1c2b23;
  --story-ink: #18251e;
  --story-muted: #45564a;
  --story-lime: #c9ff8e;
  --story-rule: #aebeb0;
  --story-mint: #e6eee1;
  --story-warning: #f4baa9;
  color: var(--story-ink);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  align-items: center;
  gap: clamp(20px, 6vw, 96px);
  width: min(100%, 1190px);
  margin-inline: auto;
}

.story-copy, .story-layout > :nth-child(2) { min-width: 0; }
.story-copy h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2.25rem, 4.5vw, 4.5rem);
  line-height: .99;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.story-kicker {
  margin: 0 0 10px;
  color: #3a6249;
  font-weight: 760;
  font-size: .74rem;
  line-height: 1.25;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.story-caption {
  max-width: 40ch;
  margin: 14px 0 0;
  color: var(--story-muted);
  font-size: clamp(.95rem, 1.4vw, 1.13rem);
  line-height: 1.42;
}

.story-scene figure { margin: 0; }
.story-gate-figure, .story-browser-figure, .story-records-figure, .story-checklist {
  background: var(--story-panel);
  color: #edf4ea;
  border-radius: 14px;
  padding: clamp(15px, 3.15vw, 34px);
  box-shadow: 0 13px 34px #22352a22;
}

.story-gate-figure figcaption, .story-browser-figure figcaption {
  margin-top: clamp(13px, 2.5vw, 25px);
  color: #e1ece0;
  font-size: clamp(.82rem, 1.4vw, 1rem);
  line-height: 1.4;
}

.story-gate-flow {
  display: grid;
  grid-template-columns: minmax(67px, 1fr) minmax(11px, .56fr) minmax(66px, 1fr) minmax(11px, .56fr) minmax(67px, 1fr);
  align-items: start;
}

.story-gate-source, .story-gate, .story-gate-destination {
  display: grid;
  grid-template-rows: clamp(60px, 12vw, 130px) auto;
  justify-items: center;
  align-items: center;
  gap: 7px;
  text-align: center;
  font-size: clamp(.68rem, 1.09vw, .92rem);
  line-height: 1.2;
}

.story-phone {
  display: grid;
  grid-auto-rows: 3px;
  align-content: center;
  gap: 6px;
  width: clamp(32px, 5vw, 62px);
  aspect-ratio: .61;
  padding: 6px;
  border-radius: 8px;
  border: 2px solid #b8cbb7;
  background: #314b3c;
}

.story-phone i { border-radius: 3px; background: var(--story-warning); }
.story-phone i:last-child { width: 60%; }
.story-gate-door {
  position: relative;
  width: clamp(35px, 6vw, 78px);
  aspect-ratio: .77;
  border: 2px solid #b6cbb9;
  border-radius: 7px 7px 2px 2px;
  perspective: 160px;
}

.story-gate-door i {
  position: absolute;
  inset: 3px;
  border-radius: 4px 4px 0 0;
  background: #679174;
  border: 1px solid #a9cba6;
  transform: rotateY(-56deg);
  transform-origin: left center;
}

.story-gate-track {
  position: relative;
  align-self: start;
  margin-top: clamp(30px, 6vw, 65px);
  border-top: 2px dashed #719283;
}

.story-gate-track span {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--story-warning);
  box-shadow: 0 0 9px #f4baa94f;
}

.story-gate-track-last span { background: var(--story-lime); box-shadow: 0 0 9px #c9ff8e50; }
.story-app-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  width: clamp(41px, 6.7vw, 80px);
  aspect-ratio: 1;
}

.story-app-stack i {
  border: 1px solid #8baf8d;
  border-radius: 4px;
  background: #335444;
}

.story-app-stack i:last-child { grid-column: span 2; background: #bbd8aa; }

.story-browser-art { position: relative; isolation: isolate; }
.story-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid #769084;
  border-radius: 8px 8px 0 0;
  color: #e5efe0;
  background: #345042;
  line-height: 1.23;
  font-size: clamp(.71rem, 1.3vw, .91rem);
}

.story-browser-bar > span { display: flex; gap: 3px; }
.story-browser-bar i { width: 4px; height: 4px; border-radius: 50%; background: #b7c9b7; }
.story-browser-profiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(111px, 20vw, 204px);
  border: 1px solid #769084;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.story-browser-profiles > div {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  align-content: start;
  align-items: start;
  gap: 11px;
  padding: 14px 4px 35px;
  font-size: clamp(.67rem, 1.25vw, .95rem);
  line-height: 1.13;
  text-align: center;
}

.story-profile-work { background: #d9e8d9; color: #21392b; }
.story-profile-personal { border-left: 1px dashed #af8377; background: #f2dbd2; color: #522e27; }
.story-person-icon {
  position: relative;
  width: clamp(22px, 4.4vw, 47px);
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.story-person-icon::before, .story-person-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: currentColor;
}

.story-person-icon::before { top: 23%; width: 25%; height: 25%; border-radius: 50%; }
.story-person-icon::after { bottom: 19%; width: 49%; height: 26%; border-radius: 9px 9px 4px 4px; }
.story-profile-trace {
  position: absolute;
  top: 79%;
  left: 24%;
  width: 51%;
  border-top: 2px dashed #a55d4d;
  transform-origin: left center;
}

.story-credential {
  display: flex;
  position: absolute;
  top: 79%;
  left: 75%;
  transform: translate(-50%, -50%);
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid #5e2922;
  border-radius: 5px;
  color: #f6dbd1;
  background: #813f32;
  box-shadow: 0 4px 9px #1b140f45;
  font: 750 .74rem/1 ui-monospace, monospace;
}

.story-credential-key { position: relative; width: 11px; height: 9px; }
.story-credential-key::before { content: ""; position: absolute; width: 5px; height: 5px; border: 1px solid currentColor; border-radius: 50%; }
.story-credential-key::after { content: ""; position: absolute; top: 3px; left: 6px; width: 5px; height: 1px; background: currentColor; }

.story-records-motion {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  min-height: clamp(84px, 13vw, 134px);
  margin-bottom: clamp(10px, 2.2vw, 20px);
}

.story-record-inbox { display: grid; gap: 5px; padding-bottom: 4px; }
.story-message {
  position: relative;
  display: grid;
  gap: 4px;
  width: clamp(52px, 10vw, 86px);
  padding: 5px 8px;
  background: #b6cfb5;
  border-radius: 7px 7px 7px 2px;
}

.story-message i { height: 2px; background: #41634b; border-radius: 2px; }
.story-message i:last-child { width: 65%; }
.story-message:last-child { opacity: .23; transform: translate(31px, 10px) rotate(12deg); background: var(--story-warning); }
.story-record-box {
  position: relative;
  display: grid;
  gap: 6px;
  width: clamp(104px, 18vw, 170px);
  min-height: 63px;
  padding: 9px 10px;
  border: 1px solid #a8baa9;
  border-radius: 6px;
  color: #e1eddf;
  font-size: clamp(.66rem, 1.1vw, .88rem);
  line-height: 1.15;
}

.story-record-box i { height: 2px; border-radius: 2px; background: #739682; }
.story-record-box i:last-child { width: 78%; height: 0; border-top: 2px dotted var(--story-warning); background: transparent; }
.story-records-figure figcaption { padding-top: 13px; border-top: 1px solid #698776; }
.story-records-figure figcaption strong {
  display: block;
  color: var(--story-warning);
  font-size: clamp(1.8rem, 5vw, 4.5rem);
  line-height: .99;
  letter-spacing: -.057em;
}

.story-records-figure figcaption span { display: block; margin-top: 8px; color: #e1ece0; font-size: clamp(.81rem, 1.25vw, 1rem); line-height: 1.3; }

.story-response-art { display: grid; gap: clamp(10px, 1.8vw, 18px); }
.story-response {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding: clamp(12px, 2.3vw, 24px);
  border: 1px solid #a9beac;
  border-radius: 12px;
  background: #e9f0e5;
}

.story-response figcaption strong, .story-response figcaption span { display: block; }
.story-response figcaption strong { color: var(--story-ink); font-size: clamp(.98rem, 1.64vw, 1.36rem); font-weight: 770; }
.story-response figcaption span { margin-top: 4px; color: var(--story-muted); font-size: clamp(.81rem, 1.3vw, 1rem); line-height: 1.31; }
.story-response-mark {
  display: grid;
  width: clamp(42px, 7vw, 78px);
  aspect-ratio: 1;
  place-items: center;
  align-content: center;
  gap: 4px;
  border-radius: 9px;
  background: #2c503a;
}

.story-response-mark i { display: block; background: #d2f4c3; border-radius: 2px; }
.story-response-google i:nth-child(1) { height: 7px; width: 7px; border-radius: 50%; }
.story-response-google i:nth-child(2) { height: 6px; width: 15px; border-radius: 7px 7px 0 0; }
.story-response-google i:nth-child(3) { height: 7px; width: 19px; border: 1px solid #d2f4c3; background: transparent; }
.story-response-ai i:nth-child(1) { height: 2px; width: 17px; }
.story-response-ai i:nth-child(2) { height: 2px; width: 11px; }
.story-response-ai i:nth-child(3) { width: 12px; height: 12px; clip-path: polygon(50% 0%, 60% 38%, 100% 50%, 60% 62%, 50% 100%, 40% 62%, 0 50%, 40% 38%); }

.story-checklist { display: grid; gap: 0; margin: 0; list-style: none; }
.story-checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: clamp(10px, 2.2vw, 24px) 0;
  color: #edf4ea;
  font-size: clamp(.94rem, 1.72vw, 1.35rem);
  line-height: 1.24;
  font-weight: 680;
}

.story-checklist li + li { border-top: 1px solid #577260; }
.story-checklist li:first-child { padding-top: 0; }
.story-checklist li:last-child { padding-bottom: 0; }
.story-checklist li span {
  display: grid;
  place-items: center;
  width: clamp(24px, 3.8vw, 43px);
  aspect-ratio: 1;
  background: var(--story-lime);
  border-radius: 50%;
}

.story-checklist li span::after {
  content: "";
  width: 40%;
  height: 23%;
  border: 2px solid #254534;
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg);
}

@media (max-width: 850px) {
  .story-layout { grid-template-columns: 1fr; max-width: 560px; gap: 20px; }
  .story-copy h2 { max-width: 18ch; }
}

@media (max-width: 520px) {
  .story-layout { gap: 19px; }
  .story-copy h2 { font-size: clamp(1.96rem, 9vw, 2.85rem); }
  .story-kicker { margin-bottom: 7px; }
  .story-caption { margin-top: 8px; }
}

@media (prefers-reduced-motion: no-preference) {
  .story-scene[data-active] .story-gate-track span { animation: story-packet 720ms ease-in-out both; }
  .story-scene[data-active] .story-gate-door i { animation: story-door 520ms ease-out 490ms both; }
  .story-scene[data-active] .story-gate-track-last span { animation-delay: 790ms; }
  .story-scene[data-active] .story-app-stack { animation: story-rise 350ms ease-out 1150ms both; }
  .story-scene[data-active] .story-profile-trace { animation: story-track 750ms ease-out 150ms both; }
  .story-scene[data-active] .story-credential { animation: story-transfer 770ms cubic-bezier(.23,.8,.25,1) 150ms both; }
  .story-scene[data-active] .story-message:last-child { animation: story-drop 770ms ease-out 200ms both; }
  .story-scene[data-active] .story-records-figure figcaption,
  .story-scene[data-active] .story-response,
  .story-scene[data-active] .story-checklist li { animation: story-rise 540ms cubic-bezier(.2,.74,.3,1) 230ms both; }
  .story-scene[data-active] .story-records-figure figcaption { animation-delay: 500ms; }
  .story-scene[data-active] .story-response:nth-child(2), .story-scene[data-active] .story-checklist li:nth-child(2) { animation-delay: 360ms; }
  .story-scene[data-active] .story-checklist li:nth-child(3) { animation-delay: 490ms; }
}

@keyframes story-track { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes story-rise { from { opacity: .13; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes story-packet { from { left: 0; opacity: 0; } 28% { opacity: 1; } to { left: 100%; opacity: 1; } }
@keyframes story-door { from { transform: rotateY(0); } to { transform: rotateY(-56deg); } }
@keyframes story-transfer { from { left: 24%; } to { left: 75%; } }
@keyframes story-drop { from { opacity: 1; transform: translate(0,0) rotate(0); } to { opacity: .23; transform: translate(31px, 10px) rotate(12deg); } }
