/* ==========================================================================
   1SyncRx — signed 15-block homepage stylesheet
   --------------------------------------------------------------------------
   Loads after design-system.css / components.css / pages.css.
   Contents (in order):
     01  Section rhythm (4/8/12/16/24/32/48/64/88/120 scale only)
     02  Home header chrome
     03  Shared product-window frame chrome
     04  Product-media component (crossfade placeholder + <video> swap)
     05  Block 1  — Statement hero
     06  Block 2  — Credibility strip (hero-attached)
     07  Block 3  — Pain ticker
     08  Block 4  — Audience doors
     09  Blocks 5/6 — Product tours + TJM step accordion
     10  Comparison connector
     11  Block 7  — Outcomes strip (quiet)
     12  Block 8  — AI story timeline
     13  Block 9  — Trust letter (quiet badges)
     14  Block 10 — How it works
     15  Block 11 — Network vision
     16  Block 12 — Pricing
     17  Block 13 — Proof band (softened, D9)
     18  Blocks 14/15 — FAQ + final CTA
     19  Legacy blocks kept for the pre-refactor markup
     20  Hover refinement (fine pointers only)
     21  Keyframes
     22  Responsive: 1024 / 768 / 420 / 1440
     23  Reduced motion — complete static composition
   --------------------------------------------------------------------------
   NO-CROP RULE (highest priority): every product screenshot renders whole.
   Stages hold aspect-ratio 1917/865 (the tallest real screenshot ratio) and
   frames use object-fit: contain. Never cover, never scale/pan/zoom, never a
   narrower frame ratio, never overflow-clipping of a product screen.
   Animation policy: opacity and transform only — with ONE documented
   grid-template-rows exception for the step accordion (see section 09).
   ========================================================================== */

/* ==========================================================================
   01  SECTION RHYTHM
   Spacing scale endpoints only: 32 / 48 / 64 / 88.
   ========================================================================== */

.home-section {
  padding-block: clamp(48px, 6vw, 88px);
}

.home-section--compact {
  padding-block: clamp(32px, 4vw, 64px);
}

.home-section .section-intro {
  margin-bottom: clamp(24px, 3vw, 48px);
}

/* ==========================================================================
   02  HOME HEADER CHROME — flat, quiet enterprise chrome
   ========================================================================== */

body.syncrx-home .site-header {
  min-height: 76px;
  padding-block: 0;
  border: 0;
  border-bottom: 1px solid var(--srx-line);
  background: color-mix(in srgb, var(--srx-panel) 96%, transparent);
  backdrop-filter: blur(14px);
}

body.syncrx-home .site-header__shell {
  min-height: 76px;
  padding-inline: 0;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.syncrx-home .site-header:not(.is-scrolled) .site-nav__list a {
  color: var(--srx-ink-secondary);
}

body.syncrx-home .site-header:not(.is-scrolled) .site-nav__list a::after {
  background: var(--srx-brand);
}

body.syncrx-home .site-header:not(.is-scrolled) .site-header__cta .button {
  border-color: var(--srx-brand);
  background: var(--srx-brand);
  color: var(--srx-panel);
  box-shadow: 0 8px 18px -14px color-mix(in srgb, var(--srx-brand-deep) 75%, transparent);
}

body.syncrx-home .site-header.is-scrolled {
  background: color-mix(in srgb, var(--srx-panel) 92%, transparent);
  backdrop-filter: blur(14px);
}

body.syncrx-home .site-header.is-scrolled .site-header__shell {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

/* ==========================================================================
   03  SHARED PRODUCT-WINDOW FRAME CHROME
   The product-media component wraps every homepage product screen in
   .product-window. Default chrome suits light sections; dark surfaces
   (hero, network vision) override below. Radius is the 20px product token.
   overflow: hidden here only clips the rounded corners of the CHROME —
   frames sit inside a correct-ratio contain stage and are never clipped.
   ========================================================================== */

.product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--srx-line-strong);
  border-radius: var(--radius-product);
  background: var(--srx-panel);
  box-shadow: var(--shadow-product);
}

.page-hero--statement .product-window,
.network-vision .product-window {
  border-color: color-mix(in srgb, var(--srx-panel) 30%, transparent);
  box-shadow: 0 36px 90px -42px color-mix(in srgb, black 80%, transparent);
}

.product-window__bar,
.tour-media__bar {
  display: flex;
  min-height: 46px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--srx-line);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--srx-panel);
  color: var(--srx-muted);
  font: 500 10px/1.4 var(--d-font-mono);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.product-window__dots {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 5px;
}

.product-window__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--srx-line-strong);
}

.product-window__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.product-window__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--srx-logo-green);
}

/* Legacy plain <img> inside a window (pre-refactor markup): whole image,
   natural height, never cropped. Component frames override this below. */
.product-window img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
}

.product-window__flow {
  position: absolute;
  right: 6%;
  bottom: 8%;
  left: 6%;
  height: 2px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--srx-brand) 20%, transparent);
  pointer-events: none;
}

.product-window__flow span {
  display: block;
  width: 28%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--srx-accent-mint), transparent);
  animation: srx-product-flow 7s linear infinite;
  animation-play-state: paused;
}

.product-window__flow.is-in-view span {
  animation-play-state: running;
}

/* ==========================================================================
   04  PRODUCT-MEDIA COMPONENT
   Crossfade placeholder "demo video" + the one-line <video> swap.
   DOM contract: figure.product-media > .product-window.product-media__window
   > (.product-window__bar with title + pause/play toggle) + .product-media__stage
   > img.product-media__frame (exactly one carries .is-active).
   Opacity is the ONLY animated property on frames — 600ms, the approved
   crossfade curve. JS only toggles .is-active.
   ========================================================================== */

.product-media {
  margin: 0;
  min-width: 0;
}

.product-media__stage {
  position: relative;
  width: 100%;
  /* Tallest real screenshot ratio — every screen fits whole. Never narrower. */
  aspect-ratio: 1917 / 865;
  background: var(--srx-panel);
}

/* Three-class selector so this always beats legacy img rules
   (.audience-card__visual img, .process-story__product img, ...). */
.product-media .product-media__stage .product-media__frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;   /* never cover — the screenshot is never cropped   */
  object-position: center;
  opacity: 0;
  transition: opacity 600ms cubic-bezier(0.4, 0, 0.2, 1);  /* opacity only */
}

.product-media .product-media__stage .product-media__frame.is-active {
  opacity: 1;
}

/* Chrome-bar screen title (retitled per step by JS). */
.product-media__title {
  min-width: 0;
  overflow: hidden;
  color: var(--srx-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Pause/play — a real WCAG 2.2.2 control for real auto-animation.
   Ships with [hidden]; JS reveals it only when a loop is possible. */
.product-media__toggle {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 4px 12px;
  border: 1px solid var(--srx-line-strong);
  border-radius: var(--radius-pill);
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--srx-ink-secondary);
  cursor: pointer;
  font: 600 10px/1 var(--d-font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color var(--motion-micro) ease, color var(--motion-micro) ease, background-color var(--motion-micro) ease;
}

.product-media__toggle:hover,
.product-media__toggle:focus-visible {
  border-color: var(--srx-brand);
  color: var(--srx-brand-deep);
}

/* Required: display above would otherwise defeat the [hidden] attribute. */
.product-media__toggle[hidden] {
  display: none;
}

.product-media__toggle-icon {
  flex: 0 0 auto;
}

.product-media__toggle[aria-pressed="false"] .product-media__toggle-icon--play {
  display: none;
}

.product-media__toggle[aria-pressed="true"] .product-media__toggle-icon--pause {
  display: none;
}

/* <video> swap: identical stage geometry, so replacing frames with a real
   recording never shifts layout. Letterbox bars use approved product chrome. */
.product-media__stage--video {
  background: var(--srx-chrome-deep);
}

.product-media .product-media__stage--video .product-media__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   05  BLOCK 1 — STATEMENT HERO (D2 Option 2, D3 headline)
   ========================================================================== */

.page-hero--statement {
  position: relative;
  min-height: 0;
  padding: clamp(48px, 6vw, 88px) 0 clamp(32px, 4vw, 48px);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 8%, color-mix(in srgb, var(--srx-brand) 34%, transparent) 0, transparent 34%),
    radial-gradient(circle at 86% 30%, color-mix(in srgb, var(--srx-logo-green) 28%, transparent) 0, transparent 35%),
    linear-gradient(135deg, var(--srx-chrome-deep) 0%, color-mix(in srgb, var(--srx-chrome-deep) 72%, var(--srx-brand)) 58%, var(--srx-brand-deep) 100%);
  color: var(--srx-panel);
  isolation: isolate;
}

.page-hero--statement::before,
.page-hero--statement::after {
  position: absolute;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--srx-panel) 8%, transparent);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.page-hero--statement::before {
  top: -26vw;
  left: -9vw;
  width: 56vw;
  height: 56vw;
}

.page-hero--statement::after {
  right: -18vw;
  bottom: -36vw;
  width: 68vw;
  height: 68vw;
}

.statement-hero {
  display: grid;
  justify-items: center;
}

.statement-hero__copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  text-align: center;
}

.statement-hero__copy .eyebrow {
  margin-bottom: 16px;
  color: var(--srx-accent-mint);
}

/* H1 on the approved type scale: clamp(36px, 3.6vw, 52px). The <br> in the
   markup controls the two-line break; 28ch holds the longer second line
   ("We carry the prescription.") on one line at every desktop width. */
.statement-hero__copy h1 {
  max-width: 28ch;
  margin-inline: auto;
  margin-bottom: 24px;
  color: var(--srx-panel);
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.syncrx-site .statement-hero__copy .dual-title span {
  color: color-mix(in srgb, var(--srx-accent-mint) 70%, white);
}

.statement-hero__copy .lead {
  max-width: 58ch;
  margin: 0 auto 32px;
  color: color-mix(in srgb, var(--srx-panel) 84%, transparent);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.58;
}

.button-row--center {
  justify-content: center;
}

.page-hero--statement .button--primary {
  border-color: var(--srx-panel);
  background: var(--srx-panel);
  color: var(--srx-chrome-deep);
}

.page-hero--statement .button--primary:hover,
.page-hero--statement .button--primary:focus-visible {
  border-color: var(--srx-accent-mint);
  background: var(--srx-accent-mint);
  color: var(--srx-chrome-deep);
}

.page-hero--statement .button--secondary {
  border-color: color-mix(in srgb, var(--srx-panel) 46%, transparent);
  background: color-mix(in srgb, var(--srx-panel) 4%, transparent);
  color: var(--srx-panel);
}

.page-hero--statement .button--secondary:hover,
.page-hero--statement .button--secondary:focus-visible {
  border-color: var(--srx-panel);
  background: color-mix(in srgb, var(--srx-panel) 10%, transparent);
  color: var(--srx-panel);
}

.statement-hero__product {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: clamp(32px, 4vw, 48px) 0 0;
}

.statement-hero__product figcaption,
.tour-media figcaption {
  padding: 12px 16px;
  color: var(--srx-muted);
  font: 500 10px/1.45 var(--d-font-mono);
  letter-spacing: 0.035em;
  text-align: center;
  text-transform: uppercase;
}

.statement-hero__product figcaption {
  color: color-mix(in srgb, var(--srx-panel) 74%, transparent);
}

/* ==========================================================================
   06  BLOCK 2 — CREDIBILITY STRIP
   --hero-attached: reads as the hero's base line, not a separate card grid.
   ========================================================================== */

.credibility-bar {
  position: relative;
  z-index: 3;
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--srx-line);
  background: var(--srx-paper);
}

.credibility-bar__grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--srx-line-strong);
  border-radius: var(--radius-product);
  grid-template-columns: 1.4fr repeat(3, 1fr);
  background: var(--srx-panel);
  box-shadow: 0 18px 42px -34px color-mix(in srgb, var(--srx-chrome-deep) 42%, transparent);
}

.credibility-bar__item {
  display: flex;
  min-height: 88px;
  padding: 16px clamp(16px, 2vw, 24px);
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  color: var(--srx-ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.credibility-bar__item + .credibility-bar__item {
  border-left: 1px solid var(--srx-line);
}

.credibility-bar__item .icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--srx-logo-green) 22%, var(--srx-line));
  border-radius: 12px;
  background: var(--srx-positive-soft);
  color: var(--srx-logo-green);
}

/* Attached variant: quiet inline row under the hero — no card chrome. */
.credibility-bar--hero-attached {
  padding: 8px 0;
  border-bottom: 1px solid var(--srx-line);
  background: var(--srx-paper);
}

.credibility-bar--hero-attached .credibility-bar__grid {
  display: flex;
  min-height: 64px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 48px;
  background: transparent;
  box-shadow: none;
}

.credibility-bar--hero-attached .credibility-bar__item {
  min-height: 48px;
  padding: 0;
  gap: 12px;
  color: var(--srx-ink-secondary);
  font-size: 13px;
}

.credibility-bar--hero-attached .credibility-bar__item + .credibility-bar__item {
  border-left: 0;
}

.credibility-bar--hero-attached .credibility-bar__item:nth-child(n + 3) {
  border-top: 0;
}

.credibility-bar--hero-attached .credibility-bar__item .icon {
  width: 32px;
  height: 32px;
  padding: 8px;
  border-radius: 8px;
}

/* ==========================================================================
   07  BLOCK 3 — PAIN TICKER
   ========================================================================== */

.pain-section {
  padding-bottom: clamp(32px, 3.6vw, 48px);
}

.pain-marquee {
  --pain-marquee-surface: color-mix(in srgb, var(--srx-brand-soft) 72%, var(--srx-panel));

  position: relative;
  width: 100%;
  margin: 4px 0 clamp(24px, 3.4vw, 48px);
  padding-block: 12px;
  overflow: hidden;
  border-block: 1px solid var(--srx-line);
  background: var(--pain-marquee-surface);
  isolation: isolate;
}

.pain-marquee::before,
.pain-marquee::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: clamp(48px, 9vw, 120px);
  content: "";
  pointer-events: none;
}

.pain-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--pain-marquee-surface) 0%, color-mix(in srgb, var(--pain-marquee-surface) 82%, transparent) 38%, transparent 100%);
}

.pain-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--pain-marquee-surface) 0%, color-mix(in srgb, var(--pain-marquee-surface) 82%, transparent) 38%, transparent 100%);
}

.pain-marquee:focus-visible {
  outline-offset: -4px;
}

.pain-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 24px;
  color: var(--srx-brand-deep);
  font-family: var(--d-font-mono);
  font-size: clamp(12px, 1.4vw, 15px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: srx-pain-ticker 32s linear infinite;
  animation-play-state: paused;
}

.pain-marquee.is-in-view .pain-marquee__track {
  animation-play-state: running;
}

.pain-marquee__track i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--srx-logo-green);
}

.pain-marquee:hover .pain-marquee__track,
.pain-marquee:focus .pain-marquee__track,
.motion-paused .pain-marquee.is-in-view .pain-marquee__track {
  animation-play-state: paused;
}

/* ==========================================================================
   08  BLOCK 4 — AUDIENCE DOORS (D4, two equal cards)
   The visuals are product-media instances now; the window flattens into the
   card so the 16px card radius stays the single piece of chrome.
   ========================================================================== */

.audience-grid--doors {
  align-items: stretch;
}

.audience-door {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.audience-door .audience-card__body {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  background: var(--srx-panel);
}

.audience-door .audience-card__visual {
  min-height: 0;
  flex: 1 1 auto;
  background: var(--srx-panel);
}

/* Legacy raw screenshots (pre-refactor markup): whole image, never cropped. */
.audience-door .audience-card__visual img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center top;
}

/* Component era: the visual hosts a product-media figure. */
.audience-card__visual:has(.product-media) {
  display: grid;
  min-height: 0;
  border-top: 1px solid var(--srx-line);
  align-content: end;
  background: var(--srx-panel);
}

.audience-card__media .product-window {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.audience-door__label,
.pricing-card__audience {
  margin: 0 0 12px;
  color: var(--srx-brand-deep);
  font: 600 11px/1.35 var(--d-font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.compact-checks {
  display: grid;
  margin: 16px 0 24px;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.compact-checks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--srx-ink-secondary);
  font-size: 14px;
}

.compact-checks .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--srx-logo-green);
}

/* ==========================================================================
   09  BLOCKS 5/6 — PRODUCT TOURS + TJM STEP ACCORDION (D5)
   Copy column with the vertical numbered accordion; media column with the
   crossfading product panel. Media keeps >= 55% of the row at desktop in
   both directions (columns flip for --reverse).
   ========================================================================== */

.product-tour--prescriber {
  background:
    radial-gradient(circle at 84% 16%, color-mix(in srgb, var(--srx-brand) 5%, transparent), transparent 32%),
    linear-gradient(180deg, var(--srx-panel), var(--srx-paper));
}

.product-tour--pharmacy {
  background:
    radial-gradient(circle at 12% 78%, color-mix(in srgb, var(--srx-logo-green) 6%, transparent), transparent 34%),
    linear-gradient(180deg, var(--srx-paper), var(--srx-wash));
}

#product-tours {
  position: relative;
  top: calc(-1 * var(--header-height));
}

.product-tour__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); /* media 56% */
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

/* Reverse: media moves to the LEFT column and keeps the wider track. */
.product-tour__grid--reverse {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.product-tour__grid--reverse .product-tour__copy {
  order: 2;
}

.product-tour__grid--reverse .tour-media,
.product-tour__grid--reverse .product-tour__media {
  order: 1;
}

.product-tour__media {
  min-width: 0;
}

/* Block 8 places the media figure directly in the grid. */
.product-tour__grid > .product-media {
  min-width: 0;
  align-self: center;
}

/* ----- Base tour step list (shared with legacy markup) ------------------ */

.tour-steps {
  display: grid;
  margin: 16px 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.tour-steps li {
  min-height: 52px;
  padding: 0;
  border-top: 1px solid var(--srx-line);
}

.tour-steps li:last-child {
  border-bottom: 1px solid var(--srx-line);
}

.tour-step {
  display: grid;
  width: 100%;
  min-height: 52px;
  padding: 12px 8px;
  border: 0;
  border-radius: 8px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background-color var(--motion-micro) ease, color var(--motion-micro) ease;
}

.tour-step > span:first-child {
  padding-top: 2px;
  color: var(--srx-brand-deep);
  font: 600 11px/1.4 var(--d-font-mono);
  letter-spacing: 0.05em;
}

.tour-step strong {
  display: block;
  color: var(--srx-ink);
  font-size: 15px;
}

.tour-step small {
  display: block;
  margin: 4px 0 0;
  color: var(--srx-ink-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.tour-step:hover,
.tour-step[aria-pressed="true"] {
  background: color-mix(in srgb, var(--srx-brand) 7%, var(--srx-panel));
}

.tour-step[aria-pressed="true"] {
  box-shadow: inset 2px 0 0 var(--srx-brand);
}

.tour-step:focus-visible,
.ai-story__step:focus-visible {
  outline: 2px solid var(--srx-brand);
  outline-offset: 2px;
}

/* ----- TJM accordion variant -------------------------------------------- */

/* Boxless variant (owner feedback 2026-07-24): the step list mirrors the
   outcomes strip — no card boxes, no pills, no hover fills. Steps separated
   by hairlines; state is carried by color and the expanded body only. */
.tour-steps--accordion {
  position: relative;
  margin: 24px 0;
  gap: 0;
}

.tour-steps--accordion li,
.tour-steps--accordion li:last-child {
  min-height: 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--srx-ink) 10%, transparent);
}

.tour-steps--accordion li:last-child {
  border-bottom: 0;
}

.tour-steps--accordion .tour-step {
  position: relative;
  min-height: 52px;
  padding: 14px 4px;
  border-radius: 0;
  background: transparent;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.tour-steps--accordion .tour-step:not(.is-active):hover {
  background: transparent;
}

.tour-steps--accordion .tour-step:not(.is-active):hover .tour-step__title {
  color: var(--srx-brand-deep);
}

.tour-steps--accordion .tour-step.is-active,
.tour-steps--accordion .tour-step[aria-pressed="true"] {
  background: transparent;
  box-shadow: none;
}

/* Bare DM Mono step numbers — the outcomes-strip language, no circle. */
.tour-steps--accordion .tour-step__number {
  display: block;
  width: auto;
  height: auto;
  padding: 2px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--srx-muted);
  font: 600 12px/1.4 var(--d-font-mono);
  letter-spacing: 0.05em;
  transition: color var(--motion-micro) ease;
}

.tour-steps--accordion li.is-active .tour-step__number {
  border: 0;
  background: transparent;
  color: var(--srx-logo-green);
}

.tour-steps--accordion .tour-step__text {
  padding-top: 4px;
}

/* Inactive titles are dimmed but stay >= 4.5:1 (66% ink mix ~= 5.6:1). */
.tour-steps--accordion .tour-step__title {
  display: block;
  color: color-mix(in srgb, var(--srx-ink) 66%, var(--srx-paper));
  font-size: 15px;
  line-height: 1.4;
  transition: color var(--motion-micro) ease;
}

.tour-steps--accordion li.is-active .tour-step__title {
  color: var(--srx-ink);
}

.tour-steps--accordion .tour-step small {
  max-width: 46ch;
  margin: 0;
}

/* --------------------------------------------------------------------------
   ACCORDION COLLAPSE — the ONE sanctioned grid-template-rows exception to
   the transform/opacity-only animation rule. Justification: it is a
   user-visible state transition (the active step's body), it is fully
   interruptible, it never touches a product image, and it is disabled under
   prefers-reduced-motion (section 23 re-expands every body statically).
   Scoped to html.js: without JavaScript every body stays expanded and the
   content remains completely readable.
   ------------------------------------------------------------------------ */

.js .tour-steps--accordion .tour-step__body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 300ms ease-out;
}

.js .tour-steps--accordion .tour-step__body > small {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 1;
  transition: opacity 300ms ease-out;
}

/* Spacer lives INSIDE the clipped row child so the collapsed track is 0. */
.js .tour-steps--accordion .tour-step__body > small::before {
  display: block;
  height: 4px;
  content: "";
}

.js .tour-steps--accordion li:not(.is-active) .tour-step__body {
  grid-template-rows: 0fr;
}

.js .tour-steps--accordion li:not(.is-active) .tour-step__body > small {
  opacity: 0;
}

/* ==========================================================================
   10  COMPARISON CONNECTOR
   ========================================================================== */

.comparison-journey--compact {
  max-width: 1120px;
  margin-inline: auto;
}

/* ==========================================================================
   11  BLOCK 7 — OUTCOMES (D6 claims, quiet strip treatment)
   --strip removes the outer box; hairline rules carry the structure.
   ========================================================================== */

.outcomes-section {
  background:
    radial-gradient(circle at 84% 30%, color-mix(in srgb, var(--srx-brand) 26%, transparent), transparent 40%),
    var(--srx-chrome-deep);
}

.outcome-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--srx-panel) 14%, transparent);
  border-radius: var(--radius-card);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: color-mix(in srgb, var(--srx-panel) 3%, transparent);
}

.outcome-card {
  display: grid;
  min-height: 120px;
  padding: 16px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.outcome-card + .outcome-card {
  border-left: 1px solid color-mix(in srgb, var(--srx-panel) 14%, transparent);
}

.outcome-card .icon {
  margin-bottom: 4px;
  color: var(--srx-accent-mint);
}

.outcome-card strong {
  color: var(--srx-panel);
  font-size: clamp(16px, 1.5vw, 19px);
}

.outcome-card span {
  color: color-mix(in srgb, var(--srx-panel) 70%, transparent);
  font-size: 12px;
}

/* Quiet strip: no wall of boxes — one open band with hairline separators. */
.outcome-grid--strip {
  overflow: visible;
  border: 0;
  border-radius: 0;
  border-block: 1px solid color-mix(in srgb, var(--srx-panel) 14%, transparent);
  background: transparent;
}

.outcome-card--quiet {
  min-height: 112px;
  padding: 24px 16px;
}

/* ==========================================================================
   12  BLOCK 8 — AI STORY (D10, timeline treatment)
   Ordered-list timeline: rail + moment dots, same accordion mechanics as
   the tours so auto-advance, click, and keyboard share one rhythm.
   ========================================================================== */

.ai-story {
  display: grid;
  margin-top: 24px;
}

/* Legacy article markup (pre-refactor). */
.ai-story article {
  display: block;
  padding: 0;
  border-top: 1px solid var(--srx-line);
}

.ai-story article:last-child {
  border-bottom: 1px solid var(--srx-line);
}

.ai-story__step {
  display: grid;
  width: 100%;
  padding: 12px 8px;
  border: 0;
  border-radius: 8px;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background-color var(--motion-micro) ease;
}

.ai-story__step > span:first-child {
  padding-top: 4px;
  color: var(--srx-brand-deep);
  font: 600 10px/1.4 var(--d-font-mono);
}

.ai-story__step strong {
  display: block;
  margin: 0 0 2px;
  color: var(--srx-ink);
  font-size: 16px;
}

.ai-story__step small {
  display: block;
  margin: 0;
  color: var(--srx-ink-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.ai-story__step:hover,
.ai-story__step[aria-pressed="true"] {
  background: color-mix(in srgb, var(--srx-brand) 7%, var(--srx-panel));
}

.ai-story__step[aria-pressed="true"] {
  box-shadow: inset 2px 0 0 var(--srx-brand);
}

/* ----- Timeline variant ------------------------------------------------- */

.ai-story--timeline {
  position: relative;
  margin: 24px 0 0;
  padding: 0;
  gap: 4px;
  list-style: none;
}

.ai-story--timeline::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 11px;
  width: 1px;
  background: color-mix(in srgb, var(--srx-ink) 14%, var(--srx-paper));
  content: "";
  pointer-events: none;
}

.ai-story__moment {
  position: relative;
}

.ai-story__moment::before {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 8px;
  width: 7px;
  height: 7px;
  border: 1px solid color-mix(in srgb, var(--srx-logo-green) 55%, var(--srx-line-strong));
  border-radius: 50%;
  background: var(--srx-panel);
  content: "";
  pointer-events: none;
  transition: background-color var(--motion-micro) ease, border-color var(--motion-micro) ease;
}

.ai-story__moment.is-active::before {
  border-color: var(--srx-logo-green);
  background: var(--srx-logo-green);
}

.ai-story--timeline .ai-story__step {
  border-radius: var(--radius-control);
  grid-template-columns: 56px minmax(0, 1fr);
  padding: 12px 12px 12px 28px;
}

.ai-story--timeline .ai-story__time {
  padding-top: 4px;
  color: var(--srx-brand-deep);
  font: 600 11px/1.4 var(--d-font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ai-story--timeline .ai-story__step:not(.is-active):hover {
  background: color-mix(in srgb, var(--srx-brand) 6%, transparent);
}

.ai-story--timeline .ai-story__step.is-active,
.ai-story--timeline .ai-story__step[aria-pressed="true"] {
  background: transparent;
  box-shadow: none;
}

.ai-story--timeline .ai-story__step strong {
  transition: color var(--motion-micro) ease;
}

.ai-story--timeline .ai-story__moment:not(.is-active) .ai-story__step strong {
  color: color-mix(in srgb, var(--srx-ink) 66%, var(--srx-paper));
}

/* Same sanctioned grid-rows exception as the tour accordion (section 09):
   the title row stays 'auto'; only the body row animates 0fr <-> 1fr. */
.js .ai-story--timeline .ai-story__body {
  display: grid;
  grid-template-rows: auto 1fr;
  transition: grid-template-rows 300ms ease-out;
}

.js .ai-story--timeline .ai-story__body > small {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 1;
  transition: opacity 300ms ease-out;
}

.js .ai-story--timeline .ai-story__body > small::before {
  display: block;
  height: 4px;
  content: "";
}

.js .ai-story--timeline .ai-story__moment:not(.is-active) .ai-story__body {
  grid-template-rows: auto 0fr;
}

.js .ai-story--timeline .ai-story__moment:not(.is-active) .ai-story__body > small {
  opacity: 0;
}

.ai-day__boundary {
  margin: 16px 0 0;
  color: var(--srx-muted);
  font-size: 13px;
  line-height: 1.55;
}

.ai-day__boundary strong {
  color: var(--srx-ink);
}

/* ==========================================================================
   13  BLOCK 9 — TRUST LETTER (D7, quiet badge ledger)
   ========================================================================== */

.trust-letter {
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--srx-brand) 22%, transparent), transparent 38%),
    var(--srx-chrome-deep);
}

.trust-letter__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 64px);
}

.trust-letter__note {
  max-width: 720px;
}

.trust-letter__signature {
  display: grid;
  margin-top: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--srx-accent-mint);
}

.trust-letter__signature strong {
  color: var(--srx-panel);
}

.trust-letter__signature span {
  color: color-mix(in srgb, var(--srx-panel) 64%, transparent);
  font: 500 10px/1.5 var(--d-font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.text-link--light {
  color: var(--srx-accent-mint);
}

.text-link--light:hover,
.text-link--light:focus-visible {
  color: var(--srx-panel);
}

.trust-badges {
  display: grid;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--srx-panel) 14%, transparent);
  border-radius: var(--radius-product);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: color-mix(in srgb, var(--srx-panel) 4%, transparent);
}

.trust-badge {
  display: grid;
  min-height: 112px;
  padding: 16px;
  align-content: center;
  gap: 12px;
}

.trust-badge:nth-child(even) {
  border-left: 1px solid color-mix(in srgb, var(--srx-panel) 14%, transparent);
}

.trust-badge:nth-child(n + 3) {
  border-top: 1px solid color-mix(in srgb, var(--srx-panel) 14%, transparent);
}

.trust-badge .icon {
  color: var(--srx-accent-mint);
}

.trust-badge span {
  display: grid;
  gap: 4px;
}

.trust-badge strong {
  color: var(--srx-panel);
  font-size: 15px;
}

.trust-badge small {
  color: color-mix(in srgb, var(--srx-panel) 66%, transparent);
  font-size: 12px;
  line-height: 1.45;
}

/* Quiet ledger: single open column, hairline rules, no boxed grid.
   These overrides intentionally sit AFTER the base badge rules. */
.trust-badges--quiet {
  overflow: visible;
  border: 0;
  border-radius: 0;
  grid-template-columns: 1fr;
  background: transparent;
}

.trust-badges--quiet .trust-badge {
  display: grid;
  min-height: 0;
  padding: 16px 4px;
  border: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: 16px;
}

.trust-badges--quiet .trust-badge:not(:first-child) {
  border-top: 1px solid color-mix(in srgb, var(--srx-panel) 16%, transparent);
}

/* ==========================================================================
   14  BLOCK 10 — HOW IT WORKS
   ========================================================================== */

.how-it-works .section-intro {
  max-width: 790px;
}

.process-story {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: clamp(24px, 3vw, 48px);
}

.process-story__roles {
  display: grid;
  gap: 16px;
}

.process-role-card {
  padding: 24px;
  border: 1px solid var(--srx-line);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--srx-wash) 62%, var(--srx-panel));
}

.process-role-card__heading {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  gap: 12px;
}

.process-role-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid color-mix(in srgb, var(--srx-logo-green) 22%, var(--srx-line));
  border-radius: 13px;
  place-items: center;
  background: var(--srx-positive-soft);
  color: var(--srx-logo-green);
}

.process-role-card__heading p {
  margin: 0 0 2px;
  color: var(--srx-brand-deep);
  font: 600 9px/1.35 var(--d-font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.process-role-card__heading h3 {
  margin: 0;
  font-size: 18px;
}

.process-rail {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.process-rail li {
  position: relative;
  display: grid;
  min-height: 54px;
  padding: 8px 0;
  grid-template-columns: 34px 1fr;
  gap: 8px;
}

.process-rail li:not(:last-child)::after {
  position: absolute;
  top: 34px;
  bottom: -4px;
  left: 12px;
  width: 1px;
  background: color-mix(in srgb, var(--srx-brand) 30%, var(--srx-line));
  content: "";
}

.process-rail li > span {
  display: grid;
  width: 25px;
  height: 25px;
  border: 1px solid color-mix(in srgb, var(--srx-brand) 24%, var(--srx-line));
  border-radius: 50%;
  place-items: center;
  background: var(--srx-panel);
  color: var(--srx-brand-deep);
  font: 600 9px/1 var(--d-font-mono);
}

.process-rail strong,
.process-rail small {
  display: block;
}

.process-rail strong {
  margin-bottom: 2px;
  color: var(--srx-ink);
  font-size: 14px;
}

.process-rail small {
  color: var(--srx-muted);
  font-size: 12px;
  line-height: 1.45;
}

/* Legacy figure chrome (pre-refactor raw <img> markup). */
.process-story__product,
.network-vision__product {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--srx-line-strong);
  border-radius: var(--radius-product);
  background: var(--srx-panel);
  box-shadow: var(--shadow-product);
}

.process-story__product img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center top;
}

/* Component era: the wrapper only places and reveals — the product-media
   figure supplies its own .product-window chrome (no double borders). */
.process-story__product:has(.product-media),
.network-vision__product:has(.product-media) {
  display: grid;
  overflow: visible;
  border: 0;
  border-radius: 0;
  align-content: center;
  background: transparent;
  box-shadow: none;
}

.process-story__signal,
.network-vision__signal {
  position: absolute;
  right: 8%;
  bottom: 7%;
  left: 8%;
  height: 2px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--srx-brand) 22%, transparent);
}

.process-story__signal span,
.network-vision__signal span {
  display: block;
  width: 24%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--srx-accent-mint), transparent);
  animation: srx-product-flow 7s linear infinite;
  animation-play-state: paused;
}

.process-story__signal.is-in-view span,
.network-vision__signal.is-in-view span {
  animation-play-state: running;
}

/* ==========================================================================
   15  BLOCK 11 — NETWORK VISION (D1)
   ========================================================================== */

.network-vision {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--srx-brand) 24%, transparent), transparent 38%),
    linear-gradient(135deg, var(--srx-chrome-deep), color-mix(in srgb, var(--srx-chrome-deep) 70%, var(--srx-brand)));
}

.network-vision__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.network-vision__copy {
  max-width: 600px;
}

.network-vision .eyebrow {
  color: var(--srx-accent-mint);
}

.network-vision h2 {
  margin: 0;
  color: var(--srx-panel);
  font-size: clamp(2rem, 3.3vw, 2.625rem);
}

.network-vision__line {
  position: relative;
  display: flex;
  width: min(100%, 520px);
  height: 28px;
  margin-top: 32px;
  align-items: center;
  justify-content: space-between;
}

.network-vision__line > span {
  position: absolute;
  right: 4px;
  left: 4px;
  height: 1px;
  overflow: hidden;
  background: color-mix(in srgb, var(--srx-panel) 24%, transparent);
}

.network-vision__line > span::after {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--srx-accent-mint), transparent);
  content: "";
  animation: srx-network-flow 7s linear infinite;
  animation-play-state: paused;
}

.network-vision__line.is-in-view > span::after {
  animation-play-state: running;
}

.network-vision__line i {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border: 2px solid var(--srx-chrome-deep);
  border-radius: 50%;
  background: var(--srx-accent-mint);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--srx-accent-mint) 60%, transparent);
}

.network-vision__product {
  transform: none;
}

.network-vision__product img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center top;
}

.motion-paused .product-window__flow span,
.motion-paused .product-capture__flow > span::after,
.motion-paused .process-story__signal span,
.motion-paused .network-vision__signal span,
.motion-paused .network-vision__line span::after {
  animation-play-state: paused;
}

/* ==========================================================================
   16  BLOCK 12 — PRICING (D8 Option B, model only)
   ========================================================================== */

.pricing-section {
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--srx-brand) 5%, transparent), transparent 30%),
    var(--srx-panel);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pricing-card {
  display: flex;
  min-height: 246px;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--srx-line-strong);
  border-radius: var(--radius-product);
  background: var(--srx-panel);
  flex-direction: column;
  transition: border-color var(--motion-micro) ease, box-shadow var(--motion-component) var(--ease-enterprise), background-color var(--motion-component) var(--ease-enterprise);
}

.pricing-card--primary {
  border-color: color-mix(in srgb, var(--srx-logo-green) 48%, var(--srx-line));
  background: color-mix(in srgb, var(--srx-positive-soft) 44%, var(--srx-panel));
}

.pricing-card__identity {
  display: grid;
  margin-bottom: 24px;
  align-items: center;
  grid-template-columns: 38px 1fr;
  gap: 12px;
}

.pricing-card__mark {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--srx-brand) 25%, var(--srx-line));
  border-radius: 12px;
  place-items: center;
  background: color-mix(in srgb, var(--srx-brand) 7%, var(--srx-panel));
  color: var(--srx-brand-deep);
}

.pricing-card__mark svg {
  width: 19px;
  height: 19px;
}

.pricing-card__value {
  margin: 12px 0 16px;
  color: var(--srx-ink);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-card__price {
  margin: 8px 0 16px;
  color: var(--srx-logo-green);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.pricing-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.1;
}

.pricing-card .compact-checks {
  margin: auto 0 0;
}

/* ==========================================================================
   17  BLOCK 13 — PROOF (D9 softened band)
   One compact single-row band: marker left, copy right. Remove the
   syncrx_section('proof') include to honour "hold for launch" fully.
   ========================================================================== */

.origin-story {
  background: linear-gradient(110deg, color-mix(in srgb, var(--srx-positive-soft) 56%, var(--srx-paper)), var(--srx-paper));
}

.origin-story__grid {
  display: grid;
  max-width: 1080px;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.origin-story__marker {
  display: grid;
  min-height: 160px;
  border: 1px solid var(--srx-line-strong);
  border-radius: 50%;
  place-items: center;
  align-content: center;
  gap: 12px;
  background: var(--srx-panel);
  color: var(--srx-logo-green);
  text-align: center;
}

.origin-story__marker .icon {
  width: 36px;
  height: 36px;
}

.origin-story__marker span {
  color: var(--srx-ink);
  font: 600 12px/1.35 var(--d-font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.origin-story__note {
  margin: 24px 0 0;
  color: var(--srx-muted);
  font: 500 10px/1.5 var(--d-font-mono);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

/* Band variant: compact, single-row, no monumentality. */
.origin-story--band .origin-story__grid {
  max-width: 1080px;
  margin-inline: auto;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.origin-story--band .origin-story__marker {
  width: 112px;
  height: 112px;
  min-height: 0;
  gap: 8px;
}

.origin-story--band .origin-story__marker .icon {
  width: 24px;
  height: 24px;
}

.origin-story--band .origin-story__marker span {
  font-size: 9px;
}

.origin-story--band .eyebrow {
  margin-bottom: 8px;
}

.origin-story--band h2 {
  margin-bottom: 8px;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
}

.origin-story--band .lead {
  margin-bottom: 0;
  font-size: 16px;
}

/* ==========================================================================
   18  BLOCKS 14/15 — FAQ + FINAL CTA
   ========================================================================== */

.faq-section {
  background:
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--srx-brand) 4%, transparent), transparent 28%),
    var(--srx-panel);
}

.cta-panel--dark {
  border-color: color-mix(in srgb, var(--srx-panel) 16%, transparent);
  background: color-mix(in srgb, var(--srx-panel) 4%, transparent);
}

.cta-panel--dark h2,
.cta-panel--dark p {
  color: var(--srx-panel);
}

/* ==========================================================================
   19  LEGACY BLOCKS kept for pre-refactor markup and shared pages
   ========================================================================== */

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.module-grid--pharmacy {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.module-card {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--srx-line);
  border-radius: var(--radius-card);
  background: var(--srx-panel);
  transition: border-color var(--motion-micro) ease, box-shadow var(--motion-component) var(--ease-enterprise), transform var(--motion-component) var(--ease-enterprise);
}

.module-card:hover {
  border-color: color-mix(in srgb, var(--srx-brand) 38%, var(--srx-line));
  box-shadow: var(--shadow-low);
  transform: translateY(-2px);
}

.module-card .icon {
  margin-bottom: 16px;
  color: var(--srx-logo-green);
}

.module-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.module-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.outcome-strip--page {
  overflow: hidden;
  border: 1px solid var(--srx-line);
  border-radius: var(--radius-card);
}

.outcome-strip--page .outcome-strip__item {
  min-height: 104px;
}

.outcome-strip--page .outcome-strip__item span {
  color: var(--srx-ink-secondary);
  font-size: 13px;
  line-height: 1.4;
}

.outcome-strip--page .outcome-strip__item strong {
  color: var(--srx-ink);
}

.tour-media {
  overflow: hidden;
  border: 1px solid var(--srx-line-strong);
  border-radius: var(--radius-product);
  background: var(--srx-panel);
  box-shadow: var(--shadow-product);
}

.tour-media .syncrx-vector {
  width: 100%;
  aspect-ratio: 5 / 3;
}

.product-capture {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
}

.product-capture__flow {
  position: absolute;
  right: 8%;
  bottom: 8%;
  left: 8%;
  display: grid;
  height: 22px;
  grid-template-columns: 1fr repeat(4, 10px);
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  pointer-events: none;
}

.tour-media:has(.product-capture__flow) {
  position: relative;
}

.product-capture__flow > span {
  position: absolute;
  right: 0;
  left: 0;
  height: 2px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--srx-brand) 26%, transparent);
}

.product-capture__flow > span::after {
  display: block;
  width: 22%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--srx-accent-mint), transparent);
  content: "";
  animation: srx-network-flow 7s linear infinite;
  animation-play-state: paused;
}

.product-capture__flow.is-in-view > span::after {
  animation-play-state: running;
}

.product-capture__flow > i {
  z-index: 1;
  width: 10px;
  height: 10px;
  border: 2px solid var(--srx-panel);
  border-radius: 50%;
  background: var(--srx-brand);
  box-shadow: 0 0 0 1px var(--srx-brand);
}

.trust-overview {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--srx-line);
  border-radius: var(--radius-product);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--srx-panel);
}

.trust-overview__item {
  min-height: 210px;
  padding: 24px;
}

.trust-overview__item + .trust-overview__item {
  border-left: 1px solid var(--srx-line);
}

.trust-overview__item .icon {
  margin-bottom: 24px;
  color: var(--srx-logo-green);
}

.trust-overview__item h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.trust-overview__item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

/* ==========================================================================
   20  HOVER REFINEMENT — fine pointers only, calm and restrained
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
  .tour-media,
  .pricing-card {
    transition: border-color var(--motion-micro) ease, box-shadow var(--motion-component) var(--ease-enterprise);
  }

  .tour-media:hover,
  .pricing-card:hover {
    border-color: color-mix(in srgb, var(--srx-brand) 38%, var(--srx-line));
    box-shadow: 0 24px 54px -26px color-mix(in srgb, var(--srx-chrome-deep) 32%, transparent);
  }

  .outcome-card {
    transition: background-color var(--motion-component) var(--ease-enterprise);
  }

  .outcome-card:hover {
    z-index: 1;
    background: color-mix(in srgb, var(--srx-brand) 18%, transparent);
  }

  .outcome-card svg {
    transition: color var(--motion-component) var(--ease-enterprise);
  }

  .outcome-card:hover svg {
    color: var(--srx-accent-mint);
  }
}

/* ==========================================================================
   21  KEYFRAMES
   ========================================================================== */

@keyframes srx-product-flow {
  from { transform: translateX(-110%); }
  to { transform: translateX(460%); }
}

@keyframes srx-pain-ticker {
  to { transform: translateX(-50%); }
}

@keyframes srx-network-flow {
  from { transform: translateX(-100%); }
  to { transform: translateX(560%); }
}

/* ==========================================================================
   22  RESPONSIVE — mobile-first corrections at 1024 / 768 / 420 / 1440.
   No horizontal overflow at any width from 320 up.
   ========================================================================== */

@media (max-width: 1024px) {
  .credibility-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credibility-bar__item:nth-child(3) {
    border-left: 0;
  }

  .credibility-bar__item:nth-child(n + 3) {
    border-top: 1px solid var(--srx-line);
  }

  .credibility-bar--hero-attached .credibility-bar__grid {
    gap: 8px 32px;
  }

  .credibility-bar--hero-attached .credibility-bar__item:nth-child(3) {
    border-left: 0;
  }

  .credibility-bar--hero-attached .credibility-bar__item:nth-child(n + 3) {
    border-top: 0;
  }

  .product-tour__grid,
  .product-tour__grid--reverse,
  .trust-letter__grid,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .process-story {
    grid-template-columns: 1fr;
  }

  .process-story__roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-tour__grid--reverse .product-tour__copy,
  .product-tour__grid--reverse .tour-media,
  .product-tour__grid--reverse .product-tour__media {
    order: initial;
  }

  .product-tour__copy {
    max-width: 780px;
  }

  .outcome-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .outcome-card:nth-child(4) {
    border-left: 0;
  }

  .outcome-card:nth-child(n + 4) {
    border-top: 1px solid color-mix(in srgb, var(--srx-panel) 14%, transparent);
  }

  .trust-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-overview__item:nth-child(3) {
    border-left: 0;
  }

  .trust-overview__item:nth-child(n + 3) {
    border-top: 1px solid var(--srx-line);
  }

  .module-grid,
  .module-grid--pharmacy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-hero--statement {
    padding-top: 48px;
  }

  .statement-hero {
    justify-items: stretch;
  }

  .statement-hero__copy {
    min-inline-size: 0;
    text-align: left;
  }

  .statement-hero__copy h1 {
    max-width: 100%;
    margin-inline: 0;
    line-height: 1.08;
  }

  .statement-hero__copy .lead {
    max-inline-size: 100%;
    margin-inline: 0;
    overflow-wrap: anywhere;
  }

  .button-row--center {
    justify-content: flex-start;
  }

  .statement-hero__copy .button {
    max-inline-size: 100%;
  }

  .statement-hero__product {
    margin-top: 32px;
  }

  .product-window__bar > span:nth-child(2) {
    display: none;
  }

  /* The chrome title span hides above to save bar room, but the component's
     title is functional (JS retitles per step) — keep IT visible. */
  .product-window__bar > .product-media__title {
    display: block;
  }

  .product-window img {
    min-height: 0;
    object-fit: contain;
    object-position: center top;
  }

  .credibility-bar {
    padding-top: 48px;
  }

  .credibility-bar__item {
    min-height: 76px;
    padding: 12px;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
  }

  .credibility-bar--hero-attached {
    padding: 8px 0;
  }

  .credibility-bar--hero-attached .credibility-bar__grid {
    justify-content: flex-start;
    gap: 4px 24px;
  }

  .credibility-bar--hero-attached .credibility-bar__item {
    min-height: 40px;
    padding: 0;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 8px;
    font-size: 12px;
  }

  .pain-marquee__track {
    animation-duration: 38s;
  }

  .pain-marquee::before,
  .pain-marquee::after {
    width: 48px;
  }

  .audience-door .audience-card__visual {
    min-height: 0;
    flex-basis: auto;
  }

  .module-grid,
  .module-grid--pharmacy {
    grid-template-columns: 1fr;
  }

  .module-card {
    min-height: 0;
  }

  .product-tour__grid {
    gap: 32px;
  }

  .tour-media__bar span:last-child {
    display: none;
  }

  .tour-media .syncrx-vector {
    aspect-ratio: 1 / 0.8;
  }

  .outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .outcome-card {
    min-height: 120px;
    padding: 16px 12px;
  }

  .outcome-card:nth-child(3),
  .outcome-card:nth-child(5) {
    border-left: 0;
  }

  .outcome-card:nth-child(3) {
    border-top: 1px solid color-mix(in srgb, var(--srx-panel) 14%, transparent);
  }

  .outcome-card:nth-child(4) {
    border-left: 1px solid color-mix(in srgb, var(--srx-panel) 14%, transparent);
  }

  .outcome-card:nth-child(n + 5) {
    border-top: 1px solid color-mix(in srgb, var(--srx-panel) 14%, transparent);
  }

  .trust-badges,
  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .trust-overview {
    grid-template-columns: 1fr;
  }

  .trust-overview__item {
    min-height: 0;
  }

  .trust-overview__item + .trust-overview__item {
    border-top: 1px solid var(--srx-line);
    border-left: 0;
  }

  .trust-badge {
    min-height: 124px;
  }

  .trust-badge:nth-child(even) {
    border-left: 0;
  }

  .trust-badge + .trust-badge {
    border-top: 1px solid color-mix(in srgb, var(--srx-panel) 14%, transparent);
  }

  .trust-badges--quiet .trust-badge {
    min-height: 0;
  }

  .role-process .process-grid {
    grid-template-columns: 1fr;
  }

  .role-process .process-step {
    min-height: 0;
  }

  .process-story__roles,
  .network-vision__grid {
    grid-template-columns: 1fr;
  }

  .network-vision__product {
    transform: none;
  }

  .pricing-card {
    min-height: 0;
  }

  .origin-story__grid {
    grid-template-columns: 1fr;
  }

  .origin-story__marker {
    width: 160px;
    height: 160px;
    min-height: 0;
  }

  .origin-story--band .origin-story__grid {
    grid-template-columns: 1fr;
  }

  .origin-story--band .origin-story__marker {
    width: 112px;
    height: 112px;
  }
}

@media (max-width: 420px) {
  .product-window__bar,
  .tour-media__bar {
    padding-inline: 12px;
  }

  /* Icon-only pause/play at tiny widths; aria-pressed + the visually
     hidden name keep it fully accessible. */
  .product-media__toggle-text {
    display: none;
  }

  .credibility-bar__item {
    min-height: 82px;
  }

  .tour-step {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .tour-steps--accordion .tour-step {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .tour-steps--accordion::before {
    left: 22px;
  }

  .tour-steps--accordion .tour-step__number {
    width: 28px;
    height: 28px;
  }

  .ai-story__step {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .ai-story--timeline .ai-story__step {
    grid-template-columns: 52px minmax(0, 1fr);
    padding-left: 24px;
  }

  .ai-story--timeline::before {
    left: 9px;
  }

  .ai-story__moment::before {
    left: 6px;
  }

  .outcome-card strong {
    font-size: 15px;
  }
}

@media (min-width: 1440px) {
  .statement-hero__product {
    width: min(100%, 1080px);
  }
}

/* ==========================================================================
   23  REDUCED MOTION — complete static composition.
   No crossfade, no auto-advance (JS also refuses to loop), no marquee.
   Every accordion body re-expands so all content is readable at rest.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .product-media .product-media__stage .product-media__frame {
    transition: none;
  }

  /* JS keeps the loop off and the control hidden; belt and braces. */
  .product-media__toggle {
    display: none;
  }

  .js .tour-steps--accordion .tour-step__body,
  .js .ai-story--timeline .ai-story__body {
    transition: none;
  }

  .js .tour-steps--accordion .tour-step__body > small,
  .js .ai-story--timeline .ai-story__body > small {
    transition: none;
  }

  .js .tour-steps--accordion li:not(.is-active) .tour-step__body {
    grid-template-rows: 1fr;
  }

  .js .tour-steps--accordion li:not(.is-active) .tour-step__body > small {
    opacity: 1;
  }

  .js .ai-story--timeline .ai-story__moment:not(.is-active) .ai-story__body {
    grid-template-rows: auto 1fr;
  }

  .js .ai-story--timeline .ai-story__moment:not(.is-active) .ai-story__body > small {
    opacity: 1;
  }

  .product-window__flow span,
  .product-capture__flow > span::after,
  .process-story__signal span,
  .network-vision__signal span,
  .pain-marquee__track,
  .network-vision__line span::after {
    animation: none;
  }

  .pain-marquee__track {
    width: 100%;
    padding-inline: var(--gutter);
    flex-wrap: wrap;
    white-space: normal;
    transform: none;
  }

  .pain-marquee__track > :nth-child(n + 11) {
    display: none;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   Block 10 — How it works: split feature-grid composition (2026-07-24).
   Reference rhythm: big statement heading, left 2-column icon feature grid
   (one column per role), right one dominant uncropped product screen with a
   second smaller ORIGINAL capture layered on its corner. Approved copy only.
   The legacy .process-story rules above are dormant (markup removed).
   ═══════════════════════════════════════════════════════════════════════ */

.hiw-split {
  display: grid;
  margin-top: clamp(32px, 3.4vw, 48px);
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 64px);
}

.hiw-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.hiw-col__role {
  margin: 0 0 16px;
  color: var(--srx-muted);
  font: 600 12px/1.4 var(--d-font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hiw-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: clamp(20px, 2.4vw, 32px);
  list-style: none;
}

.hiw-item {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.hiw-item__icon {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  border: 1px solid color-mix(in srgb, var(--srx-brand) 25%, var(--srx-line));
  border-radius: 12px;
  place-items: center;
  background: color-mix(in srgb, var(--srx-brand) 7%, var(--srx-panel));
  color: var(--srx-brand-deep);
}

.hiw-item__icon svg {
  width: 19px;
  height: 19px;
}

.hiw-item strong {
  color: var(--srx-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.hiw-item small {
  color: var(--srx-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Media stack: main screen + layered original two-factor capture. */
.hiw-media {
  position: relative;
}

.hiw-media .product-media {
  margin: 0;
}

.hiw-overlay {
  position: absolute;
  right: clamp(-16px, -1vw, -8px);
  bottom: clamp(-24px, -1.6vw, -16px);
  width: clamp(150px, 24%, 210px);
  margin: 0;
  border: 2px solid var(--srx-brand);
  border-radius: 12px;
  background: var(--srx-panel);
  box-shadow: var(--shadow-product);
  overflow: hidden; /* rounds the overlay card corners only — the img inside
                       renders whole at its natural 631/482 ratio, no crop */
}

.hiw-overlay img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* ════════════════════════════════════════════════════════════════════════
   Block 12 — Pricing: centered plan-card composition (2026-07-24).
   Reference rhythm: centered intro, cards with glyph → audience → emphasised
   value → full-width pill CTA → checks BELOW the CTA behind a thin brand
   accent rule. D8: model only — never a currency amount.
   ═══════════════════════════════════════════════════════════════════════ */

.pricing-section--centered .section-intro--center {
  max-width: 640px;
  margin-inline: auto;
}

.pricing-cards--centered {
  display: grid;
  max-width: 880px;
  margin: clamp(32px, 3.4vw, 48px) auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 24px);
}

.pricing-card__price--model {
  color: var(--srx-brand-deep);
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  line-height: 1.05;
}

.pricing-card__cta {
  margin-top: auto;
  padding-top: 20px;
}

.pricing-card__cta .button {
  width: 100%;
  justify-content: center;
}

.pricing-card__checks {
  display: grid;
  margin: 20px 0 0;
  padding: 4px 0 4px 16px;
  gap: 10px;
  border-left: 2px solid var(--srx-brand);
  list-style: none;
}

.pricing-card--primary .pricing-card__checks {
  border-left-color: var(--srx-logo-green);
}

.pricing-card__checks li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--srx-ink-secondary);
  font-size: 13.5px;
  line-height: 1.5;
}

.pricing-card__checks svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--srx-logo-green);
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .hiw-split {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hiw-media {
    order: 2;
  }
}

@media (max-width: 767px) {
  .pricing-cards--centered {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .hiw-overlay {
    position: static;
    width: min(60%, 240px);
    margin: 16px auto 0;
  }
}

@media (max-width: 560px) {
  .hiw-features {
    grid-template-columns: 1fr;
  }
}

/* Pricing CTAs render as solid chrome pills on light cards (the button--dark
   variant is authored for dark surfaces and washes out here). Approved Dark
   Ink-derived chrome only — the thinkhpy black-pill rhythm, our palette. */
.pricing-card__cta .button--dark {
  border-color: var(--srx-chrome);
  background: var(--srx-chrome);
  color: var(--srx-paper);
}

.pricing-card__cta .button--dark:hover,
.pricing-card__cta .button--dark:focus-visible {
  border-color: var(--srx-chrome-deep);
  background: var(--srx-chrome-deep);
  color: var(--srx-paper);
}

/* Credibility strip: quieter proof rhythm — hairlines and DM Mono labels
   instead of a boxed card row. Markup unchanged. */
.credibility-bar--hero-attached {
  border-top: 1px solid var(--srx-line);
  border-bottom: 1px solid var(--srx-line);
  background: var(--srx-paper);
}

.credibility-bar--hero-attached .credibility-bar__item {
  border: 0;
  background: transparent;
  color: var(--srx-ink-secondary);
  font: 500 12px/1.5 var(--d-font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.credibility-bar--hero-attached .credibility-bar__item svg {
  width: 16px;
  height: 16px;
  color: var(--srx-logo-green);
}

@media (min-width: 768px) {
  .credibility-bar--hero-attached .credibility-bar__item + .credibility-bar__item {
    border-left: 1px solid var(--srx-line);
  }
}

/* ════════════════════════════════════════════════════════════════════════
   Continuous-canvas pass (2026-07-24 owner feedback): the page no longer
   alternates white → dark green → white. Blocks 7 (outcomes) and 9 (trust)
   move from .section--dark to .section--tint — a soft green wash that fades
   in from warm paper and back out, so the canvas reads as one blended
   surface. The single remaining dark event is the final CTA + footer.
   ═══════════════════════════════════════════════════════════════════════ */

.section--tint {
  background: linear-gradient(
    180deg,
    var(--srx-paper) 0%,
    color-mix(in srgb, var(--srx-brand) 8%, var(--srx-paper)) 24%,
    color-mix(in srgb, var(--srx-brand) 8%, var(--srx-paper)) 76%,
    var(--srx-paper) 100%
  );
}

/* Outcomes strip on the tinted surface: ink text, brand icons, hairlines. */
.section--tint .outcome-card,
.section--tint .outcome-card--quiet {
  border-color: color-mix(in srgb, var(--srx-brand) 18%, transparent);
  background: transparent;
  color: var(--srx-ink);
}

.section--tint .outcome-card strong {
  color: var(--srx-ink);
}

.section--tint .outcome-card span {
  color: var(--srx-muted);
}

.section--tint .outcome-card .icon,
.section--tint .outcome-card svg {
  color: var(--srx-brand-deep);
}

/* Trust letter + badges on the tinted surface. */
.section--tint .trust-letter__note,
.section--tint .trust-letter__note h2,
.section--tint .trust-letter__note p {
  color: var(--srx-ink);
}

.section--tint .trust-letter__note > p {
  color: var(--srx-ink-secondary);
}

.section--tint .trust-letter__signature strong {
  color: var(--srx-ink);
}

.section--tint .trust-letter__signature span {
  color: var(--srx-muted);
}

.section--tint .trust-badge {
  border-color: color-mix(in srgb, var(--srx-brand) 18%, transparent);
  background: color-mix(in srgb, var(--srx-panel) 55%, transparent);
  color: var(--srx-ink);
}

.section--tint .trust-badge strong {
  color: var(--srx-ink);
}

.section--tint .trust-badge small {
  color: var(--srx-muted);
}

.section--tint .trust-badge .icon,
.section--tint .trust-badge svg {
  color: var(--srx-logo-green);
}

.section--tint .eyebrow {
  color: var(--srx-brand-deep);
}

/* Boundary note on the tint wash (security page): the filled panel and
   rounded corner drop so the note reads boxless like the outcomes strip —
   a single brand hairline rule carries the emphasis. Privacy/terms notes
   sit on plain paper and keep the base pages.css treatment. */
.section--tint .boundary-note {
  padding: 6px 0 6px 22px;
  border-left: 1px solid color-mix(in srgb, var(--srx-brand) 45%, transparent);
  border-radius: 0;
  background: transparent;
}

/* ── Comparison scene: 4v4 labels + broken end-node ─────────────────────── */

.syncrx-vector--comparison .vector-stage-label--old,
.syncrx-vector--comparison-mobile .vector-stage-label--old {
  fill: var(--srx-muted);
}

.vector-broken {
  fill: color-mix(in srgb, var(--srx-muted) 14%, var(--srx-paper));
  stroke: var(--srx-muted);
  stroke-width: 1.5;
}

.vector-broken-x {
  fill: none;
  stroke: var(--srx-muted);
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* ── Two Doors (block 4): proper image placement (owner 2026-07-24) ──────
   Inside audience cards the product screen fills the card's remaining
   height, anchored to the bottom edge, shown whole (contain — never
   cropped). The mini window chrome bar is hidden here: the card already
   carries its own label, so interior chrome read as clutter. */

.audience-card__visual:has(.product-media) {
  display: block;
  margin-top: auto;
  padding: 0 clamp(16px, 2vw, 24px) clamp(16px, 2vw, 24px);
  border-top: 0;
}

.audience-card__media {
  margin: 0;
}

/* Inset rounded screen frame: the stage keeps the native 1917/865 ratio so
   the loop frames fill it exactly — whole image, no dead space, no crop.
   (The percentage-height chain used before collapsed to 0 in a block
   parent; a fixed ratio makes the height self-computing and reliable.) */
.audience-card__media .product-window {
  border: 1px solid var(--srx-line);
  border-radius: 14px;
  background: var(--srx-wash);
  box-shadow: none;
  overflow: hidden; /* rounds the frame corners; the ratio-locked stage
                       inside means the product image itself is never cut */
}

.audience-card__media .product-window__bar {
  display: none;
}

.audience-card__media .product-media__stage {
  background: var(--srx-wash);
}

/* ════════════════════════════════════════════════════════════════════════
   Footer — reference composition (owner 2026-07-24): brand + tagline +
   contact pill left, three labeled columns, hairline bottom row. Scoped
   under .site-footer--ref so the base footer rules in components.css keep
   working for anything not overridden here (single dark closing surface).
   ═══════════════════════════════════════════════════════════════════════ */

.site-footer--ref {
  padding: clamp(48px, 5.5vw, 88px) 0 0;
}

.site-footer--ref .site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: clamp(40px, 4.5vw, 64px);
}

.site-footer--ref .site-footer__brand p {
  max-width: 34ch;
  margin: 16px 0 24px;
  color: color-mix(in srgb, var(--srx-paper) 62%, transparent);
  font-size: 15px;
  line-height: 1.6;
}

.site-footer--ref .site-footer__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid color-mix(in srgb, var(--srx-paper) 22%, transparent);
  border-radius: var(--radius-pill);
  color: var(--srx-paper);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--motion-micro) ease, background-color var(--motion-micro) ease;
}

.site-footer--ref .site-footer__pill:hover,
.site-footer--ref .site-footer__pill:focus-visible {
  border-color: color-mix(in srgb, var(--srx-paper) 45%, transparent);
  background: color-mix(in srgb, var(--srx-paper) 8%, transparent);
}

.site-footer--ref .site-footer__label {
  margin: 0 0 18px;
  color: var(--srx-paper);
  font-size: 15px;
  font-weight: 600;
}

.site-footer--ref .site-footer__nav {
  display: grid;
  align-content: start;
  gap: 14px;
}

.site-footer--ref .site-footer__nav a {
  color: color-mix(in srgb, var(--srx-paper) 60%, transparent);
  font-size: 14.5px;
  text-decoration: none;
  transition: color var(--motion-micro) ease;
}

.site-footer--ref .site-footer__nav a:hover,
.site-footer--ref .site-footer__nav a:focus-visible {
  color: var(--srx-paper);
}

.site-footer--ref .site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid color-mix(in srgb, var(--srx-paper) 14%, transparent);
  color: color-mix(in srgb, var(--srx-paper) 55%, transparent);
  font-size: 13.5px;
}

.site-footer--ref .site-footer__bottom a {
  color: inherit;
  text-decoration: none;
}

.site-footer--ref .site-footer__bottom a:hover,
.site-footer--ref .site-footer__bottom a:focus-visible {
  color: var(--srx-paper);
}

@media (max-width: 1024px) {
  .site-footer--ref .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-footer--ref .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer--ref .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Trust badges match the outcomes-strip language (owner 2026-07-24):
   no panel box, no bordered cards — hairline-separated rows only. */
.section--tint .trust-badges {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.section--tint .trust-badge {
  padding: 18px 4px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--srx-ink) 10%, transparent);
  border-radius: 0;
  background: transparent;
}

.section--tint .trust-badge:last-child {
  border-bottom: 0;
}

/* ── Book a Demo form layout (owner 2026-07-24: "form need proper") ──────
   Field visuals come from the existing .form-field / .demo-form-shell
   system in components.css/pages.css; this block only supplies the grid
   and the compact-shell variant used inside the audience split column. */

.demo-form-shell--compact {
  margin-top: 32px;
  padding: clamp(24px, 3vw, 32px);
}

.demo-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.demo-form-submit {
  width: 100%;
  margin-top: 24px;
  justify-content: center;
}

@media (max-width: 700px) {
  .demo-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   Modern-UX pass (owner approved 2026-07-24). Six upgrades, all gated on
   prefers-reduced-motion and all transform/opacity/native-CSS only.
   ═══════════════════════════════════════════════════════════════════════ */

/* 1 · App-like page crossfades between routes (native View Transitions;
      browsers without support silently ignore). */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 220ms;
  }
}

/* 2 · Reading-progress hairline pinned under the sticky header. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .site-header::after {
      position: absolute;
      right: 0;
      bottom: -1px;
      left: 0;
      height: 2px;
      background: var(--srx-brand);
      content: "";
      transform: scaleX(0);
      transform-origin: left;
      animation: srx-reading-progress linear both;
      animation-timeline: scroll(root);
    }

    @keyframes srx-reading-progress {
      to { transform: scaleX(1); }
    }
  }
}

/* 3 · Hover depth on product frames — screenshots read as touchable product. */
@media (prefers-reduced-motion: no-preference) {
  .product-media__window {
    transition: transform 200ms var(--ease-enterprise), box-shadow 200ms var(--ease-enterprise);
  }

  .product-media:hover .product-media__window,
  .product-media:focus-within .product-media__window {
    transform: translateY(-3px);
    box-shadow: var(--shadow-product);
  }
}

/* 4 · Two-layer focus ring — stays visible on dark surfaces where the
      single brand-green outline used to vanish. */
.section--dark :focus-visible,
.site-footer :focus-visible,
.page-hero--statement :focus-visible {
  outline: 2px solid var(--srx-accent-mint);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--srx-chrome-deep) 85%, transparent);
}

/* 5 · FAQ open/close glide instead of the instant snap. */
@media (prefers-reduced-motion: no-preference) {
  @supports (interpolate-size: allow-keywords) {
    .faq-section details::details-content {
      height: 0;
      overflow: clip;
      transition: height 260ms ease-out, content-visibility 260ms allow-discrete;
    }

    .faq-section details[open]::details-content {
      height: auto;
    }
  }
}

/* 6 · Dwell progress on the active tour step — makes the auto-rotation
      legible. Runs ONLY while the loop is actually rotating (theme.js sets
      .is-looping on the section) and never under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .tour-steps--accordion li.is-active .tour-step::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: color-mix(in srgb, var(--srx-brand) 35%, transparent);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
  }

  section.is-looping .tour-steps--accordion li.is-active .tour-step::after {
    animation: srx-dwell 5.6s linear forwards;
  }

  @keyframes srx-dwell {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
}

/* ════════════════════════════════════════════════════════════════════════
   Two Doors media — DEFINITIVE sizing (owner 2026-07-24: "need both
   section video also"). Three generations of rules (components.css
   align-self/min-height, pages.css 16/9 img ratios, two earlier :has()
   blocks above) fought over this container and the media chain computed
   zero height. This final block neutralizes every trap and gives the
   stage a hard floor so the loop can never collapse again.
   ═══════════════════════════════════════════════════════════════════════ */

.audience-door .audience-card__visual,
.audience-card__visual:has(.product-media) {
  display: block;
  align-self: stretch;
  min-height: 0;
  margin-top: auto;
  padding: 0 clamp(16px, 2vw, 24px) clamp(16px, 2vw, 24px);
  border-top: 0;
  overflow: visible;
  background: var(--srx-panel);
}

.audience-card__visual .audience-card__media {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.audience-card__visual .audience-card__media .product-window {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  border: 1px solid var(--srx-line);
  border-radius: 14px;
  background: var(--srx-wash);
  box-shadow: none;
  overflow: hidden;
}

.audience-card__visual .audience-card__media .product-window__bar {
  display: none;
}

/* Hard floor: even if a future rule defeats aspect-ratio, the stage keeps
   visible height and the contained frames render whole. */
.audience-card__visual .audience-card__media .product-media__stage {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  aspect-ratio: 1917 / 865;
  background: var(--srx-wash);
}

.audience-card__visual .audience-card__media .product-media__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

/* ── Back-to-top (owner 2026-07-24) + anchor offset under sticky header ── */

[id] {
  scroll-margin-top: 96px;
}

.back-to-top {
  position: fixed;
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  z-index: 90;
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid color-mix(in srgb, var(--srx-paper) 18%, transparent);
  border-radius: 50%;
  place-items: center;
  background: var(--srx-chrome);
  color: var(--srx-paper);
  box-shadow: var(--shadow-low);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--motion-micro) ease, transform var(--motion-micro) ease, background-color var(--motion-micro) ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--srx-brand-deep);
}

/* Without JavaScript the anchor still works: keep it visible statically. */
.no-js .back-to-top {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transform: none;
    transition: opacity var(--motion-micro) ease;
  }
}

/* ── Backend-editability round (owner 2026-07-24) ─────────────────────── */

/* Logo: a little bigger in the header (was 70x50). */
.site-header .brand-mark {
  width: 88px;
  height: 62px;
}

.site-footer__phone {
  margin: 12px 0 0;
}

.site-footer__phone a {
  color: color-mix(in srgb, var(--srx-paper) 72%, transparent);
  font-size: 14.5px;
  text-decoration: none;
}

.site-footer__phone a:hover,
.site-footer__phone a:focus-visible {
  color: var(--srx-paper);
}

/* ── Product-screen lightbox: click any screen to view it full size ───── */

[data-media-stage] {
  cursor: zoom-in;
}

.media-lightbox {
  max-width: 96vw;
  max-height: 96vh;
  padding: 0;
  border: 0;
  background: transparent;
}

.media-lightbox::backdrop {
  background: color-mix(in srgb, var(--srx-chrome-deep) 78%, transparent);
}

.media-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 88vh;
  border-radius: 12px;
  background: var(--srx-panel);
}

.media-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: var(--srx-chrome);
  color: var(--srx-paper);
  cursor: pointer;
}

.media-lightbox__close:hover,
.media-lightbox__close:focus-visible {
  background: var(--srx-brand-deep);
}

/* ════════════════════════════════════════════════════════════════════════
   Native-page + blog design (owner 2026-07-24: legal pages and blog cards
   "need improvement"). Styles the default WordPress rendering path so
   owner-edited pages and posts sit in the same visual system.
   ═══════════════════════════════════════════════════════════════════════ */

.site-main .entry {
  padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 104px);
}

.site-main .entry__header {
  max-width: 760px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(20px, 2.5vw, 28px);
  border-bottom: 1px solid var(--srx-line);
}

.site-main .entry__header h1 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.site-main .entry__content {
  max-width: 760px;
}

.prose h2 {
  margin-top: clamp(28px, 3.5vw, 40px);
  padding-top: clamp(18px, 2.2vw, 24px);
  border-top: 1px solid color-mix(in srgb, var(--srx-ink) 8%, transparent);
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
}

.prose p {
  color: var(--srx-ink-secondary);
  line-height: 1.7;
}

.prose p strong {
  color: var(--srx-ink);
}

/* Blog cards: finished composition with or without a featured image. */
.resource-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--srx-line);
  border-radius: var(--radius-card);
  background: var(--srx-panel);
}

.resource-card__body {
  display: flex;
  padding: clamp(20px, 2.4vw, 28px);
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
}

.resource-card__body .eyebrow {
  margin-bottom: 0;
  color: var(--srx-muted);
}

.resource-card h2 {
  margin: 0;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.3;
}

.resource-card h2 a {
  color: var(--srx-ink);
  text-decoration: none;
}

.resource-card h2 a:hover,
.resource-card h2 a:focus-visible {
  color: var(--srx-brand-deep);
}

.resource-card__body > p {
  margin: 0;
  color: var(--srx-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.resource-card__body .text-link {
  margin-top: auto;
  padding-top: 8px;
}

/* No featured image: a quiet tinted band keeps cards balanced in the grid. */
.resource-card:not(:has(.resource-card__media))::before {
  display: block;
  height: 10px;
  background: linear-gradient(90deg, var(--srx-logo-green), var(--srx-brand));
  content: "";
}

/* ── Block 8: day-in-the-life lines (brief §6.8, owner-approved round) ──
   Three hairline rows beneath the Tuesday timeline — same boxless
   language as the outcomes strip. */

.ai-day-lives {
  display: grid;
  margin: 20px 0 16px;
  padding: 0;
  gap: 0;
  list-style: none;
}

.ai-day-lives li {
  display: grid;
  padding: 12px 4px;
  border-top: 1px solid color-mix(in srgb, var(--srx-ink) 10%, transparent);
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
}

.ai-day-lives__role {
  color: var(--srx-brand-deep);
  font: 600 11px/1.5 var(--d-font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-day-lives li > span:last-child {
  color: var(--srx-ink-secondary);
  font-size: 14.5px;
  line-height: 1.55;
}

@media (max-width: 560px) {
  .ai-day-lives li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
