@font-face {
  font-family: 'Deck Serif';
  src: url('assets/fonts/playfairdisplay-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: 'Deck Text';
  src: url('assets/fonts/anticdidone-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #f4efea;
  --ink: #202423;
  --red: #892324;
  --red-dark: #611e19;
  --muted: #605b55;
  --line: #c6b7a7;
  --display: 'Deck Serif', Georgia, serif;
  --body: 'Deck Text', Georgia, serif;
  color-scheme: light;
  scrollbar-color: var(--red) var(--paper);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
::selection {
  color: #fff7ee;
  background: var(--red);
}
a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--red);
}
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.7;
}
input,
textarea {
  caret-color: var(--red);
}
.site-shell {
  max-width: 1536px;
  margin: 0 auto;
}
.site-nav {
  min-height: 80px;
  padding: 12px 5.2%;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 35px;
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.suit-mark {
  width: 34px;
  height: 40px;
  flex: none;
  fill: var(--red);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 18px;
}
.nav-links a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
/* Too narrow for the logo, four links and the button on one row (they need
   about 800px): the links get a row of their own, as on a phone. */
@media (min-width: 651px) and (max-width: 840px) {
  .site-nav {
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav-links {
    width: 100%;
    justify-content: space-between;
  }
}
.nav-cta {
  border: 1px solid var(--red);
  border-radius: 4px;
  padding: 7px 21px;
  color: var(--red);
}
.nav-cta:hover {
  background: var(--red);
  color: var(--paper);
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  background: var(--paper);
  padding: 12px;
}
.skip-link:focus {
  top: calc(12px + env(safe-area-inset-top, 0px));
}
.deck {
  position: relative;
  margin: -38px 1.302083% 0;
  aspect-ratio: 1500/690;
  container-type: inline-size;
}
.deck-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-intro {
  position: absolute;
  left: 9.333%;
  top: 21.4%;
  width: 36%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
}
.hero-intro h1 {
  font-size: 5.94cqw;
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #800f17;
}
.hero-intro h1 span {
  display: block;
  white-space: nowrap;
}
.hero-copy {
  position: absolute;
  left: 9.93%;
  top: 61.5%;
  width: 28%;
  font-size: 1.87cqw;
  line-height: 1.2;
}
.signup {
  position: absolute;
  left: 60.4667%;
  top: 20.2%;
  width: 30%;
  scroll-margin-top: 24px;
}
.signup h2 {
  font-size: 2.86cqw;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}
.signup-lead {
  font-size: 1.6cqw;
  line-height: 1.25;
  margin-top: 0.1cqw;
}
.field {
  margin-top: 1.08cqw;
}
.field label {
  display: block;
  font-size: 1.2cqw;
  line-height: 1.15;
  margin-bottom: 0.4cqw;
  font-family: Georgia, serif;
  font-weight: 600;
}
.field label span {
  font-weight: 400;
}
.field input,
.field textarea {
  display: block;
  width: 100%;
  border: 1px solid #a69c8f;
  border-radius: 6px;
  background: rgba(249, 247, 240, 0.52);
  padding: 0.6cqw 0.9cqw;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.15cqw;
  line-height: 1.25;
  min-height: 2.9cqw;
}
.field textarea {
  height: 4.8cqw;
  min-height: 4.8cqw;
  resize: vertical;
  max-height: 6.2cqw;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #68625b;
  opacity: 1;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
.field input[aria-invalid='true'] {
  border-color: var(--red);
}
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border: 1px solid var(--red);
  border-radius: 5px;
  padding: 12px 23px;
  text-decoration: none;
  line-height: 1.2;
}
.btn[hidden] {
  display: none;
}
.btn-primary {
  color: #fff9f0;
  background: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  color: #fff9f0;
}
.signup .btn {
  margin-top: 1.1cqw;
  width: 100%;
  min-height: 3.55cqw;
  padding: 0.6cqw;
  font-size: 1.35cqw;
}
.msg {
  font-size: 1.05cqw;
  line-height: 1.25;
  margin-top: 0.55cqw;
  min-height: 1.25em;
}
.msg.err,
.msg.ok {
  font-family: Georgia, serif;
  font-weight: 600;
}
.msg.err {
  color: #761b1e;
}
/* Takes the button's place once sent (site.js hides it), so it needs no extra
   room on the card. */
.msg.ok {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 1.1cqw;
  min-height: 3.55cqw;
  padding: 0.6cqw;
  border: 1px solid #2f6b45;
  border-radius: 5px;
  background: #e3efe2;
  color: #1d3f29;
  font-size: 1.2cqw;
}
.feature-overview {
  margin: 12px 3.4% 0;
}
.feature-overview > h2 {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}
.feature-overview > h2::before,
.feature-overview > h2::after {
  content: '';
  height: 1px;
  background: #a75c58;
  flex: 1;
}
.feature-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
}
.feature-summary {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 0 25px;
  border-right: 1px solid #d1c6b9;
}
.feature-summary:first-child {
  padding-left: 0;
}
.feature-summary:last-child {
  border-right: 0;
  padding-right: 0;
}
.feature-icon {
  width: 64px;
  height: 72px;
  flex: none;
  color: var(--red);
}
.feature-summary h3 {
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  margin: 4px 0 8px;
}
.feature-summary p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.4;
}
.site-footer {
  margin: 43px 3% 0;
  border-top: 1px solid #d1c6b9;
  padding: 26px 0 40px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.site-footer .brand {
  font-size: 21px;
  gap: 10px;
}
.site-footer .suit-mark {
  width: 20px;
  height: 25px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14px;
  margin-left: auto;
}
.footer-links a {
  text-decoration: none;
}
.site-footer p {
  font-size: 13px;
  color: var(--muted);
}
.site-footer .beta-details {
  width: 100%;
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 4px;
  max-width: 90ch;
}
@media (prefers-reduced-motion: no-preference) {
  .deck-art {
    animation: print-settle 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  @keyframes print-settle {
    from {
      filter: contrast(0.96);
      transform: translateY(5px);
    }
    to {
      filter: contrast(1);
      transform: translateY(0);
    }
  }
}
@media (min-width: 1051px) and (max-width: 1350px) {
  .site-nav {
    min-height: 68px;
  }
  .brand {
    font-size: 30px;
  }
  .deck {
    margin-top: -26px;
  }
  .feature-summary {
    padding: 0 15px;
    gap: 12px;
  }
  .feature-icon {
    width: 48px;
    height: 60px;
  }
}
@media (min-width: 1051px) {
  .site-nav {
    position: relative;
    z-index: 2;
  }
  .nav-links {
    transform: translateY(-9px);
    font-family: Georgia, serif;
  }
  .nav-cta {
    font-size: 16.5px;
    padding: 7px 20px;
    min-height: 38px;
  }
  .signup-lead {
    font-family: Georgia, serif;
    position: relative;
    top: -3px;
  }
  .field {
    margin-top: 0.8cqw;
  }
  .field:first-child {
    margin-top: 0.75cqw;
  }
  .field:nth-child(3) {
    margin-top: 1.08cqw;
  }
  .field label {
    font-size: 1.14cqw;
    font-weight: 400;
  }
  .field label:first-letter {
    font-weight: 600;
  }
  .signup .btn {
    margin-top: 1.32cqw;
  }
  .feature-summary p {
    font-size: 16px;
  }
  /* Five across leaves no room for the icon beside the text, so it sits above. */
  .feature-summary {
    flex-direction: column;
    gap: 14px;
  }
  .feature-icon {
    width: 56px;
    height: 56px;
    /* The drawings sit inside a margin on their 64-unit grid; pull them back
       so the ink lines up with the heading below. */
    margin-left: -6px;
  }
  .feature-summary h3 {
    margin-top: 0;
  }
  .site-footer {
    margin-top: 8px;
  }
  .site-footer p {
    font-family: Georgia, serif;
    font-size: 13px;
  }
}
@media (max-width: 1050px) {
  .site-nav {
    padding: 18px 24px;
    padding-top: calc(18px + env(safe-area-inset-top, 0px));
    min-height: 82px;
  }
  .brand {
    font-size: 27px;
    gap: 10px;
  }
  .suit-mark {
    width: 27px;
    height: 32px;
  }
  .nav-links {
    gap: 20px;
    font-size: 16px;
  }
  .nav-cta {
    padding: 8px 12px;
  }
  .deck {
    margin: 4px 20px 0;
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--line);
    background: #eee5d9;
  }
  .deck-art {
    position: absolute;
    inset: 0;
    height: 360px;
    object-fit: cover;
    object-position: left center;
    pointer-events: none;
  }
  .hero-intro,
  .hero-copy,
  .signup {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
  }
  .hero-intro {
    grid-column: 1;
  }
  .hero-intro h1 {
    font-size: clamp(40px, 6vw, 66px);
    line-height: 1.02;
  }
  .hero-copy {
    grid-column: 1;
    font-size: 22px;
    line-height: 1.4;
    align-self: start;
  }
  .signup {
    grid-column: 2;
    grid-row: 1/3;
    background: #f4eee5;
    padding: 22px;
    border: 1px solid #aa746b;
    border-radius: 4px;
  }
  .signup h2 {
    font-size: 29px;
    white-space: normal;
  }
  .signup-lead {
    font-size: 20px;
    margin-top: 8px;
  }
  .field {
    margin-top: 18px;
  }
  .field label {
    font-size: 16px;
    margin-bottom: 7px;
  }
  .field input,
  .field textarea {
    font-size: 17px;
    padding: 12px;
    min-height: 48px;
    background: #faf6ee;
  }
  .field textarea {
    height: 110px;
    min-height: 110px;
    max-height: none;
  }
  .signup .btn {
    font-size: 18px;
    min-height: 50px;
    padding: 12px;
    margin-top: 18px;
  }
  .msg {
    font-size: 16px;
    margin-top: 10px;
  }
  .msg.ok {
    font-size: 17px;
    min-height: 50px;
    padding: 12px;
    margin-top: 18px;
  }
  .feature-overview {
    margin: 38px 24px 0;
  }
  .feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }
  .feature-summary {
    border: 0;
    padding: 0;
    gap: 16px;
  }
  .feature-summary h3 {
    font-size: 20px;
  }
  .feature-summary p {
    font-size: 18px;
  }
  .feature-icon {
    width: 50px;
    height: 60px;
  }
  .site-footer {
    margin: 38px 24px 0;
  }
  /* Touch-sized hit areas without changing how the links look. */
  .footer-links a,
  .text-link {
    min-height: 44px;
  }
  .footer-links a {
    display: inline-flex;
    align-items: center;
  }
  .site-footer p {
    width: 100%;
  }
}
@media (max-width: 650px) {
  .site-nav {
    padding-right: 18px;
    padding-left: 18px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 25px;
    gap: 8px;
  }
  .nav-links {
    gap: 16px;
    width: 100%;
    justify-content: space-between;
  }
  .nav-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .deck {
    display: block;
    margin: 8px 14px 0;
    padding: 25px 22px;
    border: 2px solid var(--red);
    outline: 1px solid #b88d7f;
    outline-offset: -8px;
    background: #ede3d5;
  }
  .deck-art {
    width: 100%;
    height: calc((100vw - 28px) * 0.92);
    max-height: 385px;
  }
  .hero-intro {
    height: calc((100vw - 28px) * 0.92 - 25px);
    max-height: 360px;
    padding: 55px 0 0 24px;
  }
  .hero-intro h1 {
    font-size: clamp(30px, 9.2vw, 46px);
    line-height: 1.02;
    max-width: 82%;
  }
  .hero-copy {
    font-size: 21px;
    line-height: 1.4;
    margin-top: 24px;
  }
  .signup {
    margin-top: 32px;
    padding: 26px 0 0;
    border: 0;
    border-top: 1px solid #a4665c;
    border-radius: 0;
    background: transparent;
  }
  .signup h2 {
    font-size: 30px;
  }
  .signup-lead {
    font-size: 21px;
  }
  .signup .btn {
    font-size: 18px;
  }
  .feature-overview {
    margin: 32px 22px 0;
  }
  .feature-overview > h2 {
    font-size: 26px;
    gap: 12px;
  }
  .feature-strip {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .feature-summary {
    gap: 18px;
  }
  .feature-icon {
    width: 49px;
    height: 58px;
  }
  .feature-summary h3 {
    margin-top: 0;
  }
  .site-footer {
    align-items: flex-start;
    gap: 20px;
  }
  .footer-links {
    margin-left: 0;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
  }
  .site-footer p {
    font-size: 14px;
    line-height: 1.5;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--red);
  font-size: 20px;
}
.features-main {
  margin: 20px 5.2% 0;
}
.features-hero {
  position: relative;
  min-height: 350px;
  padding: 48px;
  border: 3px double var(--red);
  overflow: hidden;
  background: #eee5d9;
  display: flex;
  align-items: center;
}
.features-hero > div {
  width: 65%;
  position: relative;
  z-index: 1;
}
.features-hero h1 {
  font-size: clamp(40px, 4.8vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--red);
  font-weight: 800;
}
.features-hero p {
  font-size: 23px;
  max-width: 44ch;
  line-height: 1.4;
  margin: 24px 0;
}
.features-art {
  position: absolute;
  right: 0;
  top: 0;
  width: 34%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  mix-blend-mode: multiply;
  opacity: 0.85;
}
.feature-index {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 25px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.feature-index a {
  font-size: 19px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.group {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  column-gap: 70px;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.group-head h2 {
  font-size: 35px;
  color: var(--red);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.group-head p {
  font-size: 21px;
  line-height: 1.5;
  max-width: 30ch;
  margin-top: 18px;
}
.items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 40px;
}
.item h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}
.item p {
  font-size: 20px;
  line-height: 1.55;
  max-width: 40ch;
  color: #4d4741;
}
.families {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 30px;
  color: var(--red);
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
}
.group:has(.families) .group-head {
  grid-row: 1/3;
}
.group .items {
  grid-column: 2;
}
.closing {
  text-align: center;
  padding: 60px 20px 45px;
}
.closing h2 {
  font-size: 42px;
  line-height: 1.2;
  color: var(--red);
}
.closing p {
  font-size: 22px;
  margin: 18px 0 24px;
}
.closing .btn {
  font-size: 20px;
}
@media (max-width: 1050px) {
  .features-main {
    margin: 12px 24px 0;
  }
  .features-hero {
    padding: 32px;
    min-height: 340px;
  }
  .features-hero > div {
    width: 75%;
  }
  .features-hero h1 {
    font-size: 52px;
  }
  .features-art {
    width: 30%;
    opacity: 0.35;
  }
  .features-hero p {
    font-size: 22px;
  }
  .group {
    column-gap: 30px;
    grid-template-columns: 1fr 1.7fr;
    padding: 40px 0;
  }
  .group-head h2 {
    font-size: 29px;
  }
  .items {
    gap: 25px;
  }
  .item h3 {
    font-size: 21px;
  }
  .item p {
    font-size: 19px;
  }
}
@media (max-width: 650px) {
  .features-main {
    margin: 10px 18px 0;
  }
  .features-hero {
    padding: 28px 22px;
    min-height: 320px;
  }
  .features-hero > div {
    width: 100%;
  }
  .features-hero h1 {
    font-size: clamp(35px, 9vw, 48px);
  }
  .features-hero p {
    font-size: 21px;
    margin: 22px 0;
  }
  .features-art {
    display: none;
  }
  .feature-index {
    gap: 4px 22px;
    padding: 18px 0;
    margin-bottom: 0;
  }
  .feature-index a {
    font-size: 18px;
  }
  .group {
    display: block;
    padding: 32px 0;
  }
  .group-head h2 {
    font-size: 31px;
  }
  .group-head p {
    font-size: 21px;
    max-width: 100%;
    margin-top: 14px;
  }
  .families {
    margin: 22px 0;
    font-size: 18px;
  }
  .items {
    display: block;
    margin-top: 26px;
  }
  .item + .item {
    margin-top: 25px;
  }
  .item h3 {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .item p {
    font-size: 20px;
    max-width: 100%;
  }
  .closing {
    padding: 40px 0 20px;
  }
  .closing h2 {
    font-size: 34px;
  }
  .closing p {
    font-size: 21px;
  }
  .site-footer .beta-details {
    font-size: 15px;
  }
}
@media (min-width: 1051px) and (max-width: 1500px) {
  .feature-overview {
    margin-top: 0;
  }
  .feature-overview > h2 {
    font-size: 30px;
  }
  .feature-strip {
    margin-top: 24px;
  }
  .feature-summary h3 {
    font-size: 18px;
  }
}
@media (min-width: 651px) and (max-width: 1050px) {
  .deck {
    gap: 0;
  }
  .hero-intro {
    grid-column: 1;
    grid-row: 1;
    min-height: 360px;
    padding: 60px 0 0 24px;
    z-index: 1;
  }
  .hero-intro h1 {
    font-size: clamp(36px, 5.9vw, 62px);
  }
  .hero-copy {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    padding: 90px 20px 0 26px;
    font-size: clamp(20px, 2.5vw, 25px);
    z-index: 1;
  }
  .signup {
    grid-column: 1/-1;
    grid-row: 2;
    margin-top: 24px;
  }
}

/* The complete catalog shares the overview's printed-program typography. */
.catalog-poker {
  padding: 35px 0 52px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.catalog-poker h2 {
  font-size: 35px;
  color: var(--red);
  line-height: 1.2;
}
.catalog-summary {
  max-width: 65ch;
  font-size: 22px;
  line-height: 1.5;
  margin: 18px 0 36px;
}
/* Newspaper columns rather than a grid, so a one-game family never sits in a
   row sized for Omaha's seven. */
.game-families {
  columns: 4;
  column-gap: 40px;
}
.game-family {
  break-inside: avoid;
  padding-bottom: 26px;
}
.game-family h3 {
  font-size: 21px;
  color: var(--red);
  margin-bottom: 6px;
}
.rotation-list h3 {
  font-size: 25px;
  color: var(--red);
  margin-bottom: 16px;
}
.game-family ul,
.rotation-list ul,
.catalog-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.game-family li {
  border-top: 1px solid var(--line);
  padding: 6px 0;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.4;
}
.rotation-list strong {
  display: block;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.4;
}
.rotation-list {
  margin-top: 18px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.rotation-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
}
.rotation-list span,
.rotation-list p {
  display: block;
  font-size: 20px;
  line-height: 1.55;
  margin-top: 10px;
}
.rotation-list p {
  margin-top: 24px;
}
.catalog-features li + li {
  margin-top: 24px;
}
.catalog-features h3 {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 6px;
}
.catalog-features p {
  font-size: 20px;
  line-height: 1.55;
  max-width: 65ch;
  color: #4d4741;
}
@media (max-width: 1050px) {
  .game-families {
    columns: 3;
  }
}
@media (max-width: 650px) {
  .game-families {
    columns: 2;
    column-gap: 20px;
  }
  .game-family li {
    font-size: 16px;
  }
  .rotation-list ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalog-poker h2 {
    font-size: 30px;
  }
  .catalog-summary {
    font-size: 20px;
  }
  .catalog-features {
    margin-top: 24px;
  }
}
.legal {
  max-width: 68ch;
  margin: 32px auto 60px;
  font-size: 19px;
  line-height: 1.55;
}
.legal h1 {
  font-size: clamp(40px, 4.8vw, 60px);
  line-height: 1.08;
  color: var(--red);
  font-weight: 800;
}
.legal h2 {
  font-size: 28px;
  color: var(--red);
  margin: 36px 0 10px;
}
.legal p,
.legal li {
  margin: 0 0 12px;
}
.legal ul {
  padding-left: 1.2em;
}
.legal h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin: 24px 0 6px;
}
.legal-updated {
  color: var(--muted);
}

/* Evergreen articles share the site's paper, type and red ink. */
.journal-main {
  width: min(100% - 48px, 960px);
  margin: 48px auto 80px;
  overflow-wrap: break-word;
}
.journal-header {
  padding: 36px 0 48px;
  border-bottom: 1px solid var(--line);
}
.eyebrow,
.story-meta {
  font-family: Georgia, serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.journal-header h1,
.story h1 {
  color: var(--red);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 16px 0 24px;
}
.journal-header > p:last-child {
  max-width: 48ch;
  font-size: 23px;
  line-height: 1.55;
}
.article-card {
  max-width: 70ch;
  padding: 36px 0;
}
.article-card h2 {
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.2;
  margin: 12px 0 18px;
}
.article-card + .article-card {
  border-top: 1px solid var(--line);
}
.story-figure {
  width: min(100%, 390px);
  margin: 32px auto;
}
.story-figure img {
  display: block;
  max-width: 100%;
  height: auto;
}
.story-figure figcaption {
  font-family: Georgia, serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}
.article-card h2 a {
  text-decoration: none;
}
.article-card > p:not(.eyebrow) {
  font-size: 21px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.story {
  max-width: 72ch;
  margin: 0 auto;
}
.story-header {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.story-body {
  font-size: 21px;
  line-height: 1.7;
}
.story-body h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
  color: var(--red);
  margin: 40px 0 16px;
}
.story-body p,
.story-body li {
  margin-bottom: 20px;
}
.story-body ul {
  padding-left: 1.2em;
}
.story-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.catalog-story-link {
  margin-top: 28px;
}
@media (max-width: 650px) {
  .journal-main {
    width: calc(100% - 36px);
    margin-top: 20px;
  }
  .journal-header {
    padding-top: 20px;
  }
  .story-body,
  .article-card > p:not(.eyebrow),
  .journal-header > p:last-child {
    font-size: 20px;
  }
}
/* The four links and the button need about 520px in one row; below that the
   button gets a row of its own. */
@media (max-width: 540px) {
  .nav-links {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .nav-links .nav-cta {
    flex-basis: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Rules of Poker (/rules/). The pages are written by poker-site/make-rules.cjs;
   docs/misc/rules-of-poker-authoring.md describes them. Phone first: most
   readers arrive from a rule link shared in a group chat.
   ========================================================================== */
.rules-main {
  width: min(100% - 48px, 760px);
  margin: 32px auto 64px;
  overflow-wrap: break-word;
}
.rules-page {
  font-size: 19px;
  line-height: 1.55;
}
.rules-header {
  margin-bottom: 24px;
}
.rules-crumbs {
  margin: 0;
}
.rules-crumbs a {
  color: var(--red);
}
.rules-page h1 {
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 10px 0 0;
}
.rules-page h2 {
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 31px);
  line-height: 1.25;
  color: var(--red);
  margin: 44px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.rules-page p,
.rules-page li {
  margin: 0 0 12px;
}
.rules-page ul,
.rules-page ol {
  padding-left: 1.3em;
  margin: 0 0 14px;
}
.rules-intro {
  font-size: 20px;
  margin-bottom: 24px;
}
.rules-page code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.85em;
  overflow-wrap: anywhere;
}
.rules-page :target {
  scroll-margin-top: 16px;
}

/* "Jump to": open on desktop; rules.js folds it on phones. */
.rules-toc {
  margin: 0 0 28px;
  padding: 4px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #efe7dc;
  font-size: 16px;
  line-height: 1.4;
}
.rules-toc summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}
.rules-toc ol,
.rules-toc ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.rules-toc li {
  margin: 0;
}
.rules-toc li > a {
  display: block;
  padding: 5px 0;
  text-decoration: none;
}
.rules-toc ol ol {
  margin: 0 0 6px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}
.toc-number {
  display: inline-block;
  min-width: 3.4em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.rules-page h3 {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.3;
  margin: 26px 0 8px;
}

/* One rule */
.rule {
  margin: 0 -12px;
  padding: 18px 12px 10px;
  border-radius: 4px;
}
.rule + .rule {
  border-top: 1px solid #ddd1c3;
}
.rule:target,
.parts li:target {
  background: #ede2d3;
  box-shadow: inset 3px 0 0 var(--red);
}
.rule h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
}
.rule-number {
  color: var(--red);
  text-decoration: none;
  margin-right: 0.3em;
  font-variant-numeric: tabular-nums;
}
.rule-number:hover {
  text-decoration: underline;
}
.rule.withdrawn {
  color: var(--muted);
}
.rules-page .parts {
  list-style: none;
  padding-left: 0;
}
.parts li {
  position: relative;
  padding: 2px 6px 2px 2.1em;
  margin-bottom: 8px;
  border-radius: 3px;
}
.part-letter {
  position: absolute;
  left: 4px;
  color: var(--red);
  text-decoration: none;
}
.source {
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.source-label {
  font-weight: 700;
}
.source a {
  color: var(--muted);
}
.source a:hover {
  color: var(--red);
}
.changed {
  font-family: Georgia, serif;
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
}
.at-mhg {
  margin: 14px 0 12px;
  padding: 12px 16px;
  border-left: 3px solid var(--red);
  background: #efe5d9;
  font-size: 17px;
  line-height: 1.5;
}
.at-mhg p:last-child {
  margin-bottom: 0;
}
.at-mhg strong:first-child {
  color: var(--red);
}
.rules-page blockquote {
  margin: 14px 0;
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--line);
  font-style: italic;
  color: #4d4741;
}
.rules-page hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.rule-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  margin: 4px 0 6px;
  font-family: Georgia, serif;
  font-size: 14px;
}
.copy-link {
  min-height: 36px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 14px;
}
.copy-link:hover {
  border-color: var(--red);
  color: var(--red);
}
.copy-link[hidden],
.rules-search[hidden] {
  display: none;
}
.suggest {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--muted);
}

/* Tables scroll inside their own box, never the page. */
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 0 0 16px;
}
.rules-page table {
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.4;
  min-width: 60%;
}
.rules-page th,
.rules-page td {
  text-align: left;
  vertical-align: top;
  padding: 7px 14px 7px 0;
  border-bottom: 1px solid var(--line);
}
.rules-page th {
  font-family: Georgia, serif;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

/* Previous / next chapter, edition and license */
.rules-pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.rules-pager a {
  display: flex;
  flex-direction: column;
  max-width: 48%;
  min-height: 44px;
  text-decoration: none;
  color: var(--red);
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.3;
}
.pager-next {
  text-align: right;
  margin-left: auto;
}
.pager-label {
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.rules-page .rules-colophon {
  margin: 28px 0 0;
  font-family: Georgia, serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* Home: search box, chapter list */
.rules-search {
  margin: 28px 0 8px;
}
.rules-search label {
  display: block;
  font-family: Georgia, serif;
  font-size: 15px;
  margin-bottom: 6px;
}
.rules-search input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #a99886;
  border-radius: 4px;
  background: #fbf8f4;
  color: var(--ink);
  font-size: 18px;
}
.rules-search input:focus-visible {
  outline-offset: 1px;
}
.rules-page .rules-status {
  min-height: 1.5em;
  margin: 8px 0 4px;
  font-family: Georgia, serif;
  font-size: 14px;
  color: var(--muted);
}
.rules-page .rules-results {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rules-results li {
  margin: 0;
  border-bottom: 1px solid #ddd1c3;
}
.rules-results a {
  display: block;
  padding: 9px 0;
  text-decoration: none;
  line-height: 1.35;
}
.result-number {
  display: inline-block;
  min-width: 3.4em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.result-chapter {
  display: block;
  font-family: Georgia, serif;
  font-size: 13px;
  color: var(--muted);
}
.rules-blocks-note {
  font-size: 16px;
  color: var(--muted);
}
.rules-block h3 {
  font-family: var(--display);
  font-size: 21px;
  margin: 28px 0 8px;
}
.block-range {
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 6px;
}
.rules-page .chapter-list,
.rules-page .rules-more {
  list-style: none;
  padding: 0;
}
.chapter-list li,
.rules-more li {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid #ddd1c3;
}
.chapter-list a,
.rules-more a {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}
.chapter-number {
  display: inline-block;
  min-width: 1.8em;
  color: var(--red);
}
.chapter-list p,
.rules-more p {
  margin: 2px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: var(--muted);
}
.chapter-list p {
  padding-left: calc(1.8em * 20 / 16);
}

/* Glossary */
.glossary-az {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 18px;
}
.glossary-az a,
.glossary-az span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 40px;
  padding: 0 4px;
}
.glossary-az a {
  color: var(--red);
  text-decoration: none;
}
.glossary-az a:hover {
  background: #ede2d3;
}
.glossary-az span {
  color: #b3a594;
}
.term-list {
  columns: 3 12em;
  column-gap: 24px;
}
.glossary h3 {
  font-family: var(--display);
  font-size: 21px;
  margin: 26px 0 6px;
}
.glossary h3:target {
  color: var(--red);
}

@media (max-width: 650px) {
  .rules-main {
    width: calc(100% - 36px);
    margin-top: 16px;
  }
  .rules-page {
    font-size: 18px;
  }
  .rules-intro {
    font-size: 19px;
  }
  .rules-toc {
    padding: 2px 14px;
  }
  .rule {
    margin: 0 -8px;
    padding: 16px 8px 8px;
  }
  .rule h3 {
    font-size: 20px;
  }
  .at-mhg {
    padding: 10px 12px;
    font-size: 16px;
  }
  .copy-link,
  .suggest {
    min-height: 44px;
  }
  .rules-pager {
    flex-direction: column;
  }
  .rules-pager a {
    max-width: none;
  }
  .term-list {
    columns: 2;
    column-gap: 16px;
  }
}

/* A host printing a chapter gets the rules and their sources, nothing else. */
@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }
  .site-nav,
  .site-footer,
  .skip-link,
  .rule-tools,
  .rules-toc,
  .rules-search,
  .rules-pager,
  .glossary-az {
    display: none !important;
  }
  .rules-main {
    width: auto;
    margin: 0;
  }
  .rules-page {
    font-size: 11pt;
    line-height: 1.4;
  }
  .rules-page h1 {
    font-size: 22pt;
  }
  .rules-page h2 {
    font-size: 15pt;
    break-after: avoid;
  }
  .rule {
    margin: 0;
    padding: 8pt 0 4pt;
    break-inside: avoid;
  }
  .rule h3 {
    font-size: 12.5pt;
    break-after: avoid;
  }
  .rule:target,
  .parts li:target {
    background: none;
    box-shadow: none;
  }
  .rules-page a {
    color: inherit;
    text-decoration: none;
  }
  .source,
  .changed {
    font-size: 9pt;
    color: #333;
  }
  .source a[href^='http']::after {
    content: ' (' attr(href) ')';
  }
  .at-mhg {
    background: none;
    border-left: 2pt solid #000;
    font-size: 10pt;
  }
  .table-wrap {
    overflow: visible;
  }
}
