@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f6f3eb;
  --white: #fffdf8;
  --ink: #203d34;
  --muted: #626960;
  --green: #153e35;
  --line: #d9dbce;
  --gold: #e9b95f;
  --red: #a5402e;
  --serif: Georgia,"Times New Roman",serif;
  --sans: "Segoe UI",Arial,sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.7 var(--sans);
}

a {
  color: inherit;
  text-underline-offset: 4px;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}

::selection {
  background: #e9b95f88;
}

h1,h2,h3,p,figure {
  margin: 0;
}

h1,h2,h3 {
  line-height: 1.12;
}

p+p {
  margin-top: 16px;
}

ul {
  padding-left: 23px;
}

li+li {
  margin-top: 7px;
}

.wrap {
  width: min(1180px,calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 20;
  padding: 10px 18px;
  background: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

/* Navigation and language selection. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 22px;
  letter-spacing: -.8px;
  font-weight: 800;
}

.brand img {
  width: 31px;
  height: 31px;
}

.brand span {
  font-size: 11px;
  align-self: flex-start;
  padding-top: 5px;
  margin-left: -6px;
  font-weight: 500;
  letter-spacing: 0;
}

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  font-size: 13px;
  text-decoration: none;
}

.main-nav a:hover {
  text-decoration: underline;
}

.language-switch {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.language-switch a {
  padding: 5px 9px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
  border-radius: 4px;
}

.language-switch a[aria-current="page"] {
  background: var(--green);
  color: white;
}

.language-switch a:not([aria-current]):hover {
  background: #e5e8db;
}

/* Introduction and illustrated cards. */

.hero {
  padding-top: 74px;
  padding-bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 65px;
  align-items: center;
}

.eyebrow {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 1.9px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 25px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

h1 {
  margin-top: 26px;
  font: normal clamp(52px,5.1vw,74px)/1.04 var(--serif);
  letter-spacing: -2.8px;
}

h1 em {
  color: var(--red);
  font-weight: normal;
}

.hero-copy {
  margin-top: 25px;
  max-width: 495px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-copy strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  background: var(--green);
  color: white;
  text-decoration: none;
  border: 1px solid var(--green);
  border-radius: 5px;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}

.button:hover {
  background: #235749;
}

.text-link {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.text-link span {
  margin-left: 8px;
}

.text-link:hover {
  text-decoration: underline;
}

.byline {
  font-size: 12px;
  margin-top: 25px;
  color: var(--muted);
}

.byline strong {
  color: var(--ink);
  font-weight: 600;
}

.tableau {
  min-height: 410px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--green);
  color: #f8f1dc;
  display: flex;
  flex-direction: column;
  padding: 29px;
  border: 1px solid #244e42;
  box-shadow: 0 20px 40px -25px #173b3540;
}

.tableau::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #ffffff15;
  border-radius: 7px;
  pointer-events: none;
}

.tableau-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #c7d5c8;
}

.tableau-top span:last-child {
  color: var(--gold);
  white-space: nowrap;
}

.hand {
  height: 245px;
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 15px auto 3px;
}

.playing-card {
  position: absolute;
  width: 138px;
  height: 198px;
  background: #fffdf4;
  border: 1px solid #e4e2d7;
  color: var(--green);
  border-radius: 9px;
  box-shadow: 0 8px 20px #001d242e;
  padding: 11px 14px;
  font-family: var(--serif);
}

.playing-card .corner {
  display: grid;
  justify-items: center;
  font-size: 25px;
  line-height: 1;
  width: fit-content;
}

.playing-card .corner small {
  font-size: 18px;
  margin-top: 2px;
}

.playing-card .suit {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 76px;
}

.playing-card .inverted {
  position: absolute;
  bottom: 11px;
  right: 14px;
  transform: rotate(180deg);
}

.playing-card.card-one {
  left: calc(50% - 150px);
  top: 27px;
  transform: rotate(-17deg);
}

.playing-card.card-two {
  left: calc(50% - 68px);
  top: 8px;
  transform: rotate(-2deg);
  color: var(--red);
}

.playing-card.card-three {
  left: calc(50% + 12px);
  top: 29px;
  transform: rotate(15deg);
}

.point-tag {
  position: absolute;
  top: 66px;
  right: -24px;
  z-index: 2;
  padding: 7px 14px;
  color: var(--green);
  background: var(--gold);
  font: 700 19px/1.3 var(--sans);
  border-radius: 5px;
  box-shadow: 0 4px 10px #0002;
  transform: rotate(-12deg);
}

.tableau-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 13px;
  border-top: 1px solid #ffffff25;
  gap: 12px;
}

.tableau-bottom strong {
  font: normal 22px var(--serif);
}

.tableau-bottom span {
  font-size: 11px;
  line-height: 1.6;
  max-width: 175px;
  color: #c7d5c8;
  text-align: right;
}

.facts {
  margin-top: 56px;
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4,1fr);
  padding-block: 22px;
}

.fact {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-inline: 29px;
  border-right: 1px solid var(--line);
}

.fact:first-child {
  padding-left: 0;
}

.fact:last-child {
  border: 0;
}

.fact strong {
  font: normal 34px/1 var(--serif);
}

.fact span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* The rules are readable without scripts, external fonts or images. */

.chapter {
  padding: 42px 0 66px;
}

.section-heading {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.chapter-number {
  width: 37px;
  padding-top: 11px;
  flex-shrink: 0;
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 1px;
}

h2 {
  font: normal clamp(33px,3.1vw,44px)/1.15 var(--serif);
  letter-spacing: -1.2px;
}

.section-heading p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 665px;
  font-size: 15px;
}

.basics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  padding-left: 61px;
}

.step {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 13px;
}

.step+.step {
  margin-top: 23px;
}

.step-number {
  font-size: 12px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: #e6e9dd;
  border-radius: 50%;
  margin-top: 2px;
}

h3 {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
}

.step p,.body-copy {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.example {
  background: #e8ecdf;
  border: 1px solid #d9e0d0;
  padding: 28px;
  border-radius: 8px;
}

.example .eyebrow {
  letter-spacing: 1.3px;
  font-size: 10px;
}

.capture {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 26px 0 20px;
}

.mini-card {
  width: 54px;
  height: 76px;
  padding: 7px 8px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6d7cb;
  border-radius: 5px;
  background: var(--white);
  box-shadow: 0 3px 2px #152e3210;
  font: 23px/1.1 var(--serif);
}

.mini-card span {
  font-size: 21px;
}

.red {
  color: var(--red);
}

.capture-groups {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.capture-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.capture-group .mini-card {
  width: 42px;
  height: 54px;
  font-size: 18px;
  padding: 4px;
}

.capture-group .mini-card span {
  font-size: 15px;
}

.equals {
  font: 22px var(--serif);
  color: var(--muted);
}

.capture-note {
  margin-left: 2px;
  font-size: 11px;
  color: var(--muted);
}

.example figcaption {
  font-size: 13px;
  line-height: 1.75;
  color: #48584b;
}

.value-note {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid #cdd4c3;
  font-size: 12px;
  color: #48584b;
  line-height: 1.85;
}

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

.score-layout {
  display: grid;
  grid-template-columns: 1.3fr .8fr;
  gap: 65px;
  padding-left: 61px;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.score-table th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  padding: 0 0 14px;
}

.score-table td {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.score-table td:last-child,.score-table th:last-child {
  text-align: right;
  white-space: nowrap;
}

.score-table td:last-child {
  font-weight: 600;
}

.small-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 15px;
}

.score-aside {
  padding: 24px 0;
}

.score-aside h3 {
  font: normal 25px var(--serif);
}

.thresholds {
  font: normal 39px var(--serif);
  letter-spacing: -1px;
  margin-top: 17px;
}

.thresholds span {
  color: #a6ad9e;
  padding-inline: 8px;
}

.rule-section {
  background: var(--white);
  padding: 65px 0;
  border-block: 1px solid var(--line);
}

.mode-kicker {
  display: inline-block;
  border: 1px solid #bdc9b6;
  color: #426046;
  border-radius: 3px;
  font-size: 10px;
  padding: 3px 8px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 13px;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0 40px;
  padding-left: 61px;
}

.rule {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.rule-icon {
  display: block;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
}

.rule-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.rule-title h3 {
  font-size: 16px;
}

.points {
  font-size: 12px;
  white-space: nowrap;
  color: #53613d;
  font-weight: 700;
}

.poison .points {
  color: var(--red);
}

.rule p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.8;
}

.rule>div:last-child {
  flex: 1;
  min-width: 0;
}

.rule-note {
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 18px;
  margin: 19px 0 0 61px;
  color: var(--muted);
  font-size: 13px;
  max-width: 880px;
}

.extreme {
  padding: 70px 0;
}

.extreme-panel {
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  padding: 43px;
}

.extreme-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.extreme .mode-kicker {
  color: var(--gold);
  border-color: #75815a;
}

.extreme p {
  color: #d0d9ce;
  font-size: 14px;
  line-height: 1.85;
  margin-top: 16px;
}

.extreme ul {
  color: #d0d9ce;
  font-size: 13px;
  padding-left: 19px;
  margin: 18px 0 0;
}

.sweep-scores {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin-top: 29px;
  padding: 24px 0;
  border-block: 1px solid #ffffff28;
}

.sweep-score {
  text-align: center;
  border-right: 1px solid #ffffff28;
  padding: 0 10px;
}

.sweep-score:last-child {
  border: 0;
}

.sweep-score strong {
  display: block;
  font: normal 42px var(--serif);
  color: var(--gold);
}

.sweep-score:nth-child(2) strong {
  color: #f0ae9b;
}

.sweep-score:nth-child(3) strong {
  color: var(--white);
}

.sweep-score span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: #d0d9ce;
}

.extreme-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 26px;
}

.extreme-bottom h3 {
  color: var(--gold);
  font-size: 14px;
}

.extreme-bottom p {
  font-size: 13px;
  margin-top: 7px;
}

.compare {
  padding-left: 61px;
}

.compare-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

.compare-table th,.compare-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  width: 33.333%;
}

.compare-table th {
  background: #e9ecdf;
  font-size: 12px;
  font-weight: 650;
}

.compare-table td:first-child {
  color: var(--muted);
}

.compare-table th:first-child {
  border-radius: 6px 0 0 0;
}

.compare-table th:last-child {
  border-radius: 0 6px 0 0;
}

.end-note {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 820px;
}

.author {
  border-top: 1px solid var(--line);
  padding: 52px 0 62px;
}

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

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 40px;
  padding-left: 61px;
}

.faq-item h3 {
  font-size: 16px;
}

.faq-item p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.author-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  align-items: center;
}

.author h2 {
  font-size: 32px;
}

.author p {
  font-size: 14px;
  max-width: 685px;
  color: var(--muted);
  margin-top: 17px;
}

.author p strong {
  color: var(--ink);
}

.author .eyebrow {
  margin-bottom: 13px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

@media(min-width:1500px) {
  .hero {
    padding-top: 85px;
  }
}

@media(max-width:1050px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .header-inner {
    gap: 24px;
  }
  .main-nav {
    gap: 19px;
  }
  .hero-grid {
    gap: 35px;
  }
  h1 {
    font-size: 58px;
  }
  .tableau {
    padding: 24px;
  }
  .basics-grid,.score-layout {
    padding-left: 0;
    gap: 35px;
  }
  .rule-grid,.compare,.faq-list {
    padding-left: 0;
  }
  .rule-note {
    margin-left: 0;
  }
  .fact {
    padding-inline: 19px;
  }
  .extreme-panel {
    padding: 32px;
  }
  .extreme-top {
    gap: 35px;
  }
}

@media(max-width:760px) {
  html {
    scroll-padding-top: 140px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .header-inner {
    min-height: 0;
    padding-block: 14px 11px;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .main-nav {
    order: 3;
    margin: 2px 0 0;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .main-nav a {
    font-size: 12px;
    padding-block: 4px;
  }
  .hero {
    padding-top: 38px;
    padding-bottom: 25px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  h1 {
    font-size: clamp(49px,9vw,66px);
    letter-spacing: -2px;
    margin-top: 18px;
  }
  .hero-copy {
    margin-top: 20px;
    font-size: 15px;
    max-width: 590px;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 20px;
  }
  .byline {
    margin-top: 20px;
  }
  .tableau {
    min-height: 380px;
    padding: 25px;
  }
  .hand {
    height: 231px;
  }
  .facts {
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
    padding-block: 6px;
  }
  .fact {
    padding: 15px 20px;
  }
  .fact:nth-child(odd) {
    padding-left: 0;
  }
  .fact:nth-child(even) {
    border: 0;
  }
  .fact:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
  .fact strong {
    min-width: 36px;
    font-size: 30px;
  }
  .chapter {
    padding: 32px 0 42px;
  }
  .section-heading {
    gap: 10px;
    margin-bottom: 26px;
  }
  .chapter-number {
    width: 25px;
    padding-top: 8px;
  }
  h2 {
    font-size: 34px;
  }
  .section-heading p {
    font-size: 14px;
  }
  .basics-grid,.score-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .example {
    padding: 23px;
  }
  .capture {
    justify-content: center;
  }
  .score-aside {
    padding: 0;
  }
  .rule-section {
    padding: 42px 0;
  }
  .rule-grid {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }
  .rule {
    padding: 23px 0;
    gap: 15px;
  }
  .rule-note {
    margin-top: 10px;
  }
  .extreme {
    padding: 42px 0;
  }
  .extreme-panel {
    padding: 26px 22px;
  }
  .extreme-top,.extreme-bottom {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .extreme-top p {
    margin-top: 14px;
  }
  .extreme-top ul {
    margin-top: 10px;
  }
  .extreme-bottom {
    margin-top: 24px;
  }
  .sweep-scores {
    margin-top: 22px;
  }
  .sweep-score {
    padding-inline: 7px;
  }
  .sweep-score span {
    font-size: 10px;
  }
  .compare-table {
    font-size: 12px;
  }
  .compare-table th,.compare-table td {
    padding: 13px 8px;
    overflow-wrap: anywhere;
  }
  .compare-table th {
    font-size: 11px;
  }
  .author {
    padding: 35px 0 42px;
  }
  .author-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .author .button {
    justify-self: start;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media(max-width:380px) {
  .playing-card {
    width: 120px;
    height: 180px;
  }
  .playing-card.card-one {
    left: calc(50% - 136px);
  }
  .playing-card.card-two {
    left: calc(50% - 60px);
  }
  .playing-card.card-three {
    left: calc(50% + 10px);
  }
  .hand {
    height: 219px;
  }
  .tableau {
    padding: 23px 19px;
    min-height: 365px;
  }
  .tableau-top {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .rule-title {
    flex-wrap: wrap;
    gap: 3px 10px;
  }
  .tableau-bottom strong {
    font-size: 20px;
  }
  .capture {
    gap: 10px;
  }
  .capture-group {
    gap: 6px;
  }
  .mini-card {
    width: 46px;
  }
  .hero-actions {
    gap: 17px;
  }
  .button {
    gap: 15px;
    padding-inline: 16px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    transition: none!important;
  }
}

@media print {
  :root {
    --paper: white;
    --white: white;
    --ink: black;
    --muted: #333;
    --line: #ccc;
  }
  body {
    font-size: 11pt;
  }
  .wrap {
    width: 100%;
  }
  .site-header,.skip-link,.hero-actions,.tableau,.site-footer,.author .button {
    display: none;
  }
  .hero {
    padding: 0 0 20px;
  }
  .hero-grid {
    display: block;
  }
  h1 {
    font-size: 35pt;
  }
  .hero-copy {
    max-width: none;
  }
  h2 {
    font-size: 23pt;
  }
  .chapter,.rule-section,.extreme,.author {
    padding-block: 20px;
  }
  .rule,.example,.step,.faq-item,tr {
    break-inside: avoid;
  }
  .rule-grid {
    display: block;
    padding-left: 0;
  }
  .extreme-panel {
    border: 1px solid #ccc;
    background: white;
    padding: 20px;
    color: black;
  }
  .extreme p,.extreme ul,.extreme .mode-kicker,.extreme-bottom h3,.sweep-score strong,.sweep-score span {
    color: black!important;
  }
  .sweep-scores,.sweep-score {
    border-color: #ccc;
  }
  .facts {
    margin-top: 20px;
  }
  .fact {
    padding-inline: 12px;
  }
  .fact:first-child {
    padding-left: 0;
  }
}
