/* Typography pairing: TP-001 */
:root {
  --primary-color: #c56a2d;
  --primary-light: #e7c2a5;
  --secondary-color: #4b463f;
  --accent-color: #c56a2d;
  --dark-color: #27231e;
  --text-color: #27231e;
  --muted-color: #7a7165;
  --bg-color: #f4efe4;
  --surface-color: #fffdf8;
  --surface-alt-color: #ebe3d5;
  --border-color: #cfc4b2;
  --radius-sm: 2px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --shadow-soft: 0 12px 35px rgba(39, 35, 30, 0.09);
  --shadow-strong: 0 26px 70px rgba(39, 35, 30, 0.16);
  --content-width: 1280px;
  --text-column-width: 44rem;
  --section-space: clamp(4rem, 8vw, 8.5rem);
  --heading-weight: 600;
  --body-weight: 400;
  --body-line-height: 1.75;
  --heading-font: Georgia, "Times New Roman", serif;
  --body-font: Charter, Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #ded4c4;
}

body {
  margin: 0;
  color: var(--text-color);
  background: #ded4c4;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: var(--body-weight);
  line-height: var(--body-line-height);
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--surface-color);
  background: var(--dark-color);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  display: grid;
  grid-template-columns: 15.5rem minmax(0, 1fr);
  gap: 1.5rem;
  width: min(calc(100% - 3rem), 1540px);
  margin: 0 auto;
  padding: 1.5rem 0;
  align-items: start;
}

.desktop-toc {
  position: sticky;
  top: 1.5rem;
  display: flex;
  min-height: calc(100vh - 3rem);
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(39, 35, 30, 0.22);
  border-radius: var(--radius-md);
  background: var(--bg-color);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-link img {
  width: 11.25rem;
  height: auto;
}

.toc-caption,
.eyebrow,
.section-label,
.page-kicker,
.footer-kicker,
.field-note {
  margin: 0;
  color: var(--muted-color);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.toc-caption {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.toc-nav {
  margin-top: 1.25rem;
}

.toc-nav a {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.45rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(122, 113, 101, 0.28);
  color: var(--secondary-color);
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
}

.toc-nav a::before {
  color: var(--primary-color);
  font-variant-numeric: tabular-nums;
}

.toc-nav a:nth-child(1)::before { content: "01"; }
.toc-nav a:nth-child(2)::before { content: "02"; }
.toc-nav a:nth-child(3)::before { content: "03"; }
.toc-nav a:nth-child(4)::before { content: "04"; }
.toc-nav a:nth-child(5)::before { content: "05"; }

.toc-nav a:hover,
.toc-nav a[aria-current="page"] {
  color: var(--primary-color);
}

.toc-domain {
  margin: auto 0 0;
  padding-top: 1.5rem;
  color: var(--muted-color);
  font-size: 0.76rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.mobile-index {
  display: none;
}

.site-document {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(39, 35, 30, 0.16);
  border-radius: var(--radius-md);
  background: var(--surface-color);
  box-shadow: var(--shadow-strong);
}

.paper-section {
  position: relative;
  scroll-margin-top: 5rem;
  padding: var(--section-space) clamp(2rem, 6vw, 6.5rem);
  border-bottom: 1px solid var(--border-color);
}

.paper-section:last-of-type {
  border-bottom: 0;
}

.section-tall {
  min-height: 43rem;
}

.section-medium {
  min-height: 31rem;
}

.section-compact {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.surface-paper { background: var(--surface-color); }
.surface-muted { background: var(--surface-alt-color); }
.surface-base { background: var(--bg-color); }
.surface-accent { background: var(--primary-light); }
.surface-outlined { background: var(--surface-color); }
.surface-contrast { color: var(--surface-color); background: var(--dark-color); }

.content-narrow {
  width: min(100%, 46rem);
  margin-inline: auto;
}

.content-medium {
  width: min(100%, 58rem);
  margin-inline: auto;
}

.content-wide {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--dark-color);
  font-family: var(--heading-font);
  font-weight: var(--heading-weight);
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 17ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 7.2vw, 6.8rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
}

p {
  max-width: var(--text-column-width);
}

.lead {
  margin: 0;
  color: var(--secondary-color);
  font-size: clamp(1.12rem, 1.7vw, 1.34rem);
  line-height: 1.72;
}

.section-heading {
  max-width: 15ch;
}

.section-intro {
  max-width: 42rem;
  margin: 0;
  color: var(--muted-color);
}

.label-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.label-divider::after {
  width: 8rem;
  height: 1px;
  background: var(--primary-color);
  content: "";
}

.document-cover {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.25rem 1.5rem;
  align-content: center;
}

.cover-heading {
  grid-column: 1 / 4;
}

.cover-note {
  grid-column: 4;
  align-self: end;
  padding-left: 1.25rem;
  border-left: 3px solid var(--primary-color);
  color: var(--muted-color);
  font-size: 0.92rem;
}

.document-index {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1rem 0 0;
  padding: 0;
  border-top: 1px solid var(--dark-color);
  list-style: none;
  counter-reset: document-chapter;
}

.document-index li {
  min-height: 8.5rem;
  padding: 1.2rem 1rem 1rem 0;
  border-bottom: 1px solid var(--border-color);
  counter-increment: document-chapter;
}

.document-index li:nth-child(3n + 2),
.document-index li:nth-child(3n + 3) {
  padding-left: 1rem;
  border-left: 1px solid var(--border-color);
}

.document-index li::before {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  content: "0" counter(document-chapter);
}

.document-index a {
  font-size: 1.04rem;
  font-weight: 600;
  text-decoration: none;
}

.document-index span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted-color);
  font-size: 0.84rem;
  line-height: 1.5;
}

.document-metadata {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
}

.metadata-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: baseline;
}

.metadata-number {
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-size: 2.4rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.metadata-label {
  color: var(--muted-color);
  font-size: 0.78rem;
  line-height: 1.35;
}

.quick-access-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(0, 3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.quick-access-layout h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(9rem, 1fr));
  border-top: 1px solid var(--dark-color);
}

.quick-link {
  position: relative;
  display: flex;
  min-height: 9.5rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
}

.quick-link:last-child {
  border-right: 0;
}

.quick-link small {
  color: var(--primary-color);
  font-variant-numeric: tabular-nums;
}

.quick-link span {
  font-weight: 600;
  line-height: 1.3;
}

.quick-link::after {
  align-self: flex-end;
  color: var(--muted-color);
  content: "↗";
}

.quick-link:hover {
  background: var(--surface-color);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-heading {
  font-size: clamp(2.7rem, 5.3vw, 5.5rem);
}

.hero-description {
  margin: 0;
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.rating-compact {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.55rem 0.8rem;
  width: fit-content;
  margin-top: 1.5rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--dark-color);
  border-bottom: 1px solid var(--dark-color);
  text-decoration: none;
}

.rating-stars {
  color: var(--primary-color);
  letter-spacing: 0.08em;
}

.rating-value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.rating-count {
  color: var(--muted-color);
  font-size: 0.86rem;
}

.rating-compact:hover .rating-count {
  color: var(--primary-color);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  align-items: center;
  margin-top: 2rem;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.cta-primary {
  color: var(--surface-color);
  border: 1px solid var(--dark-color);
  border-radius: var(--radius-sm);
  background: var(--dark-color);
}

.cta-secondary {
  color: var(--dark-color);
  border-bottom: 1px solid var(--dark-color);
}

.cta-primary:hover {
  color: var(--dark-color);
  background: transparent;
}

.cta-secondary:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.hero-visual {
  position: relative;
  padding: 1.25rem;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  border: 1px solid rgba(39, 35, 30, 0.24);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 248, 0.68);
  box-shadow: var(--shadow-soft);
  content: "";
  inset: 7% 2% 3% 9%;
  transform: rotate(-2.6deg);
}

.hero-visual::after {
  inset: 3% 7% 6% 3%;
  transform: rotate(2.2deg);
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: 100%;
  border: 1px solid rgba(39, 35, 30, 0.28);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.definition-section {
  border-left: 6px solid var(--primary-color);
}

.definition-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: end;
}

.definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 4rem 0 0;
  border-top: 1px solid var(--dark-color);
}

.definition-grid > div {
  padding: 1.5rem 1rem 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.definition-grid > div:nth-child(even) {
  padding-left: 1.5rem;
  border-left: 1px solid var(--border-color);
}

.definition-grid dt {
  margin-bottom: 0.55rem;
  font-family: var(--heading-font);
  font-size: 1.35rem;
  font-weight: 600;
}

.definition-grid dd {
  margin: 0;
  color: var(--muted-color);
}

.navigation-section::before {
  position: absolute;
  top: 1rem;
  right: clamp(1rem, 4vw, 4rem);
  color: rgba(197, 106, 45, 0.14);
  font-family: var(--heading-font);
  font-size: clamp(6rem, 15vw, 13rem);
  line-height: 1;
  content: "05";
  pointer-events: none;
}

.navigation-section .section-intro {
  position: relative;
}

.anchor-menu {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4rem;
  border-top: 1px solid var(--dark-color);
  border-left: 1px solid var(--border-color);
}

.anchor-item {
  display: flex;
  min-height: 10rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
}

.anchor-item strong {
  color: var(--primary-color);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.anchor-item span {
  font-family: var(--heading-font);
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.28;
}

.anchor-item:hover {
  color: var(--surface-color);
  background: var(--dark-color);
}

.anchor-item:hover strong {
  color: var(--primary-light);
}

.stepper {
  position: relative;
  margin-top: 4rem;
}

.stepper::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--primary-color);
  content: "";
}

.step-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 4rem 1fr;
  min-height: 12rem;
  align-items: start;
}

.step-copy {
  max-width: 23rem;
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--dark-color);
}

.step-row:nth-child(odd) .step-copy {
  grid-column: 1;
  justify-self: end;
}

.step-row:nth-child(even) .step-copy {
  grid-column: 3;
}

.step-number {
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  margin: 0 auto;
  place-items: center;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  color: var(--surface-color);
  background: var(--primary-color);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.step-copy p {
  margin-bottom: 0;
  color: var(--muted-color);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 2.2fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--dark-color);
}

.faq-aside p:last-child {
  margin-bottom: 0;
  color: var(--muted-color);
}

.faq-list {
  border-top: 1px dotted var(--dark-color);
}

.faq-item {
  border-bottom: 1px dotted var(--dark-color);
}

.faq-item summary {
  position: relative;
  padding: 1.35rem 3rem 1.35rem 0;
  cursor: pointer;
  font-family: var(--heading-font);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 1.2rem;
  right: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
  content: "+";
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 2rem 1.4rem 0;
  color: var(--muted-color);
}

.faq-answer p {
  margin: 0;
}

.legal-preview-layout {
  border-left: 4px solid var(--primary-color);
}

.surface-contrast h2,
.surface-contrast h3,
.surface-contrast .section-heading {
  color: var(--surface-color);
}

.surface-contrast .section-label,
.surface-contrast .section-intro {
  color: #cfc4b2;
}

.legal-callouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 253, 248, 0.42);
}

.legal-callout {
  min-height: 10rem;
  padding: 1.25rem 1.5rem 1.25rem 0;
  border-right: 1px solid rgba(255, 253, 248, 0.22);
  border-bottom: 1px solid rgba(255, 253, 248, 0.22);
  text-decoration: none;
}

.legal-callout:nth-child(even) {
  padding-left: 1.5rem;
  border-right: 0;
}

.legal-callout small {
  color: var(--primary-light);
  font-variant-numeric: tabular-nums;
}

.legal-callout h3 {
  margin-top: 1rem;
}

.legal-callout p {
  margin-bottom: 0;
  color: #cfc4b2;
  font-size: 0.9rem;
}

.legal-callout:hover h3 {
  color: var(--primary-light);
}

.document-footer {
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 6vw, 6.5rem) 2rem;
  color: var(--surface-color);
  background: #191713;
}

.footer-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 253, 248, 0.24);
}

.footer-lead h2 {
  max-width: 12ch;
  margin-bottom: 0;
  color: var(--surface-color);
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  align-content: start;
}

.footer-directory a {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
  color: #ded4c4;
  text-decoration: none;
}

.footer-directory a:hover {
  color: var(--primary-light);
}

.footer-meta {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  color: #a99f90;
  font-size: 0.78rem;
}

.footer-meta p {
  margin: 0;
}

.inner-main {
  min-height: 70vh;
  padding: clamp(3.5rem, 8vw, 8rem) clamp(2rem, 7vw, 7rem);
  background: var(--surface-color);
}

.inner-header {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(12rem, 1fr);
  gap: 3rem;
  align-items: end;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--dark-color);
}

.inner-header h1 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.inner-summary {
  margin: 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--primary-color);
  color: var(--muted-color);
}

.document-body {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(0, 3fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-top: 3.5rem;
}

.chapter-nav {
  position: sticky;
  top: 2rem;
  align-self: start;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--dark-color);
  list-style: none;
  counter-reset: chapter-link;
}

.chapter-nav li {
  counter-increment: chapter-link;
}

.chapter-nav a {
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.88rem;
  line-height: 1.35;
  text-decoration: none;
}

.chapter-nav a::before {
  color: var(--primary-color);
  content: "0" counter(chapter-link);
}

.document-copy {
  width: min(100%, 48rem);
}

.document-chapter {
  scroll-margin-top: 5rem;
  padding: 0 0 3.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-color);
}

.document-chapter:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.document-chapter h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.document-chapter p,
.document-chapter li {
  color: var(--secondary-color);
}

.document-chapter ul,
.document-chapter ol {
  padding-left: 1.35rem;
}

.document-chapter li + li {
  margin-top: 0.7rem;
}

.note-sheet,
.verification-note {
  margin: 1.5rem 0;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--primary-color);
  background: var(--surface-alt-color);
}

.note-sheet p,
.verification-note p {
  margin: 0;
}

.route-list {
  display: grid;
  gap: 0;
  margin: 1.5rem 0;
  border-top: 1px solid var(--dark-color);
}

.route-link {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
}

.route-link strong {
  color: var(--primary-color);
  font-variant-numeric: tabular-nums;
}

.route-link::after {
  content: "→";
}

.checklist {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 0.7rem 0 0.7rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.checklist li::before {
  position: absolute;
  left: 0;
  color: var(--primary-color);
  content: "◇";
}

.demo-form {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
  padding: 2rem;
  border: 1px solid var(--border-color);
  background: var(--bg-color);
}

.field-group {
  display: grid;
  gap: 0.4rem;
}

.field-group label {
  font-weight: 600;
}

.field-group input,
.field-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-color);
  background: var(--surface-color);
}

.field-group textarea {
  min-height: 9rem;
  resize: vertical;
}

.demo-submit {
  width: fit-content;
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--dark-color);
  border-radius: var(--radius-sm);
  color: var(--surface-color);
  background: var(--dark-color);
  cursor: pointer;
}

.form-status {
  min-height: 1.8rem;
  margin: 0;
  color: var(--primary-color);
  font-weight: 600;
}

.info-stepper {
  margin: 2rem 0;
  padding: 0;
  border-top: 1px solid var(--dark-color);
  list-style: none;
  counter-reset: info-step;
}

.info-stepper li {
  position: relative;
  padding: 1.3rem 0 1.3rem 3.4rem;
  border-bottom: 1px solid var(--border-color);
  counter-increment: info-step;
}

.info-stepper li::before {
  position: absolute;
  left: 0;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  color: var(--primary-color);
  content: counter(info-step);
}

.review-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  margin: 2rem 0 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--dark-color);
  border-bottom: 1px solid var(--dark-color);
}

.review-summary-score {
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.review-summary p {
  margin: 0;
  color: var(--muted-color);
}

.review-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--dark-color);
}

.review-entry {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.review-entry-meta {
  color: var(--muted-color);
  font-size: 0.82rem;
  line-height: 1.55;
}

.review-entry-meta strong {
  display: block;
  color: var(--primary-color);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.review-entry h2 {
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
}

.review-entry p {
  margin: 0;
  color: var(--secondary-color);
}

body.motion-ready .paper-section,
body.motion-ready .inner-main {
  opacity: 0.01;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 620ms ease;
}

body.motion-ready .paper-section.is-visible,
body.motion-ready .inner-main.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  body.motion-ready .paper-section,
  body.motion-ready .inner-main {
    opacity: 1;
    transform: none;
  }
}
