/* Generated by scripts/make_wp_theme.py from rs-theme.css, rs-site.css, rs-wp.css.
 * Edit the parts, not this file. */

/* ---- rs-theme.css ---- */
/* renderStacks - shared theme layer.
   ---------------------------------------------------------------------------
   Loaded by every page of the site AND by the documentation, so the top bar
   and the footer are identical in both.  Everything here is scoped to an
   .rs-* class so it can sit next to Material for MkDocs without either side
   restyling the other.

   The palette is taken from the logo itself - the five layer edges, sampled
   off Logo..png:

       #ffbe13  #fb5500  #ff006e  #8337ec  #3a86ff

   That spectrum is the whole identity.  It appears at full strength only as a
   hairline under the solid header and as the rule under section headings -
   used sparingly it reads as a brand, used everywhere it reads as a toy.

   The surfaces are the same five hues taken down to S 44% / L 8%.  The hero
   keeps its own base a few steps up, so that every band below it is darker
   than the darkest pixel of the hero's wash and the page only ever settles
   as you scroll - it never brightens again.
   --------------------------------------------------------------------------- */

:root {
  /* brand spectrum, bottom of the stack to the top */
  --rs-blue:   #3a86ff;
  --rs-purple: #8337ec;
  --rs-pink:   #ff006e;
  --rs-orange: #fb5500;
  --rs-yellow: #ffbe13;
  --rs-spectrum: linear-gradient(90deg,
      var(--rs-blue), var(--rs-purple), var(--rs-pink),
      var(--rs-orange), var(--rs-yellow));

  /* the orange carries over from the old site, so links keep their colour */
  --rs-accent: var(--rs-orange);

  /* the spectrum again, as band tints - each hue at S 44% / L 8% */
  --rs-tint-blue:   #0b121d;
  --rs-tint-purple: #140b1d;
  --rs-tint-pink:   #1d0b13;
  --rs-tint-orange: #1d110b;
  --rs-tint-yellow: #1d190b;

  --rs-hero:   #0d1422;   /* the hero's base, under the two colour washes */
  --rs-ink:    #070b12;   /* deepest - the bar, the dark sections, the footer */
  --rs-ink-2:  #101828;   /* reserved for Material's lighter primary */
  --rs-ink-3:  #1e2a42;   /* hairlines on dark */

  --rs-band:    var(--rs-tint-blue);  /* an ordinary section band */
  --rs-band-2:  #090e18;              /* the alternating band, a step down */
  --rs-surface: #131d33;              /* a tile, on any band */
  /* The one card that is not a tile. The logo's purple band at full
     strength - the colour --rs-purple already holds. Named for the job,
     so the hue can be tried again. */
  --rs-surface-quote: var(--rs-purple);
  /* A tile's corner, in one place.  0 is a square corner: the site draws
     its cards as cut rectangles, and a radius here rounds every one of
     them at once without touching the pills, the dots or the buttons,
     which are round on purpose and carry their own values. */
  --rs-radius: 0;
  --rs-text:    #e6ebf5;
  --rs-muted:   #94a2bd;
  --rs-line:    var(--rs-ink-3);

  /* The focus ring, in one place. The logo's yellow band: the one colour
     no link, button or border on a dark section already uses, so a ring is
     never mistaken for the thing it is around. */
  --rs-focus: var(--rs-yellow);
  --rs-focus-w: 3px;

  --rs-nav-h: 64px;
  --rs-wrap:  1000px;

  --rs-display: "Dosis", "Trebuchet MS", sans-serif;
  /* Someone else talking: a technical grotesque, so a quote changes
     voice without changing site. Testimonials only. */
  --rs-quote: "Space Grotesk", "Trebuchet MS", sans-serif;
  --rs-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Plex Mono is drawn to the same skeleton as Plex Sans, so the MAXScript in
     the documentation and the prose around it come from one family rather
     than from whatever monospace the reader's machine happens to have. */
  --rs-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ------------------------------------------------------------------ bar -- */

.rs-nav {
  position: relative;
  z-index: 40;
  background: var(--rs-ink);
  font-family: var(--rs-display);
  -webkit-font-smoothing: antialiased;
}

/* the spectrum hairline - the only place the full gradient is used at width */
.rs-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--rs-spectrum);
  opacity: 1;
  transition: opacity .25s ease;
}

.rs-nav__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: var(--rs-nav-h);
  max-width: var(--rs-wrap);
  margin: 0 auto;
  padding: 0 25px;
}

/* ---------------------------------------------------------------- brand -- */

.rs-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none;
  color: inherit;
}

.rs-nav__mark {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.rs-nav__name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  white-space: nowrap;
}

.rs-nav__name b {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.rs-nav__name span {
  color: rgba(255, 255, 255, .5);
  font-size: 12.8px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- links -- */

/* Links and the call to action travel together: on a narrow screen the whole
   group becomes the drop-down panel, so Buy/Download is still reachable rather
   than being dropped the moment the menu collapses. */
.rs-nav__menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.rs-nav__links {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-nav__links a:not(.rs-nav__cta) {
  display: block;
  position: relative;
  padding: 10px 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, .74);
  font-size: 18.4px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}

.rs-nav__links a:not(.rs-nav__cta):hover,
.rs-nav__links a:not(.rs-nav__cta):focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.rs-nav__links a:focus-visible {
  outline: var(--rs-focus-w, 3px) solid var(--rs-focus, #ffbe13);
  outline-offset: 1px;
}

/* the section you are in: a short spectrum underline rather than a filled
   block, so it marks the page without becoming the loudest thing in the bar */
.rs-nav__links a:not(.rs-nav__cta)[aria-current]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3.6px;
  height: 2px;
  border-radius: 2px;
  background: var(--rs-spectrum);
}

.rs-nav__links a[aria-current] { color: #fff; }

/* the one call to action in the bar */
.rs-nav__cta {
  display: inline-block;
  flex: 0 0 auto;
  margin: 0 7px;
  padding: 9.2px 20px;
  border-radius: 7px;
  background: var(--rs-accent);
  color: #fff;
  font-family: var(--rs-display);
  font-size: 18.4px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: filter .15s ease, transform .15s ease;
}

.rs-nav__cta:hover,
.rs-nav__cta:focus-visible { filter: brightness(1.12); box-shadow: 0 0 0 2px var(--rs-yellow, #ffbe13); }
.rs-nav__cta:focus-visible { outline: var(--rs-focus-w, 3px) solid var(--rs-focus, #ffbe13);
  outline-offset: 2px; }
.rs-nav__cta:active { transform: translateY(1px); }

/* ------------------------------------------------------- blended header -- */

/* On the landing page the bar floats over the hero with nothing behind it -
   no plate, no shadow, no border.  It only becomes a surface once the hero has
   scrolled past, which is the point where it would otherwise sit on top of
   body copy and stop being readable. */
.rs-nav--overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  transition: background-color .3s ease, backdrop-filter .3s ease;
}

.rs-nav--overlay::after { opacity: 0; }

.rs-nav--overlay .rs-nav__cta {
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.rs-nav--overlay .rs-nav__cta:hover {
  background: rgba(255, 255, 255, .17);
  filter: none;
}

.rs-nav--overlay.is-solid {
  background: rgba(21, 22, 26, .93);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
}

.rs-nav--overlay.is-solid::after { opacity: 1; }

.rs-nav--overlay.is-solid .rs-nav__cta {
  background: var(--rs-accent);
  box-shadow: none;
}

/* ----------------------------------------------------------- small menu -- */

.rs-nav__toggle {
  display: none;
  margin-left: auto;
  padding: 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  line-height: 0;
}

.rs-nav__toggle:hover { background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 2px var(--rs-yellow, #ffbe13); }
.rs-nav__toggle:focus-visible { outline: var(--rs-focus-w, 3px) solid var(--rs-focus, #ffbe13);
  outline-offset: 2px; }
.rs-nav__toggle svg { width: 24px; height: 24px; fill: currentColor; }

/* The bar collapses to the toggle before it runs out of room.  At the fixed
   px sizes the links need about 1066px for brand + links + CTA, so the old
   62em (992px) left a band where the desktop bar was still shown and the
   CTA spilled off the right edge. */
@media (max-width: 68em) {
  .rs-nav__inner { gap: 15px; }
  .rs-nav__toggle { display: block; }

  .rs-nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 0;
    padding: 8px 14px 18px;
    background: var(--rs-ink);
    border-top: 1px solid var(--rs-ink-3);
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7);
  }

  .rs-nav.is-open .rs-nav__menu { display: flex; }
  .rs-nav.is-open { background: var(--rs-ink); }
  .rs-nav.is-open::after { opacity: 1; }

  .rs-nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .rs-nav__links a:not(.rs-nav__cta) { padding: 13px 11px; border-radius: 0; }
  .rs-nav__links a:not(.rs-nav__cta)[aria-current]::after { left: 11px; right: auto; width: 32px; }

  .rs-nav__cta,
  .rs-nav--overlay .rs-nav__cta {
    display: block;
    margin: 8px 0;
    background: var(--rs-accent);
    box-shadow: none;
    text-align: center;
  }

  .rs-nav__name span { display: none; }
}

/* -------------------------------------------------------------- footer -- */

.rs-footer {
  background: var(--rs-ink);
  color: rgba(255, 255, 255, .62);
  font-family: var(--rs-body);
  font-size: 18px;
}

.rs-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
  max-width: var(--rs-wrap);
  margin: 0 auto;
  padding: 40px 25px;
}

.rs-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-family: var(--rs-display);
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
}

.rs-footer__brand img { width: 26px; height: 26px; }

.rs-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin: 0 auto 0 0;
  padding: 0;
  list-style: none;
}

.rs-footer a { color: inherit; text-decoration: none; }
.rs-footer__links a:hover { color: #fff; text-decoration: underline; }
.rs-footer__legal { margin: 0; color: rgba(255, 255, 255, .42); font-size: 16.4px; }

@media (max-width: 48em) {
  .rs-footer__inner { flex-direction: column; align-items: flex-start; }
  .rs-footer__links { margin: 0; }
}

/* ---- rs-site.css ---- */
/* renderStacks - site pages.
   ---------------------------------------------------------------------------
   The landing page and the ordinary content pages.  The documentation does not
   load this file; it only loads rs-theme.css, so Material for MkDocs keeps
   styling its own body and nothing here can reach it.
   --------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

/* The site has one colour scheme, and it is dark.  This tells the browser,
   so the scrollbars, the form controls and the first paint agree with the
   page.  header.php gives the same value in a meta tag, which the browser
   reads before this file arrives. */
:root { color-scheme: dark; }

/* A frame keeps the light scheme it had before the rule above.  When a frame
   and the document inside it have different schemes, the browser paints an
   opaque canvas behind that document.  The Paddle checkout is a transparent
   frame over this page, and it must stay transparent. */
.rs-site iframe { color-scheme: light; }

html { scroll-behavior: smooth; }
/* The site bar is fixed on the landing page, so a section jumped to from an
   anchor would start under it.  Its own padding hides most of that; this
   makes the heading land clear of the bar whatever the padding is. */
.rs-section[id] { scroll-margin-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.rs-site {
  margin: 0;
  background: var(--rs-band);
  color: var(--rs-text);
  font-family: var(--rs-body);
  /* 17px at the browser default.  It is in rem so that a reader who sets a
     larger default text size in the browser gets larger body copy. */
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.rs-site img { max-width: 100%; height: auto; }

/* Link colour belongs to body copy, not to every <a> on the page - the bar,
   the buttons and the cards all carry their own. :where() keeps this at zero
   specificity so a component class always wins, whatever the file order. */
:where(.rs-prose, .rs-lede, .rs-feature, .rs-pillar, .rs-note, .rs-section > .rs-wrap > .rs-narrow) a {
  color: var(--rs-accent);
}

.rs-wrap {
  max-width: var(--rs-wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Hidden from the eye, kept for a screen reader.  The :where() releases the
   element while it has focus.  A skip link needs that: a keyboard reader
   must see where the focus is.  :where() adds no specificity. */
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.rs-narrow { max-width: 820px; }

.rs-site code {
  padding: .1em .35em;
  border-radius: 4px;
  background: var(--rs-ink);
  box-shadow: inset 0 0 0 1px var(--rs-line);
  font-family: var(--rs-mono);
  font-size: .88em;
  word-break: break-word;
}

.rs-section--dark .rs-site code,
.rs-hero code {
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.rs-section { padding: 3.5rem 0; }
.rs-section--tight { padding: 2.25rem 0; }
.rs-section--grey { background: var(--rs-band-2); border-block: 1px solid var(--rs-line); }
.rs-section--dark { background: var(--rs-ink); color: rgba(255, 255, 255, .78); }

/* Any band can take one of the spectrum tints instead, by naming it on the
   element:  <section class="rs-section--tint" style="--rs-band: var(--rs-tint-pink)">
   They all sit at the same lightness, so this changes the hue of a band
   without changing where it sits in the page's order. */
.rs-section--tint { background: var(--rs-band); border-block: 1px solid var(--rs-line); }

.rs-h2 {
  margin: 0 0 .4rem;
  font-family: var(--rs-display);
  font-size: clamp(1.9rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--rs-text);
}

.rs-section--dark .rs-h2 { color: #fff; }

/* the spectrum, reduced to a 48px rule - enough to read as the brand */
.rs-h2--ruled::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: 1.1rem;
  border-radius: 3px;
  background: var(--rs-spectrum);
}

.rs-lede {
  max-width: 62ch;
  margin: 0 0 2.5rem;
  color: var(--rs-muted);
  font-size: 1.1rem;
}

.rs-section--dark .rs-lede { color: rgba(255, 255, 255, .6); }

/* A second lede, under something rather than under the heading. */
.rs-lede--more { margin-top: 3rem; }

/* --------------------------------------------------------------- button -- */

.rs-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .72rem 1.4rem;
  border: 0;
  border-radius: 8px;
  background: var(--rs-accent);
  color: #fff;
  font-family: var(--rs-display);
  font-size: 1.02rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s ease, box-shadow .15s ease, transform .15s ease;
}

.rs-btn:hover { filter: brightness(1.12); color: #fff; box-shadow: 0 0 0 2px var(--rs-yellow, #ffbe13); }
.rs-btn:focus-visible { outline: var(--rs-focus-w, 3px) solid var(--rs-focus, #ffbe13);
  outline-offset: 2px; }
.rs-btn:active { transform: translateY(1px); }

.rs-btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}

.rs-btn--ghost:hover {
  background: rgba(255, 255, 255, .1);
  filter: none;
  box-shadow: inset 0 0 0 1px var(--rs-yellow, #ffbe13), 0 0 0 1px var(--rs-yellow, #ffbe13);
}

.rs-btn--quiet {
  background: transparent;
  color: var(--rs-text);
  box-shadow: inset 0 0 0 1px var(--rs-line);
}

.rs-btn--quiet:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--rs-text);
  filter: none;
  box-shadow: inset 0 0 0 1px var(--rs-yellow, #ffbe13), 0 0 0 1px var(--rs-yellow, #ffbe13);
}

/* ----------------------------------------------------------------- hero -- */

.rs-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--rs-nav-h) + 5.5rem) 0 5rem;
  background: var(--rs-hero);
  color: var(--rs-text);
  isolation: isolate;
}

/* Two soft colour washes from opposite ends of the logo spectrum.  They sit
   far enough apart that neither reads as a single tinted overlay, and both are
   dim enough to keep white text at full contrast. */
.rs-hero::before,
.rs-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 70vw;
  max-width: 900px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .22;
  pointer-events: none;
}

.rs-hero::before { top: -28%; left: -14%; background: var(--rs-blue); }
.rs-hero::after  { top: 8%;  right: -20%; background: var(--rs-pink); }

/* Two columns and two rows: a badge over the copy, a badge over the shot.
   The row gap is 0 because the badges carry their own margin below them, and
   a gap on top of that would push the second row down by 3.5rem as well. */
.rs-hero__grid {
  display: grid;
  /* The shot is the wider half: it is a screenshot of a window with four
     panels in it, and at .85 of the copy the pass tree was unreadable. */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 0;
}

/* A grid item would otherwise fill its column, and the badge is a pill that
   has to end where its text ends. */
.rs-hero__badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.4rem;
  padding: .3rem .85rem .3rem .4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13);
  color: rgba(255, 255, 255, .86);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
}

/* A triangle, drawn rather than typed.  The display face carries no glyph
   for one, so a character would be served by whatever fallback font the
   reader happens to have, at whatever size that face draws it. */
.rs-hero__badge::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 6px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* No release pill on this one, so its left padding is holding nothing back.
   Both sides get the same room, and more of it. */
.rs-hero__badge--aside { padding: .3rem 1.1rem; }

.rs-hero__badge:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--rs-yellow, #ffbe13), 0 0 0 1px var(--rs-yellow, #ffbe13);
}
.rs-hero__badge:focus-visible { outline: var(--rs-focus-w, 3px) solid var(--rs-focus, #ffbe13);
  outline-offset: 2px; }

.rs-hero__badge b {
  padding: .1rem .5rem;
  border-radius: 999px;
  background: var(--rs-accent);
  color: #fff;
  font-family: var(--rs-display);
  font-size: .82rem;
  font-weight: 800;
}

.rs-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--rs-display);
  font-size: clamp(2.6rem, 1.4rem + 3.6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: #fff;
}

.rs-hero h1 em {
  font-style: normal;
  background: var(--rs-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rs-hero p {
  max-width: 46ch;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, .68);
  font-size: 1.14rem;
}

.rs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem;
}

/* p, so it beats `.rs-hero p`, whose 2rem below the last line was making the
   copy column 32px taller than its own text - and the shot beside it stretches
   to that column. */
.rs-hero p.rs-hero__note {
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, .45);
  font-size: .88rem;
}

/* the product shot, framed as a window rather than dropped flat on the page */
.rs-shot {
  margin: 0;
  border-radius: var(--rs-radius, 0);
  background: var(--rs-ink-2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09),
              0 30px 70px -20px rgba(0, 0, 0, .8);
  overflow: hidden;
}

.rs-shot img { display: block; width: 100%; }

/* In the hero the frame runs the full height of the copy beside it, so the
   two halves start and end on the same line.  The picture keeps its own
   proportions - it is a screenshot and cropping it would cut the UI - so the
   slack goes under it, onto the frame's own surface, where the caption sits. */
.rs-hero .rs-shot {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.rs-hero .rs-shot figcaption { margin-top: auto; }

.rs-shot figcaption {
  padding: .6rem .9rem;
  border-top: 1px solid var(--rs-ink-3);
  color: rgba(255, 255, 255, .42);
  font-size: .8rem;
}

/* -------------------------------------------------------------- pillars -- */

.rs-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* A tile is one step up from whatever band it sits on - the same step on
   every band, so a row of them reads the same wherever it appears. */
.rs-pillar {
  position: relative;
  padding: 1.9rem 1.6rem 1.7rem;
  border: 1px solid var(--rs-ink-3);
  border-radius: var(--rs-radius, 0);
  background: var(--rs-surface);
  color: rgba(255, 255, 255, .72);
  overflow: hidden;
}

/* each pillar takes one colour from the stack, top to bottom */
.rs-pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--rs-c, var(--rs-accent));
}

.rs-pillar h3 {
  margin: 0 0 .5rem;
  color: #fff;
  font-family: var(--rs-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.rs-pillar p { margin: 0; color: inherit; font-size: .98rem; }

/* ------------------------------------------------------------- features -- */

.rs-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.4rem 3rem;
}

.rs-feature h3 {
  margin: 0 0 .5rem;
  font-family: var(--rs-display);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
}

.rs-feature h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: .55rem;
  border-radius: 2px;
  background: var(--rs-c, var(--rs-accent));
  vertical-align: .08em;
}

.rs-feature p { margin: 0 0 .7rem; color: var(--rs-muted); font-size: .98rem; }
.rs-feature p:last-child { margin-bottom: 0; }
.rs-feature ul { margin: 0; padding-left: 1.1rem; color: var(--rs-muted); font-size: .98rem; }

/* The one paragraph under a count.  Same measure as the body copy elsewhere,
   so it reads as a sentence rather than as a caption on the number. */
.rs-still {
  max-width: 46rem;
  margin: 0;
  color: var(--rs-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ----------------------------------------------------------- pmodifiers -- */

.rs-count {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  margin: 0 0 1.9rem;
  font-family: var(--rs-display);
}

.rs-count b {
  font-size: clamp(2.6rem, 1.6rem + 3vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  background: var(--rs-spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* The h2 of a section that has no h2: same clamp, same weight, same
   tracking and colour as .rs-h2, so it sits in the page's heading rank. */
.rs-count span {
  font-size: clamp(1.9rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--rs-text);
}

.rs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-chips li,
.rs-chips--links a {
  padding: .26rem .7rem;
  border: 1px solid var(--rs-line);
  border-radius: 999px;
  background: var(--rs-surface);
  font-family: var(--rs-display);
  font-size: .92rem;
  font-weight: 700;
  color: var(--rs-text);
}

/* On a linked list the anchor is the pill, so the whole shape is the click
   target and not just the word inside it. The li drops back to a slot. */
.rs-chips--links li {
  padding: 0;
  border: 0;
  background: none;
}

.rs-chips--links a {
  display: block;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease,
              background-color .15s ease;
}

.rs-chips--links a:hover,
.rs-chips--links a:focus-visible {
  /* The 1px border doubled by a 1px shadow, not a 2px border: a border that
     grows on hover resizes the pill and shuffles the 44 under the pointer.
     The literal is the fallback, so a stale rs-theme.css costs the token
     and not the colour. */
  border-color: var(--rs-yellow, #ffbe13);
  box-shadow: 0 0 0 1px var(--rs-yellow, #ffbe13);
  background: #1a2642;
}

/* A keyboard reader walking 44 pills needs more than the hover state. */
.rs-chips--links a:focus-visible {
  outline: var(--rs-focus-w, 3px) solid var(--rs-focus, #ffbe13);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------- video -- */

.rs-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--rs-radius, 0);
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09),
              0 30px 70px -24px rgba(0, 0, 0, .7);
  overflow: hidden;
}

.rs-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* The facade: a poster and a play button in place of the player. */
.rs-video__facade {
  position: absolute;
  inset: 0;
  display: block;
  cursor: pointer;
}

.rs-video__facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rs-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 54px;
  margin: -27px 0 0 -38px;
  border-radius: 14px;
  background: rgba(15, 15, 15, .82);
  transition: background .15s;
}

.rs-video__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -11px 0 0 -7px;
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}

.rs-video__facade:hover .rs-video__play,
.rs-video__facade:focus-visible .rs-video__play {
  background: var(--rs-yellow, #ffbe13);
}

.rs-video__facade:hover .rs-video__play::before,
.rs-video__facade:focus-visible .rs-video__play::before {
  border-left-color: #000;
}

.rs-video__facade:focus-visible {
  outline: var(--rs-focus-w, 3px) solid var(--rs-focus, #ffbe13);
  outline-offset: -3px;
}

/* --------------------------------------------------------------- quotes -- */

.rs-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.rs-quote {
  display: block;
  padding: 1.7rem 1.6rem;
  text-align: center;
  border: 1px solid var(--rs-ink-3);
  border-radius: var(--rs-radius, 0);
  background: var(--rs-surface);
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}

.rs-quote:hover { border-color: rgba(255, 255, 255, .28); transform: translateY(-2px); color: rgba(255, 255, 255, .9); }
/* No bottom margin and no footer under it: the card is a name that happens
   to be a link. The display face at 700, because the name is the card's
   title now and not a line of body copy. */
.rs-quote p {
  margin: 0;
  font-family: var(--rs-display);
  font-size: clamp(1.3rem, 1.05rem + .8vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
}

/* ------------------------------------------------------------------ cta -- */

.rs-cta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* All three are the same tile. The orange button is what marks the lead -
   a darker card next to a lighter one reads as a hard edge, not a row. */
.rs-cta__card {
  padding: 2rem 1.8rem;
  border: 1px solid var(--rs-ink-3);
  border-radius: var(--rs-radius, 0);
  background: var(--rs-surface);
  color: rgba(255, 255, 255, .72);
}

.rs-cta__card h3 {
  margin: 0 0 .5rem;
  color: #fff;
  font-family: var(--rs-display);
  font-size: 1.5rem;
  font-weight: 800;
}

.rs-cta__card p { margin: 0 0 1.4rem; color: inherit; opacity: .85; font-size: .98rem; }

/* ----------------------------------------------------------- inner page -- */

.rs-page__head {
  padding: 3rem 0 2.4rem;
  background: var(--rs-ink);
  color: var(--rs-text);
}

.rs-page__head h1 {
  margin: 0;
  color: #fff;
  font-family: var(--rs-display);
  font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.rs-page__head p { margin: .6rem 0 0; color: rgba(255, 255, 255, .6); }

.rs-prose { padding: 3rem 0 4rem; }
.rs-prose h2 {
  margin: 2.6rem 0 .8rem;
  font-family: var(--rs-display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}
.rs-prose h3 {
  margin: 2rem 0 .6rem;
  font-family: var(--rs-display);
  font-size: 1.3rem;
  font-weight: 800;
}
/* The release notes head each build with an h4 - "4.56 - 10/4/2026" - and the
   older posts go down to h6. The prototype's own pages stop at h3, so these
   never came up there; on the site they are 34 headings across the blog. */
.rs-prose h4,
.rs-prose h5,
.rs-prose h6 {
  margin: 1.8rem 0 .5rem;
  font-family: var(--rs-display);
  font-size: 1.12rem;
  font-weight: 800;
}
.rs-prose h5,
.rs-prose h6 {
  font-size: 1rem;
  letter-spacing: .02em;
  color: var(--rs-muted);
}
.rs-prose > :first-child { margin-top: 0; }
.rs-prose p, .rs-prose li { color: var(--rs-text); }
.rs-prose ul { padding-left: 1.2rem; }
/* ...but the chips are not that kind of list */
.rs-prose .rs-chips { padding-left: 0; }
.rs-prose li { margin-bottom: .45rem; }

.rs-note {
  margin: 1.6rem 0;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--rs-accent);
  border-radius: 0 var(--rs-radius, 0) var(--rs-radius, 0) 0;
  background: var(--rs-surface);
  font-size: .96rem;
}

.rs-note strong { color: var(--rs-text); }

/* A notice that costs the reader something to miss, as against the ordinary
   .rs-note.  The bar is the logo's yellow - the one hue in the palette that
   reads as caution without reaching for a red the site does not own. */
.rs-note--warn { border-left-color: var(--rs-yellow); }

/* ------------------------------------------------------------- blog list -- */

.rs-posts {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rs-post {
  display: block;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--rs-ink-3);
  border-radius: var(--rs-radius, 0);
  background: var(--rs-surface);
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}

.rs-post:hover { border-color: var(--rs-accent); transform: translateY(-2px); }

.rs-post h2 {
  margin: 0 0 .3rem;
  color: #fff;
  font-family: var(--rs-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.rs-post time { display: block; margin-bottom: .55rem; }
.rs-post p { margin: 0; font-size: .96rem; }

/* The newest post is shown whole at the top of the first page, so the list
   opens with something to read instead of fifty excerpts.
 *
 * It is a <li>, not the <a> the other cards are: the post content has its own
 * links and images, and an anchor cannot be nested inside another one - the
 * browser closes the outer one early and the rest of the card falls out of it.
 * So the title carries the link here and the card does not. */
.rs-post--full { padding: 1.8rem 2rem 2rem; }
.rs-post--full:hover { border-color: var(--rs-ink-3); transform: none; }

.rs-post--full h2 { font-size: 1.7rem; }
.rs-post--full h2 a { color: #fff; text-decoration: none; }
.rs-post--full h2 a:hover { color: var(--rs-accent); }

/* .rs-prose carries the heading, list and link styling; this only undoes the
   page padding it assumes. A measure used to be held here as well, pulling
   the text in from the card's edge - that was written against a 1160 card,
   where the lines would otherwise have run to about 140 characters. The wrap
   is 1000 now and the card's content box about 896, so the text fills it. */
.rs-post__body { padding: 0; margin-top: 1.1rem; }
.rs-post__body > :last-child { margin-bottom: 0; }

/* The card is a <li> of .rs-posts, so a list in the post body is a nested one
   as far as the browser is concerned and its markers default to circles -
   the same content on the post's own page gets discs. Say which it is. */
.rs-post__body ul { list-style: disc; }
.rs-post__body ul ul { list-style: circle; }

/* the date on a post card and the date under a post's own title */
.rs-post time,
.rs-page__head time,
.rs-eyebrow {
  color: var(--rs-muted);
  font-family: var(--rs-display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.rs-eyebrow { margin: 0 0 .5rem; }
.rs-eyebrow a { color: inherit; text-decoration: none; }
.rs-eyebrow a:hover { color: var(--rs-accent); }

/* ----------------------------------------------------------- rsPrvRender -- */

/* The tall tool window sits beside the introduction, and the small button
   strips beside the paragraph that explains each one - they are the whole
   argument on that page, and a reader should not have to scroll between the
   picture and the sentence about it. Both collapse to one column when there
   is no room for two. */
.rs-split {
  display: grid;
  grid-template-columns: 1fr minmax(0, 300px);
  gap: 1rem 3rem;
  align-items: start;
}

.rs-aside {
  display: grid;
  grid-template-columns: 1fr minmax(0, 280px);
  gap: 1rem 2.5rem;
  align-items: center;
  margin: 2rem 0;
}

.rs-split figure,
.rs-aside figure { margin: 0; }

.rs-split img,
.rs-aside img {
  display: block;
  border-radius: var(--rs-radius, 0);
  box-shadow: 0 0 0 1px var(--rs-ink-3);
}

.rs-shot--plain {
  margin: 1.8rem 0;
  border-radius: var(--rs-radius, 0);
  box-shadow: 0 0 0 1px var(--rs-ink-3);
}

/* ---------------------------------------------------------------- table -- */

.rs-table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: .98rem;
}

.rs-table th,
.rs-table td { padding: .2rem .9rem; border-bottom: 1px solid var(--rs-line); text-align: left; }

.rs-table th {
  font-family: var(--rs-display);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--rs-muted);
}

.rs-table td:last-child,
.rs-table th:last-child { text-align: right; }
.rs-table tbody tr:hover { background: rgba(255, 255, 255, .05); }
.rs-table .rs-price { font-family: var(--rs-display); font-size: 1.1rem; font-weight: 800; white-space: nowrap; }

/* The Buy button sets the floor on the row height, so the row only tightens
   if the button tightens with it.  .3rem holds the pill near 32px, which is
   still a tap target a thumb can hit on a phone. */
.rs-table .rs-btn { padding: .3rem 1rem; font-size: .94rem; }

/* The price table beside the notes that belong with the decision to buy.
   The table stretched the full width and left a gap between the price and
   its Buy button wide enough to lose the row across; it now takes only the
   width it needs and the notes stand in the space it gives back. */
/* Two equal columns, and one below about 43em - the width at which 20rem
   stops fitting twice, and the notes would read as a column of single
   words.  On a phone the table comes first, then the notes. */
.rs-buy__layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  align-items: start;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.rs-buy__layout .rs-table { width: 100%; margin: 0; }

.rs-buy__notes { min-width: 0; }
.rs-buy__notes .rs-note:first-child { margin-top: 0; }
.rs-buy__notes .rs-note:last-child { margin-bottom: 0; }

/* --------------------------------------------------------- testimonials -- */

/* A scroll container, with the carousel laid over it.  The track scrolls and
   snaps by itself - swipe, trackpad, shift-wheel, arrow keys once it has
   focus - so the quotes are readable with the script still loading, failed or
   switched off.  rs-theme.js appends the arrows and the dots; nothing here
   styles a control that the page does not already have working. */
.rs-tmnl { position: relative; }

.rs-tmnl__track {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  /* The bar would sit under the quote on a trackpad, appearing and vanishing
     as the timer moves the track - motion the reader did not ask for. */
  scrollbar-width: none;
}

.rs-tmnl__track::-webkit-scrollbar { display: none; }

.rs-tmnl__track:focus-visible { outline: var(--rs-focus-w, 3px) solid var(--rs-focus, #ffbe13); outline-offset: 3px; }

/* Every quote is the full width of the track, so the row is as tall as the
   longest of them and the height never changes as it advances.  The short
   ones centre in that space rather than leaving it under themselves. */
.rs-tmnl__item {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Even all round.  The quote is centred in the card, so uneven padding
     only shows as empty card above and below the text. */
  padding: 1.8rem;
  /* No border: --rs-ink-3 is a dark line, and a dark line around a bright
     card reads as an outline rather than an edge. */
  border: 0;
  border-radius: var(--rs-radius, 0);
  /* Not --rs-surface: the two interview tiles under the carousel are that
     colour, and the quote is not another tile. */
  background: var(--rs-surface-quote);
}

/* A face of its own, at 600: loud enough to carry the section, quiet enough
   that it does not compete with the 800 the headings take.  26px at the wrap
   and 18px on a phone - the largest text in the section either way.

   The measure is held in characters so the line length stays readable at
   both ends of that range.  Unlike the 34px it replaces, 50ch of this does
   bite at today's 1000px wrap, which is the point: the quote sits in a
   column inside the card instead of running to the padding. */
.rs-tmnl__item figure { margin: 0; text-align: center; }
.rs-tmnl__item blockquote { margin: 0; }

.rs-tmnl__item blockquote p {
  /* A fixed cap, not a count of characters: ch tracks this element's own
     font-size, so a card scaled down by --q would lose column width too. */
  max-width: 52rem;
  margin: 0 auto;
  font-family: var(--rs-quote);
  /* --q is per card, set on the <li>: style="--q:.85" for a long one. The
     clamp holds its shape at every width; --q only scales the result. */
  font-size: calc(clamp(1.15rem, .9rem + 1.05vw, 1.625rem) * var(--q, 1));
  font-weight: 600;
  line-height: 1.35;
  /* The band's own body copy is .78 and the interview cards below are .8.
     The quote stays the brightest of the three, by one step, not by five. */
  color: rgba(255, 255, 255, .88);
}

.rs-tmnl__item figcaption {
  margin-top: 1.1rem;
  /* The quote's face, not the heading face: the name is part of the quote. */
  font-family: var(--rs-quote);
  font-size: 1.5rem;
  font-weight: 700;
  /* Not the band's 1.65: half of that leading sits under the name and reads
     as a bottom gap 5px deeper than the one above the quote. 1.25 puts the
     two optical gaps at 33px each. */
  line-height: 1.25;
  /* .5 white gives 2.5:1 on this card, under the 3:1 large text needs. */
  color: rgba(255, 255, 255, .68);
}

.rs-tmnl__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.rs-tmnl__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--rs-ink-3);
  border-radius: 999px;
  background: var(--rs-surface);
  color: rgba(255, 255, 255, .75);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, color .15s ease;
}

.rs-tmnl__arrow:hover {
  border-color: var(--rs-yellow, #ffbe13);
  box-shadow: 0 0 0 1px var(--rs-yellow, #ffbe13);
  color: #fff;
}
.rs-tmnl__arrow:focus-visible { outline: var(--rs-focus-w, 3px) solid var(--rs-focus, #ffbe13); outline-offset: 2px; }

.rs-tmnl__dots { display: flex; gap: .15rem; margin: 0; padding: 0; list-style: none; }

/* The button is 22px so it can be hit; the dot inside it is 8px so it reads
   as a dot.  Shrinking the button to the dot would leave a target smaller
   than any guideline allows, on the control a phone reader uses most. */
.rs-tmnl__dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.rs-tmnl__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .26);
  transition: background .15s ease, transform .15s ease;
}

/* 8px across: a 2px ring would be a blob, so the dot is the ring. */
.rs-tmnl__dot:hover::before { background: var(--rs-yellow, #ffbe13); }
.rs-tmnl__dot[aria-current="true"]::before { background: var(--rs-accent); transform: scale(1.3); }
.rs-tmnl__dot:focus-visible { outline: var(--rs-focus-w, 3px) solid var(--rs-focus, #ffbe13); outline-offset: 2px; border-radius: 999px; }

/* A quick second tap on an arrow or a dot is a second press.  Without this,
   a touch browser reads it as a double tap and zooms the page. */
.rs-tmnl__track,
.rs-tmnl__arrow,
.rs-tmnl__dot { touch-action: manipulation; }

/* ----------------------------------------------------------- responsive -- */

@media (max-width: 62em) {
  .rs-hero { padding-top: calc(var(--rs-nav-h) + 3rem); }
  /* One column, so the second badge leaves the shot's row and goes back to
     sitting directly over it.  The badges drop their own margin here and let
     the row gap do the spacing, or the two would add up. */
  .rs-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .rs-hero__badge { margin-bottom: 0; }
  .rs-hero__badge--aside { order: 1; }
  .rs-hero .rs-shot { order: 2; }
  .rs-section { padding: 2.5rem 0; }
  .rs-section--tight { padding: 1.75rem 0; }
  .rs-split, .rs-aside { grid-template-columns: 1fr; }
}

@media (max-width: 36em) {
  body.rs-site { font-size: 1rem; }
  .rs-pillar, .rs-cta__card { padding: 1.4rem 1.2rem; }
  .rs-tmnl__item { padding: 1.2rem; }
}

/* ---- rs-wp.css ---- */
/* renderStacks - the parts only WordPress needs.
 *
 * rs-theme.css and rs-site.css are shared verbatim with the static prototype,
 * and the prototype had no editor, no search and no pagination.  Everything
 * WordPress brings with it that those two have never had to style lives here,
 * so the shared pair stay byte-identical to their source.
 *
 * It loads after both and almost entirely adds.  The two places it adjusts a
 * shared rule are marked where they happen.
 */

/* --------------------------------------------- what the editor writes -- */

/* The classic editor's alignment classes.  Content on this site uses
   alignnone and size-full almost everywhere, with a handful of floats in the
   older posts. */
.rs-prose .alignnone,
.rs-prose .aligncenter { display: block; margin: 1.6rem auto; }

.rs-prose .alignleft {
  float: left;
  margin: .4rem 1.6rem 1rem 0;
}

.rs-prose .alignright {
  float: right;
  margin: .4rem 0 1rem 1.6rem;
}

/* A float must not run past the end of its section. */
.rs-prose > .rs-wrap::after {
  content: "";
  display: block;
  clear: both;
}

/* Phones are too narrow for a float to leave usable text beside it. */
@media (max-width: 40em) {
  .rs-prose .alignleft,
  .rs-prose .alignright {
    float: none;
    margin: 1.6rem auto;
  }
}

/* [caption] and the image block's own figure. */
.rs-prose .wp-caption,
.rs-prose figure.wp-block-image {
  max-width: 100%;
  margin: 1.8rem 0;
}

.rs-prose .wp-caption img,
.rs-prose figure img { display: block; }

.rs-prose .wp-caption-text,
.rs-prose figcaption {
  margin: .6rem 0 0;
  font-size: .92rem;
  color: var(--rs-muted);
}

/* An image in the prose column should not be able to force it wider. */
.rs-prose img,
.rs-prose iframe,
.rs-prose video { max-width: 100%; height: auto; }

/* Galleries are rare here - two posts - so this is deliberately plain. */
.rs-prose .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.8rem 0;
  padding: 0;
  list-style: none;
}

/* WordPress' own accessibility helper, used by core markup and by plugins. */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------- skip link -- */

/* header.php writes the skip link, so its visible state is here.
   .visually-hidden in rs-site.css hides the link until it has focus.  Then
   it is fixed over the top left corner of the bar, so the page does not
   move when it appears.  The two states are the same two that release
   .visually-hidden, so the link is never shown without this style. */
.rs-skip:focus-within,
.rs-skip:active {
  position: fixed;
  top: .6rem;
  left: .6rem;
  z-index: 100;   /* the bar is 40 */
  padding: .6rem 1rem;
  border-radius: 6px;
  background: var(--rs-ink);
  color: #fff;
  font-family: var(--rs-display);
  font-weight: 700;
  text-decoration: none;
  outline: var(--rs-focus-w, 3px) solid var(--rs-focus, #ffbe13);
  outline-offset: 2px;
}

/* ------------------------------------------------- forms in content -- */

/* Two pages carry a real form: the checkout details above the Paddle
   buttons, and the Download Link plugin's own form. Neither is the theme's
   markup, so they are styled by element rather than by class. Without this
   they render at the browser default - a 150px white box on a dark page. */

.rs-prose label {
  display: inline-block;
  margin: .9rem .6rem .3rem 0;
  font-weight: 600;
}

.rs-prose input[type="text"],
.rs-prose input[type="email"],
.rs-prose input[type="search"],
.rs-prose textarea,
.rs-prose select {
  display: block;
  width: 100%;
  max-width: 32rem;
  padding: .6rem .8rem;
  font: inherit;
  color: var(--rs-text);
  background: var(--rs-band);
  border: 1px solid var(--rs-line);
  border-radius: 6px;
}

.rs-prose input::placeholder,
.rs-prose textarea::placeholder {
  color: var(--rs-muted);
  /* these placeholders are whole sentences of instruction, so they have to
     stay readable rather than fade into the field */
  opacity: 1;
}

.rs-prose input:focus-visible,
.rs-prose textarea:focus-visible,
.rs-prose select:focus-visible {
  outline: 2px solid var(--rs-accent);
  outline-offset: 1px;
}

.rs-prose input[type="submit"],
.rs-prose button[type="submit"] {
  margin-top: .9rem;
  padding: .55rem 1.1rem;
  font: inherit;
  font-weight: 600;
  color: var(--rs-ink);
  background: var(--rs-accent);
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}

/* --------------------------------------------------------- the Buy page -- */

/* The details asked for before a tier is picked. Boxed, because it is a step
   rather than a note: nothing below it works until it is filled in. */
.rs-buy__details,
.rs-buy__download {
  margin: 1.6rem 0 2.2rem;
  padding: 1.2rem 1.4rem;
  background: var(--rs-surface);
  border: 1px solid var(--rs-line);
  border-radius: 10px;
}

/* Both fields on one line, because they are one step: the order cannot be
   placed until each is filled in. They stack below 34em, where two columns
   would leave neither wide enough to read its own placeholder. */
.rs-buy__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 0 1.2rem;
}

.rs-field { margin: 0; min-width: 0; }
.rs-field label { margin-top: 0; }

/* The field is as wide as its column - the 32rem cap in the forms-in-content
   rules above is for a single field in a column of prose, and here it would
   leave the pair ragged. ADJUSTS that rule. */
.rs-buy__fields input[type="text"],
.rs-buy__fields input[type="email"] { max-width: none; }

/* What the section under the heading used to say, now the first line inside
   the box: the price basis and the reason the fields come before the Buy
   buttons read as one thought. */
.rs-buy__intro { margin: 0 0 1rem; }

/* Said before the fields rather than after a failed click, so it is a
   condition of ordering rather than a telling-off. */
.rs-buy__required {
  margin: 0 0 1rem;
  padding-left: .9rem;
  border-left: 3px solid var(--rs-accent);
  color: var(--rs-muted);
  font-size: .95rem;
}

.rs-buy__required strong { color: var(--rs-text); }

/* The same shape as the line above it, in the caution colour the page uses
   for .rs-note--warn: a condition the reader pays for missing, not a step. */
.rs-buy__required--warn { border-left-color: var(--rs-yellow, #ffbe13); }

.rs-buy__error {
  margin: 1rem 0 0;
  color: var(--rs-accent);
  font-weight: 600;
}

.rs-prose [aria-invalid="true"] { border-color: var(--rs-accent); }

/* The order column holds one button and should not take a share of the
   width. ADJUSTS rs-site.css, which right-aligns this cell. */
.rs-table td:last-child {
  width: 1%;
  white-space: nowrap;
}

/* ADJUSTS .rs-btn from rs-site.css: a full-size button makes every row of a
   nine-row table as tall as a hero button. */
.rs-table .rs-btn {
  padding: .3rem .95rem;
  font-size: .92rem;
}

/* ------------------------------------------------------------ search -- */

.rs-search {
  display: flex;
  gap: .6rem;
  margin: 1.2rem 0 2rem;
  max-width: 32rem;
}

.rs-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: .6rem .8rem;
  font: inherit;
  color: var(--rs-text);
  background: var(--rs-band);
  border: 1px solid var(--rs-line);
  border-radius: 6px;
}

.rs-search input[type="search"]:focus-visible {
  outline: 2px solid var(--rs-accent);
  outline-offset: 1px;
}

/* --------------------------------------------------------- pagination -- */

/* the_posts_pagination() nests its links in a nav; the listing passes
   .rs-note so the type already matches the page. */
.rs-note .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-top: 2rem;
}

.rs-note .page-numbers {
  display: inline-block;
  padding: .35rem .7rem;
  border: 1px solid var(--rs-line);
  border-radius: 6px;
  text-decoration: none;
}

.rs-note .page-numbers.current {
  border-color: var(--rs-accent);
  color: var(--rs-accent);
}

.rs-note .page-numbers.dots { border-color: transparent; }
