@layer modules {
  .yes-chapter__grid {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: start;
    gap: var(--space-10);
  }
  @media (min-width: 768px) {
    .yes-chapter__grid {
      grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
      gap: var(--space-16);
    }
  }
  @media (min-width: 1024px) {
    .yes-chapter__grid {
      gap: var(--space-20);
    }
  }
  .yes-chapter__rail {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
  }
  @media (min-width: 768px) {
    .yes-chapter__rail {
      position: sticky;
      top: calc(var(--header-height) + var(--space-6));
      align-self: start;
      gap: var(--space-8);
    }
  }
  .yes-chapter__title {
    margin: 0;
    max-width: 16ch;
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-medium);
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-tight);
    color: var(--color-ink);
  }
  @media (min-width: 768px) {
    .yes-chapter__title {
      font-size: var(--text-4xl);
    }
  }
  .yes-chapter__answer {
    display: inline-flex;
    align-items: center;
  }
  .yes-chapter__mark {
    display: block;
    font-family: var(--font-mono);
    font-size: clamp(var(--text-3xl), 6.5vw, var(--text-5xl));
    font-weight: var(--font-weight-medium);
    line-height: 0.92;
    letter-spacing: var(--letter-spacing-tighter);
    color: var(--color-ink);
  }
  .yes-chapter__list {
    margin: 0;
    padding: 0 var(--space-5);
    list-style: none;
    border: 1px solid var(--bento-edge);
    border-radius: 1.25rem;
    background: var(--hero-bento-surface);
    box-shadow: var(--bento-lift);
  }
  @media (min-width: 768px) {
    .yes-chapter__list {
      padding: 0 var(--space-6);
      border-radius: 1.35rem;
    }
  }
  .yes-chapter__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding-block: var(--space-5);
    border-bottom: 1px solid var(--bento-edge);
  }
  .yes-chapter__row:last-child {
    border-bottom: 0;
  }
  @media (min-width: 768px) {
    .yes-chapter__row {
      gap: var(--space-6);
      padding-block: var(--space-6);
    }
  }
  .yes-chapter__q {
    min-width: 0;
    font-size: var(--text-base);
    line-height: var(--line-height-snug);
    color: var(--color-ink);
  }
  @media (min-width: 768px) {
    .yes-chapter__q {
      font-size: var(--text-lg);
    }
  }
  .yes-chapter__stamp {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    color: color-mix(in srgb, var(--color-ink) 42%, transparent);
  }
  @media (hover: hover) and (pointer: fine) {
    .yes-chapter__row {
      transition: background-color var(--duration-fast) var(--ease-out);
    }
    .yes-chapter__stamp {
      transition: color var(--duration-fast) var(--ease-out);
    }
    .yes-chapter__row:hover {
      background: color-mix(in srgb, var(--color-ink) 4%, transparent);
    }
    .yes-chapter__row:hover .yes-chapter__stamp {
      color: var(--color-ink);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .yes-chapter__row,
    .yes-chapter__stamp {
      transition: none;
    }
  }
}
