/* Home page: the decision layer for robots. Bold blocks, thick meters, no hairlines. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.rb {
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--rb-text);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
}
.rb *, .rb *::before, .rb *::after { box-sizing: border-box; }
.rb :where(h1, h2, h3, h4) { font-family: inherit; margin: 0; }
.rb p { margin: 0; }
/* The parent theme colours bare elements; here they inherit from their section. Later single-class rules still win. */
.rb :where(p, li, span, dd, dt, td, th, figcaption, label, strong, em) { color: inherit; }
.rb ul, .rb ol { list-style: none; margin: 0; padding: 0; }
.rb img, .rb video { display: block; max-width: 100%; height: auto; }
.rb figure { margin: 0; }

/* Icons in front of list items. They are drawn by the theme, so a list stays a normal list in the editor. */
:root {
  --rb-ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --rb-ico-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E");
  --rb-ico-route: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 5h14M5 12h14M5 19h8'/%3E%3C/svg%3E");
}
.rb-ticks li, .rb-progress-col li, .rb-deploy li { position: relative; padding-left: 2.1rem; min-height: 1.5rem; }
.rb-ticks li::before, .rb-progress-col li::before, .rb-deploy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: currentColor;
  -webkit-mask: var(--rb-ico, var(--rb-ico-check)) center / contain no-repeat;
  mask: var(--rb-ico, var(--rb-ico-check)) center / contain no-repeat;
}

.rb-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--pad); }
.rb-section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.rb-paper { background: var(--rb-paper); }
.rb-ink { background: var(--rb-ink); color: #dfe7f1; }
.rb-ink h2, .rb-ink h3, .rb-ink h4 { color: var(--rb-white); }
.rb-lime { background: var(--rb-lime); color: var(--rb-ink); }

/* ── Type ── */
.rb-eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rb-leaf);
  margin-bottom: 1.1rem !important;
}
.rb-eyebrow-lime { color: var(--rb-lime); }
.rb-eyebrow-ink { color: var(--rb-ink); }
.rb-display {
  font-weight: 800;
  font-stretch: 108%;
  font-size: clamp(2.05rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -.028em;
  color: var(--rb-ink);
  text-wrap: balance;
}
.rb-display-xl { font-size: clamp(3rem, 8.5vw, 6.5rem); }
.rb-lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.45; margin-top: 1.25rem !important; font-weight: 500; }
.rb-body { margin-top: 1.1rem !important; color: var(--rb-muted); }
.rb-ink .rb-body { color: #b3c1d3; }
.rb-head { max-width: 860px; margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.rb-fine { font-size: .875rem; color: var(--rb-muted); line-height: 1.45; }

/* ── Buttons ── */
.rb .rb-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.rb .rb-btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: .85rem 1.75rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.rb .rb-btn .wp-block-button__link:hover { transform: translateY(-2px); }
.rb .rb-btn-lime .wp-block-button__link { background: var(--rb-lime); color: var(--rb-ink); }
.rb .rb-btn-lime .wp-block-button__link:hover { background: #bdf064; color: var(--rb-ink); }
.rb .rb-btn-ghost .wp-block-button__link { background: var(--rb-ink-3); color: var(--rb-white); }
.rb .rb-btn-ghost .wp-block-button__link:hover { background: #274369; color: var(--rb-white); }

/* ── Hero ── */
.rb-hero {
  background: var(--rb-ink);
  color: #dfe7f1;
  padding: clamp(7rem, 12vw, 9.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}
/* Background photo: black becomes transparent through the screen blend, so no photo edge shows on the navy.
   The mask keeps it a faint ghost behind the text column and full strength on the right. */
.rb-hero { position: relative; isolation: isolate; overflow: hidden; }
.rb-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .62;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .2) 44%, #000 60%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .2) 0, rgba(0, 0, 0, .2) 44%, #000 60%);
}
.rb-hero-bg img {
  position: absolute;
  top: 50%;
  right: -3%;
  width: auto;
  height: 122%;
  max-width: none;
  transform: translateY(-50%);
}
/* Background video, wide screens only. The arm rises between the text and the panel; the mask keeps it a ghost behind the text. */
.rb .rb-hero-video {
  position: absolute;
  top: 0;
  left: 7%;
  width: 140%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 30%;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .13) 8%, rgba(0, 0, 0, .13) 30%, #000 35%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .13) 8%, rgba(0, 0, 0, .13) 30%, #000 35%);
}
@media (min-width: 961px) {
  .rb-bg-video .rb-hero-bg { display: none; }
}
@media (max-width: 960px) {
  .rb .rb-hero-video, .rb .rb-hero-pause { display: none; }
}
.rb .rb-hero-pause {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 8px;
  background: rgba(27, 48, 80, .92);
  color: var(--rb-white);
  font-size: .9rem;
  cursor: pointer;
}
.rb .rb-hero-pause:hover { background: #274369; }
.rb .rb-hero-pause:focus-visible { outline: 3px solid var(--rb-white); outline-offset: 2px; }
.rb-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.rb-hero h1 {
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--rb-white);
  text-wrap: balance;
}
.rb .rb-hero-lead { margin-top: 1.6rem; color: #dfe7f1; font-size: clamp(1.1rem, 1.6vw, 1.28rem); font-weight: 400; line-height: 1.45; max-width: 36em; border: 0; padding: 0; background: none; }
.rb-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem !important; }
.rb-chips li {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .78rem;
  font-weight: 500;
  padding: .4rem .7rem;
  border-radius: 6px;
  background: var(--rb-ink-3);
  color: #dfe7f1;
}

.rb .rb-hero-phone { margin-top: 1.25rem; color: #dfe7f1; font-size: 1.05rem; line-height: 1.3; }
.rb-hero-phone a { display: inline-flex; align-items: center; gap: .5rem; margin-left: .3rem; color: var(--rb-lime); font-weight: 800; font-size: clamp(1.35rem, 2.2vw, 1.6rem); letter-spacing: -.01em; white-space: nowrap; text-decoration: none; }
.rb-hero-phone a:hover { color: #bdf064; text-decoration: underline; }
.rb-hero-phone a::before, .rb-contact-list li:first-child a::before { content: "\f095"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .8em; }
@media (max-width: 560px) {
  .rb-hero-phone a { display: flex; margin: .25rem 0 0; }
}

/* Decision feed */
.rb-feed { background: var(--rb-ink-2); border-radius: 18px; padding: clamp(1rem, 2vw, 1.5rem); min-width: 0; }
/* With a background behind the hero the panels let it through, softened. */
.rb-bg-video .rb-feed, .rb-bg-photo .rb-feed { background: rgba(18, 35, 58, .84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rb-bg-video .rb-feed-row, .rb-bg-photo .rb-feed-row { background: rgba(27, 48, 80, .92); }
.rb-feed-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; color: var(--rb-white); font-weight: 700; }
.rb-feed-title { display: inline-flex; align-items: center; gap: .55rem; }
.rb-feed-threshold { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .8rem; font-weight: 600; color: var(--rb-lime); white-space: nowrap; }
.rb-feed-title::before { content: ""; flex: none; width: .65rem; height: .65rem; border-radius: 50%; background: var(--rb-lime); animation: rb-pulse 1.8s ease-in-out infinite; }
@keyframes rb-pulse { 50% { opacity: .35; } }
.rb-feed-list { display: grid; gap: .5rem; }
.rb-feed-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.5rem 2.6rem 8.2rem;
  align-items: center;
  gap: .75rem;
  background: var(--rb-ink-3);
  border-radius: 10px;
  padding: .65rem .8rem;
  transition: opacity .35s ease, transform .35s ease;
}
.rb-feed-row.is-entering { opacity: 0; transform: translateY(-10px); }
.rb-feed-text { min-width: 0; line-height: 1.2; }
.rb-feed-text strong { display: block; color: var(--rb-white); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-feed-text span { display: block; color: #9eb0c6; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-feed-conf { font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 600; font-size: .85rem; color: inherit; text-align: right; }
.rb-feed-note { margin-top: .85rem !important; font-size: .78rem; color: #9eb0c6; }

/* Bars and states: green acts, amber asks, red blocks */
.rb-bar { position: relative; height: 12px; border-radius: 6px; background: rgba(255,255,255,.12); }
.rb-paper .rb-bar { background: #dde3d6; }
.rb-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: var(--rb-lime-deep); transition: background-color .2s ease; }
.rb-bar b { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: currentColor; transition: left .1s linear; }
.is-ask .rb-bar i { background: var(--rb-amber); }
.is-stop .rb-bar i { background: var(--rb-red); }
.rb-state {
  display: inline-block;
  justify-self: end;
  white-space: nowrap;
  text-align: center;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.15;
  padding: .36rem .55rem;
  border-radius: 6px;
  background: var(--rb-lime);
  color: var(--rb-ink);
  transition: background-color .2s ease;
}
.is-ask .rb-state, .rb-state-ask { background: var(--rb-amber); color: var(--rb-ink); }
.is-stop .rb-state { background: var(--rb-red); color: var(--rb-white); }

/* ── Problem ── */
.rb-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.rb-photo { margin: 0; border-radius: 18px; overflow: hidden; }
.rb-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rb-pains { counter-reset: rb-pain; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.rb-pain { counter-increment: rb-pain; background: var(--rb-ink); color: #c4d1e0; border-radius: 16px; padding: 1.75rem; }
.rb-pain::before { content: "0" counter(rb-pain); display: block; font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 600; color: var(--rb-amber); font-size: .9rem; }
.rb-pain h3 { color: var(--rb-white); font-size: 1.35rem; font-weight: 800; line-height: 1.15; margin: .9rem 0 .6rem; }
.rb-pain p { font-size: 1rem; }

/* ── Decision layer stack ── */
.rb-layer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.rb-layer-grid .rb-display { color: var(--rb-white); }
.rb-layer-note { margin-top: 1.5rem !important; font-weight: 700; color: var(--rb-white); }
.rb-stack { display: grid; gap: .6rem; }
.rb-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; padding: 1.25rem 1.5rem; border-radius: 14px; background: var(--rb-ink-3); }
.rb-band h3 { font-size: 1.2rem; font-weight: 800; }
.rb-band-text p { font-size: .95rem; color: #b3c1d3; margin-top: .2rem !important; line-height: 1.35; }
.rb-band-speed { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .76rem; font-weight: 600; text-align: right; max-width: 10rem; color: #b3c1d3; line-height: 1.25; }
.rb-band.is-ours { background: var(--rb-lime); padding-block: 2rem; transform: scale(1.03); }
.rb-band.is-ours h3 { color: var(--rb-ink); font-size: 1.6rem; font-stretch: 108%; letter-spacing: -.02em; }
.rb-band.is-ours .rb-band-text p, .rb-band.is-ours .rb-band-speed { color: var(--rb-ink); }

/* ── How it works ── */
.rb-steps { counter-reset: rb-step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.rb-step { counter-increment: rb-step; background: var(--rb-white); border-radius: 16px; padding: 1.6rem; }
.rb-step::before {
  content: counter(rb-step);
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  background: var(--rb-ink);
  color: var(--rb-lime);
  font-weight: 800;
  font-size: 1.15rem;
}
.rb-step h3 { color: var(--rb-ink); font-size: 1.3rem; font-weight: 800; margin: 1rem 0 .45rem; }
.rb-step p { color: var(--rb-muted); font-size: 1rem; }

.rb-meter-block { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.75rem, 4vw, 3.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.rb-meter-copy h3 { color: var(--rb-ink); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; font-stretch: 106%; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.rb-meter-copy > p { color: var(--rb-muted); margin-top: .9rem; }
.rb-meter-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 1.6rem 0 0; }
.rb-meter-summary div { border-radius: 12px; padding: .9rem 1rem; background: var(--rb-lime); color: var(--rb-ink); }
.rb-meter-summary .is-ask { background: var(--rb-amber); }
.rb-meter-summary .is-stop { background: var(--rb-red); color: var(--rb-white); }
.rb-meter-summary dd { margin: 0; font-size: 2.4rem; font-weight: 800; line-height: 1; }
.rb-meter-summary dt { font-size: .82rem; font-weight: 700; line-height: 1.15; margin-top: .3rem; }
.rb-meter-panel { background: var(--rb-ink); color: var(--rb-white); border-radius: 18px; padding: clamp(1.2rem, 2.5vw, 1.9rem); min-width: 0; }
.rb-slider-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin-bottom: .4rem; }
.rb-slider-label output { font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 600; font-size: 1.5rem; color: var(--rb-lime); }
.rb-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 6px; background: var(--rb-ink-3); cursor: grab; margin: 0 0 1.25rem; display: block; }
.rb-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 8px; background: var(--rb-lime); border: 0; }
.rb-slider::-moz-range-thumb { width: 28px; height: 28px; border-radius: 8px; background: var(--rb-lime); border: 0; }
.rb-slider:focus-visible { outline: 3px solid var(--rb-white); outline-offset: 4px; }
.rb-meter-list { display: grid; gap: .55rem; }
.rb-meter-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(4rem, 1fr) 2.6rem 8.8rem; gap: .7rem; align-items: center; background: var(--rb-ink-3); border-radius: 10px; padding: .7rem .8rem; }
.rb-meter-name { font-weight: 700; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-meter-row .rb-bar { background: rgba(255,255,255,.14); }
.rb-meter-row .rb-bar b { color: var(--rb-white); }
.rb-meter-panel .rb-fine { color: #9eb0c6; margin-top: .9rem; }

/* ── Demo ── */
.rb-demo-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.rb-video { margin: 0; }
.rb-video video { width: 100%; border-radius: 16px; background: var(--rb-ink-2); }
.rb-video figcaption { font-size: .875rem; color: #9eb0c6; margin-top: .7rem; }
.rb-demo-steps h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .9rem; }
.rb-demo-steps ol { counter-reset: rb; display: grid; gap: .8rem; }
.rb-demo-steps li { counter-increment: rb; position: relative; padding-left: 2.45rem; font-size: .97rem; line-height: 1.4; color: #c4d1e0; }
.rb-demo-steps li::before { content: counter(rb); position: absolute; left: 0; top: 0; font-weight: 800; color: var(--rb-lime); font-size: 1.1rem; }

.rb-console { margin-top: clamp(3rem, 6vw, 5rem); }
.rb-console-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; font-stretch: 106%; letter-spacing: -.02em; margin-bottom: 1.1rem; }
.rb-tablist { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.rb .rb-tab {
  font: inherit;
  font-weight: 700;
  font-size: .97rem;
  color: #dfe7f1;
  background: var(--rb-ink-3);
  border: 0;
  border-radius: 9px;
  padding: .65rem 1.05rem;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.rb .rb-tab:hover { background: #274369; }
.rb .rb-tab[aria-selected="true"] { background: var(--rb-lime); color: var(--rb-ink); }
.rb .rb-tab:focus-visible { outline: 3px solid var(--rb-white); outline-offset: 2px; }
.rb-panel + .rb-panel { margin-top: 1.5rem; }
.rb-js .rb-panel + .rb-panel { margin-top: 0; }
.rb-js .rb-panel[hidden] { display: none; }
.rb-js .rb-tab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rb-panel-text { color: #c4d1e0; margin-bottom: 1rem !important; max-width: 56em; }
.rb-shot { border-radius: 14px; overflow: hidden; background: var(--rb-white); }
.rb-shot img { width: 100%; }

/* ── Rules ── */
.rb-rules-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.rb-lime .rb-lead { color: var(--rb-ink); }
.rb-ticks { display: grid; gap: .7rem; margin-top: 1.5rem !important; }
.rb-ticks li { line-height: 1.4; }
.rb-ink .rb-ticks li::before { background: var(--rb-lime); }
.rb-rule-card { background: var(--rb-ink); color: var(--rb-white); border-radius: 18px; padding: clamp(1.2rem, 2.5vw, 1.9rem); min-width: 0; }
.rb-rule-head { display: flex; justify-content: space-between; gap: 1rem; font-weight: 800; }
.rb-rule-note { font-weight: 500; font-size: .8rem; color: #9eb0c6; text-align: right; }
.rb-rule-label { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--rb-lime); margin-top: 1.25rem !important; }
.rb-rule-typed { background: var(--rb-ink-3); border-radius: 10px; padding: .95rem 1.05rem; margin-top: .5rem !important; font-size: 1.1rem; font-weight: 600; line-height: 1.35; min-height: 4.4rem; }
.rb-rule-typed.is-typing::after { content: ""; display: inline-block; width: .55em; height: 1.05em; margin-left: .1em; vertical-align: -.15em; background: var(--rb-lime); }
.rb-rule-parsed { transition: opacity .4s ease, transform .4s ease; }
.rb-rule-parsed.is-waiting { opacity: 0; transform: translateY(8px); }
.rb-rule-fields { margin-top: .5rem; overflow: visible; }
.rb-rule-fields table { display: block; width: auto; }
.rb-rule-fields tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.rb-rule-fields tr { display: block; background: var(--rb-ink-3); border-radius: 10px; padding: .7rem .85rem; min-width: 0; }
.rb-rule-fields td { display: block; border: 0; padding: 0; }
.rb-rule-fields td:first-child { font-size: .76rem; color: #9eb0c6; font-weight: 600; }
.rb-rule-fields td:last-child { margin-top: .1rem; font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 500; font-size: .86rem; overflow-wrap: anywhere; }
.rb-rule-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; margin-top: 1rem; }
.rb-rule-btns { display: flex; gap: .4rem; }
.rb-rule-btns strong { padding: .5rem .85rem; border-radius: 8px; font-size: .85rem; font-weight: 700; background: var(--rb-ink-3); }
.rb-rule-btns strong:last-child { background: var(--rb-lime); color: var(--rb-ink); }

/* ── Technology ── */
.rb-principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.rb-principle { background: var(--rb-white); border-radius: 16px; padding: 1.6rem; }
.rb-principle h3 { color: var(--rb-ink); font-size: 1.25rem; font-weight: 800; line-height: 1.15; margin-bottom: .5rem; }
.rb-principle p { color: var(--rb-muted); font-size: 1rem; }

.rb-flow { margin-top: clamp(2.5rem, 5vw, 4rem); background: var(--rb-ink); color: var(--rb-white); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2.5rem); }
.rb-flow-title { color: var(--rb-white); font-size: clamp(1.25rem, 2.2vw, 1.65rem); font-weight: 800; font-stretch: 105%; letter-spacing: -.015em; margin-bottom: 1.5rem; }
.rb-flow-line { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.rb-flow-line li { position: relative; background: var(--rb-ink-3); border-radius: 12px; padding: 1rem; min-width: 0; font-size: .82rem; color: #b3c1d3; line-height: 1.25; }
.rb-flow-line li + li::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 50%;
  width: 1.5rem;
  height: 6px;
  margin-top: -3px;
  background: var(--rb-lime);
}
.rb-flow-line strong { display: block; font-size: 1rem; font-weight: 800; line-height: 1.15; color: var(--rb-white); margin-bottom: .3rem; }
.rb-flow-line br { display: none; }
.rb-flow-line li:nth-child(n+4) { background: var(--rb-lime); color: var(--rb-ink); }
.rb-flow-line li:nth-child(n+4) strong { color: var(--rb-ink); }
.rb-flow-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.rb-branch { position: relative; border-radius: 12px; padding: 1rem 1.2rem; color: var(--rb-ink); background: var(--rb-lime-deep); }
.rb-branch::before { content: ""; position: absolute; left: 50%; top: -1.5rem; width: 6px; height: 1.5rem; margin-left: -3px; background: var(--rb-lime-deep); }
.rb-branch.is-ask::before { background: var(--rb-amber); }
.rb-branch.is-ask { background: var(--rb-amber); }
.rb-branch-label { font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 600; font-size: .75rem; }
.rb .rb-branch-title { font-size: 1.2rem; font-weight: 800; margin-top: .15rem; }
.rb-branch-text { font-size: .9rem; line-height: 1.25; }
.rb-flow-audit { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; margin-top: 1rem; background: var(--rb-white); color: var(--rb-ink); border-radius: 12px; padding: .9rem 1.2rem; }
.rb-flow-audit-title { font-weight: 800; font-size: 1.1rem; }
.rb-flow-audit-text { color: var(--rb-muted); font-size: .95rem; }

.rb-tech-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1rem; margin-top: 1rem; }
.rb-compare, .rb-deploy { background: var(--rb-white); border-radius: 18px; padding: clamp(1.25rem, 3vw, 2.25rem); min-width: 0; }
.rb-compare h3, .rb-deploy h3 { color: var(--rb-ink); font-size: clamp(1.25rem, 2.2vw, 1.65rem); font-weight: 800; font-stretch: 105%; letter-spacing: -.015em; }
.rb-compare > p { color: var(--rb-muted); margin-top: .6rem; font-size: 1rem; }
.rb-compare thead { border: 0; }
.rb-compare figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rb-compare table { width: 100%; border-collapse: separate; border-spacing: 0 .4rem; margin-top: 1rem; font-size: .95rem; table-layout: fixed; }
.rb-compare th, .rb-compare td { text-align: left; padding: .65rem .75rem; vertical-align: top; line-height: 1.25; border: 0; background: transparent; }
.rb-compare thead th { font-size: .8rem; color: var(--rb-muted); font-weight: 700; padding-block: .2rem; }
.rb-compare tbody td:first-child { font-weight: 700; color: var(--rb-ink); padding-left: 0; }
.rb-compare tbody td:nth-child(2) { background: var(--rb-paper); color: var(--rb-text); border-radius: 8px 0 0 8px; }
.rb-compare tbody td:nth-child(3) { background: var(--rb-lime); color: var(--rb-ink); font-weight: 700; border-radius: 0 8px 8px 0; }
.rb-deploy ul { display: grid; gap: .65rem; margin-top: 1rem; }
.rb-deploy ul + ul { margin-top: .65rem; }
.rb-deploy li { line-height: 1.3; font-size: 1rem; color: var(--rb-text); }
.rb-deploy li::before { background: var(--rb-leaf); }
.rb-deploy .is-roadmap li { display: flex; justify-content: space-between; align-items: start; gap: .6rem; color: var(--rb-muted); --rb-ico: var(--rb-ico-clock); }
.rb-deploy .is-roadmap li::before { background: var(--rb-muted); }
.rb-deploy em { font-family: "IBM Plex Mono", ui-monospace, monospace; font-style: normal; font-size: .7rem; font-weight: 600; background: var(--rb-paper); color: var(--rb-muted); padding: .2rem .45rem; border-radius: 5px; }

/* ── Use cases ── */
.rb-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.rb-case-photo { margin: 0; position: relative; border-radius: 18px; overflow: hidden; }
.rb-case-photo img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; }
.rb-case-photo figcaption { background: var(--rb-ink-3); color: var(--rb-white); margin: 0; padding: 1.1rem 1.25rem; font-size: inherit; text-align: left; font-weight: 600; line-height: 1.3; }
.rb-case-photo figcaption br { display: none; }
.rb-case-photo figcaption strong { display: block; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--rb-amber); margin-bottom: .3rem; }
.rb-case-body h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; font-stretch: 106%; letter-spacing: -.02em; line-height: 1.08; }
.rb-case-body h4 { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--rb-lime); margin: 1.6rem 0 .65rem; }
.rb-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.rb-tags li { background: var(--rb-ink-3); border-radius: 7px; padding: .4rem .7rem; font-size: .92rem; color: #dfe7f1; }
.rb-case-body .rb-ticks { margin-top: 0 !important; }
.rb-case-body > p { color: #dfe7f1; }

/* ── Status ── */
.rb-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.rb-metric { background: var(--rb-ink); color: var(--rb-white); border-radius: 18px; padding: clamp(1.25rem, 2.5vw, 1.9rem); }
.rb .rb-metric-value { font-size: clamp(2.8rem, 5.5vw, 4.4rem); font-weight: 800; font-stretch: 108%; line-height: 1; letter-spacing: -.03em; color: var(--rb-lime); white-space: nowrap; }
.rb .rb-metric-label { font-weight: 700; line-height: 1.2; margin-top: .75rem; }
.rb .rb-metric-note { font-size: .86rem; color: #9eb0c6; margin-top: .35rem; line-height: 1.3; }
.rb-source { margin-top: 1rem !important; max-width: 60em; }
.rb-progress { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.rb-progress-col { background: var(--rb-white); border-radius: 16px; padding: 1.6rem; }
.rb-progress-col h3 { color: var(--rb-ink); font-size: 1.2rem; font-weight: 800; margin-bottom: .9rem; }
.rb-progress-col ul { display: grid; gap: .6rem; }
.rb-progress-col li { line-height: 1.3; font-size: 1rem; }
.is-done li::before { background: var(--rb-leaf); }
.is-progress li { --rb-ico: var(--rb-ico-clock); }
.is-progress li::before { background: #c97f0a; }
.is-next li { --rb-ico: var(--rb-ico-route); }
.is-next li::before { background: var(--rb-muted); }

/* ── Pilot ── */
.rb-pilot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.rb-pilot-intro .rb-display { color: var(--rb-white); }
.rb-pilot-intro .rb-btn { margin-top: 1.75rem; }
.rb-pilot-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.rb-pilot-lists > div { background: var(--rb-ink-3); border-radius: 16px; padding: 1.5rem; }
.rb-pilot-lists h3 { font-size: 1.15rem; font-weight: 800; }
.rb-pilot-lists .rb-ticks { margin-top: 1rem !important; font-size: .97rem; }
.rb-who-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; font-stretch: 106%; letter-spacing: -.02em; line-height: 1.1; margin-top: clamp(3rem, 6vw, 5rem) !important; }
.rb-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.rb-who-card { background: var(--rb-ink-2); border-radius: 16px; padding: 1.6rem; }
.rb-who-card h4 { font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.rb-who-card p { color: #b3c1d3; margin-top: .55rem !important; font-size: 1rem; }

/* ── Company ── */
.rb-company { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.rb-company-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin: 2rem 0 0; }
.rb-fact-value { font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 800; font-stretch: 106%; color: var(--rb-ink); letter-spacing: -.02em; white-space: nowrap; }
.rb .rb-fact-label { font-size: .86rem; color: var(--rb-muted); line-height: 1.2; margin-top: .15rem; }
.rb-mv { display: grid; gap: 1rem; }
.rb-mv-card { border-radius: 18px; padding: clamp(1.4rem, 2.5vw, 2rem); }
.rb-mv-card h3 { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.rb-mv-card p { font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
.rb-mv-card.is-mission { background: var(--rb-ink); color: var(--rb-white); }
.rb-mv-card.is-mission h3 { color: var(--rb-lime); }
.rb-mv-card.is-vision { background: var(--rb-lime); color: var(--rb-ink); }

/* ── FAQ ── */
.rb-faq-section { padding-top: 0; }
.rb-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.rb-faq { display: grid; gap: .5rem; }
.rb-faq details { background: var(--rb-white); border-radius: 12px; padding: 0 1.25rem; }
.rb-faq summary { font-weight: 800; font-size: 1.1rem; color: var(--rb-ink); padding: 1.05rem 1.75rem 1.05rem 0; cursor: pointer; list-style: none; position: relative; line-height: 1.25; }
.rb-faq summary::-webkit-details-marker { display: none; }
.rb-faq summary::after { content: "+"; position: absolute; right: 0; top: .78rem; font-size: 1.6rem; font-weight: 500; color: var(--rb-leaf); }
.rb-faq details[open] summary::after { content: "\2212"; }
.rb-faq summary:focus-visible { outline: 3px solid var(--rb-leaf); outline-offset: 2px; border-radius: 6px; }
.rb-faq details p { color: var(--rb-muted); padding-bottom: 1.2rem; font-size: 1rem; }

/* ── Contact ── */
.rb-contact { background: var(--rb-ink); color: #dfe7f1; overflow: hidden; }
.rb .rb-contact-bg { position: absolute; inset: 0; }
.rb-contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.rb-contact-bg::after { content: ""; position: absolute; inset: 0; background: rgba(10, 22, 40, .9); }
.rb-contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.rb-contact .rb-display { color: var(--rb-white); }
.rb-contact .rb-btn { margin-top: 1.75rem; }
.rb-contact-note { margin-top: .75rem !important; font-size: .92rem; color: #b3c1d3; }
.rb-contact h3 { color: var(--rb-white); font-size: 1.15rem; font-weight: 800; margin-top: 2.25rem; }
.rb-contact-list { display: grid; gap: .45rem; margin-top: .65rem !important; }
.rb-contact-list a { color: var(--rb-lime); font-weight: 700; text-decoration: none; }
.rb-contact-list a:hover { text-decoration: underline; }
.rb-contact-list em { font-style: normal; font-size: .92rem; color: #b3c1d3; }
.rb-contact-list li:first-child a { display: inline-flex; align-items: center; gap: .5rem; font-size: clamp(1.4rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.rb-form-card { background: var(--rb-white); color: var(--rb-text); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.25rem); }
.rb-form-card h3 { color: var(--rb-ink); margin-top: 0; font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-stretch: 105%; letter-spacing: -.015em; line-height: 1.12; }
.rb-form-card > p { color: var(--rb-muted); font-size: .97rem; margin: .5rem 0 1.25rem !important; }

.rb-form-card .nf-form-cont input[type="submit"],
.rb-form-card .nf-form-cont input[type="button"] {
  background: var(--rb-ink);
  color: var(--rb-white);
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  min-height: 3.2rem;
  padding: .75rem 1.6rem;
}
.rb-form-card .nf-form-cont input[type="submit"]:hover,
.rb-form-card .nf-form-cont input[type="button"]:hover { background: var(--rb-ink-3); color: var(--rb-white); transform: none; box-shadow: none; }

/* ── The rest of 3Bird ── */
.rb-more { background: var(--rb-ink-2); color: #c4d1e0; padding-block: 2.5rem; }
.rb-more-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 2rem; align-items: center; }
.rb-more h2 { color: var(--rb-white); font-size: 1.2rem; font-weight: 800; line-height: 1.2; }
.rb-more p { font-size: .95rem; margin-top: .35rem !important; line-height: 1.4; }
.rb-more ul { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-end; }
.rb-more a { display: inline-block; background: var(--rb-ink-3); color: var(--rb-white); font-weight: 600; font-size: .92rem; padding: .5rem .8rem; border-radius: 8px; text-decoration: none; transition: background-color .15s ease; }
.rb-more a:hover { background: #274369; color: var(--rb-white); }

/* ── Reveal on scroll: only with JS and motion allowed ── */
@media (prefers-reduced-motion: no-preference) {
  .rb-js .rb-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .rb-js .rb-reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-feed-title::before { animation: none; }
  .rb-feed-row, .rb-rule-parsed, .rb-bar b, .rb .rb-btn .wp-block-button__link { transition: none; }
}

/* Active section in the menu */
.rb-nav .nav-links a.is-current { color: var(--rb-lime); }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .rb-steps, .rb-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-flow-line { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .rb-flow-line li + li::before { left: 50%; top: -1rem; width: 6px; height: 1rem; margin: 0 0 0 -3px; }
}
@media (max-width: 960px) {
  .rb-hero-bg {
    opacity: .3;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 240px, transparent 470px);
    mask-image: linear-gradient(180deg, #000 0, #000 240px, transparent 470px);
  }
  .rb-hero-bg img { top: 3.5rem; right: -22%; width: min(135%, 720px); height: auto; transform: none; }
  .rb-hero-grid, .rb-split, .rb-layer-grid, .rb-meter-block, .rb-demo-grid, .rb-rules-grid,
  .rb-tech-grid, .rb-case, .rb-pilot, .rb-company, .rb-faq-grid, .rb-contact-grid, .rb-more-grid,
  .rb-progress { grid-template-columns: minmax(0, 1fr); }
  .rb-more ul { justify-content: flex-start; }
  .rb-band.is-ours { transform: none; }
  .rb-pains, .rb-who { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .rb-steps, .rb-principles, .rb-flow-split, .rb-pilot-lists { grid-template-columns: minmax(0, 1fr); }
  .rb-company-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-feed-row { grid-template-columns: minmax(0, 1fr) auto; gap: .35rem .6rem; }
  .rb-feed-row .rb-bar { grid-column: 1 / -1; grid-row: 2; }
  .rb-feed-row .rb-feed-conf { display: none; }
  .rb-meter-row { grid-template-columns: minmax(0, 1fr) auto; gap: .4rem .6rem; }
  .rb-meter-row .rb-bar { grid-column: 1 / -1; grid-row: 2; }
  .rb-meter-row .rb-feed-conf { display: none; }
  .rb-band { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .rb-band-speed { text-align: left; max-width: none; }
  .rb-tablist-cases { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .rb-tablist-cases .rb-tab { flex: 0 0 auto; }
  .rb-compare { padding-inline: 1rem; }
  .rb-compare table { font-size: .85rem; }
  .rb-compare th, .rb-compare td { padding: .55rem .5rem; }
}
