/* The introduction pairs each example with the scene or cards it describes. */
.intro-page {
  --ink-blue: #2549bb;
  width: min(1160px, calc(100% - 48px));
  margin: 36px auto 64px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body[data-theme="dark"] .intro-page { --ink-blue: #b7c8ff; }
.intro-page h1, .intro-page h2, .intro-page h3, .intro-page p, .intro-page figure { margin: 0; }
.intro-page p, .intro-page dd { line-height: 1.8; }
.intro-page h1, .intro-page h2, .intro-page h3 { text-wrap: balance; letter-spacing: -.045em; }
.intro-page h1 { font-size: clamp(38px, 4.5vw, 66px); line-height: 1.12; }
.intro-page h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.28; }
.intro-page h3 { font-size: 21px; line-height: 1.45; }
.intro-page .spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}
.intro-page .lead { padding: clamp(24px, 4.5vw, 62px); background: #101e35; color: white; border-radius: 14px; }
.intro-page .lead p { color: #dae5f6; font-size: 17px; margin: 20px 0 26px; max-width: 44ch; }
.intro-page .lead .jump { color: #fff; font-weight: 700; text-underline-offset: 6px; }
.intro-page .still { min-width: 0; }
.intro-page .still a { display: block; border-radius: 8px; text-decoration: none; }
.intro-page .frame { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #26334b; border-radius: 8px; }
.intro-page .frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.intro-page .frame::after { content: '▶'; position: absolute; bottom: 12px; left: 12px; display: grid; place-items: center; width: 44px; height: 33px; border-radius: 6px; background: #101a2deb; color: white; font: 16px/1 Arial,sans-serif; }
.intro-page .still b { display: block; font-size: 17px; line-height: 1.45; margin-top: 10px; }
.intro-page .still a:hover b { text-decoration: underline; }
.intro-page .still figcaption { margin-top: 4px; font-size: 13px; color: var(--muted); }
.intro-page .lead figcaption { color: #b9c9dd; }
.intro-page .chapter { padding: clamp(34px, 5vw, 64px) 8px; border-bottom: 1px solid var(--line-strong); }
.intro-page .chapter p { margin-top: 12px; }
.intro-page .chapter a { color: var(--ink-blue); }
.intro-page .tabletop { background: #143e39; color: #fff; padding: clamp(18px, 3vw, 36px); border-radius: 12px; }
.intro-page .tabletop h3 { font-size: 16px; font-weight: 630; }
.intro-page .hand, .intro-page .board { display: flex; gap: 6px; margin: 7px 0 17px; }
.intro-page .card { display: inline-flex; align-items: center; justify-content: center; width: clamp(39px, 4.5vw, 62px); height: clamp(51px, 6vw, 78px); border-radius: 5px; background: #fffdf7; color: #162437; font: bold clamp(18px, 2vw, 27px)/1 Georgia,serif; }
.intro-page .hearts { color: #a4213d; }
.intro-page .tabletop summary { cursor: pointer; font-weight: 680; padding-block: 6px; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.intro-page .tabletop p { font-size: 15px; color: #e2f1e9; }
.intro-page .formats { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 64px); margin-top: 24px; }
.intro-page .formats h3 { color: var(--ink-blue); }
.intro-page dl { margin: 8px 0 0; }
.intro-page dt { margin-top: 12px; font-weight: 750; }
.intro-page dd { margin: 2px 0 0; color: var(--muted); }
.intro-page .sources { margin-top: 22px; display: flex; gap: 10px 22px; flex-wrap: wrap; align-items: baseline; font-size: 14px; }
.intro-page .sources a { color: var(--ink-blue); }
.intro-page .learn-link { display: inline-block; margin-top: 22px; font-weight: bold; }
@media (max-width: 760px) {
  .intro-page { width: calc(100% - 32px); margin-top: 18px; }
  .intro-page .spread, .intro-page .formats { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .intro-page .lead { padding: 24px 18px 20px; }
  .intro-page .lead p { margin: 12px 0; font-size: 16px; }
}
