/* lockin's public pages: the run is the layout. */
.site { background: var(--paper); overflow-x: clip; }
.site main { display: block; }

/* nav: the thin blue line under it is this page's own progress bar */
.nav { position: sticky; top: 0; z-index: 30; height: var(--nav); display: flex; align-items: center; gap: 26px; padding: 0 var(--g); background: var(--paper); }
.nav::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--page, 0) * 1%); background: var(--lock); }
[data-room="blue"] .nav::after { background: #fff; }
.nav .wordmark { margin-right: 6px; }
.nav a.link { color: var(--sub); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a.link:hover, .nav a.link.on { color: var(--ink); }
.nav .spacer { flex: 1; }
.nav .pct-page { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--faint); }
.nav .btn { height: 40px; font-size: 14.5px; padding: 0 15px; }
@media (max-width: 640px) { .nav a.link, .nav .pct-page { display: none; } .nav { gap: 12px; --nav: 58px; } }

/* the hero is one enormous run */
.hero { height: calc(100svh - var(--nav)); min-height: 600px; max-height: 1180px; --fs: 18vw; --cut: 100; }
.hero-in { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: 22px var(--g) 0; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.hero .lead { font-size: clamp(19px, 1.75vw, 26px); font-weight: 500; line-height: 1.22; letter-spacing: -.018em; max-width: 25em; }
.hero .ctas { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.hero .ctas .btn { height: 50px; font-size: 16px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: var(--fs); line-height: .8; letter-spacing: -.038em; white-space: nowrap; margin: 0 0 0 -.035em; padding-bottom: .11em; align-self: end; grid-row: 3; font-variation-settings: "opsz" 96; }
.hero-purse { text-align: right; display: grid; justify-items: end; gap: 6px; }
.hero-purse .amt { display: flex; align-items: flex-start; gap: .16em; font-family: var(--display); font-weight: 700; font-size: clamp(48px, 6.4vw, 104px); line-height: .86; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero-purse .amt .lk { width: .46em; margin-top: .05em; }
.hero-purse .amt .lk svg { width: 100%; height: auto; }
.hero-purse .cap { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; }
.hero-purse .cap2 { font-size: 14px; font-weight: 500; opacity: .66; }
.hero.bare .twin-f { background: var(--lock); }
.hero .twin-f video { filter: brightness(.8) saturate(1.12); opacity: 0; }
.hero .twin-f video.on { opacity: 1; }
.hero .twin-f::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .34), transparent 34%, transparent 58%, rgba(0, 0, 0, .3)); pointer-events: none; }
.hero .twin-f .hero-in { z-index: 1; }
.hero .twin-f .btn--go { background-image: linear-gradient(90deg, #000 50%, #fff 50%); color: #000; }
.hero .twin-f .btn--go:hover { color: #fff; }
.hero .twin-f .btn--ink { background-image: linear-gradient(90deg, var(--lock) 50%, rgba(255, 255, 255, .16) 50%); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.hero .twin-g .btn--ink { background-image: linear-gradient(90deg, var(--lock) 50%, transparent 50%); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.hero .twin-g .btn--ink:hover { color: #fff; box-shadow: none; }
.pct { position: absolute; z-index: 3; left: calc(max(var(--p), var(--peek)) * 1%); font-family: var(--display); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); pointer-events: none; white-space: nowrap; }
.hero .pct { top: 28%; font-size: clamp(44px, 6.6vw, 112px); margin-left: .16em; }
.twin.late .pct { transform: translateX(-100%); margin-left: -.16em; color: #fff; }
.best { position: absolute; z-index: 2; top: 0; bottom: 0; left: calc(var(--b, 0) * 1%); width: 0; border-left: 1.5px dashed var(--ink); opacity: .3; pointer-events: none; }
.twin.hit::after { content: ''; position: absolute; inset: 0; background: #fff; z-index: 4; animation: hit .22s ease-out forwards; pointer-events: none; }
@keyframes hit { from { opacity: .9; } to { opacity: 0; } }
@media (max-width: 760px) {
  .hero { min-height: 560px; }
  .hero-top { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero-purse { justify-items: start; text-align: left; grid-row: 2; }
  .hero .pct { top: 56%; }
}

/* money moving */
.ticker { height: 44px; overflow: hidden; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.ticker .run { display: flex; gap: 40px; white-space: nowrap; animation: tick 70s linear infinite; padding-left: var(--g); }
.ticker span { font-size: 14px; font-weight: 500; color: var(--sub); }
.ticker span em { color: var(--ink); font-style: normal; font-weight: 700; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .run, .marquee .run { animation: none !important; } }

/* sections */
.sec { padding: clamp(84px, 10vw, 150px) var(--g); position: relative; }
.sec h2, .h2 { font-family: var(--display); font-size: clamp(44px, 6.8vw, 108px); font-weight: 700; line-height: 1; letter-spacing: -.028em; max-width: 13em; }
.sec .say { font-size: clamp(18px, 1.55vw, 22px); color: var(--sub); margin-top: 20px; max-width: 34em; line-height: 1.34; letter-spacing: -.012em; }
.sec .say b { color: var(--ink); font-weight: 600; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } }
.bleed { margin-left: calc(var(--g) * -1); margin-right: calc(var(--g) * -1); }

/* a strip: one run, full width. Height is the money, width is how far they've got. */
.strip { display: block; height: var(--h, 200px); text-decoration: none; transition: --peek .5s cubic-bezier(.2, .85, .2, 1); box-shadow: inset 0 0 0 1px var(--line); }
a.strip:hover, a.strip:focus-visible { --peek: 100; }
.s-in { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 12px var(--g) 13px; }
.twin-f .s-in::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .58), transparent 66%); }
.s-in > * { position: relative; }
.s-l { min-width: 0; }
.s-l b { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.1vw, 32px); letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.s-l span.w { display: block; font-size: 15px; font-weight: 500; margin-top: 5px; opacity: .74; white-space: nowrap; }
.s-r { display: flex; align-items: flex-end; gap: .2em; font-size: clamp(38px, calc(var(--h, 200px) * .42), 150px); }
.s-pot { font-family: var(--display); font-weight: 700; line-height: .84; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.s-lk { width: .44em; flex: none; transform: translateY(-.03em); }
.s-lk svg { width: 100%; height: auto; }
.twin-f .lock .body { fill: #fff; }
.twin-f .lock .hole { fill: #000; }
.twin-f .lock .track, .twin-f .lock .fill { stroke: #fff; }
.strip .pct { top: 12px; font-size: clamp(16px, calc(var(--h, 200px) * .13), 34px); margin-left: 10px; font-family: var(--display); }
.twin.late .pct { margin-left: -10px; }
.hero.twin.late .pct { margin-left: calc(var(--g) * -1); }
.strips { display: grid; gap: 5px; }
@media (max-width: 640px) {
  .strip { min-height: 118px; }
  .s-r { font-size: clamp(30px, 10.5vw, 44px); }
  .s-l b { font-size: 19px; }
  .s-l b .face { --s: 20px !important; }
  .s-l span.w { font-size: 13.5px; }
  .strip .pct { font-size: 17px; }
}

/* the same, with a hand on it: the page scrolls the run along */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; }
.steps li { list-style: none; padding: 0 22px 0 0; }
.steps .n { display: block; font-weight: 600; font-size: 15px; color: var(--faint); transition: color .2s; }
.steps li.on .n { color: var(--lock); }
.steps b { display: block; font-family: var(--display); font-size: clamp(24px, 2.5vw, 38px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin-top: 6px; }
.steps p { color: var(--sub); font-size: 16px; line-height: 1.36; margin-top: 8px; max-width: 22em; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 26px 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* the nine challenges */
.kinds8 { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .kinds8 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .kinds8 { grid-template-columns: 1fr; } }
.kind8 { padding: 26px 24px 28px 0; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 2px 16px; align-content: start; border-bottom: 1px solid var(--line); }
.kind8 .art { grid-row: span 3; margin-top: 2px; }
.kind8:hover .art .f { animation: grow .8s cubic-bezier(.2, .8, .2, 1); }
.kind8 b { font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.kind8 span { font-size: 15px; color: var(--sub); line-height: 1.32; margin-top: 3px; }
.kind8 em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--lock); margin-top: 6px; }

/* real faces going past */
.marquee { overflow: hidden; margin-top: 44px; }
.marquee .run { display: flex; width: max-content; animation: tick 80s linear infinite; }
.lvcard { display: flex; align-items: center; gap: 10px; padding: 0 30px 0 0; white-space: nowrap; }
.lvcard b { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.03em; }

/* a run as a barcode: one line per click */
.code { height: clamp(96px, 13vw, 190px); margin-top: 52px; background: var(--paper); box-shadow: none; }
.code .twin-f { background: transparent; }
.code i { position: absolute; top: 0; bottom: 0; background: var(--line); min-width: 1.5px; }
.code .twin-f i { background: #fff; }
.code .twin-f i.flag, .code .twin-g i.flag { background: var(--review); }
.codecap { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--sub); margin-top: 10px; flex-wrap: wrap; }

.checklist { list-style: none; margin-top: 40px; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; padding: 15px 0 16px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.32; letter-spacing: -.012em; }
.checklist li b { font-weight: 600; }
.checklist li span { color: var(--sub); }
@media (max-width: 520px) { .checklist li { grid-template-columns: 1fr; gap: 2px; } }

/* the overlay, on a real run, at the size it really is */
.ov-demo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.ov-demo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ov-demo iframe { position: absolute; left: 0; top: 0; width: 600px; height: 320px; border: 0; transform-origin: 0 0; }

/* the money */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 48px); margin-top: 52px; }
@media (max-width: 820px) { .facts { grid-template-columns: 1fr; gap: 28px; } }
.facts div { border-top: 1.5px solid var(--ink); padding-top: 14px; }
.facts b { display: block; font-family: var(--display); font-size: clamp(30px, 3.4vw, 52px); font-weight: 700; letter-spacing: -.028em; line-height: 1; }
.facts span { display: block; color: var(--sub); font-size: 17px; margin-top: 10px; line-height: 1.34; max-width: 24em; }

.faqwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .faqwrap { grid-template-columns: minmax(0, 1fr); } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -.018em; line-height: 1.2; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--lock); }
.faq summary::after { content: '+'; font-weight: 500; color: var(--faint); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 34px 22px 0; color: var(--sub); font-size: 16.5px; line-height: 1.45; }

/* two ways out, both of them runs */
.doors { display: grid; gap: 5px; }
.door { --h: clamp(150px, 19vw, 260px); }
.door .s-l b { font-size: clamp(36px, 5.6vw, 92px); letter-spacing: -.03em; }
.door .s-l span.w { font-size: 16px; }
.door .s-in { align-items: flex-end; padding-bottom: 18px; }
.door .go { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 5.6vw, 92px); line-height: 1; }

.foot { color: var(--sub); padding: 30px var(--g) 44px; font-size: 14.5px; margin-top: 5px; }
.foot .in { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.foot a:not(.wordmark) { color: var(--ink); text-decoration: none; font-weight: 500; }
.foot a:not(.wordmark):hover { color: var(--lock); }
.foot .spacer { flex: 1; }
.foot .fine { width: 100%; margin-top: 6px; color: var(--faint); font-size: 13px; line-height: 1.5; max-width: 70em; }
.note { color: var(--faint); font-size: 13.5px; }

/* who's live: the headline is the total, the bars are the page */
.livehead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22em); gap: 32px; align-items: end; padding: clamp(18px, 2vw, 30px) var(--g) clamp(18px, 2vw, 28px); }
.livehead h1 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 5.4vw, 92px); line-height: 1; letter-spacing: -.03em; max-width: 9em; }
.livehead p { color: var(--sub); font-size: 17px; line-height: 1.34; letter-spacing: -.012em; }
@media (max-width: 760px) { .livehead { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.s-go { position: absolute; left: var(--g); top: 12px; font-weight: 600; font-size: 15px; opacity: 0; transition: opacity .2s; }
a.strip:hover .s-go, a.strip:focus-visible .s-go { opacity: 1; }
a.strip:hover .pct, a.strip:focus-visible .pct { opacity: 0; }
.strip--none .twin-f { background: var(--lock); }
.live-note { padding: 14px var(--g) 0; }

/* the real game, as big as the page */
.game { position: relative; aspect-ratio: 16 / 9; min-height: 560px; width: 100%; overflow: hidden; background: #0d1a9c; color: #fff; }
.game img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.game-in { position: absolute; left: var(--g); right: var(--g); bottom: clamp(20px, 3vw, 44px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.game h2 { font-family: var(--display); font-size: clamp(38px, 5.2vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -.028em; }
.game p { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.36; letter-spacing: -.01em; color: #dbe3ff; }
.game .here { position: absolute; left: 24.1%; top: 7%; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.game .here::before { content: ''; width: 1.5px; height: 44px; background: #fff; position: absolute; left: 0; bottom: 100%; margin-bottom: 4px; }
@media (max-width: 1000px) { .game .here { display: none; } }
@media (max-width: 760px) { .game-in { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* requests, as they land in Studio */
.reqs { margin-top: 44px; border-top: 1px solid var(--line); }
.req2 { display: grid; grid-template-columns: minmax(120px, 15%) minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.req2 .pot { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 4.6vw, 72px); line-height: .92; letter-spacing: -.03em; }
.req2 .what { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 1.9vw, 28px); letter-spacing: -.03em; line-height: 1.08; }
.req2 .lv { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--sub); font-weight: 500; margin-top: 4px; }
.req2 .btns { display: flex; gap: 6px; }
@media (max-width: 620px) { .req2 { grid-template-columns: minmax(0, 1fr) auto; } .req2 .pot { grid-column: 1 / -1; } .req2 .btns .btn--soft { display: none; } }

/* the pairing code, as big as it is on the day */
.setup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 48px); margin-top: 52px; }
@media (max-width: 860px) { .setup { grid-template-columns: 1fr; gap: 34px; } }
.setup > div { border-top: 1.5px solid var(--ink); padding-top: 14px; display: grid; gap: 8px; align-content: start; }
.setup b { font-family: var(--display); font-size: clamp(26px, 2.6vw, 40px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
.setup p { color: var(--sub); font-size: 17px; line-height: 1.34; }
.setup .pic { height: 74px; margin-top: 12px; display: flex; align-items: center; gap: 4px; }
.setup .pic i { font-style: normal; font-family: var(--display); font-weight: 700; font-size: 32px; width: 46px; height: 62px; display: grid; place-items: center; background: var(--fog); }
.setup .pic i:nth-child(3) { margin-right: 8px; }
.setup .pic .tag { font-size: 15px; font-weight: 600; color: var(--ink); padding: 0 13px; height: 62px; display: flex; align-items: center; background: var(--fog); }
.setup .pic .wide { height: 36px; flex: 1; background: var(--fog); display: flex; align-items: center; padding: 0 12px; font-size: 14px; color: var(--sub); white-space: nowrap; overflow: hidden; }

/* what you keep, drawn to scale */
.keep { margin-top: 48px; }
.keep .split2 { display: grid; grid-template-columns: 92fr 8fr; gap: 3px; height: clamp(72px, 9vw, 130px); }
.keep .split2 i { display: flex; align-items: center; padding: 0 16px; font-style: normal; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3.6vw, 58px); letter-spacing: -.04em; background: #fff; color: var(--lock); white-space: nowrap; overflow: hidden; }
.keep .split2 i + i { background: rgba(255, 255, 255, .22); color: #fff; justify-content: center; padding: 0; font-size: clamp(14px, 1.5vw, 22px); letter-spacing: -.02em; }

/* a pot, drawn from the people in it */
.pot-bar { display: flex; gap: 3px; height: 56px; margin-top: 30px; }
.pot-bar i { display: block; background: var(--lock); flex: var(--w); }
.pot-bar i:nth-child(2) { background: var(--ink); }
.pot-bar i:nth-child(3) { background: var(--faint); }
.chipin { margin-top: 8px; }
.chipin .row2 { display: flex; align-items: center; gap: 10px; font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--line); letter-spacing: -.012em; }
.chipin .row2 u { width: 11px; height: 11px; background: var(--lock); flex: none; text-decoration: none; }
.chipin .row2:nth-child(2) u { background: var(--ink); }
.chipin .row2:nth-child(3) u { background: var(--faint); }
.chipin .row2 b { font-weight: 600; }
.chipin .row2 .num { margin-left: auto; font-size: 26px; }

/* the sheet, as a picture of itself */
.mock { display: grid; gap: 16px; }
.mock h3 { font-family: var(--display); font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.mock .lvl { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mock .lvl b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.mock .lvl span { font-size: 14px; color: var(--sub); }
.mock .ks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.mock .k { display: flex; gap: 12px; align-items: center; padding: 10px 0; font-weight: 600; font-size: 15px; color: var(--sub); border-bottom: 1px solid var(--line); }
.mock .k .art { width: 40px; height: 25px; flex: none; }
.mock .k.on { color: var(--ink); }
.mock .amt { font-family: var(--display); font-weight: 700; font-size: clamp(84px, 9vw, 140px); letter-spacing: -.035em; line-height: .9; }
.mock .fine { font-size: 14px; color: var(--sub); line-height: 1.4; }
