html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  color: #1a1a1a;
  background: #faf8f4;
  font-feature-settings: "kern" 1, "liga" 1, "onum" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 18px;
  font-weight: 600;
}

p {
  margin: 0 0 24px 0;
}

p + p {
  margin-top: 0;
}

a {
  color: #1a1a1a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: #d8d2c4;
  transition: color 200ms cubic-bezier(0.22, 1, 0.36, 1), text-decoration-color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
a:hover {
  color: #c8102e;
  text-decoration-color: #c8102e;
}

em, i {
  font-style: italic;
}

strong, b {
  font-weight: 600;
}

.ui {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-feature-settings: "tnum" 1;
}

.pullquote {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 64px 0;
  padding-left: 24px;
  border-left: 2px solid #c8102e;
  max-width: 680px;
}

.lede {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: #4a4a4a;
  margin-bottom: 40px;
}

.num {
  font-variant-numeric: tabular-nums;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.95em;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

::selection {
  background: #fff3a8;
  color: #1a1a1a;
}

img, svg, video {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: 8px;
  z-index: 1000;
  background: #1a1a1a;
  color: #faf8f4;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  text-decoration: none;
}
.skip-link:focus {
  left: 16px;
  outline: 2px solid #c8102e;
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid #c8102e;
  outline-offset: 2px;
  border-radius: 2px;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  z-index: 100;
  pointer-events: none;
}
.progress-bar__fill {
  height: 100%;
  width: 0%;
  background: #c8102e;
  transition: width 100ms linear;
}

.cover {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 40px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.cover__hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 96px 0 64px;
  max-width: 800px;
}

.cover__eyebrow {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin-bottom: 16px;
}

.cover__title {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.cover__subtitle {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: #4a4a4a;
  font-weight: 400;
  margin: 0 0 40px 0;
  max-width: 540px;
  line-height: 1.4;
}

.cover__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
}

.cover__scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  color: #4a4a4a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cover__scroll-hint svg {
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cover__scroll-hint svg {
    animation: none;
  }
}
.toc {
  border-top: 1px solid #d8d2c4;
  padding: 64px 0 96px;
}

.toc__heading {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin: 0 0 24px 0;
  font-weight: 500;
}

.toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc__row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  align-items: baseline;
  padding: 16px 24px;
  border-bottom: 1px solid #d8d2c4;
  text-decoration: none;
  color: #1a1a1a;
  transition: background 200ms cubic-bezier(0.22, 1, 0.36, 1);
  margin: 0 -24px;
}
.toc__row:hover, .toc__row:focus-visible {
  background: #f0ebe2;
  outline: none;
}
.toc__row:hover .toc__num, .toc__row:focus-visible .toc__num {
  color: #c8102e;
}
.toc__row:hover .toc__title, .toc__row:focus-visible .toc__title {
  text-decoration: underline;
  text-decoration-color: #d8d2c4;
}

.toc__num {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  color: #4a4a4a;
  letter-spacing: 0.04em;
  transition: color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.toc__title {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 22px;
  line-height: 1.3;
}

.toc__time {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  color: #4a4a4a;
  white-space: nowrap;
}

.continue {
  display: none;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: #fde8eb;
  border-radius: 8px;
  margin: 24px 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  max-width: 540px;
}
.continue.is-visible {
  display: flex;
}
.continue__label {
  color: #4a4a4a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.continue__link {
  color: #1a1a1a;
  font-weight: 500;
}

.book {
  min-height: 100vh;
  padding-bottom: 96px;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid #d8d2c4;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
}

.bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.bar__chapter {
  color: #4a4a4a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.bar__chapter .mono {
  color: #4a4a4a;
  margin-right: 8px;
}
.bar__chapter strong {
  color: #1a1a1a;
  font-weight: 500;
}

.bar__progress {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.bar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d8d2c4;
}
.bar__dot.is-current {
  background: #c8102e;
}
.bar__dot.is-past {
  background: #4a4a4a;
}

.bar__nav {
  justify-self: end;
  display: flex;
  gap: 16px;
}
.bar__nav a {
  color: #1a1a1a;
  text-decoration: none;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
}
.bar__nav a:hover {
  color: #c8102e;
}

@media (max-width: 720px) {
  .bar__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }
  .bar__progress {
    display: none;
  }
  .bar__nav {
    gap: 16px;
  }
  .bar__nav a {
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .bar__chapter strong {
    display: none;
  }
}
.opener {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px 64px;
}

.opener__num {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 96px;
  font-weight: 500;
  line-height: 1;
  color: #4a4a4a;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
}

.opener__title {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 24px 0;
  max-width: 800px;
  letter-spacing: -0.01em;
}

.opener__lede {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: #4a4a4a;
  max-width: 680px;
  margin: 0;
}

@media (max-width: 720px) {
  .opener {
    padding: 64px 24px 40px;
  }
  .opener__num {
    font-size: 64px;
  }
  .opener__title {
    font-size: 28px;
  }
  .opener__lede {
    font-size: 18px;
  }
}
.prose {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 18px;
  line-height: 1.7;
}
.prose h2 {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  margin: 64px 0 24px;
  padding-top: 24px;
  border-top: 1px solid #d8d2c4;
}
.prose h3 {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin: 40px 0 16px;
}
.prose ul, .prose ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}
.prose ul li, .prose ol li {
  margin: 8px 0;
  line-height: 1.6;
}
.prose blockquote {
  margin: 40px 0;
  padding-left: 24px;
  border-left: 2px solid #c8102e;
  font-style: italic;
  font-size: 22px;
  color: #1a1a1a;
}
.prose hr {
  border: 0;
  border-top: 1px solid #d8d2c4;
  margin: 64px 0;
}

.wide {
  max-width: 1200px;
  margin: 64px auto;
  padding: 0 24px;
}

.reflections {
  max-width: 680px;
  margin: 96px auto 40px;
  padding: 40px 24px;
  background: #f0ebe2;
  border-radius: 8px;
}
.reflections h2 {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 22px;
  margin: 0 0 16px 0;
  font-weight: 500;
}
.reflections ol {
  list-style: decimal;
  padding-left: 24px;
  margin: 0;
}
.reflections ol li {
  margin: 16px 0;
  font-size: 18px;
  line-height: 1.6;
}

.chapter-footer {
  max-width: 680px;
  margin: 64px auto 0;
  padding: 40px 24px;
  border-top: 1px solid #d8d2c4;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
}
.chapter-footer a {
  color: #4a4a4a;
  text-decoration: none;
  line-height: 1.4;
}
.chapter-footer a span {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.chapter-footer a strong {
  color: #1a1a1a;
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-weight: 500;
  font-size: 18px;
}
.chapter-footer a:hover strong {
  color: #c8102e;
}
.chapter-footer .chapter-footer__center {
  text-align: center;
}
.chapter-footer .chapter-footer__next {
  text-align: right;
}

@media (max-width: 600px) {
  .chapter-footer {
    grid-template-columns: 1fr;
  }
  .chapter-footer .chapter-footer__center, .chapter-footer .chapter-footer__next {
    text-align: left;
  }
}
.is-fading {
  opacity: 0;
  transition: opacity 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .is-fading {
    transition: none;
  }
  * {
    animation: none !important;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 12px 22px;
  min-height: 44px;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  background: #1a1a1a;
  color: #faf8f4;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms cubic-bezier(0.22, 1, 0.36, 1), border-color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:hover {
  background: #c8102e;
  border-color: #c8102e;
  color: #faf8f4;
}
.btn--ghost {
  background: transparent;
  color: #1a1a1a;
  border-color: #d8d2c4;
}
.btn--ghost:hover {
  background: #f0ebe2;
  color: #1a1a1a;
  border-color: #4a4a4a;
}
.btn--small {
  padding: 8px 14px;
  font-size: 13px;
  min-height: 36px;
}

.callout {
  margin: 40px 0;
  padding: 24px 40px;
  background: #f0ebe2;
  border-radius: 8px;
  border-left: 3px solid #4a4a4a;
  max-width: 680px;
}
.callout__label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4a4a4a;
  margin: 0 0 8px 0;
}
.callout p {
  margin: 0 0 8px 0;
}
.callout p:last-child {
  margin-bottom: 0;
}
.callout ul, .callout ol {
  margin: 8px 0 0 0;
  padding-left: 24px;
}
.callout--insight {
  border-left-color: #c8102e;
}
.callout--insight .callout__label {
  color: #c8102e;
}
.callout--warning {
  border-left-color: #b8860b;
}
.callout--warning .callout__label {
  color: #b8860b;
}
.callout--regulatory {
  background: #fef0f3;
  border-left-color: #c8102e;
}
.callout--regulatory .callout__label {
  color: #c8102e;
}
.callout--regulatory cite {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-style: normal;
  color: #4a4a4a;
  display: block;
  margin-top: 8px;
}
.callout--quote {
  background: transparent;
  border-left-color: #c8102e;
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
}

.task {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px;
  border-bottom: 1px solid #d8d2c4;
}
.task:last-of-type {
  border-bottom: 0;
}
.task__header {
  margin-bottom: 24px;
}
.task__number {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #faf8f4;
  background: #1a1a1a;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.task h2 {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  margin: 0;
  line-height: 1.2;
}
.task__body {
  font-size: 18px;
  line-height: 1.7;
}
.task__body h3 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin: 24px 0 8px;
  font-weight: 500;
}
.task__criteria {
  margin-top: 24px;
  padding: 24px;
  background: #f0ebe2;
  border-radius: 8px;
}
.task__criteria h3 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin: 0 0 16px 0;
  font-weight: 500;
}
.task__criteria ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.task__criteria ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
}
.task__criteria ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border: 1.5px solid #4a4a4a;
  border-radius: 1px;
}

.compare {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.compare__cell {
  background: #f0ebe2;
  border-radius: 8px;
  padding: 24px;
}
.compare__cell h3 {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 500;
}
.compare__cell p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  color: #4a4a4a;
}
.compare__cell__tag {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c8102e;
  margin-bottom: 8px;
  display: block;
}

.slides {
  max-width: 680px;
  margin: 40px auto;
  padding: 0 24px;
  list-style: none;
  counter-reset: slide;
}
.slides li {
  counter-increment: slide;
  padding: 16px 0 16px 64px;
  position: relative;
  border-bottom: 1px dashed #d8d2c4;
}
.slides li::before {
  content: counter(slide, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: #c8102e;
  letter-spacing: 0.08em;
}
.slides li:last-child {
  border-bottom: 0;
}
.slides li h3 {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
}
.slides li p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #4a4a4a;
}

.resources {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.resources__group {
  margin-bottom: 64px;
}
.resources__group h2 {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 16px;
  padding-top: 24px;
  border-top: 1px solid #d8d2c4;
}
.resources__group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.resources__group li {
  padding: 16px 0;
  border-bottom: 1px solid #d8d2c4;
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
}
.resources__group li:last-child {
  border-bottom: 0;
}
.resources__group li .resources__source {
  display: block;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin-top: 2px;
}

.card-deck {
  position: relative;
  max-width: 1200px;
  margin: 64px auto;
  padding: 0 24px;
  user-select: none;
}

.card-deck__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a4a4a;
}

.card-deck__title {
  font-weight: 500;
}

.card-deck__counter {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.05em;
}

.card-deck__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  touch-action: pan-y;
}

.card-deck__track {
  display: flex;
  gap: 16px;
  will-change: transform;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  align-items: stretch;
  padding: 8px 0;
}

.card-deck.is-dragging .card-deck__track {
  transition: none;
}

.card {
  flex: 0 0 320px;
  height: 420px;
  position: relative;
  perspective: 1200px;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: inherit;
  text-align: left;
  color: inherit;
}
@media (min-width: 720px) {
  .card {
    flex-basis: 380px;
    height: 480px;
  }
}

.card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

.card.is-flipped .card__inner {
  transform: rotateY(180deg);
}

.card__front,
.card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #f0ebe2;
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #d8d2c4;
}

.card__front {
  background: #f0ebe2;
}

.card__back {
  transform: rotateY(180deg);
  background: #faf8f4;
}

.card__index {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #4a4a4a;
}

.card__term {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}
@media (min-width: 720px) {
  .card__term {
    font-size: 32px;
  }
}

.card__sub {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin: 0 0 16px 0;
}

.card__hint {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card__hint::before {
  content: "";
  width: 16px;
  height: 1px;
  background: #d8d2c4;
}

.card__back p {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 16px 0;
  color: #1a1a1a;
}

.card__back .card__index {
  align-self: flex-start;
}

.card__category {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c8102e;
  margin: 0 0 8px 0;
}

.card-deck__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
.card-deck__nav__list-toggle {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #4a4a4a;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #d8d2c4;
}
.card-deck__nav__list-toggle:hover {
  color: #c8102e;
}

.card-deck__buttons {
  display: flex;
  gap: 8px;
}

.card-deck__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #d8d2c4;
  background: #faf8f4;
  color: #1a1a1a;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms cubic-bezier(0.22, 1, 0.36, 1), border-color 200ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.card-deck__btn:hover {
  background: #f0ebe2;
  border-color: #4a4a4a;
}
.card-deck__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.card-deck__live {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.card-deck__list {
  display: none;
  margin-top: 24px;
  list-style: none;
  padding: 0;
}
.card-deck__list li {
  padding: 24px;
  background: #f0ebe2;
  border-radius: 8px;
  margin-bottom: 8px;
}
.card-deck__list li h3 {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
}
.card-deck__list li p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  color: #1a1a1a;
}

.card-deck.show-as-list .card-deck__viewport,
.card-deck.show-as-list .card-deck__nav__buttons,
.card-deck.show-as-list .card-deck__buttons,
.card-deck.show-as-list .card-deck__counter {
  display: none;
}
.card-deck.show-as-list .card-deck__list {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .card__inner {
    transition: none;
  }
  .card-deck__track {
    transition: none;
  }
}
html.is-locked {
  overflow: hidden;
}

html.is-locked body > :not(.lock-screen) {
  display: none !important;
}

.lock-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #faf8f4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: lock-fade-in 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes lock-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.lock-screen__panel {
  max-width: 460px;
  width: 100%;
  padding: 64px 40px;
  text-align: left;
}
.lock-screen__panel.is-shaking {
  animation: lock-shake 360ms cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes lock-shake {
  10%, 90% {
    transform: translateX(-2px);
  }
  20%, 80% {
    transform: translateX(4px);
  }
  30%, 50%, 70% {
    transform: translateX(-6px);
  }
  40%, 60% {
    transform: translateX(6px);
  }
}
.lock-screen__eyebrow {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a4a4a;
  margin: 0 0 8px 0;
}

.lock-screen__title {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  color: #1a1a1a;
}

.lock-screen__lede {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  color: #4a4a4a;
  line-height: 1.4;
  margin: 0 0 40px 0;
}

.lock-screen__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lock-screen__label {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4a4a4a;
  font-weight: 500;
}

.lock-screen__input {
  font-family: "Fraunces", "Source Serif Pro", Georgia, serif;
  font-size: 22px;
  padding: 14px 16px;
  border: 1px solid #d8d2c4;
  border-radius: 4px;
  background: #faf8f4;
  color: #1a1a1a;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lock-screen__input::placeholder {
  color: #4a4a4a;
}
.lock-screen__input:focus {
  border-color: #1a1a1a;
  outline: 2px solid #c8102e;
  outline-offset: 2px;
}

.lock-screen__error {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  color: #c8102e;
  min-height: 1.4em;
  margin: 0;
  letter-spacing: 0.02em;
}

.lock-screen__submit {
  margin-top: 8px;
  align-self: flex-start;
}

@media (prefers-reduced-motion: reduce) {
  .lock-screen {
    animation: none;
  }
  .lock-screen__panel.is-shaking {
    animation: none;
  }
}
@media (max-width: 480px) {
  .lock-screen__panel {
    padding: 40px 16px;
  }
  .lock-screen__title {
    font-size: 40px;
  }
  .lock-screen__lede {
    font-size: 18px;
  }
}
