:root {
  --cream: #f4f0e6;
  --paper: #fcfaf5;
  --ink: #191919;
  --navy: #2e3a4e;
  --teal: #416c62;
  --line: #c8c4b9;
  --muted: #575c56;
  --green: #6c936c;
  --yellow: #d5b45e;
  --gray: #858b88;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 16px/1.65 Arial, Helvetica, sans-serif; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: var(--teal); }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
.shell { max-width: 1240px; margin: auto; padding: 0 5%; }
.skip { position: fixed; left: 16px; top: -100px; padding: 12px 18px; background: var(--paper); z-index: 5; }
.skip:focus { top: 16px; }
.top-line { display: flex; justify-content: space-between; border-bottom: 1px solid var(--ink); padding: 18px 0 12px; font-size: 10px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.masthead { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 25px 0; }
.wordmark { width: min(75%, 700px); }
.brand-star { width: 44px; flex: none; }
.nav-row { display: flex; justify-content: space-between; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); align-items: center; }
.nav-row nav { display: flex; gap: 30px; }
.nav-row a { display: inline-flex; align-items: center; gap: 10px; min-height: 49px; text-decoration: none; font-size: 13px; }
.nav-row a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.main-site { font-family: Georgia, serif; font-style: italic; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 50px; padding: 56px 0 49px; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
h1 { font-size: clamp(46px, 5.8vw, 78px); letter-spacing: -3.5px; line-height: 1.09; font-weight: 800; margin: 13px 0 0; }
h1 em { font-family: Georgia, serif; font-weight: 400; color: var(--teal); }
.hero-copy > p:first-child { font-size: 21px; letter-spacing: -.5px; margin-bottom: 8px; }
.muted { color: var(--muted); }
.hero-copy .muted { max-width: 390px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 13px; margin-top: 12px; }
.section-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 25px; }
.section-heading h2 { font-size: 24px; letter-spacing: -.7px; }
.availability { font-size: 12px; color: var(--muted); }
.games-section { padding: 32px 0 50px; }
.featured-game { display: grid; grid-template-columns: 1.3fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.preview-link { display: grid; padding: 35px; background: #e2e8df; text-decoration: none; color: var(--ink); }
.preview-link:hover { color: var(--ink); }
.game-preview { background: #fdfcf8; padding: 23px 25px 16px; border: 1px solid #c1c7bc; border-radius: 8px; width: 100%; max-width: 590px; margin: auto; }
.preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #d9dbd3; font: 24px/1.2 Georgia, serif; letter-spacing: -.8px; }
.sample-label { font: 10px/1.5 Arial, sans-serif; letter-spacing: 0; color: var(--muted); }
.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px 0; }
.player-preview p { display: flex; align-items: center; gap: 7px; font-size: 10px; margin-bottom: 12px; }
.avatar { display: inline-flex; width: 23px; height: 23px; flex: none; justify-content: center; align-items: center; background: var(--teal); color: white; border-radius: 50%; font: 13px Georgia, serif; }
.avatar.challenger { background: var(--navy); }
.sample-board { display: grid; gap: 4px; }
.tile-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.tile { display: grid; place-items: center; aspect-ratio: 1; min-width: 0; border: 1px solid #d3d7cd; border-radius: 3px; font-size: clamp(10px, 1.15vw, 17px); line-height: 1; font-weight: 700; }
.tile.green, .tile.yellow, .tile.gray { border-color: transparent; }
.green { background: var(--green); color: white; }
.yellow { background: var(--yellow); color: #222; }
.gray { background: var(--gray); color: white; }
.preview-footer { display: flex; justify-content: space-between; border-top: 1px solid #d9dbd3; padding-top: 12px; font-size: 10px; color: var(--muted); }
.game-copy { align-self: center; padding: 35px 38px; }
.game-copy h2 { margin: 12px 0 17px; font-size: 38px; letter-spacing: -1.6px; line-height: 1.1; }
.game-copy h2 a { text-decoration: none; }
.game-description { font-size: 25px; line-height: 1.35; letter-spacing: -.7px; margin-bottom: 18px; }
.game-description em { font-family: Georgia, serif; color: var(--teal); }
.game-copy .muted { font-size: 14px; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 46px; padding: 12px 19px; margin-top: 23px; background: var(--teal); color: white; font-size: 13px; font-weight: 700; text-decoration: none; border-radius: 3px; }
.button:hover { background: #2f524a; color: white; }
.how-section, .rules { padding: 32px 0 48px; border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps h3 { font-size: 17px; letter-spacing: -.3px; margin-bottom: 9px; }
.steps p { font-size: 14px; color: var(--muted); line-height: 1.8; max-width: 290px; }
.setup-note { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); margin-top: 30px; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: #a47c42; border-radius: 50%; flex: none; }
footer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; border-top: 2px solid var(--ink); padding: 27px 0 30px; }
.footer-brand { font-size: 20px; font-weight: 800; letter-spacing: -.5px; text-decoration: none; }
.footer-brand span { font: italic 21px Georgia, serif; margin-left: 6px; color: var(--teal); }
footer p { font-size: 12px; margin-top: 7px; color: var(--muted); }
footer nav { display: flex; justify-content: end; flex-wrap: wrap; align-items: start; gap: 0 24px; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
footer .copyright { grid-column: 1 / -1; font-size: 10px; margin: 0; }
.game-title { padding: 30px 0 35px; }
.back-link { display: inline-flex; min-height: 42px; align-items: center; font-size: 12px; }
.game-title > div { display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.game-title h1 { margin-top: 0; }
.game-title > p { color: var(--muted); margin-top: 12px; }
.game-detail { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; align-items: center; padding-bottom: 48px; }
.game-detail .game-preview { background: var(--paper); padding: 30px; }
.detail-copy h2 { font-size: 28px; letter-spacing: -.8px; line-height: 1.2; margin-bottom: 20px; }
.detail-copy > p { margin-top: 14px; color: var(--muted); font-size: 14px; }
.connection-status { display: flex; gap: 10px; align-items: baseline; border-block: 1px solid var(--line); padding: 18px 0; margin-top: 24px; }
.connection-status strong { font-size: 13px; }
.connection-status p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.rules h2 { font-size: 25px; margin-bottom: 25px; }
.legend { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; }
.missing { min-height: 48vh; padding: 55px 0; }
.missing > p { margin-top: 20px; }
@media (max-width: 800px) {
  .shell { padding: 0 6%; }
  .hero { gap: 30px; grid-template-columns: 1fr; padding: 38px 0 32px; }
  .hero h1 { font-size: 64px; }
  .hero-copy .muted { max-width: 520px; }
  .featured-game { grid-template-columns: 1fr; }
  .preview-link { padding: 30px; }
  .game-preview { max-width: 470px; }
  .tile { font-size: 16px; }
  .game-copy { padding: 30px; }
  .game-description { font-size: 24px; }
  .game-copy .muted { max-width: 500px; }
  .steps { gap: 23px; }
  .game-detail { grid-template-columns: 1fr; gap: 28px; }
  .game-detail .game-preview { max-width: 570px; }
}
@media (max-width: 520px) {
  .top-line { font-size: 9px; }
  .top-line span:last-child { display: none; }
  .masthead { padding: 23px 0; gap: 18px; }
  .wordmark { width: 85%; }
  .brand-star { width: 25px; }
  .nav-row nav { gap: 23px; }
  .nav-row a { font-size: 12px; }
  .hero h1 { font-size: 51px; letter-spacing: -2.5px; }
  .hero-copy > p:first-child { font-size: 20px; }
  .section-heading { align-items: start; flex-direction: column; gap: 6px; margin-bottom: 20px; }
  .games-section { padding-top: 26px; }
  .preview-link { padding: 18px 13px; }
  .game-preview { padding: 17px 15px 13px; }
  .preview-heading { font-size: 23px; }
  .boards { gap: 17px; }
  .tile { font-size: 12px; }
  .tile-row, .sample-board { gap: 3px; }
  .game-copy { padding: 24px; }
  .game-copy h2 { font-size: 34px; }
  .game-description { line-height: 1.5; }
  .steps { grid-template-columns: 1fr; gap: 25px; }
  .steps p { max-width: none; }
  .how-section { padding-bottom: 35px; }
  footer { grid-template-columns: 1fr; gap: 12px; }
  footer nav { justify-content: start; gap: 0 23px; }
  .game-title h1 { font-size: 50px; }
  .game-title > div { align-items: end; }
  .game-title > p { font-size: 14px; }
  .game-detail .game-preview { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
