/* Gingerbread landing, Direction 1 "We flipped the table" (sketch: product/design/sketches/bake-2026-11-15/Rigged.dc.html).
   Dark only. All styles live here: the CSP blocks inline style attributes.
   Contrast fixes vs the sketch (WCAG 4.5:1): suit red #e0334f -> #d42a45 behind cream text; coral bars and
   step circles behind cream text -> #d42a45 (logo coral #ff4d6d unchanged); grey labels lifted. */

:root {
  color-scheme: dark;
  --bg: #0f0408;
  --felt: #160610;
  --panel: #1a0710;
  --line: #33101e;
  --cream: #fff4e8;
  --muted: #e3c9cf;
  --dim: #c99aa6;
  --coral: #ff4d6d;
  --red: #d42a45;
  --tang: #ff7a1a;
  --gold: #ffd36b;
  --mint: #39f0b0;
  --display: "Bagel Fat One", "Arial Black", system-ui, sans-serif;
  --body: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --focus: 0 0 0 3px var(--bg), 0 0 0 6px var(--gold);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: var(--body);
  font-size: 14.5px;
  line-height: 1.5;
  background-color: var(--bg);
  background-image:
    radial-gradient(60% 45% at 65% 8%, rgba(120, 20, 45, .35), rgba(15, 4, 8, 0) 70%),
    radial-gradient(rgba(255, 244, 232, .035) 1px, transparent 1.4px);
  background-size: 100% 1800px, 5px 5px;
  background-repeat: no-repeat, repeat;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img, svg, video { display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 11px; }
html { scroll-padding-top: 20px; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 11px 16px; border-radius: 11px; background: var(--gold); color: var(--bg); font-weight: 800;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { max-width: 1116px; margin: 0 auto; padding-left: 36px; padding-right: 36px; }

/* Logo */
.logo { color: var(--coral); flex: none; }
.logo .eye { fill: var(--cream); }

/* Type scale */
.h-xl, .h-lg, .h-md, h1 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
.h-xl { font-size: clamp(37.5px, 5.8vw, 70px); line-height: .92; }
.h-lg { font-size: clamp(35px, 5.15vw, 62.5px); line-height: .92; }
.h-md { font-size: clamp(31.5px, 3.96vw, 49.5px); line-height: .95; }
.narrow { max-width: 11ch; }
.narrow-12 { max-width: 12ch; }
.body-lg { font-size: clamp(14.5px, 1.29vw, 17.5px); line-height: 1.5; color: var(--muted); }
.body-md { font-size: clamp(14.5px, 1.29vw, 16.5px); line-height: 1.5; color: var(--muted); max-width: 24rem; }
.under { font-size: 14.5px; color: var(--dim); }
.fine { font-size: 13px; color: var(--dim); }

/* 3D tangerine button */
.btn3d {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 32px; border: 0; border-radius: 14px; cursor: pointer;
  font-family: var(--body); font-weight: 800; font-size: 15.5px; color: var(--bg);
  background: linear-gradient(180deg, #ffa04d 0%, #ff7a1a 55%, #f0620a 100%);
  box-shadow: 0 6px 0 #a8420a, 0 14px 30px rgba(255, 122, 26, .35), inset 0 2px 0 rgba(255, 255, 255, .35);
  transition: transform .12s ease, box-shadow .12s ease;
  touch-action: manipulation;
}
.btn3d:hover { transform: translateY(-1px); box-shadow: 0 7px 0 #a8420a, 0 18px 36px rgba(255, 122, 26, .45), inset 0 2px 0 rgba(255, 255, 255, .35); }
.btn3d:active { transform: translateY(5px); box-shadow: 0 1px 0 #a8420a, 0 6px 14px rgba(255, 122, 26, .3), inset 0 2px 0 rgba(255, 255, 255, .25); }
.btn3d:focus-visible { box-shadow: 0 6px 0 #a8420a, var(--focus); border-radius: 14px; }
.btn-xl { min-height: 59px; padding: 0 36px; font-size: 16.5px; }
.btn-block { width: 100%; min-height: 50px; font-size: 14.5px; }

/* Top bar */
.bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 20px; padding-bottom: 4px; }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; }
.wordmark { font-family: var(--display); font-size: 21px; line-height: 1; }
.bar-links { display: flex; align-items: center; gap: 5px; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px;
  font-weight: 600; font-size: 14.5px; color: var(--muted); text-decoration: none; border-radius: 11px;
}
.nav-link:hover { color: var(--cream); }
.nav-buy { color: var(--gold); }
.nav-cta {
  min-height: 44px; padding: 0 13px; border: 0; border-radius: 11px; background: transparent; cursor: pointer;
  font-weight: 800; font-size: 14.5px; color: var(--cream);
}
.nav-cta:hover { color: var(--gold); }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 54px; align-items: center;
  padding-top: 72px; padding-bottom: 54px;
}
.hero-copy { display: flex; flex-direction: column; gap: 27px; }
.hero h1 { font-size: clamp(43px, 6.99vw, 86.5px); line-height: .9; }
.lede { max-width: 28rem; font-size: clamp(15.5px, 1.56vw, 19.5px); line-height: 1.45; color: var(--muted); }
.cta-stack { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }

.hero-art { height: 504px; perspective: 1600px; display: flex; justify-content: center; align-items: center; }
.pcard {
  position: relative; width: 342px; aspect-ratio: 380 / 530; padding: 0; border: 0; background: none;
  cursor: pointer; border-radius: 25px; container-type: inline-size;
  transform-style: preserve-3d; transform: rotate(6deg) rotateY(0deg);
  transition: transform 1.1s cubic-bezier(.3, 1.4, .4, 1);
  -webkit-tap-highlight-color: transparent;
}
.pcard.flipped { transform: rotate(6deg) rotateY(180deg); }
.pcard:focus-visible { box-shadow: none; }
.pcard:focus-visible .face { outline: 4px solid var(--gold); outline-offset: 6px; }
.face {
  position: absolute; inset: 0; border-radius: 25px; padding: 8cqw;
  display: flex; flex-direction: column; justify-content: space-between; text-align: left;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  font-family: var(--display); font-weight: 400;
}
.face-front { background: var(--cream); color: var(--bg); box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.face-back {
  transform: rotateY(180deg); background: var(--red); color: var(--cream);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6), inset 0 0 0 10px var(--cream);
}
.pip { display: flex; flex-direction: column; align-items: center; align-self: flex-start; font-size: 13.7cqw; line-height: .9; }
.suit { font-size: 10.5cqw; }
.pip-flip { align-self: flex-end; transform: rotate(180deg); }
.pcard-msg { font-size: 13.2cqw; line-height: .95; text-align: center; }

/* Video */
.video-sec { padding-top: 27px; padding-bottom: 81px; }
.video-box {
  position: relative; aspect-ratio: 16 / 9; border-radius: 25px; overflow: hidden;
  background: radial-gradient(70% 80% at 50% 60%, #3a0b1c 0%, #1c0810 60%, #0f0408 100%);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--line);
}
.video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.video-poster { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; }
.video-ghost { position: absolute; width: 198px; height: 198px; color: var(--coral); opacity: .18; }
.video-label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 0 14px; }
.play {
  width: 101px; height: 101px; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #ffa04d 0%, #ff7a1a 55%, #f0620a 100%);
  box-shadow: 0 8px 0 #a8420a, 0 20px 50px rgba(255, 122, 26, .45);
}
.play svg { fill: var(--bg); }
.play:focus-visible { border-radius: 50%; box-shadow: 0 8px 0 #a8420a, var(--focus); }
.video-title { font-family: var(--display); font-weight: 400; font-size: clamp(23px, 2.85vw, 33px); line-height: 1; }
.video-sub { font-size: 14.5px; color: var(--dim); }
/* Once the real teaser is wired, its poster image carries the visuals: drop the placeholder ghost. */
.video-poster.has-video .video-ghost { display: none; }

/* Baker */
.baker {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 50px; align-items: center;
  padding-top: 45px; padding-bottom: 90px;
}
.baker-copy { display: flex; flex-direction: column; gap: 23px; }
.baker-copy .body-lg { max-width: 26rem; }
.chat { display: flex; flex-direction: column; gap: 11px; max-width: 30rem; }
.bubble { font-size: 14.5px; line-height: 1.4; padding: 13px 16px; }
.bubble-you { align-self: flex-end; max-width: 92%; background: var(--tang); color: var(--bg); font-weight: 700; border-radius: 18px 18px 5px 18px; }
.bubble-row { display: flex; gap: 9px; align-items: flex-end; }
.avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: var(--cream); display: flex; align-items: center; justify-content: center; }
.bubble-baker { max-width: 85%; background: #24101a; border-radius: 18px 18px 18px 5px; }

.log { border-radius: 27px; background: var(--cream); color: var(--bg); box-shadow: 0 40px 90px rgba(0, 0, 0, .55); overflow: hidden; transform: rotate(1.2deg); }
.log-head { display: flex; align-items: center; justify-content: space-between; gap: 11px; padding: 18px 23px; background: var(--red); color: var(--cream); }
.log-who { display: flex; align-items: center; gap: 11px; }
.log-logo { color: var(--cream); flex: none; }
.log-logo .eye-dark { fill: var(--red); }
.log-name { display: flex; flex-direction: column; }
.log-baker { font-family: var(--display); font-size: 20px; line-height: 1; }
.log-role { font-size: 13px; font-weight: 600; }
.log-status { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 14px; }
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); animation: pulse 1.8s ease-in-out infinite; }
.log-lines { padding: 9px 23px 0; font-size: 14.5px; }
.ln { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 13px; padding: 12px 0; border-bottom: 1px solid #ecd9c6; }
.ln:last-child { border-bottom: 0; }
.ln time { color: #7a5a4c; font-weight: 700; }
.ln .strong { font-weight: 800; }
.tag-buy { font-weight: 800; }
.tag-up { font-weight: 800; color: #007a55; }
.tag-down { font-weight: 800; color: #c0283f; }
.log-note { padding: 7px 23px 20px; font-size: 13px; font-style: italic; color: #7a5a4c; }

/* Log reveal: only when app.js adds .anim (JS on, motion allowed). Without it, every line is visible. */
.anim .ln { opacity: 0; }
.anim .log.in .ln { animation: lnin .5s ease-out both; }
.anim .log.in .ln:nth-child(1) { animation-delay: .3s; }
.anim .log.in .ln:nth-child(2) { animation-delay: .9s; }
.anim .log.in .ln:nth-child(3) { animation-delay: 1.5s; }
.anim .log.in .ln:nth-child(4) { animation-delay: 2.1s; }
.anim .log.in .ln:nth-child(5) { animation-delay: 2.7s; }
.anim .log.in .ln:nth-child(6) { animation-delay: 3.3s; }
.anim .log.in .ln:nth-child(7) { animation-delay: 3.9s; }
@keyframes lnin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(57, 240, 176, .6); } 50% { box-shadow: 0 0 0 7px rgba(57, 240, 176, 0); } }

/* Problem */
.problem { display: flex; flex-direction: column; gap: 36px; padding-top: 54px; padding-bottom: 99px; }
.problem-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px; }
.chart-box { border-radius: 29px; background: var(--felt); box-shadow: inset 0 0 0 1px var(--line), 0 40px 90px rgba(0, 0, 0, .5); padding: 27px 27px 18px; }
.chart-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 11px; }
.chart { width: 100%; min-width: 0; font-family: var(--body); }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: end; }
.chip-col { display: flex; flex-direction: column; align-items: center; gap: 13px; text-align: center; }
.stack { display: flex; flex-direction: column-reverse; align-items: center; }
.chip { display: block; width: 108px; height: 20px; border-radius: 50%; }
.chip + .chip { margin-bottom: -10px; }
.chip.gold { background: var(--gold); box-shadow: inset 0 -5px 0 #c99a2e; }
.chip.cream { background: var(--cream); box-shadow: inset 0 -5px 0 #c9b3a3; }
.chip.empty { border: 3px dashed var(--coral); }
.chip-amt { font-family: var(--display); font-size: clamp(23px, 2.67vw, 31.5px); line-height: 1; white-space: nowrap; }
.swipe { display: none; }
.amt-gold { color: var(--gold); }
.amt-red { color: var(--coral); }
.chip-who { font-size: 14.5px; color: var(--muted); }

/* Benefits: a fanned hand on wide screens, a stack on narrow */
.deck-sec { display: flex; flex-direction: column; gap: 63px; padding-top: 36px; padding-bottom: 99px; }
.deck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding: 0 9px; }
.bcard {
  border-radius: 23px; padding: 31px; display: flex; flex-direction: column; gap: 16px; min-height: 432px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
}
.bcard p { font-size: 15.5px; line-height: 1.5; }
.bsuit { font-family: var(--display); font-size: 37px; line-height: 1; }
.btitle { font-family: var(--display); font-weight: 400; font-size: clamp(26.5px, 2.67vw, 33px); line-height: .98; }
.bcard-1 { background: var(--cream); color: var(--bg); transform: translateY(50px) rotate(-7deg); }
.bcard-2 { background: var(--red); color: var(--cream); transform: rotate(1deg); box-shadow: 0 30px 60px rgba(0, 0, 0, .55), inset 0 0 0 8px var(--cream); padding: 34px; }
.bcard-3 { background: var(--gold); color: var(--bg); transform: translateY(60px) rotate(8deg); }

/* Steps and questions */
.steps-sec { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 63px; align-items: start; padding-top: 90px; padding-bottom: 90px; }
.steps-col { display: flex; flex-direction: column; gap: 31px; }
.steps { display: flex; flex-direction: column; gap: 23px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-n {
  flex: none; width: 49px; height: 49px; border-radius: 50%; background: var(--red);
  box-shadow: inset 0 0 0 6px var(--bg), 0 0 0 3px var(--red); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 20px;
}
.steps h3 { font-weight: 800; font-size: 18.5px; line-height: 1.3; }
.steps p { font-size: 14.5px; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.faq { border-top: 1px solid var(--line); }
.q { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; }
.q h3 { font-weight: 800; font-size: 17.5px; line-height: 1.3; }
.q p { font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* Final CTA */
.closer { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; padding-top: 36px; padding-bottom: 108px; }
.closer .h-xl { font-size: clamp(37.5px, 6.16vw, 72.5px); }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; gap: 7px; padding-top: 25px; padding-bottom: 32px; font-size: 14px; color: var(--dim); }
.socials { display: flex; gap: 7px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); color: var(--cream); }
.ca { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); margin-bottom: 7px; }
.ca-label { font-weight: 800; color: var(--gold); }
.ca-text { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--cream); word-break: break-all; }
.ca-copy { min-height: 44px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-weight: 800; }

/* Waitlist panel: full-screen Oven Pass (sketches bake-2026-11-15/OvenPass.dc.html, OvenPassIn.dc.html).
   Sizes are the sketch's at about 0.9, matching the page-wide downsizing. */
.oven {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  color: var(--cream); overflow-y: auto; overscroll-behavior: contain;
  background-color: var(--bg);
  background-image:
    radial-gradient(55% 60% at 28% 45%, rgba(120, 20, 45, .45), rgba(15, 4, 8, 0) 70%),
    radial-gradient(rgba(255, 244, 232, .035) 1px, transparent 1.4px);
  background-size: auto, 5px 5px;
  background-attachment: local, local;
}
.oven[open] { display: block; }
.oven::backdrop { background: var(--bg); }
body.locked { overflow: hidden; }
.oven-close {
  position: absolute; top: 24px; right: 28px; z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #4a1626; background: rgba(15, 4, 8, .6);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.oven-close:focus-visible { border-radius: 50%; }
.oven-grid { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }

/* The pass */
.pass-side { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px; padding: 54px 36px; }
.pass { position: relative; display: flex; width: 560px; max-width: 100%; transform: rotate(-4deg); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .6)); }
.pass-main {
  position: relative; flex: 1; min-width: 0; overflow: hidden;
  display: flex; flex-direction: column; gap: 20px; padding: 30px 30px 27px;
  border-radius: 24px 0 0 24px; color: var(--bg);
  background: linear-gradient(160deg, #ffe08a 0%, #ffd36b 40%, #f5b93f 100%);
}
.pass-main::before { content: ""; position: absolute; inset: 13px; border: 2px solid rgba(15, 4, 8, .18); border-radius: 16px; pointer-events: none; }
.pass-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pass-brand { font-family: var(--display); font-size: 18.5px; }
.pass-kind { font-weight: 800; font-size: 13px; }
.pass-id { display: flex; align-items: center; gap: 18px; }
.pass-avatar { flex: none; width: 83px; height: 83px; border-radius: 50%; background: var(--bg); color: var(--coral); display: flex; align-items: center; justify-content: center; }
.pass-avatar svg { width: 56px; height: 56px; }
.pass-avatar .eye { fill: var(--cream); }
.pass-names { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pass-name { font-family: var(--display); font-size: 35px; line-height: .95; overflow-wrap: break-word; }
.pass-style { font-weight: 800; font-size: 14.5px; }
.pass-stats { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.35fr); gap: 11px; margin: 0; padding-top: 16px; border-top: 2px dashed rgba(15, 4, 8, .35); }
.pass-stats div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pass-stats dt { font-size: 13px; font-weight: 600; }
.pass-stats dd { margin: 0; font-family: var(--display); font-size: 23px; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pass-stats dd.pass-small { font-size: 16.5px; line-height: 1.2; padding-top: 4px; white-space: normal; }
.pass-stub {
  flex: none; width: 106px; display: flex; align-items: center; justify-content: center;
  border-radius: 0 24px 24px 0; border-left: 4px dashed var(--bg); color: var(--bg);
  background: linear-gradient(160deg, #ffe08a, #f5b93f);
}
.pass-stub span { font-family: var(--display); font-size: 26.5px; transform: rotate(-90deg); white-space: nowrap; }
.pass-stamp {
  /* Sits in the empty gap of the pass's top row, clear of "Gingerbread" and "Oven Pass". */
  position: absolute; left: 36%; top: -62px; width: 120px; height: 120px; border-radius: 50%;
  border: 6px solid var(--red); color: var(--red); background: rgba(255, 244, 232, .2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 20px; line-height: 1; transform: rotate(16deg);
  animation: stamp .45s cubic-bezier(.3, 1.4, .4, 1) both;
}
@keyframes stamp { from { opacity: 0; transform: rotate(16deg) scale(1.6); } to { opacity: 1; transform: rotate(16deg) scale(1); } }
.pass-note { max-width: 30rem; text-align: center; font-size: 14.5px; line-height: 1.5; color: var(--muted); }

/* The steps */
.steps-side { display: flex; flex-direction: column; justify-content: center; padding: 63px 63px 54px 27px; }
.oven-out, .oven-in { display: flex; flex-direction: column; gap: 30px; }
.oven-h { font-family: var(--display); font-weight: 400; font-size: 53.5px; line-height: .92; }
.oven-h:focus { box-shadow: none; outline: none; }
.oven-in-head { display: flex; flex-direction: column; gap: 11px; }
.oven-lede { font-size: 15.5px; line-height: 1.5; color: var(--muted); max-width: 28rem; }
.ostep { display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ostep-label { padding: 0; font-weight: 800; font-size: 14.5px; color: var(--gold); }
fieldset.ostep legend { margin-bottom: 13px; }
.name-row { display: flex; gap: 9px; }
.name-box, .invite-box {
  flex: 1; min-width: 0; min-height: 58px; display: flex; align-items: center; padding: 0 20px;
  border-radius: 14px; background: #1c0810; border: 1.5px solid #4a1626;
}
.name-box { font-family: var(--display); font-size: 21px; overflow-wrap: anywhere; }
.invite-box { font-weight: 600; font-size: 14.5px; word-break: break-all; }
.shuffle {
  flex: none; min-width: 58px; min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 0 16px; border-radius: 14px; background: #24101a; border: 1.5px solid #4a1626; font-weight: 800; cursor: pointer;
}
.shuffle.roll .die { animation: roll .35s ease-out; }
@keyframes roll { from { transform: rotate(-200deg) scale(.7); } to { transform: none; } }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.tile {
  cursor: pointer; display: flex; flex-direction: column; gap: 9px; padding: 16px; border-radius: 16px;
  background: #1c0810; color: var(--cream); border: 1.5px solid #4a1626;
  transition: transform .2s cubic-bezier(.3, 1.4, .4, 1);
}
.tile:hover { transform: translateY(-3px); }
.tile:has(input:checked) { background: var(--cream); color: var(--bg); border-color: var(--cream); box-shadow: 0 0 0 4px rgba(255, 211, 107, .45); }
.tile:has(input:focus-visible) { box-shadow: var(--focus); }
.tile-ic { flex: none; width: 40px; height: 40px; border-radius: 11px; background: #2e1520; display: flex; align-items: center; justify-content: center; }
.tile-ic path { stroke: var(--tang); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tile:has(input:checked) .tile-ic { background: var(--bg); }
.tile:has(input:checked) .tile-ic path { stroke: var(--gold); }
.tile-t { font-weight: 800; font-size: 14.5px; }
.tile-d { font-size: 14px; line-height: 1.4; }
.wallets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.wallets.count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wallets.count-1 { grid-template-columns: minmax(0, 1fr); }
.wallet-btn {
  min-height: 54px; display: flex; align-items: center; justify-content: center; padding: 0 12px; text-align: center;
  border-radius: 14px; font-weight: 800; font-size: 14.5px; text-decoration: none; cursor: pointer;
  background: #24101a; color: var(--cream); border: 1.5px solid #4a1626; touch-action: manipulation;
}
.wallet-btn.primary {
  border: 0; color: var(--bg);
  background: linear-gradient(180deg, #ffa04d 0%, #ff7a1a 55%, #f0620a 100%);
  box-shadow: 0 5px 0 #a8420a, inset 0 2px 0 rgba(255, 255, 255, .35);
}
.wallet-btn.primary:focus-visible { box-shadow: 0 5px 0 #a8420a, var(--focus); }
.wallet-btn:disabled { opacity: .6; cursor: progress; }
.shield { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.shield svg { flex: none; }
.oven-msg { font-size: 14px; color: var(--dim); min-height: 1.5em; }
.oven-msg:empty { min-height: 0; }
.oven-msg.warn { color: var(--gold); }
.copy-btn { min-height: 54px; padding: 0 22px; font-size: 14.5px; }
.invite-note { font-size: 14px; color: var(--muted); }
.ways { border-top: 1px solid var(--line); }
.ways li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ways-sub { display: block; font-size: 13px; color: var(--dim); }
.ways-sub:empty { display: none; }
.ways-pts { font-family: var(--display); font-size: 18.5px; white-space: nowrap; }
.ways-pts.mint { color: var(--mint); }
.ways-pts.gold { color: var(--gold); }
.ways-pts.muted { font-family: var(--body); font-weight: 800; font-size: 14px; color: var(--dim); }
.link-btn {
  align-self: flex-start; min-height: 44px; padding: 0 2px; border: 0; background: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--dim); text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--cream); }
.ways-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 11px; border: 1.5px solid #4a1626; font-weight: 800; white-space: nowrap; }
.ways-pill.done { color: var(--mint); border-color: rgba(57, 240, 176, .45); }

/* Panel on tablets and phones: pass on top (smaller), steps below, sign-in sticky at the bottom. */
@media (max-width: 900px) {
  .oven-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .oven-close { position: fixed; top: 12px; right: 12px; width: 44px; height: 44px; }
  .pass-side { padding: 64px 18px 6px; gap: 14px; }
  .pass { width: min(440px, 100%); transform: rotate(-2deg); }
  .pass-main { padding: 18px 18px 16px; gap: 12px; border-radius: 18px 0 0 18px; }
  .pass-main::before { inset: 8px; border-radius: 12px; }
  .pass-brand { font-size: 14.5px; }
  .pass-kind { font-size: 13px; }
  .pass-id { gap: 12px; }
  .pass-avatar { width: 52px; height: 52px; }
  .pass-avatar svg { width: 34px; height: 34px; }
  .pass-name { font-size: 24px; }
  .pass-style { font-size: 14px; }
  .pass-stats { padding-top: 10px; gap: 8px; }
  .pass-stats dt { font-size: 13px; }
  .pass-stats dd { font-size: 18.5px; }
  .pass-stats dd.pass-small { font-size: 13px; padding-top: 4px; white-space: nowrap; }
  .pass-stub { width: 58px; border-radius: 0 18px 18px 0; border-left-width: 3px; }
  .pass-stub span { font-size: 16.5px; }
  .pass-stamp { width: 74px; height: 74px; left: 38%; top: -40px; border-width: 4px; font-size: 13px; }
  .pass-note { display: none; }
  .steps-side { padding: 18px 18px 0; justify-content: flex-start; }
  .oven-out, .oven-in { gap: 24px; }
  .oven-in { padding-bottom: 28px; }
  .oven-h { font-size: 37px; }
  .tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tile { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 12px 14px; align-items: center; }
  .tile:hover { transform: none; }
  .tile-ic { grid-row: span 2; }
  .tile-d { font-size: 13px; }
  .ostep-sign {
    position: sticky; bottom: 0; z-index: 2; gap: 10px;
    margin: 0 -18px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
    background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -16px 30px rgba(15, 4, 8, .9);
  }
  .shield { font-size: 13px; }
}
@media (max-width: 380px) {
  .wallets { grid-template-columns: minmax(0, 1fr); }
  .name-box { font-size: 18.5px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .tile, .pass-stamp, .shuffle.roll .die { transition: none; animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .deck { gap: 22px; }
  .bcard { padding: 25px; min-height: 396px; }
  .bcard-2 { padding: 27px; }
}
@media (max-width: 900px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 43px; }
  .hero-art { height: auto; padding: 9px 0 27px; }
  .pcard { width: min(288px, 66.6vw); }
  .baker, .steps-sec { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .log { transform: none; }
  .deck { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0; max-width: 468px; }
  .bcard { min-height: 0; }
  .bcard-1 { transform: rotate(-1.5deg); }
  .bcard-2 { transform: rotate(1deg); }
  .bcard-3 { transform: rotate(-1deg); }
  .deck-sec { gap: 32px; }
  .steps-sec { padding-top: 36px; }
}
@media (max-width: 720px) {
  .chart-box { padding: 14px 0 11px 14px; border-radius: 22px; }
  .chart { min-width: 720px; padding-right: 14px; }
  .chips { gap: 9px; }
  .chip { width: 68px; height: 14px; }
  .chip + .chip { margin-bottom: -8px; }
  .chip-who { font-size: 14px; }
  .chip-amt { font-size: 18.5px; }
  .swipe { display: block; padding: 9px 14px 0 0; font-size: 13px; font-weight: 600; color: var(--dim); text-align: right; }
  .nav-link:not(.nav-buy) { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 14.5px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .wordmark { font-size: 18.5px; }
  .logo { width: 27px; height: 27px; }
  .nav-cta { padding: 0 5px; font-size: 14px; }
  .cta-stack, .cta-stack .btn3d { width: 100%; }
  .btn3d { padding: 0 22px; }
  .closer .btn3d { width: 100%; }
  .log { border-radius: 22px; }
  .log-head { padding: 14px 16px; }
  .log-lines { padding: 5px 16px 0; font-size: 14.5px; }
  .ln { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 9px; padding: 10px 0; }
  .log-note { padding: 7px 16px 16px; }
  .video-box { border-radius: 18px; }
  .video-ghost { width: 126px; height: 126px; }
  .play { width: 72px; height: 72px; }
  .video-sec { padding-bottom: 54px; }
  .deck { padding: 0 5px; }
  .bcard { padding: 22px; }
  .bcard-2 { padding: 23px; }
}
@media (max-width: 380px) {
  .wordmark { font-size: 16.5px; }
  .nav-cta { font-size: 13px; }
}

/* Small screens: the poster card and the title collide, so show only the play button
   (the button keeps its "Play Meet Gingerbread, 30 seconds" label). */
@media (max-width: 720px) {
  .video-poster.has-video .video-title, .video-poster.has-video .video-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pcard, .btn3d { transition: none; }
  .live { animation: none; }
  .anim .ln { opacity: 1; }
  .anim .log.in .ln { animation: none; }
}
