/* ==========================================================================
   RestoBridge home page — the landing sections.
   Loaded after styles.css and site.css (the shared design system) on
   index.html only. Everything is prefixed rb-.
   ==========================================================================

/* ---------- Platform carousel (Square-style slides) ---------- */
.rb-platform {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 420px at 88% 8%, color-mix(in srgb, var(--rb-primary) 7%, transparent), transparent 70%),
    radial-gradient(600px 400px at 6% 96%, color-mix(in srgb, var(--rb-accent) 6%, transparent), transparent 70%),
    var(--rb-cream);
}
.rb-slider-nav { display: flex; gap: 10px; flex: none; }
.rb-slider-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--ink); border: 1px solid var(--rb-line-2);
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.rb-slider-btn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.rb-slider-btn:disabled { opacity: .35; cursor: default; }
.rb-slider-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 3px; }
html[dir="rtl"] .rb-slider-btn svg { transform: scaleX(-1); }

.rb-slides {
  --rb-edge: max(var(--rb-gutter), calc((100vw - var(--rb-max)) / 2 + var(--rb-gutter)));
  /* room below for the cards' shadow, which the scroll box would otherwise cut */
  list-style: none; margin: 0 0 -48px; padding: 0 var(--rb-edge) 56px;
  display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--rb-edge); scroll-behavior: smooth;
  scrollbar-width: none;
}
.rb-slides::-webkit-scrollbar { display: none; }
.rb-slides:focus-visible { outline: none; }
.rb-slides:focus-visible .rb-slide { box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 35%, transparent); }

.rb-slide {
  flex: 0 0 min(calc(100vw - 2 * var(--rb-edge)), calc(var(--rb-max) - 2 * var(--rb-gutter)));
  scroll-snap-align: start;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch;
  min-height: clamp(460px, 42vw, 580px);
  background: #fff; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--rb-line);
  box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--rb-dark) 35%, transparent), 0 2px 6px -2px color-mix(in srgb, var(--rb-dark) 6%, transparent);
  transition: box-shadow .4s, transform .4s var(--rb-ease);
}
.rb-slide:hover { box-shadow: 0 40px 70px -40px color-mix(in srgb, var(--rb-primary) 30%, transparent), 0 2px 6px -2px color-mix(in srgb, var(--rb-dark) 6%, transparent); }
.rb-slide-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(32px, 5vw, 64px); }
.rb-slide-icon {
  width: 56px; height: 56px; padding: 14px; border-radius: 16px; margin-bottom: auto; color: var(--rb-primary);
  background: linear-gradient(145deg, var(--primary-100), color-mix(in srgb, var(--rb-accent) 8%, #fff));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rb-primary) 12%, transparent);
}
.rb-slide-icon svg { width: 100%; height: 100%; display: block; }
.rb-slide-label { display: flex; align-items: center; gap: 12px; margin: 28px 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); }
.rb-slide-num { font: 500 13px/1 var(--font-head); letter-spacing: .04em; padding: 5px 9px; border-radius: 99px; color: var(--ink); background: var(--rb-cream); border: 1px solid var(--rb-line); }
html[dir="rtl"] .rb-slide-label { letter-spacing: 0; }
.rb-slide h3 { margin: 0; font-family: var(--font-head); font-size: clamp(30px, 3vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); max-width: 13em; text-wrap: balance; }
html[dir="rtl"] .rb-slide h3 { letter-spacing: 0; line-height: 1.3; }
.rb-slide-copy > p:not(.rb-slide-label) { margin: 18px 0 0; font-size: 18px; line-height: 1.5; color: var(--fg-muted); max-width: 30em; }
/* the link is an outline button (css/site.css) */
.rb-slide-link { margin-top: 28px; margin-bottom: auto; }
/* long labels (and narrow cards on phones) wrap instead of overflowing the card */
.rb-slide-link, .rb-type-link { max-width: 100%; height: auto; min-height: var(--rb-btn-h); padding-block: 10px; white-space: normal; line-height: 1.25; text-align: start; }
.rb-slide-visual { position: relative; margin: 14px; margin-inline-start: 0; border-radius: 20px; overflow: hidden; background: color-mix(in srgb, var(--rb-cream) 92%, var(--rb-dark)); isolation: isolate; }
.rb-slide-media { position: absolute; inset: 0; display: block; }
.rb-slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--rb-ease); }
.rb-slide:hover .rb-slide-media img { transform: scale(1.05); }
/* a soft shade so the widget reads on any photo */
.rb-slide-visual::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, color-mix(in srgb, var(--rb-dark) 45%, transparent) 0%, transparent 45%); }
/* product widget floating on the photo */
.rb-slide-widget {
  position: absolute; z-index: 2; inset-inline-start: 20px; bottom: 20px; margin: 0; max-width: calc(100% - 40px);
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px;
  background: color-mix(in srgb, #fff 92%, transparent); color: var(--ink);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.45), 0 0 0 1px color-mix(in srgb, #fff 60%, transparent);
  transform: translateY(8px); opacity: .0; transition: opacity .6s ease .2s, transform .8s var(--rb-ease) .2s;
}
html[dir="rtl"] .rb-slide-widget { padding: 12px 12px 12px 18px; }
.rb-slides.visible .rb-slide-widget, .rb-slide:hover .rb-slide-widget { opacity: 1; transform: none; }
.rb-slide-widget-icon { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--primary-100); color: var(--rb-primary); }
.rb-slide-widget.is-warn .rb-slide-widget-icon { background: #fff1d6; color: #b45309; }
.rb-slide-widget.is-good .rb-slide-widget-icon { background: var(--rb-success-soft); color: var(--rb-success); }
.rb-slide-widget-text { display: grid; gap: 2px; min-width: 0; }
.rb-slide-widget-text small { font-size: 12.5px; color: var(--fg-muted); }
.rb-slide-widget-text b { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-slide-widget-text em { font-style: normal; font-size: 13px; font-weight: 600; margin-inline-start: 6px; padding: 2px 7px; border-radius: 99px; color: var(--rb-success); background: var(--rb-success-soft); }

/* progress under the track */
.rb-slides-progress { position: relative; display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.rb-slides-count { font: 500 14px/1 var(--font-head); color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.rb-slides-count b { font-weight: 600; color: var(--ink); }
.rb-slides-bar { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--rb-line); overflow: hidden; }
.rb-slides-bar i { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(100% / 6); border-radius: inherit; background: linear-gradient(90deg, var(--rb-primary), var(--rb-accent)); transition: width .4s var(--rb-ease); }

@media (max-width: 860px) {
  .rb-slider-nav { display: none; }
  .rb-slides { gap: 12px; }
  .rb-slide { flex-basis: calc(100vw - 2 * var(--rb-edge) - 28px); grid-template-columns: 1fr; grid-template-rows: auto 1fr; min-height: 0; }
  .rb-slide-visual { order: -1; margin: 10px 10px 0; aspect-ratio: 4 / 3; }
  .rb-slide-widget { inset-inline-start: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 9px 14px 9px 9px; gap: 10px; }
  .rb-slide-widget-icon { width: 32px; height: 32px; border-radius: 10px; }
  .rb-slide-widget-text b { font-size: 14px; }
  .rb-slides-progress { margin-top: 20px; }
  .rb-slide-copy { padding: 22px 22px 28px; }
  .rb-slide-icon { display: none; }
  .rb-slide-label { margin-top: 0; }
  .rb-slide h3 { font-size: 26px; }
  .rb-slide-copy > p:not(.rb-slide-label) { font-size: 16px; }
}


/* ---------- FAQ ---------- */
.rb-faq { background: #fff; }
.rb-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.rb-faq-intro { position: sticky; top: calc(var(--nav-h) + 32px); }

/* contact card */
.rb-faq-contact {
  width: 100%; max-width: 440px; margin-top: 36px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px 14px;
  padding: 22px; border-radius: 20px; background: #fff; border: 1px solid color-mix(in srgb, var(--rb-dark) 7%, transparent);
  box-shadow: 0 18px 40px -30px color-mix(in srgb, var(--rb-warm) 35%, transparent);
}
.rb-faq-contact-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-100); color: var(--primary); }
.rb-faq-contact-text { display: grid; gap: 2px; }
.rb-faq-contact-text b { font-family: var(--font-head); font-size: 18px; font-weight: 500; color: var(--ink); }
.rb-faq-contact-text span { font-size: 15px; color: var(--fg-muted); }
.rb-faq-contact .rb-btn { grid-column: 1 / -1; justify-self: start; }
.rb-faq-mail { grid-column: 1 / -1; margin-top: -8px; font-size: 14px; color: var(--fg-muted); }

/* question cards */
.rb-faq-list { display: grid; gap: 12px; }
.rb-qa {
  border: 1px solid color-mix(in srgb, var(--rb-dark) 7%, transparent); border-radius: 20px; background: #fff;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--rb-dark) 3%, transparent);
  transition: border-color .35s, box-shadow .45s var(--rb-ease);
}
.rb-qa:hover { border-color: color-mix(in srgb, var(--rb-dark) 14%, transparent); box-shadow: 0 12px 28px -20px color-mix(in srgb, var(--rb-warm) 35%, transparent); }
.rb-qa[open]:not(.is-closing) { border-color: color-mix(in srgb, var(--rb-primary) 18%, transparent); box-shadow: 0 24px 50px -32px color-mix(in srgb, var(--rb-warm) 50%, transparent), 0 2px 6px -2px color-mix(in srgb, var(--rb-warm) 6%, transparent); }
.rb-qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px;
  padding-block: 22px; padding-inline: 26px 22px; border-radius: 20px; -webkit-tap-highlight-color: transparent;
}
.rb-qa summary::-webkit-details-marker { display: none; }
.rb-qa-num { flex: none; width: 28px; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--primary); font-variant-numeric: tabular-nums; }
.rb-qa-q { flex: 1; min-width: 0; font-family: var(--font-head); font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.35; color: var(--ink); }
/* plus that spins into a minus */
.rb-qa-icon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--rb-cream) 97%, var(--rb-dark)); transition: background .35s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.rb-qa-icon::before, .rb-qa-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--ink);
  transform: translate(-50%, -50%); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), background .35s;
}
.rb-qa-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.rb-qa summary:hover .rb-qa-icon { background: color-mix(in srgb, var(--rb-cream) 92.5%, var(--rb-dark)); }
.rb-qa[open]:not(.is-closing) .rb-qa-icon { background: var(--primary); transform: rotate(180deg); }
.rb-qa[open]:not(.is-closing) .rb-qa-icon::before, .rb-qa[open]:not(.is-closing) .rb-qa-icon::after { background: #fff; }
.rb-qa[open]:not(.is-closing) .rb-qa-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
/* answer: aligned with the question text, glides in while the card grows */
.rb-qa-body { padding-block: 0 26px; padding-inline: calc(26px + 28px + 18px) 80px; }
.rb-qa-body p { margin: 0; max-width: 38em; font-size: 17px; line-height: 1.65; color: var(--fg-muted); }
.rb-qa.is-opening .rb-qa-body > * { animation: rb-qa-text .5s var(--rb-ease) .06s both; }
.rb-qa.is-closing .rb-qa-body > * { opacity: 0; transform: translateY(-4px); transition: opacity .18s ease, transform .3s ease; }
@keyframes rb-qa-text { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* cards rise one after another when the list comes into view */
.rb-faq-list .rb-qa { opacity: 0; transform: translateY(16px); }
.rb-faq-list.visible .rb-qa { animation: rb-qa-rise .7s var(--rb-ease) both; animation-delay: calc(var(--i, 0) * 70ms + 80ms); }
@keyframes rb-qa-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* the reveal clip-path must not cut the card shadows */
.rb-faq-list.reveal.visible, .rb-faq-contact.reveal.visible { clip-path: inset(-40px -40px -64px -40px); }

/* FAQ on smaller screens */
@media (max-width: 960px) {
  .rb-faq-grid { grid-template-columns: 1fr; }
  .rb-faq-intro { position: static; }
}

/* ==========================================================================
   Hero. Large screens: the photo fills the hero, the headline sits on its
   shaded side and a live stack of service notifications runs on the other.
   Phones: the message and the button come first, then the photo as a
   full-width band with one live notification on it, then the key numbers.
   ========================================================================== */
.rb-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: min(960px, 100svh);
  padding: calc(var(--nav-h) + clamp(48px, 6vw, 96px)) 0 clamp(72px, 8vw, 116px);
  border-radius: 0 0 40px 40px; background: var(--rb-dark); color: #fff;
}
.rb-hero-stage { position: absolute; inset: 0; z-index: -1; }
.rb-hero-media { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.rb-hero-media img {
  --flip: 1;
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 66% 40%;
  transform: scaleX(var(--flip)) scale(1.04); animation: rb-kenburns 22s cubic-bezier(.2, .6, .2, 1) both;
}
html[dir="rtl"] .rb-hero-media img { --flip: -1; }
@keyframes rb-kenburns { from { transform: scaleX(var(--flip)) scale(1.13); } to { transform: scaleX(var(--flip)) scale(1.04); } }
.rb-hero-stage::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--rb-dark-deep) 96%, transparent) 0%, color-mix(in srgb, var(--rb-dark-deep) 90%, transparent) 34%, color-mix(in srgb, var(--rb-dark-deep) 64%, transparent) 50%, color-mix(in srgb, var(--rb-dark-deep) 16%, transparent) 68%, color-mix(in srgb, var(--rb-dark-deep) 0%, transparent) 84%),
    linear-gradient(0deg, color-mix(in srgb, var(--rb-dark-deep) 72%, transparent) 0%, color-mix(in srgb, var(--rb-dark-deep) 0%, transparent) 32%),
    linear-gradient(180deg, color-mix(in srgb, var(--rb-dark-deep) 45%, transparent) 0%, color-mix(in srgb, var(--rb-dark-deep) 0%, transparent) 22%);
}
html[dir="rtl"] .rb-hero-stage::after {
  background:
    linear-gradient(270deg, color-mix(in srgb, var(--rb-dark-deep) 96%, transparent) 0%, color-mix(in srgb, var(--rb-dark-deep) 90%, transparent) 34%, color-mix(in srgb, var(--rb-dark-deep) 64%, transparent) 50%, color-mix(in srgb, var(--rb-dark-deep) 16%, transparent) 68%, color-mix(in srgb, var(--rb-dark-deep) 0%, transparent) 84%),
    linear-gradient(0deg, color-mix(in srgb, var(--rb-dark-deep) 72%, transparent) 0%, color-mix(in srgb, var(--rb-dark-deep) 0%, transparent) 32%),
    linear-gradient(180deg, color-mix(in srgb, var(--rb-dark-deep) 45%, transparent) 0%, color-mix(in srgb, var(--rb-dark-deep) 0%, transparent) 22%);
}

.rb-hero-inner { position: relative; width: 100%; }
.rb-hero-copy { max-width: 740px; }
.rb-hero-copy .rb-lead { max-width: 32em; }

.rb-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px; padding: 5px 14px 5px 5px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.1); color: #fff;
  font-size: 15px; font-weight: 500; text-decoration: none; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .25s ease, border-color .25s ease;
}
html[dir="rtl"] .rb-pill { padding: 5px 5px 5px 14px; }
.rb-pill:hover { color: #fff; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.34); }
.rb-pill:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 50%, transparent); outline-offset: 3px; }
.rb-pill-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 600; }
.rb-pill svg { transition: transform .3s var(--rb-ease); }
.rb-pill:hover svg { transform: translateX(3px); }
html[dir="rtl"] .rb-pill:hover svg { transform: scaleX(-1) translateX(3px); }

.rb-hero .rb-display { font-size: clamp(50px, 5.2vw, 78px); line-height: 1; color: #fff; text-wrap: balance; padding-bottom: .08em; }
html[dir="rtl"] .rb-hero .rb-display { line-height: 1.25; }
.rb-hero .rb-display.reveal.visible { clip-path: none; }
.rb-hero .rb-display em {
  color: var(--rb-accent); padding-bottom: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: no-repeat left bottom / 100% .16em
    var(--rb-underline, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13c40-7 92-10 146-8 50 2 98 4 148-1' fill='none' stroke='%23ff3b30' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M18 17c52-5 120-6 190-3' fill='none' stroke='%23ff3b30' stroke-width='3' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E"));
}
.rb-hero .rb-lead { margin-top: 26px; max-width: 32em; font-size: 20px; line-height: 1.5; color: rgba(255,255,255,.78); }
.rb-hero-actions { margin-top: 38px; }
.rb-hero-stats { list-style: none; display: flex; max-width: 560px; margin: 52px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.16); }
.rb-hero-stats li { flex: 1; display: grid; gap: 7px; padding-inline: 24px; border-inline-start: 1px solid rgba(255,255,255,.16); }
.rb-hero-stats li:first-child { padding-inline-start: 0; border-inline-start: 0; }
.rb-hero-stats strong { font-family: var(--font-head); font-size: 34px; font-weight: 400; line-height: 1; color: #fff; white-space: nowrap; }
.rb-hero-stats li:first-child { flex: 1.4; }
.rb-hero-stats li:first-child strong { color: var(--rb-accent); }
.rb-hero-stats span { font-size: 15px; line-height: 1.3; color: rgba(255,255,255,.66); }

/* live notifications */
.rb-live {
  position: absolute; z-index: 2; width: 356px;
  inset-inline-end: max(var(--rb-gutter), calc((100vw - var(--rb-max)) / 2 + var(--rb-gutter)));
  bottom: clamp(72px, 12vh, 132px);
}
.rb-live-head {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 7px 12px 7px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--rb-dark) 55%, transparent); color: #fff; font-size: 13px; font-weight: 600; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
html[dir="rtl"] .rb-live-head { padding: 7px 10px 7px 12px; }
.rb-live-list {
  list-style: none; margin: 0; padding: 0; height: var(--rb-live-h, auto); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 44px), transparent);
}
.rb-live-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  margin: 0 0 10px; padding: 12px 14px 12px 12px; border-radius: 18px;
  background: rgba(255,255,255,.95); color: var(--ink);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.7);
}
html[dir="rtl"] .rb-live-card { padding: 12px 12px 12px 14px; }
.rb-live-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--rb-cream) 96%, var(--rb-dark)); color: var(--ink); }
.rb-live-card[data-tone="red"] .rb-live-icon { background: var(--primary-100); color: var(--primary); }
.rb-live-card[data-tone="green"] .rb-live-icon { background: var(--rb-success-soft); color: var(--rb-success); }
.rb-live-card[data-tone="amber"] .rb-live-icon { background: #fff1d6; color: #9a5b00; }
.rb-live-card[data-tone="blue"] .rb-live-icon { background: #e8eefc; color: #2c4fb8; }
.rb-live-text { display: grid; gap: 3px; min-width: 0; }
.rb-live-text b { overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.rb-live-text span { overflow: hidden; font-size: 13px; line-height: 1.3; color: var(--fg-muted); text-overflow: ellipsis; white-space: nowrap; }
.rb-live-card time { align-self: start; padding-top: 2px; font-size: 12px; color: var(--fg-muted); font-variant-numeric: tabular-nums; }

/* tablets: the photo and the headline only */
@media (min-width: 769px) and (max-width: 1199px) {
  .rb-live { display: none; }
  .rb-hero-copy { max-width: 640px; }
}

/* phones: the message first (label, headline, text, button), then the photo as a full-width band that fades in from
   the dark background with one live notification on it, then the key numbers */
@media (max-width: 768px) {
  .rb-hero {
    display: flex; flex-direction: column; align-items: stretch; min-height: 0;
    padding: calc(var(--nav-h) + 22px) 0 30px; border-radius: 0 0 28px 28px;
    background: radial-gradient(130% 46% at 50% 0%, color-mix(in srgb, var(--rb-primary) 15%, transparent), color-mix(in srgb, var(--rb-primary) 0%, transparent) 62%), var(--rb-dark);
  }
  /* the copy's parts become rows of the hero, so the photo can sit between the button and the numbers */
  .rb-hero-inner, .rb-hero-copy { display: contents; }
  .rb-hero-copy > * { margin-inline: var(--rb-gutter); }
  .rb-pill { order: 1; align-self: flex-start; }
  .rb-hero .rb-display { order: 2; }
  .rb-hero .rb-lead { order: 3; }
  .rb-hero-actions { order: 4; }
  .rb-hero-stage { order: 5; }
  .rb-hero-stats { order: 6; }

  .rb-pill { margin-bottom: 20px; padding: 4px 12px 4px 4px; font-size: 14px; }
  html[dir="rtl"] .rb-pill { padding: 4px 4px 4px 12px; }
  .rb-hero .rb-display { font-size: clamp(38px, 10.6vw, 48px); line-height: 1.04; }
  /* French: "une seule plateforme" stays on one line under the break */
  html[lang="fr"] .rb-hero .rb-display { font-size: min(9.4vw, 46px); }
  html[dir="rtl"] .rb-hero .rb-display { line-height: 1.3; }
  .rb-hero .rb-lead { margin-top: 16px; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.76); }
  .rb-hero-actions { margin-top: 26px; }

  /* the photo band */
  .rb-hero-stage { position: relative; inset: auto; z-index: 0; height: clamp(300px, 92vw, 460px); margin-top: 8px; border-radius: 0; }
  .rb-hero-media { border-radius: 0; }
  .rb-hero-media img, html[dir="rtl"] .rb-hero-media img { --flip: 1; object-position: 50% 42%; animation-duration: 16s; }
  .rb-hero-stage::after, html[dir="rtl"] .rb-hero-stage::after {
    border-radius: 0;
    background: linear-gradient(180deg, var(--rb-dark) 0%, color-mix(in srgb, var(--rb-dark) 0%, transparent) 24%, color-mix(in srgb, var(--rb-dark) 0%, transparent) 56%, var(--rb-dark) 100%);
  }
  .rb-live { inset-inline: var(--rb-gutter); bottom: 18px; width: auto; max-width: 400px; }
  .rb-live-head { margin-bottom: 10px; }
  .rb-live-list { display: grid; height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .rb-live-card { grid-area: 1 / 1; margin: 0; box-shadow: 0 20px 40px -18px rgba(0,0,0,.75); }
  .rb-live-card:not(:first-child) { visibility: hidden; }

  .rb-hero-stats { max-width: none; margin-top: 8px; padding-top: 22px; }
  .rb-hero-stats li { padding-inline: 12px; gap: 5px; }
  .rb-hero-stats strong { font-size: 24px; font-weight: 500; }
  .rb-hero-stats span { font-size: 13px; }

  /* one red button at a time: the bar's button waits until the hero's has scrolled away */
  .rb-nav-cta { transition: opacity .3s ease, visibility .3s ease, transform .35s var(--rb-ease), background-color .25s ease, box-shadow .35s var(--rb-ease); }
  #main-nav.rb-hero-cta-in-view .rb-nav-cta { opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none; }
}
/* large phones and small tablets held upright: a bigger headline and the two buttons side by side */
@media (min-width: 561px) and (max-width: 768px) {
  .rb-hero .rb-display, html[lang="fr"] .rb-hero .rb-display { font-size: clamp(48px, 8.2vw, 62px); }
  .rb-hero .rb-lead { max-width: 30em; font-size: 18px; }
  .rb-hero-actions .rb-btn { width: auto; }
}
/* phones: the trial button runs the full width and the second action becomes a text link under it */
@media (max-width: 560px) {
  .rb-hero-actions { flex-direction: column; align-items: stretch; gap: 2px; }
  .rb-hero-actions .rb-btn-primary { width: 100%; }
  .rb-hero-actions .rb-hero-secondary {
    width: auto; align-self: center; height: 46px; padding: 0 10px; border: 0; background: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 16px; color: rgba(255,255,255,.9);
  }
  .rb-hero-actions .rb-hero-secondary:hover { background: none; color: #fff; transform: none; }
  .rb-hero-actions .rb-hero-secondary span { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-hero-media img { animation: none; }
}

/* ==========================================================================
   AI menu assistant (section #how): light stage, agent conversation demo
   ========================================================================== */
/* a dark rounded block like the hero and footer: the dark background sits on .rb-ai-bg, and the section behind
   it takes the colours of the sections above (platform, cream) and below (ordering page, white) so the corners blend */
.rb-ai-section {
  position: relative; overflow: hidden; isolation: isolate; padding: var(--rb-section) 0; color: #fff;
  --rb-ai-radius: 40px;
  background: linear-gradient(var(--rb-cream) 50%, #fff 50%);
}
/* backdrop: a single still glow in the primary colour behind the demo, and a faint grid */
.rb-ai-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; border-radius: var(--rb-ai-radius); background: color-mix(in srgb, var(--rb-dark) 92%, #000); }
@media (max-width: 768px) { .rb-ai-section { --rb-ai-radius: 28px; } }
.rb-ai-glow {
  position: absolute; inset: 0;
  background: radial-gradient(55% 45% at 30% 60%, color-mix(in srgb, var(--rb-primary) 16%, transparent), transparent 70%);
}
.rb-ai-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(color-mix(in srgb, #fff 4%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, #fff 4%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask: radial-gradient(70% 60% at 50% 45%, #000 0%, transparent 75%); mask: radial-gradient(70% 60% at 50% 45%, #000 0%, transparent 75%);
}

/* the "15 minutes" highlight in the accent colour */
.rb-ai-section .rb-title em { color: var(--rb-accent); }
.rb-ai-section .rb-container { position: relative; }
.rb-ai-spark {
  width: 18px; height: 18px; flex: none; display: inline-block;
  background: conic-gradient(from 200deg, var(--rb-primary), #ff7a4d, #ffb199, #b58cff, var(--rb-primary));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.3 6.6 6.7 2.4-6.7 2.4L12 19.5l-2.3-6.6-6.7-2.4 6.7-2.4z M19 15l.9 2.6 2.6.9-2.6.9L19 22l-.9-2.6-2.6-.9 2.6-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l2.3 6.6 6.7 2.4-6.7 2.4L12 19.5l-2.3-6.6-6.7-2.4 6.7-2.4z M19 15l.9 2.6 2.6.9-2.6.9L19 22l-.9-2.6-2.6-.9 2.6-.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rb-ai-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }

/* ---- agent window ---- */
.rb-agent { position: relative; min-width: 0; isolation: isolate; }
.rb-agent-win {
  display: flex; flex-direction: column; min-width: 0; border-radius: 28px; overflow: hidden;
  color: var(--ink); background: #fff; border: 1px solid color-mix(in srgb, #fff 14%, transparent);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.7);
}
/* sparkle on the start side, title centred in the window */
.rb-agent-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #f1ece7; }
.rb-agent-mode { font-size: 15px; font-weight: 500; color: var(--ink); }
.rb-agent-status { justify-self: end; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--fg-muted); white-space: nowrap; }
.rb-agent-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--rb-success-bright); box-shadow: 0 0 0 0 color-mix(in srgb, var(--rb-success-bright) 60%, transparent); animation: rb-live-ping 1.8s ease-out infinite; }
@keyframes rb-live-ping { 70%, 100% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--rb-success-bright) 0%, transparent); } }
.rb-agent-scroll { height: 440px; overflow: hidden; scroll-behavior: smooth; }
.rb-agent-feed { display: flex; flex-direction: column; gap: 18px; padding: 22px 22px 26px; font-size: 15px; line-height: 1.55; color: var(--ink); }
.rb-agent-feed [data-show] { display: none; }
.rb-agent-feed [data-show].is-shown { display: block; animation: rb-msg-in .45s var(--rb-ease) both; }
.rb-agent-feed li[data-show].is-shown { display: list-item; }
@keyframes rb-msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rb-agent-text { margin: 0; }
.rb-agent-text p { margin: 0; }
.rb-agent-text ul { margin: 8px 0 10px; padding-inline-start: 20px; display: grid; gap: 6px; }
.rb-agent-heading { font-weight: 600; margin-bottom: 4px !important; }
.rb-agent-user {
  align-self: flex-end; max-width: 82%; margin: 0; padding: 12px 16px; border-radius: 18px 18px 6px 18px;
  background: #f3efea; color: var(--ink); font-size: 14.5px; line-height: 1.5; word-break: break-word;
}
html[dir="rtl"] .rb-agent-user { border-radius: 18px 18px 18px 6px; }
/* Arabic: taller lines for the taller script, the body font instead of the monospace one (it has no Arabic
   letters), and slightly larger small labels */
html[dir="rtl"] .rb-agent-feed { line-height: 1.85; }
html[dir="rtl"] .rb-agent-user { line-height: 1.75; }
html[dir="rtl"] .rb-agent-user-short { line-height: 1.4; }
html[dir="rtl"] .rb-agent-text ul { gap: 4px; }
html[dir="rtl"] .rb-agent-think-label, html[dir="rtl"] .rb-agent-think ul { font-family: var(--font-body); }
html[dir="rtl"] .rb-agent-think ul { font-size: 13.5px; line-height: 1.7; }
html[dir="rtl"] .rb-agent-sources span, html[dir="rtl"] .rb-agent-status { font-size: 13px; }
html[dir="rtl"] .rb-ai-steps small { line-height: 1.7; }
html[dir="rtl"] .rb-ai-steps b { line-height: 1.4; }
/* prices and links read left to right inside the Arabic text */
.rb-agent-row span:last-child { unicode-bidi: isolate; }
/* the step ring fills counter-clockwise in Arabic, mirroring the reading direction */
html[dir="rtl"] .rb-ai-num svg { transform: rotate(-90deg) scaleY(-1); }
.rb-agent-user u { text-decoration: none; color: var(--primary-700); direction: ltr; unicode-bidi: isolate; }
.rb-agent-user-short { padding: 10px 18px; }
.rb-agent-think-head { display: flex; align-items: center; gap: 10px; margin: 0; }
.rb-agent-orb { width: 18px; height: 18px; border-radius: 50%; flex: none; background: conic-gradient(from 0deg, var(--rb-primary), color-mix(in srgb, var(--rb-accent) 58%, #fff), #c9b7ff, var(--rb-primary)); -webkit-mask: radial-gradient(circle, transparent 5px, #000 5.5px); mask: radial-gradient(circle, transparent 5px, #000 5.5px); animation: rb-spin 1.1s linear infinite; }
@keyframes rb-spin { to { transform: rotate(360deg); } }
.rb-agent-think-label { font: 500 14px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; background: linear-gradient(90deg, var(--rb-primary), color-mix(in srgb, var(--rb-accent) 65%, #fff), #9b7cff, var(--rb-primary)) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rb-shine 2.4s linear infinite; }
@keyframes rb-shine { to { background-position: -300% 0; } }
.rb-agent-think.is-finished .rb-agent-orb { animation: none; background: #22a36a; -webkit-mask: none; mask: none; position: relative; }
.rb-agent-think.is-finished .rb-agent-orb::after { content: ""; position: absolute; left: 6.5px; top: 4px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rb-agent-think.is-finished .rb-agent-think-label { animation: none; background: none; color: var(--fg-muted); }
.rb-agent-think ul { margin: 8px 0 0; padding-inline-start: 38px; display: grid; gap: 4px; font: 400 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--fg-muted); }

.rb-agent-card { border-radius: 16px; background: var(--primary-50); border: 1px solid color-mix(in srgb, var(--rb-accent) 22%, #fff); padding: 14px; }
.rb-agent-card-title { display: flex; align-items: center; gap: 10px; margin: 2px 4px 12px; font-weight: 600; font-size: 16px; }
.rb-agent-card-icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--primary); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--rb-accent) 22%, #fff); }
.rb-agent-table { background: #fff; border-radius: 12px; border: 1px solid #f1e3dd; overflow: hidden; }
.rb-agent-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; font-size: 14px; }
.rb-agent-row + .rb-agent-row { border-top: 1px solid #f4ece8; }
.rb-agent-row-head { font-weight: 600; font-size: 13px; color: var(--ink); background: #fffaf8; }
.rb-agent-row span:first-child { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-agent-row img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; flex: none; }
.rb-agent-row span:nth-child(2) { color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-agent-row span:last-child { text-align: end; font-weight: 500; white-space: nowrap; }
.rb-agent-publish { margin: 12px 0 0; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 15px; font-weight: 600; background: var(--primary); color: #fff; transition: background .4s, color .4s; }
.rb-agent-publish-done { display: none; align-items: center; gap: 8px; }
.rb-agent-publish.is-done { background: #fde3dc; color: var(--primary-700); }
.rb-agent-publish.is-done .rb-agent-publish-idle { display: none; }
.rb-agent-publish.is-done .rb-agent-publish-done { display: inline-flex; }

.rb-agent-composer { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 8px 8px 8px 16px; border-radius: 16px; border: 1px solid #ebe4dd; background: #fff; box-shadow: 0 1px 2px color-mix(in srgb, var(--rb-dark) 4%, transparent); }
html[dir="rtl"] .rb-agent-composer { padding: 8px 16px 8px 8px; }
.rb-agent-input { flex: 1; min-width: 0; display: flex; align-items: center; overflow: hidden; white-space: nowrap; font-size: 14.5px; color: var(--ink); }
.rb-agent-typed { direction: ltr; unicode-bidi: isolate; }
.rb-agent-ph { color: var(--fg-subtle); }
.rb-agent-input.has-text .rb-agent-ph { display: none; }
.rb-ai-caret { display: inline-block; width: 1.5px; height: 18px; margin-inline: 1px 4px; vertical-align: -4px; background: var(--primary); animation: rb-blink 1s steps(1) infinite; }
@keyframes rb-blink { 50% { opacity: 0; } }
.rb-agent-send { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; background: #efe9e3; color: var(--fg-subtle); transition: background .25s, color .25s, transform .2s; }
.rb-agent-input.has-text + .rb-agent-send { background: var(--primary); color: #fff; }
.rb-agent-send.is-pressed { transform: scale(.88); }

/* ---- chat polish: assistant avatar, live checklist, gradient user bubbles, staggered results ---- */
.rb-agent-avatar {
  position: relative; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #fff, color-mix(in srgb, var(--rb-accent) 18%, #fff) 60%, color-mix(in srgb, #9b7bff 25%, #fff));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--rb-accent) 25%, #fff), 0 6px 16px -6px color-mix(in srgb, var(--rb-primary) 60%, transparent);
}
.rb-agent-avatar .rb-ai-spark { width: 16px; height: 16px; }
.rb-agent-top { background: linear-gradient(180deg, color-mix(in srgb, var(--rb-accent) 5%, #fff), #fff); }
/* assistant turns sit next to a small avatar */
.rb-agent-feed > .rb-agent-text:first-child, .rb-agent-think, .rb-agent-card { position: relative; margin-inline-start: 36px; }
.rb-agent-feed > .rb-agent-text, .rb-agent-feed > [data-show="3"] { margin-inline-start: 36px; }
.rb-agent-feed > .rb-agent-text:first-child::before, .rb-agent-think::before, .rb-agent-card::before {
  content: ""; position: absolute; inset-inline-start: -36px; top: 0; width: 26px; height: 26px; border-radius: 50%;
  background: conic-gradient(from 200deg, var(--rb-primary), var(--rb-accent), #b58cff, var(--rb-primary));
  box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--rb-primary) 70%, transparent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='13'/%3E%3C/svg%3E") center / contain no-repeat;
}
.rb-agent-user {
  background: linear-gradient(135deg, var(--rb-primary), color-mix(in srgb, var(--rb-primary) 55%, #7c5cff)); color: #fff;
  box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--rb-primary) 80%, transparent);
}
.rb-agent-user u { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 3px; }
/* thinking: a progress bar and a spinner on the running line, a check on finished ones */
.rb-agent-think { padding: 12px 14px 14px; border-radius: 14px; background: color-mix(in srgb, var(--rb-accent) 5%, #fff); border: 1px solid color-mix(in srgb, var(--rb-accent) 14%, #fff); }
.rb-agent-bar { display: block; height: 3px; margin: 10px 0 2px; border-radius: 3px; background: color-mix(in srgb, var(--rb-accent) 14%, #fff); overflow: hidden; }
.rb-agent-bar i { display: block; height: 100%; width: 8%; border-radius: inherit; background: linear-gradient(90deg, var(--rb-primary), var(--rb-accent), #9b7bff); transition: width .7s var(--rb-ease); }
.rb-agent-think:has([data-show="2a"].is-shown) .rb-agent-bar i { width: 36%; }
.rb-agent-think:has([data-show="2b"].is-shown) .rb-agent-bar i { width: 66%; }
.rb-agent-think:has([data-show="2c"].is-shown) .rb-agent-bar i { width: 88%; }
.rb-agent-think.is-finished .rb-agent-bar i { width: 100%; background: var(--rb-success-bright); }
.rb-agent-think ul { list-style: none; padding-inline-start: 0; margin-top: 10px; gap: 7px; }
.rb-agent-think li, .rb-agent-feed .rb-agent-think li[data-show].is-shown { display: flex; align-items: center; gap: 9px; }
.rb-agent-think li::before {
  content: ""; width: 12px; height: 12px; flex: none; border-radius: 50%;
  border: 1.6px solid color-mix(in srgb, var(--rb-accent) 30%, #fff); border-top-color: var(--rb-primary); animation: rb-spin .8s linear infinite;
}
.rb-agent-think li.is-shown:has(+ li.is-shown)::before, .rb-agent-think.is-finished li::before {
  animation: none; border: 0; background: var(--rb-success-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.rb-agent-think.is-finished li { color: var(--ink); }
/* results: the card lights up and its rows arrive one by one */
.rb-agent-table { position: relative; }
.rb-agent-card.is-shown .rb-agent-table::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, color-mix(in srgb, #fff 70%, transparent) 48%, transparent 66%);
  transform: translateX(-100%); animation: rb-sweep 1.4s .5s ease-out both;
}
@keyframes rb-sweep { to { transform: translateX(100%); } }
.rb-agent-card::before { inset-inline-start: -36px; }
.rb-agent-card.is-shown .rb-agent-row:not(.rb-agent-row-head) { animation: rb-msg-in .45s var(--rb-ease) both; }
.rb-agent-card.is-shown .rb-agent-row:nth-child(2) { animation-delay: .25s; }
.rb-agent-card.is-shown .rb-agent-row:nth-child(3) { animation-delay: .45s; }
.rb-agent-card.is-shown .rb-agent-row:nth-child(4) { animation-delay: .65s; }
.rb-agent-publish { background: linear-gradient(90deg, var(--rb-primary), color-mix(in srgb, var(--rb-primary) 60%, #7c5cff)); box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--rb-primary) 80%, transparent); }
.rb-agent-publish.is-done { box-shadow: none; }
/* the ways to send a menu, under the greeting; the one used in the current loop is highlighted */
.rb-agent-text .rb-agent-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.rb-agent-sources span {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  background: #f6f2ee; color: var(--fg-muted); border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s;
}
.rb-agent-sources span.is-active { background: var(--primary-50); color: var(--primary-700); border-color: color-mix(in srgb, var(--rb-primary) 30%, #fff); }
/* the photo sent in the user's message */
.rb-agent-file { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.18); font-size: 13.5px; direction: ltr; unicode-bidi: isolate; }
.rb-agent-file[hidden], .rb-agent-user u[hidden] { display: none; }
.rb-agent-user:has(.rb-agent-file:not([hidden])) > span:first-child { display: block; }
/* composer: attach button, glowing ring while the agent types */
.rb-agent-attach { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--fg-subtle); transition: background .2s, color .2s, transform .2s; }
.rb-agent-attach.is-pressed { background: var(--primary-50); color: var(--primary-700); transform: scale(.9); }
.rb-agent-composer { padding-inline-start: 8px; transition: box-shadow .3s, border-color .3s; }
html[dir="rtl"] .rb-agent-composer { padding-inline: 8px; }
.rb-agent-composer:has(.has-text) { border-color: color-mix(in srgb, var(--rb-primary) 45%, #fff); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rb-primary) 12%, transparent), 0 10px 26px -14px color-mix(in srgb, var(--rb-primary) 60%, transparent); }
.rb-agent-input.has-text + .rb-agent-send { background: linear-gradient(135deg, var(--rb-primary), color-mix(in srgb, var(--rb-primary) 55%, #7c5cff)); }
@media (max-width: 640px) {
  .rb-agent-feed > .rb-agent-text:first-child, .rb-agent-think, .rb-agent-card, .rb-agent-feed > .rb-agent-text, .rb-agent-feed > [data-show="3"] { margin-inline-start: 30px; }
  .rb-agent-feed > .rb-agent-text:first-child::before, .rb-agent-think::before, .rb-agent-card::before { inset-inline-start: -30px; width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-agent-think li::before, .rb-agent-card.is-shown .rb-agent-table::after, .rb-agent-card.is-shown .rb-agent-row { animation: none !important; }
}

/* ---- synced steps ---- */
.rb-ai-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rb-ai-steps button {
  width: 100%; display: flex; align-items: flex-start; gap: 18px; padding: 16px 18px; border-radius: 18px; text-align: start;
  background: transparent; border: 1px solid transparent; color: var(--ink); cursor: pointer; font: inherit; transition: background .3s, border-color .3s, box-shadow .3s;
}
.rb-ai-steps button:hover { background: color-mix(in srgb, #fff 6%, transparent); }
.rb-ai-steps button:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 2px; }
.rb-ai-steps button > span:last-child { display: grid; gap: 4px; padding-top: 9px; }
.rb-ai-steps b { font-family: var(--font-head); font-size: 22px; font-weight: 400; line-height: 1.2; color: rgba(255,255,255,.5); transition: color .3s; }
.rb-ai-steps small { display: none; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.7); }
.rb-ai-num { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.rb-ai-num svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.rb-ai-num circle { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 2; stroke-dasharray: 113.1; stroke-dashoffset: 0; }
.rb-ai-num i { font-style: normal; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.55); position: relative; }
.rb-ai-steps button.is-active { background: color-mix(in srgb, #fff 8%, transparent); border-color: color-mix(in srgb, #fff 14%, transparent); box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rb-ai-steps button.is-active b, .rb-ai-steps button.is-done b { color: #fff; }
.rb-ai-steps button.is-active small { display: block; }
.rb-ai-steps button.is-active i { color: var(--rb-accent); }
.rb-ai-steps button.is-active circle { stroke: var(--rb-accent); animation: rb-ring var(--rb-ai-step, 3s) linear forwards; }
@keyframes rb-ring { from { stroke-dashoffset: 113.1; } to { stroke-dashoffset: 0; } }
.rb-ai-steps button.is-done .rb-ai-num { background: var(--primary); border-radius: 50%; }
.rb-ai-steps button.is-done circle { stroke: var(--primary); }
.rb-ai-steps button.is-done i { color: #fff; }
.rb-ai-cta { margin-top: 26px; padding-inline-start: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.rb-ai-cta p { margin: 0; font-size: 15px; color: rgba(255,255,255,.7); }

@media (prefers-reduced-motion: reduce) {
  .rb-agent-status i { animation: none !important; }
}

@media (max-width: 960px) {
  .rb-ai-grid { grid-template-columns: minmax(0, 1fr); }
  .rb-ai-side { order: -1; }
}
@media (max-width: 640px) {
  .rb-agent-scroll { height: 420px; }
  .rb-agent-feed { padding: 18px 16px 22px; font-size: 14.5px; }
  .rb-agent-row { grid-template-columns: minmax(0, 1fr) auto; }
  .rb-agent-row span:nth-child(2) { display: none; }
  .rb-ai-steps button { padding: 12px 10px; gap: 14px; }
  .rb-ai-steps b { font-size: 19px; }
  .rb-ai-cta { padding-inline-start: 0; }
  .rb-ai-cta .rb-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-agent-orb, .rb-agent-think-label, .rb-ai-caret { animation: none; }
  .rb-agent-feed [data-show].is-shown { animation: none; }
  .rb-ai-steps button.is-active circle { animation: none; stroke-dashoffset: 0; }
}
/* polish: site font for the reasoning trace, soft fade where older messages scroll away */
.rb-agent-think-label { font: 600 14px/1.2 var(--font-body); }
.rb-agent-think ul { font: 400 13.5px/1.55 var(--font-body); }
.rb-agent-scroll { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28px); mask-image: linear-gradient(180deg, transparent 0, #000 28px); }

/* ==========================================================================
   Ordering page (section #ordering-page): one device whose screens slide in
   turn like app navigation, synced with the list next to it
   ========================================================================== */
.rb-store { background: #fff; }
.rb-store-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto auto auto 1fr;
  grid-template-areas: ". stage" "head stage" "flow stage" "cta stage" ". stage";
  column-gap: clamp(40px, 6vw, 96px);
}
.rb-store-head { grid-area: head; }

/* ---- synced list ---- */
.rb-flow { grid-area: flow; list-style: none; margin: 36px 0 34px; padding: 0; display: grid; gap: 6px; }
.rb-flow-item {
  position: relative; overflow: hidden; width: 100%; display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px 20px; border-radius: 18px; border: 1px solid transparent; background: transparent;
  text-align: start; font: inherit; color: var(--ink); cursor: pointer;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.rb-flow-item:hover { background: var(--rb-cream); }
.rb-flow-item.is-active { background: #fff; border-color: var(--rb-line); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--rb-warm) 35%, transparent), 0 2px 6px -2px color-mix(in srgb, var(--rb-warm) 8%, transparent); }
.rb-flow-item:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 2px; }
.rb-flow-icon { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--rb-cream-2); color: var(--fg-subtle); transition: background .35s, color .35s; }
.rb-flow-item.is-active .rb-flow-icon { background: var(--primary-100); color: var(--primary); }
.rb-flow-text { display: grid; gap: 4px; padding-top: 2px; }
.rb-flow-text b { font-family: var(--font-head); font-size: 20px; font-weight: 500; line-height: 1.25; color: var(--fg-muted); transition: color .35s; }
.rb-flow-text small { font-size: 15.5px; line-height: 1.45; color: var(--fg-subtle); transition: color .35s; }
.rb-flow-item.is-active .rb-flow-text b { color: var(--ink); }
.rb-flow-item.is-active .rb-flow-text small { color: var(--fg-muted); }
.rb-flow-bar { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; border-radius: 2px; background: color-mix(in srgb, var(--rb-primary) 10%, transparent); opacity: 0; transition: opacity .35s; }
.rb-flow-item.is-active .rb-flow-bar { opacity: 1; }
.rb-flow-bar i { display: block; height: 100%; border-radius: inherit; background: var(--primary); transform: scaleX(0); transform-origin: left center; }
html[dir="rtl"] .rb-flow-bar i { transform-origin: right center; }
/* the bar is the timer: when it fills, the script moves to the next screen */
.rb-flow-item.is-active .rb-flow-bar i { animation: rb-flow-fill var(--rb-flow-dur, 4800ms) linear forwards; animation-play-state: paused; }
.rb-store.is-running .rb-flow-item.is-active .rb-flow-bar i { animation-play-state: running; }
.rb-store.is-held .rb-flow-item.is-active .rb-flow-bar i,
.rb-flow:has(.rb-flow-item:focus-visible) .rb-flow-item.is-active .rb-flow-bar i { animation-play-state: paused; }
@keyframes rb-flow-fill { to { transform: scaleX(1); } }

.rb-store-cta { grid-area: cta; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.rb-store-cta p { margin: 0; font-size: 15px; color: var(--fg-muted); }

/* ---- stage ---- */
.rb-store-stage {
  grid-area: stage; position: relative; overflow: hidden; isolation: isolate; min-width: 0;
  display: grid; place-items: center; padding: clamp(44px, 5vw, 72px) 24px clamp(56px, 6vw, 84px);
  border-radius: 28px;
  /* the landing page's own light colours with a soft glow of the primary (all from the palette) */
  background:
    radial-gradient(52% 40% at 50% 44%, color-mix(in srgb, var(--rb-primary) 16%, transparent), transparent 72%),
    linear-gradient(180deg, var(--rb-cream) 0%, var(--rb-cream-2) 100%);
  box-shadow: inset 0 0 0 1px var(--rb-line);
}
.rb-store-stage::before, .rb-store-stage::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 47%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%); border: 1px solid color-mix(in srgb, var(--rb-primary) 9%, transparent); pointer-events: none;
}
.rb-store-stage::before { width: 76%; }
.rb-store-stage::after { width: 112%; border-color: color-mix(in srgb, var(--rb-primary) 5%, transparent); }

/* ---- device: sizes in cqw so every detail scales with the phone ---- */
.rb-device { position: relative; z-index: 0; width: clamp(250px, 23vw, 318px); container-type: inline-size; direction: ltr; }
.rb-device-shadow {
  position: absolute; z-index: -1; left: 10cqw; right: 10cqw; bottom: -7cqw; height: 14cqw; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--rb-dark) 35%, transparent), transparent); filter: blur(3cqw);
}
.rb-device-key { position: absolute; z-index: -1; width: 1.6cqw; border-radius: .7cqw; background: linear-gradient(90deg, color-mix(in srgb, var(--rb-primary) 40%, #000) 0%, var(--rb-primary) 45%, color-mix(in srgb, var(--rb-primary) 55%, #000) 100%); }
.rb-device-key--action { left: -1cqw; top: 19%; height: 6%; }
.rb-device-key--up { left: -1cqw; top: 28%; height: 10%; }
.rb-device-key--down { left: -1cqw; top: 40%; height: 10%; }
.rb-device-key--power { right: -1cqw; top: 31%; height: 15%; background: linear-gradient(270deg, color-mix(in srgb, var(--rb-primary) 40%, #000) 0%, var(--rb-primary) 45%, color-mix(in srgb, var(--rb-primary) 55%, #000) 100%); }
.rb-device-body {
  position: relative; padding: 1.3cqw; border-radius: 17.2cqw;
  /* the frame in the site's colours: the primary as the metal, deepened with the dark colour */
  --rb-metal: var(--rb-primary); --rb-metal-deep: color-mix(in srgb, var(--rb-primary) 45%, var(--rb-dark));
  background: linear-gradient(155deg, color-mix(in srgb, var(--rb-metal) 55%, #fff) 0%, var(--rb-metal) 7%, var(--rb-metal-deep) 24%, color-mix(in srgb, var(--rb-metal-deep) 80%, #000) 52%, var(--rb-metal-deep) 80%, var(--rb-metal) 93%, color-mix(in srgb, var(--rb-metal) 55%, #fff) 100%);
  box-shadow:
    inset 0 0 0 .22cqw rgba(255,255,255,.14),
    inset 0 .5cqw .7cqw rgba(255,255,255,.12),
    0 0 0 .18cqw #09090b,
    0 2cqw 4cqw -1cqw color-mix(in srgb, var(--rb-primary) 30%, transparent),
    0 12cqw 24cqw -8cqw color-mix(in srgb, var(--rb-dark) 45%, transparent);
}
.rb-device-bezel { padding: 2.6cqw; border-radius: 15.9cqw; background: #020203; box-shadow: inset 0 0 0 .3cqw #141417; }
.rb-device-screen {
  --rb-push: 720ms; --rb-ease: cubic-bezier(.32, .72, 0, 1);
  position: relative; aspect-ratio: 900 / 1915; border-radius: 13.3cqw; overflow: hidden; clip-path: inset(0 round 13.3cqw);
  background: #fff; isolation: isolate;
}
.rb-device-slide { position: absolute; inset: 0; display: block; will-change: transform; transition: transform var(--rb-push) var(--rb-ease), visibility 0s; }
.rb-device-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rb-device-slide::after { content: ""; position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; transition: opacity var(--rb-push) var(--rb-ease); }
/* push: the next page slides in from the right over the current one, which drifts left and dims (iOS navigation) */
.rb-device-slide.is-active { z-index: 2; transform: translateX(0); box-shadow: -2cqw 0 5cqw rgba(0,0,0,.22); }
.rb-device-slide.is-behind { z-index: 1; transform: translateX(-28%); }
.rb-device-slide.is-behind::after { opacity: .16; }
.rb-device-slide.is-ahead {
  z-index: 3; transform: translateX(100%); visibility: hidden; box-shadow: -2cqw 0 5cqw rgba(0,0,0,.22);
  transition: transform var(--rb-push) var(--rb-ease), visibility 0s linear var(--rb-push);
}
.rb-device-slide.no-anim, .rb-device-slide.no-anim::after { transition: none !important; }
.rb-device-status {
  position: absolute; z-index: 5; inset: 0 0 auto; height: 13.8cqw; display: flex; align-items: center; justify-content: space-between;
  padding: 0 5.9cqw 0 9.1cqw; color: #fff; pointer-events: none; transition: color .4s ease;
}
.rb-device-screen[data-status="on-light"] .rb-device-status { color: #0b0b0c; }
.rb-device-time { font: 600 4cqw/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", var(--font-body); letter-spacing: -.01em; }
.rb-device-status svg { display: block; width: 17cqw; height: auto; }
.rb-device-island { position: absolute; z-index: 6; top: 2.6cqw; left: 50%; width: 29.6cqw; height: 8.7cqw; transform: translateX(-50%); border-radius: 99px; background: #000; }
.rb-device-island::after {
  content: ""; position: absolute; top: 50%; right: 5.4cqw; width: 2.9cqw; height: 2.9cqw; transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #3b4157 0%, #14161d 42%, #050507 72%); box-shadow: 0 0 0 .35cqw #0b0b0d;
}
.rb-device-glass { position: absolute; z-index: 7; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 26%, rgba(255,255,255,0) 42%); }

/* ---- floating card next to the phone ---- */
.rb-store-note {
  position: absolute; z-index: 2; margin: 0; display: flex; align-items: center; gap: 12px;
  border-radius: 18px; background: color-mix(in srgb, #fff 94%, transparent); color: var(--ink);
  box-shadow: 0 24px 48px -20px color-mix(in srgb, var(--rb-dark) 40%, transparent), 0 0 0 1px var(--rb-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.rb-store-notes { position: absolute; z-index: 2; bottom: 22%; inset-inline-end: 3%; width: min(272px, 54%); aspect-ratio: 272 / 62; }
.rb-store-note {
  inset: 0; padding: 10px 14px 10px 10px; opacity: 0; transform: translateY(12px) scale(.96);
  transition: opacity .45s ease, transform .6s cubic-bezier(.32, .72, 0, 1);
}
.rb-store-note-icon { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--primary-100); color: var(--rb-primary); }
.rb-store-note[data-note="2"] .rb-store-note-icon { background: var(--rb-success-soft); color: var(--rb-success); }
.rb-store-note-text { display: grid; gap: 2px; min-width: 0; }
.rb-store-note-text b { font-size: 14px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-store-note-text small { font-size: 12.5px; line-height: 1.3; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-store:has([data-rb-screen="0"].is-active) [data-note="0"],
.rb-store:has([data-rb-screen="1"].is-active) [data-note="1"],
.rb-store:has([data-rb-screen="2"].is-active) [data-note="2"] { opacity: 1; transform: none; transition-delay: .25s; }

@media (max-width: 960px) {
  .rb-store-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "stage" "flow" "cta"; }
  .rb-store-stage { margin-top: 40px; }
  .rb-device { width: min(42vw, 300px); }
  .rb-flow { margin-top: 28px; }
}
@media (max-width: 640px) {
  .rb-store-stage { border-radius: 24px; padding: 36px 16px 48px; }
  .rb-device { width: min(66vw, 268px); }
  .rb-flow-item { padding: 14px 12px 16px; gap: 14px; }
  .rb-flow-icon { width: 40px; height: 40px; }
  .rb-flow-text b { font-size: 18px; }
  .rb-flow-bar { left: 12px; right: 12px; }
  .rb-store-cta .rb-btn { width: 100%; }
        .rb-store-notes { bottom: 16%; inset-inline-end: 3%; width: min(236px, 68%); }
  .rb-store-note { padding: 8px 12px 8px 8px; gap: 10px; }
  .rb-store-note-icon { width: 32px; height: 32px; border-radius: 10px; }
  .rb-store-note-text b { font-size: 13px; }
  .rb-store-note-text small { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-device-slide, .rb-device-slide::after, .rb-store-note { transition: none !important; }
    .rb-flow-bar { display: none; }
}

/* the reveal effect clips each row to its own box, which cut off the active card's shadow and focus ring */
.rb-flow > li.reveal.visible, .rb-ai-steps > li.reveal.visible { clip-path: inset(-40px -40px -64px -40px); }

/* FAQ on small screens: questions first, contact card after them */
@media (max-width: 960px) {
  .rb-faq-grid { display: flex; flex-direction: column; gap: 0; }
  .rb-faq-intro { display: contents; }
  .rb-faq-list { order: 1; margin-top: 36px; }
  .rb-faq-contact { order: 2; margin-top: 28px; max-width: none; }
}
@media (max-width: 640px) {
  .rb-qa summary { gap: 14px; padding-block: 18px; padding-inline: 18px 16px; }
  .rb-qa-num { display: none; }
  .rb-qa-icon { width: 36px; height: 36px; }
  .rb-qa-body { padding-inline: 18px 18px; padding-block-end: 22px; }
  .rb-qa-body p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-faq-list .rb-qa, .rb-faq-list.visible .rb-qa { opacity: 1; transform: none; animation: none; }
  .rb-qa-icon, .rb-qa-icon::before, .rb-qa-icon::after { transition: none; }
}

/* ==========================================================================
   Restaurant types (section #solutions): four expanding panels, one open at a
   time. Horizontal on large screens, a vertical accordion on small ones.
   ========================================================================== */
.rb-types { background: #fff; }
.rb-types-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; height: clamp(520px, 43vw, 600px); }
.rb-types-list.reveal.visible { clip-path: none; }
.rb-type {
  position: relative; overflow: hidden; isolation: isolate; min-width: 0; flex: 1 1 0;
  border-radius: 28px; background: #1a1210; color: #fff;
  transition: flex-grow .75s var(--rb-ease), height .65s var(--rb-ease), box-shadow .5s;
  scroll-margin-top: calc(var(--nav-h) + 16px); scroll-margin-bottom: 16px;   /* stop below the sticky header */
}
.rb-type.is-open { flex-grow: 3.4; box-shadow: 0 40px 80px -48px color-mix(in srgb, var(--rb-warm-deep) 60%, transparent); }

/* photo and shade */
.rb-type-photo { position: absolute; inset: 0; z-index: -2; display: block; }
.rb-type-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.78); transform: scale(1.12); transition: transform 1.2s var(--rb-ease), filter .6s ease; }
.rb-type.is-open .rb-type-photo img { filter: none; transform: scale(1); }
.rb-type:not(.is-open):hover .rb-type-photo img { filter: saturate(1) brightness(.9); transform: scale(1.07); }
.rb-type::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rb-dark-deep) 50%, transparent) 0%, color-mix(in srgb, var(--rb-dark-deep) 12%, transparent) 30%, color-mix(in srgb, var(--rb-dark-deep) 40%, transparent) 58%, color-mix(in srgb, var(--rb-dark-deep) 92%, transparent) 100%);
}
.rb-type.is-open::before { background: linear-gradient(180deg, color-mix(in srgb, var(--rb-dark-deep) 40%, transparent) 0%, color-mix(in srgb, var(--rb-dark-deep) 0%, transparent) 22%, color-mix(in srgb, var(--rb-dark-deep) 22%, transparent) 40%, color-mix(in srgb, var(--rb-dark-deep) 80%, transparent) 64%, color-mix(in srgb, var(--rb-dark-deep) 95%, transparent) 100%); }
.rb-type-body h3, .rb-type-body p { text-shadow: 0 1px 14px rgba(0,0,0,.35); }

/* the toggle covers the whole panel; once open it only keeps its number and icon */
.rb-type-toggle { position: absolute; inset: 0; z-index: 2; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.rb-type-toggle:focus-visible { outline: 3px solid rgba(255,255,255,.85); outline-offset: -6px; border-radius: 28px; }
.rb-type.is-open .rb-type-toggle { pointer-events: none; }
.rb-type-num { position: absolute; top: 26px; inset-inline-start: 26px; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: rgba(255,255,255,.78); font-variant-numeric: tabular-nums; }
.rb-type-icon {
  position: absolute; top: 56px; inset-inline-start: 22px; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .45s, border-color .45s;
}
.rb-type-icon svg { width: 22px; height: 22px; }
.rb-type.is-open .rb-type-icon { background: var(--primary); border-color: var(--primary); }
.rb-type-plus {
  position: absolute; top: 22px; inset-inline-end: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: opacity .25s, transform .45s var(--rb-ease), background .25s, color .25s;
}
.rb-type:not(.is-open):hover .rb-type-plus { background: #fff; color: var(--ink); transform: rotate(90deg); }
.rb-type.is-open .rb-type-plus { opacity: 0; transform: scale(.6); }
/* collapsed label: vertical, reading upward */
.rb-type-name {
  /* physical left: logical insets would follow this element's vertical writing mode */
  position: absolute; bottom: 28px; left: 24px; max-height: calc(100% - 160px);
  font-family: var(--font-head); font-size: 21px; font-weight: 500; line-height: 1.15; white-space: nowrap;
  writing-mode: vertical-rl; transform: rotate(180deg); transition: opacity .35s ease .25s;
}
.rb-type.is-open .rb-type-name { opacity: 0; transition: opacity .12s ease; }
html[dir="rtl"] .rb-type-name { writing-mode: horizontal-tb; transform: none; white-space: normal; left: 18px; right: 18px; max-height: none; font-size: 18px; line-height: 1.4; }

/* details of the open panel */
.rb-type-body {
  position: absolute; z-index: 3; inset: auto 0 0 0; max-width: 580px; padding: 0 clamp(24px, 3vw, 40px) clamp(26px, 3vw, 36px);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.rb-type.is-open .rb-type-body { opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease .32s, transform .75s var(--rb-ease) .32s, visibility 0s; }
.rb-type-body h3 { margin: 0 0 12px; font-family: var(--font-head); font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; line-height: 1.1; color: #fff; }
.rb-type-body p { margin: 0; max-width: 34em; font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,.84); }
.rb-type-chips { list-style: none; margin: 18px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rb-type-chips li {
  padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #fff;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
/* the link is an outline button (css/site.css); on the photo it drops the border */
.rb-type-link.rb-btn-outline { border-color: transparent; }

/* small live card from the product */
.rb-type-card {
  position: absolute; z-index: 2; top: 22px; inset-inline-end: 22px; width: 252px; padding: 14px 16px; border-radius: 18px;
  background: rgba(255,255,255,.95); color: var(--ink); font-size: 13.5px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.65);
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.96); transform-origin: top right;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
html[dir="rtl"] .rb-type-card { transform-origin: top left; }
.rb-type.is-open .rb-type-card { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease .5s, transform .75s var(--rb-ease) .5s, visibility 0s; }
.rb-type-card-head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 14px; }
.rb-type-card-head b { font-weight: 600; }
.rb-type-card-icon { width: 30px; height: 30px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--primary-100); color: var(--primary); }
.rb-type-card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; }
.rb-type-card-row b { font-weight: 600; }
.rb-type-card-muted { color: var(--fg-muted); font-size: 12.5px; }
.rb-type-card-total { margin-top: 4px; padding-top: 9px; border-top: 1px dashed var(--rb-line-2); }
.rb-type-card-track { height: 6px; margin: 4px 0 8px; border-radius: 999px; background: #f1e9e3; overflow: hidden; }
.rb-type-card-track i { display: block; width: 18%; height: 100%; border-radius: inherit; background: var(--primary); }
.rb-type.is-open .rb-type-card-track i { animation: rb-type-track 2.6s var(--rb-ease) .8s forwards; }
@keyframes rb-type-track { to { width: 72%; } }
.rb-type-card-bar { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 4px 0; font-size: 12.5px; }
.rb-type-card-bar span { color: var(--fg-muted); white-space: nowrap; }
.rb-type-card-bar i { width: 0; height: 6px; border-radius: 999px; background: var(--primary); }
.rb-type-card-bar:nth-child(3) i { opacity: .7; }
.rb-type-card-bar:nth-child(4) i { opacity: .45; }
.rb-type.is-open .rb-type-card-bar i { animation: rb-type-bar .9s var(--rb-ease) .75s forwards; }
@keyframes rb-type-bar { to { width: var(--w); } }
.rb-type-card-bar b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* small screens: a vertical accordion */
@media (max-width: 900px) {
  .rb-types-list { flex-direction: column; height: auto; gap: 10px; }
  .rb-type { flex: none; height: 92px; border-radius: 22px; }
  .rb-type.is-open { height: 580px; }
  .rb-type-toggle:focus-visible { border-radius: 22px; }
  .rb-type-num { display: none; }
  .rb-type-icon { top: 23px; inset-inline-start: 20px; }
  .rb-type-plus { top: 29px; }
  .rb-type-name, html[dir="rtl"] .rb-type-name {
    writing-mode: horizontal-tb; transform: none; white-space: normal; max-height: none;
    top: 46px; bottom: auto; translate: 0 -50%; inset-inline-start: 82px; inset-inline-end: 66px; font-size: 18px; line-height: 1.25;
  }
  .rb-type-card { top: 86px; inset-inline-start: 20px; inset-inline-end: auto; transform-origin: top left; }
  html[dir="rtl"] .rb-type-card { transform-origin: top right; }
  .rb-type-body { padding: 0 20px 22px; }
  .rb-type-body p { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-type, .rb-type-photo img, .rb-type-body, .rb-type-card, .rb-type-name, .rb-type-plus { transition: none !important; }
  .rb-type-card-track i, .rb-type-card-bar i { animation: none !important; }
  .rb-type-card-track i { width: 72%; }
  .rb-type-card-bar i { width: var(--w); }
}

/* ==========================================================================
   Pricing (section #pricing): plan cards from the package API that line up row
   by row, a billing switch with a sliding thumb, what every plan includes, the
   full comparison on demand and a commission calculator.
   ========================================================================== */
.rb-pricing { background: var(--rb-cream); }
/* Wider than the rest of the page: the plan row is 1037 px on a 1100 screen, 1256 on 1440 and 1512 on 1920. */
@media (min-width: 961px) { .rb-pricing:not(.rb-oo-pricing) > .rb-container { --rb-gutter: 24px; --rb-max: 1304px; } }
@media (min-width: 1640px) { .rb-pricing:not(.rb-oo-pricing) > .rb-container { --rb-max: 1560px; } }
.rb-pricing [hidden] { display: none !important; }
.rb-oo-plan { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: clamp(56px, 8vw, 104px); }
.rb-oo-more { margin: 20px 0 0; font-size: 16px; color: var(--fg-muted); }
.rb-oo-more a { color: var(--primary); font-weight: 600; }
@media (min-width: 961px) {
  .rb-oo-plan { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .rb-oo-plan .rb-plans[data-count="1"] { max-width: none; }
}
.rb-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }


/* billing switch: the white thumb slides to the chosen period */
.rb-billing { position: relative; isolation: isolate; flex: none; display: inline-flex; padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--rb-cream) 96%, var(--rb-dark)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rb-dark) 5%, transparent); }
.rb-billing-thumb { position: absolute; z-index: -1; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px color-mix(in srgb, var(--rb-dark) 8%, transparent), 0 8px 18px -8px color-mix(in srgb, var(--rb-dark) 30%, transparent); }
.rb-billing.is-ready .rb-billing-thumb { transition: transform .55s var(--rb-ease), width .55s var(--rb-ease); }
.rb-billing-opt {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px;
  border: 0; border-radius: 999px; background: none; cursor: pointer; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  font-family: var(--font-head); font-size: 16px; font-weight: 500; color: var(--fg-muted); transition: color .3s;
}
.rb-billing-opt:hover, .rb-billing-opt[aria-checked="true"] { color: var(--ink); }
.rb-billing:not(.is-ready) .rb-billing-opt[aria-checked="true"] { background: #fff; }
.rb-billing-opt:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 2px; }
.rb-billing-save { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--rb-success-soft); color: var(--rb-success); font-family: var(--font-body); font-size: 12px; font-weight: 600; }

/* plan cards: on large screens every card shares the same rows (subgrid), so names, prices, buttons and lists line up */
.rb-plans { --n: 1; --rows: 6; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 22px 20px; }
.rb-plans[data-count="1"] { max-width: 460px; margin-inline: auto; }
.rb-plans[data-count="2"] { max-width: 900px; margin-inline: auto; }
.rb-plan {
  position: relative; min-width: 0; display: flex; flex-direction: column; gap: 22px;
  padding: 32px; border-radius: 28px; background: #fff; border: 1px solid color-mix(in srgb, var(--rb-dark) 10%, transparent);
  transition: transform .5s var(--rb-ease), box-shadow .5s var(--rb-ease), border-color .3s;
}
@media (min-width: 961px) {
  @supports (grid-template-rows: subgrid) {
    .rb-plan:not(.rb-plan-skeleton) { display: grid; grid-row: span var(--rows); grid-template-rows: subgrid; }
  }
  .rb-plan:not(.rb-plan-skeleton):hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--rb-dark) 16%, transparent); box-shadow: 0 28px 56px -32px color-mix(in srgb, var(--rb-dark) 35%, transparent); }
}
.rb-plans.is-armed .rb-plan { opacity: 0; }

.rb-plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.rb-plan-name { margin: 0; font-family: var(--font-head); font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.005em; color: var(--ink); }
.rb-plan-badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--rb-primary) 80%, transparent); }
.rb-plan-desc { margin: 0; font-size: 16px; line-height: 1.5; color: var(--fg-muted); }

.rb-plan-price { display: grid; gap: 14px; align-content: start; }
.rb-plan-amount-row { display: flex; align-items: flex-end; gap: 10px; margin: 0; }
.rb-plan-amount { font-family: var(--font-head); font-size: clamp(48px, 4.4vw, 60px); font-weight: 400; line-height: .86; letter-spacing: -0.025em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rb-plan-amount small { font-size: .5em; letter-spacing: -0.01em; }
.rb-plan-amount-text { font-size: 30px; line-height: 1.1; letter-spacing: 0; }
.rb-plan-unit { display: grid; gap: 3px; padding-bottom: 1px; font-size: 14px; line-height: 1.15; color: var(--fg-muted); white-space: nowrap; }
.rb-plan-unit b { font-size: 15px; font-weight: 600; color: var(--ink); }
.rb-plan-note { display: grid; gap: 2px; margin: 0; font-size: 14px; line-height: 1.45; color: var(--fg-muted); }
.rb-plan-save { font-weight: 600; color: var(--rb-success); }

.rb-plan-cta { display: grid; gap: 12px; align-content: start; }
.rb-plan-btn { width: 100%; height: auto; min-height: 48px; padding: 12px 20px; white-space: normal; text-align: center; line-height: 1.25; }
.rb-plan-fine { margin: 0; text-align: center; font-size: 13px; color: var(--fg-muted); text-wrap: balance; }

.rb-plan-limits { display: grid; align-content: start; margin: 0; padding-block: 6px; border-block: 1px solid color-mix(in srgb, var(--rb-dark) 10%, transparent); }
.rb-plan-limits > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 8px; }
.rb-plan-limits dt { min-width: 0; font-size: 15px; line-height: 1.35; color: var(--fg-muted); }
.rb-plan-limits dd { margin: 0; font-family: var(--font-head); font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

.rb-plan-feats-title { margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--ink); }
.rb-plan-feats ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rb-plan-feats li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
/* a bullet's badge: the site's chip, in the text flow so it wraps with the words */
.rb-plan-chip { height: 20px; margin-inline-start: 4px; vertical-align: 1px; }
.rb-plan-chip-info { background: #e6f0fb; color: #1b5fa8; }
.rb-plan-check { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--rb-cream) 96%, var(--rb-dark)); color: var(--ink); }

/* the recommended plan */
.rb-plan.is-featured {
  background: radial-gradient(110% 60% at 100% 0%, color-mix(in srgb, var(--rb-primary) 30%, transparent), color-mix(in srgb, var(--rb-primary) 0%, transparent) 62%), var(--rb-dark);
  background-repeat: no-repeat; background-origin: border-box;
  border-color: transparent; color: #fff; box-shadow: 0 36px 70px -34px color-mix(in srgb, var(--rb-dark) 60%, transparent);
}
html[dir="rtl"] .rb-plan.is-featured { background-image: radial-gradient(110% 60% at 0% 0%, color-mix(in srgb, var(--rb-primary) 30%, transparent), color-mix(in srgb, var(--rb-primary) 0%, transparent) 62%); }
.rb-plan.is-featured:hover { border-color: transparent; box-shadow: 0 44px 80px -34px color-mix(in srgb, var(--rb-dark) 66%, transparent); }
.rb-plan.is-featured .rb-plan-name,
.rb-plan.is-featured .rb-plan-amount,
.rb-plan.is-featured .rb-plan-unit b,
.rb-plan.is-featured .rb-plan-limits dd,
.rb-plan.is-featured .rb-plan-feats-title,
.rb-plan.is-featured .rb-plan-feats li { color: #fff; }
.rb-plan.is-featured .rb-plan-desc,
.rb-plan.is-featured .rb-plan-unit,
.rb-plan.is-featured .rb-plan-note,
.rb-plan.is-featured .rb-plan-fine,
.rb-plan.is-featured .rb-plan-limits dt { color: rgba(255,255,255,.66); }
.rb-plan.is-featured .rb-plan-limits { border-color: rgba(255,255,255,.12); }
.rb-plan.is-featured .rb-plan-check { background: var(--primary); color: #fff; }
.rb-plan.is-featured .rb-plan-save { color: #62dea0; }
.rb-plan.is-featured .rb-btn-primary { box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--rb-primary) 90%, transparent); }

/* while the plans load */
.rb-plan-skeleton { min-height: 660px; gap: 16px; border-color: color-mix(in srgb, var(--rb-dark) 7%, transparent); }
.rb-plan-skeleton i { display: block; height: 14px; border-radius: 8px; background: linear-gradient(90deg, color-mix(in srgb, var(--rb-cream) 96.7%, var(--rb-dark)) 35%, color-mix(in srgb, var(--rb-cream) 70%, #fff) 50%, color-mix(in srgb, var(--rb-cream) 96.7%, var(--rb-dark)) 65%) 0 0 / 300% 100%; animation: rb-shimmer 1.6s linear infinite; }
.rb-plan-skeleton i:nth-child(1) { width: 38%; height: 24px; }
.rb-plan-skeleton i:nth-child(2) { width: 86%; }
.rb-plan-skeleton i:nth-child(3) { width: 52%; height: 56px; margin-top: 18px; }
.rb-plan-skeleton i:nth-child(4) { height: 52px; margin-top: 18px; border-radius: 999px; }
.rb-plan-skeleton i:nth-child(5) { width: 92%; margin-top: 28px; }
.rb-plan-skeleton i:nth-child(6) { width: 74%; }
@keyframes rb-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.rb-plans-error { grid-column: 1 / -1; display: grid; justify-items: center; gap: 18px; padding: 56px 24px; border-radius: 28px; border: 1px dashed color-mix(in srgb, var(--rb-dark) 18%, transparent); text-align: center; }
.rb-plans-error p { margin: 0; font-size: 17px; color: var(--fg-muted); }

/* plan switcher, shown when the cards become a swipeable row */
.rb-plan-tabs { display: none; }
.rb-plan-tab { position: relative; height: 42px; padding: 0 14px; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; font-family: var(--font-head); font-size: 16px; font-weight: 500; color: var(--fg-muted); transition: color .25s; }
.rb-plan-tab::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--primary); transform: scaleX(0); transition: transform .35s var(--rb-ease); }
.rb-plan-tab[aria-current="true"] { color: var(--ink); }
.rb-plan-tab[aria-current="true"]::after { transform: scaleX(1); }
.rb-plan-tab:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: -2px; border-radius: 10px; }

/* included in every plan + the comparison switch */
.rb-pricing-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title toggle" "list list"; align-items: center; gap: 18px 32px;
  margin-top: 28px; padding: 22px 28px 26px; border-radius: 28px; background: #fff; border: 1px solid color-mix(in srgb, var(--rb-dark) 8%, transparent);
}
.rb-included { display: contents; }
.rb-included-title { grid-area: title; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); }
html[dir="rtl"] .rb-included-title { letter-spacing: 0; }
.rb-included-list { grid-area: list; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 14px 40px; }
.rb-included-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.35; color: var(--ink); }
.rb-included-list svg { flex: none; margin-top: -1px; color: var(--primary); }
.rb-compare-toggle {
  grid-area: toggle; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px;
  border-radius: 999px; background: #fff; border: 1px solid color-mix(in srgb, var(--rb-dark) 14%, transparent); cursor: pointer;
  font-family: var(--font-head); font-size: 16px; font-weight: 500; color: var(--ink); transition: border-color .2s;
}
.rb-compare-toggle:hover { border-color: var(--ink); }
.rb-compare-toggle:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 3px; }
.rb-compare-toggle svg { transition: transform .45s var(--rb-ease); }
.rb-compare-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* comparison table */
.rb-compare { padding-top: 16px; }
.rb-compare-scroll { overflow-x: auto; border: 1px solid color-mix(in srgb, var(--rb-dark) 10%, transparent); border-radius: 24px; background: #fff; }
.rb-compare-scroll:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 45%, transparent); outline-offset: 2px; }
.rb-compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rb-compare th, .rb-compare td { padding: 15px 20px; border-bottom: 1px solid color-mix(in srgb, var(--rb-dark) 7%, transparent); text-align: center; vertical-align: middle; }
.rb-compare tbody:last-child tr:last-child > * { border-bottom: 0; }
.rb-compare thead td, .rb-compare th[scope="row"] { width: 40%; }
.rb-compare th[scope="row"] { text-align: start; font-weight: 400; color: var(--ink); }
.rb-compare thead th { padding-block: 22px; font-family: var(--font-head); font-size: 18px; font-weight: 500; color: var(--ink); }
.rb-compare thead th.is-featured { color: var(--primary); }
.rb-compare td { font-weight: 500; color: var(--ink); }
.rb-compare .is-featured { background: color-mix(in srgb, var(--rb-primary) 3.5%, transparent); }
.rb-compare-group th { padding-block: 12px; background: color-mix(in srgb, var(--rb-cream) 70%, #fff); text-align: start; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-muted); }
html[dir="rtl"] .rb-compare-group th { letter-spacing: 0; }
.rb-compare-yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; vertical-align: middle; }
.rb-compare .is-featured .rb-compare-yes { background: var(--primary); }
.rb-compare-no { color: color-mix(in srgb, var(--rb-dark) 28%, transparent); }

/* commission calculator */
.rb-calc {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  margin-top: clamp(64px, 8vw, 112px); padding: clamp(28px, 5vw, 72px); border-radius: 28px;
  background: radial-gradient(900px 420px at 0% 0%, color-mix(in srgb, var(--rb-primary) 6%, transparent), color-mix(in srgb, var(--rb-primary) 0%, transparent) 60%), #fff;
  border: 1px solid color-mix(in srgb, var(--rb-dark) 8%, transparent);
}
html[dir="rtl"] .rb-calc { background: radial-gradient(900px 420px at 100% 0%, color-mix(in srgb, var(--rb-primary) 6%, transparent), color-mix(in srgb, var(--rb-primary) 0%, transparent) 60%), #fff; }
.rb-calc-title { margin: 0; max-width: 15em; font-family: var(--font-head); font-size: clamp(30px, 3vw, 44px); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
html[dir="rtl"] .rb-calc-title { letter-spacing: 0; line-height: 1.3; }
.rb-calc-sub { margin: 20px 0 0; max-width: 30em; font-size: 18px; line-height: 1.5; color: var(--fg-muted); }
.rb-calc-fields { display: grid; gap: 28px; margin-top: 40px; max-width: 520px; }
.rb-calc-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 14px 16px; }
.rb-calc-field label { font-size: 16px; font-weight: 500; color: var(--ink); }
.rb-calc-field output { font-family: var(--font-head); font-size: 20px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rb-calc-field .rb-range { grid-column: 1 / -1; }

.rb-range { --p: 50%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.rb-range:focus-visible { outline: none; }
.rb-range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--primary) var(--p), color-mix(in srgb, var(--rb-dark) 12%, transparent) var(--p)); }
html[dir="rtl"] .rb-range::-webkit-slider-runnable-track { background: linear-gradient(to left, var(--primary) var(--p), color-mix(in srgb, var(--rb-dark) 12%, transparent) var(--p)); }
.rb-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -10px; border: 0; border-radius: 50%;
  background: radial-gradient(circle, var(--primary) 0 4px, #fff 4.5px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--rb-dark) 8%, transparent), 0 4px 12px -2px color-mix(in srgb, var(--rb-dark) 30%, transparent);
  transition: transform .2s var(--rb-ease), box-shadow .2s;
}
.rb-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.rb-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 25%, transparent), 0 4px 12px -2px color-mix(in srgb, var(--rb-dark) 30%, transparent); }
.rb-range::-moz-range-track { height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--rb-dark) 12%, transparent); }
.rb-range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--primary); }
.rb-range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: radial-gradient(circle, var(--primary) 0 4px, #fff 4.5px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--rb-dark) 8%, transparent), 0 4px 12px -2px color-mix(in srgb, var(--rb-dark) 30%, transparent); }
.rb-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 25%, transparent), 0 4px 12px -2px color-mix(in srgb, var(--rb-dark) 30%, transparent); }

.rb-calc-result { position: relative; padding: clamp(26px, 3vw, 40px); border-radius: 28px; background: #fff; box-shadow: 0 40px 80px -44px color-mix(in srgb, var(--rb-warm) 50%, transparent), 0 2px 8px -2px color-mix(in srgb, var(--rb-warm) 8%, transparent); }
.rb-calc-label { margin: 0; font-size: 15px; font-weight: 500; color: var(--fg-muted); }
.rb-calc-big { margin: 12px 0 0; font-family: var(--font-head); font-size: clamp(48px, 5vw, 72px); font-weight: 400; line-height: .95; letter-spacing: -0.025em; color: var(--primary); font-variant-numeric: tabular-nums; }
.rb-calc-big span { white-space: nowrap; }
.rb-calc-big small { font-size: .3em; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.rb-calc-year { margin: 12px 0 0; font-size: 16px; color: var(--fg-muted); }
.rb-calc-rows { margin: 26px 0 0; }
.rb-calc-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-block: 1px solid color-mix(in srgb, var(--rb-dark) 8%, transparent); }
.rb-calc-rows dt { font-size: 15px; color: var(--ink); }
.rb-calc-rows dd { margin: 0; font-family: var(--font-head); font-size: 18px; font-weight: 600; white-space: nowrap; }
.rb-calc-zero { color: var(--rb-success); }
.rb-calc-cover { margin: 16px 0 0; padding: 14px 16px; border-radius: 16px; background: #eef8f2; color: #0b5b37; font-size: 15px; line-height: 1.45; }
.rb-calc-cover b { font-weight: 600; }
.rb-calc-cta { width: 100%; margin-top: 22px; }
.rb-calc-note { margin: 14px 0 0; text-align: center; font-size: 13px; line-height: 1.5; color: var(--fg-muted); }

@media (min-width: 961px) and (max-width: 1140px) {
  .rb-plans { column-gap: 14px; }
  .rb-plan { padding: 28px 24px; }
}
/* plans that do not fit side by side: a swipeable row at every width, like on phones; pricing-cards.js sets .is-carousel */
.rb-plan-tabs.is-carousel:not([hidden]) { display: flex; gap: 4px; margin: -12px 0 8px; }
.rb-plans.is-carousel {
  display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px 4px 36px; margin-bottom: -12px;
}
.rb-plans.is-carousel::-webkit-scrollbar { display: none; }
.rb-plans.is-carousel .rb-plan:not(.rb-plan-skeleton) { display: flex; flex: 0 0 min(360px, calc(100% - 36px)); scroll-snap-align: center; }
.rb-plan-head { flex-wrap: wrap; }
/* plan names may not fit one phone row: the switcher scrolls sideways like the cards, centred when it fits */
.rb-plan-tabs:not([hidden]) { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-padding-inline: 24px; }
.rb-plan-tabs::-webkit-scrollbar { display: none; }
.rb-plan-tab { flex: none; white-space: nowrap; }
.rb-plan-tab:first-child { margin-inline-start: auto; }
.rb-plan-tab:last-child { margin-inline-end: auto; }
@media (max-width: 960px) {
  .rb-plan-tabs:not([hidden]) { display: flex; gap: 4px; margin: -12px calc(-1 * var(--rb-gutter)) 8px; padding-inline: var(--rb-gutter); }
  .rb-plans {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--rb-gutter)); padding: 8px var(--rb-gutter) 36px; margin-bottom: -12px;
  }
  .rb-plans::-webkit-scrollbar { display: none; }
  .rb-plans[data-count="1"], .rb-plans[data-count="2"] { max-width: none; margin-inline: calc(-1 * var(--rb-gutter)); }
  .rb-plan { flex: 0 0 calc(100% - 36px); scroll-snap-align: center; padding: 28px 24px; }
  .rb-plans.is-carousel { padding-inline: 24px; }
  .rb-plans.is-carousel .rb-plan:not(.rb-plan-skeleton) { flex-basis: calc(100% - 8px); }
  .rb-plans[data-count="1"] .rb-plan { margin-inline: auto; }
  .rb-plan.is-featured { box-shadow: 0 22px 40px -26px color-mix(in srgb, var(--rb-dark) 55%, transparent); }
  .rb-plans-error { flex: 1 0 100%; }
  .rb-pricing-foot { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "list" "toggle"; padding: 24px; }
  .rb-included-list { grid-template-columns: repeat(2, minmax(0, auto)); gap: 14px 32px; }
  .rb-calc { grid-template-columns: minmax(0, 1fr); }
  .rb-calc-fields { max-width: none; }
}
@media (max-width: 640px) {
  .rb-plans.is-carousel { padding-inline: 16px; }
  .rb-billing { align-self: stretch; }
  .rb-billing-opt { flex: 1 1 auto; padding: 0 14px; }
  .rb-plan-amount { font-size: 50px; }
  .rb-included-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rb-compare th, .rb-compare td { padding: 12px 8px; font-size: 14px; }
  .rb-compare thead th { font-size: 15px; padding-block: 16px; }
  .rb-compare th[scope="row"] { padding-inline-start: 14px; }
  .rb-calc { padding: 28px 20px 20px; border-radius: 28px; }
  .rb-calc-sub { margin-top: 16px; font-size: 16px; }
  .rb-calc-fields { gap: 24px; margin-top: 32px; }
  .rb-calc-result { padding: 24px 20px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .rb-plan, .rb-billing.is-ready .rb-billing-thumb, .rb-compare-toggle svg, .rb-plan-tab::after, .rb-range::-webkit-slider-thumb { transition: none !important; }
  .rb-plan-skeleton i { animation: none; }
}

/* online ordering page: the free plan, same carousel as the home platform section, one UI card over each photo.
   The cards are exported from the design canvas at twice the size they are shown, so they stay sharp. */
.rb-slide-points { list-style: none; margin: 20px 0 auto; padding: 0; display: grid; gap: 10px; }
.rb-slide-points li { position: relative; padding-inline-start: 28px; font-size: 16px; line-height: 1.4; color: var(--ink); }
.rb-slide-points li::before { content: ""; position: absolute; inset-inline-start: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-100); }
.rb-slide-points li::after { content: ""; position: absolute; inset-inline-start: 6px; top: 7px; width: 8px; height: 5px; border-inline-start: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.rb-slide-card {
  position: absolute; z-index: 2; inset-inline-start: 20px; bottom: 20px; display: block; height: auto; max-width: calc(100% - 40px);
  border-radius: 16px; box-shadow: 0 24px 48px -18px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.5);
  transform: translateY(8px); opacity: 0; transition: opacity .6s ease .2s, transform .8s var(--rb-ease) .2s;
}
.rb-slides.visible .rb-slide-card, .rb-slide:hover .rb-slide-card { opacity: 1; transform: none; }
@media (max-width: 860px) { .rb-slide-card { inset-inline-start: 12px; bottom: 12px; width: 66%; border-radius: 12px; } }
.rb-slide-card-end { inset-inline-start: auto; inset-inline-end: 20px; }
@media (max-width: 860px) { .rb-slide-card-small { width: 50%; } }
@media (max-width: 860px) { .rb-slide-card-end { inset-inline-start: auto; inset-inline-end: 12px; } }
@media (prefers-reduced-motion: reduce) { .rb-slide-card { transition: none; transform: none; opacity: 1; } }
/* online ordering page: colours alternate so that no two sections of one colour touch */
.rb-oo-pricing { background: #fff; }
.rb-faq.rb-oo-faq { background: var(--rb-cream); }
/* here white comes before the AI section and cream after it: the home page has them the other way round, and the panel's
   rounded corners show this colour */
.rb-ai-section.rb-oo-ai { background: linear-gradient(#fff 50%, var(--rb-cream) 50%); }

/* Closing call to action after the FAQ: the FAQ is white and this section cream, and the dark card starts right at the
   colour change, which drew a hard line on both sides of the card. The white now fades into the cream behind the card. */
.rb-faq:not(.rb-oo-faq) + .rb-cta { background: linear-gradient(#fff 0, var(--rb-cream) 320px); }   /* on /online-ordering the FAQ is cream already */
/* ...and the shadow of the last question was cut 64 px under the list, which drew a pale band just above this section */
.rb-faq-list.reveal.visible, .rb-faq-contact.reveal.visible { clip-path: none; }

/* ==========================================================================
   /online-ordering, "Included in the free plan": six cards in a grid, in the manner of the home page's "Et aussi"
   (partials/oo-features.html). Wide and narrow cards alternate; each has one sentence and one real UI card, tilted.
   ========================================================================== */
.rb-inc { background: var(--rb-cream); }
.rb-inc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px 64px; margin-bottom: 56px; }
.rb-inc-head .rb-title { margin-top: 18px; }
.rb-inc-head .rb-sub { flex: none; width: min(420px, 38%); margin: 0 0 8px; }
.rb-inc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.rb-inc-tile { position: relative; overflow: hidden; isolation: isolate; grid-column: span 5; height: 408px; border-radius: 28px; color: var(--ink, #1B1414); background: #fff; }
.rb-inc-tile.reveal.visible { clip-path: none; }
.rb-inc-wide { grid-column: span 7; }
.rb-inc-text { position: absolute; z-index: 3; inset: 30px 32px auto 32px; max-width: 380px; display: grid; gap: 10px; }
.rb-inc-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rb-primary); }
.rb-inc-tile h3 { font-family: var(--font-head); font-size: clamp(22px, 2.1vw, 28px); line-height: 1.14; font-weight: 500; letter-spacing: -.012em; text-wrap: balance; }
.rb-inc-detail { font-size: 14.5px; line-height: 1.45; color: var(--fg-muted, #565352); text-wrap: pretty; }
.rb-inc-card {
  position: absolute; z-index: 4; left: 32px; bottom: 30px; width: min(300px, calc(100% - 64px)); height: auto; border-radius: 14px;
  box-shadow: 0 30px 60px -24px rgba(20, 8, 40, .45), 0 6px 16px rgba(20, 8, 40, .10);
  transform: rotate(-2deg); transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.rb-inc-tile:hover .rb-inc-card { transform: rotate(0deg) translateY(-6px); }
.rb-inc-media { position: absolute; inset: 0; z-index: 0; }
.rb-inc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.rb-inc-tile:hover .rb-inc-media img { transform: scale(1.04); }
/* grounds */
.rb-inc-soft { background: #fff; }
.rb-inc-red { background: var(--rb-primary); color: #fff; }
.rb-inc-dark { background: var(--rb-dark); color: #fff; }
.rb-inc-red .rb-inc-label, .rb-inc-dark .rb-inc-label, .rb-inc-photo .rb-inc-label { color: rgba(255, 255, 255, .82); }
.rb-inc-red .rb-inc-detail, .rb-inc-dark .rb-inc-detail, .rb-inc-photo .rb-inc-detail { color: rgba(255, 255, 255, .8); }
/* a full photo: the text sits at the bottom on a dark fade, the UI card at the top */
.rb-inc-photo { background: #2A2422; color: #fff; }
.rb-inc-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, color-mix(in srgb, var(--rb-dark-deep) 86%, transparent) 0%, color-mix(in srgb, var(--rb-dark-deep) 45%, transparent) 46%, transparent 72%), linear-gradient(0deg, color-mix(in srgb, var(--rb-dark-deep) 55%, transparent) 0%, transparent 55%); }
.rb-inc-photo .rb-inc-text { inset: auto 32px 30px 32px; max-width: 340px; }
.rb-inc-photo .rb-inc-card { bottom: auto; top: 32px; width: 260px; }
/* photo on the left third, text beside it */
.rb-inc-split { background: #F3ECE4; }
.rb-inc-split .rb-inc-media { inset: 0 auto 0 0; width: 43%; }
.rb-inc-split .rb-inc-text { inset: 30px 32px auto calc(43% + 32px); max-width: 320px; }
.rb-inc-split .rb-inc-card { left: calc(43% - 56px); width: 300px; }
html[dir="rtl"] .rb-inc-card { left: auto; right: 32px; transform: rotate(2deg); }
html[dir="rtl"] .rb-inc-split .rb-inc-media { inset: 0 0 0 auto; }
html[dir="rtl"] .rb-inc-split .rb-inc-text { inset: 30px calc(43% + 32px) auto 32px; }
html[dir="rtl"] .rb-inc-split .rb-inc-card { right: calc(43% - 56px); }
html[dir="rtl"] .rb-inc-photo::after { transform: scaleX(-1); }
@media (max-width: 960px) {
  .rb-inc-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .rb-inc-head .rb-sub { width: auto; }
  .rb-inc-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .rb-inc-tile, .rb-inc-wide { grid-column: auto; height: 380px; border-radius: 24px; }
  .rb-inc-text, .rb-inc-photo .rb-inc-text { inset-inline: 24px; }
  .rb-inc-card { left: 24px; width: min(280px, calc(100% - 48px)); }
  .rb-inc-photo .rb-inc-card { top: 24px; width: 220px; }
  .rb-inc-split .rb-inc-media { width: 36%; }
  .rb-inc-split .rb-inc-text { inset: 26px 24px auto calc(36% + 22px); }
  .rb-inc-split .rb-inc-card { left: calc(36% - 44px); width: 250px; }
}
@media (prefers-reduced-motion: reduce) { .rb-inc-card, .rb-inc-media img { transition: none; } }
/* the order card is the tallest: smaller, so it clears the sentence above it */
.rb-inc-soft .rb-inc-card { width: 250px; }
@media (max-width: 960px) { .rb-inc-soft { height: 430px; } .rb-inc-soft .rb-inc-card { width: 250px; } }
/* /online-ordering: the calculator opens its section, so it needs no gap above it beyond the section's own */
.rb-oo-pricing .rb-calc { margin-top: 0; }

/* "Solutions" on a dark ground (owner, 2026-11-11): it sits between two light sections, before the plans */
.rb-types { background: var(--rb-dark); }
.rb-types .rb-title { color: #fff; }
.rb-types .rb-title em { color: var(--rb-accent); }
.rb-types .rb-eyebrow { color: var(--rb-accent); }
.rb-types .rb-sub { color: rgba(255, 255, 255, .7); }
.rb-types .rb-type { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.rb-types .rb-type.is-open { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 90px -40px rgba(0, 0, 0, .9); }
