/* ==========================================================================
   Justice Experts — landing
   1. Tokens   2. Reset & base   3. Layout   4. Components   5. Sections
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
  --color-bg: #081619;
  --color-bg-alt: #0c1f24;
  --color-surface: #071417;
  --color-surface-2: #0b1c20;
  --color-surface-3: #131f23;
  --color-gold: #cba672;
  --color-gold-dark: #b8945a;
  --color-text: #ffffff;
  --color-muted: #b4b4b4;
  --color-line: rgb(255 255 255 / 0.12);
  --color-notice-bg: #f5f3ef;
  --color-notice-line: #ddd7ce;
  --color-notice-text: #343434;

  --font-base: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1140px;
  --gutter: 1rem;
  --header-h: 72px;
  --section-space: clamp(60px, 8vw, 100px);
  --radius: 12px;
  --transition: 0.3s ease;
}

/* 2. Reset & base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

input,
select,
textarea,
button {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

h1,
h2,
h3 {
  line-height: 1.25;
  font-weight: 500;
  overflow-wrap: break-word;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--color-gold);
  color: var(--color-bg);
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* 3. Layout
   ========================================================================== */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* 4. Components
   ========================================================================== */

/* Eyebrow & titles */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  color: var(--color-gold);
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  background: var(--color-gold);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.eyebrow--plain::before {
  content: none;
}

.section-title {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem);
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head .text-muted {
  margin-top: 1.5rem;
}

.section-head--center {
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.text-muted {
  color: var(--color-muted);
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 56px;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  border: 0;
  background: var(--color-gold);
  color: var(--color-bg-alt);
  font-weight: 600;
  line-height: 1.2;
  transition: background-color var(--transition);
}

.btn:hover {
  background: var(--color-gold-dark);
}

.btn__icon {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  background: var(--color-bg-alt);
  color: var(--color-text);
  transition: transform var(--transition);
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

.btn--block {
  width: 100%;
  min-height: 60px;
  padding-inline: 1.5rem;
  text-transform: uppercase;
}

/* Notice strip */
.notice {
  padding-block: 1.125rem;
  border-block: 1px solid var(--color-notice-line);
  background: var(--color-notice-bg);
  color: var(--color-notice-text);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Inline disclaimer */
.disclaimer {
  margin-block: 1rem;
  padding: 0.75rem 0.875rem;
  border-left: 3px solid #b49a75;
  background: #faf7f1;
  color: #4b3b2b;
  font-size: 0.875rem;
  line-height: 1.65;
}

/* Checklist */
.checklist {
  display: grid;
  gap: 0.5rem;
  margin-block: 1.5rem 2rem;
  font-size: 0.9375rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checklist svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.35em;
  color: var(--color-gold);
}

/* 5. Sections
   ========================================================================== */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.site-header__logo img {
  width: 140px;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
}

.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  transition: transform var(--transition), background-color var(--transition);
}

.menu-toggle__bar {
  position: relative;
}

.menu-toggle__bar::before,
.menu-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bar::before {
  top: -8px;
}

.menu-toggle__bar::after {
  top: 8px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  padding: 1rem var(--gutter) 1.5rem;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-line);
}

.site-nav.is-open {
  display: block;
}

.site-nav__list a {
  display: block;
  padding-block: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
}

.site-nav__list a:hover {
  color: var(--color-gold);
}

.site-nav__cta {
  margin-top: 1rem;
}

@media (min-width: 992px) {
  :root {
    --header-h: 96px;
  }

  .site-header__logo img {
    width: auto;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0;
    border: 0;
    background: none;
  }

  .site-nav__list {
    display: flex;
    gap: 1.5rem;
  }

  .site-nav__cta {
    margin-top: 0;
  }
}

/* Hero */
.hero {
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}

.hero__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero__title {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
}

.hero__text {
  max-width: 480px;
  margin-bottom: 2.5rem;
  color: var(--color-muted);
  line-height: 1.9;
}

.hero__media {
  position: relative;
  max-width: 450px;
  margin-inline: auto;
  isolation: isolate;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0.04), rgb(203 166 114 / 0.18));
}

@media (min-width: 992px) {
  .hero__inner {
    grid-template-columns: 7fr 5fr;
  }

  .hero__media {
    margin-inline: 0;
    max-width: none;
  }
}

/* Marquee */
.marquee {
  overflow: hidden;
  padding-block: 1.75rem;
  background: var(--color-gold);
  color: var(--color-bg);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee__list {
  display: flex;
}

.marquee__list li {
  display: flex;
  align-items: center;
  font-size: clamp(2rem, 1rem + 4vw, 4rem);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__list li::after {
  content: "";
  width: 0.7em;
  height: 0.7em;
  margin-inline: 0.5em;
  background: url("../img/star.webp") center / contain no-repeat;
  animation: spin 0.9s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track,
  .marquee__list li::after {
    animation: none;
  }
}

/* About */
.about {
  background: var(--color-bg) url("../img/bg-about.webp") center / cover no-repeat;
}

.about__media {
  position: relative;
  max-width: 605px;
}

@media (min-width: 768px) {
  .about__media {
    padding-right: 4.5rem;
  }

  .about__media::before,
  .about__media::after {
    content: "";
    position: absolute;
    width: 9px;
  }

  .about__media::before {
    top: 0.5rem;
    right: 2rem;
    height: 188px;
    background: var(--color-gold);
  }

  .about__media::after {
    top: 3.5rem;
    right: 0.75rem;
    height: 98px;
    background: var(--color-text);
  }
}

.about__content .section-title {
  margin-bottom: 1.75rem;
  color: #c9c9c9;
}

.features {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 576px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

.feature {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
}

.feature__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 50px;
  height: 50px;
  background: var(--color-gold);
}

/* Service cards */
.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.card {
  padding: 1.25rem 1.25rem 1.5rem;
  background: var(--color-surface);
}

.card__img {
  width: 100%;
  aspect-ratio: 330 / 220;
  object-fit: cover;
}

.card__title {
  margin-block: 2rem 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.card__text {
  color: var(--color-muted);
}

/* Testimonials */
.slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slider__track::-webkit-scrollbar {
  display: none;
}

.testimonial {
  flex: 0 0 100%;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--color-surface);
  scroll-snap-align: start;
}

.testimonial__label {
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.testimonial__quote {
  color: var(--color-muted);
  font-size: 1.0625rem;
  font-style: italic;
}

.testimonial figcaption {
  margin-top: 2rem;
}

.testimonial__name {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
}

.testimonial__role {
  color: var(--color-muted);
}

.slider__controls {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.slider__btn {
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid var(--color-gold);
  background: none;
  color: var(--color-gold);
  transition: background-color var(--transition), color var(--transition);
}

.slider__btn svg {
  width: 100%;
  height: 100%;
}

.slider__btn:hover {
  background: var(--color-gold);
  color: var(--color-bg);
}

.testimonials__media img {
  width: 100%;
}

/* Process */
.process {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.process .btn {
  margin-top: 0.5rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 2.5rem;
}

.step {
  position: relative;
  padding: 2rem 1.75rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.06);
  line-height: 1.6;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--color-gold);
  color: #000;
  font-size: 1.5rem;
  font-weight: 700;
}

.step__title {
  margin-bottom: 1.5rem;
  color: var(--color-gold);
  font-size: 1.25rem;
  font-weight: 600;
}

@media (min-width: 576px) {
  .step {
    margin-left: 90px;
  }

  .step::before {
    position: absolute;
    top: 0;
    left: -90px;
    margin: 0;
  }

  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 60px;
    bottom: -2.5rem;
    left: -61px;
    width: 2px;
    background: var(--color-gold);
    opacity: 0.6;
  }
}

/* FAQ */
.faq {
  background: linear-gradient(to bottom, #071316, var(--color-bg));
}

.faq__grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.faq__col {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .faq__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.faq__item {
  background: var(--color-surface-2);
  border-radius: 6px;
}

.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}

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

.faq__item summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform var(--transition);
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item p {
  padding: 0 1.75rem 1.75rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

/* Contact form */
.contact-form {
  padding: clamp(1.25rem, 3vw, 1.875rem);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: var(--color-surface-3);
}

.contact-form__title {
  margin-block: 1.5rem 2rem;
  color: var(--color-gold);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

.form-grid {
  display: grid;
  gap: 1.25rem 1.5rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field--full {
    grid-column: 1 / -1;
  }
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 60px;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--color-surface);
  transition: border-color var(--transition);
}

.field textarea {
  resize: vertical;
}

.field select {
  appearance: none;
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23b4b4b4' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  color: var(--color-muted);
}

.field select option {
  background: var(--color-surface);
  color: var(--color-text);
}

.field ::placeholder {
  color: var(--color-muted);
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-gold);
  outline: none;
}

.consent {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  cursor: pointer;
}

.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  accent-color: var(--color-gold);
}

.consent a {
  text-decoration: underline;
}

.consent a:hover {
  color: var(--color-gold);
}

.consent__required {
  color: #e05a5a;
}

/* Phone field (intl-tel-input from form_assets) */
.field .iti {
  display: block;
  width: 100%;
  --iti-dialcode-color: var(--color-text);
  --iti-arrow-color: var(--color-muted);
  --iti-dropdown-bg: var(--color-surface);
  --iti-hover-color: rgb(255 255 255 / 0.06);
  --iti-border-color: var(--color-line);
}

.field .iti__selected-dial-code {
  color: var(--color-text);
}

/* Validation states (form_assets/js/form.js) */
.field input.error {
  border-color: #e05a5a !important;
}

.field input.correct {
  border-color: var(--color-gold) !important;
}

.contact-form .validation-error {
  margin-top: 0.375rem;
  color: #e05a5a;
  font-size: 0.8125rem;
}

.contact-form .btn.mc--loading {
  min-height: 3.5rem;
}

.contact-form .btn.mc--loading::before {
  border-color: rgb(8 22 25 / 0.3);
  border-top-color: var(--color-bg);
}

/* Footer */
.site-footer {
  padding-block: 6rem 1.875rem;
  background: var(--color-bg) url("../img/bg-footer.webp") center / cover no-repeat;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 600px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .site-footer__grid {
    grid-template-columns: 0.8fr 1fr 1.1fr 1.1fr;
  }
}

.site-footer__logo {
  margin-bottom: 1.5rem;
}

.site-footer__title {
  margin-bottom: 1.5rem;
  font-size: 1.625rem;
}

.link-list {
  display: grid;
  gap: 0.5rem;
  color: var(--color-muted);
}

.link-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.link-list a::before {
  content: "»";
  color: var(--color-gold);
}

.link-list a:hover {
  color: var(--color-gold);
}

.contact-list {
  display: grid;
  gap: 0.5rem;
  color: var(--color-muted);
  font-style: normal;
}

.contact-list p {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.contact-list svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 0.45em;
  color: var(--color-gold);
}

.contact-list a:hover {
  color: var(--color-gold);
}

.legal {
  margin-top: 3rem;
  padding-block: 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.25);
  color: #e8e6e2;
  font-size: 0.875rem;
  line-height: 1.75;
}

.legal__title {
  margin-bottom: 1.5rem;
  color: var(--color-text);
  font-size: 1.375rem;
}

.legal p + p {
  margin-top: 0.875rem;
}

.site-footer__copy {
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  text-align: center;
}

/* Back to top */
.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 0.1);
  color: var(--color-gold);
}

.to-top > svg {
  grid-area: 1 / 1;
}

.to-top__icon {
  width: 20px;
  height: 20px;
}

.to-top__ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.to-top__ring circle {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 4;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

/* Progressive enhancement: ring fills and button fades in on scroll, no JS */
@supports (animation-timeline: scroll()) {
  .to-top {
    animation: to-top-fade linear both;
    animation-timeline: scroll(root);
    animation-range: 0 250px;
  }

  .to-top__ring circle {
    animation: to-top-ring linear both;
    animation-timeline: scroll(root);
  }

  @keyframes to-top-fade {
    from {
      opacity: 0;
      visibility: hidden;
    }
    to {
      opacity: 1;
      visibility: visible;
    }
  }

  @keyframes to-top-ring {
    from {
      stroke-dashoffset: 1;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
}

/* Legal pages
   ========================================================================== */
.page-hero {
  padding-block: clamp(3rem, 7vw, 5rem);
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-line);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--color-gold);
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

.page-hero__title {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
}

.page-hero__meta {
  margin-top: 0.75rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.prose {
  max-width: 820px;
  color: #d6d6d6;
  line-height: 1.8;
}

.prose > * + * {
  margin-top: 1rem;
}

.prose h2 {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-text);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
}

.prose h3 {
  margin-top: 2rem;
  color: var(--color-gold);
  font-size: 1.1875rem;
  font-weight: 600;
}

.prose ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.prose li::marker {
  color: var(--color-gold);
}

.prose a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--color-text);
}

.prose strong {
  color: var(--color-text);
}

.prose .lead {
  color: var(--color-text);
  font-size: 1.0625rem;
}

.table-wrap {
  overflow-x: auto;
}

.prose table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.prose th,
.prose td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--color-surface-3);
  color: var(--color-text);
  font-weight: 600;
}

.toc {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface-3);
}

.toc__title {
  margin-bottom: 0.75rem;
  color: var(--color-text);
  font-weight: 600;
}

.prose .toc ol {
  display: grid;
  gap: 0.25rem;
  padding-left: 1.25rem;
  list-style: decimal;
}

.prose .toc a {
  color: #d6d6d6;
  text-decoration: none;
}

.prose .toc a:hover {
  color: var(--color-gold);
}

.callout {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--color-gold);
  background: rgb(203 166 114 / 0.08);
}

.link-list a[aria-current="page"] {
  color: var(--color-gold);
}
