:root {
  color-scheme: dark;
  --ink: #eef7f2;
  --muted: #9cb0a7;
  --line: rgba(225, 246, 236, .13);
  --panel: rgba(20, 43, 36, .72);
  --panel-strong: #17372e;
  --mint: #7ce6ae;
  --mint-deep: #269565;
  --lime: #d7ef7f;
  --warm: #f0c887;
  --danger: #ff8f7f;
  --bg: #091511;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 20rem;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 8%, rgba(75, 194, 137, .19), transparent 31rem),
    radial-gradient(circle at 92% 24%, rgba(215, 239, 127, .08), transparent 24rem),
    linear-gradient(155deg, #07110e 0%, #0d201a 52%, #08130f 100%);
  overflow-x: hidden;
}

button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, 76rem);
  margin: 0 auto;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: 1.05rem; font-weight: 760; letter-spacing: -.03em; }
.brand-mark { position: relative; display: inline-block; width: 2rem; height: 2rem; border-radius: 38% 62% 58% 42%; background: var(--mint); transform: rotate(-9deg); }
.brand-mark i { position: absolute; width: .34rem; height: .34rem; border-radius: 50%; background: #0d2b20; }
.brand-mark i:nth-child(1) { left: .48rem; top: .52rem; }
.brand-mark i:nth-child(2) { right: .42rem; top: .75rem; }
.brand-mark i:nth-child(3) { left: .78rem; bottom: .39rem; }
.live-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: #c5d7cf; background: rgba(8, 21, 17, .58); font-size: .75rem; }
.live-pill i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 .32rem rgba(124, 230, 174, .11); animation: live 2s ease-in-out infinite; }

main { width: min(100% - 2rem, 76rem); margin: 0 auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(16rem, .7fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; padding: clamp(4rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7rem); }
.eyebrow, .section-kicker { margin: 0 0 1rem; color: var(--mint); font-size: .7rem; font-weight: 720; letter-spacing: .17em; text-transform: uppercase; }
.hero h1 { max-width: 13ch; margin: 0; font-size: clamp(3rem, 8vw, 7.2rem); line-height: .88; letter-spacing: -.075em; font-weight: 690; }
.hero-lead { max-width: 44rem; margin: 2rem 0 0; color: #b5c8c0; font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.6; }
.phase-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 2.6rem; }
.phase { position: relative; min-width: 0; padding-top: 1rem; border-top: 2px solid rgba(225, 246, 236, .13); }
.phase::before { content: ""; position: absolute; top: -.35rem; left: 0; width: .6rem; height: .6rem; border: 2px solid #53655e; border-radius: 50%; background: #0b1914; }
.phase-done { border-color: rgba(124, 230, 174, .55); }
.phase-done::before { border-color: var(--mint); background: var(--mint); box-shadow: 0 0 0 .3rem rgba(124, 230, 174, .1); }
.phase-now { border-color: var(--lime); }
.phase-now::before { border-color: var(--lime); box-shadow: 0 0 0 .3rem rgba(215, 239, 127, .12); }
.phase b, .phase small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phase b { font-size: .72rem; font-weight: 680; }
.phase small { margin-top: .2rem; color: #9aafa5; font-size: .65rem; }
.phase-now small { color: var(--lime); }

.build-card { position: relative; overflow: hidden; padding: 1.6rem; border: 1px solid var(--line); border-radius: 1.8rem; background: linear-gradient(145deg, rgba(31, 67, 55, .86), rgba(12, 27, 22, .92)); box-shadow: 0 2rem 5rem rgba(0, 0, 0, .24); }
.build-card::after { content: ""; position: absolute; width: 10rem; height: 10rem; right: -4rem; top: -4rem; border: 1.2rem solid rgba(124, 230, 174, .08); border-radius: 50%; }
.build-card p { margin: 0 0 1rem; color: var(--mint); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.build-card strong { display: block; font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.02; letter-spacing: -.05em; font-weight: 640; }
.build-card > span { color: #a5bbb1; font-size: .7rem; }
.build-meter { display: grid; grid-template-columns: repeat(8, 1fr); gap: .3rem; margin: 2rem 0 .7rem; }
.build-meter i { height: .35rem; border-radius: 1rem; background: #2a453b; }
.build-meter i:nth-child(-n+3) { background: var(--mint); }
.build-meter i:nth-child(4) { background: var(--lime); animation: meter 1.8s ease-in-out infinite; }

.prototype { display: grid; grid-template-columns: minmax(18rem, .8fr) minmax(21rem, 1.2fr); gap: clamp(2rem, 8vw, 8rem); align-items: center; padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem); border: 1px solid var(--line); border-radius: clamp(1.6rem, 4vw, 3.5rem); background: linear-gradient(145deg, rgba(20, 46, 38, .92), rgba(8, 22, 17, .9)); box-shadow: inset 0 1px rgba(255,255,255,.035), 0 3rem 8rem rgba(0,0,0,.2); }
.prototype-copy h2, .section-heading h2 { margin: 0; font-size: clamp(2rem, 5vw, 4.5rem); line-height: .98; letter-spacing: -.065em; font-weight: 640; }
.prototype-copy > p:not(.section-kicker) { margin: 1.5rem 0 2.2rem; color: #9fb4aa; line-height: 1.6; }
.prototype-copy > .prototype-disclaimer { display: flex; gap: .7rem; align-items: flex-start; margin: -1rem 0 2.2rem; padding: .85rem 1rem; border: 1px solid rgba(124, 230, 174, .16); border-radius: .9rem; background: rgba(124, 230, 174, .055); color: #b4c9bf; font-size: .76rem; line-height: 1.45; }
.prototype-disclaimer > i { flex: 0 0 auto; width: .55rem; height: .55rem; margin-top: .27rem; border: 2px solid var(--mint); border-radius: 50%; box-shadow: 0 0 0 .26rem rgba(124, 230, 174, .08); }
.stage-list { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.stage-list li { display: grid; grid-template-columns: 1.7rem 1fr; gap: .8rem; align-items: center; min-height: 3.25rem; padding: .7rem .8rem; border: 1px solid transparent; border-radius: 1rem; color: #a3b8ae; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.stage-list li > i { position: relative; width: 1.25rem; height: 1.25rem; border: 1px solid #4b6157; border-radius: 50%; }
.stage-list li > i::after { content: ""; position: absolute; inset: .3rem; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform .25s ease; }
.stage-list li.is-active { color: var(--ink); border-color: rgba(124, 230, 174, .22); background: rgba(124, 230, 174, .07); transform: translateX(.3rem); }
.stage-list li.is-active > i { color: var(--mint); border-color: var(--mint); box-shadow: 0 0 0 .25rem rgba(124, 230, 174, .08); }
.stage-list li.is-active > i::after { transform: scale(1); }
.stage-list b, .stage-list small { display: block; }
.stage-list b { font-size: .86rem; font-weight: 640; }
.stage-list small { margin-top: .1rem; color: #a0b5ab; font-size: .69rem; }
.stage-list li.is-active small { color: #a5b9af; }

.phone-column { display: grid; justify-items: center; }
.phone { position: relative; width: min(22rem, 78vw); aspect-ratio: 9 / 18.9; padding: .72rem; border: 1px solid #466058; border-radius: 3.2rem; background: linear-gradient(145deg, #293c36, #050a08 72%); box-shadow: 0 2.8rem 6rem rgba(0,0,0,.48), inset 0 1px 1px rgba(255,255,255,.12); }
.phone-speaker { position: absolute; z-index: 20; top: 1.2rem; left: 50%; width: 31%; height: 1.35rem; border-radius: 999px; transform: translateX(-50%); background: #050907; box-shadow: inset 0 -.08rem .15rem rgba(255,255,255,.08); }
.phone-home { position: absolute; z-index: 20; left: 50%; bottom: 1.06rem; width: 28%; height: .26rem; border-radius: 1rem; transform: translateX(-50%); background: rgba(238, 247, 242, .7); }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: 2.5rem; background: #d9e7dd; color: #12251e; isolation: isolate; }
.phone-screen::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(#bdd9ca 0 52%, #d9c9aa 52%); transition: background .4s ease; }
.phone-screen::after { content: ""; position: absolute; z-index: -1; inset: 52% 0 0; opacity: .32; background: repeating-linear-gradient(102deg, transparent 0 4.2rem, #9a815d 4.25rem 4.36rem); transform: perspective(14rem) rotateX(14deg); }
.phone-progress { position: absolute; z-index: 12; top: 2.45rem; left: 50%; display: flex; gap: .32rem; transform: translateX(-50%); }
.phone-progress i { width: .35rem; height: .35rem; border-radius: 50%; background: rgba(23, 55, 45, .22); transition: width .25s ease, background .25s ease; }
.phone-progress i.is-active { width: 1.25rem; border-radius: 1rem; background: #176a4d; }
.utility { position: absolute; z-index: 13; top: 3.3rem; width: 3.2rem; height: 3.2rem; padding: 0; border: 1px solid rgba(28, 69, 55, .18); border-radius: 50%; background: rgba(241, 248, 243, .72); box-shadow: 0 .45rem 1.2rem rgba(37,75,62,.11); backdrop-filter: blur(.5rem); cursor: pointer; }
.utility:focus-visible, .primary-action:focus-visible, button:focus-visible { outline: .24rem solid var(--lime); outline-offset: .18rem; }
.utility[aria-pressed="true"] { background: #fff; box-shadow: 0 0 0 .32rem rgba(25, 102, 74, .28), 0 .45rem 1.2rem rgba(37,75,62,.16); }
.utility-help { left: 1rem; }
.utility-safety { right: 1rem; }
.utility-help span::before { content: ""; position: absolute; left: .95rem; top: .78rem; width: 1.05rem; height: .85rem; border: .2rem solid #27644f; border-radius: .75rem; }
.utility-help span::after { content: ""; position: absolute; left: 1.23rem; top: 1.67rem; width: .55rem; height: .42rem; border-left: .18rem solid #27644f; transform: skew(-24deg); }
.utility-safety span::before { content: ""; position: absolute; left: .86rem; top: .67rem; width: 1.15rem; height: 1.37rem; border: .2rem solid #b74c40; border-radius: .7rem .7rem 1rem 1rem; clip-path: polygon(50% 0,100% 24%,92% 78%,50% 100%,8% 78%,0 24%); }
.utility-safety span::after { content: ""; position: absolute; left: 1.49rem; top: 1.03rem; width: .18rem; height: .72rem; border-radius: .2rem; background: #b74c40; box-shadow: 0 .94rem #b74c40; }

.scene, .scene-layer { position: absolute; inset: 0; }
.scene-layer { opacity: 0; transform: translateX(10%) scale(.96); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
[data-scene="arrival"] .scene-arrival,
[data-scene="basin"] .scene-basin,
[data-scene="capture"] .scene-capture,
[data-scene="pending"] .scene-pending,
[data-scene="needs-action"] .scene-needs,
[data-scene="received"] .scene-received { opacity: 1; transform: none; }
.hall-light { position: absolute; left: 10%; top: 13%; width: 55%; height: 47%; background: linear-gradient(100deg, rgba(255,248,215,.82), transparent); clip-path: polygon(0 0, 56% 0, 100% 100%, 28% 100%); }
.door { position: absolute; left: 15%; top: 18%; width: 42%; height: 39%; border: .55rem solid #a97d55; border-bottom: 0; background: linear-gradient(90deg, #77553b, #b78c61); box-shadow: inset -1rem 0 rgba(73,43,27,.18); }
.door i { position: absolute; right: .65rem; top: 48%; width: .45rem; height: .45rem; border-radius: 50%; background: #ecd290; }
.door b { position: absolute; left: 50%; bottom: -1.4rem; width: 8rem; height: 1.6rem; border-radius: 50%; transform: translateX(-50%); background: rgba(44, 100, 74, .18); }
.threshold { position: absolute; left: 10%; right: 10%; top: 57%; height: .45rem; border-radius: 1rem; background: #8a6747; }
.person { position: absolute; right: 13%; top: 35%; width: 30%; height: 33%; }
.person i { position: absolute; left: 35%; top: 0; width: 28%; aspect-ratio: 1; border-radius: 50%; background: #6c4634; box-shadow: inset 0 .18rem #243b34; }
.person b { position: absolute; left: 25%; top: 21%; width: 48%; height: 48%; border-radius: 1.1rem .9rem .6rem .6rem; background: #157257; }
.person em { position: absolute; left: 40%; top: 62%; width: 18%; height: 38%; border-left: .42rem solid #283d37; border-right: .42rem solid #283d37; }
.safe-path { position: absolute; left: 21%; bottom: 17%; display: flex; gap: .55rem; transform: rotate(-7deg); }
.safe-path i { width: 1.5rem; height: 2.3rem; border-radius: 60% 40% 55% 45%; background: rgba(28, 123, 86, .23); transform: rotate(17deg); animation: footprint 2.2s ease-in-out infinite; }
.safe-path i:nth-child(2) { animation-delay: .3s; }
.safe-path i:nth-child(3) { animation-delay: .6s; }

.mirror { position: absolute; left: 18%; right: 18%; top: 14%; height: 31%; border: .45rem solid #f5eedc; border-radius: 1.4rem 1.4rem .8rem .8rem; background: linear-gradient(145deg, #8dbfc1, #e5f5e8); box-shadow: 0 .8rem 1.5rem rgba(38,88,76,.13); }
.mirror i { position: absolute; left: 12%; top: 12%; width: 42%; height: .3rem; border-radius: 1rem; transform: rotate(-28deg); background: rgba(255,255,255,.52); box-shadow: 1.1rem .9rem rgba(255,255,255,.32); }
.tap { position: absolute; z-index: 3; left: 50%; top: 43%; width: 2.6rem; height: 2.8rem; transform: translateX(-50%); }
.tap::before { content: ""; position: absolute; left: .9rem; top: .65rem; width: .72rem; height: 2rem; border-radius: .5rem; background: #bfc9c5; box-shadow: inset .18rem 0 #e7efeb; }
.tap::after { content: ""; position: absolute; left: .95rem; top: .28rem; width: 1.45rem; height: .65rem; border-radius: .6rem .6rem .25rem .25rem; background: #cdd8d3; }
.tap i { position: absolute; left: 2.15rem; top: .78rem; width: .28rem; height: 1rem; border-radius: 0 0 1rem 1rem; background: rgba(102,184,208,.65); animation: water 1.8s ease-in-out infinite; }
.basin, .capture-basin { position: absolute; left: 14%; right: 14%; top: 53%; height: 22%; border: .55rem solid #f6f3e9; border-top-width: .85rem; border-radius: 14% 14% 48% 48%; background: #d7e2dd; box-shadow: inset 0 -1.3rem #eef1ec, 0 .8rem 1.2rem rgba(67,83,75,.16); }
.mark { position: absolute; width: .85rem; height: .42rem; border-radius: 50%; background: rgba(139,93,61,.42); filter: blur(.04rem); }
.mark-a { left: 16%; top: 38%; transform: rotate(23deg); }
.mark-b { right: 17%; top: 52%; }
.mark-c { left: 48%; bottom: 13%; transform: rotate(-18deg); }
.cloth { position: absolute; z-index: 5; left: 24%; top: 62%; width: 4.2rem; height: 3.25rem; border-radius: .6rem 1rem .4rem 1.15rem; background: linear-gradient(145deg, #5dcea3, #1e8b69); transform: rotate(-12deg); animation: wipe 2.3s ease-in-out infinite; box-shadow: 0 .5rem .8rem rgba(23,89,67,.2); }
.cloth i { position: absolute; inset: .45rem; border-top: .14rem dashed rgba(231,255,246,.46); border-radius: inherit; }
.target-glow { position: absolute; right: 14%; top: 51%; width: 6rem; height: 6rem; }
.target-glow i { position: absolute; left: 50%; top: 50%; width: .3rem; height: 2.2rem; border-radius: 1rem; background: rgba(255,255,229,.8); transform: translate(-50%,-50%); animation: glint 2.1s ease-in-out infinite; }
.target-glow i:nth-child(2) { transform: translate(-50%,-50%) rotate(60deg); }
.target-glow i:nth-child(3) { transform: translate(-50%,-50%) rotate(-60deg); }

[data-scene="capture"] .phone-screen::before { background: linear-gradient(#adcfc1 0 43%, #5d766c 43%); }
.capture-basin { top: 36%; left: 10%; right: 10%; height: 27%; }
.focus-corner { position: absolute; width: 3.5rem; height: 3.5rem; border-color: #e9ff9d; border-style: solid; }
.focus-a { left: 9%; top: 28%; border-width: .3rem 0 0 .3rem; border-radius: .8rem 0 0 0; }
.focus-b { right: 9%; top: 28%; border-width: .3rem .3rem 0 0; border-radius: 0 .8rem 0 0; }
.focus-c { left: 9%; top: 58%; border-width: 0 0 .3rem .3rem; border-radius: 0 0 0 .8rem; }
.focus-d { right: 9%; top: 58%; border-width: 0 .3rem .3rem 0; border-radius: 0 0 .8rem 0; }
.camera-lens { position: absolute; left: 50%; bottom: 16%; width: 4.6rem; height: 4.6rem; border: .42rem solid rgba(16,53,41,.72); border-radius: 50%; transform: translateX(-50%); background: rgba(241,249,244,.82); }
.camera-lens i { position: absolute; inset: .75rem; border: .25rem solid #276f55; border-radius: 50%; box-shadow: inset 0 0 0 .4rem rgba(39,111,85,.14); }
.device-tray { position: absolute; left: 8%; bottom: 17%; width: 3.8rem; height: 2.8rem; border-radius: .55rem; background: rgba(20,59,46,.83); transform: translateY(4rem); animation: tray 2.5s ease-in-out infinite; }
.device-tray i { position: absolute; inset: .4rem; border-radius: .25rem; background: linear-gradient(145deg, #b5d2c5 45%, #eee3c8 45%); }

[data-scene="pending"] .phone-screen::before, [data-scene="needs-action"] .phone-screen::before, [data-scene="received"] .phone-screen::before { background: linear-gradient(#d5e4da 0 57%, #afc9bc 57%); }
[data-scene="pending"] .phone-screen::after, [data-scene="needs-action"] .phone-screen::after, [data-scene="received"] .phone-screen::after { display: none; }
.pending-tray { position: absolute; left: 10%; top: 46%; width: 4.6rem; height: 4rem; border-radius: .9rem; background: #204d3c; box-shadow: 0 .7rem 1.2rem rgba(18,63,46,.18); }
.pending-tray::after { content: ""; position: absolute; left: 50%; bottom: -.55rem; width: 5.5rem; height: .7rem; border-radius: 50%; transform: translateX(-50%); background: rgba(35,84,65,.2); }
.pending-tray i, .packet i, .receipt-object i { position: absolute; inset: .55rem; border-radius: .45rem; background: linear-gradient(145deg, #bddace 45%, #e7d9b9 45%); }
.bridge { position: absolute; left: 31%; right: 25%; top: 51%; height: .4rem; border-radius: 1rem; background: repeating-linear-gradient(90deg, #6f9685 0 .75rem, transparent .75rem 1.2rem); }
.bridge i { position: absolute; top: -.28rem; width: .95rem; height: .95rem; border: .16rem solid #5d7b6f; border-radius: 50%; background: #c7ddd3; }
.bridge i:nth-child(1) { left: 8%; }.bridge i:nth-child(2) { left: 46%; }.bridge i:nth-child(3) { right: 4%; }
.packet { position: absolute; z-index: 5; left: 26%; top: 44%; width: 3.3rem; height: 3.3rem; border-radius: .72rem; background: #fff; box-shadow: 0 .5rem 1rem rgba(21,67,51,.2); animation: send 2.6s cubic-bezier(.5,0,.2,1) infinite; }
.server { position: absolute; right: 8%; top: 37%; width: 4.3rem; height: 8.4rem; padding: .8rem .7rem; border-radius: 1rem; background: linear-gradient(145deg, #214d3d, #102c22); box-shadow: 0 1rem 1.7rem rgba(15,52,39,.24); }
.server i { display: block; height: 1.45rem; margin-bottom: .55rem; border: .12rem solid #60947d; border-radius: .35rem; background: #18392d; }
.server i::after { content: ""; display: block; width: .35rem; height: .35rem; margin: .4rem 0 0 .35rem; border-radius: 50%; background: var(--mint); }
.received-server { right: 50%; top: 23%; transform: translateX(50%); }
.receipt-object { position: absolute; z-index: 5; left: 50%; top: 48%; width: 4.3rem; height: 4.3rem; border-radius: .85rem; transform: translateX(-50%); background: #fff; box-shadow: 0 .75rem 1.5rem rgba(16,66,47,.22); }
.receipt-ring { position: absolute; z-index: 4; left: 50%; top: 42%; width: 8rem; height: 8rem; transform: translateX(-50%); }
.receipt-ring::before { content: ""; position: absolute; inset: .9rem; border: .35rem solid #2fa875; border-radius: 50%; box-shadow: 0 0 0 .4rem rgba(47,168,117,.12); }
.receipt-ring i { position: absolute; inset: 0; border: .18rem solid rgba(47,168,117,.52); border-radius: 50%; animation: receipt 2.5s ease-out infinite; }
.receipt-ring i:nth-child(2) { animation-delay: .8s; }.receipt-ring i:nth-child(3) { animation-delay: 1.6s; }
.return-path { position: absolute; left: 20%; right: 20%; bottom: 18%; height: 2rem; border-bottom: .26rem solid rgba(43,128,91,.38); border-radius: 50%; }

.returned-packet { position: absolute; z-index: 4; left: 12%; top: 44%; width: 4.2rem; height: 4.2rem; border: .22rem solid #b85e51; border-radius: .85rem; background: #fff5e9; box-shadow: 0 .75rem 1.4rem rgba(86,42,33,.18); }
.returned-packet i { position: absolute; inset: .62rem; border-radius: .45rem; background: linear-gradient(145deg, #bddace 45%, #e7d9b9 45%); }
.broken-bridge { position: absolute; left: 32%; right: 29%; top: 52%; height: .4rem; background: repeating-linear-gradient(90deg, #9b786d 0 .65rem, transparent .65rem 1.15rem); }
.broken-bridge::after { content: ""; position: absolute; left: 45%; top: -.8rem; width: 1.2rem; height: 1.8rem; background: #d5e4da; transform: rotate(18deg); }
.broken-bridge i { position: absolute; top: -.25rem; width: .9rem; height: .9rem; border: .16rem solid #9b665b; border-radius: 50%; background: #eedcd3; }
.broken-bridge i:nth-child(1) { left: 4%; }.broken-bridge i:nth-child(2) { left: 42%; }.broken-bridge i:nth-child(3) { right: 2%; }
.offline-server { opacity: .62; filter: saturate(.35); }
.offline-server i::after { background: #d47162; }
.retry-orbit { position: absolute; z-index: 5; left: 8%; top: 38%; width: 6rem; height: 6rem; border: .25rem solid transparent; border-top-color: #b85e51; border-left-color: #b85e51; border-radius: 50%; animation: retry-pulse 2s ease-in-out infinite; }
.retry-orbit::after { content: ""; position: absolute; left: -.28rem; top: 3.8rem; border: .65rem solid transparent; border-top-color: #b85e51; transform: rotate(26deg); }
.retry-orbit i { position: absolute; right: .65rem; bottom: .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: #b85e51; opacity: .35; }
.retry-orbit i:nth-child(2) { right: 1.35rem; bottom: .12rem; opacity: .18; }

.utility-state { position: absolute; z-index: 11; inset: 0; opacity: 0; visibility: hidden; background: rgba(218, 235, 225, .96); transition: opacity .2s ease, visibility .2s ease; }
[data-utility="help"] .utility-state, [data-utility="safety"] .utility-state { opacity: 1; visibility: visible; }
.help-state, .safety-state { position: absolute; inset: 0; opacity: 0; transition: opacity .2s ease; }
[data-utility="help"] .help-state, [data-utility="safety"] .safety-state { opacity: 1; }
.helper-person { position: absolute; top: 33%; width: 7rem; height: 12rem; }
.helper-a { left: 15%; }.helper-b { right: 12%; transform: scale(.92); }
.helper-person i { position: absolute; left: 50%; top: 0; width: 3.2rem; height: 3.2rem; border-radius: 50%; transform: translateX(-50%); background: #744c39; box-shadow: inset 0 .3rem #2e4d42; }
.helper-person b { position: absolute; left: 50%; top: 3.5rem; width: 5rem; height: 7rem; border-radius: 2rem 2rem 1rem 1rem; transform: translateX(-50%); background: #198365; }
.helper-b b { background: #4d7ea0; }
.help-link { position: absolute; left: 39%; right: 35%; top: 45%; display: flex; justify-content: space-between; align-items: center; }
.help-link::before { content: ""; position: absolute; left: 0; right: 0; height: .28rem; border-radius: 1rem; background: #478c74; }
.help-link i { position: relative; width: 1rem; height: 1rem; border: .17rem solid #34745f; border-radius: 50%; background: #e6f2eb; }
.hazard-sign { position: absolute; left: 50%; top: 25%; width: 8rem; height: 8rem; border: .55rem solid #ba5548; border-radius: 50%; transform: translateX(-50%); }
.hazard-sign::after { content: ""; position: absolute; left: .6rem; right: .6rem; top: 50%; height: .55rem; background: #ba5548; transform: rotate(-45deg); }
.hazard-sign i { position: absolute; inset: 1rem; border: .18rem dashed rgba(186,85,72,.45); border-radius: 50%; }
.safe-hands { position: absolute; left: 17%; right: 17%; bottom: 19%; display: flex; justify-content: space-between; }
.safe-hands i { width: 5rem; height: 7rem; border-radius: 55% 55% 38% 38%; background: #9a6b51; transform: rotate(22deg); box-shadow: inset .55rem 0 rgba(255,255,255,.12); }
.safe-hands i:nth-child(2) { transform: rotate(-22deg); }
.stop-ring { position: absolute; inset: 18% 9%; border: .22rem solid rgba(186,85,72,.26); border-radius: 2.5rem; }

.primary-action { position: absolute; z-index: 14; left: 50%; bottom: 3.2rem; width: 6.3rem; height: 6.3rem; padding: .6rem; border: 0; border-radius: 50%; transform: translateX(-50%); background: rgba(241,249,244,.46); box-shadow: 0 1rem 2rem rgba(17,65,47,.22), inset 0 0 0 .12rem rgba(14,76,54,.16); backdrop-filter: blur(.7rem); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.primary-action:hover { transform: translateX(-50%) translateY(-.18rem); box-shadow: 0 1.2rem 2.3rem rgba(17,65,47,.28); }
.primary-action:active { transform: translateX(-50%) scale(.94); }
.primary-action:disabled { cursor: not-allowed; filter: grayscale(.4); opacity: .62; transform: translateX(-50%); }
.primary-action > span { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(145deg, #4ad195, #1d925f); box-shadow: inset 0 .12rem .18rem rgba(255,255,255,.35); }
.primary-action > span::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1.65rem; height: 1.65rem; border-top: .4rem solid #f3fff8; border-right: .4rem solid #f3fff8; border-radius: .18rem; transform: translate(-65%,-50%) rotate(45deg); }
.primary-action > span::after { content: ""; position: absolute; left: 31%; top: 50%; width: 2.35rem; height: .4rem; border-radius: 1rem; transform: translateY(-50%); background: #f3fff8; }
[data-scene="capture"] .primary-action > span::before { left: 50%; top: 50%; width: 2.25rem; height: 1.65rem; border: .3rem solid #f3fff8; border-radius: .5rem; transform: translate(-50%,-50%); }
[data-scene="capture"] .primary-action > span::after { left: 50%; top: 50%; width: .75rem; height: .75rem; border: .23rem solid #f3fff8; border-radius: 50%; transform: translate(-50%,-50%); background: transparent; }
[data-scene="pending"] .primary-action > span::before { width: 1.4rem; height: 1.4rem; border: .35rem solid rgba(243,255,248,.38); border-top-color: #f3fff8; border-radius: 50%; transform: translate(-50%,-50%); animation: spin 1s linear infinite; }
[data-scene="pending"] .primary-action > span::after { display: none; }
[data-scene="needs-action"] .primary-action > span { background: linear-gradient(145deg, #ffb36e, #d86b50); }
[data-scene="needs-action"] .primary-action > span::before { width: 2rem; height: 2rem; border: .36rem solid #fff8ed; border-left-color: transparent; border-radius: 50%; transform: translate(-50%,-50%) rotate(-34deg); }
[data-scene="needs-action"] .primary-action > span::after { left: 1.04rem; top: .85rem; width: 0; height: 0; border: .55rem solid transparent; border-right-color: #fff8ed; transform: rotate(18deg); background: transparent; }
[data-scene="received"] .primary-action > span { background: linear-gradient(145deg, #daf18a, #86bf4b); }
[data-scene="received"] .primary-action > span::before { width: 1.25rem; height: 2.2rem; border-width: 0 .4rem .4rem 0; border-color: #183b2d; border-style: solid; transform: translate(-50%,-62%) rotate(45deg); }
[data-scene="received"] .primary-action > span::after { display: none; }

.prototype-nav { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; width: min(100%, 29rem); margin-top: 1.2rem; }
.prototype-nav button { min-width: 4.5rem; min-height: 2.75rem; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: .7rem; background: transparent; color: #b3c7bd; font-size: .72rem; cursor: pointer; }
.prototype-nav button:hover { border-color: rgba(124,230,174,.45); color: var(--ink); }
.prototype-nav button:disabled { cursor: not-allowed; opacity: .45; }
.prototype-nav p { margin: 0; color: #a5b9af; font-size: .7rem; line-height: 1.4; text-align: center; }

.simulation-panel { width: min(100%, 34rem); margin-top: 1rem; padding: 1rem; border: 1px solid rgba(124,230,174,.22); border-radius: 1.1rem; background: rgba(8,22,17,.74); }
.simulation-panel p { display: grid; gap: .2rem; margin: 0 0 .8rem; }
.simulation-panel b { color: #dcebe4; font-size: .78rem; }
.simulation-panel p span, .simulation-panel small { color: #a6bbb1; font-size: .7rem; line-height: 1.45; }
.simulation-panel > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.simulation-panel button { min-height: 2.75rem; padding: .65rem .55rem; border: 1px solid rgba(124,230,174,.25); border-radius: .75rem; background: #17372e; color: #e6f4ed; font-size: .68rem; cursor: pointer; }
.simulation-panel button:nth-child(2) { border-color: rgba(255,143,127,.34); background: #3a2924; }
.simulation-panel button:nth-child(3) { border-color: rgba(240,200,135,.34); background: #332d22; }
.simulation-panel button:disabled { cursor: not-allowed; opacity: .42; }
.simulation-panel small { display: block; margin-top: .75rem; }

.principles { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-heading { display: grid; grid-template-columns: .6fr 1.4fr; gap: 2rem; align-items: start; margin-bottom: 3rem; }
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.principle-grid article { min-height: 18rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.5rem; background: rgba(17,38,31,.64); }
.principle-grid h3 { margin: 2.6rem 0 .65rem; font-size: 1.15rem; letter-spacing: -.03em; }
.principle-grid p { margin: 0; color: #8ea49a; font-size: .82rem; line-height: 1.55; }
.principle-icon { position: relative; display: block; width: 3.8rem; height: 3.8rem; border-radius: 1.2rem; background: rgba(124,230,174,.09); }
.principle-icon::before, .principle-icon::after, .principle-icon i { content: ""; position: absolute; display: block; }
.icon-scene::before { left: .85rem; top: .8rem; width: 2rem; height: 2.1rem; border: .18rem solid var(--mint); border-radius: .6rem; }
.icon-scene::after { left: 1.35rem; bottom: .72rem; width: 1rem; height: .18rem; border-radius: 1rem; background: var(--lime); }
.icon-receipt::before { inset: .7rem; border: .16rem solid var(--mint); border-radius: 50%; }
.icon-receipt::after { inset: 1.15rem; border: .16rem solid rgba(124,230,174,.45); border-radius: .45rem; }
.icon-safety::before { left: 1rem; top: .72rem; width: 1.65rem; height: 2rem; border: .19rem solid var(--danger); clip-path: polygon(50% 0,100% 24%,92% 78%,50% 100%,8% 78%,0 24%); }
.icon-safety::after { left: 1.77rem; top: 1.28rem; width: .18rem; height: .75rem; border-radius: .2rem; background: var(--danger); box-shadow: 0 1rem var(--danger); }
.icon-rollback::before { left: .82rem; top: .88rem; width: 2rem; height: 2rem; border: .18rem solid var(--mint); border-left-color: transparent; border-radius: 50%; transform: rotate(-28deg); }
.icon-rollback::after { left: .65rem; top: .65rem; border: .55rem solid transparent; border-right-color: var(--mint); transform: rotate(35deg); }

.status-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; margin-bottom: 2rem; border: 1px solid var(--line); border-radius: 1.4rem; background: var(--line); }
.status-strip > div { display: flex; align-items: center; gap: .65rem; min-height: 5rem; padding: 1rem 1.25rem; background: #0e221b; }
.status-strip i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 .28rem rgba(124,230,174,.09); }
.status-strip span { color: #a6bbb1; font-size: .7rem; }
.status-strip b { display: block; margin-bottom: .1rem; color: #dcebe4; font-size: .82rem; }

footer { display: flex; justify-content: space-between; gap: 1rem; width: min(100% - 2rem, 76rem); margin: 0 auto; padding: 1.5rem 0 2.5rem; color: #9aafa5; font-size: .68rem; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@keyframes live { 50% { opacity: .45; transform: scale(.82); } }
@keyframes meter { 50% { opacity: .3; } }
@keyframes footprint { 50% { opacity: .35; transform: rotate(17deg) translateY(-.2rem); } }
@keyframes water { 50% { height: 1.5rem; opacity: .5; } }
@keyframes wipe { 50% { transform: translateX(4.6rem) rotate(8deg); } }
@keyframes glint { 50% { opacity: .2; transform: translate(-50%,-50%) scale(.7); } }
@keyframes tray { 45%,80% { transform: translateY(0); } }
@keyframes send { 0%,15% { left: 26%; transform: scale(.9); opacity: 0; } 25% { opacity: 1; } 78% { left: calc(92% - 3.3rem); transform: scale(.72); opacity: 1; } 90%,100% { left: calc(92% - 3.3rem); transform: scale(.6); opacity: 0; } }
@keyframes receipt { 0% { transform: scale(.45); opacity: 0; } 20% { opacity: .78; } 80%,100% { transform: scale(1.06); opacity: 0; } }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes retry-pulse { 50% { transform: rotate(-28deg) scale(.92); opacity: .68; } }

@media (max-width: 58rem) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .build-card { max-width: 26rem; }
  .prototype { grid-template-columns: 1fr; }
  .prototype-copy { max-width: 38rem; }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { grid-template-columns: 1fr; }
  .status-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 38rem) {
  .topbar { padding-top: .9rem; }
  .live-pill span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .live-pill { padding: .65rem; }
  .hero { padding-top: 3.2rem; }
  .hero h1 { font-size: clamp(3rem, 17vw, 5rem); }
  .phase-line { grid-template-columns: repeat(2, 1fr); row-gap: 1.2rem; }
  .prototype { padding: 2.5rem .75rem; margin-inline: -.45rem; }
  .prototype-copy { padding-inline: .5rem; }
  .phone { width: min(21rem, 88vw); }
  .simulation-panel > div { grid-template-columns: 1fr; }
  .principle-grid, .status-strip { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 14rem; }
  .status-strip > div { min-height: 4.3rem; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .scene-layer { transform: none; }
  .safe-path i, .tap i, .cloth, .target-glow i, .device-tray, .packet, .receipt-ring i, .retry-orbit { animation: none !important; }
  .device-tray { transform: translateY(0); }
  .packet { left: 54%; opacity: 1; transform: scale(.76); }
  .receipt-ring i { opacity: .48; transform: scale(1); }
  .retry-orbit { opacity: .78; transform: none; }
}

@media (prefers-contrast: more) {
  :root { --line: rgba(255,255,255,.45); --muted: #d8e4de; }
  .phone { border: .2rem solid #fff; }
  .phone-screen { outline: .18rem solid #07120e; outline-offset: -.18rem; }
  .stage-list li.is-active, .principle-grid article { border-color: #fff; }
}
