/* ======================================================================================================
   Animated Scene — the module's own shell
   ------------------------------------------------------------------------------------------------------
   Hand-written. Everything below the SCENE banner further down this file is generated from the review
   page's animation by tools/build-scene.py — edit THIS file for the panel, the header, the frame and the
   caption, and the script for anything inside the picture.

   The shell is a normal Website 2026 panel: eyebrow + title, then a frame holding the scene, then a
   caption. The frame is the only part worth reading twice: the scene is authored in a fixed 1000 x 600
   design space and scales to whatever width it is given, so when an editor asks for a different shape the
   frame letterboxes the scene inside it rather than cropping or stretching it.
   ====================================================================================================== */

.section-ascene {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--ascene-gap, 30px);
  width: 100%;
}
@media (min-width: 1025px) {
  .section-ascene { padding: var(--ascene-padding, var(--spacing-2xl)); }
}
.section-ascene--full {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent !important;
  backdrop-filter: unset !important;
  -webkit-backdrop-filter: unset !important;
}
.section-ascene--transparent { background: transparent; box-shadow: none; }
.section-ascene--text-dark .section-ascene__title,
.section-ascene--text-dark .section-ascene__caption { color: var(--color-dark-purple) !important; }
.section-ascene--text-light .section-ascene__title,
.section-ascene--text-light .section-ascene__caption { color: var(--color-white) !important; }

.section-ascene__header { display: flex; flex-direction: column; gap: var(--spacing-md); width: 100%; }
.section-ascene__title { width: 100%; font-size: var(--title-size, var(--font-size-h3)); letter-spacing: -0.37px; }
.section-ascene--balance .section-ascene__title { text-wrap: balance; }

/* ---- the figure: the frame, and the caption under it ---- */
.section-ascene__figure {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  width: 100%;
  max-width: var(--ascene-max, none);
  margin-inline: var(--ascene-push-left, 0) var(--ascene-push-right, 0);
}

/* The frame. `container-type: size` is what lets the scene be sized from the frame's HEIGHT as well as
   its width, which is what keeps a 5:3 picture whole inside a 16:9 slot. */
.section-ascene__frame {
  position: relative;
  display: grid;
  place-items: center;
  container-type: size;
  width: 100%;
  aspect-ratio: var(--ascene-aspect, 1000 / 600);
  overflow: hidden;
  border-radius: 10px;
  background: var(--ascene-frame-bg, #e3e8ee);
}

/* The scene itself. The child selector is doing real work: the generated scene CSS below sets the mount
   to width:100% at the same specificity and comes later in the file, so a single class here would lose.
   How big it is: as wide as the frame, unless that would make it taller than the frame,
   in which case it is sized from the frame's height instead and the frame's ground shows above and below.
   The shape is repeated here (the scene's own rule sets it too) so the box is the right size BEFORE the
   script mounts anything — the frame never changes height on load, so nothing on the page moves. */
.section-ascene__frame > .section-ascene__mount {
  width: min(100%, calc(100cqh * 1000 / 600));
  aspect-ratio: 1000 / 600;
}

/* Older engines with no size containment: the frame simply takes the scene's own shape. */
@supports not (container-type: size) {
  .section-ascene__frame { aspect-ratio: auto; }
  .section-ascene__frame > .section-ascene__mount { width: 100%; }
}

/* The caption also carries the house `section-description` class, so the dark themes colour it white the
   same way they colour every other description on the site. */
.section-ascene__caption {
  margin: 0;
  font-size: var(--caption-size, 16px);
  line-height: 1.5;
  opacity: 0.8;
}

/* The alternative that is read aloud when the editor has cleared the visible caption, so the picture is
   never left without one. */
.section-ascene__sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ======================================================================================================
   Step captions — the narration, inside the picture
   ------------------------------------------------------------------------------------------------------
   Loren, 21 Oct: "maybe we include the kind of narration of like drop your copy doc, Claude builds it in
   your HubSpot into part of the visual. We don't want the text underneath the animation."

   The editor scene has five beats, and the engine already drives five lines of narration off those exact
   beat times — on the review page those lines sit on the page ABOVE the frame. They were put there on
   9 Oct for one reason: inside the frame they were drawn at the picture's own scale and came out too
   small to read. So the rail here is inside the frame but NOT inside the picture: it is a sibling of the
   scaled stage, laid out and typed at the PAGE's own size, which is what makes the words legible at the
   same time as they sit on the visual.

   What it shows: the five steps as a numbered track that is always there, and the words of whichever
   step the frame is on — the two together being the whole job and the moment in it. The track never
   moves and the rail's height never changes, so nothing on the page shifts as the steps come and go.

   How it stays in step: the engine owns the timing. module.html names the rail on the mount with
   data-scn-narr, the dispatcher hands the rail's five .section-ascene__step elements to the engine, and
   the engine writes their keyframes into the same stylesheet, on the same 21-second timeline, as every
   other moving part. There is no second clock here to drift.
   ====================================================================================================== */

/* The frame and the rail together are the picture, so the rounding and the clipping move up to a wrapper
   and the rail sits inside the rounded box rather than under it. */
.section-ascene__visual {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ascene-frame-bg, #e3e8ee);
}
.section-ascene__visual--steps > .section-ascene__frame {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.section-ascene__steps {
  /* The picture's own ink, not the panel's: the rail belongs to the scene, so it stays light and reads
     the same whether the module sits on a light panel or a dark one. */
  --ascn-ink: #2b3550;
  --ascn-dim: rgba(43, 53, 80, .55);
  --ascn-line: rgba(43, 53, 80, .13);
  --ascn-pad-y: clamp(11px, 1.1vw, 16px);
  --ascn-pad-x: clamp(14px, 1.4vw, 22px);
  --ascn-col-gap: clamp(12px, 1.2vw, 20px);

  position: relative;
  padding: var(--ascn-pad-y) var(--ascn-pad-x);
  background: rgba(255, 255, 255, .66);
  border-top: 1px solid var(--ascn-line);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.4;
  color: var(--ascn-ink);
}

/* The layer that is always there: the five numbers, and — stacked and invisible — all five labels, so
   the rail is exactly as tall as its tallest line at any width and never changes height. */
.section-ascene__steprail {
  display: flex;
  align-items: center;
  gap: var(--ascn-col-gap);
}
.section-ascene__sizer { display: grid; flex: 1 1 auto; min-width: 0; visibility: hidden; }
.section-ascene__sizer > span { grid-area: 1 / 1; }

/* The numbered track. The same grid, at the same size, in the track and in every beat, so a beat's lit
   number lands exactly on top of the one it replaces. Both the column width and the number's own line
   box are 2.25em of THIS element's font size, which is what keeps every pip square. */
.section-ascene__pips {
  display: grid;
  grid-template-columns: repeat(5, 2.25em);
  gap: .66em;
  flex: 0 0 auto;
  font-size: .76em;
  font-weight: 600;
  letter-spacing: .05em;
}
.section-ascene__pip {
  display: block;
  grid-column: var(--i, auto);
  height: 2.25em;
  line-height: 2.25em;
  text-align: center;
  color: var(--ascn-dim);
  border-radius: var(--radius-round, 999px);
  box-shadow: inset 0 0 0 1px var(--ascn-line);
}
.section-ascene__pip.is-on {
  color: #fff;
  background: var(--color-orange, #fc630d);
  box-shadow: none;
}

/* One beat: its lit number and its words. Five of these sit on top of the track and the engine fades
   exactly one of them in at a time, on that beat. */
.section-ascene__step {
  position: absolute;
  inset: var(--ascn-pad-y) var(--ascn-pad-x);
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--ascn-col-gap);
  opacity: 0;
}
.section-ascene__step:first-of-type { opacity: 1; }
.section-ascene__steplabel {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--ascn-ink);
}

/* The rail runs on the engine's switch, not its own: when the scene pauses off screen or on a hidden
   tab the engine sets data-scn-narr-run="0" on the rail and the words hold with it. */
[data-scn-narr-run="0"] .section-ascene__step { animation-play-state: paused !important; }

/* Nothing is moving, so the rail opens out into the plain numbered list of all five: nobody can read one
   line of a crossfade that is not running. */
@media (prefers-reduced-motion: reduce) {
  .section-ascene__steps { display: grid; gap: .5em; }
  .section-ascene__steprail { display: none; }
  .section-ascene__step {
    position: static;
    inset: auto;
    opacity: 1 !important;
    animation: none !important;
  }
  .section-ascene__step .section-ascene__pips { grid-template-columns: 2.25em; }
  .section-ascene__step .section-ascene__pip { grid-column: 1; }
}

/* On a phone the picture is small and the words are the part that carries the meaning, so the rail
   stacks: the track on its own line, the step underneath it at a readable size. */
@media (max-width: 743px) {
  .section-ascene__steps { font-size: 14px; --ascn-col-gap: 9px; }
  .section-ascene__steprail,
  .section-ascene__step { flex-direction: column; align-items: flex-start; }
  .section-ascene__steplabel,
  .section-ascene__sizer { width: 100%; }
}


/* ======================================================================================================
   Animated Scene — the four scenes
   ------------------------------------------------------------------------------------------------------
   GENERATED by tools/build-scene.py from the HubSpot AI review page's own animations
   (otto-reviews/public-hubspot/anim/bp-anim.css + ia-anim.css). Do not hand-edit: re-run the script.

   These are the same animations, not copies of them: same 1000x600 design space, same beats, same pace.
   Three things were changed, and only these three:
     colour   the non-RDA accents to RDA orange (the press ring, Claude's coral). HubSpot's own product
              chrome inside the picture - the navy, the teal, the grey rail - is deliberately untouched.
     font     RDA's face comes from the theme (--font-primary); the Google Fonts import for HubSpot's UI
              face is dropped, so the module requests no font.
     scope    every selector sits under .rdascn, and the sources' attributes and custom properties are
              renamed into this module's namespace, so no rule here can match anything on the page.

   One stylesheet carries all four scenes because the HubSpot AI page shows all four: HubSpot serves a
   module's CSS once per page however many instances are on it, so four scenes in one file is four scenes
   in one request. A rule for a scene that is not on the page matches nothing - each instance builds only
   its own scene's elements.
   ====================================================================================================== */

/* ===
   1. Tokens
   ========================================================================== */
.rdascn {
  /* ---- RDA's brand colours (variables.css) ---- */
  --rda-dark-purple: #481031;
  --rda-orange: #fc630d;
  --rda-orange-light: #fe9426;
  --rda-orange-dark: #fb6e1f;
  --rda-white: #ffffff;
  --rda-purple-1: #7a2c6b;
  --rda-purple-2: #642157;
  --rda-purple-3: #4e1643;
  --rda-purple-4: #380b2f;
  --rda-purple-5: #22001b;

  /* ---- THE MODULE GROUND ----------------------------------------------
     RDA's own dark theme is a radial gradient whose stops carry alpha, so
     over a white page it washes out to a pale mauve in one corner. That wash
     is what was wrong. The gradient is not.

     So: RDA's own radial geometry and RDA's own purples, with every stop at
     alpha 1. Nothing fades toward white and nothing fades toward transparent.

       components.css .section--dark
         radial-gradient(107.94% 133.12% at -6.99% -10.14%,
                         #86026e9c 13.94%, rgb(34 0 27 / 87%) 66.83%)
       becomes the same geometry with 9c -> ff and 87% -> 100%.          */
  --scn-section-a: #86026e;      /* .section--dark stop 1, alpha 1 */
  --scn-section-b: #22001b;      /* .section--dark stop 2, alpha 1 (= --rda-purple-5) */
  --scn-section-bg: radial-gradient(107.94% 133.12% at -6.99% -10.14%,
                    var(--scn-section-a) 13.94%, var(--scn-section-b) 66.83%);

  /*   rda-cards.css .section-rcards.section--dark .rcard
         radial-gradient(107.94% 133.12% at -6.99% -10.14%,
                         rgb(129 47 113 / 81%) 23.08%, #400a36 100%)
       becomes the same geometry with 81% -> 100%. The card still sits
       lighter than the section it is on, which is RDA's own relationship. */
  --scn-card-a: #812f71;         /* dark card stop 1, alpha 1 */
  --scn-card-b: #400a36;         /* dark card stop 2, already alpha 1 */
  --scn-card-bg: radial-gradient(107.94% 133.12% at -6.99% -10.14%,
                 var(--scn-card-a) 23.08%, var(--scn-card-b) 100%);

  /* ---- the light editor chrome ---- */
  --ed-rail: #f5f8fa;
  --ed-canvas: #ffffff;
  --ed-line: #dfe3eb;
  --ed-ctrl: #cbd6e2;
  --ed-slate: #33475b;
  --ed-mute: #7c98b6;
  --ed-teal: #0091ae;
  --ed-tealbg: #f0f8fa;
  --ed-green: #00bda5;
  --ed-cursor: #fc630d;   /* RDA orange (--color-orange); source #ff5347 */
  --ed-vport: #b5c4d4;

  /* ---- type ----
     The editor chrome is Lexend Deca, imported above. RDA's own face is
     Avenir, which is licensed and cannot be served, so it is named first and
     falls back to whatever geometric sans the host page already has. */
  --scn-font-ui: 'Lexend Deca', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --scn-font-brand: var(--font-primary, 'Avenir', 'Avenir Next', -apple-system, 'Segoe UI', system-ui, sans-serif);

  /* RDA's CTA arrow, used as a mask so it always takes the button's text colour */
  --r-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M12.127 8.25H0V6.75H12.127L6.43075 1.05375L7.5 0L15 7.5L7.5 15L6.43075 13.9462L12.127 8.25Z' fill='%23000'/%3E%3C/svg%3E");

  /* set by bp-anim.js from the container width; 1 = the 1000x600 design space */
  --scn-k: 1;

  /* THE SETTINGS RAIL
     228 of the 1000 design pixels, two thirds of the 340 it was, flush to the
     left edge of the frame. Everything it freed goes to the module, which is
     what the clip is actually about. Keep this in step with RAIL_W in
     bp-anim.js, which measures the canvas from it. */
  --scn-rail: 228px;
}
/* ==========================================================================
   2. The mount and the stage
   ========================================================================== */
.rdascn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1000 / 600;
  overflow: hidden;
  background: var(--ed-canvas);
  font-family: var(--scn-font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  contain: layout paint style;
}
/* A deliberately small reset so the host page's own rules cannot leak in. */
.rdascn *,
.rdascn *::before,
.rdascn *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
  list-style: none;
  background: none;
  box-shadow: none;
}
.rdascn img,
.rdascn svg {
  display: block;
  max-width: 100%;
}
.rdascn .scn-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 1000px;
  height: 600px;
  display: grid;
  grid-template-columns: var(--scn-rail) 1fr;
  background: var(--ed-canvas);
  transform-origin: 0 0;
  transform: scale(var(--scn-k));
}
/* ==========================================================================
   3. The settings sidebar
   --------------------------------------------------------------------------
   Loren, 7 Oct: "the text is significantly bigger than it needs to be." Every
   size in this section was halved, and the controls, the row heights and the
   gaps between fields came down with them, so the panel reads like a real,
   compact HubSpot sidebar instead of a blown up one. The rail's WIDTH is
   unchanged (--scn-rail, still 228 design px), and so is everything on the
   canvas beside it.
   ========================================================================== */
.rdascn .e-rail {
  background: var(--ed-rail);
  border-right: 1px solid var(--ed-line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.rdascn .e-head {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-bottom: 1px solid var(--ed-line);
  padding: 7px 9px;
}
.rdascn .e-back {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-left: 1.75px solid var(--ed-mute);
  border-bottom: 1.75px solid var(--ed-mute);
  transform: rotate(45deg);
  border-radius: 1px;
}
.rdascn .e-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--ed-slate);
  line-height: 1.2;
  letter-spacing: -0.1px;
}
.rdascn .e-tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid var(--ed-line);
  padding: 0 9px;
}
.rdascn .e-tab {
  position: relative;
  padding: 6px 2px 5px;
  margin-right: 13px;
  font-size: 10px;
  font-weight: 500;
  color: var(--ed-mute);
  line-height: 1.2;
}
.rdascn .e-tab.is-on {
  color: var(--ed-teal);
  font-weight: 600;
}
.rdascn .e-tab.is-on::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ed-teal);
  border-radius: 2px 2px 0 0;
}
.rdascn .e-body {
  padding: 9px 9px 6px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.rdascn .e-grp {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rdascn .e-lab {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.22;
  color: var(--ed-slate);
}
.rdascn .e-help {
  font-size: 8.5px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ed-mute);
  margin-top: -1.5px;
}
.rdascn .e-opts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rdascn .e-opt {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--ed-ctrl);
  border-radius: 3px;
  padding: 4px 6px;
  min-height: 24px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.14;
  color: var(--ed-slate);
}
.rdascn .e-tick {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--ed-ctrl);
  background: #fff;
  position: relative;
}
.rdascn .e-dot {
  position: absolute;
  inset: 2.5px;
  border-radius: 50%;
  background: var(--ed-teal);
  opacity: 0;
}
/* the resting look, also the still that reduced motion shows */
.rdascn .e-opt.is-on {
  border-color: var(--ed-teal);
  background: var(--ed-tealbg);
  font-weight: 500;
}
.rdascn .e-opt.is-on .e-tick {
  border-color: var(--ed-teal);
}
.rdascn .e-opt.is-on .e-dot {
  opacity: 1;
}
.rdascn .e-sel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--ed-ctrl);
  border-radius: 3px;
  padding: 4px 6px;
  min-height: 25px;
  font-size: 11px;
  color: var(--ed-slate);
  line-height: 1.2;
}
.rdascn .e-chev {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid var(--ed-mute);
  border-bottom: 1.5px solid var(--ed-mute);
  transform: rotate(45deg);
  border-radius: 1px;
}
.rdascn .e-swrow {
  display: flex;
  align-items: center;
  gap: 6px;
}
.rdascn .e-sw {
  flex: 0 0 auto;
  width: 24px;
  height: 13px;
  border-radius: 999px;
  background: var(--ed-ctrl);
  position: relative;
}
.rdascn .e-sw.is-on {
  background: var(--ed-green);
}
.rdascn .e-sw::after {
  content: '';
  position: absolute;
  top: 1.5px;
  left: 1.5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}
.rdascn .e-sw.is-on::after {
  left: auto;
  right: 1.5px;
}
.rdascn .e-swlab {
  font-size: 10px;
  color: var(--ed-slate);
  line-height: 1.22;
}
/* ==========================================================================
   4. The canvas: one layer per state, crossfading
   ========================================================================== */
.rdascn .e-canvas {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--ed-canvas);
}
.rdascn .e-layer {
  position: absolute;
  left: 50%;
  top: 0;
  transform-origin: top center;
  opacity: 0;
  /* RDA's breakpoints key off this, so it has to be the width being shown
     (1280 / 834 / 390), not the padded page inside it */
  container-type: inline-size;
}
.rdascn .e-layer.is-first {
  opacity: 1;              /* the resting state, and the reduced-motion still */
}
/* the module's own page: RDA renders on white, with the preview's own inset */
.rdascn .e-mod {
  padding: 26px 22px;
  background: #fff;
}
/* the responsive clip's viewport outline and its caption */
.rdascn .e-vport {
  position: absolute;
  left: 50%;
  top: 0;
  border: 1px solid var(--ed-vport);
  border-radius: 5px;
  box-shadow: 0 1px 5px rgba(45, 62, 80, 0.07);
  pointer-events: none;
}
/* the caption block follows the outline's bottom edge; the captions inside it
   cross-dip so two widths are never named at once */
.rdascn .e-vlabels {
  position: absolute;
  left: 50%;
  top: 0;
}
.rdascn .e-vlabel {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateX(-50%);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ed-mute);
  white-space: nowrap;
  opacity: 0;
}
.rdascn .e-vlabel.is-first {
  opacity: 1;
}
/* ==========================================================================
   5. The cursor and its press ring
   ========================================================================== */
.rdascn .e-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 31px;
  height: 31px;
  pointer-events: none;
  z-index: 9;
}
.rdascn .e-ring {
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
  height: 15px;
  margin: -7.5px 0 0 -7.5px;
  border-radius: 50%;
  border: 2.5px solid var(--ed-cursor);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
  pointer-events: none;
  z-index: 8;
  opacity: 0;
}
/* ==========================================================================
   6. RDA's modules, rebuilt
   --------------------------------------------------------------------------
   Every value below is RDA's own, read out of their stylesheets: the panel
   radius and shadow from layout.css .section-panel, the type scale and
   spacing from variables.css, the hero from rda-hero.css, the cards from
   rda-cards.css. The classes are prefixed r- so nothing can collide with the
   page this mounts into.
   ========================================================================== */
.rdascn .r-sec {
  /* variables.css, the parts these two modules use */
  --sp-xs: 8px;
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 32px;
  --sp-xl: 49px;
  --sp-2xl: 60px;
  --sp-3xl: 80px;
  --fs-h2: 48px;
  --fs-h5: 21px;
  --fs-body: 20px;
  --fs-body-card: 18px;
  --fs-menu: 16px;
  --fs-small: 14px;

  position: relative;
  width: 100%;
  padding: var(--sp-2xl);
  border-radius: 20px;                              /* --radius-xl */
  box-shadow: 0 1px 20px 4px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  background-clip: padding-box;
  font-family: var(--scn-font-brand);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--rda-dark-purple);
}
/* the dark theme: RDA's gradient, every stop opaque */
.rdascn .r-sec.r-dark {
  background: var(--scn-section-bg);
}
.rdascn .r-label {
  display: block;
  font-size: var(--fs-menu);
  font-weight: 500;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--rda-orange);
  line-height: 1.1;
}
.rdascn .r-title {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--rda-dark-purple);
}
.rdascn .r-desc,
.rdascn .r-desc p {
  font-weight: 400;
  line-height: 1.65;
  color: var(--rda-dark-purple);
}
.rdascn .r-dark .r-title,
.rdascn .r-dark .r-desc,
.rdascn .r-dark .r-desc p {
  color: var(--rda-white);
}
.rdascn .r-balance .r-title {
  text-wrap: balance;
}
/* ---- the CTA ---- */
.rdascn .r-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 20px;
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  border-radius: 8px;                               /* --radius-sm */
  background: linear-gradient(180deg, var(--rda-orange-light) 0%, var(--rda-orange-dark) 100%);
  color: var(--rda-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}
.rdascn .r-cta::after {
  content: '';
  display: inline-block;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  background-color: currentColor;
  -webkit-mask: var(--r-arrow) center / contain no-repeat;
          mask: var(--r-arrow) center / contain no-repeat;
}
/* ---- a module that morphs instead of dissolving ----
   The two clips whose module changes shape build it once and keep it, so every
   part of every state is in the DOM the whole time and the state only decides
   which of them are in the flow. bp-anim.js measures the parts, applies the
   state, measures again, and lets the difference play out. */
.rdascn .r-morph .r-hero__media,
.rdascn .r-morph .r-hero__form,
.rdascn .r-morph .r-hero__logos,
.rdascn .r-morph .r-rcard__icon {
  display: none;
}
.rdascn .r-morph.r-show-media .r-hero__media { display: flex; }
.rdascn .r-morph.r-show-form .r-hero__form { display: block; }
.rdascn .r-morph.r-show-logos .r-hero__logos { display: flex; }
.rdascn .r-morph.r-show-icons .r-rcard__icon { display: block; }
/* ==========================================================================
   6a. Hero (Unified)
   ========================================================================== */
.rdascn .r-hero {
  --hero-padding: var(--sp-2xl);
  --col-widths: 1fr 1fr;
  padding-left: var(--sp-2xl);
  padding-right: var(--sp-2xl);
  padding-top: var(--hero-padding);
  padding-bottom: var(--hero-padding);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rdascn .r-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}
.rdascn .r-hero--has-aside .r-hero__inner {
  display: grid;
  grid-template-columns: var(--col-widths);
  gap: var(--sp-2xl);
  align-items: center;
}
.rdascn .r-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--sp-md);
  width: 100%;
  z-index: 1;
}
.rdascn .r-hero__title {
  font-size: var(--fs-h2);
  letter-spacing: -0.48px;
}
.rdascn .r-hero__desc {
  font-size: var(--fs-body);
}
.rdascn .r-hero__logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  width: 100%;
  margin-top: var(--sp-sm);
  margin-bottom: var(--sp-sm);
  justify-content: flex-start;
}
.rdascn .r-hero__logo {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: var(--rda-white);
  fill: currentColor;
}
.rdascn .r-hero__plus {
  font-size: var(--fs-body);
  line-height: 1;
  color: var(--rda-dark-purple);
}
.rdascn .r-dark .r-hero__plus {
  color: var(--rda-white);
}
.rdascn .r-hero__ctawrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  justify-content: flex-start;
}
.rdascn .r-hero__aside {
  width: 100%;
}
.rdascn .r-hero__media {
  display: flex;
  justify-content: center;
  align-self: center;
}
.rdascn .r-hero__media img {
  width: 100%;
  height: auto;
  border-radius: 13px;
}
/* ---- the form aside ----
   The fields are the one thing in the module that was too small to read once
   the whole frame is scaled down into a page, so they are bigger here than
   RDA's own: the label goes 12 -> 16, the input 15 -> 18 on a taller box, and
   the field box carries a little more light so it reads as a field against
   the dark ground. The panel around them is RDA's own hairline box, which
   only ever failed to show because the markup is a div. */
.rdascn .r-hero__formbox {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 22px 24px 24px;
  background: rgba(255, 255, 255, 0.025);
}
.rdascn .r-hero__field {
  margin-bottom: 4px;
}
.rdascn .r-hero__field .r-hero__flab {
  display: block;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--rda-white);
  margin: 10px 0 7px;
}
.rdascn .r-hero__finput {
  display: block;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  color: var(--rda-white);
  font-size: 18px;
  line-height: 32px;
  padding: 13px 16px;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.rdascn .r-hero__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  background: linear-gradient(180deg, var(--rda-orange-light) 0, var(--rda-orange-dark) 100%);
  border-radius: 8px;
  color: var(--rda-white);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.7px;
  padding: 11px 26px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}
/* ==========================================================================
   6b. Cards (Unified)
   ========================================================================== */
.rdascn .r-rcards {
  --card-columns: 3;
  --card-gap: var(--sp-lg);
  --card-padding: 25px;
  --icon-size: 55px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3xl);
  align-items: center;
}
.rdascn .r-rcards__header {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}
.rdascn .r-rcards__title {
  font-size: var(--fs-h2);
}
.rdascn .r-rcards__desc {
  font-size: var(--fs-body);
}
.rdascn .r-rcards__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--card-gap);
  width: 100%;
  align-items: stretch;
}
.rdascn .r-rcards__grid > .r-rcard {
  flex: 1 1 calc(100% / var(--card-columns) - var(--card-gap));
  min-width: calc(100% / var(--card-columns) - var(--card-gap));
  align-self: stretch;
}
.rdascn .r-rcard {
  /* the icon that pops out is held here while it goes */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--card-padding);
  height: auto;
  border-radius: 13px;                              /* --radius-md */
  box-shadow: 1px 1px 11px 0 rgb(100 10 23 / 8%);   /* --shadow-card */
}
/* the dark card: RDA's gradient, every stop opaque; no border, as RDA sets */
.rdascn .r-dark .r-rcard {
  background: var(--scn-card-bg);
  background-clip: padding-box;
  border: none;
}
.rdascn .r-rcard--vertical .r-rcard__content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100%;
}
.rdascn .r-rcard--horizontal .r-rcard__content {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: flex-start;
}
.rdascn .r-rcard--horizontal .r-rcard__text {
  align-self: center;
}
.rdascn .r-rcard__icon {
  flex-shrink: 0;
  width: var(--icon-size);
  height: var(--icon-size);
  /* RDA's icon gradient, rda-cards.css .rcard__icon--gradient */
  background: radial-gradient(60.29% 76.55% at 31.06% 31.82%, #ff9318 47.12%, #d75500 100%);
  -webkit-mask: var(--r-icon) center / contain no-repeat;
          mask: var(--r-icon) center / contain no-repeat;
}
.rdascn .r-rcard__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.rdascn .r-rcard__title {
  font-size: var(--fs-h5);
  font-weight: 600;
  line-height: 1.4;
  color: var(--rda-dark-purple);
}
.rdascn .r-rcard__desc,
.rdascn .r-rcard__desc p {
  font-size: var(--fs-body-card);
  font-weight: 400;
  line-height: 1.36;
  color: var(--rda-dark-purple);
}
.rdascn .r-dark .r-rcard__title,
.rdascn .r-dark .r-rcard__desc,
.rdascn .r-dark .r-rcard__desc p {
  color: var(--rda-white);
}
/* ==========================================================================
   7. Running, paused, and still
   --------------------------------------------------------------------------
   The animations only run when the mount says so. bp-anim.js flips
   data-scn-run between 1 and 0 from an IntersectionObserver and from
   setActive(), so a mount that is scrolled away or sitting on an inactive
   slide costs nothing.
   ========================================================================== */
.rdascn[data-scn-run="0"] .e-opt,
.rdascn[data-scn-run="0"] .e-tick,
.rdascn[data-scn-run="0"] .e-dot,
.rdascn[data-scn-run="0"] .e-layer,
.rdascn[data-scn-run="0"] .e-vport,
.rdascn[data-scn-run="0"] .e-vlabels,
.rdascn[data-scn-run="0"] .e-vlabel,
.rdascn[data-scn-run="0"] .e-cursor,
.rdascn[data-scn-run="0"] .e-ring {
  /* important, because bp-anim.js sets the animation itself on the element and
     an inline shorthand would otherwise outrank this */
  animation-play-state: paused !important;
}
/* Reduced motion: no movement at all. Every element keeps the look it has at
   rest, which is the state the loop both starts and ends on. */
@media (prefers-reduced-motion: reduce) {
    
  .rdascn .e-opt,
  .rdascn .e-tick,
  .rdascn .e-dot,
  .rdascn .e-layer,
  .rdascn .e-vport,
  .rdascn .e-vlabels,
  .rdascn .e-vlabel,
  .rdascn .e-cursor,
  .rdascn .e-ring {
      animation: none !important;
    }
    
  .rdascn .e-ring {
      opacity: 0 !important;
    }
}

/* ==========================================================================
   In action: the copy-doc-to-Claude-to-editable-page loop
   --------------------------------------------------------------------------
   The fourth animation in this folder, and the only one that is not a settings
   panel beside a module. It tells the whole job in one loop across TWO
   surfaces that share the frame: a Claude chat panel on the right, about a
   third of the width, and the HubSpot editor on the left. Exactly one of them
   is being worked in at a time; the other recedes.

     <link rel="stylesheet" href="/hubspot-ai/anim/bp-anim.css">
     <link rel="stylesheet" href="/hubspot-ai/anim/ia-anim.css">
     <script src="/hubspot-ai/anim/ia-anim.js" defer></script>
     <div data-scn-mount="editor" data-scn-narr="ianarr"></div>   <- mounts itself

   or by hand:

     var a = RDASceneIA.mount(el, 'editor', {narr:{host:box, lines:[..5..]}});
     a.setActive(false);
     a.destroy();

   WHAT THIS FILE OWNS, AND WHAT IT BORROWS
   It borrows the editor chrome from bp-anim.css: the 1000 x 600 design space,
   the scaled stage, the rail's head, tabs and body, the cursor, the press
   ring, RDA's colour tokens and the small reset. Four rules below touch a
   borrowed class, and all four are scoped to .rdascn[data-scn="editor"], so the
   three Best practices animations cannot see a single declaration written
   here: the stage's columns (two surfaces instead of one editor), the stage's
   own padding, the rail's width, and the canvas's background.

   THE NARRATION IS NOT IN HERE
   Loren, 9 Oct: the step label came out of the frame and went up onto the page,
   where it can be read at the page's own size and typed into in Edit text. The
   host page owns that markup and its look; this file only drives it, through
   data-scn-narr-run on its host, so it pauses with the frame.

   WHAT TO EDIT
     words   -> COPY at the top of ia-anim.js
     colours -> the tokens at the top of bp-anim.css, plus the few below
     pace    -> BEATS and HANDOFF in ia-anim.js
   ========================================================================== */


/* ==========================================================================
   1. Tokens of its own
   ========================================================================== */
.rdascn[data-scn="editor"] {
  /* the frame's ground, which is what the seam between the two surfaces is */
  --ia-ground: #e3e8ee;
  /* Loren, 9 Oct: the light bands are white and the PAGE is the grey one, so
     neither band reads washed out */
  --ia-page-bg: #edeff2;
  --ia-band: #ffffff;
  --ia-band-line: #e4e7ec;
  --ia-page-line: #d8dde4;
  --ia-page-shadow: 0 1px 4px rgba(45, 62, 80, 0.07);
  /* a grey line standing in for a line of body copy in the copy doc */
  --ia-ghost: #d9e0e8;
  --ia-ghost-strong: #b9c5d1;
  /* Claude's own coral, for the spark and the drop target */
  --ia-coral: #fc630d;    /* RDA orange (--color-orange); source: Claude coral #d97757 */
  --ia-coral-soft: rgba(252, 99, 13, 0.09);  /* RDA orange at the source alpha */
  /* the Claude panel */
  --ia-cl-bg: #ffffff;
  --ia-cl-line: #dfe3eb;
  --ia-user-bg: #eef1f6;
  --ia-rail-w: 166px;
}
/* ==========================================================================
   2. The frame: two surfaces, a seam, and a margin all round
   --------------------------------------------------------------------------
   The frame's SHAPE is unchanged, so nothing on the page below it moves. What
   changed inside is that the editor no longer runs to the frame's edges: both
   surfaces sit inside a margin, with a seam of the frame's ground between
   them. That is Loren's "a little more padding around some of these
   containers" at the outermost level.
   ========================================================================== */
.rdascn[data-scn="editor"] .scn-stage {
  grid-template-columns: 1fr 312px;
  gap: 10px;
  padding: 10px;
  background: var(--ia-ground);
}
/* ---- the editor, as ONE surface, so it can recede as one ---- */
.rdascn .ia-ed {
  position: relative;
  display: grid;
  grid-template-columns: var(--ia-rail-w) minmax(0, 1fr);
  min-width: 0;
  background: var(--ed-canvas);
  border: 1px solid var(--ia-cl-line);
  border-radius: 7px;
  overflow: hidden;
  /* it pulls back away from Claude, never away from the frame's own edge */
  transform-origin: 0% 50%;
}
.rdascn[data-scn="editor"] .e-rail {
  /* the rail is narrower than the Best practices rail, because the frame now
     holds a third surface; everything inside it is bp-anim.css's own */
  min-width: 0;
}
.rdascn[data-scn="editor"] .e-canvas {
  /* the page is the grey thing now, so the editor's canvas behind it is white
     and the page reads as a document sitting on it */
  background: #ffffff;
}
/* ---- the page preview ---- */
.rdascn .ia-page {
  position: absolute;
  background: var(--ia-page-bg);
  border: 1px solid var(--ia-page-line);
  border-radius: 5px;
  box-shadow: var(--ia-page-shadow);
  overflow: hidden;
  transform-origin: top center;
}
.rdascn .ia-pin {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 15px;
}
/* A module in the stack. At rest every one of them is in its final place at
   full opacity, which is the still; the keyframes put them where the loop
   needs them and bring them in one by one. */
.rdascn .ia-mod {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  opacity: 1;
}
/* The handle the cursor takes hold of, on the one module that moves. With the
   label on the left of the band and the logos on the right, the middle of its
   top edge is the one place in it with nothing already there, so the handle
   sits as a grip tab on the band's top edge. */
.rdascn .ia-grab {
  position: absolute;
  left: 50%;
  top: 4px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--ed-ctrl);
  border-radius: 3px;
  padding: 3px 8px;
  box-shadow: 0 1px 3px rgba(45, 62, 80, 0.14);
  opacity: 0;
}
.rdascn .ia-grab .ia-dots {
  grid-template-columns: repeat(3, 2.5px);
  grid-auto-rows: 2.5px;
  gap: 2px;
}
.rdascn .ia-grab .ia-dots i {
  width: 2.5px;
  height: 2.5px;
}
/* The module being dragged passes over the one making room for it. */
.rdascn .ia-lift {
  z-index: 2;
}
/* six dots, the handle on a HubSpot row */
.rdascn .ia-dots {
  display: grid;
  grid-template-columns: repeat(2, 2px);
  grid-auto-rows: 2px;
  gap: 1.5px;
  flex: 0 0 auto;
}
.rdascn .ia-dots i {
  display: block;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--ed-mute);
}
/* ==========================================================================
   3. RDA's modules, at page-preview size
   --------------------------------------------------------------------------
   RDA's own colours and their own words, at the sizes a page preview renders
   them. The purple grounds are bp-anim.css's opaque gradients, token for
   token, so a module here and a module in the Best practices clips are the
   same purple. Their brand face is named first and falls back to the host
   page's geometric sans, exactly as it does there.

   Loren, 9 Oct: every band's padding went up a step, so nothing crowds an
   edge, and the two light bands are white on the page's grey.
   ========================================================================== */
.rdascn[data-scn="editor"] .ia-mod {
  font-family: var(--scn-font-brand);
}
/* ---- the hero ---- */
.rdascn .ia-hero {
  background: var(--scn-section-bg);
  padding: 19px 18px 20px;
}
.rdascn .ia-eyebrow {
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rda-orange-light);
}
.rdascn .ia-h1 {
  position: relative;
  margin-top: 8px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.3px;
  color: #fff;
  white-space: nowrap;
}
/* The headline's own box, so the edit outline around it is the width of the
   words and not of the line. It is also what grows as the word is typed in,
   which is why the outline needs no track of its own. */
.rdascn .ia-h1i {
  position: relative;
  display: inline-block;
}
/* The word that gets typed in. At rest it is simply part of the headline; in
   the loop it starts at no width at all and the headline is edited into the
   state the still shows. */
.rdascn .ia-typ {
  display: inline-block;
  overflow: hidden;
  white-space: pre;
  vertical-align: bottom;
}
.rdascn .ia-car {
  display: inline-block;
  width: 1.5px;
  height: 0.92em;
  margin: 0 0 -0.06em -0.5px;
  vertical-align: bottom;
  background: var(--ed-teal);
  opacity: 0;
}
/* The inline edit affordance: HubSpot outlines the field you are in. */
.rdascn .ia-ol {
  position: absolute;
  left: -4px;
  right: -4px;
  top: -3px;
  bottom: -2px;
  border: 1px solid var(--ed-teal);
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
}
.rdascn .ia-sub {
  margin-top: 8px;
  max-width: 50ch;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.82);
}
.rdascn .ia-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  background: var(--rda-orange);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
.rdascn .ia-btn::after {
  content: '';
  width: 7px;
  height: 7px;
  background: currentColor;
  -webkit-mask: var(--r-arrow) center / contain no-repeat;
  mask: var(--r-arrow) center / contain no-repeat;
  flex: 0 0 auto;
}
/* ---- the partner logos band ----
   Loren, 9 Oct: "move those icons to the right of the text, make them a little
   bigger". One row: label hard left, logos hard right, both centred on it. */
.rdascn .ia-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--ia-band);
  border: 1px solid var(--ia-band-line);
  padding: 15px 18px;
}
.rdascn .ia-lgl {
  flex: 0 0 auto;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rda-purple-2);
}
.rdascn .ia-lgr {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--rda-dark-purple);
}
.rdascn .ia-lgr svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: currentColor;
  opacity: 0.85;
}
/* ---- the cards ---- */
.rdascn .ia-cards {
  background: var(--scn-section-bg);
  padding: 17px 18px 19px;
}
.rdascn .ia-ch {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.2px;
  color: #fff;
}
.rdascn .ia-cg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 11px;
}
.rdascn .ia-card {
  position: relative;
  background: var(--scn-card-bg);
  border-radius: 4px;
  padding: 9px 9px 11px;
}
.rdascn .ia-ic {
  position: relative;
  display: block;
  width: 17px;
  height: 17px;
}
.rdascn .ia-ic i {
  position: absolute;
  inset: 0;
  display: block;
  /* RDA's own icon gradient, rda-cards.css .rcard__icon--gradient, the same
     one the Best practices cards use. The path comes in as --ia-icon. */
  background: radial-gradient(60.29% 76.55% at 31.06% 31.82%, #ff9318 47.12%, #d75500 100%);
  -webkit-mask: var(--ia-icon) center / contain no-repeat;
          mask: var(--ia-icon) center / contain no-repeat;
}
/* The icon the loop starts on, and the one the still shows. Asking Claude to
   swap it is the last beat, so the swapped icon is the resting state. */
.rdascn .ia-ic .ia-ic-a { opacity: 0; }
.rdascn .ia-ic .ia-ic-b { opacity: 1; }
.rdascn .ia-ct {
  margin-top: 7px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.26;
  color: #fff;
}
.rdascn .ia-cx {
  margin-top: 4px;
  font-size: 8.5px;
  font-weight: 400;
  line-height: 1.38;
  color: rgba(255, 255, 255, 0.76);
}
/* The ring that marks the card Claude changed, so the answer to the last
   question is impossible to miss even with the editor one step back. */
.rdascn .ia-hi {
  position: absolute;
  inset: -2px;
  border: 1.5px solid var(--ed-green);
  border-radius: 5px;
  box-shadow: 0 0 0 3px rgba(0, 189, 165, 0.18);
  pointer-events: none;
  opacity: 0;
}
/* ---- the closing band ---- */
.rdascn .ia-cta {
  background: var(--ia-band);
  border: 1px solid var(--ia-band-line);
  padding: 18px 18px 19px;
  text-align: center;
}
.rdascn .ia-cta .ia-ch {
  font-size: 16px;
  color: var(--rda-dark-purple);
  text-align: center;
}
.rdascn .ia-cta .ia-btn {
  margin-top: 10px;
}
/* ==========================================================================
   4. The copy doc
   --------------------------------------------------------------------------
   It lives in the STAGE, not in either surface, because it travels from one to
   the other and has to stay at full strength the whole way across.
   ========================================================================== */
.rdascn .ia-doc {
  position: absolute;
  background: #fff;
  border: 1px solid var(--ed-ctrl);
  border-radius: 5px;
  box-shadow: 0 6px 22px rgba(45, 62, 80, 0.18);
  padding: 11px 12px 13px;
  transform-origin: 50% 46%;
  opacity: 0;
  z-index: 7;
}
.rdascn .ia-dh {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ed-line);
}
.rdascn .ia-dfile {
  flex: 0 0 auto;
  width: 9px;
  height: 11px;
  border: 1.25px solid var(--ed-mute);
  border-radius: 1.5px;
}
.rdascn .ia-dk {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ed-mute);
}
.rdascn .ia-dt {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.28;
  color: var(--ed-slate);
}
.rdascn .ia-dl {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 9px;
}
.rdascn .ia-dl i {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--ia-ghost);
}
.rdascn .ia-dl i.h {
  height: 4px;
  width: 42%;
  background: var(--ia-ghost-strong);
  margin-top: 4px;
}
/* ==========================================================================
   5. The Claude panel: the second surface
   --------------------------------------------------------------------------
   Loren, 9 Oct: the copy doc is dragged into Claude, not into the editor, and
   the back and forth has to be obvious. So Claude gets a column of its own,
   about a third of the frame, with its own spark and name, the exchange, and a
   composer at the bottom with an attach control and a send button.

   Everything in here is set MUCH larger than the editor chrome beside it,
   because these are the words that have to be read: the message text is 16
   design px and the prompt being typed is 17, against the rail's 8.5 to 11.
   At the width V7's card gives the frame that is about 12.5 and 13.3 px on
   screen.

   All four messages are in the DOM from the start, in their final places, so
   nothing in the panel ever moves: they arrive by opacity and a small rise at
   their own beat, which also makes the still the finished exchange.
   ========================================================================== */
.rdascn .ia-cl {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--ia-cl-bg);
  border: 1px solid var(--ia-cl-line);
  border-radius: 7px;
  overflow: hidden;
  /* it pulls back away from the editor, never away from the frame's own edge */
  transform-origin: 100% 50%;
  font-family: var(--scn-font-ui);
}
/* ---- the panel's head ---- */
.rdascn .ia-clh {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px 10px;
  border-bottom: 1px solid var(--ed-line);
  flex: 0 0 auto;
}
.rdascn .ia-spark {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--ia-coral);
}
.rdascn .ia-spark.is-sm {
  width: 12px;
  height: 12px;
  margin-top: 2.5px;
}
.rdascn .ia-clname {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.1px;
  color: var(--ed-slate);
}
/* ---- the exchange ---- */
.rdascn .ia-clb {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 14px 14px 0;
  min-height: 0;
}
.rdascn .ia-msg {
  display: flex;
  gap: 7px;
  opacity: 1;
}
/* what the person says: a bubble, held off the left edge so the column reads
   as two voices */
.rdascn .ia-msg.is-u {
  justify-content: flex-end;
  padding-left: 30px;
}
.rdascn .ia-mb {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--ia-user-bg);
  border-radius: 10px 10px 4px 10px;
  padding: 9px 11px 10px;
}
/* what Claude says: its spark and the words, no bubble */
.rdascn .ia-msg.is-a {
  padding-right: 22px;
}
.rdascn .ia-mt {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.34;
  color: var(--ed-slate);
}
/* the copy doc, once it is in the chat */
.rdascn .ia-att {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--ed-ctrl);
  border-radius: 6px;
  padding: 6px 8px;
}
.rdascn .ia-attf {
  flex: 0 0 auto;
  width: 10px;
  height: 13px;
  border: 1.4px solid var(--ed-mute);
  border-radius: 2px;
}
.rdascn .ia-attn {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ed-slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ---- the composer ---- */
.rdascn .ia-cli {
  position: relative;
  flex: 0 0 auto;
  margin: 14px;
  background: #fff;
  border: 1px solid var(--ed-ctrl);
  border-radius: 9px;
  padding: 10px 11px 9px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rdascn .ia-citx {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 46px;
}
/* The composer at rest is empty, with its placeholder: the typing is the loop,
   not the resting state. */
.rdascn .ia-ph {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.36;
  color: var(--ed-mute);
  opacity: 1;
}
.rdascn .ia-citl {
  display: flex;
  align-items: baseline;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.36;
  color: var(--ed-slate);
  white-space: nowrap;
}
.rdascn .ia-ityw {
  display: inline-block;
  width: 0;
  overflow: hidden;
  white-space: pre;
}
.rdascn .ia-icar {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.6px;
  height: 0.92em;
  background: var(--ed-teal);
  opacity: 0;
}
.rdascn .ia-cic {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rdascn .ia-clip {
  width: 15px;
  height: 15px;
  color: var(--ed-mute);
}
.rdascn .ia-send {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ed-teal);
}
.rdascn .ia-send::after {
  content: '';
  position: absolute;
  left: 7.5px;
  top: 8px;
  width: 6.5px;
  height: 6.5px;
  border-top: 1.8px solid #fff;
  border-right: 1.8px solid #fff;
  transform: rotate(-45deg);
}
/* where the pointer presses send; a point, not a thing to look at */
.rdascn .ia-spt {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  overflow: hidden;
}
/* the target the copy doc is dropped onto */
.rdascn .ia-drop {
  position: absolute;
  inset: -3px;
  border: 1.5px dashed var(--ia-coral);
  border-radius: 11px;
  background: var(--ia-coral-soft);
  pointer-events: none;
  opacity: 0;
}
/* and the ring that shows the composer is being typed into. Both are overlays
   rather than states of the composer itself, so an animation on either can
   never take the composer with it. */
.rdascn .ia-foc {
  position: absolute;
  inset: -1px;
  border: 1.5px solid var(--ed-teal);
  border-radius: 10px;
  box-shadow: 0 0 0 3px rgba(0, 145, 174, 0.14);
  pointer-events: none;
  opacity: 0;
}
/* ==========================================================================
   6. The rail's section list
   --------------------------------------------------------------------------
   The one thing this animation's sidebar does that a settings panel does not:
   it lists the page's sections, and they arrive, and reorder, with the page
   itself. Everything above it in the rail is bp-anim.css's own chrome.
   ========================================================================== */
.rdascn .ia-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.rdascn .ia-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--ed-ctrl);
  border-radius: 3px;
  padding: 0 6px;
  min-height: 23px;
  opacity: 1;
}
.rdascn .ia-rname {
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1.14;
  color: var(--ed-slate);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* the dashed row under the list: a sidebar with no way to add a module would
   be a sidebar nobody could work in */
.rdascn .ia-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 6px;
  border: 1px dashed var(--ed-ctrl);
  border-radius: 3px;
  min-height: 21px;
  font-size: 9px;
  font-weight: 500;
  color: var(--ed-mute);
}
/* ==========================================================================
   7. Running, paused, and still
   --------------------------------------------------------------------------
   Same contract as bp-anim.css, same attribute: ia-anim.js flips data-scn-run
   from an IntersectionObserver and from setActive(), so the cursor and ring
   rules already in bp-anim.css cover this mount too and only this file's own
   elements need naming here.
   ========================================================================== */
.rdascn[data-scn-run="0"] .ia-ed,
.rdascn[data-scn-run="0"] .ia-cl,
.rdascn[data-scn-run="0"] .ia-mod,
.rdascn[data-scn-run="0"] .ia-grab,
.rdascn[data-scn-run="0"] .ia-row,
.rdascn[data-scn-run="0"] .ia-doc,
.rdascn[data-scn-run="0"] .ia-msg,
.rdascn[data-scn-run="0"] .ia-ph,
.rdascn[data-scn-run="0"] .ia-drop,
.rdascn[data-scn-run="0"] .ia-foc,
.rdascn[data-scn-run="0"] .ia-ityw,
.rdascn[data-scn-run="0"] .ia-icar,
.rdascn[data-scn-run="0"] .ia-ol,
.rdascn[data-scn-run="0"] .ia-car,
.rdascn[data-scn-run="0"] .ia-typ,
.rdascn[data-scn-run="0"] .ia-hi,
.rdascn[data-scn-run="0"] .ia-ic i {
  /* important, because ia-anim.js sets the animation on the element itself and
     an inline shorthand would otherwise outrank this */
  animation-play-state: paused !important;
}
/* Reduced motion: nothing moves, and what is left is the finished, edited page
   WITH the Claude exchange beside it, which is the whole story in one still.
   The copy doc, the drop target, the grab chip, the carets, the edit outline,
   the change ring and the cursor are all part of the telling, not of the
   result, so they are not in it; the headline is the edited headline, the
   second card carries the icon that was asked for, and the composer is empty
   with its placeholder, as a composer is when nothing is being typed. */
@media (prefers-reduced-motion: reduce) {
    
  .rdascn[data-scn="editor"] .ia-ed,
  .rdascn[data-scn="editor"] .ia-cl,
  .rdascn[data-scn="editor"] .ia-mod,
  .rdascn[data-scn="editor"] .ia-grab,
  .rdascn[data-scn="editor"] .ia-row,
  .rdascn[data-scn="editor"] .ia-doc,
  .rdascn[data-scn="editor"] .ia-msg,
  .rdascn[data-scn="editor"] .ia-ph,
  .rdascn[data-scn="editor"] .ia-drop,
  .rdascn[data-scn="editor"] .ia-foc,
  .rdascn[data-scn="editor"] .ia-ityw,
  .rdascn[data-scn="editor"] .ia-icar,
  .rdascn[data-scn="editor"] .ia-ol,
  .rdascn[data-scn="editor"] .ia-car,
  .rdascn[data-scn="editor"] .ia-typ,
  .rdascn[data-scn="editor"] .ia-hi,
  .rdascn[data-scn="editor"] .ia-ic i,
  .rdascn[data-scn="editor"] .e-cursor,
  .rdascn[data-scn="editor"] .e-ring {
      animation: none !important;
    }
    
  .rdascn[data-scn="editor"] .ia-doc,
  .rdascn[data-scn="editor"] .ia-drop,
  .rdascn[data-scn="editor"] .ia-foc,
  .rdascn[data-scn="editor"] .ia-grab,
  .rdascn[data-scn="editor"] .ia-ol,
  .rdascn[data-scn="editor"] .ia-car,
  .rdascn[data-scn="editor"] .ia-icar,
  .rdascn[data-scn="editor"] .ia-hi,
  .rdascn[data-scn="editor"] .e-cursor,
  .rdascn[data-scn="editor"] .e-ring {
      opacity: 0 !important;
    }
}
