/* BILLSCLOCK tokens (sampled from the approved art)
   void #07090f  maroon-horizon #2a1a2b  far #141b33  mid #1c2644  near #2a2a42
   board #050506  LED orange #ffb21a  LED green #38f08a  paper #e8e2d0
   asphalt #0c0e15  curb #232733  sign-green #0d5a3a
   space: 4 8 12 16 24 40 64 px   radius: 0 (low-poly, nothing rounds)
   motion: linear drift loops + 100ms LED steps */
@font-face { font-family: 'Share Tech Mono'; src: url(assets/fonts/share-tech-mono-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 400; src: url(assets/fonts/barlow-semi-condensed-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 600; src: url(assets/fonts/barlow-semi-condensed-latin-600-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; src: url(assets/fonts/barlow-semi-condensed-latin-700-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Pixelify Sans'; font-weight: 500; src: url(assets/fonts/pixelify-sans-latin-500-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Pixelify Sans'; font-weight: 700; src: url(assets/fonts/pixelify-sans-latin-700-normal.woff2) format('woff2'); font-display: swap; }

:root {
  --void: #07090f; --maroon: #2a1a2b; --board: #050506;
  --led: #ffb21a; --led-dim: #8a5a0c; --green: #38f08a; --green-dim: #1c7a49;
  --paper: #e8e2d0; --asphalt: #0c0e15; --curb: #232733; --signgreen: #0d5a3a;
  --st: clamp(120px, 18vh, 176px);
  --mono: 'Share Tech Mono', ui-monospace, monospace;
  --led-font: 'Pixelify Sans', 'Share Tech Mono', monospace;
  --body: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--void); scroll-behavior: smooth; }
body { margin: 0; background: var(--void); color: var(--paper); font-family: var(--body); font-size: 18px; line-height: 1.4; overflow-x: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }

/* ---------- hero: the street ---------- */
.hero { position: relative; min-height: max(100svh, 700px); overflow: hidden; isolation: isolate; }
.sky { position: absolute; inset: 0; background: linear-gradient(#07090f 0%, #0d0f1d 45%, #2a1a2b 100%); }
.moon { position: absolute; right: 7vw; top: 6vh; width: 26px; height: 26px; background: #d9d3c4;
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); box-shadow: 0 0 0 transparent; }
.layers { position: absolute; inset: 0; }
.layer { position: absolute; left: 0; bottom: calc(var(--st) - 10px); width: max-content; will-change: transform; animation: drift var(--dur) linear infinite; }
.layer canvas { display: block; image-rendering: pixelated; }
.layer.far { --dur: 220s; opacity: .95; }
.layer.mid { --dur: 120s; }
.layer.near { --dur: 64s; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(calc(var(--tile) * -1)); } }

/* ---------- the board ---------- */
.board { position: absolute; z-index: 3; left: clamp(12px, 5vw, 84px); top: clamp(16px, 6vh, 64px); width: min(60vw, 840px);
  container-type: inline-size; background: #15151a; padding: 1.4cqw;
  clip-path: polygon(0 1.6%, 1.2% 0, 98.8% 0, 100% 1.6%, 100% 98.4%, 98.8% 100%, 1.2% 100%, 0 98.4%); }
.board-in { position: relative; background: var(--board); padding: 3.2cqw 3.6cqw 3.4cqw; border: 1px solid #000; }
.board-in::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.28) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px); }
.board p { margin: 0; }
.led { font-family: var(--led-font); font-weight: 700; color: var(--led); text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 0 .9cqw rgba(255,178,26,.45); white-space: nowrap; }
.row-label { font-size: 6.2cqw; line-height: 1.15; }
.row-label.small { font-size: 5.3cqw; margin-top: 2.6cqw; }
.row-debt { font-family: var(--mono); font-weight: 400; font-size: 8.4cqw; line-height: 1.2; font-variant-numeric: tabular-nums; margin-top: .6cqw; }
.row-share { font-family: var(--mono); font-weight: 400; font-size: 9.6cqw; line-height: 1.15; margin-top: .6cqw; font-variant-numeric: tabular-nums; }
.bolt { position: absolute; width: 1.6cqw; height: 1.6cqw; background: #3a3a46; }
.b1 { left: 2.6cqw; top: 2.6cqw; } .b2 { right: 2.6cqw; top: 2.6cqw; } .b3 { left: 2.6cqw; bottom: 2.6cqw; } .b4 { right: 2.6cqw; bottom: 2.6cqw; }

.dash { position: relative; z-index: 1; margin-top: 3.4cqw; padding: 2.4cqw 2.6cqw; background: #070b0a; border: 1px solid var(--green-dim); }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--mono); font-size: max(10px, 1.9cqw); color: #7d8b86; }
.chip { border: 1px solid var(--green-dim); padding: 2px 6px; color: var(--green); letter-spacing: .08em; }
.paid { margin-top: 1.2cqw; font-family: var(--mono); color: var(--green); font-size: max(15px, 4.6cqw); text-shadow: 0 0 1cqw rgba(56,240,138,.5); white-space: nowrap; }
.paid-k { opacity: .92; }
.paid b { font-weight: 400; background: #0b2a1b; padding: 0 .5cqw; }
.spark { display: block; width: 100%; height: auto; margin-top: 1cqw; image-rendering: pixelated; }
.ca { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: baseline; gap: 1.4cqw; width: 100%; margin-top: 1.4cqw;
  padding: 1.2cqw 1.4cqw; border: 1px dashed var(--green-dim); font-family: var(--mono); font-size: max(10.5px, 1.95cqw); color: #bfe9d2; }
.ca:hover, .ca:focus-visible { background: #0b2a1b; outline: 1px solid var(--green); }
.ca-k { color: var(--green); } .ca-v { flex: 1; overflow-wrap: anywhere; user-select: all; } .ca-t { color: #7d8b86; font-size: .9em; }
.ca.copied .ca-t { color: var(--green); }

/* ---------- sign (title + links) ---------- */
.sign { position: absolute; z-index: 4; right: clamp(14px, 4vw, 64px); top: clamp(24px, 12vh, 120px); width: min(30vw, 360px); background: var(--signgreen);
  border: 3px solid #e8f3ec; outline: 2px solid var(--signgreen); outline-offset: 3px; padding: 14px 16px 12px; transform: rotate(1.4deg); }
.sign h1 { margin: 0; font-family: var(--body); font-weight: 700; font-size: clamp(34px, 4.2vw, 54px); line-height: .95; letter-spacing: .02em; color: #fff; }
.sign h1 span { color: var(--led); margin-left: .08em; }
.sign-sub { margin: 8px 0 0; font-size: 15px; line-height: 1.3; color: #cfe6d8; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.links a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: #06281a; border: 1px solid #5fbf8f; text-decoration: none;
  font-weight: 600; letter-spacing: .06em; font-size: 14px; color: #fff; }
.links a:hover, .links a:focus-visible { background: var(--led); color: #1a1000; border-color: var(--led); outline: none; }
.links svg { width: 18px; height: 18px; }
.stand { margin: 10px 0 0; font-family: var(--mono); font-size: 12px; color: #9ed2b6; letter-spacing: .06em; }

/* ---------- street, taxi, people ---------- */
.street { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: var(--st); background: var(--asphalt); }
.curb { position: absolute; left: 0; right: 0; top: 0; height: 34%; background: linear-gradient(#2c3040, var(--curb)); border-bottom: 3px solid #3b4054; }
.lane { position: absolute; left: 0; right: 0; top: 72%; height: 4px; background: repeating-linear-gradient(90deg, #cfc8b0 0 46px, transparent 46px 110px); animation: lane 3.2s linear infinite; opacity: .75; }
@keyframes lane { to { background-position-x: -110px; } }
.taxi, .peds { position: absolute; image-rendering: pixelated; left: 0; will-change: transform; }
.taxi { bottom: 8%; width: 252px; height: 84px; animation: taxi 24s linear infinite; z-index: 3; }
@keyframes taxi { from { transform: translateX(-300px); } to { transform: translateX(calc(100vw + 60px)); } }
.peds { top: -30px; width: 150px; height: 66px; animation: peds 90s linear infinite; z-index: 2; }
@keyframes peds { from { transform: translateX(calc(100vw + 40px)); } to { transform: translateX(-220px); } }

/* ---------- phones ---------- */
.crowd { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 128px; pointer-events: none; }
.phone { all: unset; pointer-events: auto; position: absolute; bottom: -14px; width: 44px; height: 80px; background: #040509; border: 2px solid #272c40; cursor: pointer;
  transform: rotate(var(--r, 0deg)); display: flex; }
.phone::before { content: ''; position: absolute; left: 12px; top: 78px; width: 18px; height: 70px; background: #040509; border-left: 2px solid #272c40; border-right: 2px solid #272c40; }
.phone i { font-style: normal; margin: 5px; flex: 1; display: grid; place-items: center; background: #1a1000; color: var(--led); font-family: var(--led-font); font-weight: 700; font-size: 11px; box-shadow: inset 0 0 0 1px #4a3208; }
.phone:hover i, .phone:focus-visible i { background: #3a2605; }
.phone:focus-visible { outline: 2px solid var(--green); }
.phone.snap i { background: #fff; color: #fff; }
.p1 { left: 3%; --r: -6deg; } .p2 { left: 17%; bottom: -26px; --r: 4deg; } .p3 { left: 36%; --r: -3deg; bottom: -20px; }
.p4 { left: 55%; --r: 7deg; bottom: -10px; } .p5 { left: 72%; --r: -8deg; bottom: -24px; } .p6 { left: 88%; --r: 3deg; }
.shots { position: absolute; right: 12px; bottom: 6px; font-family: var(--mono); font-size: 12px; color: #6b7390; letter-spacing: .08em; pointer-events: none; }
.flash { position: fixed; inset: 0; z-index: 50; background: #fff; opacity: 0; pointer-events: none; }
.flash.on { opacity: .5; }
.board.snap .led { text-shadow: 0 0 2.2cqw rgba(255,178,26,.95); }

/* ---------- money ---------- */
.money { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 64px; padding: 64px clamp(16px, 6vw, 96px) 40px; background: #090c16; border-top: 4px solid var(--led-dim); }
.money-head h2, .faq h2 { margin: 0; font-family: var(--body); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(30px, 4vw, 52px); line-height: 1; color: var(--led); }
.money-head p { margin: 12px 0 0; max-width: 28ch; color: #a8a699; }
.pipe { grid-column: 1 / -1; order: 3; display: flex; align-items: flex-end; gap: 0; margin: 16px 0 0; overflow: hidden; }
.tank { position: relative; flex: none; border: 2px solid #3a4056; background: #05070d; display: flex; align-items: flex-start; }
.tank span { position: absolute; left: 6px; top: 4px; z-index: 1; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: #c9c2ae; }
.tank i { position: absolute; left: 0; right: 0; bottom: 0; }
.tank-s { width: 76px; height: 46px; } .tank-s i { height: 3px; background: var(--green); }
.tank-m { width: 96px; height: 78px; } .tank-m i { height: 5px; background: var(--green); }
.tank-l { width: min(46%, 520px); height: 190px; flex: 1 1 auto; } .tank-l i { height: 100%; background: repeating-linear-gradient(0deg, #e69a10 0 6px, #ffb21a 6px 12px); }
.tank-l span { color: #1a1000; font-size: 15px; font-weight: 700; }
.tube { flex: none; position: relative; width: clamp(40px, 8vw, 120px); height: 10px; margin-bottom: 14px; background: #1b2033; overflow: hidden; }
.tube em { position: absolute; top: 3px; left: -8px; width: 4px; height: 4px; background: var(--green); animation: tube 3.6s linear infinite; }
.tube em:nth-child(2) { animation-delay: 1.2s; } .tube em:nth-child(3) { animation-delay: 2.4s; }
@keyframes tube { to { transform: translateX(160px); } }
.tape { margin: 0; align-self: start; font-family: var(--mono); }
.tape div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed #333a52; }
.tape dt { color: #a8a699; font-family: var(--body); font-size: 17px; max-width: 24ch; }
.tape dd { margin: 0; font-size: clamp(22px, 3vw, 36px); text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.o { color: var(--led); text-shadow: 0 0 10px rgba(255,178,26,.35); } .g { color: var(--green); text-shadow: 0 0 10px rgba(56,240,138,.35); }
.verdict { grid-column: 1 / -1; order: 4; margin: 0; font-family: var(--led-font); font-weight: 700; font-size: clamp(22px, 3.4vw, 40px); color: var(--paper); }

/* ---------- faq: street signs ---------- */
.faq { padding: 40px clamp(16px, 6vw, 96px) 64px clamp(16px, 14vw, 240px); background: #090c16; }
.faq h2 { margin-bottom: 24px; }
.faq details { max-width: 640px; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; background: var(--signgreen); border: 2px solid #e8f3ec; outline: 2px solid var(--signgreen); outline-offset: 2px; padding: 10px 16px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: 18px; color: #fff; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--mono); color: var(--led); }
.faq details[open] summary::after { content: '-'; }
.faq summary:hover, .faq summary:focus-visible { background: #0f6c46; outline-color: var(--led); }
.faq details p { margin: 0; padding: 12px 16px 6px; color: #d4cfbf; border-left: 3px solid var(--led-dim); margin-left: 12px; }


.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 16px clamp(16px, 6vw, 96px); background: #040509; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: #6b7390; }
.foot span:nth-child(2) { overflow-wrap: anywhere; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .board { width: calc(100% - 24px); left: 12px; top: 148px; }
  .sign { left: 12px; right: 12px; top: 14px; width: auto; transform: none; padding: 10px 12px; }
  .sign h1 { font-size: 34px; display: inline-block; }
  .sign-sub { font-size: 13px; margin-top: 4px; }
  .links { margin-top: 8px; } .links a { padding: 4px 8px; font-size: 12px; }
  .stand { display: none; }
  .hero { min-height: max(100svh, 880px); }
  .money { grid-template-columns: 1fr; padding-top: 40px; }
  .pipe { order: 2; }
  .faq { padding-left: clamp(16px, 6vw, 96px); }
  .phone { width: 36px; height: 66px; } .phone::before { left: 9px; top: 64px; width: 16px; }
  .tank-l { height: 130px; } .tank-m { height: 60px; width: 70px; } .tank-s { width: 56px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
