/* Robotic Execution landing. A paper page with one film: the sentence, the missed turn, the size. */

:root {
  --rx-ink: #16130f;
  --rx-ink-soft: #3f3a34;
  --rx-paper: #f3eee6;
  --rx-paper-2: #faf7f2;
  --rx-card: #fffdf9;
  --rx-line: rgba(22, 19, 15, 0.1);
  --rx-gold: #e4c48a;
  --rx-gold-deep: #a67c3d;
  --rx-rose: #e11d48;
  --rx-calm: #1f7a4d;
}

body.rx-page {
  background: var(--rx-paper);
  color: var(--rx-ink);
  font-family: Inter, system-ui, sans-serif;
}

.rx-samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.rx-samples a { min-width: 0; color: var(--rx-ink-soft); font-size: 13px; text-decoration: none; }
.rx-samples img { display: block; width: 100%; height: auto; border: 1px solid var(--rx-line); border-radius: 8px; margin-bottom: 12px; }
#ebook-download-again[hidden] { display: none; }
@media (max-width: 600px) { .rx-samples { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

.rx-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 238, 230, 0.9);
  border-bottom: 1px solid var(--rx-line);
  backdrop-filter: blur(16px);
}
.rx-top-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rx-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--rx-ink);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.rx-brand img { height: 26px; width: auto; }
.rx-nav {
  display: none;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}
.rx-nav a { color: var(--rx-ink-soft); text-decoration: none; }
.rx-nav a:hover { color: var(--rx-ink); }
.rx-nav-cta {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--rx-ink);
  color: #f6e7c1 !important;
  font-weight: 700;
}
.rx-menu {
  border: 0;
  background: transparent;
  color: var(--rx-ink);
  font-size: 20px;
  padding: 8px;
}
.rx-mobile {
  border-top: 1px solid var(--rx-line);
  background: var(--rx-paper-2);
  padding: 8px 20px 16px;
}
.rx-mobile[hidden] { display: none; }
.rx-mobile a {
  display: block;
  padding: 10px 0;
  color: var(--rx-ink);
  text-decoration: none;
}
.rx-mobile .rx-nav-cta {
  display: inline-flex;
  margin-top: 6px;
}
@media (min-width: 860px) {
  .rx-nav { display: flex; }
  .rx-menu { display: none; }
}

.rx-hero { padding: 36px 20px 44px; }
.rx-hero-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 26px;
  align-items: start;
}
.rx-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rx-gold-deep);
}
.rx-hero h1 {
  margin: 12px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: clamp(2.6rem, 4.8vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.rx-hero h1 span {
  color: #9f1239;
}
.rx-cite {
  margin: 12px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: 1.02rem;
  color: var(--rx-gold-deep);
}
.rx-cite::before { content: "— "; }
.rx-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.rx-proof li {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.7);
  border: 1px solid rgba(22, 19, 15, 0.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--rx-ink-soft);
}
.rx-deck {
  margin: 14px 0 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--rx-ink-soft);
}
.rx-deck strong { color: var(--rx-ink); font-weight: 650; }

.rx-form-card {
  padding: 20px;
  border-radius: 22px;
  background: var(--rx-card);
  border: 1px solid rgba(22, 19, 15, 0.08);
  box-shadow: 0 22px 54px rgba(48, 32, 12, 0.11);
}
.ebook-form-head { display: flex; gap: 16px; align-items: center; }
.ebook-cover {
  width: 92px;
  border-radius: 4px 8px 8px 4px;
  box-shadow: 8px 14px 24px rgba(22, 19, 15, 0.22);
  transform: rotate(-2deg);
}
.ebook-form label {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #44403c;
}
.ebook-form input[type="email"],
.ebook-form input[type="text"] {
  width: 100%;
  margin-top: 4px;
  border: 1px solid #e7e0d6;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  color: var(--rx-ink);
  background: #fff;
}
.ebook-form input:focus {
  outline: 2px solid #1f7a4d;
  outline-offset: 1px;
  border-color: #1f7a4d;
}
.ebook-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  color: #57534e;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
}
.ebook-check input { margin-top: 2px; }
.ebook-submit {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  background: #16130f;
  color: #f6e7c1;
  font-weight: 750;
  font-size: 1rem;
  cursor: pointer;
}
.ebook-submit:hover { background: #2a241c; }
.ebook-submit:disabled { opacity: 0.7; cursor: wait; }
.ebook-note { margin: 10px 0 0; font-size: 12px; line-height: 1.45; color: #78716c; }
.ebook-status {
  display: none;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 13px;
}

.rx-shell { max-width: 1120px; margin: 0 auto; padding: 72px 20px; }
.rx-shell h2 {
  margin: 8px 0 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.rx-lead {
  margin: 14px 0 0;
  max-width: 40rem;
  color: var(--rx-ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}

.rx-break {
  background: var(--rx-ink);
  color: #f6f1e8;
}
.rx-break .rx-kicker { color: var(--rx-gold); }
.rx-break .rx-lead { color: #d6d3d1; }

.rx-strip-wrap { margin-top: 28px; }
.rx-play {
  position: relative;
  height: 3px;
  margin-top: 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.rx-play i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 16.6667%;
  border-radius: 99px;
  background: #e4c48a;
  /* One step per card so the marker sits under the card that is lit. Sliding it
     smoothly over the same 12s leaves it a whole card behind by step 6. */
  animation: rx-play 12s steps(6, end) infinite;
}
@keyframes rx-play {
  from { left: 0; }
  to { left: 100%; }
}
.rx-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(168px, 1fr);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.rx-frame {
  scroll-snap-align: start;
  padding: 14px 12px 16px;
  border-radius: 18px;
  background: #211c18;
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 176px;
  animation: rx-frame 12s linear infinite;
}
/* Positive delays, so the highlight walks 1 to 6 left to right. A negative delay
   would start each card further ahead in the loop and run the steps backwards. */
.rx-frame:nth-child(2) { animation-delay: 2s; }
.rx-frame:nth-child(3) { animation-delay: 4s; }
.rx-frame:nth-child(4) { animation-delay: 6s; }
.rx-frame:nth-child(5) { animation-delay: 8s; }
.rx-frame:nth-child(6) { animation-delay: 10s; }
@keyframes rx-frame {
  0%, 14% { border-color: rgba(228, 196, 138, 0.7); transform: translateY(-3px); }
  20%, 100% { border-color: rgba(255, 255, 255, 0.06); transform: none; }
}
.rx-frame svg { width: 64px; height: 48px; display: block; }
.rx-frame strong { display: block; margin-top: 12px; font-size: 15px; }
.rx-frame span { display: block; margin-top: 4px; color: #a8a29e; font-size: 13px; line-height: 1.35; }
.rx-grow {
  transform-box: fill-box;
  transform-origin: left center;
  animation: rx-grow 12s linear infinite;
}
@keyframes rx-grow {
  0%, 78% { transform: scaleX(0.2); }
  90%, 100% { transform: scaleX(1); }
}
.rx-stop {
  transform-box: fill-box;
  transform-origin: left center;
  animation: rx-stop 12s linear infinite;
}
@keyframes rx-stop {
  0%, 30% { transform: translateX(0); }
  46%, 100% { transform: translateX(10px); }
}

.rx-hunt-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}
.rx-chart {
  position: relative;
  background: var(--rx-card);
  border: 1px solid var(--rx-line);
  border-radius: 24px;
  padding: 12px 8px 8px;
  box-shadow: 0 16px 40px rgba(48, 32, 12, 0.06);
}
.rx-plot { position: relative; }
.rx-hunt-svg { width: 100%; height: auto; display: block; }
.rx-pin {
  position: absolute;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fffdf9;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
}
.rx-pin.level {
  left: 8px;
  top: 76%;
  color: #8a5a2b;
  animation: rx-level-tag 16s linear infinite;
}
.rx-pin.late {
  left: 54%;
  top: 6px;
  transform: translateX(-50%);
  color: #e11d48;
  animation: rx-chase 16s linear infinite;
}
.rx-pin.wait,
.rx-pin.entry {
  right: 8px;
  top: 6px;
}
.rx-pin.wait {
  color: #8a5a2b;
  animation: rx-wait 16s linear infinite;
}
.rx-pin.entry {
  color: #1f7a4d;
  animation: rx-reentry 16s linear infinite;
}
.rx-level {
  transform-box: fill-box;
  transform-origin: left center;
  animation: rx-level 16s linear infinite;
}
.rx-level-line { stroke: #a67c3d; stroke-width: 1.5; stroke-dasharray: 4 6; }
.rx-level-tag { animation: rx-level-tag 16s linear infinite; }
.rx-level-tag rect { fill: #fffdf9; stroke: #a67c3d; stroke-width: 1.25; }
.rx-level-tag text,
.rx-chase text,
.rx-wait text,
.rx-reentry text {
  font-family: Inter, sans-serif;
  font-weight: 700;
}
.rx-level-tag text {
  fill: #8a5a2b;
  font-size: 12px;
  letter-spacing: 0.04em;
}
@keyframes rx-level {
  0%, 1% { transform: scaleX(0); opacity: 0; }
  3% { opacity: 1; }
  9%, 92% { transform: scaleX(1); opacity: 1; }
  97%, 100% { transform: scaleX(0); opacity: 0; }
}
@keyframes rx-level-tag {
  0%, 4% { opacity: 0; }
  9%, 92% { opacity: 1; }
  97%, 100% { opacity: 0; }
}
.rx-wick { stroke: #1c1917; stroke-width: 1.6; stroke-linecap: round; }
.rx-body-up { fill: #1f7a4d; }
.rx-body-dn { fill: #e11d48; }
.rx-bar {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scaleY(0.12);
  animation-duration: 16s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.rx-bars .rx-bar:nth-child(1) { animation-name: rx-c1; }
.rx-bars .rx-bar:nth-child(2) { animation-name: rx-c2; }
.rx-bars .rx-bar:nth-child(3) { animation-name: rx-c3; }
.rx-bars .rx-bar:nth-child(4) { animation-name: rx-c4; }
.rx-bars .rx-bar:nth-child(5) { animation-name: rx-c5; }
.rx-bars .rx-bar:nth-child(6) { animation-name: rx-c6; }
.rx-bars .rx-bar:nth-child(7) { animation-name: rx-c7; }
.rx-bars .rx-bar:nth-child(8) { animation-name: rx-c8; }
.rx-bars .rx-bar:nth-child(9) { animation-name: rx-c9; }
.rx-bars .rx-bar:nth-child(10) { animation-name: rx-c10; }
.rx-bars .rx-bar:nth-child(11) { animation-name: rx-c11; }
.rx-bars .rx-bar:nth-child(12) { animation-name: rx-c12; }
@keyframes rx-c1 { 0%, 8% { opacity: 0; transform: scaleY(0.12); } 11%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.12); } }
@keyframes rx-c2 { 0%, 12% { opacity: 0; transform: scaleY(0.12); } 15%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.12); } }
@keyframes rx-c3 { 0%, 16% { opacity: 0; transform: scaleY(0.12); } 19%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.12); } }
@keyframes rx-c4 { 0%, 20% { opacity: 0; transform: scaleY(0.12); } 23%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.12); } }
@keyframes rx-c5 { 0%, 24% { opacity: 0; transform: scaleY(0.12); } 27%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.12); } }
@keyframes rx-c6 { 0%, 28% { opacity: 0; transform: scaleY(0.12); } 31%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.12); } }
@keyframes rx-c7 { 0%, 32% { opacity: 0; transform: scaleY(0.12); } 35%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.12); } }
@keyframes rx-c8 { 0%, 48% { opacity: 0; transform: scaleY(0.12); } 51%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.12); } }
@keyframes rx-c9 { 0%, 53% { opacity: 0; transform: scaleY(0.12); } 56%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.12); } }
@keyframes rx-c10 { 0%, 58% { opacity: 0; transform: scaleY(0.12); } 61%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.12); } }
@keyframes rx-c11 { 0%, 63% { opacity: 0; transform: scaleY(0.12); } 66%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.12); } }
@keyframes rx-c12 { 0%, 68% { opacity: 0; transform: scaleY(0.12); } 72%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.12); } }
.rx-chase {
  opacity: 0;
  animation: rx-chase 16s linear infinite;
}
.rx-chase line { stroke: #e11d48; stroke-width: 1.5; }
.rx-chase text { fill: #e11d48; font-size: 13px; }
@keyframes rx-chase {
  0%, 34% { opacity: 0; }
  37%, 92% { opacity: 1; }
  97%, 100% { opacity: 0; }
}
.rx-wait {
  opacity: 0;
  animation: rx-wait 16s linear infinite;
}
.rx-wait circle { fill: #a67c3d; }
.rx-wait text { fill: #8a5a2b; font-size: 13px; }
.rx-wait .rx-wait-ring {
  fill: none;
  stroke: #a67c3d;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: rx-ring-dot 2.4s ease-out infinite;
}
@keyframes rx-wait {
  0%, 36% { opacity: 0; }
  40%, 66% { opacity: 1; }
  70%, 100% { opacity: 0; }
}
.rx-reentry {
  opacity: 0;
  animation: rx-reentry 16s linear infinite;
}
.rx-reentry text { fill: #1f7a4d; font-size: 13px; }
@keyframes rx-reentry {
  0%, 70% { opacity: 0; }
  74%, 92% { opacity: 1; }
  97%, 100% { opacity: 0; }
}
.rx-hunter-dot { fill: #1f7a4d; }
.rx-hunter-ring {
  fill: none;
  stroke: #1f7a4d;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: rx-ring-dot 2.4s ease-out infinite;
}
@keyframes rx-ring-dot {
  0% { transform: scale(0.6); opacity: 0.75; }
  100% { transform: scale(1.85); opacity: 0; }
}
.rx-chart-key {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 4px 12px 10px;
  font-size: 13px;
  color: var(--rx-ink-soft);
}
.rx-chart-key b { font-weight: 700; }
.rx-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  margin-right: 6px;
}
.rx-dot.wait { background: #1f7a4d; }
.rx-dot.chase { background: #e11d48; }

.rx-trio {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.rx-step {
  padding: 18px;
  border-radius: 20px;
  background: var(--rx-card);
  border: 1px solid var(--rx-line);
}
.rx-step em {
  font-family: Fraunces, Georgia, serif;
  font-style: normal;
  font-size: 1.8rem;
  color: var(--rx-gold-deep);
}
.rx-step h3 { margin: 6px 0 0; font-size: 1.25rem; }
.rx-step p { margin: 6px 0 0; color: var(--rx-ink-soft); line-height: 1.45; }
.rx-scene {
  display: block;
  width: 100%;
  height: 132px;
  margin-top: 14px;
}
.rx-floor { fill: none; stroke: #e7e0d6; stroke-width: 2; stroke-linecap: round; }
.rx-figure { fill: none; stroke: #16130f; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* Flat cartoon people for the reset and return scenes. */
.rx-skin { fill: #e8b389; }
.rx-hair { fill: #2f2924; }
.rx-shirt { fill: #4d6d7c; }
.rx-limb { fill: none; stroke: #4d6d7c; stroke-width: 9.5; stroke-linecap: round; }
.rx-pants { fill: #3b4752; }
.rx-shoe { fill: #241f1c; }
.rx-ear { fill: #d79b72; }
.rx-eye { fill: #2f2924; }
.rx-face { fill: none; stroke: #2f2924; stroke-width: 1.7; stroke-linecap: round; }
.rx-mat-face { fill: #cf8a68; }
.rx-mat-edge { fill: #a96a4d; }
.rx-mat-roll { fill: #b9765a; }
.rx-seat rect { fill: #ded6ca; }
.rx-breathe {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: rx-breathe 4.8s ease-in-out infinite;
}
@keyframes rx-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.rx-breath-ring {
  fill: none;
  stroke: #a67c3d;
  stroke-width: 1.6;
  transform-box: fill-box;
  transform-origin: center;
  animation: rx-breath-ring 4.8s ease-out infinite;
}
.rx-breath-ring-2 { animation-delay: 1.6s; }
@keyframes rx-breath-ring {
  0%, 12% { transform: scale(0.45); opacity: 0; }
  28% { opacity: 0.75; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}
.rx-desk { fill: #e6dccd; }
.rx-chair { fill: #e7e0d6; }
.rx-laptop rect,
.rx-laptop path:not(.rx-screen-edge) { fill: #16130f; }
.rx-screen-edge {
  fill: none;
  stroke: #7dd3fc;
  stroke-width: 2.6;
  stroke-linecap: round;
  opacity: 0;
  animation: rx-screen-on 6.4s ease-in-out infinite;
}
@keyframes rx-screen-on {
  0%, 14% { opacity: 0; }
  28%, 88% { opacity: 0.95; }
  98%, 100% { opacity: 0; }
}
.rx-arrive {
  opacity: 0;
  animation: rx-arrive 6.4s ease-in-out infinite;
}
@keyframes rx-arrive {
  0%, 2% { opacity: 0; transform: translateX(-24px); }
  16%, 93% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(-10px); }
}
.rx-brick {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation-duration: 6.4s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.rx-bricks .rx-brick:nth-child(1) { animation-name: rx-k1; }
.rx-bricks .rx-brick:nth-child(2) { animation-name: rx-k2; }
.rx-bricks .rx-brick:nth-child(3) { animation-name: rx-k3; }
.rx-bricks .rx-brick:nth-child(4) { animation-name: rx-k4; }
.rx-bricks .rx-brick:nth-child(5) { animation-name: rx-k5; }
@keyframes rx-k1 { 0%, 3% { opacity: 0; transform: scaleY(0.08); } 10%, 90% { opacity: 1; transform: scaleY(1); } 99%, 100% { opacity: 0; transform: scaleY(0.08); } }
@keyframes rx-k2 { 0%, 11% { opacity: 0; transform: scaleY(0.08); } 18%, 90% { opacity: 1; transform: scaleY(1); } 99%, 100% { opacity: 0; transform: scaleY(0.08); } }
@keyframes rx-k3 { 0%, 19% { opacity: 0; transform: scaleY(0.08); } 26%, 90% { opacity: 1; transform: scaleY(1); } 99%, 100% { opacity: 0; transform: scaleY(0.08); } }
@keyframes rx-k4 { 0%, 27% { opacity: 0; transform: scaleY(0.08); } 34%, 90% { opacity: 1; transform: scaleY(1); } 99%, 100% { opacity: 0; transform: scaleY(0.08); } }
@keyframes rx-k5 { 0%, 35% { opacity: 0; transform: scaleY(0.08); } 42%, 90% { opacity: 1; transform: scaleY(1); } 99%, 100% { opacity: 0; transform: scaleY(0.08); } }

.rx-doors {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.rx-door {
  position: relative;
  padding: 18px 18px 18px 20px;
  border-radius: 18px;
  background: var(--rx-card);
  border: 1px solid var(--rx-line);
  min-height: 148px;
}
.rx-door::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 16px;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--rx-gold);
  box-shadow: 0 0 0 6px rgba(228, 196, 138, 0.25);
}
.rx-door small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rx-gold-deep);
}
.rx-door strong { display: block; margin-top: 10px; font-size: 1.15rem; }
.rx-door p { margin: 6px 0 0; color: var(--rx-ink-soft); line-height: 1.4; }

.rx-after {
  background: #100e0c;
  color: #f6f1e8;
}
.rx-after .rx-kicker { color: #e4c48a; }
.rx-after .rx-lead { color: #d6d3d1; max-width: 38rem; }
.rx-trial {
  display: grid;
  gap: 28px;
  align-items: center;
}
.rx-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 22px;
}
.rx-price strong {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  font-size: 3.4rem;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #f6e7c1;
}
/* Narrow enough that the line breaks after the price instead of orphaning a word. */
.rx-price span { color: #d6d3d1; font-size: 0.98rem; max-width: 11.5rem; }
.rx-tools {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.rx-tools li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 10px;
  align-items: start;
  color: #d6d3d1;
  font-size: 0.98rem;
  line-height: 1.4;
}
.rx-tools i {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 99px;
  background: #e4c48a;
}
.rx-tools b { color: #f6f1e8; font-weight: 700; }
.rx-btn-trial {
  margin-top: 22px;
  padding: 14px 22px;
  font-size: 16px;
}
.rx-quiet {
  margin: 14px 0 0;
  max-width: 36rem;
  color: #a8a29e;
  font-size: 0.95rem;
  line-height: 1.5;
}
.rx-quiet a { color: #f6e7c1; }
.rx-hero .rx-quiet { color: #57534e; }
.rx-trial-stage {
  position: relative;
  border-radius: 24px;
  background: #1a1714;
  border: 1px solid rgba(246, 241, 232, 0.1);
  padding: 18px 12px 12px;
}
.rx-trial-svg { width: 100%; height: auto; display: block; }
.rx-trial-svg .rx-wick { stroke: rgba(246, 241, 232, 0.72); stroke-width: 1.4; }
.rx-trial-svg .rx-body-up { fill: #34d399; }
.rx-trial-svg .rx-body-dn { fill: #fb7185; }
.rx-tlevel {
  stroke: #e4c48a;
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  transform-box: fill-box;
  transform-origin: left center;
  animation: rx-tlevel 14s linear infinite;
}
@keyframes rx-tlevel {
  0%, 2% { transform: scaleX(0); opacity: 0; }
  6% { opacity: 1; }
  12%, 92% { transform: scaleX(1); opacity: 1; }
  97%, 100% { transform: scaleX(0); opacity: 0; }
}
.rx-vwap {
  fill: none;
  stroke: #7dd3fc;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
  animation: rx-vwap 14s linear infinite;
}
@keyframes rx-vwap {
  0%, 16% { stroke-dashoffset: 640; opacity: 0; }
  20% { opacity: 1; }
  34%, 92% { stroke-dashoffset: 0; opacity: 1; }
  97%, 100% { stroke-dashoffset: 640; opacity: 0; }
}

/* The gap price skipped on the way up, then filled on the way back. Dashed so it
   stays distinct from the solid demand block it sits above. */
.rx-fvg {
  fill: rgba(110, 231, 183, 0.09);
  stroke: rgba(110, 231, 183, 0.5);
  stroke-dasharray: 5 4;
  opacity: 0;
  animation: rx-fvg 14s linear infinite;
}
@keyframes rx-fvg {
  0%, 34% { opacity: 0; }
  38%, 56% { opacity: 1; }
  62%, 92% { opacity: 0.4; }
  97%, 100% { opacity: 0; }
}
/* Demand the buyers defend, so it is green like the trade taken from it. */
.rx-revblock {
  fill: rgba(52, 211, 153, 0.2);
  stroke: rgba(52, 211, 153, 0.8);
  opacity: 0;
  animation: rx-t-block 14s linear infinite;
}
.rx-tline { fill: none; stroke-width: 1.6; stroke-dasharray: 7 5; stroke-linecap: round; }
.rx-tline.is-target { stroke: #34d399; }
.rx-tline.is-stop { stroke: #fb7185; }
.rx-tstretch { opacity: 0; animation: rx-t-stretch 14s linear infinite; }
.rx-tstretch line { stroke: #fb7185; stroke-width: 1.3; }
.rx-tstretch .rx-tconnect { stroke: rgba(251, 113, 133, 0.5); stroke-dasharray: 3 3; }
.rx-tplan { opacity: 0; animation: rx-t-plan 14s linear infinite; }
.rx-tarrow { fill: #34d399; }
@keyframes rx-t-stretch {
  0%, 30% { opacity: 0; }
  35%, 92% { opacity: 1; }
  97%, 100% { opacity: 0; }
}
@keyframes rx-t-block {
  0%, 48% { opacity: 0; }
  52%, 92% { opacity: 1; }
  97%, 100% { opacity: 0; }
}
@keyframes rx-t-plan {
  0%, 54% { opacity: 0; }
  58%, 92% { opacity: 1; }
  97%, 100% { opacity: 0; }
}

.rx-tlabel { opacity: 0; animation-duration: 14s; animation-timing-function: linear; animation-iteration-count: infinite; }
.rx-tlabel rect { fill: #14110e; stroke-width: 1.1; }
.rx-tlabel text {
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.rx-tlabel line { stroke-width: 1.1; stroke-dasharray: 3 3; }
.rx-tlabel.is-map { animation-name: rx-t-map; }
.rx-tlabel.is-map rect, .rx-tlabel.is-map line { stroke: rgba(228, 196, 138, 0.65); }
.rx-tlabel.is-map text { fill: #e4c48a; }
.rx-tlabel.is-vwap { animation-name: rx-t-vwaptag; }
.rx-tlabel.is-vwap rect { stroke: rgba(125, 211, 252, 0.65); }
.rx-tlabel.is-vwap text { fill: #7dd3fc; }
.rx-tlabel.is-stretch { animation-name: rx-t-stretch; }
.rx-tlabel.is-stretch rect { stroke: rgba(251, 113, 133, 0.65); }
.rx-tlabel.is-stretch text { fill: #fda4af; }
.rx-tlabel.is-fvg { animation-name: rx-t-fvgtag; }
.rx-tlabel.is-fvg rect { stroke: rgba(110, 231, 183, 0.7); }
.rx-tlabel.is-fvg text { fill: #6ee7b7; font-size: 11px; }
.rx-tlabel.is-block { animation-name: rx-t-block; }
.rx-tlabel.is-block rect, .rx-tlabel.is-block line { stroke: rgba(52, 211, 153, 0.7); }
.rx-tlabel.is-block text { fill: #6ee7b7; }
.rx-tlabel.is-entry, .rx-tlabel.is-target, .rx-tlabel.is-stop { animation-name: rx-t-plan; }
.rx-tlabel.is-entry rect, .rx-tlabel.is-target rect { stroke: rgba(52, 211, 153, 0.7); }
.rx-tlabel.is-entry text, .rx-tlabel.is-target text { fill: #6ee7b7; }
.rx-tlabel.is-stop rect { stroke: rgba(251, 113, 133, 0.65); }
.rx-tlabel.is-stop text { fill: #fda4af; }
@keyframes rx-t-map {
  0%, 6% { opacity: 0; }
  10%, 92% { opacity: 1; }
  97%, 100% { opacity: 0; }
}
@keyframes rx-t-vwaptag {
  0%, 28% { opacity: 0; }
  33%, 92% { opacity: 1; }
  97%, 100% { opacity: 0; }
}
@keyframes rx-t-fvgtag {
  0%, 36% { opacity: 0; }
  40%, 92% { opacity: 1; }
  97%, 100% { opacity: 0; }
}

.rx-tbar {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation-duration: 14s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.rx-tbars .rx-tbar:nth-child(1) { animation-name: rx-tb1; }
.rx-tbars .rx-tbar:nth-child(2) { animation-name: rx-tb2; }
.rx-tbars .rx-tbar:nth-child(3) { animation-name: rx-tb3; }
.rx-tbars .rx-tbar:nth-child(4) { animation-name: rx-tb4; }
.rx-tbars .rx-tbar:nth-child(5) { animation-name: rx-tb5; }
.rx-tbars .rx-tbar:nth-child(6) { animation-name: rx-tb6; }
.rx-tbars .rx-tbar:nth-child(7) { animation-name: rx-tb7; }
.rx-tbars .rx-tbar:nth-child(8) { animation-name: rx-tb8; }
.rx-tbars .rx-tbar:nth-child(9) { animation-name: rx-tb9; }
.rx-tbars .rx-tbar:nth-child(10) { animation-name: rx-tb10; }
.rx-tbars .rx-tbar:nth-child(11) { animation-name: rx-tb11; }
.rx-tbars .rx-tbar:nth-child(12) { animation-name: rx-tb12; }
.rx-tbars .rx-tbar:nth-child(13) { animation-name: rx-tb13; }
.rx-tbars .rx-tbar:nth-child(14) { animation-name: rx-tb14; }
.rx-tbars .rx-tbar:nth-child(15) { animation-name: rx-tb15; }
.rx-tbars .rx-tbar:nth-child(16) { animation-name: rx-tb16; }
@keyframes rx-tb1 { 0%, 4% { opacity: 0; transform: scaleY(0.1); } 7%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb2 { 0%, 8% { opacity: 0; transform: scaleY(0.1); } 11%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb3 { 0%, 12% { opacity: 0; transform: scaleY(0.1); } 15%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb4 { 0%, 16% { opacity: 0; transform: scaleY(0.1); } 19%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb5 { 0%, 20% { opacity: 0; transform: scaleY(0.1); } 23%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb6 { 0%, 24% { opacity: 0; transform: scaleY(0.1); } 27%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb7 { 0%, 28% { opacity: 0; transform: scaleY(0.1); } 31%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb8 { 0%, 40% { opacity: 0; transform: scaleY(0.1); } 43%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb9 { 0%, 44% { opacity: 0; transform: scaleY(0.1); } 47%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb10 { 0%, 48% { opacity: 0; transform: scaleY(0.1); } 51%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb11 { 0%, 52% { opacity: 0; transform: scaleY(0.1); } 55%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb12 { 0%, 60% { opacity: 0; transform: scaleY(0.1); } 63%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb13 { 0%, 66% { opacity: 0; transform: scaleY(0.1); } 69%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb14 { 0%, 72% { opacity: 0; transform: scaleY(0.1); } 75%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb15 { 0%, 77% { opacity: 0; transform: scaleY(0.1); } 80%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }
@keyframes rx-tb16 { 0%, 82% { opacity: 0; transform: scaleY(0.1); } 85%, 92% { opacity: 1; transform: scaleY(1); } 97%, 100% { opacity: 0; transform: scaleY(0.1); } }

.rx-trial-key {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 2px 16px 16px;
  color: #a8a29e;
  font-size: 12.5px;
  line-height: 1.35;
}
.rx-trial-key p { display: grid; grid-template-columns: 8px 1fr; gap: 9px; align-items: start; margin: 0; }
.rx-trial-key b { color: #f6f1e8; font-weight: 700; }
.rx-trial-key .rx-dot { margin-top: 5px; }
.rx-dot.lvl { background: #e4c48a; }
/* The in-chart pills fall below a readable size on a phone, so the key carries the words. */
@media (max-width: 859px) {
  .rx-tlabel { display: none; }
  .rx-trial-key { padding-top: 6px; }
}
.rx-btn {
  display: inline-flex;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #f6e7c1;
  color: #16130f;
  font-weight: 750;
  text-decoration: none;
}
.rx-quiet {
  display: block;
  margin-top: 10px;
  color: #a8a29e;
  font-size: 0.92rem;
}

.rx-close { text-align: center; }
.rx-close-cover {
  width: 148px;
  margin: 8px auto 0;
  border-radius: 6px 12px 12px 6px;
  box-shadow: 16px 24px 40px rgba(22, 19, 15, 0.2);
  animation: rx-float 5.5s ease-in-out infinite;
}
@keyframes rx-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.rx-close h2 { margin-top: 18px; }
.rx-close .rx-btn { margin-top: 18px; background: #16130f; color: #f6e7c1; }

.rx-foot {
  background: #100e0c;
  color: #a8a29e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.rx-foot-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 28px;
}
.rx-foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  justify-content: space-between;
}
.rx-foot strong { color: #f6f1e8; }
.rx-foot a { display: block; margin-top: 8px; color: #a8a29e; text-decoration: none; }
.rx-foot a:hover { color: #f6f1e8; }
.rx-foot p { margin: 18px 0 0; font-size: 12px; line-height: 1.5; max-width: 46rem; }

.ebook-offer { position: fixed; inset: 0; z-index: 80; display: none; }
.ebook-offer.is-open { display: block; }
.ebook-offer-backdrop { position: absolute; inset: 0; background: rgba(16, 14, 12, 0.72); }
.ebook-offer-panel {
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  position: relative;
  max-width: 880px;
  margin: 6vh auto;
  background: #fffdf9;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.ebook-offer-body { padding: 22px; }
.ebook-offer-note { margin: 12px 0 0; color: #78716c; font-size: 0.9rem; }
.ebook-offer-grid { display: grid; gap: 14px; margin-top: 16px; }
.ebook-offer-card {
  border: 1px solid #e7e0d6;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.ebook-offer-card img { width: 100%; height: 148px; object-fit: cover; background: #16130f; }
.ebook-offer-card div { padding: 14px; }
.ebook-offer-card h3 { margin: 0; font-size: 1.05rem; }
.ebook-offer-card p { margin: 8px 0 0; color: #57534e; font-size: 0.9rem; line-height: 1.45; }
.ebook-offer-card a {
  display: inline-flex;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #16130f;
  color: #f6e7c1;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.ebook-offer-skip {
  margin-top: 14px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #78716c;
  font-weight: 700;
  cursor: pointer;
}
.ebook-offer-skip[data-ebook-interest] {
  margin-top: 0;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #b8ab94;
  border-radius: 10px;
  color: #29231a;
  background: #fffdf8;
}
.ebook-offer-skip[data-ebook-interest]:hover,
.ebook-offer-skip[data-ebook-interest][aria-pressed="true"] {
  background: #f6e7c1;
  border-color: #8d743c;
}
.ebook-offer-skip:focus-visible { outline: 3px solid #8d743c; outline-offset: 3px; }
.ebook-offer-skip[data-ebook-interest]:disabled { opacity: .6; cursor: progress; }

@media (min-width: 860px) {
  .rx-hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(376px, 0.96fr); gap: 52px; align-items: center; }
  .rx-hero { padding: 52px 20px 56px; }
  .rx-hunt-layout { grid-template-columns: 0.85fr 1.15fr; }
  .rx-trial { grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr); gap: 40px; align-items: center; }
  .rx-trio { grid-template-columns: repeat(3, 1fr); }
  .rx-doors { grid-template-columns: repeat(4, 1fr); }
  .rx-after-grid { grid-template-columns: 1fr 1fr; }
  .ebook-offer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .rx-strip { grid-template-columns: repeat(6, 1fr); grid-auto-flow: row; overflow: visible; }
}
@media (max-width: 720px) {
  .ebook-offer-panel { margin: 12px; max-height: calc(100vh - 24px); overflow: auto; }
  .rx-shell { padding: 52px 16px; }
  .rx-hero { padding: 18px 16px 28px; }
  .ebook-cover { width: 68px; }
  .rx-response-line { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .rx-frame,
  .rx-grow,
  .rx-stop,
  .rx-bar,
  .rx-chase,
  .rx-wait,
  .rx-reentry,
  .rx-level,
  .rx-level-tag,
  .rx-wait-ring,
  .rx-hunter-ring,
  .rx-pin,
  .rx-breathe,
  .rx-breath-ring,
  .rx-screen-edge,
  .rx-arrive,
  .rx-brick,
  .rx-tlevel,
  .rx-vwap,
  .rx-revblock,
  .rx-fvg,
  .rx-tbar,
  .rx-tline,
  .rx-tstretch,
  .rx-tplan,
  .rx-tlabel,
  .rx-play i,
  .rx-close-cover {
    animation: none !important;
  }
  .rx-bar,
  .rx-reentry,
  .rx-level,
  .rx-level-tag,
  .rx-chase,
  .rx-pin.level,
  .rx-pin.late,
  .rx-pin.entry { opacity: 1; }
  .rx-bar,
  .rx-level,
  .rx-chase { transform: none; }
  .rx-wait,
  .rx-pin.wait { opacity: 0; }
  .rx-grow { transform: scaleX(1); }
  .rx-breathe,
  .rx-breath-ring,
  .rx-arrive,
  .rx-brick { transform: none; }
  .rx-screen-edge,
  .rx-brick,
  .rx-arrive { opacity: 1; }
  .rx-breath-ring { opacity: 0.45; }
  .rx-breath-ring-2 { opacity: 0; }
  .rx-tlevel,
  .rx-vwap,
  .rx-revblock,
  .rx-fvg,
  .rx-tbar,
  .rx-tline,
  .rx-tstretch,
  .rx-tplan,
  .rx-tlabel { opacity: 1; transform: none; }
  .rx-vwap { stroke-dashoffset: 0; }
}
