/* Tell Me the Hand host pages: the card room after closing (DESIGN.md §2 tokens). No web fonts. */
:root {
  --room: #0c0b0a;
  --surface: #17140f;
  --raised: #211c16;
  --hairline: rgba(255, 255, 255, 0.1);
  --ink: #f2ecdd;
  --ink-2: #b9b09c;
  --ink-3: #8a826f;
  --brass: #c9a45c;
  --brass-light: #e9cf8e;
  --felt: #1f694a;
  --felt-deep: #0b1f1b;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --room: #f3eee3;
    --surface: #fbf8f1;
    --raised: #ffffff;
    --hairline: rgba(27, 25, 22, 0.12);
    --ink: #1b1916;
    --ink-2: #5c554a;
    --ink-3: #6f685b;
    --brass: #7a5c24;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--room);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
}
a { color: var(--brass); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--raised); padding: 8px 12px; z-index: 10; }

.top, .bottom, main { max-width: 980px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--hairline); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 18px/1 var(--serif); }
.top nav { display: flex; gap: 18px; font-size: 15px; }
.top nav a { color: var(--ink-2); text-decoration: none; }
.top nav a[aria-current="page"], .top nav a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(32px, 5vw, 48px); margin: 40px 0 12px; }
h2 { font-size: 26px; margin: 44px 0 10px; }
h3 { font-size: 19px; margin: 24px 0 6px; }
p, li { color: var(--ink); }
.lede { font-size: 20px; color: var(--ink-2); max-width: 640px; }
.muted { color: var(--ink-2); }
.fine { font-size: 14px; color: var(--ink-3); }
.brass { color: var(--brass); }

/* ---------- home */
.hero { position: relative; margin: 28px 0 8px; border-radius: 28px; overflow: hidden; background: #0c0b0a; aspect-ratio: 7 / 4; }
.hero > img.table { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .cards { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 10px; }
.hero .cards img { width: clamp(46px, 8vw, 86px); height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55)); }
.hero .cards img:first-child { transform: rotate(-7deg); }
.hero .cards img:last-child { transform: rotate(6deg); }
.hero .stack { position: absolute; left: 67%; top: 55%; width: clamp(54px, 10vw, 110px); }
.hero .stack img { display: block; width: 100%; height: auto; margin-top: -58%; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }
.hero .stack img:first-child { margin-top: 0; }
.hero .chip-alone { position: absolute; left: 25%; top: 40%; width: clamp(44px, 8vw, 90px); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }
.hero .ticket { position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%); background: rgba(11, 31, 27, 0.78); border: 1px solid rgba(233, 207, 142, 0.45); color: #f2ecdd; border-radius: 999px; padding: 8px 18px; font: 600 clamp(12px, 1.8vw, 16px)/1.2 var(--round); white-space: nowrap; }
.hero .ticket b { color: var(--brass-light); font-weight: 700; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 26px 0 10px; }
.badge { display: inline-block; border: 1px solid var(--brass); color: var(--ink); border-radius: 12px; padding: 12px 18px; font-weight: 600; text-decoration: none; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 30px 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px; padding: 20px 20px 18px; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--felt); color: #f2ecdd; font: 700 15px/1 var(--round); margin-bottom: 10px; box-shadow: inset 0 0 0 2px rgba(233, 207, 142, 0.6); }
.steps h3 { margin-top: 4px; }
.steps p { margin: 6px 0 0; color: var(--ink-2); }
.plain { background: var(--surface); border: 1px solid var(--hairline); border-radius: 20px; padding: 6px 22px 16px; margin: 20px 0; }

/* ---------- legal pages */
.doc { max-width: 760px; }
.doc h2 { border-top: 1px solid var(--hairline); padding-top: 26px; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--hairline); }
.doc th { color: var(--ink-2); font-weight: 600; }
.doc blockquote { margin: 12px 0; padding: 10px 16px; border-left: 3px solid var(--brass); background: var(--surface); border-radius: 0 12px 12px 0; color: var(--ink-2); }
.doc .box { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 4px 18px; }
.faq dt { font-weight: 600; margin-top: 18px; }
.faq dd { margin: 4px 0 0; color: var(--ink-2); }

.bottom { border-top: 1px solid var(--hairline); margin-top: 60px; padding-top: 22px; padding-bottom: 40px; }
.bottom p { margin: 4px 0; font-size: 15px; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { a { transition: color 0.15s; } }
@media (max-width: 560px) { .top nav { gap: 12px; font-size: 14px; } .brand span { font-size: 16px; } .hero { border-radius: 18px; } }
