/* ReqBird: shared site shell.
   Colour, type, spacing, shape and motion come from the design-system tokens linked in every page.
   The component classes below reproduce the design system's components (_ds_bundle.js) in plain CSS,
   so no page needs React. Styles that only one part of a page needs live next to it (the animated agents: assets/agents/agents.css). */

/* ---------- page ---------- */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { display: flex; flex-direction: column; min-height: 100vh; background: var(--surface-page); }
main { flex: 1 0 auto; }
a { text-decoration: none; }
[id] { scroll-margin-top: 88px; }
.wrap { --wrap-pad: var(--rb-space-8); max-width: var(--rb-page-max); margin: 0 auto; padding-left: var(--wrap-pad); padding-right: var(--wrap-pad); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: -56px; left: 16px; z-index: 30; padding: 10px 16px; border-radius: var(--rb-radius-md); background: var(--rb-navy); color: var(--rb-white); font-size: var(--rb-size-small); }
.skip:focus { top: 12px; color: var(--rb-white); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.bird { flex: none; color: var(--rb-navy); }

/* Components that carry a fixed height or a height of 100% size themselves border-box, as the design system's <button>s do. */
.btn, .tag, .badge, .svc, .notice { box-sizing: border-box; }

/* ---------- design-system components ---------- */
/* Button: components/core/Button.jsx */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--rb-radius-md); font-family: var(--font-core); font-size: 15px; font-weight: var(--rb-weight-semibold); line-height: 1; white-space: nowrap; cursor: pointer; transition: var(--rb-transition-control), transform var(--rb-duration-instant) var(--rb-ease-standard); }
a.btn:active, button.btn:active { transform: translateY(1px); }
.btn--sm { gap: 6px; height: 32px; padding: 0 12px; font-size: 14px; }
.btn--lg { gap: 10px; height: 48px; padding: 0 28px; font-size: 16px; }
.btn--primary, .btn--primary:hover { color: var(--action-primary-fg); }
.btn--primary { background: var(--action-primary-bg); border-color: var(--action-primary-bg); }
.btn--primary:hover { background: var(--action-primary-bg-hover); border-color: var(--action-primary-bg-hover); }
.btn--secondary, .btn--secondary:hover { color: var(--action-secondary-fg); }
.btn--secondary { background: var(--action-secondary-bg); border-color: var(--line-strong); }
.btn--secondary:hover { background: var(--rb-mist); }
.btn--ghost, .btn--ghost:hover { color: var(--action-secondary-fg); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--action-ghost-bg-hover); }
.btn--ghost { border-color: var(--rb-navy); }

/* Badge: components/core/Badge.jsx */
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--rb-radius-sm); background: var(--rb-mist); color: var(--rb-navy); font-family: var(--font-core); font-size: var(--rb-size-caption); font-weight: var(--rb-weight-bold); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.badge--soft { background: var(--surface-accent-soft); }
.badge--danger { background: var(--surface-danger-soft); color: var(--text-danger); }
.badge--accent { background: var(--rb-navy); color: var(--rb-white); }

/* Tag: components/core/Tag.jsx */
.tag { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--rb-radius-md); background: var(--rb-mist); color: var(--rb-navy); font-family: var(--font-core); font-size: var(--rb-size-small); font-weight: var(--rb-weight-medium); white-space: nowrap; }
.tag--on { background: var(--rb-navy); color: var(--rb-white); }
.tag--line { height: 32px; background: var(--rb-white); box-shadow: inset 0 0 0 1px var(--line-hairline); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line-hairline); background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 14px; padding-bottom: 14px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { display: block; width: 158px; height: 30px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link { color: var(--text-body); font-size: var(--rb-size-small); }
.nav__link:hover { color: var(--text-link-hover); text-decoration: underline; text-underline-offset: 3px; }
.nav__link[aria-current] { color: var(--rb-navy); font-weight: var(--rb-weight-semibold); }
.nav__cta-short { display: none; }
.nav__burger { display: none; flex: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line-hairline); border-radius: var(--rb-radius-md); background: transparent; cursor: pointer; }
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--rb-navy); }
.nav__menu { position: absolute; top: 100%; left: 0; right: 0; border-top: 1px solid var(--line-hairline); background: var(--rb-white); box-shadow: var(--rb-shadow-overlay); }
.nav__menu[hidden] { display: none; }
.nav__menu .wrap { display: flex; flex-direction: column; padding-top: 4px; padding-bottom: 12px; }
.nav__menu a { padding: 14px 0; border-bottom: 1px solid var(--line-hairline); color: var(--text-body); font-size: var(--rb-size-body); }
.nav__menu a:last-child { border-bottom: 0; }
.nav__menu a[aria-current] { color: var(--rb-navy); font-weight: var(--rb-weight-semibold); }

/* ---------- breadcrumb ---------- */

/* ---------- hero ---------- */
.hero { padding-top: 88px; padding-bottom: 88px; }
.hero__text { grid-column: 1 / -1; }
.hero__br { display: none; }
@media (min-width: 1051px) { .hero__br { display: inline; } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 32px 56px; }
.eyebrow .badge { margin-left: 8px; vertical-align: middle; }
.eyebrow { margin: 0 0 24px; color: var(--rb-navy); font-family: var(--font-secondary); font-size: var(--rb-size-caption); font-weight: var(--rb-weight-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.hero__title { margin: 0 0 20px; font-size: clamp(30px, 5.2vw, 48px); font-weight: var(--rb-weight-semibold); line-height: var(--rb-leading-snug); }
.hero__lead { max-width: 32em; margin: 0 0 32px; font-size: var(--rb-size-lead); line-height: var(--rb-leading-normal); color: var(--text-body); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero--page { padding-top: 64px; padding-bottom: 72px; }
.hero--page .hero__title { max-width: 18em; font-size: clamp(32px, 5.4vw, 56px); }

/* Six product drawings: the kinds of product the work is about. */

/* ---------- sections ---------- */
.section { padding-top: var(--rb-section-y); }
.section--ruled { position: relative; }
.section--ruled::before { content: ""; position: absolute; top: 0; left: var(--wrap-pad); right: var(--wrap-pad); height: 1px; background: var(--line-hairline); }
.section--last { padding-bottom: var(--rb-section-y); }
.sechead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin: 0 0 40px; }
.sechead__title { margin: 0; font-size: var(--rb-size-h2); font-weight: var(--rb-weight-semibold); }
.sechead__note { color: var(--text-muted); font-family: var(--font-secondary); font-size: var(--rb-size-caption); font-weight: var(--rb-weight-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.rows + .lead, .rows--three + .lead { margin: 40px 0 0; }
a.sechead__note { text-decoration: underline; text-underline-offset: 3px; }
a.sechead__note:hover { color: var(--text-link-hover); }
.lead a { color: var(--rb-navy); text-decoration: underline; text-underline-offset: 3px; }
.lead { max-width: 40em; margin: 0 0 32px; font-size: var(--rb-size-lead); line-height: var(--rb-leading-normal); color: var(--text-body); }

/* Numbered rows: what we do, how it works. */
.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.row { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line-hairline); }
.row__n { padding-top: 3px; color: var(--rb-navy); font-family: var(--font-mono); font-size: var(--rb-size-small); }
.row__title { margin: 0 0 6px; font-size: var(--rb-size-lead); font-weight: var(--rb-weight-semibold); }
.row__text { margin: 0; font-size: var(--rb-size-small); line-height: var(--rb-leading-normal); }
.rows--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.boxes { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.box { padding: 24px; border: 1px solid var(--line-hairline); border-radius: var(--rb-radius-md); background: var(--surface-card); box-shadow: var(--rb-shadow-card); }
.boxes--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.box .svc__list { margin-top: 14px; }
.box__title { margin: 0 0 6px; font-size: var(--rb-size-lead); font-weight: var(--rb-weight-semibold); }
.box__text { margin: 0; font-size: var(--rb-size-small); line-height: var(--rb-leading-normal); }
.rows--boxes { gap: 24px; }
.rows--boxes .row { padding: 24px; border: 1px solid var(--line-hairline); border-radius: var(--rb-radius-md); background: var(--surface-card); box-shadow: var(--rb-shadow-card); }

/* Service cards */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.svc { position: relative; display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 28px; border: 1px solid var(--line-hairline); border-radius: var(--rb-radius-md); background: var(--surface-card); box-shadow: var(--rb-shadow-card); transition: var(--rb-transition-control), transform var(--rb-duration-fast) var(--rb-ease-standard), box-shadow var(--rb-duration-fast) var(--rb-ease-standard); }
.svc:hover { transform: translateY(-2px); box-shadow: var(--rb-shadow-raised); }
.svc__title { margin: 0; font-size: var(--rb-size-h4); font-weight: var(--rb-weight-semibold); }
.svc__text { margin: 0; line-height: var(--rb-leading-normal); }
.svc__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: var(--rb-size-small); }
.svc__list li { display: flex; gap: 10px; }
.svc__list li::before { content: "—"; flex: none; color: var(--rb-navy); }
.svc .svc__list li::before { content: "\2022"; }   /* bullet points in the service cards, dashes elsewhere */
.svc__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--rb-navy); font-weight: var(--rb-weight-semibold); }
.svc__link::after { content: ""; position: absolute; inset: 0; }
.svc:hover .svc__link { text-decoration: underline; text-underline-offset: 3px; }
/* The featured card (AI solutions, in the middle): the light blue of the colour scheme with a navy edge, and 16 px taller than its neighbours. */
.svc--feature { border-color: var(--rb-navy); background: var(--surface-accent-soft); box-shadow: var(--rb-shadow-raised); }
@media (min-width: 901px) { .cards3 > li:nth-child(2) { margin: -16px 0; } }
@supports selector(:has(*)) {
  .svc:has(:focus-visible) { outline: 2px solid var(--rb-navy); outline-offset: 3px; }
  .svc__link:focus-visible { outline: none; }
}

/* Example projects */
.more { margin: 40px 0 0; }


/* About */
.about__head { margin-bottom: 20px; }
.about__lead { max-width: 44em; margin: 0 0 56px; }
.about { max-width: 44em; }
.about__person { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.about__person img { display: block; flex: none; width: 64px; height: 64px; object-fit: cover; background: var(--surface-sunken); }
.about__name { color: var(--text-heading); font-weight: var(--rb-weight-semibold); }
.about__role { color: var(--text-muted); font-size: var(--rb-size-small); }
.deep { margin-top: 64px; }
.deep__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; margin: 0; padding: 0; list-style: none; }
.deep__list li { display: flex; flex-direction: column; gap: 4px; }
.deep__title { color: var(--text-heading); font-weight: var(--rb-weight-semibold); line-height: var(--rb-leading-snug); }
.deep__text { color: var(--text-muted); font-size: var(--rb-size-small); line-height: var(--rb-leading-normal); }
@media (max-width: 900px) { .deep__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .deep { margin-top: 48px; } .deep__list { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.about__quote { margin: 0; font-family: var(--font-display); font-size: var(--rb-size-h4); font-weight: var(--rb-weight-medium); line-height: var(--rb-leading-snug); letter-spacing: var(--rb-tracking-display); color: var(--text-heading); }
.caption { margin: 0 0 24px; color: var(--text-muted); font-family: var(--font-secondary); font-size: var(--rb-size-caption); font-weight: var(--rb-weight-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.dashes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.dashes li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-hairline); font-size: var(--rb-size-small); line-height: var(--rb-leading-normal); }
.dashes li::before { content: "—"; flex: none; color: var(--rb-navy); }

/* Standards and target figures: the block at the bottom of the home page. */

/* Contact on the home page */
.contact { padding-top: var(--rb-section-y); padding-bottom: var(--rb-section-y); text-align: center; }
.contact__title { margin: 0 0 40px; font-size: var(--rb-size-h2); font-weight: var(--rb-weight-semibold); }

/* Closing band on the service pages */
.cta { background: var(--surface-inverse); color: var(--text-on-inverse); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 88px; padding-bottom: 88px; }
.cta__title { max-width: 14em; margin: 0 0 16px; color: var(--text-on-inverse); font-size: var(--rb-size-h2); font-weight: var(--rb-weight-semibold); }
.cta__lead { max-width: 30em; margin: 0 0 32px; color: var(--text-on-inverse-muted); font-size: var(--rb-size-lead); line-height: var(--rb-leading-normal); }
.cta a:focus-visible { outline-color: var(--rb-white); }

/* ---------- the main page: topics ---------- */
/* One long page. Each service is a topic (AI, Engineering, Scale-up) made of blocks; the menu scrolls to the topic. */
:root { --nav-h: 69px; --tracking-label: 0.14em; --text-body: #3b4366; }   /* height of the sticky menu, 73px on phones */
.section[id], .contact[id] { scroll-margin-top: calc(var(--nav-h) + 24px - var(--rb-section-y)); }   /* the heading, not the section's empty top padding, lands under the menu */
.cta[id] { scroll-margin-top: var(--nav-h); }
.topic { padding-bottom: 64px; }
.topic__head { max-width: 54em; margin: 0 0 24px; }
.topic__title { text-wrap: balance; margin: 0 0 20px; max-width: 20em; font-size: clamp(30px, 4.6vw, 48px); font-weight: var(--rb-weight-semibold); line-height: var(--rb-leading-snug); }
.topic__head .lead { margin-bottom: 28px; }
.block { margin-top: 80px; }
.topic__head + .block { margin-top: 56px; }
.block .notice { margin: 32px 0 0; }
.dashes strong { color: var(--text-heading); font-weight: var(--rb-weight-semibold); }
.dashes--one { grid-template-columns: minmax(0, 1fr); }

/* A short invitation under a demo */
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 40px; padding: 28px 32px; border: 1px solid var(--line-hairline); border-radius: var(--rb-radius-md); background: var(--surface-sunken); }
.callout__title { margin: 0 0 6px; font-family: var(--font-display); font-size: var(--rb-size-h4); font-weight: var(--rb-weight-semibold); line-height: var(--rb-leading-snug); letter-spacing: var(--rb-tracking-display); color: var(--text-heading); }
.callout__text { margin: 0; max-width: 36em; line-height: var(--rb-leading-normal); }

/* Two columns: a list on the left, text on the right */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; }
.split .caption { margin-bottom: 16px; }
.split__text { margin: 0 0 16px; max-width: 34em; line-height: var(--rb-leading-normal); }
.split__text a { color: var(--rb-navy); text-decoration: underline; text-underline-offset: 3px; }

/* Placeholder notice */
.notice { display: flex; gap: 12px; align-items: flex-start; max-width: 40em; margin: 0 0 32px; padding: 14px 16px; border: 1px solid var(--line-hairline); border-radius: var(--rb-radius-md); background: var(--surface-sunken); font-size: var(--rb-size-small); line-height: var(--rb-leading-normal); }
.notice p { margin: 0; }
.notice .badge { flex: none; margin-top: -1px; }
.hero .notice { margin: 32px 0 0; }

/* ---------- legal pages (German text, as on the old one-page site) ---------- */
.legal { padding-top: 72px; padding-bottom: 96px; min-height: 70vh; }
.legal__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px 48px; }
.legal__intro { padding-right: 32px; }
.legal__back { display: inline-block; margin-bottom: 24px; color: var(--rb-navy); font-size: var(--rb-size-small); }
.legal__title { margin: 0 0 12px; font-size: var(--rb-size-h2); font-weight: var(--rb-weight-semibold); overflow-wrap: anywhere; hyphens: auto; }
.legal__sub { margin: 0; color: var(--text-muted); font-size: var(--rb-size-small); }
.legal__date { margin: 0 0 8px; color: var(--text-muted); font-family: var(--font-mono); font-size: var(--rb-size-caption); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-content: start; }
.fact { padding: 20px 0; border-top: 1px solid var(--line-hairline); }
.fact__label { margin-bottom: 10px; color: var(--text-muted); font-family: var(--font-secondary); font-size: var(--rb-size-caption); font-weight: var(--rb-weight-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.fact p, .prose p { margin: 0 0 14px; font-size: var(--rb-size-small); line-height: var(--rb-leading-normal); }
.fact p:last-child { margin-bottom: 0; }
.fact a, .prose p a { color: var(--rb-navy); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.fact strong, .prose strong { color: var(--text-heading); font-weight: var(--rb-weight-semibold); }
.prose { max-width: 70ch; }
.prose h2 { margin: 48px 0 20px; padding-top: 28px; border-top: 1px solid var(--line-hairline); font-size: var(--rb-size-h4); font-weight: var(--rb-weight-semibold); }
.prose h3 { margin: 24px 0 8px; font-family: var(--font-core); font-size: var(--rb-size-body); font-weight: var(--rb-weight-semibold); letter-spacing: 0; }
.prose .box { margin: 0 0 14px; padding: 20px; border: 1px solid var(--line-hairline); background: var(--surface-sunken); }
.prose .box p { margin: 0 0 12px; }
.prose .box p:last-child { margin-bottom: 0; }

/* ---------- 404 ---------- */
.lost { padding-top: 96px; padding-bottom: 120px; }
.lost__title { margin: 0 0 16px; font-size: clamp(32px, 5vw, 56px); font-weight: var(--rb-weight-semibold); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-hairline); }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; padding-bottom: 32px; color: var(--text-muted); font-size: var(--rb-size-small); }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { display: block; width: 33px; height: 24px; }
.footer__tagline { color: var(--rb-navy); font-family: var(--font-secondary); font-size: var(--rb-size-caption); font-weight: var(--rb-weight-bold); letter-spacing: var(--rb-tracking-tagline); text-transform: uppercase; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a { color: inherit; }

/* ---------- smaller screens ---------- */
@media (max-width: 1050px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .js .nav__link { display: none; }
  .js .nav__burger { display: inline-flex; }
  .nav__bar, .nav__links { flex-wrap: wrap; }          /* without JavaScript the links wrap under the logo */
  .nav__links { gap: 8px 20px; }
  html:not(.js) .nav { position: static; }             /* and the tall bar then scrolls away instead of covering the screen */
  .cards3, .rows--three, .boxes--two { grid-template-columns: minmax(0, 1fr); }
  .rows, .dashes { grid-template-columns: minmax(0, 1fr); }
  .legal__grid, .split { grid-template-columns: minmax(0, 1fr); }
  .legal__intro { padding-right: 0; }
}
@media (max-width: 640px) {
  .wrap { --wrap-pad: 20px; }
  .hero { padding-top: 40px; padding-bottom: 48px; }
  .hero--page { padding-top: 40px; padding-bottom: 48px; }
  .hero__lead, .lead, .cta__lead { font-size: 18px; }
  .sechead__title, .contact__title { font-size: var(--rb-size-h3); }
  .section { padding-top: 64px; }
  :root { --nav-h: 73px; }
  .section[id], .contact[id] { scroll-margin-top: calc(var(--nav-h) + 24px - 64px); }
  .topic { padding-bottom: 40px; }
  .block { margin-top: 56px; }
  .topic__head + .block { margin-top: 40px; }
  .callout { padding: 22px 20px; }
  .cta__title { font-size: var(--rb-size-h3); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
  .nav__links .btn { height: 44px; padding: 0 16px; }
  .nav__burger { width: 44px; height: 44px; }
  .contact { padding-top: 64px; padding-bottom: 64px; }
  .svc { padding: 24px; }
}
@media (max-width: 480px) {
  .nav__bar { gap: 16px; }
}
@media (max-width: 400px) {
  .nav__logo img { width: 137px; height: 26px; }
}
@media (max-width: 380px) {                              /* logo, Contact and the burger stay on one row at 320 px */
  .nav__bar, .nav__links { gap: 8px; }
  .nav__logo img { width: 132px; height: 25px; }
  .nav__links .btn { padding: 0 12px; }
}

/* ---------- the word band: one small, quiet line of keywords ---------- */
/* The same soft blue and muted blue mono text as the requirement numbers in the agent scenes (REQ-02). */
.words { display: flex; align-items: stretch; background: var(--surface-accent-soft); color: var(--text-muted); }
.words__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.words__inner { display: flex; width: max-content; }
.words__track { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
.words__track li { padding: 9px 22px; border-right: 1px solid rgba(30, 39, 97, .14); font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: .02em; line-height: 1.2; white-space: nowrap; }
.words__pause { flex: none; align-self: center; height: 22px; margin: 0 14px; padding: 0 10px; border: 1px solid rgba(30, 39, 97, .3); border-radius: var(--rb-radius-sm); background: transparent; color: var(--text-muted); font-family: var(--font-mono); font-size: 11px; cursor: pointer; }
.words__pause:hover { background: rgba(30, 39, 97, .08); }
.words__pause:focus-visible { outline: 2px solid var(--rb-navy); outline-offset: 2px; }
.words__pause[hidden] { display: none; }
/* Moving only with JavaScript (the pause button needs it) and only if the visitor has not asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .js .words__inner { animation: words-drift 200s linear infinite; }
  .js .words:hover .words__inner, .js .words--paused .words__inner { animation-play-state: paused; }
}
@keyframes words-drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .words__inner { display: block; width: auto; }
  .words__track { flex-wrap: wrap; padding: 4px 14px; }
  .words__copy { display: none; }
}
html:not(.js) .words__inner { display: block; width: auto; }
html:not(.js) .words__track { flex-wrap: wrap; padding: 4px 14px; }
html:not(.js) .words__copy { display: none; }

/* ---------- How it works: the steps in a row ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding-top: 24px; border-top: 1px solid var(--line-hairline); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 3px; background: var(--rb-navy); }
.step__n { display: block; margin-bottom: 12px; color: var(--rb-navy); font-family: var(--font-mono); font-size: var(--rb-size-small); }
.step__title { margin: 0 0 8px; font-size: var(--rb-size-lead); font-weight: var(--rb-weight-semibold); }
.step__text { margin: 0; font-size: var(--rb-size-small); line-height: var(--rb-leading-normal); }
@media (max-width: 1050px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; } }
@media (max-width: 640px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; } }


/* The keyword band is left out on phones. */
@media (max-width: 640px) { .words { display: none; } }
