/*
  Relay Hub: components
  Built only from tokens.css. Load tokens.css first.
*/

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

.rh {
  margin: 0;
  background: var(--rh-void);
  color: var(--rh-mute);
  font-family: var(--rh-font-sans);
  font-size: var(--rh-text-body);
  font-weight: var(--rh-weight-regular);
  line-height: var(--rh-leading-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.rh a { color: inherit; }
.rh img, .rh svg { display: block; max-width: 100%; }
.rh ::selection { background: var(--rh-violet); color: var(--rh-chalk); }
.rh :focus-visible { outline: none; box-shadow: var(--rh-focus); }

/* ---------- Layout ---------- */

.rh-container {
  width: 100%;
  max-width: calc(var(--rh-container) + var(--rh-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--rh-gutter);
}
.rh-narrow {
  width: 100%;
  max-width: calc(var(--rh-narrow) + var(--rh-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--rh-gutter);
}
.rh-section { padding: var(--rh-space-9) 0; }
.rh-section--tight { padding: var(--rh-space-8) 0; }
.rh-center { text-align: center; }
.rh-rule { border: 0; border-top: var(--rh-border); margin: 0; }

/* ---------- Type ---------- */

.rh-display, .rh-h1, .rh-h2, .rh-h3 {
  margin: 0;
  color: var(--rh-chalk);
  font-weight: var(--rh-weight-bold);
  letter-spacing: var(--rh-tracking-head);
  line-height: var(--rh-leading-tight);
}
.rh-display { font-size: var(--rh-text-display); }
.rh-h1 { font-size: var(--rh-text-h1); }
.rh-h2 { font-size: var(--rh-text-h2); line-height: 1.12; }
.rh-h3 {
  font-size: var(--rh-text-h3);
  font-weight: var(--rh-weight-semi);
  letter-spacing: -0.01em;
  line-height: var(--rh-leading-snug);
}

/* The pulse dot: wrap a headline's final period */
.rh-dot { color: var(--rh-pulse); }

.rh-lead {
  margin: 0;
  font-size: var(--rh-text-lead);
  line-height: 1.6;
  color: var(--rh-mute);
  max-width: 600px;
}
.rh-center .rh-lead { margin-left: auto; margin-right: auto; }
.rh-small { font-size: var(--rh-text-small); }
.rh-dim { color: var(--rh-dim); }
.rh-chalk { color: var(--rh-chalk); }

.rh-mono, .rh-eyebrow {
  font-family: var(--rh-font-mono);
  font-size: var(--rh-text-micro);
  font-weight: var(--rh-weight-regular);
  letter-spacing: var(--rh-tracking-mono);
  text-transform: uppercase;
}
.rh-eyebrow {
  display: inline-block;
  margin: 0 0 var(--rh-space-4);
  color: var(--rh-dim);
}

.rh-kbd {
  display: inline-block;
  padding: 1px 6px;
  border: var(--rh-border-2);
  border-radius: var(--rh-radius-sm);
  font-family: var(--rh-font-mono);
  font-size: 10px;
  color: var(--rh-mute);
  background: var(--rh-slab-2);
}

/* ---------- Buttons ---------- */

.rh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--rh-space-2);
  height: 44px;
  padding: 0 var(--rh-space-5);
  border: var(--rh-border-2);
  border-radius: var(--rh-radius);
  background: var(--rh-slab);
  color: var(--rh-chalk);
  font: var(--rh-weight-medium) 15px/1 var(--rh-font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.rh-btn:hover { background: var(--rh-slab-2); border-color: var(--rh-dim); }
.rh-btn--primary { background: var(--rh-violet); border-color: var(--rh-violet); }
.rh-btn--primary:hover { background: var(--rh-violet-deep); border-color: var(--rh-violet-deep); }
.rh-btn--sm { height: 34px; padding: 0 var(--rh-space-4); font-size: 14px; }
.rh-btn--lg { height: 52px; padding: 0 var(--rh-space-6); font-size: 16px; }
.rh-btn--block { width: 100%; }
.rh-btn svg { width: 16px; height: 16px; flex: none; }

.rh-link {
  color: var(--rh-chalk);
  text-decoration: underline;
  text-decoration-color: var(--rh-violet);
  text-underline-offset: 4px;
}
.rh-link:hover { text-decoration-color: var(--rh-pulse); }

.rh-actions { display: flex; flex-wrap: wrap; gap: var(--rh-space-3); }
.rh-center .rh-actions, .rh-hero .rh-actions, .rh-cta .rh-actions { justify-content: center; }

/* ---------- Nav ---------- */

.rh-nav { position: sticky; top: 0; z-index: 10; background: rgba(12, 12, 13, 0.85); backdrop-filter: blur(10px); border-bottom: var(--rh-border); }
.rh-nav__inner { display: flex; align-items: center; gap: var(--rh-space-6); height: 64px; }
.rh-nav__links { display: flex; gap: var(--rh-space-5); font-size: var(--rh-text-small); }
.rh-nav__links a { text-decoration: none; color: var(--rh-mute); }
.rh-nav__links a:hover, .rh-nav__links a[aria-current] { color: var(--rh-chalk); }
.rh-nav__end { margin-left: auto; display: flex; align-items: center; gap: var(--rh-space-4); font-size: var(--rh-text-small); }
.rh-nav__meta { display: inline-flex; align-items: center; gap: 6px; color: var(--rh-mute); text-decoration: none; }

.rh-wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--rh-chalk); font-weight: var(--rh-weight-bold); font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.rh-wordmark__mark {
  width: 22px; height: 22px; border-radius: 6px;
  border: 2px solid var(--rh-violet);
  display: grid; place-items: center;
}
.rh-wordmark__mark::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rh-pulse); box-shadow: var(--rh-pulse-halo); }

@media (max-width: 860px) {
  .rh-nav__links, .rh-nav__meta { display: none; }
}

/* ---------- Hero ---------- */

.rh-hero { padding: var(--rh-space-9) 0 var(--rh-space-8); text-align: center; }
.rh-hero .rh-display { max-width: 900px; margin: 0 auto; }
.rh-hero .rh-lead { margin: var(--rh-space-5) auto var(--rh-space-6); }

.rh-chip {
  display: inline-flex; align-items: center; gap: var(--rh-space-2);
  margin-bottom: var(--rh-space-5);
  padding: 6px 14px;
  border: var(--rh-border);
  border-radius: var(--rh-radius-pill);
  background: var(--rh-slab);
  font-size: 13px; color: var(--rh-mute); text-decoration: none;
}
.rh-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rh-pulse); box-shadow: var(--rh-pulse-halo); }

.rh-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--rh-space-2) var(--rh-space-6); margin-top: var(--rh-space-5); font-size: var(--rh-text-small); color: var(--rh-dim); }
.rh-proof b { font-family: var(--rh-font-mono); font-weight: var(--rh-weight-medium); color: var(--rh-chalk); font-size: 13px; }

/* ---------- App window ---------- */

.rh-window {
  border: var(--rh-border);
  border-radius: var(--rh-radius-lg);
  background: var(--rh-slab);
  box-shadow: var(--rh-shadow-window);
  overflow: hidden;
  text-align: left;
}
.rh-window__bar { display: flex; align-items: center; gap: var(--rh-space-2); height: 40px; padding: 0 var(--rh-space-4); border-bottom: var(--rh-border); font-family: var(--rh-font-mono); font-size: var(--rh-text-micro); color: var(--rh-dim); white-space: nowrap; overflow: hidden; }
.rh-window__bar span + span::before { content: "/"; margin-right: var(--rh-space-2); color: var(--rh-line-2); }
.rh-window__body { display: grid; grid-template-columns: 200px 1fr; min-height: 320px; }
.rh-window__side { border-right: var(--rh-border); padding: var(--rh-space-4) var(--rh-space-3); font-size: 13px; }
.rh-window__side p { margin: var(--rh-space-4) var(--rh-space-2) var(--rh-space-2); }
.rh-window__side a { display: flex; align-items: center; gap: var(--rh-space-2); padding: 6px var(--rh-space-2); border-radius: var(--rh-radius-sm); text-decoration: none; color: var(--rh-mute); }
.rh-window__side a[aria-current] { background: var(--rh-slab-2); color: var(--rh-chalk); }
.rh-window__side i { width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 3px; flex: none; }
.rh-window__main { padding: var(--rh-space-5); min-width: 0; }
.rh-window__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--rh-space-3); margin-bottom: var(--rh-space-4); }
.rh-window__head h4 { margin: 0; color: var(--rh-chalk); font-size: 20px; font-weight: var(--rh-weight-bold); letter-spacing: -0.02em; }
.rh-window__head p { margin: 2px 0 0; font-size: 12px; color: var(--rh-dim); }

@media (max-width: 760px) {
  .rh-window__body { grid-template-columns: 1fr; }
  .rh-window__side { display: none; }
}

/* Tables inside windows (and anywhere) */
.rh-table-wrap { border: var(--rh-border); border-radius: var(--rh-radius); overflow-x: auto; }
.rh-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rh-table th { text-align: left; padding: 10px 14px; border-bottom: var(--rh-border); background: var(--rh-slab-2); color: var(--rh-dim); font-family: var(--rh-font-mono); font-size: 10px; font-weight: var(--rh-weight-regular); letter-spacing: var(--rh-tracking-mono); text-transform: uppercase; white-space: nowrap; }
.rh-table td { padding: 11px 14px; border-bottom: var(--rh-border); color: var(--rh-mute); white-space: nowrap; }
.rh-table tr:last-child td { border-bottom: 0; }
.rh-table td b { color: var(--rh-chalk); font-weight: var(--rh-weight-semi); }
.rh-table td small { display: block; color: var(--rh-dim); font-size: 11px; }
.rh-table .rh-mono { text-transform: none; font-size: 11px; }

/* Status pills */
.rh-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: var(--rh-radius-pill); font-size: 11px; font-weight: var(--rh-weight-medium); border: 1px solid transparent; white-space: nowrap; }
.rh-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rh-pill--go { color: var(--rh-go); background: var(--rh-go-wash); border-color: rgba(60, 207, 133, 0.3); }
.rh-pill--wait { color: var(--rh-wait); background: var(--rh-wait-wash); border-color: rgba(244, 210, 60, 0.3); }
.rh-pill--stop { color: var(--rh-stop); background: var(--rh-stop-wash); border-color: rgba(239, 84, 104, 0.3); }
.rh-pill--plain { color: var(--rh-mute); background: var(--rh-slab-2); border-color: var(--rh-line); }
.rh-pill--plain::before { display: none; }

.rh-caption { margin: var(--rh-space-4) 0 0; text-align: center; font-size: var(--rh-text-small); color: var(--rh-dim); }
.rh-caption b { color: var(--rh-chalk); font-weight: var(--rh-weight-medium); }

/* ---------- The relay diagram (signature) ---------- */

.rh-relay {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  align-items: center;
  gap: 72px;
  max-width: 920px;
  margin: var(--rh-space-7) auto 0;
}
.rh-node {
  position: relative;
  padding: var(--rh-space-4) var(--rh-space-5);
  border: var(--rh-border-2);
  border-radius: var(--rh-radius);
  background: var(--rh-slab);
  color: var(--rh-chalk);
}
.rh-node__title { display: flex; align-items: center; gap: var(--rh-space-3); font-family: var(--rh-font-mono); font-size: 13px; }
.rh-node__title svg { width: 22px; height: 22px; color: var(--rh-mute); }
.rh-node--source::after {
  content: "";
  position: absolute; top: 50%; left: 100%;
  width: 72px; border-top: var(--rh-dash);
}
.rh-spark {
  position: absolute; top: 50%; left: calc(100% + 32px);
  width: 9px; height: 9px; margin-top: -4px;
  border-radius: 50%; background: var(--rh-pulse); box-shadow: var(--rh-pulse-halo);
  animation: rh-spark 2.4s ease-in-out infinite;
}
@keyframes rh-spark { 0%, 100% { transform: translateX(-24px); opacity: 0.4; } 50% { transform: translateX(24px); opacity: 1; } }

.rh-node--hub {
  text-align: center;
  padding: var(--rh-space-5);
  border-color: var(--rh-violet);
  box-shadow: var(--rh-hub-glow);
}
.rh-node--hub strong { display: block; font-size: 22px; letter-spacing: -0.02em; }
.rh-node--hub span { font-family: var(--rh-font-mono); font-size: 11px; color: var(--rh-mute); }

.rh-relay__out { position: relative; display: grid; gap: var(--rh-space-4); padding-left: 0; }
.rh-relay__out::before {
  content: "";
  position: absolute; left: -36px; top: 34px; bottom: 34px;
  border-left: var(--rh-dash);
}
.rh-relay__out::after {
  content: "";
  position: absolute; left: -72px; top: 50%;
  width: 36px; border-top: var(--rh-dash);
}
.rh-relay__out .rh-node::before {
  content: "";
  position: absolute; right: 100%; top: 50%;
  width: 36px; border-top: var(--rh-dash);
}
.rh-meter { display: flex; align-items: flex-end; gap: 3px; height: 22px; margin-top: var(--rh-space-3); }
.rh-meter i { flex: 1; background: var(--rh-line-2); border-radius: 1px; }
.rh-meter i.on { background: var(--rh-mute); }
.rh-led { display: inline-flex; gap: 4px; }
.rh-led::before, .rh-led::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rh-go); }
.rh-led--busy::after { background: var(--rh-pulse); }

@media (max-width: 760px) {
  .rh-relay { grid-template-columns: 1fr; gap: 40px; max-width: 340px; }
  .rh-node--source::after { top: 100%; left: 50%; width: 0; height: 40px; border-top: 0; border-left: var(--rh-dash); }
  .rh-spark { top: calc(100% + 16px); left: 50%; margin: 0 0 0 -4px; animation-name: rh-spark-v; }
  @keyframes rh-spark-v { 0%, 100% { transform: translateY(-10px); opacity: 0.4; } 50% { transform: translateY(10px); opacity: 1; } }
  .rh-relay__out { padding-left: 28px; }
  .rh-relay__out::before { left: 8px; top: -40px; bottom: 44px; }
  .rh-relay__out::after { display: none; }
  .rh-relay__out .rh-node::before { width: 20px; }
}

/* ---------- Section head, cards, wall ---------- */

.rh-head { max-width: 640px; margin: 0 auto var(--rh-space-7); text-align: center; }
.rh-head .rh-lead { margin-top: var(--rh-space-4); }

.rh-grid { display: grid; gap: var(--rh-space-4); }
.rh-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rh-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .rh-grid--3, .rh-grid--2 { grid-template-columns: 1fr; } }

.rh-card { padding: var(--rh-space-5); border: var(--rh-border); border-radius: var(--rh-radius-lg); background: var(--rh-slab); }
.rh-card p { margin: var(--rh-space-2) 0 0; font-size: 15px; }
.rh-card__icon { width: 36px; height: 36px; margin-bottom: var(--rh-space-4); border: var(--rh-border-2); border-radius: var(--rh-radius); display: grid; place-items: center; color: var(--rh-chalk); background: var(--rh-slab-2); }
.rh-card__icon svg { width: 18px; height: 18px; }

/* Hairline wall of supporters, one tile lit */
.rh-wall { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--rh-border); border-radius: var(--rh-radius-lg); overflow: hidden; background: var(--rh-line); gap: 1px; }
.rh-wall__tile { display: flex; flex-direction: column; justify-content: space-between; gap: var(--rh-space-5); min-height: 150px; padding: var(--rh-space-5); background: var(--rh-void); text-decoration: none; }
.rh-wall__name { color: var(--rh-chalk); font-size: 24px; font-weight: var(--rh-weight-bold); letter-spacing: -0.03em; line-height: 1.1; }
.rh-wall__meta { display: flex; justify-content: space-between; gap: var(--rh-space-3); font-size: 13px; color: var(--rh-dim); }
.rh-wall__meta b { color: var(--rh-mute); font-weight: var(--rh-weight-medium); }
.rh-wall__tile--lit { background: var(--rh-pulse); }
.rh-wall__tile--lit .rh-wall__name, .rh-wall__tile--lit .rh-wall__meta, .rh-wall__tile--lit .rh-wall__meta b { color: var(--rh-void); }
.rh-wall__tile--empty { background: var(--rh-slab); }
@media (max-width: 760px) { .rh-wall { grid-template-columns: 1fr; } .rh-wall__tile--empty { display: none; } }

.rh-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--rh-space-4) var(--rh-space-7); margin-top: var(--rh-space-6); color: var(--rh-dim); font-weight: var(--rh-weight-semi); font-size: 18px; letter-spacing: -0.02em; }

/* Steps */
.rh-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--rh-space-3); counter-reset: rh-step; }
.rh-steps li { counter-increment: rh-step; display: grid; grid-template-columns: 40px 1fr; gap: var(--rh-space-3); padding: var(--rh-space-4); border: var(--rh-border); border-radius: var(--rh-radius); background: var(--rh-slab); }
.rh-steps li::before { content: "0" counter(rh-step); font-family: var(--rh-font-mono); font-size: 12px; color: var(--rh-pulse); padding-top: 3px; }
.rh-steps b { display: block; color: var(--rh-chalk); font-weight: var(--rh-weight-semi); }

.rh-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--rh-space-8); align-items: center; }
@media (max-width: 860px) { .rh-split { grid-template-columns: 1fr; gap: var(--rh-space-6); } }

/* Code block */
.rh-code { margin: 0; padding: var(--rh-space-4) var(--rh-space-5); border: var(--rh-border); border-radius: var(--rh-radius); background: var(--rh-slab); font-family: var(--rh-font-mono); font-size: 12px; line-height: 1.8; color: var(--rh-mute); overflow-x: auto; white-space: pre; }
.rh-code b { color: var(--rh-chalk); font-weight: var(--rh-weight-regular); }
.rh-code em { color: var(--rh-pulse); font-style: normal; }
.rh-code i { color: var(--rh-dim); font-style: normal; }

/* ---------- Pricing ---------- */

.rh-toggle { display: inline-flex; padding: 4px; border: var(--rh-border); border-radius: var(--rh-radius); background: var(--rh-slab); }
.rh-toggle button { height: 32px; padding: 0 var(--rh-space-4); border: 0; border-radius: var(--rh-radius-sm); background: none; color: var(--rh-mute); font: var(--rh-weight-medium) 13px var(--rh-font-sans); cursor: pointer; white-space: nowrap; }
.rh-toggle button[aria-pressed="true"] { background: var(--rh-slab-2); color: var(--rh-chalk); box-shadow: inset 0 0 0 1px var(--rh-line-2); }

.rh-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rh-space-4); align-items: stretch; }
@media (max-width: 900px) { .rh-plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.rh-plan { display: flex; flex-direction: column; gap: var(--rh-space-5); padding: var(--rh-space-6) var(--rh-space-5); border: var(--rh-border); border-radius: var(--rh-radius-lg); background: var(--rh-slab); }
.rh-plan--hub { border-color: var(--rh-violet); box-shadow: 0 0 0 1px var(--rh-violet), 0 0 70px -10px var(--rh-violet-glow); }
.rh-plan__top { display: flex; justify-content: space-between; align-items: center; gap: var(--rh-space-3); }
.rh-plan__price { display: flex; align-items: baseline; gap: var(--rh-space-2); color: var(--rh-chalk); }
.rh-plan__price strong { font-size: 44px; font-weight: var(--rh-weight-bold); letter-spacing: -0.04em; line-height: 1; }
.rh-plan__price span { font-size: var(--rh-text-small); color: var(--rh-dim); }
.rh-plan p { margin: 0; font-size: 15px; }
.rh-plan ul { list-style: none; margin: 0; padding: var(--rh-space-5) 0 0; border-top: var(--rh-border); display: grid; gap: var(--rh-space-3); font-size: 14px; flex: 1; }
.rh-plan li { display: flex; gap: var(--rh-space-3); }
.rh-plan li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--rh-go); }

.rh-compare th:first-child, .rh-compare td:first-child { width: 40%; }
.rh-compare td { white-space: normal; }
.rh-yes { color: var(--rh-go); }
.rh-no { color: var(--rh-dim); }

/* FAQ */
.rh-faq { border-top: var(--rh-border); }
.rh-faq details { border-bottom: var(--rh-border); padding: var(--rh-space-4) 0; }
.rh-faq summary { display: flex; justify-content: space-between; gap: var(--rh-space-4); cursor: pointer; list-style: none; color: var(--rh-chalk); font-weight: var(--rh-weight-medium); }
.rh-faq summary::-webkit-details-marker { display: none; }
.rh-faq summary::after { content: "+"; font-family: var(--rh-font-mono); color: var(--rh-dim); }
.rh-faq details[open] summary::after { content: "-"; color: var(--rh-pulse); }
.rh-faq p { margin: var(--rh-space-3) 0 0; font-size: 15px; }

/* ---------- Article ---------- */

.rh-article-head { padding: var(--rh-space-8) 0 var(--rh-space-6); }
.rh-crumbs { display: flex; flex-wrap: wrap; gap: var(--rh-space-2); margin-bottom: var(--rh-space-5); font-family: var(--rh-font-mono); font-size: var(--rh-text-micro); color: var(--rh-dim); text-transform: uppercase; letter-spacing: var(--rh-tracking-mono); }
.rh-crumbs a { text-decoration: none; }
.rh-crumbs span::before { content: "/"; margin-right: var(--rh-space-2); color: var(--rh-line-2); }
.rh-byline { display: flex; align-items: center; gap: var(--rh-space-3); margin-top: var(--rh-space-5); font-size: var(--rh-text-small); }
.rh-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--rh-violet-wash); border: 1px solid var(--rh-violet); color: var(--rh-chalk); font-weight: var(--rh-weight-semi); font-size: 13px; flex: none; }
.rh-byline b { color: var(--rh-chalk); font-weight: var(--rh-weight-medium); display: block; }

.rh-prose { font-size: 17px; line-height: 1.75; }
.rh-prose > * + * { margin-top: var(--rh-space-5); }
.rh-prose p { margin-bottom: 0; }
.rh-prose h2 { margin: var(--rh-space-7) 0 0; color: var(--rh-chalk); font-size: 26px; font-weight: var(--rh-weight-bold); letter-spacing: -0.02em; line-height: 1.2; }
.rh-prose strong { color: var(--rh-chalk); font-weight: var(--rh-weight-semi); }
.rh-prose ul { padding-left: 0; list-style: none; display: grid; gap: var(--rh-space-2); }
.rh-prose ul li { position: relative; padding-left: 18px; }
.rh-prose ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--rh-pulse); }
.rh-prose code { padding: 1px 6px; border-radius: var(--rh-radius-sm); background: var(--rh-slab-2); border: var(--rh-border); font-family: var(--rh-font-mono); font-size: 13px; color: var(--rh-chalk); }

.rh-callout { padding: var(--rh-space-4) var(--rh-space-5); border: var(--rh-border); border-left: 2px solid var(--rh-pulse); border-radius: var(--rh-radius); background: var(--rh-slab); font-size: 15px; }
.rh-callout b { color: var(--rh-chalk); }

.rh-figure { margin: var(--rh-space-6) 0; }
.rh-figure figcaption { margin-top: var(--rh-space-3); font-size: 13px; color: var(--rh-dim); text-align: center; }

.rh-quote { margin: var(--rh-space-6) 0; padding: 0 0 0 var(--rh-space-5); border-left: 2px solid var(--rh-violet); color: var(--rh-chalk); font-size: 22px; font-weight: var(--rh-weight-semi); letter-spacing: -0.015em; line-height: 1.4; }

/* ---------- Forms ---------- */

.rh-form { display: grid; gap: var(--rh-space-4); }
.rh-field { display: grid; gap: 6px; }
.rh-label { font-size: 13px; font-weight: var(--rh-weight-medium); color: var(--rh-chalk); }
.rh-hint { font-size: 12px; color: var(--rh-dim); }
.rh-input, .rh-select {
  width: 100%; height: 44px; padding: 0 var(--rh-space-4);
  border: var(--rh-border-2); border-radius: var(--rh-radius);
  background: var(--rh-void); color: var(--rh-chalk);
  font: var(--rh-weight-regular) 15px var(--rh-font-sans);
}
.rh-input::placeholder { color: var(--rh-dim); }
.rh-input:focus, .rh-select:focus { outline: none; border-color: var(--rh-violet); box-shadow: var(--rh-focus); }
.rh-input--error { border-color: var(--rh-stop); }
.rh-error { font-size: 12px; color: var(--rh-stop); }
.rh-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--rh-space-3); }
@media (max-width: 520px) { .rh-row-2 { grid-template-columns: 1fr; } }

.rh-check { display: flex; gap: var(--rh-space-3); align-items: flex-start; font-size: 14px; cursor: pointer; }
.rh-check input { appearance: none; flex: none; width: 18px; height: 18px; margin: 2px 0 0; border: var(--rh-border-2); border-radius: 5px; background: var(--rh-void); display: grid; place-items: center; cursor: pointer; }
.rh-check input:checked { background: var(--rh-violet); border-color: var(--rh-violet); }
.rh-check input:checked::after { content: ""; width: 5px; height: 9px; margin-top: -2px; border: solid var(--rh-chalk); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.rh-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rh-space-2); }
.rh-choice label { position: relative; display: grid; gap: 2px; padding: var(--rh-space-3); border: var(--rh-border-2); border-radius: var(--rh-radius); background: var(--rh-void); cursor: pointer; font-size: 13px; }
.rh-choice label b { color: var(--rh-chalk); font-weight: var(--rh-weight-semi); font-size: 14px; }
.rh-choice input { position: absolute; opacity: 0; }
.rh-choice label:has(input:checked) { border-color: var(--rh-violet); background: var(--rh-violet-wash); }
@media (max-width: 520px) { .rh-choice { grid-template-columns: 1fr; } }

.rh-divider { display: flex; align-items: center; gap: var(--rh-space-3); font-family: var(--rh-font-mono); font-size: var(--rh-text-micro); color: var(--rh-dim); text-transform: uppercase; }
.rh-divider::before, .rh-divider::after { content: ""; flex: 1; border-top: var(--rh-border); }

.rh-panel { padding: var(--rh-space-6); border: var(--rh-border); border-radius: var(--rh-radius-lg); background: var(--rh-slab); }
@media (max-width: 520px) { .rh-panel { padding: var(--rh-space-5); } }

/* ---------- CTA and footer ---------- */

.rh-cta { position: relative; padding: var(--rh-space-9) var(--rh-space-5); border: var(--rh-border); border-radius: var(--rh-radius-lg); text-align: center; overflow: hidden; background: radial-gradient(ellipse 50% 70% at 50% 120%, var(--rh-violet-glow), transparent 70%), var(--rh-slab); }
.rh-cta .rh-lead { margin: var(--rh-space-4) auto var(--rh-space-6); }

.rh-footer { margin-top: var(--rh-space-9); padding: var(--rh-space-8) 0 var(--rh-space-6); border-top: var(--rh-border); font-size: var(--rh-text-small); }
.rh-footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: var(--rh-space-6); }
.rh-footer h5 { margin: 0 0 var(--rh-space-3); font-family: var(--rh-font-mono); font-size: var(--rh-text-micro); font-weight: var(--rh-weight-regular); letter-spacing: var(--rh-tracking-mono); text-transform: uppercase; color: var(--rh-dim); }
.rh-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--rh-space-2); }
.rh-footer a { text-decoration: none; }
.rh-footer a:hover { color: var(--rh-chalk); }
.rh-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--rh-space-3); margin-top: var(--rh-space-7); padding-top: var(--rh-space-5); border-top: var(--rh-border); color: var(--rh-dim); font-size: 13px; }
@media (max-width: 760px) { .rh-footer__grid { grid-template-columns: 1fr 1fr; } .rh-footer__grid > :first-child { grid-column: 1 / -1; } }
