@charset "UTF-8";
@font-face {
  font-family: "RHT Sans";
  src: url("/assets/fonts/archivo-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "RHT Sans";
  src: url("/assets/fonts/archivo-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "RHT Sans";
  src: url("/assets/fonts/archivo-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "RHT Sans";
  src: url("/assets/fonts/archivo-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "RHT Mono";
  src: url("/assets/fonts/spline-sans-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "RHT Mono";
  src: url("/assets/fonts/spline-sans-mono-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --rht-paper: #ffffff;
  --rht-ink: #000000;
  --rht-ink-soft: #4b4b4b;
  --rht-hairline: #d8d8d8;
  --rht-field: #f4f4f4;
  --rht-blue: #0000aa;
  --rht-green: #00aa00;
  --rht-cyan: #00aaaa;
  --rht-magenta: #aa00aa;
  --rht-font-display: "RHT Mono", "Spline Sans Mono", ui-monospace, monospace;
  --rht-font-body: "RHT Sans", "Archivo", system-ui, sans-serif;
  --rht-container: 79rem;
  --rht-measure: 48.75rem;
  --rht-gutter: 1.5rem;
  --rht-rule: 2px;
  --rht-rule-thick: 4px;
  --rht-ease: cubic-bezier(0.22, 0.46, 0.32, 1);
  --rht-dur-1: 120ms;
  --rht-dur-2: 380ms;
  --rht-dur-3: 640ms;
  --rht-stagger-step: 55ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light;
  }
}
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scrollbar-color: var(--rht-blue) var(--rht-field);
  scrollbar-width: thin;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  accent-color: var(--rht-blue);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  font-family: var(--rht-font-body);
  color: var(--rht-ink);
  background: var(--rht-paper);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--rht-magenta);
  color: var(--rht-paper);
}

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

a {
  color: var(--rht-blue);
  text-decoration-line: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1.5px;
  text-decoration-color: color-mix(in oklab, currentColor 40%, transparent);
}

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

ul:not([class]) li::marker,
.rht-list li::marker {
  color: var(--rht-blue);
  content: "▸ ";
}

.rht-mono {
  font-family: var(--rht-font-display);
}

h1, h2, h3, h4 {
  font-family: var(--rht-font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--rht-ink);
}

h1 {
  font-size: clamp(2.1rem, 4vw + 1rem, 4rem);
}

h2 {
  font-size: clamp(1.5rem, 2.4vw + 1rem, 2.4rem);
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.1rem, 1.2vw + 1rem, 1.4rem);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.2rem;
  max-width: var(--rht-measure);
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.rht-article p, .rht-article li {
  max-width: var(--rht-measure);
}

.rht-article li {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.rht-toc li,
.rht-related-list li,
.rht-card__desc,
.rht-tool__note {
  text-align: left;
  hyphens: manual;
}

/* one right edge per prose section: headings, rules, tables and callout
   boxes align to the same measure as body text. Card grids, the calculator,
   chip rows and images are deliberately excluded — those opt in to the full
   column width via their own component class instead of an accident of
   "nothing constrains it". */
.rht-article h2,
.rht-article h3,
.rht-article h4,
.rht-article hr,
.rht-article table,
.rht-article .rht-note {
  max-width: var(--rht-measure);
}

hr {
  border: 0;
  height: 6px;
  margin: 3rem 0;
  background-image: linear-gradient(90deg, var(--rht-ink) 0 3px, transparent 3px 9px);
  background-size: 9px 3px;
  background-position: left center;
  background-repeat: repeat-x;
  opacity: 0.85;
}

.rht-frame {
  border: var(--rht-rule) solid var(--rht-ink);
  box-shadow: 6px 6px 0 var(--rht-green);
  display: inline-block;
}

.rht-frame > img,
.rht-frame > picture {
  display: block;
  line-height: 0;
}

.rht-frame.rht-feature {
  display: block;
  max-width: 100%;
}

.rht-feature__caption {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: var(--rht-rule) solid var(--rht-ink);
  background: var(--rht-field);
  padding: 0.6rem 0.75rem 0.5rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

.rht-feature__fig {
  flex: 0 0 auto;
  font-family: var(--rht-font-display);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--rht-paper);
  background: var(--rht-blue);
  padding: 0.15rem 0.45rem;
}

.rht-feature__text {
  flex: 1 1 16rem;
  color: var(--rht-ink);
}

.rht-feature__meta {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.5rem;
  border-top: 1px dashed var(--rht-hairline);
  padding-top: 0.4rem;
  font-family: var(--rht-font-display);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--rht-ink-soft);
}

.rht-feature__meta strong {
  color: var(--rht-ink);
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
}

th, td {
  border: 1px solid var(--rht-ink);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

thead th {
  font-family: var(--rht-font-display);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  background: var(--rht-ink);
  color: var(--rht-paper);
}

tbody tr:nth-child(even) {
  background: var(--rht-field);
}

.rht-container {
  width: 100%;
  max-width: var(--rht-container);
  margin-inline: auto;
  padding-inline: var(--rht-gutter);
}

.rht-header {
  border-bottom: var(--rht-rule-thick) solid var(--rht-ink);
  padding-block: 1.25rem;
}

.rht-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.rht-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--rht-ink);
}

.rht-brand__mark {
  width: 3.1rem;
  height: 3.1rem;
  border: var(--rht-rule) solid var(--rht-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  flex-shrink: 0;
}

.rht-brand__name {
  font-family: var(--rht-font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: 1.35rem;
  line-height: 1;
}

.rht-brand__tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rht-ink-soft);
  margin-top: 0.2rem;
}

.rht-nav-toggle {
  display: none;
  border: var(--rht-rule) solid var(--rht-ink);
  background: var(--rht-paper);
  padding: 0.5rem 0.7rem;
  font-family: var(--rht-font-display);
  cursor: pointer;
}

.rht-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
}

.rht-nav a {
  font-family: var(--rht-font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--rht-ink);
  padding-bottom: 0.15rem;
}

@media (max-width: 860px) {
  .rht-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
  .rht-nav {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rht-hairline);
    margin-top: 1rem;
  }
  .rht-nav[data-open=false] {
    display: none;
  }
}
.rht-main {
  padding-block: 2.5rem 4rem;
}

.rht-breadcrumb {
  font-family: var(--rht-font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--rht-ink-soft);
  margin-bottom: 1.5rem;
}

.rht-breadcrumb a {
  color: var(--rht-ink-soft);
  text-decoration-color: transparent;
}

.rht-eyebrow {
  display: inline-block;
  font-family: var(--rht-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--rht-paper);
  background: var(--rht-magenta);
  padding: 0.2rem 0.6rem;
  margin-bottom: 1rem;
}

.rht-article {
  max-width: 74rem;
}

.rht-article__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--rht-font-display);
  font-size: 0.75rem;
  color: var(--rht-ink-soft);
  text-transform: uppercase;
  border-top: 1px solid var(--rht-hairline);
  border-bottom: 1px solid var(--rht-hairline);
  padding-block: 0.6rem;
  margin-block: 1.25rem 2rem;
}

.rht-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(12, 1fr);
}

.rht-grid > .rht-col-8 {
  grid-column: span 12;
}

.rht-grid > .rht-col-4 {
  grid-column: span 12;
}

@media (min-width: 960px) {
  .rht-grid > .rht-col-8 {
    grid-column: span 8;
  }
  .rht-grid > .rht-col-4 {
    grid-column: span 4;
  }
}
/* homepage hero: text and image get distinct, deliberate roles instead of
   the image being dropped in after the copy as a decoration */
.rht-hero {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.rht-hero__text > *:first-child {
  margin-top: 0;
}

@media (min-width: 860px) {
  .rht-hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
  .rht-hero__media {
    margin-top: 0.5rem;
  }
}

/* the hero image alone runs shorter than the two-paragraph intro beside it,
   leaving bare space under it on wide screens; a real scope summary fills
   that space instead of stretching the image or leaving it blank */
.rht-hero__stats {
  border-top: var(--rht-rule) solid var(--rht-ink);
  background: var(--rht-field);
}

.rht-hero__stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
}

.rht-hero__stat + .rht-hero__stat {
  border-top: 1px solid var(--rht-hairline);
}

.rht-hero__stat-value {
  font-family: var(--rht-font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--rht-ink);
}

.rht-hero__stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--rht-ink-soft);
  text-align: right;
}

/* a single-paragraph section reads as thin filler on wide screens if the
   text alone caps out well short of the container; pairing it with a real
   card (same one used in the Top Guides grid) closes that gap with content
   instead of stretching the prose measure or centering it */
.rht-split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  margin-top: 3rem;
}

.rht-split__text > *:first-child {
  margin-top: 0;
}

@media (min-width: 860px) {
  .rht-split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}

.rht-sidebar {
  border-left: 3px double var(--rht-ink);
  padding-left: 2rem;
}

@media (max-width: 959px) {
  .rht-sidebar {
    border-left: 0;
    border-top: 3px double var(--rht-ink);
    padding-left: 0;
    padding-top: 2rem;
    margin-top: 1rem;
  }
}

/* article column runs far longer than the sidebar's TOC + related-guides
   content, so an unpinned sidebar leaves a tall blank gap below it as the
   reader scrolls; sticking it keeps that column filled instead */
@media (min-width: 960px) {
  .rht-sidebar {
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
  }
}
.rht-footer {
  border-top: var(--rht-rule-thick) solid var(--rht-ink);
  background: var(--rht-field);
  padding-block: 3rem;
  margin-top: 4rem;
}

.rht-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
}

.rht-footer__brand {
  max-width: 26rem;
}

.rht-footer__brand p {
  font-size: 0.75rem;
  color: var(--rht-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: none;
}

.rht-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(9rem, auto));
  gap: 2rem 3rem;
}

@media (min-width: 640px) {
  .rht-footer__cols {
    grid-template-columns: repeat(3, minmax(9rem, auto));
  }
}
.rht-footer__col h5 {
  font-family: var(--rht-font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rht-ink);
  padding-bottom: 0.3rem;
  margin-bottom: 0.6rem;
}

.rht-footer__col nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rht-footer__col a {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rht-ink);
  text-decoration-color: transparent;
}

.rht-footer__legal {
  border-top: 1px solid var(--rht-hairline);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.72rem;
  color: var(--rht-ink-soft);
  text-transform: uppercase;
}

.rht-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--rht-font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--rht-ink);
  background: var(--rht-paper);
  border: var(--rht-rule) solid var(--rht-ink);
  padding: 0.65rem 1.1rem;
  cursor: pointer;
}

.rht-btn--solid {
  background: var(--rht-ink);
  color: var(--rht-paper);
}

.rht-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rht-card {
  border: var(--rht-rule) solid var(--rht-ink);
  padding: 1.5rem;
  background: var(--rht-paper);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.rht-card__tag {
  font-family: var(--rht-font-display);
  font-size: 0.68rem;
  color: var(--rht-blue);
  text-transform: uppercase;
}

.rht-card__title {
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: normal;
  margin: 0;
}

.rht-card__title a {
  color: var(--rht-ink);
  text-decoration-color: transparent;
}

.rht-card__desc {
  font-size: 0.85rem;
  color: var(--rht-ink-soft);
  max-width: none;
  margin: 0;
}

.rht-card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
}

.rht-entry-grid {
  display: grid;
  border: var(--rht-rule) solid var(--rht-ink);
}

@media (min-width: 720px) {
  .rht-entry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .rht-entry-grid > * + * {
    border-left: var(--rht-rule) solid var(--rht-ink);
  }
}
.rht-entry {
  padding: 1.5rem;
  border-top: var(--rht-rule) solid var(--rht-ink);
}

.rht-entry:first-child {
  border-top: 0;
}

@media (min-width: 720px) {
  .rht-entry {
    border-top: 0;
  }
}
.rht-entry__id {
  font-family: var(--rht-font-display);
  font-size: 0.68rem;
  color: var(--rht-magenta);
  display: block;
  margin-bottom: 0.5rem;
}

.rht-note {
  position: relative;
  border: var(--rht-rule) solid var(--rht-ink);
  background: var(--rht-paper);
  padding: 1.5rem 1.5rem 1.25rem;
  margin: 2rem 0;
}

.rht-note__tab {
  position: absolute;
  top: -0.85rem;
  left: 1rem;
  font-family: var(--rht-font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--rht-paper);
  background: var(--rht-ink);
  padding: 0.2rem 0.6rem;
}

.rht-note[data-kind=spec] .rht-note__tab {
  background: var(--rht-blue);
}

.rht-note[data-kind=warning] .rht-note__tab {
  background: var(--rht-magenta);
}

.rht-note[data-kind=tip] .rht-note__tab {
  background: var(--rht-green);
}

.rht-note p:last-child {
  margin-bottom: 0;
}

.rht-faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 760px) {
  .rht-faq {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.5rem;
  }
}

.rht-faq details {
  border: var(--rht-rule) solid var(--rht-ink);
  padding: 1rem 1.15rem;
  margin: 0;
}

.rht-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

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

.rht-faq summary h3 {
  font-family: var(--rht-font-body);
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1rem;
  margin: 0;
}

.rht-faq [itemprop=text] {
  margin-top: 0.75rem;
  padding-left: 2.15rem;
  color: var(--rht-ink-soft);
}

.rht-faq [itemprop=text] p:last-child {
  margin-bottom: 0;
}

.rht-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-block: 1rem 2rem;
}

.rht-chip {
  font-family: var(--rht-font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid var(--rht-ink);
  padding: 0.3rem 0.65rem;
  text-decoration: none;
  color: var(--rht-ink);
}

/* rhythm break: the calculator is the strongest thing on the homepage, so its
   section gets a distinct band instead of reading as one more heading ->
   paragraph -> grid block in an otherwise identical row of sections */
.rht-tool-band {
  background: var(--rht-field);
  border-top: var(--rht-rule-thick) solid var(--rht-ink);
  border-bottom: var(--rht-rule-thick) solid var(--rht-ink);
  margin-inline: calc(var(--rht-gutter) * -1);
  margin-block: 3rem;
  padding: 2.5rem var(--rht-gutter) 2.75rem;
}

.rht-tool-band > *:first-child {
  margin-top: 0;
}

.rht-tool {
  border: var(--rht-rule) solid var(--rht-ink);
  margin: 2rem 0;
}

.rht-tool__head {
  background: var(--rht-green);
  color: var(--rht-paper);
  font-family: var(--rht-font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
}

.rht-tool__body {
  padding: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .rht-tool__body {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.rht-tool__field {
  margin-bottom: 1.1rem;
}

.rht-tool__field:last-child {
  margin-bottom: 0;
}

.rht-tool__label {
  display: block;
  font-family: var(--rht-font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.rht-seg {
  display: flex;
  gap: 0.4rem;
}

.rht-seg button {
  flex: 1;
  padding: 0.5rem 0;
  border: var(--rht-rule) solid var(--rht-ink);
  background: var(--rht-paper);
  font-family: var(--rht-font-display);
  font-size: 0.8rem;
  cursor: pointer;
}

.rht-seg button[aria-pressed=true] {
  background: var(--rht-ink);
  color: var(--rht-paper);
}

.rht-tool input[type=number],
.rht-tool select {
  width: 100%;
  border: var(--rht-rule) solid var(--rht-ink);
  padding: 0.55rem 0.7rem;
  font-family: var(--rht-font-display);
  font-weight: 700;
  font-size: 1rem;
  background: var(--rht-paper);
  color: var(--rht-ink);
}

.rht-tool__readout {
  border-top: var(--rht-rule) solid var(--rht-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  gap: 0.5rem;
}

.rht-tool__readout[hidden] {
  display: none;
}

@media (min-width: 720px) {
  .rht-tool__readout {
    border-top: 0;
    border-left: var(--rht-rule) solid var(--rht-ink);
  }
}
.rht-tool__readout-label {
  font-family: var(--rht-font-display);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--rht-ink-soft);
}

.rht-tool__value {
  font-family: var(--rht-font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.rht-tool__unit {
  font-family: var(--rht-font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--rht-ink-soft);
}

.rht-tool__suggestion {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--rht-font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.rht-tool__suggestion strong {
  background: var(--rht-blue);
  color: var(--rht-paper);
  padding: 0.15rem 0.5rem;
}

.rht-tool__note {
  font-size: 0.75rem;
  color: var(--rht-ink-soft);
  padding: 0 1.5rem 1.25rem;
  max-width: none;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rht-reveal {
      animation: rht-materialize linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 25%;
    }
    .rht-reveal:nth-child(2) {
      animation-delay: calc(var(--rht-stagger-step) * 1);
    }
    .rht-reveal:nth-child(3) {
      animation-delay: calc(var(--rht-stagger-step) * 2);
    }
    .rht-reveal:nth-child(4) {
      animation-delay: calc(var(--rht-stagger-step) * 3);
    }
  }
}
@keyframes rht-materialize {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  25% {
    clip-path: inset(0 74% 0 0);
  }
  50% {
    clip-path: inset(0 50% 0 0);
  }
  75% {
    clip-path: inset(0 25% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}
.rht-article a,
.rht-faq a,
.rht-sidebar a {
  text-decoration: none;
  background-image: linear-gradient(var(--rht-cyan) 0 100%);
  background-repeat: no-repeat;
  background-size: 0% 0.4em;
  background-position: 0 90%;
}

@media (prefers-reduced-motion: no-preference) {
  .rht-article a,
  .rht-faq a,
  .rht-sidebar a {
    transition: background-size var(--rht-dur-2) var(--rht-ease);
  }
}
.rht-article a:hover,
.rht-article a:focus-visible,
.rht-faq a:hover,
.rht-faq a:focus-visible,
.rht-sidebar a:hover,
.rht-sidebar a:focus-visible {
  background-size: 100% 0.4em;
}

.rht-sidebar {
  padding-top: 0.25rem;
}

.rht-sidebar h2 {
  font-family: var(--rht-font-display);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--rht-ink);
  padding-bottom: 0.3rem;
  margin: 0 0 0.85rem;
}

.rht-toc {
  margin-bottom: 2.5rem;
}

.rht-toc ol {
  list-style: none;
  counter-reset: toc;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.rht-toc li {
  counter-increment: toc;
  display: flex;
  gap: 0.6rem;
}

.rht-toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--rht-font-mono, var(--rht-font-display));
  font-size: 0.72rem;
  color: var(--rht-ink-soft);
  flex-shrink: 0;
  padding-top: 0.1rem;
}

.rht-toc a,
.rht-related a {
  font-size: 0.85rem;
  line-height: 1.35;
}

.rht-related ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rht-btn, .rht-card, .rht-entry, .rht-chip {
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: no-preference) {
  .rht-btn, .rht-card, .rht-entry, .rht-chip {
    transition: transform var(--rht-dur-1) var(--rht-ease), box-shadow var(--rht-dur-1) var(--rht-ease);
  }
}
.rht-btn:hover, .rht-card:hover, .rht-entry:hover, .rht-chip:hover {
  transform: translate(-3px, -3px);
  box-shadow: 4px 4px 0 var(--rht-blue);
}

.rht-btn:active, .rht-card:active, .rht-entry:active, .rht-chip:active {
  transform: translate(0, 0);
  box-shadow: none;
}

.rht-faq summary::before {
  content: "";
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 6 L90 28 L90 72 L50 94 L10 72 L10 28 Z' fill='none' stroke='%23000' stroke-width='8' stroke-linejoin='round'/%3E%3Ccircle cx='50' cy='50' r='10' fill='%23000'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (prefers-reduced-motion: no-preference) {
  .rht-faq summary::before {
    transition: transform var(--rht-dur-2) var(--rht-ease);
  }
}
.rht-faq details[open] summary::before {
  transform: rotate(60deg);
}

.rht-steps {
  list-style: none;
  padding-left: 0;
  counter-reset: rht-via;
}

.rht-steps > li {
  counter-increment: rht-via;
  position: relative;
  padding-left: 2.9rem;
  margin-bottom: 1.1rem;
  min-height: 1.9rem;
}

.rht-steps > li::before {
  content: counter(rht-via);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 1.5px solid var(--rht-ink);
  background-color: var(--rht-field);
  background-image: radial-gradient(circle, transparent 0 55%, var(--rht-ink) 56% 58%, transparent 59%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rht-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rht-blue);
}
