:root {
  color-scheme: light;
  --canvas: #fff8e9;
  --paper: #fffdf5;
  --cream: #f8e8bf;
  --navy: #152941;
  --pink: #de938b;
  --muted: #526173;
  --link: #304f69;
  --rose-ink: #8c3d39;
  --line: #d6c8a9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
  scroll-padding-top: 1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--navy);
  line-height: 1.65;
}

a {
  color: var(--link);
  text-underline-offset: .22em;
  text-decoration-thickness: .08em;
}

a:hover {
  text-decoration-thickness: .15em;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 5px;
  border-radius: 3px;
}

.wrap {
  width: min(74rem, calc(100% - 4rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 5;
  left: 1rem;
  top: -8rem;
  padding: .8rem 1rem;
  background: var(--paper);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  min-height: 7.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 15rem;
  max-width: 100%;
  min-height: 3.5rem;
  color: var(--navy);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.4rem;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: .3rem .2rem;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  text-decoration: underline;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 3.3rem 4.5rem;
}

.eyebrow {
  font-size: .73rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--link);
  margin: 0 0 .8rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: 1.02;
  margin: 0;
}

h1 {
  font-size: clamp(3.4rem, 6.4vw, 5.9rem);
}

.title-dot {
  color: var(--rose-ink);
}

.hero-line {
  font-size: clamp(1.4rem, 2.25vw, 2rem);
  letter-spacing: -.045em;
  font-weight: 700;
  line-height: 1.35;
  margin: 1.6rem 0 1.1rem;
}

.intro {
  max-width: 28rem;
  margin: 0 0 1.8rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: .85rem 1.25rem;
  min-height: 3.25rem;
  border: 1px solid var(--navy);
  border-radius: .5rem;
  color: var(--cream);
  background: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.button:hover {
  background: var(--link);
}

.button:focus-visible {
  outline-offset: 5px;
}

.button span {
  font-size: 1.35rem;
  line-height: 1;
}

.release-note {
  font-size: .8rem;
  color: var(--muted);
  margin: .8rem 0 0;
}

.table-illustration {
  margin: 2.5rem 0 0;
  min-width: 0;
}

.felt {
  position: relative;
  width: 100%;
  aspect-ratio: 1.06;
  border-radius: 46% 46% 37% 37%;
  background: var(--navy);
  border: 10px solid var(--cream);
  outline: 1px solid var(--line);
  box-shadow: 0 1.1rem 0 -.35rem #deccaa;
}

.felt::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid #8797a9;
  border-radius: inherit;
  opacity: .65;
}

.table-mark {
  position: absolute;
  top: 18%;
  width: 100%;
  text-align: center;
  font-family: Georgia, serif;
  font-size: clamp(.85rem, 1.4vw, 1.2rem);
  color: var(--cream);
  letter-spacing: .025em;
}

.seat {
  position: absolute;
  width: 2rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #8797a9;
  border-radius: 50%;
  color: var(--cream);
  font-size: .8rem;
  font-weight: 650;
}

.seat-one {
  top: 41%;
  left: 7%;
}

.seat-two {
  top: 5%;
  left: calc(50% - 1rem);
}

.seat-three {
  top: 41%;
  right: 7%;
}

.card-fan {
  position: absolute;
  inset: 35% 25% 18%;
}

.art-card {
  position: absolute;
  width: 46%;
  height: 88%;
  border: 1px solid #dbccb4;
  border-radius: .6rem;
  background: var(--paper);
  color: var(--rose-ink);
  box-shadow: 0 .4rem .6rem #0b172745;
  transform-origin: 50% 85%;
}

.card-left {
  left: 8%;
  transform: rotate(-14deg);
}

.card-middle {
  left: 27%;
  transform: rotate(-2deg);
}

.card-right {
  left: 46%;
  transform: rotate(14deg);
}

.corner,
.bottom-corner {
  position: absolute;
  left: 10%;
  top: 7%;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: clamp(.8rem, 1.65vw, 1.4rem);
  line-height: 1;
  text-align: center;
}

.bottom-corner {
  left: auto;
  top: auto;
  bottom: 7%;
  right: 10%;
  transform: rotate(180deg);
}

.card-suit {
  position: absolute;
  inset: 22% 5%;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: clamp(2.1rem, 5.5vw, 4.5rem);
}

.score-chip {
  position: absolute;
  right: 13%;
  bottom: 14%;
  width: 3.6rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 4px double var(--navy);
  border-radius: 50%;
  background: var(--pink);
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  transform: rotate(10deg);
  box-shadow: 0 .25rem .4rem #0b172738;
}

.you-seat {
  position: absolute;
  bottom: 5.5%;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: .6rem;
  color: var(--cream);
  letter-spacing: .16em;
}

figcaption {
  text-align: center;
  color: var(--muted);
  font-size: .73rem;
  margin-top: 1.5rem;
}

.game-section {
  background: var(--cream);
  border-block: 1px solid var(--line);
  padding-block: 4.5rem;
}

.game-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.3rem 5rem;
}

h2 {
  font-size: clamp(2.5rem, 4.3vw, 3.9rem);
}

.game-description {
  font-size: 1.08rem;
  padding-top: .3rem;
  max-width: 32rem;
}

.game-description p:first-child {
  margin-top: 0;
}

.game-description p:last-child {
  margin-bottom: 0;
}

.allowance {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: .8rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.allowance-number {
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: .9;
  color: var(--rose-ink);
}

h3 {
  font-size: 1.3rem;
  line-height: 1.35;
  letter-spacing: -.025em;
  margin: 0 0 .5rem;
}

.allowance p {
  margin: .2rem 0 .6rem;
  max-width: 45rem;
}

.text-link {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
}

.questions {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 5rem;
  padding-block: 5rem;
}

.questions-intro p:not(.eyebrow) {
  max-width: 21rem;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  scroll-margin-block: 2rem;
}

summary {
  min-height: 4.7rem;
  padding: 1.35rem 2rem 1.35rem .2rem;
  position: relative;
  list-style: none;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 700;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: .2rem;
  top: 1.25rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--rose-ink);
}

details[open] summary::after {
  content: "−";
}

summary:hover {
  color: var(--link);
}

.answer {
  padding: 0 1.5rem 1.3rem .2rem;
  color: var(--muted);
}

.answer p {
  margin: 0 0 1rem;
}

.answer p:last-child {
  margin-bottom: 0;
}

.closing {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.publisher-mark {
  display: block;
  flex: 0 0 auto;
  width: 5rem;
  height: auto;
}

.closing p {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.35;
  letter-spacing: -.025em;
  flex-grow: 1;
}

.closing nav {
  display: inline-flex;
  gap: 1rem;
}

.closing-note {
  margin-left: auto;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
}

.site-footer {
  padding-block: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .7rem 1.5rem;
  align-items: center;
  font-size: .85rem;
  font-weight: 650;
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 400;
}

.document {
  max-width: 52rem;
  padding-block: 3rem 5rem;
}

.document h1 {
  font-size: clamp(3.3rem, 7vw, 5.4rem);
}

.document-lead {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 43rem;
  margin-block: 1.8rem 2.5rem;
}

.document section {
  margin-block: 2rem;
}

.document section h2 {
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.025em;
}

.document section p:last-child {
  margin-bottom: 0;
}

.notice {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-left: .35rem solid var(--rose-ink);
  border-radius: .4rem;
  background: var(--cream);
}

.button-secondary {
  background: transparent;
  color: var(--link);
  margin-top: 1rem;
}

.button-secondary:hover {
  background: var(--cream);
}

/* Selected game identity. Exports keep the published artwork and square aspect. */
.game-identity,
.document-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.game-icon {
  display: block;
  width: 6rem;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 1.25rem;
}

.game-identity .eyebrow {
  min-width: 0;
  margin: 0;
}

.document-identity {
  gap: 1rem;
}

.document-identity .game-icon {
  width: 4rem;
  border-radius: .875rem;
}

/* Allow content to reflow rather than forcing a grid or flex item's minimum width. */
.hero>*,
.game-grid>*,
.questions>*,
.site-footer>*,
.allowance>div {
  min-width: 0;
}

a,
summary {
  overflow-wrap: anywhere;
}

.button,
.text-link {
  max-width: 100%;
}

.button {
  gap: clamp(.5rem, 3vw, 2rem);
}

@media (max-width: 58rem) {
  .wrap {
    width: min(74rem, calc(100% - 3rem));
  }

  .hero {
    gap: 2rem;
  }

  .hero-line {
    font-size: 1.5rem;
  }

  .game-grid,
  .questions {
    column-gap: 2.5rem;
  }

  .score-chip {
    width: 2.8rem;
    font-size: 1.25rem;
  }
}

@media (max-width: 44rem) {
  .wrap {
    width: calc(100% - 2.5rem);
  }

  .site-header {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding-block: 1.5rem .7rem;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: .3rem .8rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 2rem 3rem;
    gap: .5rem;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 5.3rem);
  }

  .hero-line {
    font-size: 1.6rem;
    margin-top: 1.25rem;
  }

  .table-illustration {
    width: min(100%, 28rem);
    justify-self: center;
    margin-top: 2.2rem;
  }

  .table-mark {
    font-size: 1rem;
  }

  .corner,
  .bottom-corner {
    font-size: clamp(.9rem, 5vw, 1.4rem);
  }

  .card-suit {
    font-size: clamp(2.3rem, 16vw, 4.5rem);
  }

  .score-chip {
    width: 3.2rem;
    font-size: 1.45rem;
  }

  .game-grid,
  .questions {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .game-section,
  .questions {
    padding-block: 3rem;
  }

  .game-description {
    padding: 0;
  }

  .allowance {
    gap: 1.4rem;
    align-items: flex-start;
    padding-top: 1.8rem;
  }

  .allowance-number {
    font-size: 5rem;
  }

  .questions-intro p:not(.eyebrow) {
    max-width: 28rem;
  }

  .closing {
    flex-wrap: wrap;
    gap: 1rem 1.3rem;
  }

  .closing-note {
    flex-basis: 100%;
    margin-left: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .site-footer p {
    grid-column: 1;
  }

  .document {
    padding-block: 2rem 3rem;
  }

  .document-lead {
    font-size: 1.15rem;
  }

  .notice {
    padding: 1.3rem;
  }
}

@media (forced-colors: active) {

  .button,
  .notice,
  .felt,
  .art-card,
  .score-chip {
    border: 1px solid CanvasText;
  }

  .button {
    color: LinkText;
    background: Canvas;
  }
}

/* Keep support and policy destinations visible at every page size. */
.document-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.2rem;
  padding-block: .8rem;
  border-block: 1px solid var(--line);
}

.document section[id] {
  scroll-margin-block-start: 1.5rem;
}

@media (max-width: 44rem) {
  .site-header nav {
    justify-content: flex-start;
    gap: .35rem 1rem;
  }

  .wrap {
    width: calc(100% - 40px);
  }

  .allowance {
    flex-wrap: wrap;
  }

  .allowance>div {
    flex: 1 1 9rem;
  }
}