/* ---- unnamed ---- */
:root {
  --max: 1240px;
  --radius: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;

  font-family: var(--sans);
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  margin: auto;
}
.eyebrow {
  font: 11px var(--mono);

  text-transform: uppercase;
}
.brand i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 5px;
  vertical-align: middle;
  box-shadow: 0 0 18px rgba(8, 26, 51, 0.35);
}
.actions {
  display: flex;
}
.btn {
  font-weight: 650;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hero {
  overflow: hidden;
}
.hero:before {
  left: 50%;

  transform: translateX(-50%);

  pointer-events: none;
}
.hero-grid {
  display: grid;
}
.hero h1 {
  margin: 18px 0 25px;
}
.hero p {
  font-size: 18px;
}
.terminal {
  background: #090d12;
  border: 1px solid var(--line2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 38px;
}
.section h2 {
  font-size: 44px;
  letter-spacing: -0.05em;
  line-height: 1.02;
  margin: 9px 0 0;
}
.section-copy {
  max-width: 560px;
}
.card h3 {
  margin: 0 0 9px;
}
.card p {
  font-size: 14px;
  margin: 0;
}
.architecture {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  align-items: center;
}
.pricing {
  display: grid;
}
.price {
  position: relative;
}
.price h3 {
  font-size: 17px;
}
.price-value {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin: 20px 0 7px;
}
.price ul {
  list-style: none;
  padding: 0;
}
.price li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.price li:before {
  content: "✓";

  margin-right: 9px;
  font-family: var(--mono);
}
.price .btn {
  width: 100%;
}
.cta h2 {
  max-width: 800px;
}
.cta p {
  max-width: 600px;
}
@media (max-width: 1000px) {
.architecture {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
.actions .btn:first-child {
    display: none;
  }
.section h2 {
    font-size: 35px;
  }
.section-head {
    display: block;
  }
}
.usecase-grid {
  display: grid;

  gap: 14px;
}
.usecase-grid-simple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
}
.usecase-grid-simple .usecase {
  min-height: 185px;
  padding: 26px;
}
.usecase-grid-simple .usecase .tag {
  margin-bottom: 18px;
}
.usecase-grid-simple .usecase h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.usecase-grid-simple .usecase p {
  line-height: 1.55;
  max-width: 520px;
}
.usecase .tag {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid var(--line2);
  border-radius: 999px;

  font: 11px var(--mono);
}
@media (max-width: 900px) {
.usecase-grid-simple {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
.usecase-grid,
.usecase-grid-simple {
    grid-template-columns: 1fr;
  }
}
.faq {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.faq-q {
  border: 0;

  grid-template-columns: 34px 1fr 32px;
}
.faq-q::before {
  content: counter(faq, decimal-leading-zero);
  font: 600 10px var(--mono);
  color: var(--dim);
  letter-spacing: 0.08em;
}
.faq-q span:last-child {
  place-items: center;
}
.faq-a {
  transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-a > div {
  overflow: hidden;
}
.faq-item.open .faq-q span:last-child {
  transform: rotate(45deg);
}
@media (max-width: 820px) {
.faq {
    grid-template-columns: 1fr;
  }
}
.rf-contact-col small {
  display: block;
  font-size: 10px;
  opacity: 0.65;
  margin-top: 2px;
}


/* ---- unnamed ---- */
.footer-logo i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #081a33;
  display: block;
}
.footer-col {
  flex-direction: column;
  align-items: flex-start;
}
.footer-col a {
  text-decoration: none;

  transition:
    color 0.2s,
    transform 0.2s;
}
.footer-col a:hover {
  transform: translateX(2px);
}
.footer-bottom {
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
.footer-brand {
    grid-row: span 2;
  }
}
@media (max-width: 600px) {
.footer-brand {
    grid-row: auto;
  }
}


/* ---- runforge-light-redesign ---- */
:root {
  --bg: #f4f1eb;
  --bg-soft: #faf8f4;
  --surface: #fffdfa;
  --surface2: #f7f4ee;
  --surface3: #efebe4;
  --line: #ded9d0;
  --line2: #cfc8bd;
  --text: #171716;
  --muted: #68655f;
  --dim: #8b877f;
  --accent: #081a33;
  --accent2: #10294a;
  --green: #26815b;
  --yellow: #a87525;
  --blue: #526b82;
  --red: #b84d51;
  --shadow: 0 18px 60px rgba(34, 28, 20, 0.09);
  --shadow-lg: 0 35px 100px rgba(34, 28, 20, 0.13);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
html {
  scroll-padding-top: 92px;
}
body {
  background:
    radial-gradient(800px 420px at 50% -120px, rgba(8, 26, 51, 0.055), transparent 72%),
    radial-gradient(600px 360px at 5% 28%, rgba(205, 190, 163, 0.11), transparent 70%), var(--bg);
  color: var(--text);
  line-height: 1.55;
}
body:before {
  opacity: 0.18;
}
.wrap {
  width: min(calc(100% - 48px), 1240px);
}
.eyebrow {
  color: #77736b;
  font-weight: 600;
  letter-spacing: 0.17em;
}
header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  margin: 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.brand {
  white-space: nowrap;
}
.brand i {
  width: 14px;
  height: 14px;
  margin: 0;
  background: var(--accent);
  box-shadow:
    0 0 0 5px rgba(8, 26, 51, 0.08),
    0 4px 14px rgba(8, 26, 51, 0.14);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.brand:hover i {
  transform: rotate(18deg) scale(1.08);
}
.navlinks {
  color: #55514b;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  flex: 1;
  justify-content: center;
}
.navlinks a {
  white-space: nowrap;
}
.navlinks a:hover {
  color: #171716;
}
.actions {
  gap: 9px;
  align-items: center;
}
.actions .btn:first-child {
  background: #efede9;
  border-color: #efede9;
  color: #171716;
  padding: 11px 18px;
}
.actions .btn:first-child:hover {
  background: #e7e3dd;
  border-color: #e7e3dd;
}
.btn {
  border: 1px solid #d6d1c9;
  background: #fffdfa;
  color: #2d2b28;
  border-radius: 12px;
  padding: 11px 17px;
  font-size: 13px;
}
.btn:hover {
  border-color: #bcb4a8;
  background: #fff;
}
.btn.primary {
  background: #081a33;
  border-color: #081a33;
  color: #fff;
}
.btn.primary:hover {
  background: #10294a;
  border-color: #10294a;
}
.hero {
  padding: 118px 0 86px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  color: #151514;
  font-weight: 760;

  font-size: clamp(54px, 7vw, 94px);
}
.hero p {
  color: #66625c;

  line-height: 1.65;
}
.terminal {
  background: #252522;
  border: 1px solid #3a3935;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.blue {
  color: #a5b8c8;
}
.section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}
.section h2 {
  color: #171716;
  font-weight: 720;
}
.section-copy {
  color: #6c6861;
  line-height: 1.7;
}
.card {
  background: rgba(255, 253, 250, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.card:hover {
  border-color: #c9c1b6;

  background: #fffdfa;
}
.card h3 {
  color: #1a1917;
}
.card p {
  color: #6c6861;
}
.architecture {
  gap: 14px;
}
.usecase .tag {
  border-color: #d5cec4;
  color: #77726a;
  background: rgba(255, 255, 255, 0.45);
}
.pricing .price {
  display: flex;
  flex-direction: column;
  min-height: 505px;
}
.pricing .price .btn {
  margin-top: auto;
}
.pricing .price p.muted {
  min-height: 42px;
}
.pricing .price ul {
  margin: 20px 0 22px;
}
.price.featured {
  border-color: #081a33;
  box-shadow:
    0 0 0 1px rgba(8, 26, 51, 0.09),
    var(--shadow);
}
.price-value {
  color: #181715;
}
.price-unit {
  font-size: 14px;
  color: #081a33;
}
.price li {
  border-color: var(--line);
  color: #67635c;
}
.price li:before {
  color: var(--green);
}
.site-footer {
  border-color: var(--line);
}
.footer-bottom {
  border-color: var(--line);
}
section:not(.hero) .section-head {
  max-width: 1160px;
}
@media (max-width: 720px) {
header {
    top: 0;
    margin-top: 0;
    width: 100%;
  }
.wrap {
    width: min(calc(100% - 28px), 1240px);
  }
.hero h1 {
    font-size: clamp(48px, 14vw, 70px);
  }
}

/* The header links stop fitting below ~850px (same breakpoint as the legal pages). */
@media (max-width: 850px) {
.navlinks {
    display: none;
  }
}


/* ---- runforge-brand-redesign ---- */
.brand {
  transform: translateZ(0);
}
.brand i {
  position: relative;
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  border-radius: 6px;
  background: var(--accent);
  box-shadow: 0 5px 14px rgba(8, 26, 51, 0.16);
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-radius 0.3s,
    box-shadow 0.3s;
}
.brand i:before {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  border-radius: 99px;
  background: #fffaf5;
  left: 5px;
  top: 8px;
  transform: rotate(-45deg);
}
.brand i:after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fffaf5;
  right: 3px;
  top: 3px;
  opacity: 0.95;
}
.brand:hover i {
  transform: rotate(-8deg) scale(1.08);
  border-radius: 7px;
  box-shadow: 0 8px 22px rgba(8, 26, 51, 0.22);
}
@media (max-width: 700px) {
.brand i {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }
}


/* ---- runforge-premium-motion ---- */
body {
  --mx: 50vw;
  --my: 20vh;
  overflow-x: hidden;
}
@property --mx {
  syntax: "*";
  inherits: false;
}
@property --my {
  syntax: "*";
  inherits: false;
}
body::before {
  --mx: inherit;
  --my: inherit;
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 1040px;
  height: 1040px;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(8, 26, 51, 0.055), transparent 65%);
  transform: translate3d(calc(var(--mx) - 520px), calc(var(--my) - 520px), 0);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: linear-gradient(90deg, rgba(8, 26, 51, 0.06) 0 2px, transparent 2px) 0 0/100% 100%;
  opacity: 0;
  transition: opacity 0.3s;
}
.navlinks a {
  position: relative;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}
.navlinks a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%) scale(0);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.navlinks a:hover {
  transform: translateY(-2px);
}
.navlinks a:hover::after {
  transform: translateX(-50%) scale(1);
}
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s,
    border-color 0.3s,
    background 0.3s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.5) 45%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.7s ease;
  z-index: -1;
}
.btn:hover::before {
  transform: translateX(130%);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(35, 30, 25, 0.12);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn.primary {
  box-shadow: 0 8px 24px rgba(8, 26, 51, 0.14);
}
.btn.primary:hover {
  box-shadow: 0 16px 34px rgba(8, 26, 51, 0.2);
}
.hero {
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 26, 51, 0.1), transparent 68%);
  will-change: transform;
  animation: rf-float 9s ease-in-out infinite;
}
.hero h1 {
  animation: rf-title-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero .section-copy,
.hero .eyebrow {
  animation: rf-fade-up 0.8s 0.12s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.terminal {
  animation: rf-terminal-in 1s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: 0 30px 80px rgba(35, 30, 25, 0.14) !important;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s;
}
.terminal:hover {
  transform: perspective(1200px) rotateX(1.2deg) rotateY(-1.2deg) translateY(-4px);
  box-shadow: 0 42px 100px rgba(35, 30, 25, 0.2) !important;
}
.reveal,
.reveal-left {
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal:not(.in-view),
.reveal-left:not(.in-view) {
  will-change: transform, opacity;
}
.reveal {
  transform: translateY(28px);
  opacity: 0;
}
.reveal-left {
  transform: translateX(-32px);
  opacity: 0;
}
.reveal.in-view,
.reveal-left.in-view {
  transform: none;
  opacity: 1;
}

/* Cards fade in with an animation, so their own hover transitions keep no delay. */
.stagger > * {
  opacity: 0;
}
.stagger.in-view > * {
  opacity: 1;
  animation: rf-card-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.stagger.in-view > *:nth-child(2) {
  animation-delay: 0.07s;
}
.stagger.in-view > *:nth-child(3) {
  animation-delay: 0.14s;
}
.stagger.in-view > *:nth-child(4) {
  animation-delay: 0.21s;
}
.stagger.in-view > *:nth-child(5) {
  animation-delay: 0.28s;
}
.stagger.in-view > *:nth-child(6) {
  animation-delay: 0.35s;
}
@keyframes rf-card-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
.architecture {
  position: relative;
  overflow: hidden;
}
.architecture::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.055) 50%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 1.4s ease;
}
.architecture:hover::after {
  transform: translateX(120%);
}
[data-workspace],
[data-tab],
[data-step],
[data-ws-action] {
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
[data-workspace]:hover,
[data-tab]:hover,
[data-step]:hover,
[data-ws-action]:hover {
  transform: translateX(3px);
}
.rf-machine-icon {
  font: 18px var(--mono);

  box-shadow: inset 0 0 0 4px rgba(8, 26, 51, 0.025);
}
.rf-evidence-grid span {
  font: 10px var(--mono);
  text-transform: uppercase;

  transition:
    transform 0.3s,
    background 0.3s,
    border-color 0.3s;
}
.rf-evidence-grid span:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: var(--line2);
}
.rf-arch-bottom > div {
  border-right: 1px solid var(--line);
}
.rf-arch-bottom > div:last-child {
  border-right: 0;
}
@media (max-width: 1000px) {
.rf-arch-bottom > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
.rf-arch-bottom > div:last-child {
    border-bottom: 0;
  }
}
.card,
.faq-item {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s,
    border-color 0.4s,
    background 0.4s;
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 45px rgba(35, 30, 25, 0.09);
}
.card:hover::after {
  opacity: 1;
}
.rf-pricing {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.rf-price-free {
  background: rgba(255, 253, 250, 0.65);
}
.rf-recommended-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fffdfa;
  color: #081a33;
  border: 1px solid #081a33;
  font: 700 8px var(--mono);
  letter-spacing: 0.12em;
  line-height: 1;
  z-index: 20;
  white-space: nowrap;
  box-shadow: 0 2px 7px rgba(8, 26, 51, 0.08);
}
@media (max-width: 1100px) {
.rf-pricing {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 720px) {
.rf-pricing {
    grid-template-columns: 1fr;
  }
.rf-recommended-badge {
    top: 10px;
    left: auto;
    right: 12px;
    transform: none;
  }
}

@media (pointer: fine) {
.card,
.architecture {
    transform-style: preserve-3d;
  }
}
@keyframes rf-title-in {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rf-terminal-in {
  from {
    opacity: 0;
    transform: translateY(45px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rf-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rf-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, 18px, 0);
  }
}
@keyframes rf-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(38, 129, 91, 0.28);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(38, 129, 91, 0);
  }
}
@keyframes rf-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(217, 91, 53, 0);
  }
  50% {
    box-shadow: 0 14px 45px rgba(8, 26, 51, 0.06);
  }
}
@media (max-width: 800px) {
.hero::before {
    width: 240px;
    height: 240px;
  }
.reveal-left {
    transform: translateY(28px);
  }
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
.stagger.in-view > * {
    animation: none;
  }
}


/* ---- runforge-logo-v2 ---- */
.brand i,
.footer-logo i {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  margin: 0;
  background: linear-gradient(145deg, #e8754e 0%, #c94725 100%);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(201, 71, 37, 0.18);
  transform: rotate(-7deg);
  transition:
    transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-radius 0.32s,
    box-shadow 0.32s;
}
.brand i:before,
.footer-logo i:before {
  content: "";
  width: 11px;
  height: 11px;
  border: 2px solid #fffaf5;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 2px;
  transform: rotate(45deg) translate(-1px, 1px);
  opacity: 0.98;
}
.brand i:after,
.footer-logo i:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: #fffaf5;
  right: 4px;
  bottom: 4px;
}
.brand:hover i,
.footer-logo:hover i {
  transform: rotate(0deg) scale(1.08);
  border-radius: 7px;
  box-shadow: 0 9px 24px rgba(201, 71, 37, 0.28);
}
.footer-logo {
  text-decoration: none;
}
.footer-logo i {
  flex-basis: 23px;
  width: 23px;
  height: 23px;
  border-radius: 7px;
}
.footer-logo i:before {
  width: 10px;
  height: 10px;
}
@media (max-width: 700px) {
.brand i {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
}


/* ---- runforge-logo-reference ---- */
.brand {
  color: #171716;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  text-decoration: none;
}
.brand i {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 29px !important;
  width: 29px !important;
  height: 29px !important;
  margin: 0 !important;
  border-radius: 9px !important;
  background: #081a33 !important;
  box-shadow: 0 5px 14px rgba(77, 157, 245, 0.22) !important;
  transform: none !important;
  transition:
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.28s !important;
}
.brand i:before {
  content: "" !important;
  position: absolute !important;
  width: 11px !important;
  height: 11px !important;
  border-radius: 50% !important;
  background: #fff !important;
  left: 9px !important;
  top: 9px !important;
  border: 0 !important;
  transform: none !important;
  opacity: 1 !important;
}
.brand i:after {
  content: "" !important;
  position: absolute !important;
  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;
  background: #1e3f69 !important;
  right: 5px !important;
  bottom: 5px !important;
  opacity: 1 !important;
}
.brand:hover i {
  transform: rotate(-6deg) scale(1.06) !important;
  box-shadow: 0 8px 20px rgba(8, 26, 51, 0.3) !important;
}
.footer-logo i {
  background: #081a33 !important;
  box-shadow: 0 5px 14px rgba(8, 26, 51, 0.2) !important;
}
.footer-logo i:before {
  border-color: #fff !important;
  border-left-color: transparent !important;
  border-bottom-color: transparent !important;
}
@media (max-width: 700px) {
.brand {
    font-size: 20px;
  }
.brand i {
    width: 27px !important;
    height: 27px !important;
    flex-basis: 27px !important;
  }
}


/* ---- runforge-header-final ---- */
header {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none !important;
  border: 0;
  border-bottom: 1px solid rgba(36, 33, 29, 0.1);
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition:
    border-color 0.25s ease,
    background 0.25s ease !important;
}
header.scrolled {
  background: var(--bg);
  box-shadow: none;
  border-bottom-color: rgba(36, 33, 29, 0.1);
  transform: none;
}
.nav {
  height: 76px;
}


/* ---- runforge-logo-cloud ---- */
.brand i,
.footer-logo i {
  position: relative !important;
  display: block !important;
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 22px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  transition:
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.28s !important;
}
.brand i:before,
.footer-logo i:before {
  content: "" !important;
  position: absolute !important;
  left: 3px !important;
  bottom: 2px !important;
  width: 24px !important;
  height: 13px !important;
  border-radius: 10px 10px 7px 7px !important;
  background: #081a33 !important;
  border: 0 !important;
  box-shadow:
    8px -4px 0 -2px #081a33,
    -4px -2px 0 -3px #081a33 !important;
  transform: none !important;
}
.brand i:after,
.footer-logo i:after {
  content: "" !important;
  position: absolute !important;
  left: 11px !important;
  top: 7px !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #fff !important;
  opacity: 1 !important;
}
.brand:hover i,
.footer-logo:hover i {
  transform: translateY(-2px) scale(1.06) !important;
  filter: drop-shadow(0 6px 9px rgba(8, 26, 51, 0.24)) !important;
}
.footer-logo i {
  flex-basis: 29px !important;
  width: 29px !important;
  height: 22px !important;
}


/* ---- runforge-agent-cloud-logo ---- */
.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand .rf-mark,
.footer-logo .rf-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  margin: 0;
  transform: none;
  filter: drop-shadow(0 5px 10px rgba(8, 26, 51, 0.16));
  transition:
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.28s ease !important;
}
.brand .rf-mark svg,
.footer-logo .rf-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}
.brand:hover .rf-mark,
.footer-logo:hover .rf-mark {
  transform: translateY(-2px) rotate(-3deg) scale(1.06);
  filter: drop-shadow(0 8px 14px rgba(8, 26, 51, 0.24));
}
.footer-logo .rf-mark {
  width: 29px;
  height: 29px;
  flex-basis: 29px;
}


/* ---- runforge-footer-type ---- */
.site-footer > .wrap {
  z-index: 3;
}
.rf-footer-type {
  left: auto;
  top: auto;

  width: 100%;

  margin: 10px 0 0;

  isolation: isolate;
}
.rf-footer-word {
  z-index: 2;
}
.rf-footer-word span {
  cursor: default;
}
.rf-footer-word span:hover {
  color: #081a33;
  filter: drop-shadow(0 18px 18px rgba(8, 26, 51, 0.14));
}
.rf-footer-type:after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 12%, rgba(244, 241, 235, 0.04) 100%);
  pointer-events: none;
}
@media (max-width: 700px) {
.rf-footer-type {
    top: auto;
  }
}


/* ---- hero-runline-styles ---- */
.hero-runline {
  margin-top: 34px;

  border: 1px solid #dcd7ce;
  background: rgba(255, 253, 250, 0.72);
  border-radius: 14px;
  padding: 15px 17px;
  box-shadow: 0 14px 40px rgba(48, 42, 35, 0.06);
  position: relative;
  overflow: hidden;
}
.hero-runline:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #081a33, transparent);
  transform: translateX(-100%);
  will-change: transform;
  animation: rf-runline-scan 3.6s ease-in-out infinite;
}
.hero-runline-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 10px var(--mono);
  letter-spacing: 0.08em;
  color: #4e5a67;
}
.hero-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #26815b;
  box-shadow: 0 0 0 4px rgba(38, 129, 91, 0.1);
  animation: rf-pulse 1.8s ease-in-out infinite;
}
.hero-run-id {
  margin-left: auto;
  color: #8b877f;
  letter-spacing: 0;
}
.hero-run-track {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
  align-items: center;
  margin-top: 17px;
}
.hero-run-track > i {
  height: 1px;

  position: relative;
  overflow: hidden;
}
.hero-run-track > i:after {
  content: "";
  position: absolute;
  left: 0;
  width: 55%;
  height: 1px;
  background: #081a33;
  transform: translateX(-182%);
  will-change: transform;
  animation: rf-track-flow 2.8s linear infinite;
}
.hero-run-node {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  color: #8b877f;
}
.hero-run-node.active {
  color: #171716;
}
.hero-node-dot {
  grid-row: 1 / span 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9c4bb;
  border: 2px solid #fffdfa;
  box-shadow: 0 0 0 1px #c9c4bb;
}
.hero-run-node.active .hero-node-dot {
  background: #081a33;
  box-shadow: 0 0 0 1px #081a33;
}
.hero-run-node b {
  font-size: 11px;
  line-height: 1.1;
}
.hero-run-node small {
  font: 9px var(--mono);
  color: #8b877f;
  margin-top: 3px;
}
@keyframes rf-runline-scan {
  0%,
  100% {
    transform: translateX(-100%);
    opacity: 0;
  }
  15%,
  80% {
    opacity: 1;
  }
  50% {
    transform: translateX(286%);
  }
}
@keyframes rf-track-flow {
  from {
    transform: translateX(-182%);
  }
  to {
    transform: translateX(255%);
  }
}
@media (max-width: 720px) {
.hero-runline {
    margin-top: 28px;
  }
.hero-runline-top {
    font-size: 9px;
  }
.hero-run-id {
    font-size: 8px;
  }
.hero-run-track {
    grid-template-columns: 1fr 18px 1fr 18px 1fr 18px 1fr;
  }
.hero-run-node {
    column-gap: 5px;
  }
.hero-run-node b {
    font-size: 9px;
  }
.hero-run-node small {
    font-size: 8px;
  }
}


/* ---- hero-centered-final ---- */
.hero-grid {
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  justify-items: center;
}
.hero-grid > div:first-child {
  width: 100%;
  max-width: 980px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.hero-runline {
  width: min(100%, 820px);
  max-width: 820px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
.hero {
  padding-top: 128px;
  padding-bottom: 110px;
}
@media (max-width: 720px) {
.hero {
    padding-top: 88px;
    padding-bottom: 70px;
  }
.hero-runline {
    width: 100%;
  }
}


/* ---- hero-title-spacing-fix ---- */
.hero h1 {
  line-height: 1.01;
  letter-spacing: -0.068em;
  padding-bottom: 0.04em;
}
@media (max-width: 720px) {
.hero h1 {
    line-height: 1;
    letter-spacing: -0.055em;
  }
}


/* ---- rf-cp-css ---- */
.rf-control-plane {
  margin-top: 42px;
}
.rf-cp-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 760px;
  background: #fffdfa;
  border: 1px solid #d9d5cc;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(35, 31, 25, 0.07);
}
.rf-cp-sidebar {
  background: #f7f4ee;
  border-right: 1px solid #e3dfd7;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
}
.rf-cp-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 4px 8px 22px;
}
.rf-cp-logo {
  font-weight: 900;
}
.rf-cp-brand b {
  display: block;
  font-size: 14px;
}
.rf-cp-brand small {
  display: block;
  color: #8a867f;
  font: 9px var(--mono);
}
.rf-cp-project {
  padding: 0 6px 17px;
}
.rf-cp-project span,
.rf-cp-navlabel {
  display: block;
  color: #6b665e;
  font: 8px var(--mono);
  letter-spacing: 0.13em;
  margin-bottom: 6px;
}
.rf-cp-project button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fffdfa;
  line-height: 1;
  border: 1px solid #ded9d0;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 10px;
}
.rf-cp-nav {
  display: grid;
  gap: 3px;
}
.rf-cp-navitem {
  border: 0;
  background: transparent;
  color: #6e6a64;
  text-align: left;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.rf-cp-navitem span {
  width: 14px;
  text-align: center;
  color: #8e8a82;
}
.rf-cp-navitem em {
  margin-left: auto;
  font: 8px var(--mono);
  color: #aaa59c;
  font-style: normal;
}
.rf-cp-navitem:hover {
  background: #eeebe5;
}
.rf-cp-navitem.active {
  background: #e8edf3;
  color: #081a33;
  font-weight: 700;
}
.rf-cp-navitem.active span {
  color: #081a33;
}
.rf-cp-navlabel {
  margin: 20px 10px 3px;
}
.rf-cp-sidebar-bottom {
  margin-top: auto;
}
.rf-cp-user {
  border-top: 1px solid #e3dfd7;
  margin-top: 10px;
  padding: 14px 6px 2px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.rf-cp-user > span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #dce5ef;
  color: #081a33;
  display: grid;
  place-items: center;
  font: 9px var(--mono);
  font-weight: 700;
}
.rf-cp-user-copy {
  min-width: 0;
  line-height: 1.15;
}
.rf-cp-user b {
  font-size: 11px;
  line-height: 1.2;
  display: block;
  font-weight: 700;
  color: #252525;
  white-space: nowrap;
}
.rf-cp-user small {
  display: block;
  margin-top: 4px;
  font: 8px var(--mono);
  color: #6b665e;
  letter-spacing: 0.02em;
}
.rf-cp-user i {
  margin-left: auto;
  color: #aaa;
}
.rf-cp-main {
  min-width: 0;
}
.rf-cp-topbar {
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
}
.rf-cp-breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 10px;
  color: #6b665e;
}
.rf-cp-breadcrumb b {
  color: #c3beb6;
}
.rf-cp-breadcrumb strong {
  color: #282828;
}
.rf-cp-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rf-cp-system {
  font: 8px var(--mono);
  color: #5f766a;
}
.rf-cp-system i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2b8b61;
  margin-right: 5px;
}
.rf-cp-iconbtn {
  border: 1px solid #ded9d0;
  background: #fffdfa;
  border-radius: 8px;
  height: 32px;
  padding: 0 10px;
  color: #57534e;
  font-size: 10px;
  cursor: pointer;
}
.rf-cp-content {
  padding: 24px;
}
.rf-cp-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
}
.rf-cp-kicker {
  font: 8px var(--mono);
  letter-spacing: 0.14em;
  color: #6b665e;
}
.rf-cp-heading h3 {
  margin: 5px 0;
  font-size: 24px;
  letter-spacing: -0.035em;
}
.rf-cp-heading p {
  margin: 0;
  color: #77736d;
  font-size: 11px;
  max-width: 640px;
}
.rf-cp-range {
  display: flex;
  background: #f2efe9;
  border: 1px solid #e0dbd3;
  border-radius: 8px;
  padding: 3px;
}
.rf-cp-range button {
  border: 0;
  background: transparent;
  border-radius: 6px;
  padding: 6px 9px;
  font: 9px var(--mono);
  color: #6b665e;
}
.rf-cp-range button.active {
  background: #fff;
  color: #081a33;
}
.rf-cp-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin: 20px 0 10px;
}
.rf-cp-metric {
  border: 1px solid #e0dbd3;
  background: #fff;
  border-radius: 10px;
  padding: 13px;
}
.rf-cp-metric span {
  display: block;
  color: #6b665e;
  font: 8px var(--mono);
  letter-spacing: 0.08em;
}
.rf-cp-metric strong {
  display: block;
  font-size: 21px;
  margin: 5px 0 2px;
}
.rf-cp-metric small {
  font: 8px var(--mono);
  color: #6b665e;
}
.rf-cp-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 10px;
}
.rf-cp-card {
  border: 1px solid #ded9d0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.rf-cp-cardhead {
  min-height: 48px;
  border-bottom: 1px solid #e9e5de;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rf-cp-cardhead b {
  display: block;
  font-size: 10px;
}
.rf-cp-cardhead span {
  display: block;
  font: 8px var(--mono);
  color: #6b665e;
  margin-top: 3px;
}
.rf-cp-cardhead button {
  border: 0;
  background: transparent;
  color: #6b665e;
  font-size: 9px;
  cursor: pointer;
}
.rf-cp-tablehead,
.rf-cp-row {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.75fr 0.55fr 0.4fr;
  gap: 7px;
  align-items: center;
}
.rf-cp-tablehead {
  padding: 8px 12px;
  border-bottom: 1px solid #eeeae3;
  color: #6b665e;
  font: 7px var(--mono);
  letter-spacing: 0.08em;
}
.rf-cp-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #efebe4;
  background: transparent;
  text-align: left;
  padding: 12px;
  cursor: pointer;
}
.rf-cp-row:hover {
  background: #f7f4ee;
}
.rf-cp-row.selected {
  background: #eef3f8;
  box-shadow: inset 2px 0 #081a33;
}
.rf-cp-name {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.rf-cp-avatar {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: #eef1f4;
  border: 1px solid #d9dfe5;
  color: #081a33;
  display: grid;
  place-items: center;
  font: 8px var(--mono);
  font-weight: 700;
}
.rf-cp-name b {
  display: block;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rf-cp-name small,
.rf-cp-cell {
  font: 8px var(--mono);
  color: #6b665e;
}
.rf-cp-cell strong {
  font-size: 9px;
  font-weight: 600;
  color: #5f5a54;
}
.rf-state {
  font: 8px var(--mono);
  font-weight: 700;
}
.rf-state.running {
  color: #2b8b61;
}
.rf-state.sleeping {
  color: #8e887f;
}
.rf-state.queued {
  color: #9b7426;
}
.rf-cp-inspector-body {
  padding: 13px;
}
.rf-cp-inspector-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.rf-cp-inspector-title b {
  font-size: 15px;
}
.rf-cp-inspector-title span {
  display: block;
  font: 8px var(--mono);
  color: #6b665e;
  margin-top: 3px;
}
.rf-cp-live {
  color: #2b8b61 !important;
}
.rf-cp-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.rf-cp-info {
  border: 1px solid #ebe7e0;
  border-radius: 8px;
  padding: 9px;
}
.rf-cp-info span {
  display: block;
  font: 7px var(--mono);
  color: #6b665e;
}
.rf-cp-info b {
  display: block;
  font-size: 9px;
  margin-top: 4px;
}
.rf-cp-health {
  margin-top: 8px;
  padding: 10px;
  border-radius: 8px;
  background: #f4f7f4;
  border: 1px solid #dce9df;
}
.rf-cp-health b {
  font-size: 9px;
}
.rf-cp-health p {
  margin: 4px 0 0;
  font: 8px var(--mono);
  color: #718077;
}
.rf-cp-inspector-actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.rf-cp-inspector-actions button {
  flex: 1;
  border: 1px solid #ddd8d0;
  background: #fff;
  border-radius: 7px;
  padding: 8px;
  font-size: 8px;
  cursor: pointer;
}
.rf-cp-lower {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 10px;
  margin-top: 10px;
}
.rf-cp-tabs {
  display: flex;
  gap: 2px;
  background: #f4f1eb;
  border-radius: 7px;
  padding: 2px;
}
.rf-cp-tabs button {
  border: 0;
  background: transparent;
  padding: 5px 7px;
  border-radius: 5px;
  color: #99938a;
  font: 7px var(--mono);
  cursor: pointer;
}
.rf-cp-tabs button.active {
  background: #fff;
  color: #081a33;
}
.rf-cp-detail {
  min-height: 190px;
  padding: 14px;
  font: 9px/1.75 var(--mono);
  color: #68645e;
}
.rf-cp-line.blue {
  color: #526b82;
}
.rf-cp-line.green {
  color: #2b8b61;
}
.rf-cp-eventlist {
  padding: 6px 12px 10px;
}
.rf-cp-event {
  display: grid;
  grid-template-columns: 7px 1fr auto;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid #efebe4;
}
.rf-cp-event i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bdb7ae;
  margin-top: 4px;
}
.rf-cp-event.active i {
  background: #2b8b61;
}
.rf-cp-event b {
  display: block;
  font-size: 8px;
}
.rf-cp-event span,
.rf-cp-event time {
  font: 7px var(--mono);
  color: #6b665e;
}
.rf-cp-event span {
  display: block;
  margin-top: 2px;
}
.rf-cp-preview {
  height: 170px;
  border: 1px solid #d9d5ce;
  border-radius: 9px;
  overflow: hidden;
  background: #f3f0ea;
}
.rf-cp-browserbar {
  height: 26px;
  background: #e9e6df;
  border-bottom: 1px solid #d8d4cc;
  display: flex;
  align-items: center;
  padding: 0 9px;
  gap: 4px;
}
.rf-cp-browserbar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bbb6ae;
}
.rf-cp-url {
  margin-left: 8px;
  background: #fff;
  border: 1px solid #dedad3;
  border-radius: 4px;
  padding: 3px 8px;
  font: 7px var(--mono);
  color: #858078;
  flex: 1;
}
.rf-cp-previewbody {
  padding: 18px;
  background: linear-gradient(145deg, #f8f5ef, #edf2f5);
  height: calc(100% - 27px);
}
.rf-cp-previewcard {
  width: 70%;
  height: 70px;
  background: #fff;
  border: 1px solid #e2ded7;
  border-radius: 8px;
  padding: 12px;
}
.rf-cp-previewline {
  height: 6px;
  background: #dfe5ea;
  border-radius: 3px;
  width: 45%;
  margin-bottom: 8px;
}
.rf-cp-previewline.short {
  width: 28%;
}
@media (max-width: 900px) {
.rf-cp-shell {
    grid-template-columns: 1fr;
  }
.rf-cp-sidebar {
    display: none;
  }
.rf-cp-grid,
.rf-cp-lower {
    grid-template-columns: 1fr;
  }
.rf-cp-metrics {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
.rf-cp-content {
    padding: 14px;
  }
.rf-cp-topbar {
    padding: 0 14px;
  }
.rf-cp-system {
    display: none;
  }
.rf-cp-metrics {
    grid-template-columns: 1fr 1fr;
  }
.rf-cp-heading {
    display: block;
  }
.rf-cp-range {
    margin-top: 12px;
    width: max-content;
  }
.rf-cp-tablehead,
.rf-cp-row {
    grid-template-columns: 1.5fr 0.9fr 0.7fr;
  }
.rf-cp-tablehead > *:nth-child(3),
.rf-cp-row > *:nth-child(3),
.rf-cp-tablehead > *:nth-child(4),
.rf-cp-row > *:nth-child(4),
.rf-cp-tablehead > *:nth-child(5),
.rf-cp-row > *:nth-child(5) {
    display: none;
  }
}


/* ---- rf-cp-header-fix ---- */
.rf-cp-main > header.rf-cp-topbar {
  position: relative;
  top: auto;
  z-index: auto;
  width: auto;
  margin: 0;
  background: #fffdfa;
  backdrop-filter: none;
  -webkit-backdrop-filter: none !important;
  border: 0;
  border-bottom: 1px solid #e5e1d9;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}


/* ---- rf-cp-enhanced ---- */
.rf-cp-heading-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rf-cp-inline-actions,
.rf-cp-card-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.rf-cp-action.selected {
  background: #e8edf3;
  color: #081a33;
  border-color: #cdd9e5;
}
.rf-cp-two-col {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 10px;
  margin-top: 20px;
}
.rf-cp-agentrow b,
.rf-cp-activityrow b {
  display: block;
}
.rf-cp-result p {
  font: 8px var(--mono);

  line-height: 1.6;
}
.rf-cp-viewcard {
  display: flex;
  flex-direction: column;
}
.rf-cp-viewcard .rf-cp-card-actions {
  margin-top: auto;
  padding-top: 12px;
}
.rf-cp-agent-top {
  display: flex;
  gap: 7px;
  align-items: center;
}
.rf-cp-agent-meta {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.rf-cp-agent-meta span,
.rf-cp-chiprow span {
  font: 7px var(--mono);
  padding: 5px 7px;
  border: 1px solid #e5e1da;
  border-radius: 6px;
  color: #78736b;
  background: #faf8f4;
}
.rf-cp-activity-item {
  display: grid;
  grid-template-columns: 7px 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 13px;
  border-bottom: 1px solid #efebe4;
}
.rf-cp-activity-item > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bdb7ae;
}
.rf-cp-activity-item > i.green {
  background: #2b8b61;
}
.rf-cp-activity-item > i.blue {
  background: #081a33;
}
.rf-cp-activity-item b {
  font-size: 10px;
}
.rf-cp-activity-item span {
  display: block;
  font: 8px var(--mono);
  color: #938e86;
  margin-top: 3px;
}
.rf-cp-activity-item time {
  font: 8px var(--mono);
  color: #6b665e;
}
.rf-cp-settings-tabs {
  display: flex;
  gap: 3px;
  background: #f2efe9;
  border: 1px solid #e0dbd3;
  border-radius: 8px;
  padding: 3px;
  flex-wrap: wrap;
}
.rf-cp-settings-tabs button {
  border: 0;
  background: transparent;
  border-radius: 6px;
  padding: 6px 9px;
  color: #6b665e;
  font: 8px var(--mono);
  cursor: pointer;
}
.rf-cp-settings-tabs button.active {
  background: #fff;
  color: #081a33;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.rf-cp-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.rf-cp-setting {
  background: #fff;
  border: 1px solid #ded9d0;
  border-radius: 12px;
  padding: 15px;
  min-height: 132px;
}
.rf-cp-setting.wide {
  grid-column: 1/-1;
}
.rf-cp-setting > span {
  display: block;
  font: 8px var(--mono);
  letter-spacing: 0.1em;
  color: #6b665e;
}
.rf-cp-setting > b {
  display: block;
  font-size: 12px;
  margin: 7px 0;
}
.rf-cp-setting > p {
  font-size: 9px;
  line-height: 1.55;
  color: #77736d;
  margin: 0 0 12px;
}
.rf-cp-setting .rf-cp-toggle {
  float: right;
}
.rf-cp-select,
.rf-cp-setting input:not([type="checkbox"]),
.rf-cp-setting textarea,
.rf-cp-form-grid input,
.rf-cp-form-grid select,
.rf-cp-form-full textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dcd7cf;
  background: #fffdfa;
  border-radius: 8px;
  padding: 9px 10px;
  font: 9px var(--mono);
  color: #282828;
  outline: none;
}
.rf-cp-setting select {
  margin-top: 4px;
}
.rf-cp-rangeinput {
  margin: 14px 0 8px;

  -webkit-appearance: none;

  border: 0 !important;

  padding: 0 !important;
}
.rf-cp-rangeinput::-moz-range-track {
  height: 4px;
  background: transparent;
  border-radius: 999px;
}
.rf-cp-rangeinput::-webkit-slider-thumb {
  -webkit-appearance: none;
}
.rf-cp-rangeinput::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border: 0;
  border-radius: 50%;
  background: #081a33;
  box-shadow: none;
}
.rf-cp-rangeinput:focus-visible {
  outline-offset: 4px;
}
.rf-cp-chiprow {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.rf-cp-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 25, 0.26);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.rf-cp-modal-backdrop,
.rf-cp-modal {
  box-sizing: border-box;
}
.rf-cp-modal {
  width: min(620px, 100%);
  max-height: min(760px, 90vh);
  overflow: auto;
  background: #fffdfa;
  border: 1px solid #d8d3ca;
  border-radius: 16px;
  box-shadow: 0 30px 100px rgba(30, 25, 20, 0.22);
  transform: translateY(8px) scale(0.99);
  transition: 0.2s;
}
.rf-cp-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.rf-cp-modal-backdrop.open .rf-cp-modal {
  transform: none;
}
.rf-cp-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  background: #081a33;
  color: #fff;
  padding: 11px 14px;
  border-radius: 9px;
  font: 9px var(--mono);
  box-shadow: 0 14px 40px rgba(8, 26, 51, 0.25);

  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0s linear 0.2s;
}
.rf-cp-toast.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s, visibility 0s linear 0s;
}
.rf-cp-modal-head {
  padding: 18px 20px;
  border-bottom: 1px solid #e8e4dd;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.rf-cp-modal-head h3 {
  margin: 5px 0 0;
  font-size: 18px;
}
.rf-cp-modal-close {
  border: 0;
  background: #f2efe9;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  font-size: 18px;
  cursor: pointer;
}
.rf-cp-modal-body {
  padding: 18px 20px;
}
.rf-cp-modal-foot {
  padding: 12px 20px;
  border-top: 1px solid #e8e4dd;
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}
.rf-cp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rf-cp-form-grid label,
.rf-cp-form-full {
  display: block;
  font: 8px var(--mono);
  color: #77736d;
}
.rf-cp-form-grid select,
.rf-cp-form-grid input {
  margin-top: 6px;
}
.rf-cp-form-full {
  margin-top: 12px;
}
.rf-cp-form-full textarea {
  margin-top: 6px;
  min-height: 110px;
  resize: vertical;
}
.rf-cp-modal-note {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #e7e2da;
  background: #f7f4ee;
  border-radius: 8px;
  font: 8px/1.6 var(--mono);
  color: #7c776f;
}
.rf-cp-check {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  font: 8px var(--mono);
  color: #77736d;
}
.rf-cp-project-option {
  display: flex;
  width: 100%;
  text-align: left;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e1ddd5;
  border-radius: 9px;
  margin-bottom: 7px;
  cursor: pointer;
}
.rf-cp-project-option:hover {
  background: #f7f4ee;
  border-color: #cbd4de;
}
.rf-cp-project-option b {
  font-size: 10px;
}
.rf-cp-project-option span {
  font: 8px var(--mono);
  color: #6b665e;
}
.rf-cp-action-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.rf-cp-preview-large {
  height: 330px;
}
.rf-cp-preview-large .rf-cp-previewbody {
  height: calc(100% - 27px);
}
@media (max-width: 900px) {
.rf-cp-two-col,
.rf-cp-overview-grid,
.rf-cp-settings-grid {
    grid-template-columns: 1fr;
  }
.rf-cp-setting.wide {
    grid-column: auto;
  }
.rf-cp-heading {
    align-items: flex-start;
  }
.rf-cp-heading-tools {
    margin-top: 12px;
  }
}
@media (max-width: 600px) {
.rf-cp-form-grid {
    grid-template-columns: 1fr;
  }
.rf-cp-agentrow .rf-cp-action {
    display: none;
  }
.rf-cp-activity-item {
    grid-template-columns: 7px 1fr auto;
  }
.rf-cp-activity-item .rf-cp-action {
    display: none;
  }
.rf-cp-modal-foot {
    flex-wrap: wrap;
  }
.rf-cp-action-list {
    grid-template-columns: 1fr;
  }
.rf-cp-settings-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
.rf-cp-settings-tabs button {
    white-space: nowrap;
  }
}


/* ---- rf-agent-system-css ---- */
.rf-agent-kicker {
  font: 11px var(--mono);
  letter-spacing: 0.17em;
  color: #77736b;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0;
}


/* ---- rf-simple-section ---- */
.rf-agent-simple {
  padding: 150px 0 135px;
  background: var(--bg);
}
.rf-simple-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
}
.rf-simple-copy {
  max-width: 520px;
}
.rf-simple-copy h2 {
  font-size: clamp(48px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 9px 0 28px;
  color: var(--text);
}
.rf-simple-copy h2 span {
  color: var(--accent);
}
.rf-simple-copy p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 500px;
  margin: 0 0 30px;
}
.rf-simple-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.rf-simple-link span {
  transition: transform 0.25s ease;
}
.rf-simple-link:hover span {
  transform: translateX(5px);
}
.rf-simple-diagram {
  padding: 28px 0;
  position: relative;
}
.rf-simple-node {
  min-height: 92px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 12px 35px rgba(20, 28, 36, 0.06);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.rf-simple-node:hover {
  transform: translateX(5px);
  border-color: var(--line2);
  box-shadow: 0 18px 42px rgba(20, 28, 36, 0.1);
}
.rf-simple-node-main {
  border-color: #b9c4d1;
  box-shadow: 0 18px 50px rgba(8, 26, 51, 0.09);
}
.rf-simple-node-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 13px var(--mono);
  flex: 0 0 auto;
}
.rf-simple-node b {
  display: block;
  font-size: 16px;
}
.rf-simple-node small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font: 12px var(--mono);
}
.rf-simple-live {
  margin-left: auto;
  font: 700 10px var(--mono);
  color: var(--green);
  letter-spacing: 0.08em;
}
.rf-simple-line {
  height: 30px;
  position: relative;
}
.rf-simple-line:before {
  content: "";
  position: absolute;
  left: 41px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line2);
}
.rf-simple-line i {
  position: absolute;
  left: 39px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(8, 26, 51, 0.06);
}
.rf-simple-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin: 90px auto 0;
  max-width: 1160px;
}
.rf-simple-points > div {
  padding: 22px 24px 0 0;
}
.rf-simple-points > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.rf-simple-points b {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}
.rf-simple-points span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 900px) {
.rf-simple-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }
.rf-simple-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
.rf-simple-points > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }
.rf-simple-points > div:nth-child(4) {
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }
}
@media (max-width: 560px) {
.rf-agent-simple {
    padding: 95px 0;
  }
.rf-simple-copy h2 {
    font-size: 48px;
  }
.rf-simple-copy p {
    font-size: 16px;
  }
.rf-simple-points {
    grid-template-columns: 1fr;
  }
.rf-simple-points > div,
.rf-simple-points > div + div {
    border-left: 0 !important;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    padding-bottom: 18px;
  }
.rf-simple-points > div:first-child {
    border-top: 0;
  }
}


/* ---- rf-execution-redesign ---- */
@keyframes rfPulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-3px);
    opacity: 0.55;
  }
}
@keyframes rfLive {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}


/* ---- faq-visibility-fix ---- */
#faq .faq-a {
  display: none;
}
#faq .faq-item.open .faq-a {
  display: block;
}
#faq .faq-item:not(.open) .faq-a > div {
  display: none;
}
#faq .faq-item.open .faq-a > div {
  display: block;
  padding-bottom: 22px;
}


/* ---- unnamed ---- */
#faq .faq-head {
  display: block;
  text-align: center;
  margin-bottom: 46px;
}
#faq .faq-head > div {
  width: 100%;
}
#faq .faq-head .eyebrow {
  justify-content: center;
}
#faq .faq-head h2 {
  margin-left: auto;
  margin-right: auto;
}
#faq .faq {
  max-width: 820px;
  margin: 0 auto;
  display: block;
  padding-top: 0;
  counter-reset: none;
}
#faq .faq-item {
  counter-increment: none;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
#faq .faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
#faq .faq-item:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
  background: transparent;
}
#faq .faq-q {
  width: 100%;
  min-height: 0;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  text-align: left;
  line-height: 1.4;
}
#faq .faq-q::before {
  display: none;
}
#faq .faq-q span:last-child {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  display: block;
  color: var(--accent);
  font: 400 18px/1 var(--mono);
}
#faq .faq-q:hover {
  transform: none;
  color: var(--accent);
}
#faq .faq-a > div {
  padding: 0 4px 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 700px;
}
#faq .faq-a {
  grid-template-rows: 0fr;
}
#faq .faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
@media (max-width: 720px) {
#faq .faq-head {
    margin-bottom: 34px;
  }
#faq .faq-head h2 {
    font-size: 38px;
  }
#faq .faq-q {
    padding: 19px 2px;
    font-size: 14px;
  }
#faq .faq-a > div {
    padding-left: 2px;
    padding-right: 2px;
  }
}


/* ---- rf-faq-scroll-theme ---- */
#faq {
  position: relative;
  background: var(--bg);
  color: var(--text);
  transition:
    background 0.45s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}
#faq .eyebrow,
#faq h2,
#faq .faq-q,
#faq .faq-q span:last-child {
  transition:
    color 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}
#faq .faq-item,
#faq .faq-a > div {
  transition:
    color 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}
#faq.faq-scroll-active {
  background: #081a33;
  color: #f4f1eb;
  border-bottom-color: rgba(244, 241, 235, 0.18);
}
#faq.faq-scroll-active .eyebrow,
#faq.faq-scroll-active h2,
#faq.faq-scroll-active .faq-q {
  color: #f4f1eb;
}
#faq.faq-scroll-active .faq-q span:last-child {
  color: #f4f1eb;
  border-color: rgba(244, 241, 235, 0.35);
}
#faq.faq-scroll-active .faq-item {
  border-color: rgba(244, 241, 235, 0.2);
  background: transparent;
  box-shadow: none;
}
#faq.faq-scroll-active .faq-item.open {
  border-color: rgba(244, 241, 235, 0.34);
  background: transparent;
}
#faq.faq-scroll-active .faq-a > div {
  color: rgba(244, 241, 235, 0.72);
}
#faq.faq-scroll-active .faq-item.open .faq-q span:last-child {
  background: transparent;
  border-color: transparent;
  color: #f4f1eb;
}
#faq.faq-scroll-active .faq-q:hover {
  color: #f4f1eb;
}


/* ---- rf-final-cta ---- */
.rf-final-cta {
  padding: 64px 0 64px;
  display: flex;
  align-items: center;
}
.rf-final-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 28px;
  box-shadow: 0 12px 34px rgba(31, 27, 21, 0.055);
}
.rf-final-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(520px 180px at 8% 0, rgba(8, 26, 51, 0.055), transparent 70%);
}
.rf-final-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #081a33;
}
.rf-final-card > * {
  position: relative;
  z-index: 1;
}
.rf-final-kicker {
  font: 800 16px var(--mono);
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
  line-height: 1.1;
  align-self: start;
}
.rf-final-card h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: var(--text);
}
.rf-final-card h2 em {
  font-style: normal;
  color: var(--accent);
}
.rf-final-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  align-self: end;
}
.rf-final-card .btn.primary {
  white-space: nowrap;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  padding: 12px 18px;
}
.rf-final-card .btn.primary:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  transform: translateY(-1px);
}
@media (max-width: 700px) {
.rf-final-cta {
    padding: 40px 0 40px;
  }
.rf-final-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
  }
.rf-final-card h2 {
    font-size: 38px;
  }
}


/* ---- rf-footer-final-fix ---- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: #f4f1eb;
  border-top: 1px solid #ded9d0;
  color: #68655f;
  padding: 48px 0 0;
  margin-top: 0;
}
.rf-footer-main {
  position: relative;
  overflow: hidden;
}
.rf-footer-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(250px, 1.7fr) repeat(5, minmax(105px, 1fr));
  gap: 34px;
  align-items: start;
  min-height: 205px;
}
.footer-brand {
  max-width: 330px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #171716;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.footer-logo .rf-mark {
  display: grid;
}
.footer-brand p {
  margin: 20px 0 0;
  color: #77736c;
  font-size: 13px;
  line-height: 1.65;
  max-width: 300px;
}
.rf-footer-grid .footer-col {
  display: grid;
  align-content: start;
  gap: 12px;
}
.rf-footer-grid .footer-label {
  margin-bottom: 6px;
  color: #8b877f;
  font: 10px var(--mono);
  letter-spacing: 0.16em;
}
.rf-footer-grid .footer-col a {
  color: #68655f;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}
.rf-footer-grid .footer-col a:hover {
  color: #081a33 !important;
}
.rf-contact-col {
  min-width: 0;
}
.rf-contact-col a {
  font-weight: 500;
}
.rf-contact-col a[href^="mailto:"] {
  color: #171716;
}
.footer-bottom {
  position: relative;
  z-index: 6;
  margin-top: 28px;
  padding: 18px 0 20px;
  border-top: 1px solid #ded9d0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8b877f;
  font: 10px var(--mono);
}
.rf-footer-type {
  position: relative;
  z-index: 1;

  display: flex;

  pointer-events: none;
}
.rf-footer-word {
  position: relative;
}

/* Six columns leave the e-mail addresses too little room below ~1300px; use the four-column layout there. */
@media (max-width: 1300px) {
.rf-footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
.rf-contact-col {
    grid-column: 4;
  }
}

/* Below ~900px one column is too narrow for the e-mail addresses, so the contact block spans two. */
@media (max-width: 900px) and (min-width: 721px) {
.rf-contact-col {
    grid-column: 3 / span 2;
  }
}
@media (max-width: 720px) {
.site-footer {
    padding-top: 0;
  }
.rf-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
    min-height: 0;
  }
.footer-brand {
    grid-column: 1/-1;
  }
.rf-contact-col {
    grid-column: 1/-1;
  }
.footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}


/* ---- rf-footer-wordmark-animation ---- */
.rf-footer-word {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  color: #081a33;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  font-weight: 800;

  user-select: none;
  pointer-events: auto;
}
.rf-footer-word span {
  display: inline-block;

  transform-origin: 50% 100%;
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.rf-footer-word span:nth-child(2) {
  transition-delay: 0.015s !important;
}
.rf-footer-word span:nth-child(3) {
  transition-delay: 0.03s !important;
}
.rf-footer-word span:nth-child(4) {
  transition-delay: 0.045s !important;
}
.rf-footer-word span:nth-child(5) {
  transition-delay: 0.06s !important;
}
.rf-footer-word span:nth-child(6) {
  transition-delay: 0.075s !important;
}
.rf-footer-word span:nth-child(7) {
  transition-delay: 0.09s !important;
}
.rf-footer-word span:nth-child(8) {
  transition-delay: 0.105s !important;
}


/* ---- rf-footer-wordmark-exact ---- */
.rf-footer-type {
  height: 145px;
  margin-top: 2px;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  transform: none;
}
.rf-footer-word {
  font-size: clamp(100px, 11vw, 180px);
  line-height: 0.68;

  padding-right: 0.1em;
}
.rf-footer-word span {
  transform: translateY(0) rotate(0deg);
}
@media (max-width: 700px) {
.rf-footer-type {
    height: 165px;
  }
.rf-footer-word {
    font-size: 28vw;
  }
}


/* ---- rf-footer-wordmark-lift ---- */

/* ---- rf-footer-wordmark-final-position ---- */
.rf-footer-word {
  transform: translateY(-46px);
}
@media (max-width: 700px) {
.rf-footer-word {
    transform: translateY(-28px);
  }
}


/* ---- rf-footer-wordmark-hover-fix ---- */
.rf-footer-word span {
  position: relative;
  z-index: 1;
}
.rf-footer-word span:hover {
  z-index: 3;
  transform: translateY(-12px) rotate(-0.8deg);
}
@media (max-width: 700px) {
.rf-footer-word span:hover {
    transform: translateY(-9px) rotate(-0.6deg);
  }
}


/* ---- rf-footer-wordmark-spacing-fix ---- */
.rf-footer-word {
  letter-spacing: -0.075em;
}
.rf-footer-word span {
  margin-right: 0.012em;
}
.rf-footer-word span:nth-child(4) {
  transform: translateY(18px) scaleY(0.84);
  transform-origin: 50% 100%;
}
.rf-footer-word span:nth-child(4):hover {
  transform: translateY(12px) scaleY(0.84);
}
@media (max-width: 700px) {
.rf-footer-word {
    letter-spacing: -0.065em;
  }
.rf-footer-word span {
    margin-right: 0.008em;
  }
.rf-footer-word span:nth-child(4) {
    transform: translateY(12px) scaleY(0.88);
  }
.rf-footer-word span:nth-child(4):hover {
    transform: translateY(8px) scaleY(0.88);
  }
}


/* ---- hero-runline-sequence ---- */
.hero-runline .hero-run-node {
  transition:
    color 0.45s ease,
    transform 0.45s ease,
    opacity 0.45s ease;
}
.hero-runline .hero-run-node .hero-node-dot {
  transition:
    background 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.45s ease;
}
.hero-runline .hero-run-node small {
  transition: color 0.45s ease;
}
.hero-runline .hero-run-node.current {
  color: #171716;
  transform: translateY(-1px);
}
.hero-runline .hero-run-node.current .hero-node-dot {
  background: #081a33;
  border-color: #fffdfa;
  box-shadow:
    0 0 0 2px #081a33,
    0 0 0 6px rgba(8, 26, 51, 0.08);
  transform: scale(1.08);
}
.hero-runline .hero-run-node.complete {
  color: #171716;
}
.hero-runline .hero-run-node.complete .hero-node-dot {
  background: #26815b;
  border-color: #fffdfa;
  box-shadow: 0 0 0 1px #26815b;
}
.hero-runline .hero-run-node.complete small {
  color: #26815b;
}
.hero-runline .hero-run-node b::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  background: #26815b;
  vertical-align: middle;
  margin-left: 0;
  transition:
    width 0.35s ease,
    margin-left 0.35s ease;
}
.hero-runline .hero-run-node.complete b::after {
  width: 12px;
  margin-left: 7px;
}
.hero-runline .hero-run-track > i {
  background: #d5d0c7;
}
.hero-runline .hero-run-track > i.complete {
  background: #26815b;
}
.hero-runline .hero-run-track > i.complete:after {
  animation: none;
  left: 0;
  width: 100%;
  background: #26815b;
}
.hero-runline .hero-run-track > i.current:after {
  animation: rf-track-complete 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes rf-track-complete {
  from {
    left: -100%;
  }
  to {
    left: 0;
  }
}


/* ---- rf-cp-range-fill-fix ---- */
.rf-cp-rangeinput {
  appearance: none;

  height: 5px;

  cursor: pointer;
}
.rf-cp-rangeinput::-webkit-slider-runnable-track {
  height: 5px;
  background: transparent;
  border-radius: 999px;
}
.rf-cp-rangeinput::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: #081a33;
  border: 0;
  box-shadow:
    0 0 0 2px #fffdfa,
    0 1px 4px rgba(8, 26, 51, 0.18);
}
.rf-cp-rangeinput::-moz-range-track {
  height: 5px;
  background: #ded9d0;
  border-radius: 999px;
}
.rf-cp-rangeinput::-moz-range-progress {
  height: 5px;
  background: #081a33;
  border-radius: 999px;
}
.rf-cp-rangeinput::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: #081a33;
  box-shadow:
    0 0 0 2px #fffdfa,
    0 1px 4px rgba(8, 26, 51, 0.18);
}


/* ---- rf-cp-final-fixes ---- */
.rf-cp-logo.rf-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border-radius: 10px;
  background: transparent;
  color: transparent;
  box-shadow: none;
  overflow: visible;
}
.rf-cp-logo.rf-mark svg {
  display: block;
  width: 31px;
  height: 31px;
}
.rf-cp-project button b {
  place-items: center;
  align-self: center;
}
.rf-cp-viewgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.rf-cp-viewcard {
  border: 1px solid #ded9d0;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  min-height: 132px;
  transition: 0.2s;
}
.rf-cp-viewcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(35, 31, 25, 0.07);
  border-color: #c9c3ba;
}
.rf-cp-viewcard .k {
  font: 8px var(--mono);
  letter-spacing: 0.12em;
  color: #6b665e;
  text-transform: uppercase;
}
.rf-cp-viewcard h4 {
  margin: 7px 0 5px;
  font-size: 14px;
}
.rf-cp-viewcard p {
  margin: 0;
  color: #77736d;
  font-size: 10px;
  line-height: 1.55;
}
.rf-cp-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e1ddd5;

  border-radius: 999px;
  padding: 5px 8px;
  font: 8px var(--mono);

  margin-top: 10px;
}
.rf-cp-pill.live {
  color: #247a57;
  background: #f1f7f3;
  border-color: #d8e8dc;
}
.rf-cp-pill.blue {
  color: #081a33;
  background: #eef3f8;
  border-color: #dbe5ef;
}
.rf-cp-listcard {
  margin-top: 20px;
  border: 1px solid #ded9d0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.rf-cp-listrow {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.8fr 0.6fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border-bottom: 1px solid #efebe4;
  font-size: 9px;
}
.rf-cp-listrow:last-child {
  border-bottom: 0;
}
.rf-cp-listrow b {
  font-size: 10px;
}
.rf-cp-listrow small {
  display: block;
  color: #6b665e;
  font: 8px var(--mono);
  margin-top: 3px;
}
.rf-cp-action {
  border: 1px solid #ded9d0;
  background: #fffdfa;
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 8px;
  cursor: pointer;
}
.rf-cp-action.primary {
  background: #081a33;
  color: #fff;
  border-color: #081a33;
}
.rf-cp-usagebar {
  height: 8px;
  background: #eeeae3;
  border-radius: 99px;
  overflow: hidden;
  margin-top: 8px;
}
.rf-cp-usagebar i {
  display: block;
  height: 100%;
  background: #081a33;
  border-radius: 99px;
}
.rf-cp-toggle {
  width: 34px;
  height: 20px;
  border: 0;
  border-radius: 99px;
  background: #d8d3ca;
  position: relative;
  cursor: pointer;
}
.rf-cp-toggle:after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: 0.2s;
}
.rf-cp-toggle.on {
  background: #081a33;
}
.rf-cp-toggle.on:after {
  left: 17px;
}
@media (max-width: 900px) {
.rf-cp-viewgrid {
    grid-template-columns: 1fr 1fr;
  }
.rf-cp-listrow {
    grid-template-columns: 1fr 0.8fr auto;
  }
.rf-cp-listrow > *:nth-child(3),
.rf-cp-listrow > *:nth-child(4) {
    display: none;
  }
}
@media (max-width: 600px) {
.rf-cp-viewgrid {
    grid-template-columns: 1fr;
  }
.rf-cp-listrow {
    grid-template-columns: 1fr auto;
  }
}
.rf-cp-overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin-top: 14px;
}
.rf-cp-agentlist {
  padding: 4px 0;
}
.rf-cp-agentrow,
.rf-cp-activityrow {
  display: grid;
  grid-template-columns: 10px 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #efebe4;
}
.rf-cp-agentrow:last-child,
.rf-cp-activityrow:last-child {
  border-bottom: 0;
}
.rf-cp-agentrow b,
.rf-cp-activityrow b {
  font-size: 10px;
}
.rf-cp-agentrow small,
.rf-cp-activityrow small {
  display: block;
  color: #6b665e;
  font: 8px var(--mono);
  margin-top: 3px;
}
.rf-cp-agentdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.rf-cp-agentdot.live {
  background: #2b8b61;
  box-shadow: 0 0 0 3px #e3f0e9;
}
.rf-cp-agentdot.queue {
  background: #a9a39a;
  box-shadow: 0 0 0 3px #eeeae3;
}
.rf-cp-activityrow {
  grid-template-columns: 7px 1fr auto;
}
.rf-cp-activityrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #bdb7ae;
}
.rf-cp-activityrow i.green {
  background: #2b8b61;
}
.rf-cp-activityrow i.blue {
  background: #081a33;
}
.rf-cp-activityrow time {
  font: 8px var(--mono);
  color: #6b665e;
}
.rf-cp-capacity {
  padding: 16px;
}
.rf-cp-capacity > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.rf-cp-capgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.rf-cp-capgrid span {
  border: 1px solid #ebe7df;
  background: #faf8f4;
  border-radius: 8px;
  padding: 10px;
}
.rf-cp-capgrid small {
  display: block;
  color: #99938b;
  font: 8px var(--mono);
  text-transform: uppercase;
}
.rf-cp-capgrid b {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}
.rf-cp-result {
  padding: 16px;
}
.rf-cp-result b {
  font-size: 12px;
}
.rf-cp-result p {
  color: #77736d;
  font-size: 9px;
  margin: 7px 0 12px;
}
.rf-cp-result .rf-cp-action {
  float: right;
}
@media (max-width: 800px) {
.rf-cp-overview-grid {
    grid-template-columns: 1fr;
  }
}


/* ---- unnamed ---- */
.rf-architecture-v2 {
  overflow: hidden;
}
.rf-arch-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 46px;
}
.rf-arch-head h2 {
  margin: 14px 0 0;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -0.045em;
  max-width: 620px;
}
.rf-arch-head > p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 620px;
}
.rf-arch-frame {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 250, 0.72);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(23, 23, 22, 0.045);
}
.rf-arch-bar {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--dim);
}
.rf-arch-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 86px minmax(0, 1.15fr) 86px minmax(0, 1.05fr);
  min-height: 334px;
}
.rf-arch-column {
  padding: 30px 25px 26px;
}
.rf-arch-control,
.rf-arch-evidence {
  display: flex;
  flex-direction: column;
}
.rf-arch-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--dim);
  margin-bottom: 25px;
}
.rf-arch-column h3 {
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 17px;
}
.rf-arch-column p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  max-width: 360px;
}
.rf-arch-control {
  border-right: 1px solid var(--line);
}
.rf-arch-runtime {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding-left: 26px;
  padding-right: 26px;
}
.rf-arch-evidence {
  border-left: 1px solid var(--line);
}
.rf-arch-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 26px;
}
.rf-arch-pills span {
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 6px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  color: var(--muted);
  background: var(--surface);
}
.rf-arch-bridge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-bottom: 0;
  color: var(--accent);
}
.rf-arch-bridge:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line2);
}
.rf-arch-bridge span {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--surface);
  font-size: 18px;
}
.rf-arch-bridge small {
  position: absolute;
  bottom: 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--dim);
}
.rf-machine-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 22px;
}
.rf-machine-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line2);
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--accent);
  background: var(--surface);
}
.rf-machine-head h3 {
  margin: 0 0 7px;
  font-size: 22px;
}
.rf-machine-status {
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.rf-machine-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 5px;
}
.rf-machine-spec {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
}
.rf-machine-spec span {
  color: var(--muted);
  letter-spacing: 0.08em;
}
.rf-machine-spec b {
  font-weight: 400;
  color: var(--muted);
  text-align: right;
}
.rf-machine-terminal {
  margin-top: 17px;
  border-radius: 9px;
  background: #081a33;
  color: #fff;
  padding: 10px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 5px 14px rgba(8, 26, 51, 0.14);
}
.rf-machine-terminal span {
  opacity: 0.65;
}
.rf-machine-terminal b {
  margin-left: auto;
  color: #68c997;
}
.rf-evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 4px 0 20px;
}
.rf-evidence-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  background: var(--surface);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.rf-arch-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.72);
}
.rf-arch-bottom > div {
  padding: 18px 20px;
  min-height: 74px;
}
.rf-arch-bottom > div + div {
  border-left: 1px solid var(--line);
}
.rf-arch-bottom b {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
}
.rf-arch-bottom span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
@media (max-width: 900px) {
.rf-arch-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
.rf-arch-head > p {
    margin-top: 0;
  }
.rf-arch-main {
    grid-template-columns: 1fr;
  }
.rf-arch-control,
.rf-arch-runtime,
.rf-arch-evidence {
    border: 0;
    border-bottom: 1px solid var(--line);
  }
.rf-arch-bridge {
    min-height: 54px;
    border-bottom: 1px solid var(--line);
  }
.rf-arch-bridge:before {
    left: 25%;
    right: 25%;
  }
.rf-arch-bridge small {
    bottom: 4px;
  }
.rf-arch-bottom {
    grid-template-columns: 1fr;
  }
.rf-arch-bottom > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 600px) {
.rf-arch-head h2 {
    font-size: 34px;
  }
.rf-arch-frame {
    border-radius: 16px;
  }
.rf-arch-column {
    padding: 24px 18px;
  }
.rf-arch-bar {
    padding: 0 13px;
    font-size: 8px;
  }
.rf-arch-bottom > div {
    padding: 16px 18px;
  }
}


/* ---- rf-footer-alignment-fix ---- */
@media (min-width: 901px) {
.site-footer .footer-col {
    align-self: start;
  }
}


/* ---- rf-centered-scroll ---- */
html {
  scroll-behavior: auto;
}


/* ---- rf-project-caret-fix ---- */
.rf-cp-project button b {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  transform: none;
}
.rf-cp-project button b::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #57534e;
  border-bottom: 1.5px solid #57534e;
  transform: translate(-50%, -62%) rotate(45deg);
  box-sizing: border-box;
}


/* ---- accessibility: skip link and keyboard focus ---- */
.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 100000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #081a33;
  color: #fff;
  font:
    600 14px/1 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
:focus-visible {
  outline: 2px solid #2f7bf6;
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
.rf-cp-select:focus-visible,
.rf-cp-setting input:focus-visible,
.rf-cp-setting textarea:focus-visible,
.rf-cp-form-grid input:focus-visible,
.rf-cp-form-grid select:focus-visible,
.rf-cp-form-full textarea:focus-visible {
  outline: 2px solid #2f7bf6;
  outline-offset: 1px;
}


/* ---- reduced motion: components whose transitions are declared with !important ---- */
@media (prefers-reduced-motion: reduce) {
header,
.rf-cp-topbar,
.brand .rf-mark,
.footer-logo .rf-mark,
.rf-footer-word span {
    transition: none !important;
  }
}


/* ---- rf-overview-range-swap ---- */
.rf-cp-metric span,
.rf-cp-metric strong,
.rf-cp-metric small {
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.rf-cp-metric.is-swapping span,
.rf-cp-metric.is-swapping strong,
.rf-cp-metric.is-swapping small {
  opacity: 0;
  transform: translateY(3px);
}
@media (prefers-reduced-motion: reduce) {
.rf-cp-metric span,
.rf-cp-metric strong,
.rf-cp-metric small {
    transition: none;
  }
}
@media (max-width: 600px) {
.rf-cp-metric small {
    display: block;
    min-height: 2.6em;
  }
}


/* ---- rf-cp-status-tones: failures and the header issue state ---- */
.rf-cp-system.warn {
  color: #8a6a1c;
}
.rf-cp-system.warn i {
  background: #d9a31d;
}
.rf-cp-agentdot.fail {
  background: #c0462f;
  box-shadow: 0 0 0 3px #f6e3df;
}
.rf-cp-pill.fail {
  color: #a93a26;
  background: #fbefec;
  border-color: #f0d3cc;
}
.rf-cp-activity-item > i.red,
.rf-cp-activityrow i.red {
  background: #c0462f;
}
.rf-state.failed {
  color: #c0462f;
}


/* ---- rf-cp-drawer: Inspect side panel and linked-row highlight ---- */
.rf-cp-shell {
  position: relative;
}
.rf-cp-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  width: min(340px, 100%);
  box-sizing: border-box;
  padding: 20px;
  overflow-y: auto;
  background: #fffdfa;
  border-left: 1px solid #ded9d0;
  box-shadow: -18px 0 50px rgba(30, 25, 20, 0.12);
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.35s;
}
.rf-cp-drawer.open {
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}
.rf-cp-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.rf-cp-drawer-head h3 {
  margin: 4px 0 0;
  font-size: 18px;
}
.rf-cp-drawer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 6px;
  font: 9px var(--mono);
  color: #77736b;
}
.rf-cp-drawer-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bdb7ae;
}
.rf-cp-drawer-status i.green {
  background: #2b8b61;
}
.rf-cp-drawer-status i.blue {
  background: #081a33;
}
.rf-cp-drawer-status i.red {
  background: #c0462f;
}
.rf-cp-drawer-detail {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.5;
}
.rf-cp-drawer-facts {
  margin: 0 0 18px;
  border-top: 1px solid #efebe4;
}
.rf-cp-drawer-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #efebe4;
  font-size: 10px;
}
.rf-cp-drawer-facts dt {
  color: #6b665e;
  font: 8px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.rf-cp-drawer-facts dd {
  margin: 0;
}
.rf-cp-drawer-links {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.is-linked {
  outline: 2px solid #2f7bf6;
  outline-offset: -2px;
  background-color: #eef3f8;
}
@media (prefers-reduced-motion: reduce) {
.rf-cp-drawer {
    transition: none;
  }
}


/* ---- rf-cp-result-actions: Review workspace + Approve ---- */
.rf-cp-result-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.rf-cp-result-actions .rf-cp-action {
  float: none;
}
.rf-cp-result-actions .rf-cp-action[disabled] {
  opacity: 0.55;
  cursor: default;
}


/* ---- rf-cp-rebuild: agents, devboxes, usage, panels, empty states ---- */
.rf-state.awake {
  color: #2b8b61;
}
.rf-cp-agentdot.review {
  background: #081a33;
  box-shadow: 0 0 0 3px #dbe5ef;
}
.rf-cp-line.red {
  color: #c0462f;
}
.rf-cp-chip {
  border: 1px solid #e1ddd5;
  background: #fff;
  border-radius: 999px;
  padding: 3px 8px;
  font: 8px var(--mono);
  color: #081a33;
  text-decoration: underline;
  cursor: pointer;
}
.rf-cp-chip:hover {
  background: #eef3f8;
}
.rf-cp-empty {
  padding: 26px 16px;
  text-align: center;
}
.rf-cp-empty b {
  display: block;
  font-size: 11px;
}
.rf-cp-empty p {
  margin: 6px 0 0;
  font: 8px var(--mono);
  color: #6b665e;
}
.rf-cp-empty .rf-cp-action {
  margin-top: 12px;
}


/* devboxes table */
.rf-cp-devrow {
  grid-template-columns: 1.3fr 0.9fr 1.1fr 0.9fr 1.2fr;
}
.rf-cp-row.rf-cp-devrow {
  cursor: default;
}
.rf-cp-rowopen {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
  min-width: 0;
}
.rf-cp-rowopen:hover b {
  text-decoration: underline;
}
.rf-cp-devrow .rf-cp-cell {
  min-width: 0;
}
.rf-cp-devrow .rf-cp-cell > * {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rf-cp-devrow .rf-cp-cell > .rf-state {
  white-space: normal;
}
.rf-cp-rowactions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}


/* usage bars */
.rf-cp-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  align-items: end;
  padding: 18px 16px 12px;
}
.rf-cp-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.rf-cp-bar i {
  display: block;
  width: 100%;
  max-width: 44px;
  background: #081a33;
  border-radius: 5px 5px 2px 2px;
}
.rf-cp-bar small {
  font: 8px var(--mono);
  color: #6b665e;
}


/* settings: members and switch rows */
.rf-cp-members {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}
.rf-cp-member {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rf-cp-member > div {
  flex: 1;
  min-width: 0;
}
.rf-cp-member b {
  display: block;
  font-size: 10px;
}
.rf-cp-member small {
  font: 8px var(--mono);
  color: #6b665e;
}
.rf-cp-switchrow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
}


/* side panel forms */
.rf-cp-drawer {
  width: min(380px, 100%);
}
.rf-cp-drawer .rf-cp-form-grid {
  grid-template-columns: 1fr;
}
.rf-cp-drawer-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.rf-cp-drawer-tabs {
  margin: 14px 0 8px;
}
.rf-cp-drawer .rf-cp-info-grid {
  margin-top: 4px;
}


/* sidebar on narrow screens */
.rf-cp-navtoggle {
  display: none;
  border: 1px solid #ded9d0;
  background: #fffdfa;
  border-radius: 7px;
  width: 30px;
  height: 28px;
  margin-right: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #57534e;
}
@media (max-width: 900px) {
.rf-cp-navtoggle {
    display: inline-grid;
    place-items: center;
  }
.rf-cp-sidebar {
    display: flex;
    position: absolute;
    z-index: 7;
    top: 0;
    left: 0;
    bottom: 0;
    width: 220px;
    transform: translateX(-100%);
    visibility: hidden;
    box-shadow: 18px 0 50px rgba(30, 25, 20, 0.14);
    transition:
      transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.3s;
  }
.rf-cp-shell.nav-open .rf-cp-sidebar {
    transform: none;
    visibility: visible;
    transition-delay: 0s;
  }
}
@media (max-width: 600px) {
.rf-cp-devrow {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
.rf-cp-devrow > *:nth-child(3),
.rf-cp-devrow > *:nth-child(5) {
    display: none;
  }
.rf-cp-devrow > *:nth-child(4) {
    display: block;
  }
.rf-cp-bars {
    gap: 5px;
    padding: 14px 8px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
.rf-cp-sidebar {
    transition: none;
  }
}
.rf-cp-member .rf-cp-pill {
  margin-top: 0;
}


/* ---- rf-cp-live-metrics: clickable Overview cards ---- */
.rf-cp-metric strong,
.rf-cp-metric small {
  font-variant-numeric: tabular-nums;
}
.rf-cp-metric-link {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.rf-cp-metric-link:focus-visible {
  outline: 2px solid #2f7bf6;
  outline-offset: 2px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
.rf-cp-metric-link {
    transition:
      transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.25s ease;
  }
.rf-cp-metric-link:hover {
    transform: translate3d(0, -3px, 0);
    border-color: #c9c1b6;
    box-shadow: 0 14px 30px rgba(20, 28, 36, 0.09);
  }
}
@media (prefers-reduced-motion: no-preference) {
.rf-cp-metric.is-pulse {
    animation: rf-metric-pulse 1s ease-out;
  }
}
@keyframes rf-metric-pulse {
  0% {
    background-color: #eef3f8;
    box-shadow: 0 0 0 0 rgba(47, 123, 246, 0.35);
  }
  100% {
    background-color: #fff;
    box-shadow: 0 0 0 8px rgba(47, 123, 246, 0);
  }
}
.rf-cp-agent-filters {
  flex-wrap: wrap;
}
.rf-cp-agent-filters button {
  cursor: pointer;
}
@media (max-width: 760px) {
.rf-cp-heading-tools {
    flex-wrap: wrap;
    margin-top: 12px;
  }
}


/* ---- rf-footer-word-reveal: tracking fix + entrance (transform and opacity only) ----
   Tracking: -0.075em made n and f merge and f/o and r/g overlap. -0.052em keeps the tight look
   with a small gap between every pair; f gets a little extra room because its bar reaches o. */
.rf-footer-word {
  letter-spacing: -0.052em;
}
.rf-footer-word span {
  margin-right: 0.012em;
  --rf-ty: 0px;
  --rf-sy: 1;
}
.rf-footer-word span:nth-child(4) {
  margin-right: 0.026em;
  --rf-ty: 18px;
  --rf-sy: 0.84;
}
@media (max-width: 700px) {
.rf-footer-word {
    letter-spacing: -0.052em;
  }
.rf-footer-word span {
    margin-right: 0.012em;
  }
.rf-footer-word span:nth-child(4) {
    margin-right: 0.026em;
    --rf-ty: 12px;
    --rf-sy: 0.88;
  }
}
.rf-footer-word span:nth-child(1) {
  --i: 0;
}
.rf-footer-word span:nth-child(2) {
  --i: 1;
}
.rf-footer-word span:nth-child(3) {
  --i: 2;
}
.rf-footer-word span:nth-child(4) {
  --i: 3;
}
.rf-footer-word span:nth-child(5) {
  --i: 4;
}
.rf-footer-word span:nth-child(6) {
  --i: 5;
}
.rf-footer-word span:nth-child(7) {
  --i: 6;
}
.rf-footer-word span:nth-child(8) {
  --i: 7;
}

/* footer-word.js arms the word (letters hidden) and starts it when it scrolls into view. */
.rf-footer-word.is-armed:not(.is-in) span {
  opacity: 0;
}
.rf-footer-word.is-in span {
  animation: rf-word-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(var(--i) * 50ms);
}
.rf-footer-word.is-animating span {
  will-change: transform, opacity;
}
@keyframes rf-word-in {
  from {
    opacity: 0;
    transform: translateY(calc(var(--rf-ty) + 0.34em)) scaleY(var(--rf-sy));
  }
  to {
    opacity: 1;
    transform: translateY(var(--rf-ty)) scaleY(var(--rf-sy));
  }
}
@media (prefers-reduced-motion: reduce) {
.rf-footer-word.is-in span {
    animation: none;
  }
}

/* On phones the word used to be cropped at both edges; size it so all eight letters fit. */
@media (max-width: 700px) {
.rf-footer-type {
    height: 90px;
  }
.rf-footer-word {
    font-size: 15vw;
    transform: translateY(-24px);
  }
.rf-footer-word span:nth-child(4) {
    --rf-ty: 10px;
  }
}


/* ---- rf-contact-links: footer e-mail addresses ---- */
.rf-contact-col a[href^="mailto:"] {
  position: relative;
  display: inline-block;
  transition: color 0.25s ease;
}
.rf-contact-col a[href^="mailto:"]:hover {
  transform: none;
}

/* The line draws left to right and leaves to the right: the origin flips without a transition. */
.rf-contact-col a[href^="mailto:"]::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

/* The arrow sits outside the text box, so the address never gets wider and no other row moves. */
.rf-contact-col a[href^="mailto:"]::after {
  content: "↗";
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 0.4em;
  font-size: 0.85em;
  line-height: 1.55;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.rf-contact-col a[href^="mailto:"]:focus-visible {
  outline: 2px solid #2f7bf6;
  outline-offset: 4px;
  border-radius: 2px;
}
@media (hover: hover) {
.rf-footer-grid .rf-contact-col a[href^="mailto:"]:hover {
    color: #0a2a56 !important;
  }
.rf-contact-col a[href^="mailto:"]:hover::before {
    transform: scaleX(1);
    transform-origin: left center;
  }
.rf-contact-col a[href^="mailto:"]:hover::after {
    opacity: 1;
    transform: none;
  }
}
.rf-footer-grid .rf-contact-col a[href^="mailto:"]:focus-visible {
  color: #0a2a56 !important;
}
.rf-contact-col a[href^="mailto:"]:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left center;
}
.rf-contact-col a[href^="mailto:"]:focus-visible::after {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {

  /* Only the colour change is kept. */
  .rf-contact-col a[href^="mailto:"] {
    transition: none;
  }
.rf-contact-col a[href^="mailto:"]::before,
.rf-contact-col a[href^="mailto:"]::after {
    display: none;
  }
}


/* ---- rf-contact-room: e-mail addresses and the hover arrow need room ---- */
/* The footer wrap used to clip its edge,
which cut "founders@runforge.space" on wide screens.
   The footer itself still clips at the viewport,
so nothing can add a horizontal scrollbar. */
.rf-footer-main {
  overflow: visible;
}
@media (min-width: 1301px) {
.rf-footer-grid {
    grid-template-columns: minmax(250px, 1.7fr) repeat(4, minmax(105px, 1fr)) minmax(190px, 1.15fr);
  }
}


/* ======================================================================
   Architecture section: a run that changes state (architecture.js).
   One easing everywhere; UI 200-400 ms, entrances 600-900 ms; transform and opacity only
   (plus the check-mark stroke). Everything pauses while the section is off screen.
   ====================================================================== */
.rf-arch-frame {
  --arch-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.rf-arch-bar,
.rf-arch-main,
.rf-arch-bottom {
  position: relative;
  z-index: 1;
}


/* soft light that follows the cursor (same recipe as the page spotlight) */
.rf-arch-glow {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  background: radial-gradient(closest-side, rgba(8, 26, 51, 0.055), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--arch-ease);
}
.rf-arch-frame.is-hover .rf-arch-glow {
  opacity: 1;
  will-change: transform;
}


/* ---- top bar: replay + lock ---- */
.rf-arch-bar-end {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.rf-arch-replay {
  border: 1px solid var(--line2);
  background: var(--surface);
  border-radius: 999px;
  padding: 4px 10px;
  font: inherit;
  letter-spacing: 0.1em;
  color: var(--muted);
  cursor: pointer;
  transition:
    transform 0.3s var(--arch-ease),
    color 0.3s;
}
.rf-arch-replay:hover {
  color: var(--accent);
}
.rf-arch-replay:active {
  transform: scale(0.96);
}
.rf-arch-replay:focus-visible,
.rf-seg button:focus-visible,
.rf-evi-tabs button:focus-visible {
  outline: 2px solid #2f7bf6;
  outline-offset: 2px;
}
.rf-arch-lock-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.rf-arch-lock {
  width: 11px;
  height: 13px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.4;
}
.rf-arch-lock path {
  fill: none;
  stroke-linecap: round;
  transform-box: fill-box;
}
.rf-arch-lock.is-snapped .rf-lock-shackle {
  animation: rf-lock-snap 0.5s var(--arch-ease) both;
}
@keyframes rf-lock-snap {
  0% {
    transform: translateY(-3px);
  }
  55% {
    transform: translateY(0.6px);
  }
  100% {
    transform: translateY(0);
  }
}


/* ---- entrance: 01 -> 02 -> 03, then the bottom row ---- */
.rf-arch-frame.is-armed:not(.is-in) .rf-arch-column,
.rf-arch-frame.is-armed:not(.is-in) .rf-arch-bridge,
.rf-arch-frame.is-armed:not(.is-in) .rf-arch-bottom > div {
  opacity: 0;
}
.rf-arch-frame.is-in .rf-arch-column,
.rf-arch-frame.is-in .rf-arch-bridge,
.rf-arch-frame.is-in .rf-arch-bottom > div {
  animation: rf-arch-in 0.8s var(--arch-ease) backwards;
}
.rf-arch-frame.is-in .rf-arch-control {
  animation-delay: 0ms;
}
.rf-arch-frame.is-in .rf-arch-bridge:nth-of-type(1) {
  animation-delay: 40ms;
}
.rf-arch-frame.is-in .rf-arch-runtime {
  animation-delay: 80ms;
}
.rf-arch-frame.is-in .rf-arch-main > .rf-arch-bridge + .rf-arch-column + .rf-arch-bridge {
  animation-delay: 120ms;
}
.rf-arch-frame.is-in .rf-arch-evidence {
  animation-delay: 160ms;
}
.rf-arch-frame.is-in .rf-arch-bottom > div:nth-child(1) {
  animation-delay: 240ms;
}
.rf-arch-frame.is-in .rf-arch-bottom > div:nth-child(2) {
  animation-delay: 290ms;
}
.rf-arch-frame.is-in .rf-arch-bottom > div:nth-child(3) {
  animation-delay: 340ms;
}
@keyframes rf-arch-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}


/* ---- bridges: a light dot runs along the line, the label lights up ---- */
.rf-arch-bridge small {
  white-space: nowrap;
}
.rf-arch-bridge .rf-arch-hot {
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s var(--arch-ease);
}
.rf-arch-bridge.is-flowing .rf-arch-hot {
  opacity: 1;
}
.rf-arch-dot {
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--green, #26815b);
  box-shadow:
    0 0 0 3px rgba(38, 129, 91, 0.16),
    0 0 12px rgba(38, 129, 91, 0.55);
  opacity: 0;
  pointer-events: none;
}
.rf-arch-bridge.is-flowing .rf-arch-dot {
  animation: rf-dot-run 0.9s var(--arch-ease) both;
}
@keyframes rf-dot-run {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(var(--span, 78px));
  }
}


/* ---- 01 control plane: segmented chips ---- */
.rf-arch-chips {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
}
.rf-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 3px 3px 3px 12px;
  background: var(--surface);
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  color: var(--muted);
}
.rf-seg {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--n, 2), 1fr);
  padding: 2px;
  border-radius: 999px;
  background: #f1ede6;
}
.rf-seg[data-n="2"] {
  --n: 2;
}
.rf-seg[data-n="3"] {
  --n: 3;
}
.rf-seg button {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 5px 10px;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s var(--arch-ease);
}
.rf-seg button[aria-checked="true"] {
  color: #171716;
}
.rf-seg-thumb {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc((100% - 4px) / var(--n, 2));
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23, 23, 22, 0.14);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform 0.3s var(--arch-ease);
}


/* ---- rolling values: old text leaves upwards, new text arrives from below ---- */
.rf-roll {
  display: inline-grid;
  justify-items: start;
}
.rf-machine-spec .rf-roll {
  justify-items: end;
}
.rf-roll > span {
  grid-area: 1 / 1;
}
.rf-roll-in {
  animation: rf-roll-in 0.35s var(--arch-ease) backwards;
}
.rf-roll-out {
  animation: rf-roll-out 0.35s var(--arch-ease) forwards;
  pointer-events: none;
}
@keyframes rf-roll-in {
  from {
    opacity: 0;
    transform: translateY(70%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rf-roll-out {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(-70%);
  }
}
.rf-machine-spec,
.rf-machine-status {
  position: relative;
}
.rf-machine-spec.is-changed::before,
.rf-machine-status.is-changed::before {
  content: "";
  position: absolute;
  inset: 0 -8px;
  border-radius: 6px;
  background: rgba(8, 26, 51, 0.07);
  pointer-events: none;
  animation: rf-flash 0.9s ease-out both;
}
@keyframes rf-flash {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.rf-machine-spec b {
  min-width: 0;
}


/* ---- 02 runtime: status, scan, icon cells, terminal ---- */
.rf-arch-runtime,
.rf-arch-control,
.rf-arch-evidence {
  position: relative;
}
.rf-machine-status {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.rf-machine-status i {
  position: relative;
  flex: 0 0 7px;
  margin-right: 0;
  transition: background-color 0.3s var(--arch-ease);
}
.rf-machine-status[data-phase="idle"] i,
.rf-machine-status[data-phase="provisioning"] i {
  background: #c9a24a;
}
.rf-machine-status[data-phase="idle"] i {
  background: #bdb7ae;
}
.rf-machine-status i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid #26815b;
  opacity: 0;
  pointer-events: none;
}
.rf-machine-status[data-phase="running"] i::after {
  animation: rf-ring 2s var(--arch-ease) infinite;
}
@keyframes rf-ring {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(3.2);
  }
}
.rf-scan {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.rf-scan i {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(38, 129, 91, 0.1), transparent);
  opacity: 0;
}
.rf-arch-runtime.is-scanning .rf-scan i {
  animation: rf-scan 1.1s var(--arch-ease) both;
}
@keyframes rf-scan {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(360%);
  }
}
.rf-machine-cells {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.rf-machine-cells rect {
  opacity: 1;
}
.rf-arch-frame.is-armed .rf-arch-runtime:not(.is-booted) .rf-machine-cells rect {
  opacity: 0.16;
}
.rf-arch-runtime.is-booting .rf-machine-cells rect {
  animation: rf-cell-on 0.4s var(--arch-ease) backwards;
}
.rf-machine-cells rect:nth-child(1) {
  animation-delay: 0ms !important;
}
.rf-machine-cells rect:nth-child(2) {
  animation-delay: 90ms !important;
}
.rf-machine-cells rect:nth-child(3) {
  animation-delay: 180ms !important;
}
.rf-machine-cells rect:nth-child(4) {
  animation-delay: 270ms !important;
}
.rf-machine-cells rect:nth-child(5) {
  animation-delay: 360ms !important;
}
.rf-machine-cells rect:nth-child(6) {
  animation-delay: 450ms !important;
}
.rf-machine-cells rect:nth-child(7) {
  animation-delay: 540ms !important;
}
.rf-machine-cells rect:nth-child(8) {
  animation-delay: 630ms !important;
}
.rf-machine-cells rect:nth-child(9) {
  animation-delay: 720ms !important;
}
@keyframes rf-cell-on {
  from {
    opacity: 0.16;
  }
  to {
    opacity: 1;
  }
}
.rf-machine-terminal {
  display: block;
  min-height: 118px;
  line-height: 1.6;
}
.rf-machine-terminal span {
  opacity: 1;
}
.rf-term-line {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 16px;
  white-space: nowrap;
}
.rf-term-prompt {
  opacity: 0.65 !important;
}
.rf-machine-terminal .rf-term-count {
  margin-left: 0;
  color: #68c997;
  font-variant-numeric: tabular-nums;
}
.rf-term-result {
  justify-content: space-between;
}
.rf-term-check {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #68c997;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rf-term-check path {
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.rf-arch-frame.is-armed .rf-term-check:not(.is-drawn) path {
  stroke-dashoffset: 1;
}
.rf-term-check.is-drawn path {
  animation: rf-check 0.45s var(--arch-ease) both;
}
@keyframes rf-check {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.rf-arch-frame.is-armed .rf-term-line:not(.is-shown) {
  opacity: 0;
}
.rf-term-line.is-shown {
  animation: rf-line-in 0.3s var(--arch-ease) backwards;
}
@keyframes rf-line-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.rf-cursor {
  display: inline-block;
  width: 6px;
  height: 11px;
  margin-left: 2px;
  background: #fff;
  vertical-align: -1px;
  animation: rf-blink 1s steps(1) infinite;
}
@keyframes rf-blink {
  50% {
    opacity: 0;
  }
}
.rf-run-progress {
  height: 2px;
  margin-top: 9px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.rf-run-progress i {
  display: block;
  height: 100%;
  background: var(--green, #26815b);
  transform-origin: left center;
}


/* ---- 03 evidence: tabs, badges, panels ---- */
.rf-evi {
  margin: 4px 0 18px;
}
.rf-evi-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.rf-evi-tabs button {
  border: 0;
  background: transparent;
  padding: 9px 4px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s var(--arch-ease);
}
.rf-evi-tabs button[aria-selected="true"] {
  color: #171716;
}
.rf-evi-tabs button:disabled {
  cursor: default;
  opacity: 0.55;
}
.rf-evi-ind {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 25%;
  height: 2px;
  background: var(--accent);
  transform: translateX(calc(var(--ti, 0) * 100%));
  transition: transform 0.3s var(--arch-ease);
}
.rf-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 99px;
  background: #eef1f4;
  color: #4e5a67;
  font-style: normal;
  font-size: 8px;
}
.rf-badge-add {
  background: #e3f0e9;
  color: #247a57;
}
.rf-arch-frame.is-armed:not(.has-results) .rf-badge {
  opacity: 0;
  transform: scale(0.8);
}
.rf-arch-frame.has-results .rf-badge {
  animation: rf-pop 0.55s var(--arch-ease) backwards;
}
.rf-arch-frame.has-results .rf-evi-tabs button:nth-child(4) .rf-badge {
  animation-delay: 0.12s;
}
@keyframes rf-pop {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  60% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.rf-evi-panel {
  display: grid;
  min-height: 178px;
  padding-top: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  color: var(--muted);
}
.rf-evi-layer {
  grid-area: 1 / 1;
  min-width: 0;
}
.rf-evi-layer.is-in {
  animation: rf-layer-in 0.35s var(--arch-ease) backwards;
}
.rf-evi-layer.is-out {
  animation: rf-layer-out 0.3s var(--arch-ease) forwards;
  pointer-events: none;
}
@keyframes rf-layer-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rf-layer-out {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}
.rf-evi-wait {
  color: var(--dim);
  letter-spacing: 0.06em;
}

/* logs */
.rf-log-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid var(--line);
  animation: rf-line-in 0.3s var(--arch-ease) backwards;
  animation-delay: calc(var(--k) * 60ms);
}
.rf-log-row b {
  font-weight: 400;
  color: #171716;
}

/* diff */
.rf-diff-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  color: #171716;
}
.rf-diff-line {
  position: relative;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: pre;
  overflow: hidden;
  animation: rf-line-in 0.35s var(--arch-ease) backwards;
  animation-delay: calc(var(--k) * 70ms);
}
.rf-diff-add {
  background: rgba(38, 129, 91, 0.1);
  color: #1f6b4a;
}
.rf-diff-del {
  background: rgba(192, 70, 47, 0.09);
  color: #a93a26;
}
.rf-diff-foot {
  margin-top: 7px;
  color: var(--dim);
}

/* preview */
.rf-prev {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.rf-prev-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
}
.rf-prev-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d8d3ca;
}
.rf-prev-bar span {
  margin-left: 6px;
}
.rf-prev-body {
  position: relative;
  height: 112px;
}
.rf-prev-skel,
.rf-prev-page {
  position: absolute;
  inset: 0;
  padding: 12px;
}
.rf-prev-skel i {
  display: block;
  height: 8px;
  margin-bottom: 8px;
  border-radius: 4px;
  background: #ece8e0;
}
.rf-prev-skel i:nth-child(1) {
  width: 46%;
  height: 11px;
}
.rf-prev-skel i:nth-child(2) {
  width: 90%;
}
.rf-prev-skel i:nth-child(3) {
  width: 72%;
}
.rf-prev-skel i:nth-child(4) {
  width: 34%;
  height: 16px;
  margin-top: 12px;
  border-radius: 6px;
}
.rf-prev-skel {
  animation: rf-fade-out 0.45s var(--arch-ease) 0.7s forwards;
}
.rf-prev-page {
  color: #171716;
  animation: rf-layer-in 0.5s var(--arch-ease) 0.7s backwards;
}
.rf-prev-page b {
  display: block;
  font-size: 11px;
  margin-bottom: 7px;
}
.rf-prev-page span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
}
.rf-prev-page em {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #081a33;
  color: #fff;
  font-style: normal;
}
@keyframes rf-fade-out {
  to {
    opacity: 0;
  }
}

/* trace */
.rf-trace {
  position: relative;
  margin: 0;
  padding: 0 0 0 16px;
  list-style: none;
}
.rf-trace::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  bottom: 12px;
  width: 1px;
  background: var(--line2);
  transform-origin: top center;
  animation: rf-line-draw 0.9s var(--arch-ease) backwards;
}
@keyframes rf-line-draw {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
.rf-trace li {
  position: relative;
  padding: 0 0 15px;
  animation: rf-line-in 0.4s var(--arch-ease) backwards;
  animation-delay: calc(0.2s + var(--k) * 0.28s);
}
.rf-trace li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green, #26815b);
  box-shadow: 0 0 0 3px #fffdfa;
}
.rf-trace b {
  display: block;
  font-weight: 400;
  color: #171716;
}


/* ---- bottom row: lift, and the linked part of the diagram glows ---- */
.rf-arch-bottom > div {
  position: relative;
  isolation: isolate;
}
.rf-arch-bottom > div::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fffdfa;
  opacity: 0;
  transition: opacity 0.3s var(--arch-ease);
}
.rf-arch-column::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(47, 123, 246, 0.3),
    inset 0 0 26px rgba(47, 123, 246, 0.1);
  opacity: 0;
  transition: opacity 0.3s var(--arch-ease);
}
.rf-arch-frame[data-glow="control"] .rf-arch-control::after,
.rf-arch-frame[data-glow="runtime"] .rf-arch-runtime::after,
.rf-arch-frame[data-glow="evidence"] .rf-arch-evidence::after {
  opacity: 1;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
.rf-arch-bottom > div {
    transition: transform 0.3s var(--arch-ease);
  }
.rf-arch-bottom > div:hover {
    transform: translateY(-2px);
  }
.rf-arch-bottom > div:hover::before {
    opacity: 1;
  }
}


/* ---- off screen: everything holds its place ---- */
.rf-arch-frame.is-paused *,
.rf-arch-frame.is-paused *::before,
.rf-arch-frame.is-paused *::after {
  animation-play-state: paused !important;
}


/* ---- reduced motion: final state, no animation ---- */
@media (prefers-reduced-motion: reduce) {
.rf-arch-frame *,
.rf-arch-frame *::before,
.rf-arch-frame *::after {
    animation: none !important;
    transition: none !important;
  }
.rf-arch-replay,
.rf-arch-glow {
    display: none;
  }
}
@media (max-width: 900px) {
.rf-arch-bridge .rf-arch-dot {
    left: 25%;
  }
}
@media (max-width: 600px) {
.rf-arch-bar-end {
    gap: 10px;
  }
.rf-arch-replay {
    padding: 3px 8px;
  }
}


/* Evidence tabs in the narrowest three-column layout, and long diff lines */
.rf-diff-line {
  text-overflow: ellipsis;
}
@media (min-width: 901px) and (max-width: 1240px) {
.rf-evi-tabs button {
    padding: 9px 2px;
    font-size: 8px;
    letter-spacing: 0;
  }
.rf-badge {
    margin-left: 2px;
    padding: 1px 3px;
    font-size: 7px;
  }
}
@media (min-width: 901px) and (max-width: 1000px) {
.rf-arch-column {
    padding-left: 18px;
    padding-right: 18px;
  }
.rf-badge {
    margin-left: 1px;
    padding: 1px 2px;
    font-size: 6.5px;
  }
}
@media (max-width: 600px) {
.rf-arch-bar {
    height: auto;
    min-height: 40px;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
.rf-arch-bar > span,
.rf-arch-bar-end > *,
.rf-arch-replay {
    white-space: nowrap;
  }
}


/* ---- Usage & cost: period switch, interactive chart, sortable tables ---- */
.rf-cp-system {
  border: 0;
  background: none;
  padding: 4px 6px;
  margin: -4px -6px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--mono);
}
.rf-cp-system:hover {
  background: #f1ede6;
}
.rf-cp-system:focus-visible,
.rf-cp-bar:focus-visible,
.rf-cp-sorter:focus-visible,
.rf-cp-usage-row:focus-visible {
  outline: 2px solid #2f7bf6;
  outline-offset: 2px;
}
.rf-cp-metric-extra {
  display: block;
  margin-top: 4px;
  font: 8px var(--mono);
  color: #4e7a62;
}
.rf-cp-metric-extra[hidden] {
  display: none;
}
.rf-cp-usage-meter {
  margin-top: 8px;
}
.rf-cp-bars {
  display: grid;
  grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr));
  gap: 6px;
  align-items: end;
  padding: 64px 16px 12px;
}
.rf-cp-bar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}
.rf-cp-bar i {
  display: block;
  width: 100%;
  max-width: 34px;
  border-radius: 5px 5px 2px 2px;
  background: #c9d3de;
  transition: background-color 0.3s;
}
.rf-cp-bar.is-today i {
  background: #081a33;
}
.rf-cp-bar:hover i,
.rf-cp-bar:focus-visible i {
  background: #4f6a8a;
}
.rf-cp-bar.is-today:hover i,
.rf-cp-bar.is-today:focus-visible i {
  background: #10294a;
}
.rf-cp-bar.is-selected i {
  background: #2f7bf6;
}
.rf-cp-bar small {
  font: 8px var(--mono);
  color: #6b665e;
  white-space: nowrap;
}
.rf-cp-bar .rf-cp-bar-v {
  min-height: 10px;
}
.rf-cp-bar-d {
  min-height: 10px;
}
.rf-cp-bar.is-today .rf-cp-bar-d {
  color: #081a33;
  font-weight: 600;
}
.rf-cp-tip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  z-index: 4;
  display: grid;
  gap: 2px;
  min-width: 128px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #081a33;
  color: #fff;
  font: 8px/1.4 var(--mono);
  text-align: left;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(8, 26, 51, 0.25);
  opacity: 0;
  transform: translate(-50%, 4px);
  pointer-events: none;
  transition:
    opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.rf-cp-bar:first-child .rf-cp-tip {
  left: 0;
  transform: translate(0, 4px);
}
.rf-cp-bar:last-child .rf-cp-tip {
  left: auto;
  right: 0;
  transform: translate(0, 4px);
}
.rf-cp-bar:hover .rf-cp-tip,
.rf-cp-bar:focus-visible .rf-cp-tip {
  opacity: 1;
  transform: translate(-50%, 0);
}
.rf-cp-bar:first-child:hover .rf-cp-tip,
.rf-cp-bar:first-child:focus-visible .rf-cp-tip,
.rf-cp-bar:last-child:hover .rf-cp-tip,
.rf-cp-bar:last-child:focus-visible .rf-cp-tip {
  transform: translate(0, 0);
}
.rf-cp-tip span:first-child {
  font-weight: 700;
}
.rf-cp-dayfilter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding: 8px 12px;
  border: 1px solid #cfdcf5;
  border-radius: 10px;
  background: #eef3fd;
  font: 9px var(--mono);
  color: #1d4ea3;
}
.rf-cp-usage-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(54px, 0.9fr) 42px;
  gap: 12px;
  align-items: center;
}
.rf-cp-usage-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #efebe4;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background-color 0.2s;
}
.rf-cp-usage-row:hover {
  background: #f7f4ee;
}
.rf-cp-sorter {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.rf-cp-sorter[aria-sort="descending"],
.rf-cp-sorter[aria-sort="ascending"] {
  color: #081a33;
  font-weight: 700;
}
@media (max-width: 600px) {
.rf-cp-bars {
    gap: 3px;
    padding: 64px 8px 10px;
  }
.rf-cp-usage-cols {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  }
.rf-cp-usage-cols > *:nth-child(4),
.rf-cp-usage-cols > *:nth-child(5) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
.rf-cp-tip,
.rf-cp-bar i {
    transition: none;
  }
}


/* ======================================================================
   Why Runforge: laptop vs Runforge (why.js). Transform and opacity only, one easing.
   ====================================================================== */
.rf-why {
  --why-ease: cubic-bezier(0.22, 1, 0.36, 1);
  min-width: 0;
}
.rf-why-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  margin-bottom: 18px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: var(--surface);
  font: 11px var(--mono);
}
.rf-why-toggle button {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  background: transparent;
  font: inherit;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.35s var(--why-ease);
}
.rf-why-toggle button[aria-checked="true"] {
  color: #fff;
}
.rf-why-toggle button:focus-visible,
.rf-simple-points > div:focus-visible {
  outline: 2px solid #2f7bf6;
  outline-offset: 2px;
}
.rf-why-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 6px) / 2);
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(calc(var(--i, 1) * 100%));
  transition: transform 0.35s var(--why-ease);
}
.rf-why-stage {
  display: grid;
  min-height: 330px;
}
.rf-why-layer {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s var(--why-ease),
    transform 0.4s var(--why-ease),
    visibility 0s linear 0.4s;
}
.rf-why-layer.is-active {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.rf-why-node {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(20, 28, 36, 0.05);
  transition:
    transform 0.3s var(--why-ease),
    border-color 0.3s var(--why-ease),
    box-shadow 0.3s var(--why-ease);
}
.rf-why-node > i,
.rf-why-pc-head > i {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font: 700 10px var(--mono);
  font-style: normal;
}
.rf-why-node b {
  display: block;
  font-size: 13px;
}
.rf-why-node small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font: 10px var(--mono);
}
.rf-why-node em {
  display: block;
  margin-top: 2px;
  font: normal 9px var(--mono);
  color: var(--dim);
}
.rf-why-wire {
  position: relative;
  height: 1px;
  background: var(--line2);
}
.rf-why-wire i {
  position: absolute;
  left: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0;
}
@keyframes rf-why-dot {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  20%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(18px);
  }
}
@keyframes rf-why-dot-v {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  20%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(9px);
  }
}
@keyframes rf-why-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rf-why-pop {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes rf-why-ring {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(3);
  }
}

/* with Runforge: one computer and one result per agent */
.rf-why-cloud {
  display: grid;
  grid-template-rows: auto repeat(3, 1fr);
  gap: 10px;
}
.rf-why-aside {
  position: relative;
  height: 24px;
}
.rf-why-snap,
.rf-why-lid {
  position: absolute;
  top: 0;
  padding: 4px 9px;
  border-radius: 99px;
  font: 9px var(--mono);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.3s var(--why-ease),
    transform 0.3s var(--why-ease);
}
.rf-why-snap {
  left: 0;
  border: 1px solid var(--line2);
  background: var(--surface);
  color: var(--muted);
}
.rf-why-lid {
  right: 0;
  border: 1px solid var(--line2);
  background: #eceae5;
  color: #4e4a44;
}
.rf-why-lane {
  display: grid;
  grid-template-columns: minmax(146px, 0.8fr) 22px minmax(0, 1.4fr) 22px minmax(0, 1fr);
  align-items: center;
}
.rf-why-lane:nth-child(2) {
  --k: 0;
}
.rf-why-lane:nth-child(3) {
  --k: 1;
}
.rf-why-lane:nth-child(4) {
  --k: 2;
}
.rf-why-live {
  position: relative;
  margin-left: auto;
  padding-left: 12px;
  font: 700 9px var(--mono);
  letter-spacing: 0.08em;
  color: var(--green);
}
.rf-why-live::before,
.rf-why-live::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--green);
}
.rf-why-live::after {
  background: transparent;
  border: 1.5px solid var(--green);
  opacity: 0;
}
.rf-why-from,
.rf-why-link {
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity 0.3s var(--why-ease),
    transform 0.3s var(--why-ease);
}
.rf-why-link {
  color: var(--accent);
}
.rf-why-cloud.is-active .rf-why-lane .rf-why-agent {
  animation: rf-why-in 0.6s var(--why-ease) backwards;
  animation-delay: calc(var(--k) * 160ms);
}
.rf-why-cloud.is-active .rf-why-lane .rf-why-machine {
  animation: rf-why-in 0.6s var(--why-ease) backwards;
  animation-delay: calc(var(--k) * 160ms + 300ms);
}
.rf-why-cloud.is-active .rf-why-lane .rf-why-result {
  animation: rf-why-in 0.6s var(--why-ease) backwards;
  animation-delay: calc(var(--k) * 160ms + 750ms);
}
.rf-why-cloud.is-active .rf-why-wire i {
  animation: rf-why-dot 0.7s var(--why-ease) both;
  animation-delay: calc(var(--k, 0) * 160ms + 200ms);
}
.rf-why-cloud.is-active .rf-why-lane .rf-why-wire + .rf-why-machine + .rf-why-wire i {
  animation-delay: calc(var(--k, 0) * 160ms + 650ms);
}

/* the four properties light up their part of the diagram */
.rf-why[data-focus="repeatable"] .rf-why-snap,
.rf-why[data-focus="persistent"] .rf-why-lid {
  opacity: 1;
  transform: none;
}
.rf-why[data-focus="repeatable"] .rf-why-from,
.rf-why[data-focus="shareable"] .rf-why-link {
  opacity: 1;
  transform: none;
}
.rf-why[data-focus="isolated"] .rf-why-machine {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(8, 26, 51, 0.08);
  transform: translateY(-2px);
}
.rf-why[data-focus="persistent"] .rf-why-live::after {
  animation: rf-why-ring 2s var(--why-ease) infinite;
}

/* on your laptop: three agents, one machine, and what goes wrong */
.rf-why-laptop {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  align-items: stretch;
}
.rf-why-rows {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}
.rf-why-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
}
.rf-why-row:nth-child(1) {
  --k: 0;
}
.rf-why-row:nth-child(2) {
  --k: 1;
}
.rf-why-row:nth-child(3) {
  --k: 2;
}
.rf-why-pc {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  border-color: #d8c58a;
}
.rf-why-pc-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rf-why-pc-head b {
  display: block;
  font-size: 14px;
}
.rf-why-pc-head small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font: 10px var(--mono);
}
.rf-why-conflicts {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rf-why-conflicts li {
  padding: 6px 10px;
  border: 1px solid #ecd9a0;
  border-radius: 8px;
  background: #fbf3dc;
  color: #7a5b12;
  font: 10px var(--mono);
}
.rf-why-conflicts li::before {
  content: "⚠ ";
}
.rf-why-conflicts li:nth-child(1) {
  --c: 0;
}
.rf-why-conflicts li:nth-child(2) {
  --c: 1;
}
.rf-why-conflicts li:nth-child(3) {
  --c: 2;
}
.rf-why-conflicts li:nth-child(4) {
  --c: 3;
}
.rf-why-laptop.is-active .rf-why-row .rf-why-agent {
  animation: rf-why-in 0.6s var(--why-ease) backwards;
  animation-delay: calc(var(--k) * 140ms);
}
.rf-why-laptop.is-active .rf-why-wire i {
  background: #c9a24a;
  animation: rf-why-dot 0.7s var(--why-ease) both;
  animation-delay: calc(var(--k, 0) * 140ms + 300ms);
}
.rf-why-laptop.is-active .rf-why-pc-head {
  animation: rf-why-in 0.6s var(--why-ease) 0.4s backwards;
}
.rf-why-laptop.is-active .rf-why-conflicts li {
  animation: rf-why-pop 0.5s var(--why-ease) backwards;
  animation-delay: calc(1s + var(--c) * 650ms);
}
.rf-why-caption {
  margin: 14px 0 0;
  min-height: 2.8em;
  font: 11px/1.5 var(--mono);
  color: var(--muted);
}
.rf-why.is-paused *,
.rf-why.is-paused *::before,
.rf-why.is-paused *::after {
  animation-play-state: paused !important;
}
@media (max-width: 600px) {
.rf-why-stage {
    min-height: 0;
  }
.rf-why-lane {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
  }
.rf-why-lane:last-child {
    border-bottom: 0;
  }
.rf-why-lane .rf-why-wire {
    width: 1px;
    height: 12px;
    margin-left: 24px;
  }
.rf-why-wire i {
    left: -2px;
    top: 0;
  }
.rf-why-cloud.is-active .rf-why-wire i {
    animation-name: rf-why-dot-v;
  }
.rf-why-laptop {
    grid-template-columns: 1fr;
    gap: 12px;
  }
.rf-why-row {
    grid-template-columns: 1fr;
  }
.rf-why-row .rf-why-wire {
    display: none;
  }
.rf-why-toggle button {
    padding: 9px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
.rf-why *,
.rf-why *::before,
.rf-why *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ======================================================================
   From prompt to reviewable change (flow.js): one section instead of two.
   transform and opacity only, one easing.
   ====================================================================== */
.rf-flow {
  --flow-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.rf-flow-ui {
  margin-top: 36px;
}
.rf-flow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.rf-flow-rail {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.rf-flow-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
}
.rf-flow-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 6px 16px;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
}
.rf-flow-tab:focus-visible {
  outline: 2px solid #2f7bf6;
  outline-offset: 2px;
  border-radius: 12px;
}
.rf-flow-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line2);
  border-radius: 13px;
  background: var(--surface);
  font: 700 13px var(--mono);
  color: var(--muted);
  transition:
    background-color 0.35s var(--flow-ease),
    color 0.35s var(--flow-ease),
    border-color 0.35s var(--flow-ease),
    transform 0.35s var(--flow-ease);
}
.rf-flow-icon::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  border: 1.5px solid var(--accent);
  opacity: 0;
  pointer-events: none;
}
.rf-flow-tab.is-done .rf-flow-icon,
.rf-flow-tab.is-current .rf-flow-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.rf-flow-tab.is-current .rf-flow-icon {
  transform: translateY(-2px);
}
.rf-flow-ui:not(.is-paused):not(.is-held) .rf-flow-tab.is-current .rf-flow-icon::after {
  animation: rf-flow-ring 2s var(--flow-ease) infinite;
}
.rf-flow-icon.is-checked {
  animation: rf-flow-pop 0.5s var(--flow-ease);
}
@keyframes rf-flow-ring {
  0% {
    opacity: 0.55;
    transform: scale(1);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}
@keyframes rf-flow-pop {
  0% {
    transform: scale(0.8);
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: none;
  }
}
.rf-flow-index {
  font: 9px var(--mono);
  letter-spacing: 0.14em;
  color: var(--dim);
}
.rf-flow-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.rf-flow-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  margin-top: 6px;
}
.rf-flow-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.rf-flow-card.is-swap {
  animation: rf-flow-swap 0.4s var(--flow-ease);
}
@keyframes rf-flow-swap {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.rf-flow-kicker {
  font: 10px var(--mono);
  letter-spacing: 0.15em;
  color: var(--dim);
}
.rf-flow-title {
  margin: 14px 0 10px;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.rf-flow-text {
  max-width: 420px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}
.rf-flow-facts {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 11px var(--mono);
  color: var(--muted);
}
.rf-flow-facts li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.rf-flow-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  margin-top: auto;
  padding-top: 20px;
}
.rf-flow-approve,
.rf-flow-replay {
  border-radius: 10px;
  padding: 11px 16px;
  font: 600 13px var(--sans);
  cursor: pointer;
  transition:
    transform 0.3s var(--flow-ease),
    background-color 0.3s var(--flow-ease);
}
.rf-flow-approve {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}
.rf-flow-replay {
  border: 1px solid var(--line2);
  background: var(--surface);
  color: var(--text);
}
.rf-flow-approve:hover,
.rf-flow-replay:hover {
  transform: translateY(-1px);
}
.rf-flow-approve:focus-visible,
.rf-flow-replay:focus-visible {
  outline: 2px solid #2f7bf6;
  outline-offset: 2px;
}
.rf-flow-done {
  font: 600 12px var(--mono);
  color: #247a57;
}
.rf-flow-log {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  border-radius: 18px;
  background: #081a33;
  color: #e8eef7;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(8, 26, 51, 0.18);
}
.rf-flow-logbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font: 9px var(--mono);
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}
.rf-flow-state {
  color: #68c997;
}
.rf-flow-lines {
  flex: 1;
  min-height: 170px;
  padding: 16px 18px;
  font: 11.5px/1.75 var(--mono);
}
.rf-flow-line {
  word-break: break-word;
  animation: rf-flow-swap 0.3s var(--flow-ease) backwards;
}
.rf-flow-line.is-ok {
  color: #68c997;
}
.rf-flow-cursor {
  display: inline-block;
  width: 6px;
  height: 12px;
  margin-left: 2px;
  background: #fff;
  vertical-align: -1px;
  animation: rf-blink 1s steps(1) infinite;
}
.rf-flow-live {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font: 10px var(--mono);
}
.rf-flow-live b {
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}
.rf-flow-live em {
  font-style: normal;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.rf-flow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 18px 16px;
}
.rf-flow-tags span {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  font: 8.5px var(--mono);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  opacity: 0.55;
  transition:
    opacity 0.3s var(--flow-ease),
    color 0.3s var(--flow-ease),
    border-color 0.3s var(--flow-ease);
}
.rf-flow-tags span.is-on {
  opacity: 1;
  color: #68c997;
  border-color: #68c997;
}
.rf-flow-ui.is-paused *,
.rf-flow-ui.is-paused *::before,
.rf-flow-ui.is-paused *::after {
  animation-play-state: paused !important;
}
@media (max-width: 800px) {
  .rf-flow-body {
    grid-template-columns: 1fr;
  }
  .rf-flow-card,
  .rf-flow-log {
    min-height: 0;
  }
  .rf-flow-card {
    padding: 22px;
  }
  .rf-flow-icon {
    width: 38px;
    height: 38px;
  }
  .rf-flow-rail {
    top: 19px;
  }
  .rf-flow-name {
    font-size: 11px;
  }
}
@media (max-width: 420px) {
  .rf-flow-index {
    display: none;
  }
  .rf-flow-tab {
    padding-left: 2px;
    padding-right: 2px;
  }
  .rf-flow-name {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rf-flow-ui *,
  .rf-flow-ui *::before,
  .rf-flow-ui *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---- Pricing: one selected plan, filled dark ---- */
.rf-pricing .price {
  position: relative;
  isolation: isolate;
  cursor: pointer;
}
.rf-pricing .price::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: #081a33;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.rf-pricing .price[data-selected]::before {
  opacity: 1;
}
.rf-pricing .price .rf-price-radio {
  display: flex;
  flex-direction: column;
  flex: 1;
  outline: none;
}
.rf-pricing .price:has(.rf-price-radio:focus-visible) {
  outline: 2px solid #2f7bf6;
  outline-offset: 4px;
}
.rf-pricing .price .btn {
  margin-top: 16px;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.rf-pricing .price .eyebrow,
.rf-pricing .price h3,
.rf-pricing .price .price-value,
.rf-pricing .price .price-unit,
.rf-pricing .price p,
.rf-pricing .price li {
  transition:
    color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.rf-pricing .price[data-selected] {
  border-color: #081a33;
  color: #f4f1eb;
}
.rf-pricing .price[data-selected] .eyebrow {
  color: rgba(244, 241, 235, 0.62);
}
.rf-pricing .price[data-selected] h3,
.rf-pricing .price[data-selected] .price-value {
  color: #f4f1eb;
}
.rf-pricing .price[data-selected] .price-unit {
  color: rgba(244, 241, 235, 0.7);
}
.rf-pricing .price[data-selected] p,
.rf-pricing .price[data-selected] li {
  color: rgba(244, 241, 235, 0.78);
}
.rf-pricing .price[data-selected] li {
  border-color: rgba(244, 241, 235, 0.16);
}
.rf-pricing .price[data-selected] li:before {
  color: #68c997;
}
/* selected: the button is filled (light on dark); the others stay outlined */
.rf-pricing .price[data-selected] .btn {
  background: #f4f1eb;
  border-color: #f4f1eb;
  color: #081a33;
}
.rf-pricing .price:not([data-selected]) .btn {
  background: transparent;
  border-color: var(--line2);
  color: var(--text);
}
.rf-price-selected {
  position: absolute;
  top: -11px;
  left: 16px;
  z-index: 20;
  padding: 5px 10px;
  border-radius: 999px;
  background: #081a33;
  border: 1px solid #081a33;
  color: #fff;
  font: 700 8px var(--mono);
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.rf-pricing .price[data-selected] .rf-price-selected {
  opacity: 1;
  transform: none;
}
.rf-pricing .rf-recommended-badge {
  left: auto;
  right: 16px;
  transform: none;
}
.rf-pricing-note {
  margin: 22px 0 0;
  font: 12px/1.6 var(--mono);
  color: var(--muted);
}
@media (max-width: 720px) {
  .rf-pricing .rf-recommended-badge {
    top: -11px;
    right: 16px;
    left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rf-pricing .price::before,
  .rf-pricing .price *,
  .rf-price-selected {
    transition: none !important;
  }
}


/* Why Runforge: let long text and URLs wrap so the diagram never grows wider than its column (about 1000-1100 px) */
.rf-why-lane > *,
.rf-why-row > * {
  min-width: 0;
}
.rf-why-node b,
.rf-why-node small,
.rf-why-node em {
  overflow-wrap: anywhere;
}
