/* ══════════════════════════════════════════════════════════════════════
   Rabosh marketing site — design tokens
   Brand kit (vv/rabosh/design/rabosh-brand-kit): walnut #4A3328 strokes and
   wordmark in light, cream #EFE3CF in dark, amber #E39A3B for "today's entry".
   ══════════════════════════════════════════════════════════════════════ */
:root {
  --rb-walnut: #4A3328;
  --rb-cream: #EFE3CF;
  --rb-amber: #E39A3B;          /* decorative only — 2.4:1 on white, never body text */
  --rb-amber-ink: #A9661A;      /* amber that passes AA as text on the light surfaces */
  --rb-amber-light: #FBF0DF;

  --rb-primary: var(--rb-walnut);     /* buttons, active tabs */
  --rb-primary-hover: #3A2720;
  --rb-on-primary: var(--rb-cream);
  --rb-primary-light: #F3EBDF;        /* tinted panels, ghost hover */
  --rb-accent-green: #2E8B57;

  --rb-ink: #2B1D16;                  /* darker than walnut for long text */
  --rb-ink-soft: #5B463A;
  --rb-ink-muted: #7E6A5C;            /* 4.6:1 on white */
  --rb-surface: #FFFDF9;              /* warm white */
  --rb-surface-muted: #F6F0E6;        /* cream-tinted grouped background */
  --rb-card: #FFFFFF;
  --rb-border: #E7DCCB;
  --rb-radius: 18px;
  --rb-shadow: 0 1px 2px rgba(74, 51, 40, 0.04), 0 10px 26px -14px rgba(74, 51, 40, 0.18);
  --rb-max: 1160px;
  color-scheme: light;
}

/* Dark: deep walnut-black, cream ink, amber accents. Stamped on <html> before
   first paint by js/theme-init.js (blocking, in <head>); the header toggle persists it. */
:root[data-rb-theme="dark"] {
  --rb-amber-ink: #F0B35F;
  --rb-amber-light: rgba(227, 154, 59, 0.16);
  --rb-primary: var(--rb-cream);
  --rb-primary-hover: #FFF6E6;
  --rb-on-primary: var(--rb-walnut);
  --rb-primary-light: rgba(239, 227, 207, 0.10);
  --rb-accent-green: #5FD08A;
  --rb-ink: #F3EADB;
  --rb-ink-soft: #D6C7B2;
  --rb-ink-muted: #A8977F;
  --rb-surface: #16100D;
  --rb-surface-muted: #211915;
  --rb-card: #241C17;                 /* cards must lift off the page */
  --rb-border: #3B2E27;
  --rb-shadow: 0 1px 2px rgba(0,0,0,0.4), 0 10px 26px -14px rgba(0,0,0,0.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
/* The `hidden` attribute only carries a user-agent `display: none`, and ANY author
   rule that sets `display` beats it regardless of specificity. `.assist-panel`
   (display: flex) therefore sat permanently open in v1.1.0.0/1.1.0.1 until a
   per-class `[hidden]` rule was added. Since v1.4.1.0 this one global rule covers
   every element toggled with `hidden` (same as FlashOrder.Site) - keep it above
   everything that sets `display`. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', system-ui, sans-serif;
  color: var(--rb-ink);
  background: var(--rb-surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: var(--rb-max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--rb-primary);
  color: var(--rb-on-primary);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; color: var(--rb-ink); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; color: var(--rb-ink-soft); }

.eyebrow {
  color: var(--rb-amber-ink);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 .6em;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }
h2.center { max-width: 680px; }

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .7em 1.3em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--rb-primary); color: var(--rb-on-primary); box-shadow: var(--rb-shadow); }
.btn-primary:hover { background: var(--rb-primary-hover); }
.btn-ghost { background: var(--rb-card); color: var(--rb-ink); border-color: var(--rb-border); }
.btn-ghost:hover { background: var(--rb-primary-light); border-color: var(--rb-border); }
.btn-lg { padding: .85em 1.7em; font-size: 1rem; }

/* ══════════════════════════════════════════════════════════════════════
   Header
   ══════════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--rb-surface) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rb-border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .5em;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--rb-ink);
  margin-right: auto;
}
/* version badge next to the wordmark, the way the app shows its own */
.brand-version {
  font-size: .7rem;
  font-weight: 600;
  color: var(--rb-ink-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  align-self: flex-end;
  margin: 0 0 .25em .1em;
}
@media (max-width: 400px) { .brand-version { display: none; } }
/* the header carries the logo lockup (mark + wordmark) from assets/logo-{light,dark}.svg,
   swapped by theme exactly like the footer (.brand--logo rules below); the SVG is 268x64
   with the artwork on rows 29-71, so 36px tall lands the wordmark on the nav baseline */
.site-header .brand--logo img { height: 32px; width: auto; }
.site-header .brand-version { margin-bottom: .35em; }

.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  text-decoration: none;
  color: var(--rb-ink-soft);
  font-weight: 600;
  font-size: .95rem;
}
.main-nav a:hover { color: var(--rb-amber-ink); }

.header-cta { display: flex; gap: 10px; align-items: center; }

.lang-select select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--rb-surface-muted) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 4.5 6 8l3-3.5' fill='none' stroke='%237E6A5C' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 8px center;
  background-size: 12px;
  border: 1px solid var(--rb-border);
  border-radius: 999px;
  color: var(--rb-ink);
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  padding: .5em 1.9em .5em .9em;
  cursor: pointer;
}
.lang-select select:hover { border-color: var(--rb-amber); color: var(--rb-amber-ink); }
.lang-select select:focus-visible { outline: 2px solid var(--rb-amber); outline-offset: 2px; }
/* the chevron is a data: URI, so its colour can't inherit — restate it for dark */
:root[data-rb-theme="dark"] .lang-select select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 4.5 6 8l3-3.5' fill='none' stroke='%23A8977F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* ── theme toggle — segmented control: muted track, lifted thumb ── */
.theme-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  border-radius: 999px;
  background: var(--rb-surface-muted);
  border: 1px solid var(--rb-border);
}
.theme-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--rb-ink-muted);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.theme-opt svg { width: 15px; height: 15px; }
.theme-opt:hover { color: var(--rb-ink); }
.theme-opt[aria-pressed="true"] {
  background: var(--rb-card);
  color: var(--rb-amber-ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
:root[data-rb-theme="dark"] .theme-opt[aria-pressed="true"] {
  background: #3B2E27;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.theme-opt:focus-visible { outline: 2px solid var(--rb-amber); outline-offset: 2px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--rb-border);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--rb-ink); display: block; }

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; height: auto; min-height: 68px; gap: 10px; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  /* Theme + language stay reachable without opening the menu; tighten them so
     brand, both controls and the burger still share one row at 375px. */
  .lang-select { margin-left: auto; }
  .theme-opt { width: 26px; }
  .theme-opt svg { width: 14px; height: 14px; }
  .lang-select select { padding: .45em 1.7em .45em .75em; }
  body.nav-open .main-nav,
  body.nav-open .header-cta {
    display: flex;
    width: 100%;
    flex-basis: 100%;
  }
  body.nav-open .main-nav {
    flex-direction: column;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--rb-border);
  }
  body.nav-open .header-cta { flex-wrap: wrap; padding-bottom: 16px; }
}
@media (max-width: 400px) {
  .brand { font-size: 1.05rem; }
  .header-inner { gap: 8px; }
  .site-header .brand--logo img { height: 26px; }
}
/* Very narrow phones (≤360px): shrink the lockup further so brand, theme, language
   and the burger still share one row. */
@media (max-width: 360px) {
  .site-header .brand--logo img { height: 22px; }
}

/* ══════════════════════════════════════════════════════════════════════
   Hero
   ══════════════════════════════════════════════════════════════════════ */
.hero {
  padding: 76px 0 48px;
  background: linear-gradient(180deg, var(--rb-surface-muted) 0%, var(--rb-surface) 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero-sub { font-size: 1.08rem; max-width: 48ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 22px; }
.hero-actions.center { justify-content: center; }
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 0;
  margin: 0;
  color: var(--rb-ink-muted);
  font-size: .88rem;
}
.hero-trust li { display: flex; align-items: center; gap: .4em; }
.hero-trust li::before { content: "✓"; color: var(--rb-amber-ink); font-weight: 700; }

/* hero visual mock — a posted invoice with its G/L register and the VAT files */
.hero-visual { position: relative; min-height: 440px; }
.mock-doc {
  width: 280px;
  background: var(--rb-card);
  border: 1px solid var(--rb-border);
  border-radius: 14px;
  box-shadow: 0 20px 50px -20px rgba(74, 51, 40, 0.35);
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 18px 18px 16px;
  font-size: .78rem;
  color: var(--rb-ink-soft);
}
.mock-doc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 800;
  color: var(--rb-ink);
  font-size: .9rem;
  letter-spacing: .04em;
}
.mock-doc-no { font-variant-numeric: tabular-nums; color: var(--rb-amber-ink); }
.mock-doc-meta { font-size: .68rem; color: var(--rb-ink-muted); margin: 4px 0 12px; }
.mock-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--rb-border);
  font-variant-numeric: tabular-nums;
}
.mock-total { display: flex; justify-content: space-between; padding: 6px 0 0; color: var(--rb-ink-muted); font-variant-numeric: tabular-nums; }
.mock-total--grand { color: var(--rb-ink); font-weight: 800; font-size: .9rem; }
.mock-pay { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--rb-border); }
.mock-qr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  width: 34px; height: 34px;
  padding: 3px;
  border: 1.5px solid var(--rb-ink);
  border-radius: 4px;
  flex: none;
}
.mock-qr i { background: var(--rb-ink); border-radius: 1px; }
.mock-qr i:nth-child(5) { background: var(--rb-amber); }
.mock-pay-text { font-size: .64rem; line-height: 1.35; color: var(--rb-ink-muted); font-variant-numeric: tabular-nums; }
.mock-cta {
  width: 100%;
  margin-top: 14px;
  padding: .7em;
  border: none;
  border-radius: 10px;
  background: var(--rb-primary);
  color: var(--rb-on-primary);
  font-weight: 700;
  font-size: .82rem;
}
.mock-ticket {
  position: absolute;
  width: 210px;
  background: var(--rb-card);
  border: 1px solid var(--rb-border);
  border-radius: 12px;
  box-shadow: var(--rb-shadow);
  padding: 12px 14px;
  font-size: .74rem;
}
.mock-ticket-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-weight: 700;
  color: var(--rb-ink);
  margin-bottom: 8px;
}
.mock-pulse { color: var(--rb-accent-green); font-size: .7rem; font-weight: 700; white-space: nowrap; }
.mock-ticket-row { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; color: var(--rb-ink-soft); font-variant-numeric: tabular-nums; }
.mock-dt { color: var(--rb-ink); font-weight: 700; }
.mock-ct { color: var(--rb-ink-muted); }
.mock-ok { color: var(--rb-accent-green); font-weight: 700; }
/* The invoice sits left; the two tickets stack down its right edge so they only
   ever cover the card's margin, never the number or the amounts. */
.mock-doc { margin: 0 auto 0 8px; }
.mock-ticket--gl { top: 18px; right: 0; z-index: 3; transform: rotate(3deg); }
.mock-ticket--vat { bottom: 0; right: 28px; z-index: 1; transform: rotate(-3deg); }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; max-width: 560px; margin: 0 auto; }
}
/* Phones: no room to overlap — stack the three cards in flow instead. */
@media (max-width: 600px) {
  .hero-visual { min-height: 0; display: grid; gap: 14px; }
  .mock-doc { margin: 0 auto; }
  .mock-ticket { position: static; transform: none; width: 280px; margin: 0 auto; }
}

/* ══════════════════════════════════════════════════════════════════════
   Stat strip
   ══════════════════════════════════════════════════════════════════════ */
.stat-strip {
  background: var(--rb-surface-muted);
  border-top: 1px solid var(--rb-border);
  border-bottom: 1px solid var(--rb-border);
  padding: 34px 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--rb-amber-ink);
}
.stat span { font-size: .82rem; color: var(--rb-ink-muted); }
@media (max-width: 700px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ══════════════════════════════════════════════════════════════════════
   Sections
   ══════════════════════════════════════════════════════════════════════ */
.section { padding: 88px 0; }
.section-muted { background: var(--rb-surface-muted); }

/* compare */
.compare h2 { max-width: 760px; margin-left: auto; margin-right: auto; text-align: center; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.compare-col {
  border-radius: var(--rb-radius);
  padding: 28px 26px;
  border: 1px solid var(--rb-border);
}
.compare-old { background: var(--rb-surface-muted); }
.compare-new { background: var(--rb-amber-light); border-color: color-mix(in srgb, var(--rb-amber) 40%, var(--rb-border)); }
.compare-col h3 { margin-bottom: .8em; }
.compare-col ul { margin: 0; padding-left: 1.2em; color: var(--rb-ink-soft); }
.compare-col li { margin-bottom: .6em; }
.compare-new h3 { color: var(--rb-amber-ink); }
@media (max-width: 760px) { .compare-grid { grid-template-columns: 1fr; } }

/* feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.feature-card {
  background: var(--rb-card);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  padding: 26px 24px;
  box-shadow: 0 1px 2px rgba(74, 51, 40, 0.04);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--rb-amber-light);
  color: var(--rb-amber-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card p { font-size: .93rem; margin: 0; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

/* modules (tabbed like the roles block on the sibling site) */
.role-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 40px 0 32px;
}
.role-tab {
  border: 1px solid var(--rb-border);
  background: var(--rb-card);
  color: var(--rb-ink-soft);
  padding: .55em 1.1em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
}
.role-tab.is-active { background: var(--rb-primary); border-color: var(--rb-primary); color: var(--rb-on-primary); }
.role-panels { max-width: 680px; margin: 0 auto; text-align: center; min-height: 150px; }
.role-panel { display: none; }
.role-panel.is-active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.role-panel p { font-size: 1.02rem; }

/* how it works */
.steps {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  background: var(--rb-card);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  padding: 26px 22px;
  position: relative;
  box-shadow: 0 1px 2px rgba(74, 51, 40, 0.04);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--rb-amber);
  color: var(--rb-walnut);
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: 14px;
}
.step p { font-size: .9rem; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* screens */
.screen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.screen {
  margin: 0;
  background: var(--rb-card);
  border: 1px solid var(--rb-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--rb-shadow);
}
.screen img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--rb-border); }
.screen figcaption { padding: 12px 14px; font-size: .84rem; color: var(--rb-ink-soft); font-weight: 500; }
@media (max-width: 980px) { .screen-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .screen-grid { grid-template-columns: 1fr; } }

/* trust */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.trust-list { list-style: none; padding: 0; margin: 0; }
.trust-list li {
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--rb-border);
  position: relative;
  color: var(--rb-ink-soft);
  font-weight: 500;
}
.trust-list li:last-child { border-bottom: none; }
.trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 14px;
  color: var(--rb-amber-ink);
  font-weight: 700;
}
@media (max-width: 800px) { .trust-grid { grid-template-columns: 1fr; } }

/* CTA banner — walnut with an amber notch of light */
.cta-banner {
  background: linear-gradient(160deg, #3A2720, #4A3328 55%, #7A5238);
  color: var(--rb-cream);
  padding: 74px 0;
  text-align: center;
}
:root[data-rb-theme="dark"] .cta-banner {
  background: linear-gradient(160deg, #2A1C16, #4A3328 55%, #8A5A3A);
}
.cta-banner-inner { max-width: 620px; margin: 0 auto; }
.cta-banner h2 { color: var(--rb-cream); }
.cta-banner p { color: rgba(239, 227, 207, 0.85); margin-bottom: 28px; }
.cta-banner .btn-primary { background: var(--rb-amber); color: var(--rb-walnut); }
.cta-banner .btn-primary:hover { background: #F0B15E; }

/* FAQ */
.faq-list { max-width: 720px; margin: 44px auto 0; }
.faq-item { border-bottom: 1px solid var(--rb-border); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rb-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--rb-amber-ink);
  transition: transform .2s ease;
  margin-left: 12px;
}
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-a p { padding-bottom: 18px; margin: 0; }

/* contact */
.contact-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.contact-inner .hero-sub { margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════════════════════════════════
   Footer
   ══════════════════════════════════════════════════════════════════════ */
.site-footer { border-top: 1px solid var(--rb-border); padding: 36px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand--logo img { height: 44px; width: auto; }
.brand--logo .logo-dark { display: none; }
:root[data-rb-theme="dark"] .brand--logo .logo-light { display: none; }
:root[data-rb-theme="dark"] .brand--logo .logo-dark { display: block; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: var(--rb-ink-soft); font-size: .88rem; font-weight: 600; }
.footer-nav a:hover { color: var(--rb-amber-ink); }
.footer-copy { margin: 0; color: var(--rb-ink-muted); font-size: .82rem; width: 100%; text-align: center; }
.site-version { margin-left: .6em; opacity: .55; font-size: .72rem; font-variant-numeric: tabular-nums; }
@media (min-width: 700px) { .footer-copy { width: auto; text-align: right; } }

/* ── notes under the CTAs ─────────────────────────────────────────────── */
.demo-note {
  font-size: .82rem;
  color: var(--rb-ink-muted);
  max-width: 46ch;
  margin: -8px 0 20px;
}
.demo-note.center { margin-left: auto; margin-right: auto; text-align: center; }
.cta-note { font-size: .82rem; color: rgba(239, 227, 207, 0.7); margin: 16px 0 0; }
.screens-cta { margin: 36px 0 0; }

/* ── Chat assistant widget ─────────────────────────────────────────────── */
.assist-bubble {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 52px; height: 52px; border: none; border-radius: 50%;
  background: var(--rb-primary); color: var(--rb-on-primary); font-size: 1.45rem;
  cursor: pointer; box-shadow: var(--rb-shadow);
  transition: transform .15s ease, background .15s ease;
}
.assist-bubble:hover { background: var(--rb-primary-hover); }
.assist-bubble:active { transform: scale(.94); }
/* The panel is toggled with the `hidden` property; the global `[hidden]` rule at the top
   keeps it closed despite `display: flex` below. */
.assist-panel {
  position: fixed; right: 18px; bottom: 84px; left: 18px; z-index: 60;
  max-width: 380px; margin-left: auto; max-height: 70vh;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--rb-card); border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius); box-shadow: var(--rb-shadow);
}
.assist-head {
  background: var(--rb-primary); color: var(--rb-on-primary);
  padding: .7rem 1rem; font-weight: 700; font-size: .92rem;
}
.assist-body {
  flex: 1; overflow-y: auto; padding: .75rem;
  display: flex; flex-direction: column; gap: .5rem; min-height: 130px;
  font-size: .9rem; line-height: 1.45;
}
.assist-msg {
  max-width: 85%; padding: .5rem .75rem; border-radius: 16px;
  white-space: pre-wrap; overflow-wrap: break-word;
}
.assist-assistant { align-self: flex-start; background: var(--rb-surface-muted); color: var(--rb-ink); }
.assist-user { align-self: flex-end; background: var(--rb-primary); color: var(--rb-on-primary); }
.assist-foot { display: flex; gap: .5rem; padding: .55rem; border-top: 1px solid var(--rb-border); }
.assist-input {
  flex: 1; border: 1px solid var(--rb-border); border-radius: 12px;
  padding: .5rem .75rem; font-size: .9rem; font-family: inherit;
  background: var(--rb-surface); color: var(--rb-ink); outline: none;
}
.assist-input:focus { border-color: var(--rb-amber); }
.assist-send {
  border: none; border-radius: 12px; background: var(--rb-primary); color: var(--rb-on-primary);
  padding: .5rem .95rem; font-size: .9rem; cursor: pointer;
}
.assist-send:disabled { opacity: .4; cursor: default; }
