:root {
  --bg: #fbfbfb;
  --card: #f2f2f2;
  --chip: #efefef;
  --ink: #1b1b1b;
  --text: #707070;
  --soft: #a3a3a3;
  --line: #e7e7e7;
  --col: 440px;
  --sans: "Public Sans", "Geist", Inter, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --hand: "Caveat", cursive;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: #cfcfcf; }
b { color: var(--ink); font-weight: 500; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--soft); font-size: 12px; letter-spacing: .06em; }
:focus-visible { outline: 2px solid #9ab; outline-offset: 3px; border-radius: 8px; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }

/* ---------------------------------------------------------------- dock: pebbles that melt together */
.dock {
  position: fixed; top: 26px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 7px; height: 56px;
}
.dock-goo { position: absolute; inset: 0; display: flex; align-items: center; gap: 7px; filter: url(#goo); pointer-events: none; }
.dock-goo i, .dock a { width: 38px; height: 38px; flex: none; border-radius: 50%; transition: width .5s var(--spring), height .5s var(--spring); }
.dock-goo i { background: #f2f2f2; }
.dock-goo i.on, .dock a.on { width: 56px; height: 56px; }
.dock-goo i.near, .dock a.near { width: 44px; height: 44px; }
.dock a { position: relative; z-index: 1; display: grid; place-items: center; color: #a7a7a7; transition: width .5s var(--spring), height .5s var(--spring), color .25s; }
.dock a svg { position: relative; width: 16px; height: 16px; transition: transform .3s var(--spring); }
.dock a.on svg { width: 18px; height: 18px; }
.dock a:hover svg { transform: scale(1.12); }
.dock .disc {
  position: absolute; inset: 6px; border-radius: 50%; background: #fff; transform: scale(0); opacity: 0;
  box-shadow: 0 4px 10px -3px rgb(0 0 0 / .18), 0 0 0 .5px rgb(0 0 0 / .05);
  transition: transform .45s var(--spring), opacity .2s;
}
.dock a.on { color: var(--ink); }
.dock a.on .disc { transform: scale(1); opacity: 1; }
.dock a:hover { color: #555; }

/* ---------------------------------------------------------------- hero object */
main { padding-top: 110px; }
.hero { /* no frame: the picture just melts into the page at its edges */
  position: relative; width: min(calc(100% - 24px), 480px); aspect-ratio: 3 / 2; margin: 0 auto; overflow: hidden;
  cursor: crosshair; touch-action: pan-y;
  -webkit-mask: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent), linear-gradient(transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hud {
  position: absolute; left: 15%; right: 15%; bottom: 18%; display: flex; justify-content: space-between; z-index: 1;
  font: 500 10.5px/1 var(--mono); letter-spacing: .12em; color: rgb(255 246 232 / .85); text-shadow: 0 1px 2px rgb(0 0 0 / .45); pointer-events: none;
}
.rec { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #ff5a3c; margin-right: 7px; vertical-align: 1px; animation: blink 1.6s steps(2) infinite; }

/* ---------------------------------------------------------------- text, read like a recovered file */
.intro { width: min(calc(100% - 40px), var(--col)); margin: 56px auto 0; }
.intro p { margin: 0 0 18px; }
.dump p { position: relative; }
.dump p::before {
  content: attr(data-addr); position: absolute; left: -92px; top: 1px; width: 70px; text-align: right;
  font: 400 11px/2.35 var(--mono); letter-spacing: .04em; color: #c4c4c4;
}
.dump p.in::before { color: #b0b0b0; }
.dec { transition: color .3s; }
.dec.busy { color: #b9b9b9; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 0 7px; border-radius: 7px; background: var(--chip);
  color: #555; font-size: 15px; line-height: 1.55; white-space: nowrap; transition: background .2s, transform .2s var(--ease);
}
.chip:hover { background: #e8e8e8; transform: translateY(-1px); }
.chip svg { width: 14px; height: 14px; }
.chip.ink { color: var(--ink); }
.chip.hex { font: 500 13px/1.7 var(--mono); color: #3f7a3b; background: #e7f2e5; letter-spacing: .02em; }
.chip.hex::before { content: "▸"; font-size: 9px; opacity: .6; }
.hand {
  position: relative; font: 600 25px/1 var(--hand); color: var(--ink); padding: 0 4px; white-space: nowrap;
  background: linear-gradient(transparent 62%, #ffe6a8 62%, #ffe6a8 88%, transparent 88%) no-repeat;
  background-size: 0 100%; transition: background-size .9s var(--ease) .3s;
}
.in .hand, .hand.in { background-size: 100% 100%; }
.actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px 11px 15px; border-radius: 999px; text-decoration: none;
  background: var(--ink); color: #fff; font-weight: 500; font-size: 14.5px;
  box-shadow: 0 1px 0 rgb(255 255 255 / .15) inset, 0 8px 18px -8px rgb(0 0 0 / .45); transition: transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- the shelf */
.shelf { margin-top: 110px; }
.track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(20px, calc((100% - var(--col)) / 2)); scroll-padding: 0 max(20px, calc((100% - var(--col)) / 2));
}
.track::-webkit-scrollbar { display: none; }
.card { flex: none; width: min(420px, calc(100vw - 60px)); scroll-snap-align: start; }
/* no card behind the objects: they sit right on the page, only their shadows ground them */
.stage { height: 420px; display: grid; place-items: center; position: relative; perspective: 900px; }
.card h3 { margin: 14px 0 0 2px; font: 500 15px/1.4 var(--sans); color: var(--ink); }
.card p { margin: 1px 0 0 2px; font-size: 14px; color: var(--soft); }
.arrows { width: min(calc(100% - 40px), var(--col)); margin: 22px auto 0; display: flex; gap: 8px; }
.arrows button {
  width: 34px; height: 34px; border-radius: 10px; border: 0; background: var(--card); color: #8a8a8a; cursor: pointer; display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.arrows button:hover { background: #e9e9e9; color: var(--ink); }
.arrows button:disabled { opacity: .45; cursor: default; }
.arrows svg { width: 15px; height: 15px; }

/* every object tilts toward the cursor, with light sliding across it */
.obj {
  position: relative; transform-style: preserve-3d; cursor: grab;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(var(--rz, 0deg)) translateZ(0);
  transition: transform .7s var(--ease), filter .7s var(--ease);
  filter: drop-shadow(0 22px 20px rgb(0 0 0 / .2));
}
.obj.live { transition: transform .12s linear, filter .12s linear; }
.glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: soft-light; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgb(255 255 255 / .9), transparent 55%);
}
.obj.live .glare { opacity: 1; }

/* 1 · USB stick */
.usb { display: flex; align-items: center; --rz: -8deg; }
.usb-body {
  position: relative; width: 190px; height: 74px; border-radius: 16px 10px 10px 16px;
  background: linear-gradient(160deg, #3a3a3a, #1d1d1d 60%, #111);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), inset 0 -2px 4px rgb(0 0 0 / .5);
}
.usb-body::before { content: ""; position: absolute; left: 14px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 2px 3px rgb(0 0 0 / .35); }
.usb-label { position: absolute; left: 46px; top: 16px; font: 500 9px/1.35 var(--mono); letter-spacing: .18em; color: #8d8d8d; }
.usb-label b { font-size: 15px; letter-spacing: .02em; color: #d8d8d8; font-weight: 500; }
.led { position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #3a5c3a; transition: background .3s, box-shadow .3s; }
.card:hover .led, .card.look .led { background: #7dff8a; box-shadow: 0 0 10px 2px rgb(125 255 138 / .7); animation: blink .5s steps(2) infinite; }
.usb-plug {
  width: 58px; height: 46px; border-radius: 0 5px 5px 0; margin-left: -2px; position: relative;
  background: linear-gradient(180deg, #f4f4f4, #cfcfcf 50%, #b7b7b7); box-shadow: inset 0 1px 0 #fff, inset -2px 0 3px rgb(0 0 0 / .1);
}
.usb-plug i { position: absolute; width: 11px; height: 8px; top: 9px; border-radius: 2px; background: #3b3b3b; box-shadow: inset 0 2px 2px #000; }
.usb-plug i:first-child { left: 12px; } .usb-plug i:last-child { left: 32px; }

/* 2 · open hard drive */
.hdd {
  width: 236px; height: 300px; border-radius: 18px; --rz: 4deg;
  background: linear-gradient(145deg, #eeeeee, #cfcfcf 45%, #b9b9b9);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 8px rgb(0 0 0 / .12);
}
.screw { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f7f7f7, #9d9d9d); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 1.2px; background: #7a7a7a; transform: rotate(35deg); }
.s1 { left: 12px; top: 12px; } .s2 { right: 12px; top: 12px; } .s3 { left: 12px; bottom: 12px; } .s4 { right: 12px; bottom: 12px; }
.platter {
  position: absolute; left: 22px; top: 26px; width: 192px; height: 192px; border-radius: 50%;
  background: conic-gradient(from 20deg, #d9dde2, #f9fbfd 12%, #a9b0b8 25%, #eef1f4 38%, #b8bec6 52%, #fdfdfd 64%, #aab1b9 78%, #e8ecf0 90%, #d9dde2);
  box-shadow: 0 0 0 3px #b3b3b3, inset 0 0 0 1px rgb(255 255 255 / .6), inset 0 0 22px rgb(0 0 0 / .12);
  animation: spin 3.2s linear infinite;
}
.platter::before { content: ""; position: absolute; inset: 30px; border-radius: 50%; border: 1px solid rgb(0 0 0 / .05); box-shadow: 0 0 0 24px rgb(0 0 0 / .015); }
.platter .hub { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fbfbfb, #a2a2a2); box-shadow: 0 1px 3px rgb(0 0 0 / .3); }
.arm {
  position: absolute; right: 26px; bottom: 30px; width: 18px; height: 150px; transform-origin: 50% calc(100% - 9px);
  transform: rotate(-12deg); transition: transform 1.1s var(--ease);
}
.arm::before { /* the arm itself: tapering toward the head */
  content: ""; position: absolute; left: 4px; right: 4px; top: 0; bottom: 9px; border-radius: 6px 6px 4px 4px;
  background: linear-gradient(90deg, #8c8c8c, #dcdcdc 45%, #8f8f8f); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
}
.arm::after { content: ""; position: absolute; left: 6px; top: -3px; width: 6px; height: 10px; border-radius: 2px; background: #3b3b3b; }
.pivot { position: absolute; left: 50%; bottom: 0; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f2f2f2, #7f7f7f); box-shadow: 0 2px 4px rgb(0 0 0 / .3); }
.hdd.seeking .arm { animation: seek 2.4s var(--ease) infinite alternate; }
.hdd-label { position: absolute; left: 20px; bottom: 16px; font-size: 9.5px; letter-spacing: .1em; color: #6d6d6d; }
.hdd-label b { color: #2f6b2c; font-weight: 500; }

/* 3 · dial */
.dial {
  width: 230px; height: 230px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fdfdfd, #e2e2e2 62%, #cfcfcf);
  box-shadow: 0 2px 5px rgb(0 0 0 / .1), inset 0 1px 0 #fff, inset 0 -6px 14px rgb(0 0 0 / .08);
}
.dial::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #f9f9f9, #ececec); box-shadow: inset 0 2px 6px rgb(0 0 0 / .1); }
.ticks { position: absolute; inset: 0; }
.ticks i { position: absolute; left: 50%; top: 50%; width: 1.5px; height: 7px; margin-left: -.75px; background: #a9a9a9; border-radius: 1px;
  transform: rotate(var(--a)) translateY(-86px); transform-origin: 50% 0; }
.ticks i.major { height: 12px; width: 2px; background: #6f6f6f; }
.ticks i.hot { background: #4f9a4a; }
.needle {
  position: absolute; left: 50%; top: 50%; width: 3px; height: 78px; margin-left: -1.5px; border-radius: 3px; background: #e0512e;
  transform-origin: 50% 100%; transform: translateY(-100%) rotate(-120deg); transition: transform 1.8s var(--ease);
  box-shadow: 0 2px 4px rgb(0 0 0 / .2);
}
.in .needle { transform: translateY(-100%) rotate(119.8deg); }
.dial .hub { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #bdbdbd); box-shadow: 0 2px 4px rgb(0 0 0 / .3); }
.dial-lcd {
  position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); padding: 5px 9px; border-radius: 6px;
  background: #121611; color: #a8f0a0; font: 500 13px/1 var(--mono); box-shadow: inset 0 1px 3px #000;
}

/* 4 · film strip */
.film { width: 340px; padding: 8px 0; background: #1b1b1b; border-radius: 6px; --rz: -6deg; }
.holes { height: 10px; margin: 0 8px; background: repeating-linear-gradient(90deg, transparent 0 6px, var(--bg) 6px 13px, transparent 13px 20px); border-radius: 2px; opacity: .85; }
.frames { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; padding: 7px 8px; }
.frames i { height: 58px; border-radius: 3px; background: linear-gradient(160deg, #e2a05b, #7a3f22); }
.frames i.bad { background: repeating-linear-gradient(0deg, rgb(120 130 110 / .7) 0 4px, transparent 4px 9px), linear-gradient(90deg, #6d6570, #8a7a60 50%, #5f6b5a); filter: saturate(.6); }
.frames i.ok { outline: 2px solid #8fe08a; outline-offset: 1px; }
.clip { position: absolute; right: 26px; bottom: -34px; font-size: 12px; color: #3f7a3b; background: #e3f2e1; padding: 4px 8px; border-radius: 7px; transform: rotate(6deg); }

/* 5 · SD card, lock slides to read-only */
.sd {
  width: 176px; height: 226px; border-radius: 12px; --rz: 5deg;
  background: linear-gradient(160deg, #2f3440, #1a1d24 55%, #12141a);
  clip-path: polygon(0 0, 72% 0, 100% 16%, 100% 100%, 0 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12);
}
.sd .glare { clip-path: inherit; }
.sd-label {
  position: absolute; left: 14px; right: 14px; top: 48px; bottom: 16px; border-radius: 6px; padding: 12px 14px;
  background: linear-gradient(135deg, #e14a2b, #b7321c); color: #fff; display: flex; flex-direction: column; justify-content: space-between;
}
.sd-label .num { font-size: 11px; letter-spacing: .14em; opacity: .9; }
.sd-label b { color: #fff; font: 600 54px/1 var(--sans); letter-spacing: -.04em; }
.sd-label b small { font-size: 18px; letter-spacing: 0; margin-left: 2px; }
.sd-i { font-size: 9px !important; opacity: .75 !important; }
.sd-lock { position: absolute; left: -2px; top: 58px; width: 9px; height: 40px; }
.sd-lock i { position: absolute; left: 0; top: 2px; width: 9px; height: 14px; border-radius: 2px; background: linear-gradient(90deg, #f1f1f1, #bdbdbd); transition: top .5s var(--spring); }
.sd-lock span { position: absolute; left: -32px; top: 22px; font: 500 8px var(--mono); letter-spacing: .1em; color: #6c6c6c; opacity: 0; transition: opacity .3s; }
.card:hover .sd-lock i, .card.look .sd-lock i { top: 24px; }
.card:hover .sd-lock span, .card.look .sd-lock span { opacity: 1; }

/* 6 · floppy disk: "save" */
.floppy {
  width: 230px; height: 236px; border-radius: 8px; --rz: -5deg;
  background: linear-gradient(160deg, #2b2e33, #17191c 60%, #101113);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .1);
}
.shutter {
  position: absolute; left: 58px; top: 0; width: 112px; height: 78px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #c9c9c9, #f4f4f4 40%, #bdbdbd); transition: transform .6s var(--spring);
}
.shutter i { position: absolute; left: 66px; top: 12px; width: 22px; height: 46px; border-radius: 2px; background: #17191c; }
.card:hover .shutter, .card.look .shutter { transform: translateX(-26px); }
.fl-label {
  position: absolute; left: 22px; right: 22px; top: 100px; bottom: 0; border-radius: 4px 4px 0 0; padding: 14px 16px;
  background: repeating-linear-gradient(#fbf8f1 0 21px, #e3e9f3 21px 22px); display: flex; flex-direction: column; gap: 4px;
}
.hand-write { font: 600 30px/1 var(--hand); color: #2a3a8f; transform: rotate(-3deg); transform-origin: left; }
.hand-write.price { font-size: 25px; color: #b0392a; margin-left: 12px; }
.fl-notch { position: absolute; right: 0; top: 0; width: 18px; height: 18px; background: var(--bg); clip-path: polygon(0 0, 100% 0, 100% 100%); }

/* ---------------------------------------------------------------- questions + footer */
.faq { margin-top: 100px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 13px 0; color: var(--ink); font-weight: 500; font-size: 15px; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--soft); font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 14px; font-size: 15px; }
.foot { width: min(calc(100% - 40px), var(--col)); margin: 120px auto 0; padding: 0 0 80px; display: flex; justify-content: space-between; font-size: 14px; color: var(--soft); }

/* ---------------------------------------------------------------- motion */
[data-reveal] { opacity: 0; transform: translateY(12px); filter: blur(4px); transition: opacity .8s ease, transform .8s var(--ease), filter .8s ease; }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
@keyframes blink { 50% { opacity: .2; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes seek { 0% { transform: rotate(-12deg); } 30% { transform: rotate(-38deg); } 55% { transform: rotate(-22deg); } 100% { transform: rotate(-46deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .needle { transform: translateY(-100%) rotate(119.8deg); }
}

/* ---------------------------------------------------------------- phones */
@keyframes sway {
  0%, 100% { --rx: 4deg; --ry: -9deg; }
  50% { --rx: -3deg; --ry: 9deg; }
}
@property --rx { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
@property --ry { syntax: "<angle>"; inherits: true; initial-value: 0deg; }

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  main { padding-top: 34px; }
  /* the menu moves to the bottom, within thumb reach */
  .dock { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); }
  .hero { width: calc(100% - 8px); }
  .intro { width: calc(100% - 36px); margin-top: 30px; }
  .dump { padding-left: 46px; }
  .dump p::before { left: -46px; width: 38px; font-size: 9px; line-height: 2.8; letter-spacing: 0; }
  .chip { font-size: 14px; }
  .hand { font-size: 23px; }
  .actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .shelf { margin-top: 72px; }
  .track { gap: 12px; padding: 0 18px; scroll-padding: 0 18px; }
  .card { width: calc(100vw - 48px); }
  .stage { height: 320px; }
  .arrows { display: none; }
  .obj { cursor: default; }
  /* no hover on touch: the card you've swiped to sways gently on its own */
  .card.look .obj { animation: sway 5s ease-in-out infinite; transition: none; }
  .card.look .glare { opacity: .7; --gx: 35%; --gy: 25%; }
  .faq { margin-top: 70px; }
  .foot { margin-top: 80px; padding-bottom: 110px; }
}
@media (max-width: 400px) {
  .film { width: 260px; } .frames i { height: 50px; }
  .dial { width: 190px; height: 190px; } .needle { height: 64px; } .ticks i { transform: rotate(var(--a)) translateY(-70px); }
  .hdd { width: 214px; height: 272px; } .platter { width: 170px; height: 170px; left: 22px; } .arm { height: 136px; }
  .usb { transform: scale(.9) rotate(var(--rz)); }
  .floppy { width: 210px; height: 216px; } .shutter { left: 52px; width: 100px; } .shutter i { left: 58px; }
  .sd { width: 160px; height: 206px; } .sd-label b { font-size: 48px; }
}