:root {
  --rh-green: #75d82f;
  --rh-green-bright: #91ef51;
  --rh-green-deep: #347e16;
  --rh-ink: #111712;
  --rh-muted: #626b63;
  --rh-paper: #f7f8f3;
  --rh-card: #ffffff;
  --rh-line: #dce2d8;
  --rh-dark: #142019;
}

body {
  background: var(--rh-paper);
  color: var(--rh-ink);
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rh-shell {
  background:
    radial-gradient(circle at 10% 3%, rgba(117, 216, 47, 0.07), transparent 31rem),
    linear-gradient(rgba(17, 23, 18, 0.016) 1px, transparent 1px),
    var(--rh-paper);
  background-size: auto, 100% 48px, auto;
}

.rh-header {
  border-color: rgba(17, 23, 18, 0.13);
  background: rgba(247, 248, 243, 0.93);
  box-shadow: 0 8px 30px rgba(17, 23, 18, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.rh-header.scrolled {
  border-color: rgba(17, 23, 18, 0.2);
  background: rgba(247, 248, 243, 0.98);
}

.rh-brand .brand-mark {
  width: 34px;
  height: 34px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.rh-brand .brand-mark img {
  transform: translateY(-3px);
  filter: none;
}

.rh-nav a:hover,
.rh-nav a.current {
  background: rgba(117, 216, 47, 0.12);
  color: var(--rh-ink);
}

.rh-nav a.current {
  box-shadow: inset 0 0 0 1px rgba(52, 126, 22, 0.12);
}

.rh-header .button-primary,
.rh-home-actions .button-primary,
.rh-home-cta .button-primary {
  background: var(--rh-ink);
  color: #fff;
}

.rh-header .button-primary:hover,
.rh-home-actions .button-primary:hover,
.rh-home-cta .button-primary:hover {
  background: #29322b;
}

.rh-header .rh-buy-button:disabled {
  opacity: 1;
  cursor: default;
}

.rh-header .rh-buy-button:disabled:hover {
  background: var(--rh-ink);
  box-shadow: none;
  transform: none;
}

.rh-header .button-secondary,
.rh-home-actions .button-secondary {
  border-color: var(--rh-line);
  background: rgba(255, 255, 255, 0.65);
  color: var(--rh-ink);
}

.rh-header .button-secondary:hover,
.rh-home-actions .button-secondary:hover {
  background: #fff;
}

.rh-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rh-green);
  box-shadow: 0 0 0 5px rgba(117, 216, 47, 0.13);
}

.rh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0;
  color: var(--rh-muted);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Homepage */
.rh-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(58px, 8vw, 112px);
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: 680px;
  margin: 0 auto;
  padding: clamp(90px, 11vw, 145px) 0 clamp(78px, 9vw, 110px);
}

.rh-home-copy h1 {
  max-width: 760px;
  margin: 28px 0 0;
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(4rem, 6.2vw, 6.9rem);
  font-weight: 650;
  line-height: 0.91;
  letter-spacing: -0.057em;
}

.rh-home-copy h1 em {
  color: var(--rh-green-deep);
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
}

.rh-home-copy > p:last-of-type {
  max-width: 650px;
  margin: 27px 0 0;
  color: var(--rh-muted);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  line-height: 1.65;
}

.rh-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 34px;
}

.rh-system-card {
  overflow: hidden;
  border: 1px solid var(--rh-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 26px 74px rgba(22, 39, 25, 0.11);
}

.rh-system-card-head {
  display: flex;
  justify-content: space-between;
  padding: 17px 19px;
  border-bottom: 1px solid var(--rh-line);
  color: var(--rh-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rh-system-card-head span:last-child {
  color: var(--rh-green-deep);
}

.rh-system-source {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 22px 20px;
  background: #fbfef9;
}

.rh-system-source img {
  width: 52px;
  height: 52px;
  border-radius: 11px;
}

.rh-system-source small,
.rh-system-source strong,
.rh-system-route small,
.rh-system-route strong {
  display: block;
}

.rh-system-source small {
  color: var(--rh-muted);
  font-size: 0.68rem;
}

.rh-system-source strong {
  margin-top: 2px;
  font-size: 0.96rem;
}

.rh-system-route {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 10px;
  align-items: center;
  padding: 18px 20px;
  border-top: 1px solid var(--rh-line);
}

.rh-system-route > span {
  color: var(--rh-green-deep);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 650;
}

.rh-system-route strong {
  font-size: 0.82rem;
}

.rh-system-route small {
  margin-top: 2px;
  color: var(--rh-muted);
  font-size: 0.68rem;
}

.rh-system-route.burn > span {
  color: #b75d21;
}

.rh-system-card > a {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--rh-line);
  background: var(--rh-ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 680;
}

.rh-home-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--rh-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.rh-home-proof > div {
  padding: 24px 26px;
  border-right: 1px solid var(--rh-line);
}

.rh-home-proof > div:last-child {
  border-right: 0;
}

.rh-home-proof strong,
.rh-home-proof span {
  display: block;
}

.rh-home-proof strong {
  color: var(--rh-green-deep);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.85rem;
  line-height: 1;
}

.rh-home-proof span {
  margin-top: 7px;
  color: var(--rh-muted);
  font-size: 0.74rem;
}

.rh-home-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(50px, 9vw, 120px);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(90px, 11vw, 135px) 0;
  border-top: 1px solid var(--rh-line);
}

.rh-home-proof + .rh-home-section {
  margin-top: clamp(90px, 11vw, 135px);
}

.rh-home-section-heading .eyebrow,
.rh-home-links .eyebrow,
.rh-home-cta .eyebrow {
  margin-bottom: 18px;
}

.rh-home-section-heading h2,
.rh-home-links h2,
.rh-home-cta h2 {
  margin: 0;
  font-size: clamp(2.55rem, 4.5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.rh-home-about-copy {
  display: grid;
  gap: 20px;
  max-width: 690px;
}

.rh-home-about-copy p {
  margin: 0;
  color: var(--rh-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.rh-home-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rh-line);
  list-style: none;
}

.rh-home-steps li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 15px;
  padding: 23px 0;
  border-bottom: 1px solid var(--rh-line);
}

.rh-home-steps li > span {
  color: var(--rh-green-deep);
  font-size: 0.68rem;
  font-weight: 720;
}

.rh-home-steps h3 {
  margin: 0 0 5px;
  font-size: 0.96rem;
}

.rh-home-steps p {
  margin: 0;
  color: var(--rh-muted);
  font-size: 0.82rem;
}

.rh-home-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rh-home-links article {
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid var(--rh-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.rh-home-links article:last-child {
  background: var(--rh-dark);
  color: #fff;
}

.rh-home-links article:last-child h2,
.rh-home-links article:last-child .eyebrow {
  color: #fff;
}

.rh-home-links h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

.rh-home-links article > p:not(.eyebrow) {
  max-width: 500px;
  margin: 18px 0 24px;
  color: var(--rh-muted);
  font-size: 0.84rem;
}

.rh-home-links article:last-child > p:not(.eyebrow) {
  color: #abb7ad;
}

.rh-home-links article > a {
  display: inline-flex;
  gap: 9px;
  color: var(--rh-green-deep);
  font-size: 0.78rem;
  font-weight: 720;
}

.rh-home-links article:last-child > a {
  color: var(--rh-green-bright);
}

.rh-home-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto clamp(70px, 8vw, 105px);
  padding: clamp(54px, 7vw, 80px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 10%, rgba(117, 216, 47, 0.25), transparent 22rem),
    var(--rh-dark);
  color: #fff;
}

.rh-home-cta h2 {
  max-width: 700px;
  color: #fff;
}

.rh-home-cta .eyebrow {
  color: #aeb9b0;
}

.rh-home-cta .button-primary {
  flex: 0 0 auto;
  background: var(--rh-green);
  color: var(--rh-ink);
}

/* Classic Robinhood homepage */
.rh-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  column-gap: clamp(42px, 6vw, 84px);
  row-gap: clamp(48px, 6vw, 72px);
  align-items: center;
  border-top: 0;
  padding-top: clamp(72px, 9vw, 122px);
  padding-bottom: clamp(70px, 8vw, 104px);
}

.rh-hero-copy {
  max-width: 720px;
}

.rh-hero h1 {
  margin: 28px 0;
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.95rem, 4.55vw, 6.15rem);
  font-weight: 650;
  line-height: 0.88;
  letter-spacing: -0.057em;
}

.rh-hero h1 span {
  display: block;
}

.rh-hero h1 em {
  color: var(--rh-green-deep);
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
}

.rh-lede {
  max-width: 650px;
  margin: 0;
  color: var(--rh-muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.65;
}

.rh-actions,
.rh-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.rh-final .button-primary,
.rh-transparency .button-primary {
  background: var(--rh-ink);
  color: #fff;
}

.rh-actions .button {
  min-height: 48px;
  padding-inline: 20px;
  border-radius: 8px;
}

#top .button {
  border-radius: 8px;
}

.rh-actions .button-primary {
  background: var(--rh-green);
  color: var(--rh-ink);
  box-shadow: 0 12px 28px rgba(61, 126, 24, 0.2);
}

.rh-actions .button-primary:hover {
  background: var(--rh-green-bright);
}

.rh-actions .button-secondary,
.rh-final .button-secondary {
  border-color: var(--rh-line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--rh-ink);
}

.rh-mark-stage {
  position: relative;
  display: grid;
  width: min(100%, 520px);
  aspect-ratio: 1;
  justify-self: center;
  place-items: center;
  isolation: isolate;
}

.rh-mark-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(26, 58, 25, 0.18));
  animation: rh-mark-float 5.8s ease-in-out infinite;
}

@keyframes rh-mark-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

.rh-impact {
  padding-top: 0;
  padding-bottom: clamp(76px, 9vw, 112px);
  border-top: 0;
}

.rh-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--rh-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 54px rgba(22, 39, 25, 0.075);
}

.rh-impact-metric {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 190px;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border-right: 1px solid var(--rh-line);
}

.rh-impact-metric:last-child {
  border-right: 0;
}

.rh-impact-metric::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--rh-ink);
}

.rh-impact-payments::before {
  background: var(--rh-green);
}

.rh-impact-burns::before {
  background: #b75d21;
}

.rh-impact-label-row {
  display: flex;
  width: 100%;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.rh-impact-label {
  color: var(--rh-muted);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.rh-impact-badge {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid rgba(52, 126, 22, 0.2);
  border-radius: 999px;
  background: rgba(117, 216, 47, 0.09);
  color: var(--rh-green-deep);
  font-size: 0.54rem;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rh-impact-badge-burn {
  border-color: rgba(183, 93, 33, 0.2);
  background: rgba(183, 93, 33, 0.08);
  color: #9a4b18;
}

.rh-impact-metric > strong {
  display: block;
  max-width: 100%;
  margin: 22px 0 0;
  color: var(--rh-ink);
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 680;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.047em;
  line-height: 1.05;
}

.rh-impact-debt > strong {
  font-size: clamp(1.05rem, 1.75vw, 1.48rem);
  white-space: nowrap;
}

.rh-impact-payments > strong {
  color: var(--rh-green-deep);
}

.rh-impact-burns > strong {
  color: #9a4b18;
}

.rh-impact-foot {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 9px 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  color: var(--rh-muted);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
}

.rh-impact-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--rh-green-deep);
  font-size: 0.7rem;
  font-weight: 760;
}

.rh-impact-burns .rh-impact-link {
  color: #9a4b18;
}

.rh-impact-link span {
  transition: transform 180ms ease;
}

.rh-impact-link:hover span {
  transform: translateX(3px);
}

.rh-thesis,
.rh-mechanics,
.rh-faq-section {
  border-color: var(--rh-line);
}

.rh-thesis .section-heading,
.rh-mechanics .section-heading,
.rh-faq-section .section-heading {
  max-width: 760px;
}

.rh-about-card {
  border-color: var(--rh-line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 48px rgba(17, 23, 18, 0.06);
}

.rh-about-card h3 {
  color: var(--rh-ink);
}

.rh-mechanics .step-card {
  min-height: 245px;
  border-color: var(--rh-line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 36px rgba(17, 23, 18, 0.045);
}

.rh-mechanics .step-card:hover {
  border-color: #b8c6b1;
}

.rh-mechanics .step-number {
  border-color: var(--rh-green-deep);
  color: var(--rh-green-deep);
}

.rh-new-features-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rh-new-features-grid .step-card {
  position: relative;
  display: flex;
  min-height: 275px;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(117, 216, 47, 0.09), transparent 15rem),
    rgba(255, 255, 255, 0.78);
}

.rh-new-features-grid .step-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--rh-green);
}

.rh-new-features-grid .step-number {
  width: fit-content;
  margin-bottom: 28px;
  color: var(--rh-green-deep);
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 750;
}

.rh-new-features-grid h3 {
  max-width: 420px;
  margin: 0 0 10px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.rh-new-features-grid .step-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.65;
}

.rh-feature-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--rh-green-deep);
  font-size: 0.72rem;
  font-weight: 750;
}

.rh-feature-link span {
  transition: transform 180ms ease;
}

.rh-feature-link:hover span {
  transform: translateX(3px);
}

.rh-features-docs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 16px;
  padding: 28px 30px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.38), transparent 19rem),
    linear-gradient(135deg, var(--rh-green-bright), var(--rh-green));
  color: var(--rh-ink);
  box-shadow: 0 16px 42px rgba(61, 126, 24, 0.13);
}

.rh-features-docs > div > span,
.rh-features-docs > div > strong {
  display: block;
}

.rh-features-docs > div > span {
  margin-bottom: 5px;
  color: #275f14;
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rh-features-docs > div > strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.rh-features-docs p {
  margin: 6px 0 0;
  color: #2f651b;
  font-size: 0.75rem;
}

.rh-features-docs .button {
  flex: 0 0 auto;
  background: var(--rh-ink);
  color: #fff;
}

.rh-features-docs .button:hover {
  background: #26332b;
}

.rh-transparency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: clamp(44px, 6vw, 68px);
  border: 1px solid var(--rh-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(117, 216, 47, 0.12), transparent 24rem),
    rgba(255, 255, 255, 0.74);
}

.rh-transparency-copy {
  max-width: 720px;
}

.rh-transparency .eyebrow {
  margin-bottom: 14px;
  color: var(--rh-green-deep);
}

.rh-transparency h2 {
  margin: 0;
  font-size: clamp(2.1rem, 3.6vw, 3.6rem);
  letter-spacing: -0.04em;
}

.rh-transparency p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--rh-muted);
}

.rh-transparency .button {
  flex: 0 0 auto;
}

.rh-faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.rh-faq-list details {
  overflow: hidden;
  border: 1px solid var(--rh-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
}

.rh-faq-list summary {
  position: relative;
  padding: 19px 52px 19px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.rh-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--rh-green-deep);
  font-size: 1.2rem;
  transform: translateY(-50%);
}

.rh-faq-list details[open] summary::after {
  content: "−";
}

.rh-faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--rh-muted);
  font-size: 0.82rem;
}

.rh-final {
  margin-bottom: clamp(60px, 8vw, 96px);
  padding: clamp(66px, 9vw, 104px) clamp(28px, 7vw, 86px);
  border: 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 255, 255, 0.38), transparent 27rem),
    linear-gradient(135deg, var(--rh-green-bright), var(--rh-green));
  color: var(--rh-ink);
  box-shadow: 0 22px 60px rgba(61, 126, 24, 0.16);
  text-align: center;
}

.rh-final .eyebrow {
  width: fit-content;
  margin-inline: auto;
  color: #275f14;
}

.rh-final h2 {
  max-width: 820px;
  margin: 18px auto 0;
  color: var(--rh-ink);
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
  line-height: 0.93;
  letter-spacing: -0.05em;
}

.rh-final > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: #2f651b;
}

.rh-final .button-primary {
  background: var(--rh-ink);
  color: #fff;
}

.rh-final .button-secondary {
  border-color: rgba(17, 23, 18, 0.22);
  background: rgba(255, 255, 255, 0.36);
  color: var(--rh-ink);
}

.rh-final-actions {
  justify-content: center;
}

/* Analytics */
.rh-analytics-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) 0 clamp(64px, 8vw, 96px);
}

.rh-page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.rh-page-heading h1 {
  margin: 8px 0 0;
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.rh-page-heading > div > p:last-child {
  margin: 8px 0 0;
  color: var(--rh-muted);
  font-size: 0.8rem;
}

.rh-text-link {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rh-line);
  color: var(--rh-green-deep);
  font-size: 0.72rem;
  font-weight: 700;
}

.rh-analytics-overview {
  overflow: hidden;
  border: 1px solid var(--rh-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.rh-overview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 17px;
  border-bottom: 1px solid var(--rh-line);
}

.rh-overview-title {
  display: flex;
  align-items: center;
  gap: 11px;
}

.rh-overview-title h2 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: -0.015em;
}

.rh-overview-title p {
  margin: 2px 0 0;
  color: var(--rh-muted);
  font-size: 0.62rem;
}

.rh-live-pulse {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--rh-green);
  box-shadow: 0 0 0 4px rgba(117, 216, 47, 0.13);
}

.rh-period-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--rh-line);
  border-radius: 8px;
  background: #f0f2ed;
}

.rh-period-switch button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--rh-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.rh-period-switch button[aria-selected="true"] {
  background: #fff;
  color: var(--rh-ink);
  box-shadow: 0 1px 4px rgba(24, 37, 28, 0.1);
}

.rh-period-switch button:focus-visible {
  outline: 2px solid var(--rh-green-deep);
  outline-offset: 1px;
}

.rh-overview-panel[hidden] {
  display: none;
}

.rh-analytics-category-stack {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: #f1f4ee;
}

.rh-analytics-category {
  overflow: hidden;
  border: 1px solid var(--rh-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.88);
}

.rh-category-heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--rh-line);
}

.rh-category-heading::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--rh-green);
}

.rh-category-heading h3 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.rh-contract-link {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(52, 126, 22, 0.2);
  border-radius: 6px;
  background: rgba(117, 216, 47, 0.07);
  color: var(--rh-green-deep);
  font-size: 0.62rem;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.rh-contract-link:hover {
  border-color: rgba(52, 126, 22, 0.38);
  background: rgba(117, 216, 47, 0.13);
}

.rh-contract-link:focus-visible {
  outline: 2px solid var(--rh-green-deep);
  outline-offset: 2px;
}

.rh-activity-feed {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #f1f4ee;
}

.rh-activity-pagination {
  padding: 0 16px 16px;
  background: #f1f4ee;
}

.rh-activity-pagination:empty {
  display: none;
}

.rh-activity-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid var(--rh-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
}

.rh-activity-type {
  justify-self: start;
  padding: 5px 7px;
  border-radius: 5px;
  background: rgba(117, 216, 47, 0.11);
  color: var(--rh-green-deep);
  font-size: 0.58rem;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rh-activity-copy,
.rh-activity-meta {
  display: grid;
  gap: 3px;
}

.rh-activity-copy strong {
  color: var(--rh-ink);
  font-size: 0.76rem;
}

.rh-activity-copy span,
.rh-activity-meta time {
  color: var(--rh-muted);
  font-size: 0.65rem;
}

.rh-activity-meta {
  justify-items: end;
  text-align: right;
}

.rh-activity-meta a {
  color: var(--rh-green-deep);
  font-size: 0.64rem;
  font-weight: 740;
  text-decoration: none;
}

.rh-activity-meta a:hover {
  text-decoration: underline;
}

.rh-activity-empty {
  margin: 0;
  padding: 24px;
  color: var(--rh-muted);
  font-size: 0.72rem;
  text-align: center;
}

.rh-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rh-metric-grid-all-time {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.rh-category-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rh-metric-grid article {
  min-width: 0;
  padding: 19px 17px 21px;
  border-right: 1px solid var(--rh-line);
}

.rh-metric-grid article:last-child {
  border-right: 0;
}

.rh-metric-grid article > span {
  display: block;
  margin-bottom: 9px;
  color: var(--rh-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.rh-metric-grid strong {
  display: flex;
  gap: 6px;
  align-items: baseline;
  overflow-wrap: anywhere;
  color: var(--rh-ink);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.rh-metric-grid strong small {
  color: var(--rh-muted);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.rh-metric-grid .payment-metric strong {
  color: var(--rh-green-deep);
}

.rh-metric-detail {
  display: block;
  margin-top: 7px;
  color: var(--rh-muted);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 650;
}

.rh-metric-detail span {
  color: var(--rh-green-deep);
}

.rh-analytics-panel {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid var(--rh-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  scroll-margin-top: 105px;
}

.rh-analytics-panel::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
}

.rh-buyback-ledger {
  border-color: rgba(183, 93, 33, 0.28);
  box-shadow: 0 14px 40px rgba(122, 59, 19, 0.07);
}

.rh-buyback-ledger::before {
  background: #b75d21;
}

.rh-payment-ledger {
  margin-top: 30px;
  border-color: rgba(52, 126, 22, 0.28);
  box-shadow: 0 14px 40px rgba(52, 126, 22, 0.07);
}

.rh-payment-ledger::before {
  background: var(--rh-green);
}

.rh-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid var(--rh-line);
}

.rh-buyback-ledger .rh-panel-heading {
  border-color: rgba(183, 93, 33, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(183, 93, 33, 0.09), transparent 24rem),
    #fffaf6;
}

.rh-payment-ledger .rh-panel-heading {
  border-color: rgba(52, 126, 22, 0.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(117, 216, 47, 0.12), transparent 24rem),
    #f9fdf6;
}

.rh-panel-kicker {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 5px;
  font-size: 0.58rem;
  font-weight: 780;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rh-panel-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.rh-buyback-ledger .rh-panel-kicker {
  color: #9a4b18;
}

.rh-buyback-ledger .rh-panel-kicker::before {
  background: #b75d21;
  box-shadow: 0 0 0 4px rgba(183, 93, 33, 0.1);
}

.rh-payment-ledger .rh-panel-kicker {
  color: var(--rh-green-deep);
}

.rh-payment-ledger .rh-panel-kicker::before {
  background: var(--rh-green);
  box-shadow: 0 0 0 4px rgba(117, 216, 47, 0.12);
}

.rh-panel-heading h2 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.rh-panel-heading p {
  margin: 3px 0 0;
  color: var(--rh-muted);
  font-size: 0.68rem;
}

.rh-ledger-count {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid var(--rh-line);
  border-radius: 999px;
  color: var(--rh-muted);
  font-size: 0.65rem;
  font-weight: 650;
}

.rh-buyback-ledger .rh-ledger-count {
  border-color: rgba(183, 93, 33, 0.2);
  background: rgba(183, 93, 33, 0.06);
  color: #8a4519;
}

.rh-payment-ledger .rh-ledger-count {
  border-color: rgba(52, 126, 22, 0.2);
  background: rgba(117, 216, 47, 0.08);
  color: var(--rh-green-deep);
}

.rh-compact-table {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.rh-ledger-panel .rh-compact-table,
#burns .rh-compact-table,
#payments .rh-compact-table {
  border: 0;
}

.rh-compact-table th {
  padding: 8px 12px;
  background: #f5f7f2;
  color: var(--rh-muted);
  font-size: 0.59rem;
}

#burns .rh-compact-table th {
  background: #fbf2ec;
  color: #814019;
}

#payments .rh-compact-table th {
  background: #f1f8ed;
  color: #2f7117;
}

.rh-compact-table td {
  padding: 9px 12px;
  font-size: 0.71rem;
}

#burns .rh-compact-table tbody tr:hover {
  background: rgba(183, 93, 33, 0.035);
}

#payments .rh-compact-table tbody tr:hover {
  background: rgba(117, 216, 47, 0.035);
}

#burns .amount-green {
  color: var(--rh-ink);
}

#burns .amount-orange {
  color: #9a4b18;
}

#payments .amount-green {
  color: var(--rh-green-deep);
}

.rh-compact-table .tracking {
  gap: 1px;
  font-size: 0.62rem;
}

.rh-compact-table .table-link {
  padding: 4px 7px;
  border-radius: 5px;
}

#burns .rh-compact-table .table-link {
  border-color: rgba(183, 93, 33, 0.22);
  background: rgba(183, 93, 33, 0.055);
  color: #8a4519;
}

#payments .rh-compact-table .table-link {
  border-color: rgba(52, 126, 22, 0.22);
  background: rgba(117, 216, 47, 0.07);
  color: var(--rh-green-deep);
}

.rh-empty-ledger-row td {
  padding: 20px;
  color: var(--rh-muted);
  text-align: center;
}

.rh-ledger-pagination {
  min-height: 43px;
  margin: 0;
  padding: 8px 14px;
  border-top: 1px solid var(--rh-line);
  background: #fafbf8;
}

#burns .rh-ledger-pagination {
  border-color: rgba(183, 93, 33, 0.14);
  background: #fffaf6;
}

#payments .rh-ledger-pagination {
  border-color: rgba(52, 126, 22, 0.14);
  background: #f9fdf6;
}

.rh-ledger-pagination:empty {
  display: none;
}

/* Shared footer */
.rh-shell .site-footer-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 24px;
  padding: 18px 20px;
  border: 1px solid rgba(34, 55, 42, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 50%, rgba(117, 216, 47, 0.075), transparent 17rem),
    rgba(249, 251, 247, 0.9);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92) inset,
    0 16px 44px rgba(25, 46, 31, 0.065);
  backdrop-filter: blur(14px);
}

.rh-shell .site-footer-main .rh-brand {
  color: var(--rh-ink);
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.06rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.rh-shell .site-footer-main .brand-mark {
  width: 30px;
  height: 30px;
}

.rh-shell .site-footer-main > p {
  max-width: 66ch;
  color: #6b776e;
  font-size: 0.7rem;
  line-height: 1.45;
}

.rh-shell .site-footer-main > .text-button {
  padding: 3px 0;
  border-bottom: 1px solid rgba(52, 126, 22, 0.28);
  color: var(--rh-green-deep);
  font-size: 0.68rem;
  font-weight: 750;
}

.rh-shell .site-footer-main > .text-button:hover {
  border-color: var(--rh-green-deep);
  color: var(--rh-ink);
}

.rh-shell .site-footer-main .footer-links {
  gap: 7px;
}

.rh-shell .site-footer-main .icon-link {
  width: 36px;
  height: 36px;
  border-color: rgba(34, 55, 42, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
  color: #536058;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.rh-shell .site-footer-main .icon-link:hover {
  border-color: rgba(52, 126, 22, 0.28);
  background: rgba(117, 216, 47, 0.11);
  color: var(--rh-green-deep);
  transform: translateY(-1px);
}

.rh-footer {
  grid-template-columns: auto 1fr;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto 20px;
  padding: 28px 32px;
  border: 0;
  border-radius: 14px;
  background: var(--rh-dark);
  color: #fff;
}

.rh-footer .brand {
  color: #fff;
}

.rh-footer p {
  grid-column: auto;
  max-width: 560px;
  justify-self: center;
  margin: 0;
  color: #9fac9f;
  font-size: 0.76rem;
  text-align: center;
}

.rh-footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-self: end;
}

.rh-footer-links a {
  color: #bdc8bf;
  font-size: 0.75rem;
}

.rh-footer-links a:hover {
  color: var(--rh-green-bright);
}

@media (max-width: 980px) {
  .rh-nav a.current {
    box-shadow: none;
  }

  .rh-hero {
    grid-template-columns: 1fr;
  }

  .rh-hero-copy {
    max-width: 800px;
  }

  .rh-mark-stage {
    width: min(100%, 480px);
  }

  .rh-home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .rh-home-copy {
    max-width: 780px;
  }

  .rh-system-card {
    max-width: 620px;
  }

  .rh-home-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rh-metric-grid-all-time:not(.rh-metric-grid-live) {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }

  .rh-footer {
    justify-items: center;
    padding: 28px 24px;
  }

  .rh-footer-links {
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .rh-home-hero,
  .rh-home-proof,
  .rh-home-section,
  .rh-home-cta,
  .rh-analytics-page {
    width: min(100% - 32px, 1180px);
  }

  .rh-footer {
    width: min(100% - 24px, 1240px);
  }

  .rh-shell .site-footer-main {
    width: min(100% - 24px, 1180px);
    margin-bottom: 12px;
    padding: 18px;
  }

  .rh-home-hero {
    gap: 52px;
    padding-top: 72px;
  }

  .rh-hero {
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .rh-hero h1 {
    margin: 22px 0 26px;
    font-size: clamp(2.75rem, 11.5vw, 4rem);
    line-height: 0.92;
  }

  .rh-mark-stage {
    width: min(72vw, 360px);
    aspect-ratio: auto;
  }

  .rh-mark-stage img {
    height: auto;
  }

  .rh-impact {
    padding-bottom: 64px;
  }

  .rh-impact-grid {
    grid-template-columns: 1fr;
  }

  .rh-impact-metric {
    min-height: 174px;
    border-right: 0;
    border-bottom: 1px solid var(--rh-line);
  }

  .rh-impact-metric:last-child {
    border-bottom: 0;
  }

  .rh-impact-debt > strong {
    font-size: clamp(1.2rem, 5.7vw, 1.75rem);
  }

  .rh-transparency {
    display: grid;
    gap: 28px;
    padding: 36px 26px;
  }

  .rh-transparency .button {
    width: fit-content;
  }

  .rh-new-features-grid {
    grid-template-columns: 1fr;
  }

  .rh-new-features-grid .step-card {
    min-height: 0;
    padding: 22px;
  }

  .rh-new-features-grid .step-number {
    margin-bottom: 18px;
  }

  .rh-features-docs {
    display: grid;
    gap: 22px;
  }

  .rh-features-docs .button {
    width: fit-content;
  }

  .rh-home-copy h1 {
    font-size: clamp(3.4rem, 15vw, 5.2rem);
  }

  .rh-home-section {
    gap: 28px;
    padding: 64px 0;
  }

  .rh-home-proof + .rh-home-section {
    margin-top: 64px;
  }

  .rh-home-about-copy {
    gap: 16px;
  }

  .rh-home-about-copy p {
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .rh-home-proof {
    grid-template-columns: 1fr;
  }

  .rh-home-proof > div {
    border-right: 0;
    border-bottom: 1px solid var(--rh-line);
  }

  .rh-home-proof > div:last-child {
    border-bottom: 0;
  }

  .rh-home-links {
    grid-template-columns: 1fr;
  }

  .rh-home-cta {
    display: grid;
    align-items: start;
    padding: 40px 28px;
  }

  .rh-page-heading,
  .rh-panel-heading {
    align-items: flex-start;
  }

  .rh-analytics-page {
    padding-top: 42px;
  }

  .rh-metric-grid,
  .rh-metric-grid-all-time {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-metric-grid article {
    border-bottom: 1px solid var(--rh-line);
  }

  .rh-metric-grid article:nth-child(2n) {
    border-right: 0;
  }

  .rh-metric-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .rh-analytics-category-stack {
    gap: 10px;
    padding: 10px;
  }

  .rh-category-heading {
    padding: 17px 16px 15px;
  }

  .rh-category-metric-grid {
    grid-template-columns: 1fr;
  }

  .rh-category-metric-grid article,
  .rh-category-metric-grid article:nth-child(2n),
  .rh-category-metric-grid article:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--rh-line);
  }

  .rh-category-metric-grid article:last-child {
    border-bottom: 0;
  }

  .rh-panel-heading {
    flex-wrap: wrap;
  }

  .rh-compact-table tbody {
    gap: 8px;
    padding: 10px;
  }

  .rh-compact-table tr {
    padding: 10px 12px;
  }

  #burns .rh-compact-table tr {
    border-color: rgba(183, 93, 33, 0.2);
    box-shadow: inset 3px 0 #b75d21;
  }

  #payments .rh-compact-table tr {
    border-color: rgba(52, 126, 22, 0.2);
    box-shadow: inset 3px 0 var(--rh-green);
  }

  .rh-compact-table td {
    grid-template-columns: minmax(88px, 30%) 1fr;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .rh-actions,
  .rh-actions .button {
    width: 100%;
  }

  .rh-hero h1 span {
    display: inline;
  }

  .rh-transparency .button,
  .rh-final-actions,
  .rh-final-actions .button {
    width: 100%;
  }

  .rh-final {
    padding: 54px 22px;
    text-align: center;
  }

  .rh-home-actions,
  .rh-home-actions .button {
    width: 100%;
  }

  .rh-impact-metric {
    min-height: 168px;
    padding: 26px 22px;
  }

  .rh-impact-debt > strong {
    font-size: clamp(1.03rem, 5.25vw, 1.4rem);
  }

  .rh-system-route {
    grid-template-columns: 48px 1fr;
  }

  .rh-page-heading {
    display: grid;
  }

  .rh-overview-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .rh-period-switch {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rh-period-switch button {
    min-height: 44px;
    padding: 0 8px;
  }

  .rh-category-heading {
    align-items: flex-start;
    gap: 10px;
  }

  .rh-contract-link {
    padding: 7px 8px;
    font-size: 0.59rem;
  }

  .rh-activity-feed {
    padding: 10px;
  }

  .rh-activity-pagination {
    padding: 0 10px 10px;
  }

  .rh-activity-item {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px 11px;
    padding: 12px;
  }

  .rh-activity-meta {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }

  .rh-metric-grid article {
    padding: 13px 14px 15px;
  }

  #payments .rh-compact-table tbody td,
  #burns .rh-compact-table tbody td {
    grid-template-columns: minmax(82px, 30%) 1fr;
    gap: 8px;
  }

  .rh-footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .rh-metric-grid,
  .rh-metric-grid-all-time {
    grid-template-columns: 1fr;
  }

  .rh-metric-grid article,
  .rh-metric-grid article:nth-child(2n),
  .rh-metric-grid article:nth-last-child(-n + 2) {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--rh-line);
  }

  .rh-metric-grid article:last-child,
  .rh-metric-grid-all-time article:last-child {
    border-top: 0;
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rh-mark-stage img {
    animation: none;
  }
}
