/* ============================================================
   Vital Vybez, The Riddim front door (/riddim/)
   Built on css/brand.css tokens (DESIGN_SYSTEM.md v2.0) and the
   shared components in css/public.css. Page classes are .rd-*
   ============================================================ */

/* Anchored sections must clear the sticky header. */
[id] { scroll-margin-top: 96px; }

/* Grid children default to min-width:auto and blow the track out.
   Every card grid below opts in to shrinking instead. */
.rd-fact, .rd-card, .rd-trade__col, .rd-panel, .rd-panel__body,
.rd-nominate__grid > *, .rd-qual__q > *,
.rd-acc__text, .rd-metric, .rd-metric span, .rd-ladder__col { min-width: 0; }

/* ---------- Heading rhythm ----------
   This stylesheet is loaded by this page alone, so these overrides
   stay local. Headings get more air above than below, so each one
   clearly belongs to the block underneath it. */
.sec-head { margin-bottom: var(--space-12); }

/* ---------- Hero (solo, no artwork plate) ---------- */
.rd-hero .hero-pub__in { grid-template-columns: 1fr; gap: 0; }
/* The solo hero has no artwork plate, so the column can breathe. The
   paragraphs still cap at 52ch below; this only stops the display
   headline breaking to a fifth line. */
.rd-hero__body { max-width: 760px; }
.rd-hero .hero-pub__title { max-width: 26ch; }
.rd-hero .accent { color: var(--vv-yellow, #FDC800); }
.rd-hero .hero-pub__sub { max-width: 52ch; }
.rd-hero .hero-pub__sub + .hero-pub__sub { margin-top: var(--space-3); }

/* ---------- The trade ---------- */
.rd-trade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 800px) { .rd-trade { grid-template-columns: 1fr; } }

.rd-trade__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  border: 3px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  background: var(--vv-white, #fff);
  padding: clamp(18px, 3vw, 26px);
  overflow-wrap: break-word;
}
.rd-trade__col--vv { background: var(--vv-dark-green, #002900); }

.rd-trade__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vv-green, #006234);
}
.rd-trade__col--vv .rd-trade__tag { color: var(--vv-yellow, #FDC800); }

.rd-trade__col h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: 1.15rem;
  color: var(--vv-dark-green, #002900);
  margin: var(--space-2) 0;
}
.rd-trade__col--vv h3 { color: var(--vv-cream, #E0CCB0); }

.rd-list { display: grid; gap: 10px; }
.rd-list li {
  position: relative;
  padding-left: 24px;
  font-size: .95rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}
.rd-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 12px;
  height: 12px;
  background-image:
    linear-gradient(45deg,  var(--vv-green, #006234) 25%, transparent 25%),
    linear-gradient(-45deg, var(--vv-green, #006234) 25%, transparent 25%),
    linear-gradient(45deg,  transparent 75%, var(--vv-green, #006234) 75%),
    linear-gradient(-45deg, transparent 75%, var(--vv-green, #006234) 75%);
  background-size: 50% 50%;
  background-position: 0 0, 0 50%, 50% -50%, -50% 0;
  background-color: var(--vv-yellow, #FDC800);
  border: 2px solid var(--vv-black, #000);
}
.rd-trade__col--vv .rd-list li { color: var(--vv-cream, #E0CCB0); }
.rd-trade__col--vv .rd-list li::before {
  background-image:
    linear-gradient(45deg,  var(--vv-yellow, #FDC800) 25%, transparent 25%),
    linear-gradient(-45deg, var(--vv-yellow, #FDC800) 25%, transparent 25%),
    linear-gradient(45deg,  transparent 75%, var(--vv-yellow, #FDC800) 75%),
    linear-gradient(-45deg, transparent 75%, var(--vv-yellow, #FDC800) 75%);
  background-color: var(--vv-green, #006234);
  border-color: var(--vv-yellow, #FDC800);
}

/* ---------- The stepper ---------- */
.rd-stepper { margin-top: var(--space-8); }

.rd-rail {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 2px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.rd-stop {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 15px;
  border: 2px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  background: var(--vv-white, #fff);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.rd-stop:hover { transform: translateY(-2px); box-shadow: 0 4px 0 rgba(0,0,0,.18); }
.rd-stop b {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6b665c;
}
.rd-stop span {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: .95rem;
  white-space: nowrap;
  color: var(--vv-dark-green, #002900);
}
.rd-stop--gate { background: var(--vv-red, #E63D11); }
.rd-stop--gate b, .rd-stop--gate span { color: var(--vv-white, #fff); }
.rd-stop--own { background: var(--vv-yellow, #FDC800); }
.rd-stop.is-active {
  background: var(--vv-dark-green, #002900);
  transform: translateY(-2px);
  box-shadow: 0 4px 0 rgba(0,0,0,.22);
}
.rd-stop.is-active b { color: var(--vv-yellow, #FDC800); }
.rd-stop.is-active span { color: var(--vv-white, #fff); }
.rd-stop:focus-visible { outline: 3px solid var(--vv-yellow, #FDC800); outline-offset: 2px; }

.rd-rail__link {
  flex: 0 0 16px;
  height: 2px;
  background: rgba(0,0,0,.22);
}

.rd-panels { margin-top: var(--space-5); }

.rd-panel {
  display: none;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  border: 3px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  background: var(--vv-white, #fff);
  padding: clamp(18px, 3vw, 30px);
  overflow-wrap: break-word;
}
.rd-panel.is-active { display: grid; animation: rdIn .28s ease both; }
@keyframes rdIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rd-panel--gate { border-left-width: 9px; border-left-color: var(--vv-red, #E63D11); }
.rd-panel--own { background: var(--vv-yellow, #FDC800); }

.rd-panel__code {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vv-dark-green, #002900);
  color: var(--vv-yellow, #FDC800);
  border: 2px solid var(--vv-black, #000);
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
}
.rd-panel--own .rd-panel__code { background: var(--vv-black, #000); }

.rd-panel__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  background: var(--vv-red, #E63D11);
  color: var(--vv-white, #fff);
  border: 2px solid var(--vv-black, #000);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.rd-panel__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6b665c;
}
.rd-panel h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--vv-dark-green, #002900);
  margin: var(--space-3) 0 var(--space-4);
}
.rd-panel--own h3 { color: #000; }
.rd-panel__line {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.35;
  margin-bottom: 10px;
}
.rd-panel p { font-size: .97rem; line-height: 1.65; max-width: 64ch; }
.rd-panel__who {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 2px solid rgba(0,0,0,.12);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #55524a;
}
@media (max-width: 560px) {
  .rd-panel { grid-template-columns: 1fr; gap: var(--space-3); }
}

.rd-progress {
  margin-top: var(--space-4);
  height: 8px;
  background: rgba(0,0,0,.12);
  border: 2px solid var(--vv-black, #000);
  border-radius: 999px;
  overflow: hidden;
}
.rd-progress__fill {
  display: block;
  height: 100%;
  width: 11%;
  background: var(--vv-yellow, #FDC800);
  transition: width .3s ease;
}

/* ---------- Accordion ---------- */
.rd-acc { display: grid; gap: 10px; }
.rd-acc__h { margin: 0; }

.rd-acc__btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: var(--space-3);
  padding: 15px 18px;
  border: 3px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  background: var(--vv-white, #fff);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease;
}
.rd-acc__btn:hover { background: #faf7f0; }
.rd-acc__btn[aria-expanded="true"] {
  background: var(--vv-dark-green, #002900);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.rd-acc__btn:focus-visible { outline: 3px solid var(--vv-yellow, #FDC800); outline-offset: 2px; }

.rd-acc__n {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vv-yellow, #FDC800);
  color: #000;
  border: 2px solid var(--vv-black, #000);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.rd-acc__glyph { width: 26px; height: 26px; flex: 0 0 auto; color: var(--vv-dark-green, #002900); }
.rd-acc__glyph svg { width: 100%; height: 100%; display: block; }

.rd-acc__text { display: flex; flex-direction: column; gap: 3px; }
.rd-acc__t {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: clamp(1rem, 2.2vw, 1.28rem);
  line-height: 1.08;
  color: var(--vv-dark-green, #002900);
  overflow-wrap: break-word;
}
.rd-acc__win {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.35;
  color: #5a5648;
  overflow-wrap: break-word;
}
.rd-acc__btn[aria-expanded="true"] .rd-acc__t { color: var(--vv-yellow, #FDC800); }
.rd-acc__btn[aria-expanded="true"] .rd-acc__glyph { color: var(--vv-yellow, #FDC800); }
.rd-acc__btn[aria-expanded="true"] .rd-acc__win { color: var(--vv-cream, #E0CCB0); }

.rd-acc__sign { position: relative; width: 22px; height: 22px; flex: 0 0 auto; }
.rd-acc__sign::before,
.rd-acc__sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--vv-dark-green, #002900);
  transform: translate(-50%, -50%);
}
.rd-acc__sign::before { width: 18px; height: 2.5px; }
.rd-acc__sign::after { width: 2.5px; height: 18px; transition: transform .2s ease; }
.rd-acc__btn[aria-expanded="true"] .rd-acc__sign::before,
.rd-acc__btn[aria-expanded="true"] .rd-acc__sign::after { background: var(--vv-yellow, #FDC800); }
.rd-acc__btn[aria-expanded="true"] .rd-acc__sign::after { transform: translate(-50%, -50%) scaleY(0); }

.rd-acc__panel {
  border: 3px solid var(--vv-black, #000);
  border-top: 0;
  border-radius: 0 0 var(--radius-sm, 8px) var(--radius-sm, 8px);
  background: var(--vv-white, #fff);
  padding: 16px 18px 18px;
}
.rd-acc__panel[hidden] { display: none; }
.rd-acc__panel p {
  margin: 0 0 12px;
  font-size: .97rem;
  line-height: 1.68;
  max-width: 68ch;
  overflow-wrap: break-word;
}
.rd-acc__panel > *:last-child { margin-bottom: 0; }

/* The figure chips that sit under each rule. One number, one plain
   sentence. They are the point of the section, so they get a box. */
.rd-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 2px 0 12px;
}
.rd-metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 12px;
  border: 2.5px solid var(--vv-black, #000);
  border-radius: 6px;
  background: #faf7f0;
}
.rd-metric b {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--vv-dark-green, #002900);
}
.rd-metric span { font-size: .82rem; line-height: 1.35; color: #3a372f; overflow-wrap: break-word; }
.rd-metric .prov { margin-left: 4px; }

/* Storyboard 1, the cap, as eight places with three filled. */
.rd-cap { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.rd-cap__t {
  width: 30px;
  height: 30px;
  border: 2.5px solid var(--vv-black, #000);
  border-radius: 4px;
  background: var(--vv-white, #fff);
}
.rd-cap__t.is-on {
  background: repeating-conic-gradient(var(--vv-yellow, #FDC800) 0% 25%, var(--vv-dark-green, #002900) 0% 50%);
  background-size: 12px 12px;
}
.rd-cap__k {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: .72rem;
  line-height: 1.55;
  color: #5a5648;
  max-width: 62ch;
}

/* The cap, as a standing note under the stepper rather than a promise.
   It describes how we run, so it sits with the stages and not with the
   seven things we promise the creator. */
.rd-capnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: var(--space-6);
  padding: 14px 16px;
  border: 2.5px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  background: #faf7f0;
}
.rd-capnote .rd-cap { margin: 0; }
.rd-capnote__t {
  flex: 1 1 260px;
  font-size: .88rem;
  line-height: 1.55;
  color: #3a372f;
}

/* The market promise, the named buyer, shown rather than described. */
.rd-buyer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 10px 0 0;
  padding: 12px 14px;
  border: 2.5px dashed var(--vv-black, #000);
  border-radius: 6px;
  background: var(--vv-white, #fff);
}
.rd-buyer__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--vv-dark-green, #002900);
}
.rd-buyer__where {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5a5648;
}
.rd-buyer__note {
  flex: 1 1 100%;
  font-size: .86rem;
  line-height: 1.55;
  color: #3a372f;
}

/* Storyboard 2, the royalty, as three rising bars.
   The bars carry a fixed height and the columns bottom-align, so the
   staircase is drawn by the bars alone and nothing can overflow. */
.rd-ladder { display: flex; align-items: flex-end; gap: 12px; margin: 4px 0 12px; }
.rd-ladder__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.rd-ladder__col b { font-family: var(--font-display); font-size: 1.05rem; color: var(--vv-black, #000); }
.rd-ladder__col i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5a5648;
}
.rd-ladder__bar {
  width: 100%;
  background: var(--vv-yellow, #FDC800);
  border: 2.5px solid var(--vv-black, #000);
  border-radius: 4px 4px 0 0;
}
.rd-ladder__col:nth-child(1) .rd-ladder__bar { height: 46px; }
.rd-ladder__col:nth-child(2) .rd-ladder__bar { height: 76px; }
.rd-ladder__col:nth-child(3) .rd-ladder__bar { height: 106px; background: var(--vv-green, #006234); }

@media (max-width: 560px) {
  .rd-acc__btn { gap: var(--space-2); padding: 13px 14px; }
  .rd-acc__n { width: 34px; height: 34px; font-size: 1rem; }
  .rd-acc__glyph { width: 22px; height: 22px; }
  .rd-acc__panel { padding: 14px; }
  .rd-ladder__col:nth-child(1) .rd-ladder__bar { height: 38px; }
  .rd-ladder__col:nth-child(2) .rd-ladder__bar { height: 62px; }
  .rd-ladder__col:nth-child(3) .rd-ladder__bar { height: 86px; }
}

/* ---------- The numbers ---------- */
.rd-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.rd-fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 3px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  background: var(--vv-white, #fff);
  padding: var(--space-5);
  overflow-wrap: break-word;
}
.rd-fact__num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--vv-dark-green, #002900);
}
.rd-fact__lbl { font-size: .9rem; line-height: 1.5; color: #3a372f; }

/* ---------- What we put in instead of cash ----------
   The second axis of the deal, drawn. Each bar is a stage of our own
   time, its width set by --h against the 21-hour total, so the stages
   are comparable at a glance and the total is the fullest bar. */
.rd-hours {
  display: grid;
  gap: 8px;
  margin: var(--space-5) 0 var(--space-6);
  padding: clamp(16px, 2.5vw, 22px);
  border: 3px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  background: #faf7f0;
}
.rd-hours__row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(56px, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.rd-hours__lbl {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  font-size: .82rem;
  line-height: 1.35;
  color: #3a372f;
  overflow-wrap: break-word;
}
.rd-hours__lbl b {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: .95rem;
  color: var(--vv-dark-green, #002900);
}
.rd-hours__track {
  display: block;
  height: 18px;
  border: 2.5px solid var(--vv-black, #000);
  border-radius: 4px;
  background: var(--vv-white, #fff);
  overflow: hidden;
}
.rd-hours__track i {
  display: block;
  height: 100%;
  width: calc(var(--h, 0) / 21 * 100%);
  background: var(--vv-yellow, #FDC800);
  border-right: 2.5px solid var(--vv-black, #000);
}
.rd-hours__n {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-align: right;
  white-space: nowrap;
  color: var(--vv-dark-green, #002900);
}
.rd-hours__row--tot {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 2.5px solid var(--vv-black, #000);
}
.rd-hours__row--tot .rd-hours__n { font-size: 1.35rem; }
/* The total bar carries the checkered mark rather than a value: it is
   the whole of the time, so nothing is left white. */
.rd-hours__row--tot .rd-hours__track {
  background: repeating-conic-gradient(var(--vv-dark-green, #002900) 0% 25%, var(--vv-yellow, #FDC800) 0% 50%);
  background-size: 10px 10px;
}

/* What the hours cost us, against what reaches you. Cost on the left,
   the invoice on the right, and they are two different questions. */
.rd-worth {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.rd-worth__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-5);
  border: 3px solid var(--vv-black, #000);
  border-left-width: 9px;
  border-left-color: var(--vv-green, #006234);
  border-radius: var(--radius-sm, 8px);
  background: var(--vv-white, #fff);
  overflow-wrap: break-word;
}
.rd-worth__col--you { border-left-color: var(--vv-yellow, #FDC800); }
.rd-worth__num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  line-height: 1;
  color: var(--vv-dark-green, #002900);
}
.rd-worth__col--you .rd-worth__num { color: var(--vv-green, #006234); }
.rd-worth__lbl { font-size: .88rem; line-height: 1.5; color: #3a372f; }

/* The hours, put on the table as three positions on one lever. */
.rd-lever2 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}
.rd-lever2__opt {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  border: 2.5px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  background: var(--vv-white, #fff);
  overflow-wrap: break-word;
}
/* The paid route is the one that needs explaining, so it is the one
   that is marked. */
.rd-lever2__opt--pay { border-width: 3px; background: var(--vv-yellow, #FDC800); }
.rd-lever2__tag {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vv-green, #006234);
}
.rd-lever2__opt--pay .rd-lever2__tag { color: #000; }
.rd-lever2__opt h4 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: 1.15rem;
  color: var(--vv-black, #000);
}
.rd-lever2__opt p { margin: 0; font-size: .9rem; line-height: 1.6; color: #3a372f; }
.rd-lever2__opt--pay p { color: #000; }
.rd-lever2__cost {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 2px solid rgba(0,0,0,.16);
}
.rd-lever2__cost span {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b665c;
}
.rd-lever2__cost b {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: right;
  color: var(--vv-dark-green, #002900);
}
.rd-lever2__opt--pay .rd-lever2__cost b { color: #000; }

/* The closing note of the section. It sits on the page ground, not in
   the dark calculator, so it reads in ink. */
.rd-terms-note {
  max-width: 74ch;
  margin: 0;
  padding: 14px 16px;
  border: 2.5px solid var(--vv-black, #000);
  border-left-width: 9px;
  border-left-color: var(--vv-yellow, #FDC800);
  border-radius: var(--radius-sm, 8px);
  background: #faf7f0;
  font-size: .88rem;
  line-height: 1.65;
  color: #3a372f;
}

@media (max-width: 820px) {
  .rd-lever2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .rd-worth { grid-template-columns: minmax(0, 1fr); }
  .rd-hours__row { grid-template-columns: minmax(0, 1fr) auto; }
  .rd-hours__track { display: none; }
}

/* The sub-heading opens a new block inside the section, so it gets a
   rule above it and a lot more air than it has below. */
.rd-sub {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--vv-dark-green, #002900);
  margin: clamp(56px, 7vw, 88px) 0 var(--space-6);
  padding-top: var(--space-6);
  border-top: 3px solid var(--vv-black, #000);
}

.rd-instr {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-5);
}
.rd-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 3px solid var(--vv-black, #000);
  border-left-width: 9px;
  border-radius: var(--radius-sm, 8px);
  background: var(--vv-white, #fff);
  padding: var(--space-5);
  overflow-wrap: break-word;
  transition: transform .16s ease, box-shadow .16s ease;
}
.rd-card:hover { transform: translateY(-3px); box-shadow: 0 6px 0 rgba(0,0,0,.16); }
.rd-card--default { border-left-color: var(--vv-yellow, #FDC800); }
.rd-card--scale { border-left-color: var(--vv-green, #006234); }

.rd-card__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6b665c;
}
.rd-card h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: 1.12rem;
  color: var(--vv-dark-green, #002900);
}
.rd-card p { font-size: .94rem; line-height: 1.62; }
.rd-card ul { display: grid; gap: 7px; }
.rd-card ul li {
  position: relative;
  padding-left: 18px;
  font-size: .89rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}
.rd-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 9px;
  height: 9px;
  background: var(--vv-yellow, #FDC800);
  border: 2px solid var(--vv-black, #000);
}

.rd-legend {
  margin-top: var(--space-6);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 2;
  color: #6b665c;
}

/* ---------- The calculator ----------
   The rates above become money here. Inputs on the left, the arithmetic
   on the right, and a verdict against the floor. The panel is dark so it
   reads as a working instrument rather than another card. */
.rd-calc__lede {
  max-width: 66ch;
  margin: -8px 0 var(--space-5);
  font-size: .97rem;
  line-height: 1.7;
  color: #3a372f;
}
.rd-calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  padding: clamp(18px, 3vw, 30px);
  border: 3px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  background: var(--vv-dark-green, #002900);
  color: var(--vv-cream, #E0CCB0);
}
.rd-calc__in { display: grid; gap: 14px; align-content: start; }
.rd-calc__f { display: grid; gap: 6px; }
.rd-calc__f label,
.rd-calc__flab {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vv-cream, #E0CCB0);
}
.rd-calc__rail {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.rd-calc__val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--vv-yellow, #FDC800);
  white-space: nowrap;
}

/* The sliders. The native appearance is stripped so the thumb can carry
   the brand and stay big enough to hit on a phone (AT7.5). */
.rd-calc__r {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  margin: 7px 0 3px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(224,204,176,.34);
  cursor: pointer;
}
.rd-calc__r::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2.5px solid var(--vv-black, #000);
  border-radius: 50%;
  background: var(--vv-yellow, #FDC800);
  cursor: pointer;
}
.rd-calc__r::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--vv-black, #000);
  border-radius: 50%;
  background: var(--vv-yellow, #FDC800);
  cursor: pointer;
}
.rd-calc__r:focus-visible { outline: 3px solid var(--vv-yellow, #FDC800); outline-offset: 4px; }

/* The three rates. A radio group rather than a select, because the
   labels are the explanation, each one names the step that lifts you. */
.rd-calc__seg { display: grid; gap: 7px; }
.rd-calc__seg label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 9px 12px;
  border: 2.5px solid rgba(224,204,176,.38);
  border-radius: 6px;
  font-size: .9rem;
  color: var(--vv-cream, #E0CCB0);
  cursor: pointer;
}
.rd-calc__seg label:hover { border-color: var(--vv-cream, #E0CCB0); }
.rd-calc__seg label:has(input:checked) {
  border-color: var(--vv-yellow, #FDC800);
  background: rgba(253,200,0,.14);
  color: var(--vv-yellow, #FDC800);
}
.rd-calc__seg input { flex: none; width: 17px; height: 17px; accent-color: var(--vv-yellow, #FDC800); }

.rd-calc__out { display: grid; gap: 10px; align-content: start; }
.rd-calc__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(224,204,176,.28);
}
.rd-calc__row span { font-size: .86rem; line-height: 1.4; }
.rd-calc__row b {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--vv-cream, #E0CCB0);
}
.rd-calc__row--lead { border-bottom: 2.5px solid var(--vv-yellow, #FDC800); }
.rd-calc__row--lead span { color: var(--vv-yellow, #FDC800); font-weight: 700; }
.rd-calc__row--lead b {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1;
  color: var(--vv-yellow, #FDC800);
}

.rd-calc__verdict {
  padding: 11px 13px;
  border: 2.5px solid var(--vv-cream, #E0CCB0);
  border-radius: 6px;
  font-size: .87rem;
  line-height: 1.55;
}
.rd-calc__verdict b { color: var(--vv-yellow, #FDC800); }
.rd-calc__verdict.is-pass { border-color: var(--vv-green, #006234); background: rgba(0,98,52,.25); }
.rd-calc__verdict.is-fail { border-color: var(--vv-red, #E63D11); background: rgba(230,61,17,.18); }

.rd-calc__note {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(224,204,176,.28);
  font-size: .82rem;
  line-height: 1.6;
  color: var(--vv-cream, #E0CCB0);
}
.rd-calc__note .prov { margin-left: 2px; }

@media (max-width: 760px) {
  .rd-calc { grid-template-columns: minmax(0, 1fr); }
}

/* The per-product split. It shows four pounds fifty as the product plus a
   small remainder, rather than as one number we keep. */
.rd-calc__splitlbl {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vv-cream, #E0CCB0);
}
.rd-split {
  display: flex;
  height: 32px;
  border: 2.5px solid var(--vv-black, #000);
  border-radius: 6px;
  overflow: hidden;
  background: var(--vv-white, #fff);
}
.rd-split__seg { height: 100%; transition: width .18s ease; }
.rd-split__seg--cost { background: #c9bfab; }
.rd-split__seg--you { background: var(--vv-yellow, #FDC800); }
.rd-split__seg--us { background: var(--vv-green, #006234); }

.rd-split__key {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: .8rem;
}
.rd-split__key li { display: flex; align-items: center; gap: 8px; }
.rd-split__key b {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--vv-cream, #E0CCB0);
}
.rd-split__k { flex: none; width: 12px; height: 12px; border-radius: 2px; }
.rd-split__k--cost { background: #c9bfab; }
.rd-split__k--you { background: var(--vv-yellow, #FDC800); }
.rd-split__k--us { background: var(--vv-green, #006234); }

/* ---------- How you earn more ---------- */
.rd-levers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-5);
}
.rd-lever {
  padding: 18px 18px 20px;
  border: 2.5px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  background: var(--vv-white, #fff);
}
.rd-lever__n {
  display: block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--vv-green, #006234);
}
.rd-lever h4 {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--vv-black, #000);
}
.rd-lever p { margin: 0; font-size: .9rem; line-height: 1.6; color: #3a372f; }

@media (max-width: 820px) {
  .rd-levers { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Botanical note ---------- */
.rd-note {
  max-width: 76ch;
  border: 3px solid var(--vv-black, #000);
  border-left-width: 9px;
  border-left-color: var(--vv-green, #006234);
  border-radius: var(--radius-sm, 8px);
  background: var(--vv-white, #fff);
  padding: clamp(18px, 3vw, 30px);
  overflow-wrap: break-word;
}
.rd-note h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--vv-dark-green, #002900);
  margin: var(--space-4) 0 var(--space-5);
}
.rd-note p { font-size: .97rem; line-height: 1.7; }
.rd-note__punch { margin-top: 10px; font-weight: 700; color: var(--vv-dark-green, #002900); }

/* ---------- Qualifier ---------- */
.rd-qual-sec {
  background: var(--vv-dark-green, #002900);
  border-top: 3px solid var(--vv-black, #000);
}
.rd-qual { max-width: 860px; }
.rd-qual__head h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--vv-yellow, #FDC800);
  margin: var(--space-3) 0 var(--space-4);
}
.rd-qual__head p { color: var(--vv-cream, #E0CCB0); font-size: 1rem; line-height: 1.6; max-width: 52ch; }

.rd-qual__qs { margin-top: var(--space-6); display: grid; gap: 12px; }
.rd-qual__q {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border: 3px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  background: var(--vv-white, #fff);
  padding: 14px 16px;
  transition: border-color .2s ease;
}
.rd-qual__q.is-answered { border-left-width: 9px; border-left-color: var(--vv-green, #006234); }
.rd-qual__q.is-no { border-left-color: var(--vv-red, #E63D11); }
.rd-qual__q p { flex: 1 1 240px; margin: 0; font-weight: 700; font-size: .98rem; }

.rd-yesno { display: flex; gap: 8px; }
.rd-yesno button {
  min-height: 44px;
  padding: 10px 20px;
  border: 2px solid var(--vv-black, #000);
  border-radius: 999px;
  background: var(--vv-white, #fff);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.rd-yesno button:hover { background: var(--vv-cream, #E0CCB0); }
.rd-yesno button.is-on { background: var(--vv-dark-green, #002900); color: var(--vv-yellow, #FDC800); }
.rd-yesno button:focus-visible { outline: 3px solid var(--vv-yellow, #FDC800); outline-offset: 2px; }

.rd-qual__out { margin-top: var(--space-5); }
.rd-qual__wait {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--vv-cream, #E0CCB0);
}
.rd-qres {
  border: 3px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  background: var(--vv-yellow, #FDC800);
  padding: var(--space-5);
  animation: rdIn .3s ease both;
}
.rd-qres h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: #000;
  margin-bottom: var(--space-3);
}
.rd-qres p { font-size: .97rem; line-height: 1.6; color: #000; max-width: 60ch; }
.rd-qres .btn { margin-top: var(--space-4); }

/* ---------- Nominate ---------- */
.rd-nominate {
  background: var(--vv-dark-green, #002900);
  border-top: 3px solid var(--vv-black, #000);
}
.rd-nominate__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: var(--space-12);
  align-items: start;
}
@media (max-width: 900px) {
  .rd-nominate__grid { grid-template-columns: 1fr; gap: var(--space-8); }
}
.rd-nominate__copy h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: clamp(1.7rem, 5vw, 3rem);
  color: var(--vv-yellow, #FDC800);
  margin: var(--space-3) 0 var(--space-5);
}
.rd-on-dark { color: var(--vv-cream, #E0CCB0); }
.rd-on-dark-muted {
  margin-top: var(--space-3);
  color: rgba(224, 204, 176, .8);
  font-size: 1rem;
  line-height: 1.6;
}
.rd-reassure { margin-top: var(--space-6); display: grid; gap: 10px; }
.rd-reassure li {
  position: relative;
  padding-left: 24px;
  font-size: .94rem;
  color: var(--vv-cream, #E0CCB0);
}
.rd-reassure li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 11px;
  height: 11px;
  background-image:
    linear-gradient(45deg,  var(--vv-yellow, #FDC800) 25%, transparent 25%),
    linear-gradient(-45deg, var(--vv-yellow, #FDC800) 25%, transparent 25%),
    linear-gradient(45deg,  transparent 75%, var(--vv-yellow, #FDC800) 75%),
    linear-gradient(-45deg, transparent 75%, var(--vv-yellow, #FDC800) 75%);
  background-size: 50% 50%;
  background-position: 0 0, 0 50%, 50% -50%, -50% 0;
  background-color: var(--vv-green, #006234);
  border: 2px solid var(--vv-yellow, #FDC800);
}

/* ---------- The form ---------- */
.rd-form-card {
  background: var(--vv-white, #fff);
  border: 3px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  padding: clamp(20px, 4vw, 32px);
  overflow-wrap: break-word;
}
.rd-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 640px) { .rd-form .form-grid { grid-template-columns: 1fr; } }

.rd-form .form-field { margin-bottom: var(--space-4); min-width: 0; }
.rd-form label.flabel {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #555;
}
.rd-form .req { color: var(--vv-red, #E63D11); }
.rd-form input,
.rd-form textarea {
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 2px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  background: #fff;
  font-family: var(--font-body);
  font-size: .95rem;
}
.rd-form input:focus-visible,
.rd-form textarea:focus-visible { outline: 3px solid var(--vv-yellow, #FDC800); outline-offset: 1px; }
.rd-form textarea { resize: vertical; min-height: 132px; }
.rd-form .field-help { margin-top: 5px; font-size: .74rem; line-height: 1.45; color: #5c5952; }
.rd-form .field-err {
  display: none;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--vv-red, #E63D11);
}
.rd-form .field-err.show { display: block; }
.rd-form .form-field.invalid input,
.rd-form .form-field.invalid textarea { border-color: var(--vv-red, #E63D11); background: #fff6f5; }

.rd-form .err-summary {
  display: none;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: #fdecea;
  border: 2px solid var(--vv-red, #E63D11);
  border-left-width: 6px;
}
.rd-form .err-summary.show { display: block; }
.rd-form .err-summary h3 {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: .84rem;
  text-transform: uppercase;
  color: var(--vv-red, #E63D11);
}
.rd-form .err-summary ul { margin: 0 0 0 16px; font-size: .84rem; }

.rd-form .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.rd-form .checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--space-4);
  padding: 12px;
  background: #f8f5ee;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm, 8px);
}
.rd-form .checkbox-row input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; }
.rd-form .checkbox-row label { margin: 0; font-size: .85rem; line-height: 1.5; color: #333; }
.rd-form .checkbox-row a { color: var(--vv-red, #E63D11); text-decoration: underline; }

.rd-form .nav-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.rd-form .send-note { font-family: var(--font-mono); font-size: .66rem; color: #6b665c; }
.rd-form button.btn-submit { min-height: 48px; }
.rd-form button.btn-submit[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 640px) {
  .rd-form .nav-buttons { flex-direction: column-reverse; align-items: stretch; }
  .rd-form button.btn-submit { width: 100%; }
}

/* ---------- Success ---------- */
.rd-success .success-tick { width: 60px; height: 60px; margin-bottom: var(--space-4); color: var(--vv-green, #006234); }
.rd-success h2 {
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: 1.6rem;
  color: var(--vv-dark-green, #002900);
}
.rd-success > p { margin-bottom: var(--space-4); line-height: 1.65; }
.rd-ref-box {
  margin-bottom: var(--space-5);
  padding: 12px 16px;
  background: var(--vv-black, #000);
  color: var(--vv-yellow, #FDC800);
  border-radius: var(--radius-sm, 8px);
  font-family: var(--font-mono);
  font-size: .78rem;
  word-break: break-word;
}
.rd-next { padding: 14px 18px; background: #f8f5ee; border: 1px solid #ddd; border-radius: var(--radius-sm, 8px); }
.rd-next h3 {
  margin-bottom: var(--space-3);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: .9rem;
  color: var(--vv-dark-green, #002900);
}
.rd-next ol { margin: 0 0 0 18px; font-size: .9rem; line-height: 1.7; }
.rd-next ol li { margin-bottom: 4px; }

/* ---------- Scroll reveal (progressive enhancement only) ---------- */
.reveal { opacity: 1; transform: none; }
html.is-js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
html.is-js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.is-js .reveal { opacity: 1; transform: none; transition: none; }
  .rd-panel.is-active, .rd-qres { animation: none; }
  .rd-stop, .rd-card, .rd-progress__fill { transition: none; }
}

/* ---------- Skip link ---------- */
.rd-skip {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--vv-yellow, #FDC800);
  color: var(--vv-black, #000);
  border: 2px solid var(--vv-black, #000);
  font-family: var(--font-mono);
  font-size: .8rem;
}
.rd-skip:focus { left: 8px; top: 8px; }

/* ---------- Ranks, drawn as stars ----------
   A rank is three stars: the ones earned are filled, the ones still to
   come are outlined. No emoji and no ★ glyph anywhere, the star is a
   branded inline SVG at the same 2.5px stroke as every other icon here. */
.rd-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  vertical-align: middle;
}
/* The is-on / is-off class sits on the <svg> itself, so the selector
   has to be svg.is-on, not .is-on svg. */
.rd-stars svg { width: 13px; height: 13px; display: block; fill: none; }
.rd-stars svg.is-off { color: rgba(0, 0, 0, .32); }
.rd-stars svg.is-on { color: var(--vv-black, #000); fill: var(--vv-yellow, #FDC800); }

/* In the rail the stars sit under the rank label. */
.rd-stop .rd-stars { margin-top: 2px; }
.rd-stop--rank .rd-stars { gap: 3px; }
.rd-stop--rank .rd-stars svg { width: 12px; height: 12px; }
.rd-stop--own .rd-stars svg.is-on { fill: var(--vv-black, #000); }
.rd-stop.is-active .rd-stars svg.is-off { color: rgba(255, 255, 255, .45); }
.rd-stop.is-active .rd-stars svg.is-on {
  color: var(--vv-yellow, #FDC800);
  fill: var(--vv-yellow, #FDC800);
}

/* In the panel the box that used to hold a letter now holds the stars,
   so the rank is legible before a word is read. */
.rd-panel__code--rank { width: auto; min-width: 56px; padding: 0 10px; }
.rd-panel__code--rank .rd-stars { gap: 3px; }
.rd-panel__code--rank .rd-stars svg { width: 14px; height: 14px; }
.rd-panel__code--rank .rd-stars svg.is-on {
  color: var(--vv-yellow, #FDC800);
  fill: var(--vv-yellow, #FDC800);
}
.rd-panel__code--rank .rd-stars svg.is-off { color: rgba(253, 200, 0, .42); }

/* ---------- The rank-to-rate table ----------
   The spine of the money section: rank in, rate out, pounds beside it.
   The frame sits on the wrapper so the dark header can round its corners. */
.rd-ranks__cap {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6b665c;
}
.rd-ranks-wrap {
  margin: 0 0 var(--space-4);
  border: 3px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  background: var(--vv-white, #fff);
}
.rd-ranks { width: 100%; border-collapse: collapse; }
.rd-ranks th, .rd-ranks td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 2px solid rgba(0, 0, 0, .12);
}
.rd-ranks thead th {
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vv-cream, #E0CCB0);
  background: var(--vv-dark-green, #002900);
}
.rd-ranks tbody th {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: 1rem;
  color: var(--vv-dark-green, #002900);
  white-space: nowrap;
}
.rd-ranks tbody td { font-size: .92rem; color: #3a372f; }
.rd-ranks tbody td:nth-child(2) { width: 36%; }
.rd-ranks tbody td:nth-child(3) {
  width: 1%;
  white-space: nowrap;
  font-family: var(--font-mono);
}
.rd-ranks tbody td:last-child { width: 1%; white-space: nowrap; }
.rd-ranks tbody td:last-child b {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--vv-green, #006234);
}
.rd-ranks tbody tr:last-child th,
.rd-ranks tbody tr:last-child td { border-bottom: 0; }
/* The top rank is the one being sold, so it is the one carrying the yellow. */
.rd-ranks tbody tr:last-child { background: var(--vv-yellow, #FDC800); }
.rd-ranks tbody tr:last-child th,
.rd-ranks tbody tr:last-child td,
.rd-ranks tbody tr:last-child td:last-child b { color: #000; }
/* Yellow star on a yellow row would vanish, so the earned star inverts. */
.rd-ranks tbody tr:last-child .rd-stars svg.is-on { fill: #000; }
.rd-ranks__note {
  max-width: 74ch;
  margin: 0 0 var(--space-6);
  font-size: .85rem;
  line-height: 1.65;
  color: #5c5952;
}
@media (max-width: 640px) {
  .rd-ranks th, .rd-ranks td { padding: 10px 9px; }
  .rd-ranks thead th { font-size: .58rem; }
  .rd-ranks tbody th { font-size: .88rem; }
  .rd-ranks tbody td { font-size: .85rem; }
  .rd-ranks tbody td:nth-child(2) { width: auto; }
  .rd-ranks tbody td:last-child b { font-size: 1.05rem; }
}

/* ---------- The exits ---------- */
.rd-exits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}
.rd-exit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 20px;
  border: 2.5px solid var(--vv-black, #000);
  border-radius: var(--radius-sm, 8px);
  background: var(--vv-white, #fff);
  overflow-wrap: break-word;
}
.rd-exit--own { border-width: 3px; background: var(--vv-yellow, #FDC800); }
.rd-exit__n {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vv-green, #006234);
}
.rd-exit--own .rd-exit__n { color: #000; }
.rd-exit h4 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: 1.12rem;
  color: var(--vv-black, #000);
}
.rd-exit p { margin: 0; font-size: .9rem; line-height: 1.6; color: #3a372f; }
.rd-exit--own p { color: #000; }
.rd-exit__keep {
  margin-top: auto;
  padding-top: 12px;
  border-top: 2px solid rgba(0, 0, 0, .16);
  font-family: var(--font-mono);
  font-size: .72rem;
  line-height: 1.5;
  color: var(--vv-dark-green, #002900);
}
.rd-exit--own .rd-exit__keep { border-top-color: rgba(0, 0, 0, .26); color: #000; }
@media (max-width: 820px) { .rd-exits { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Why you stay ---------- */
.rd-why {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}
.rd-why__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 2.5px solid var(--vv-black, #000);
  border-left-width: 9px;
  border-left-color: var(--vv-yellow, #FDC800);
  border-radius: var(--radius-sm, 8px);
  background: #faf7f0;
  overflow-wrap: break-word;
}
.rd-why__item h4 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track-display, .02em);
  font-size: 1.05rem;
  color: var(--vv-dark-green, #002900);
}
.rd-why__item p { margin: 0; font-size: .9rem; line-height: 1.6; color: #3a372f; }
@media (max-width: 640px) { .rd-why { grid-template-columns: minmax(0, 1fr); } }
