/* Migrated source layout; modified by Skilly. */

:root {
  --paper: #f3eee2;
  --ink: #1f1c17;
  --muted: #6e6a5d;
  --rule: #d3cdbe;
  --accent: #b85a3a;
  --tint: #ece5d3;
  --serif-display: "Publication Serif", "Iowan Old Style", Georgia, serif;
  --serif-body: "Iowan Old Style", "Charter", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "JetBrains Mono", monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle, rgba(31, 28, 23, 0.05) 1px, transparent 1.4px) 0 0 /
      16px 16px,
    var(--paper);
  font: 14px/1.55 var(--serif-body);
}
.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 56px 48px;
}

.top-rule {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 10.5px/1.4 var(--mono);
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
}
.eyebrow-row {
  padding: 14px 0 28px;
  font: 10.5px/1.4 var(--mono);
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1.headline {
  font-family: var(--serif-display);
  font-weight: 800;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  margin: 0 0 16px;
  max-width: 18ch;
}
h1.headline .strike {
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--ink);
  color: var(--ink);
}
h1.headline .accent {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}

.deck {
  max-width: 78ch;
  font: italic 18px/1.45 var(--serif-body);
  color: var(--ink);
  margin: 0 0 22px;
}
.deck b {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
  padding: 0 4px;
  background: var(--tint);
  border-radius: 2px;
}

.accent-rule {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 6px 0 32px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 56px;
  padding-top: 4px;
  border-top: 1px solid var(--rule);
}
.cell {
  padding: 28px 0 4px;
  border-bottom: 1px solid var(--rule);
}
.cell:nth-last-child(-n + 2) {
  border-bottom: none;
}
.cell .num {
  font: 10.5px/1.4 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cell .num span.bar {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.cell h3 {
  font: 700 22px/1.2 var(--serif-display);
  letter-spacing: -0.005em;
  margin: 0 0 10px;
}
.cell p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  max-width: 46ch;
  color: var(--ink);
}
.cell .quote {
  background: var(--tint);
  border-left: 2px solid var(--accent);
  padding: 10px 12px;
  font: 12px/1.55 var(--mono);
  color: var(--ink);
  max-width: 50ch;
}
.cell .quote::before {
  content: '"';
}
.cell .quote::after {
  content: '"';
}

.footer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  font: 10.5px/1.4 var(--mono);
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pro-tip {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--rule);
  background: var(--paper);
  max-width: 78%;
}
.pro-tip .badge {
  font: 9.5px/1 var(--mono);
  letter-spacing: 0.2em;
  padding: 6px 8px;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.pro-tip .text {
  font: italic 13px/1.4 var(--serif-body);
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}
.pro-tip .text b {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .cell {
    border-bottom: 1px solid var(--rule);
  }
  .cell:last-child {
    border-bottom: none;
  }
  .page {
    padding: 24px 24px 32px;
  }
}

/* Skilly adaptation, 2026-10-05. See THIRD_PARTY_NOTICES.md for fixed source and changes. */
@font-face {
  font-family: Publication Serif;
  src: url(fonts/instrument-serif-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Publication Serif;
  src: url(fonts/instrument-serif-latin-400-italic.woff2) format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Publication Sans;
  src: url(fonts/dm-sans-latin-400-normal.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --serif: "Publication Serif", Georgia, serif;
  --sans: "Publication Sans", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, monospace;
  --paper: #f5efdf;
  --ink: #28231d;
  --accent: #b04736;
  --rule: #cfc6b6;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  max-width: 100%;
}
body {
  font: 18px/1.55 var(--sans);
  color: var(--ink);
  background: #dfd7ca;
  padding: 32px;
}
main {
  max-width: 1440px;
  margin: auto;
}
h1,
h2,
h3,
p,
span,
a,
td,
th {
  overflow-wrap: anywhere;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1,
h2 {
  font-family: var(--serif);
  line-height: 1.02;
}
p {
  max-width: 65ch;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  background: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b04736;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
.export-page {
  position: relative;
  background: var(--paper);
  margin: 0 auto 28px;
  padding: 64px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 35px #2c231218;
  min-width: 0;
}
.eyebrow {
  font: 12px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.page-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font: 12px/1.3 var(--mono);
}
.kicker {
  font: 12px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.accent {
  color: var(--accent);
}
.deck-controls {
  max-width: 1312px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dots {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.dots button {
  font-size: 12px;
  padding: 5px 9px;
  min-height: 36px;
}
.dots button[aria-current="true"] {
  background: var(--ink);
  color: var(--paper);
}
.reading-help {
  margin: 20px auto;
  font: 12px/1.5 var(--mono);
  text-align: center;
}
.speaker-notes {
  display: none;
  font: 16px/1.6 var(--sans);
  padding: 20px;
  background: #fff8;
  flex: none;
}
.show-notes .speaker-notes {
  display: block;
}
.export-page[hidden] {
  display: none;
}
html:not(.deck-ready) .speaker-notes {
  display: block;
}
.page-content {
  flex: 1;
  min-width: 0;
}
.deck-page {
  min-height: 780px;
}
.deck-page h1 {
  font-size: clamp(56px, 8vw, 130px);
  max-width: 15ch;
  margin: 55px 0 30px;
}
.deck-page h2 {
  font-size: clamp(46px, 5.5vw, 84px);
  margin: 32px 0;
}
.deck-page p {
  font-size: 24px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.split > * {
  min-width: 0;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card-block {
  padding: 26px;
  background: #fff7;
  border: 1px solid var(--rule);
}
.card-block h3 {
  font-size: 28px;
  margin: 0 0 16px;
}
.card-block p {
  font-size: 18px;
  margin: 0;
}
.swatches {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}
.swatches i {
  display: block;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #e1a4c2;
}
.swatches i:nth-child(2) {
  background: #d6dd63;
}
.swatches i:nth-child(3) {
  background: #b7c7a8;
}
.swatches i:nth-child(4) {
  background: #c9bedc;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
th,
td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--rule);
}
svg {
  max-width: 100%;
  display: block;
}
svg text {
  font-family: var(--sans);
}
@media (max-width: 700px) {
  body {
    padding: 12px;
  }
  .export-page {
    padding: 28px;
    min-height: 0;
  }
  .split,
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .deck-page p {
    font-size: 19px;
  }
  .deck-page h1 {
    font-size: 60px;
  }
  .deck-page h2 {
    font-size: 44px;
  }
  .page-footer {
    font-size: 10px;
  }
  .deck-controls {
    gap: 6px;
  }
  .deck-controls button {
    padding: 6px 10px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  html,
  body {
    padding: 0 !important;
    margin: 0 !important;
  }
  .deck-controls,
  .reading-help,
  .speaker-notes {
    display: none !important;
  }
  .export-page,
  .export-page[hidden] {
    display: flex !important;
    box-shadow: none;
    break-after: page;
    margin: 0;
    transform: none !important;
  }
  .export-page:last-child {
    break-after: auto;
  }
  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

body {
  background: #d4cdbc;
}
.cover-page {
  width: 1080px;
  min-height: 1350px;
  background:
    radial-gradient(circle, #261e1010 1px, transparent 1.4px) 0 0/16px 16px,
    #f3eee2;
  color: #1f1c17;
  padding: 56px 64px;
}
.cover-masthead {
  font: 26px/1 var(--mono);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 30px 0 0;
  border-bottom: 4px solid #1f1c17;
  padding: 0 0 25px;
}
.cover-hero {
  position: relative;
  flex: 1;
  padding: 32px 0 48px;
  min-height: 580px;
}
.cover-hero h1 {
  font: 400 clamp(60px, 8vw, 108px)/0.95 var(--serif);
  max-width: 14ch;
  margin: 32px 0;
  color: #292418;
  position: relative;
  z-index: 1;
}
.cover-deck {
  max-width: 38ch;
  font: italic 27px/1.4 var(--serif);
  position: relative;
  z-index: 1;
}
.cover-orbit {
  position: absolute;
  right: 10px;
  bottom: 36px;
  width: 230px;
  height: 230px;
  z-index: 0;
  opacity: 0.7;
  transform: rotate(-18deg);
}
.cover-orbit i {
  display: block;
  position: absolute;
  inset: 0;
  border: 1px solid #b85a3a;
  border-radius: 50%;
  transform: scaleX(0.35);
}
.cover-orbit i:nth-child(2) {
  transform: rotate(60deg) scaleX(0.35);
}
.cover-orbit i:nth-child(3) {
  transform: rotate(120deg) scaleX(0.35);
}
.cover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 44px;
  padding: 26px 0;
  border-top: 1px solid #a89e8d;
}
.cover-grid section {
  min-width: 0;
}
.cover-grid h2 {
  font: 400 31px/1.1 var(--serif);
  margin: 10px 0;
}
.cover-grid p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.cover-grid .kicker {
  color: #a8472b;
}
@media (max-width: 700px) {
  .cover-page {
    min-height: 0;
  }
  .cover-hero {
    min-height: 0;
  }
  .cover-hero h1 {
    font-size: 62px;
  }
  .cover-deck {
    font-size: 24px;
  }
  .cover-masthead {
    font-size: 18px;
  }
  .cover-orbit {
    width: 130px;
    height: 130px;
    opacity: 0.3;
  }
  .cover-grid {
    grid-template-columns: 1fr;
  }
  .cover-grid h2 {
    font-size: 27px;
  }
}

.eyebrow {
  position: static;
  font-family: var(--mono);
  font-size: 12px;
}
.export-page {
  isolation: isolate;
}
.deck-page {
  overflow: visible;
}
.page-footer {
  position: static;
}
@media (max-width: 700px) {
  .export-page {
    width: 100%;
    padding: 26px;
    min-height: 0;
    height: auto;
  }
  .eyebrow {
    font-size: 10px;
  }
}

.dots {
  position: static;
  transform: none;
}
.deck-controls {
  position: relative;
  z-index: 10;
}
.deck-page .kicker {
  font: 12px/1.4 var(--mono);
  letter-spacing: 0.15em;
}
.deck-page .data-source {
  font: 13px/1.55 var(--mono);
}
