.page-disclaimer {
  --use-card: #ffffff;
  --use-gap: 28px;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  padding: 20px 0 72px;
}

.page-disclaimer .container {
  padding-inline: 16px;
}

@media (min-width: 900px) {
  .page-disclaimer .container {
    padding-inline: 28px;
  }
}

.page-disclaimer__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  margin: 0 0 6px;
}

.page-disclaimer .crumbs a {
  color: var(--steel);
  text-decoration: none;
}

.page-disclaimer .crumbs a:hover,
.page-disclaimer .crumbs a:focus-visible {
  color: var(--turf);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- hero ---------- */
.page-disclaimer__hero {
  position: relative;
  margin-top: 12px;
  padding: 26px 18px 24px;
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(246, 247, 241, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 247, 241, 0.065) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
  color: var(--paper);
}

@media (min-width: 900px) {
  .page-disclaimer__hero {
    padding: 40px 40px 34px;
  }
}

.page-disclaimer__kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-disclaimer__h1 {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 7.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 18em;
  text-wrap: balance;
}

.page-disclaimer__lead {
  margin: 0;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--concrete);
}

@media (min-width: 900px) {
  .page-disclaimer__lead {
    font-size: 16.5px;
  }
}

/* ---------- prebar ---------- */
.prebar {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

@media (min-width: 760px) {
  .prebar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.prebar__item {
  display: block;
  padding: 10px 12px;
  background: rgba(246, 247, 241, 0.07);
  border-left: 3px solid var(--turf-light);
}

.prebar__item:nth-child(2) {
  border-left-color: var(--orange);
}

.prebar__k {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--turf-light);
}

.prebar__item:nth-child(2) .prebar__k {
  color: var(--orange);
}

.prebar__v {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: var(--paper);
}

/* ---------- layout ---------- */
.page-disclaimer__layout {
  margin-top: 34px;
}

@media (min-width: 920px) {
  .page-disclaimer__layout {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }
}

/* ---------- toc ---------- */
.page-disclaimer__toc {
  background: var(--steel);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  padding: 14px;
  margin: 0 0 26px;
  color: var(--paper);
}

@media (min-width: 920px) {
  .page-disclaimer__toc {
    position: sticky;
    top: calc(var(--cmd-h) + 18px);
    margin-bottom: 0;
  }
}

.toc__head {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--turf-light);
}

.toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

@media (min-width: 440px) and (max-width: 919px) {
  .toc__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
}

.toc__list a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 8px 8px 10px;
  border-left: 3px solid transparent;
  color: var(--paper);
  font-size: 13.5px;
  line-height: 1.45;
  text-decoration: none;
  transition: background var(--dur) ease-out, border-color var(--dur) ease-out, color var(--dur) ease-out;
}

.toc__list a:hover,
.toc__list a:focus-visible {
  background: rgba(246, 247, 241, 0.12);
  border-left-color: var(--orange);
  color: #ffffff;
  outline: none;
}

.toc__num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: var(--orange);
}

.toc__label {
  min-width: 0;
}

.toc__foot {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--metal);
}

/* ---------- rule cards ---------- */
.rule-card {
  background: var(--use-card);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  padding: 20px 16px 22px;
  margin-bottom: 22px;
  scroll-margin-top: calc(var(--cmd-h) + 24px);
  transition: box-shadow var(--dur) ease-out;
}

@media (min-width: 920px) {
  .rule-card {
    padding: 26px 28px 28px;
    margin-bottom: var(--use-gap);
  }
}

.rule-card:target {
  box-shadow: 8px 8px 0 var(--orange);
}

.rule-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.rule-card__num {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.rule-card__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 4.8vw, 28px);
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.rule-card p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  max-width: 44em;
}

@media (min-width: 920px) {
  .rule-card p {
    font-size: 16px;
  }
}

.rule-card a {
  color: var(--turf);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.rule-card a:hover,
.rule-card a:focus-visible {
  color: var(--orange-ink);
  outline: none;
}

.rule-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 44em;
}

.rule-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.75;
}

.rule-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--turf-light);
  border: 1px solid var(--turf);
}

.rule-list strong {
  font-weight: 700;
  color: var(--ink);
}

/* ---------- figure ---------- */
.rule-figure {
  margin: 20px 0;
  border: 2px solid var(--ink);
  background: var(--concrete);
  box-shadow: var(--shadow-hard-sm);
  max-width: 44em;
}

.rule-figure__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.rule-figure__cap {
  padding: 10px 12px;
  border-top: 2px solid var(--ink);
  background: var(--paper);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--steel);
}

/* ---------- citation stub ---------- */
.stub {
  position: relative;
  margin: 18px 0 20px;
  padding: 16px 16px 16px 28px;
  max-width: 34em;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
}

.stub::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  border-left: 2px dashed var(--metal);
}

.stub__row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}

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

.stub__k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--metal);
  padding-top: 2px;
}

.stub__v {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  word-break: break-word;
}

.stub__hint {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--steel);
}

/* ---------- help board ---------- */
.board {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 18px 0 16px;
  padding: 16px;
  border: 2px dashed var(--metal);
  background-color: #ffffff;
  background-image:
    linear-gradient(var(--concrete) 1px, transparent 1px),
    linear-gradient(90deg, var(--concrete) 1px, transparent 1px);
  background-size: 22px 22px;
}

.board__pin {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--turf);
  border: 2px solid var(--ink);
}

.board__text {
  flex: 1 1 240px;
  margin: 0;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  line-height: 1.7;
  max-width: none;
}

.board__text strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--orange-ink);
}

.board__link {
  flex: 0 0 auto;
  display: inline-block;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--orange);
  transition: transform var(--dur) ease-out, box-shadow var(--dur) ease-out, background var(--dur) ease-out, color var(--dur) ease-out;
}

.board__link:hover,
.board__link:focus-visible {
  background: var(--orange);
  color: var(--ink);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
  outline: none;
}

/* ---------- note ---------- */
.page-disclaimer .note {
  margin: 0 0 14px;
  padding: 10px 12px;
  max-width: 44em;
  border-left: 3px solid var(--orange);
  background: var(--concrete);
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

/* ---------- motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-disclaimer * {
    transition: none !important;
    transform: none !important;
  }
}

@media print {
  .page-disclaimer {
    background: #ffffff;
    padding: 0;
  }

  .page-disclaimer__crumbs,
  .page-disclaimer__toc,
  .board__link {
    display: none;
  }

  .page-disclaimer__hero {
    background: #ffffff;
    background-image: none;
    color: #000000;
    border-color: #000000;
    box-shadow: none;
  }

  .page-disclaimer__h1,
  .page-disclaimer__lead,
  .prebar__v,
  .prebar__k {
    color: #000000;
  }

  .prebar__item {
    background: none;
    border-left-color: #000000;
  }

  .page-disclaimer__layout {
    display: block;
  }

  .rule-card,
  .stub,
  .rule-figure {
    box-shadow: none;
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
<<<END>>>
