/* Native embeds (formerly Website_blocks iframes). Scoped to mount roots only. */

/* ── Why PULSAR page header (aligned with Platform hero) ── */
.why-pulsar-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
  border-bottom: none;
  padding-bottom: clamp(8px, 2vw, 16px);
  min-height: calc(100vh - var(--nav-h) - 170px);
  min-height: calc(100dvh - var(--nav-h) - 170px);
}

.why-pulsar-head__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-head__actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.why-pulsar-head__cta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.why-pulsar-head__visual {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 75% 60% at 18% 18%, rgba(91, 159, 212, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 55% at 86% 82%, rgba(78, 205, 196, 0.14) 0%, transparent 62%),
    rgba(13, 19, 36, 0.78);
  min-height: clamp(260px, 34vw, 420px);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.why-pulsar-head__visual .platform-hero-viz {
  flex: 1;
  min-height: 0;
}

.why-pulsar-head__visual .platform-hero-viz--complexity .platform-hero-viz__stage {
  aspect-ratio: 680 / 380;
  min-height: clamp(200px, 28vw, 340px);
}

.why-pulsar-head__divider {
  max-width: var(--max);
  margin: 0 auto;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(239, 131, 84, 0.95) 0%, rgba(239, 131, 84, 0.4) 46%, rgba(239, 131, 84, 0.1) 100%);
}

@media (max-width: 920px) {
  .why-pulsar-head {
    grid-template-columns: 1fr;
    min-height: calc(100vh - var(--nav-h) - 190px);
    min-height: calc(100dvh - var(--nav-h) - 190px);
  }
}

/* ── Solution how (3 cards) ── */
#pulsar-solution-how-mount {
  width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#pulsar-solution-how-mount *,
#pulsar-solution-how-mount *::before,
#pulsar-solution-how-mount *::after {
  box-sizing: border-box;
}

#pulsar-solution-how-mount .cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 14px);
  width: 100%;
  padding-block: 12px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

#pulsar-solution-how-mount .flip-wrap {
  perspective: 1400px;
  cursor: pointer;
  height: clamp(390px, 40vw, 430px);
  overflow: hidden;
  isolation: isolate;
}

#pulsar-solution-how-mount .flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 14px;
  transform-origin: center center;
}

#pulsar-solution-how-mount .flip-wrap.flipped .flip-inner {
  transform: rotateY(180deg);
}

#pulsar-solution-how-mount .flip-wrap.flipped .flip-inner.peeking {
  animation: none;
  transform: rotateY(180deg);
}

@media (hover: hover) and (pointer: fine) {
  #pulsar-solution-how-mount .flip-wrap:hover .flip-inner:not(.peeking),
  #pulsar-solution-how-mount .flip-wrap:focus-within .flip-inner:not(.peeking) {
    transform: rotateY(180deg);
  }
}

@keyframes pulsar-solution-how-peek {
  0% {
    transform: rotateY(0deg);
  }
  30% {
    transform: rotateY(26deg);
  }
  55% {
    transform: rotateY(26deg);
  }
  100% {
    transform: rotateY(0deg);
  }
}

#pulsar-solution-how-mount .flip-inner.peeking {
  animation: pulsar-solution-how-peek 1.4s cubic-bezier(0.45, 0, 0.25, 1) forwards;
}

#pulsar-solution-how-mount .face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#pulsar-solution-how-mount .front {
  transform: rotateY(0deg) translateZ(1px);
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
}

#pulsar-solution-how-mount .canvas-zone {
  flex: 1;
  position: relative;
}

#pulsar-solution-how-mount .canvas-zone canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#pulsar-solution-how-mount .front-text {
  position: relative;
  flex-shrink: 0;
  padding: 16px 20px 18px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
}

#pulsar-solution-how-mount .step-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  color: rgba(78, 205, 196, 0.5);
  margin-bottom: 6px;
}

#pulsar-solution-how-mount .step-num.o {
  color: rgba(239, 131, 84, 0.55);
}

#pulsar-solution-how-mount .step-title {
  font-size: 15px;
  font-weight: 500;
  color: #f0f2f8;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}

#pulsar-solution-how-mount .step-title em {
  font-style: normal;
  color: #4ecdc4;
}

#pulsar-solution-how-mount .step-title em.o {
  color: #ef8354;
}

#pulsar-solution-how-mount .step-body {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

#pulsar-solution-how-mount .step-body strong {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {
  #pulsar-solution-how-mount .front-text::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(78, 205, 196, 0.65), transparent);
    transform: translateX(-50%);
    opacity: 0;
    transition: width 0.5s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.35s ease;
    pointer-events: none;
  }

  #pulsar-solution-how-mount .flip-wrap:hover .front-text::after,
  #pulsar-solution-how-mount .flip-wrap:focus-within .front-text::after {
    width: 40%;
    opacity: 1;
  }
}

#pulsar-solution-how-mount .flip-hint,
#pulsar-solution-how-mount .flip-back-hint {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--mono);
  letter-spacing: 0.03em;
  pointer-events: none;
  user-select: none;
}

#pulsar-solution-how-mount .flip-wrap:hover .flip-hint,
#pulsar-solution-how-mount .flip-wrap:focus-within .flip-hint,
#pulsar-solution-how-mount .flip-wrap:hover .flip-back-hint,
#pulsar-solution-how-mount .flip-wrap:focus-within .flip-back-hint {
  color: rgba(78, 205, 196, 0.5);
}

#pulsar-solution-how-mount .back {
  transform: rotateY(180deg) translateZ(1px);
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.09);
}

#pulsar-solution-how-mount .back-text {
  flex-shrink: 0;
  padding: 16px 20px 18px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
}

#pulsar-solution-how-mount .analogy-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  color: rgba(78, 205, 196, 0.45);
  margin-bottom: 6px;
}

#pulsar-solution-how-mount .analogy-label.o {
  color: rgba(239, 131, 84, 0.5);
}

#pulsar-solution-how-mount .analogy-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  font-style: italic;
}

#pulsar-solution-how-mount .analogy-text strong {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-weight: 500;
}

@media (max-width: 1100px) {
  #pulsar-solution-how-mount .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #pulsar-solution-how-mount .flip-wrap {
    height: 400px;
  }
}

@media (max-width: 760px) {
  #pulsar-solution-how-mount .cards {
    grid-template-columns: 1fr;
  }

  #pulsar-solution-how-mount .flip-wrap {
    height: 390px;
  }
}

@media (max-width: 420px) {
  #pulsar-solution-how-mount .flip-wrap {
    height: 370px;
  }

  #pulsar-solution-how-mount .front-text,
  #pulsar-solution-how-mount .back-text {
    padding: 14px 16px 12px;
  }

  #pulsar-solution-how-mount .step-title {
    font-size: 14px;
  }
}

/* Touch: flat face swap — avoids WebKit 3D backface bleed between stacked cards */
@media (hover: none) and (pointer: coarse) {
  #pulsar-solution-how-mount .flip-wrap {
    perspective: none;
  }

  #pulsar-solution-how-mount .flip-inner {
    transform-style: flat;
    transition: none;
  }

  #pulsar-solution-how-mount .flip-wrap.flipped .flip-inner,
  #pulsar-solution-how-mount .flip-wrap.flipped .flip-inner.peeking {
    transform: none;
    animation: none;
  }

  #pulsar-solution-how-mount .flip-inner.peeking {
    animation: none;
  }

  #pulsar-solution-how-mount .face {
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  #pulsar-solution-how-mount .front {
    transform: none;
    z-index: 1;
  }

  #pulsar-solution-how-mount .back {
    transform: none;
    z-index: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  #pulsar-solution-how-mount .flip-wrap.flipped .front {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
  }

  #pulsar-solution-how-mount .flip-wrap.flipped .back {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
  }
}

/* ── Living hero canvas ── */
#pulsar-living-hero-mount {
  position: relative;
  width: 100%;
  /* Canvas & selector are position:absolute — without min-height the box collapses and sizing breaks */
  min-height: clamp(400px, 48vh, 680px);
  height: 100%;
  flex: 1 1 auto;
  align-self: stretch;
  overflow: hidden;
  background: #1f2235;
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  border-radius: inherit;
}

#pulsar-living-hero-mount #pulsar-living-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: default;
}

#pulsar-living-hero-mount .selector {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  z-index: 10;
  max-width: calc(100% - 16px);
}

#pulsar-living-hero-mount .sel-btn {
  padding: 5px 12px;
  border-radius: 20px;
  border: 0.5px solid rgba(78, 205, 196, 0.22);
  background: rgba(17, 19, 29, 0.86);
  color: rgba(78, 205, 196, 0.56);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}

#pulsar-living-hero-mount .sel-btn:hover,
#pulsar-living-hero-mount .sel-btn.active {
  background: rgba(78, 205, 196, 0.12);
  border-color: rgba(78, 205, 196, 0.55);
  color: #4ecdc4;
}

@media (max-width: 520px) {
  #pulsar-living-hero-mount .sel-btn {
    font-size: 8px;
    padding: 4px 8px;
  }
}

/* ── Founder quote ── */
#pulsar-quote-mount .pulsar-quote-strip,
.homepage-quote-founders .pulsar-quote-strip {
  background: #1e2235;
  border-radius: 14px;
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
  cursor: default;
}

#pulsar-quote-mount .pulsar-quote-strip::before,
.homepage-quote-founders .pulsar-quote-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #4ecdc4;
  border-radius: 3px 0 0 3px;
}

#pulsar-quote-mount .pulsar-quote-strip::after,
.homepage-quote-founders .pulsar-quote-strip::after {
  content: "\201C";
  position: absolute;
  right: 28px;
  top: 8px;
  font-size: 130px;
  font-weight: 300;
  font-family: Georgia, serif;
  color: rgba(78, 205, 196, 0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

#pulsar-quote-mount .pulsar-quote-text,
.homepage-quote-founders .pulsar-quote-text {
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

#pulsar-quote-mount .pulsar-quote-text strong,
.homepage-quote-founders .pulsar-quote-text strong {
  font-weight: 500;
  font-style: normal;
  color: #ffffff;
}

#pulsar-quote-mount .pulsar-quote-meta,
.homepage-quote-founders .pulsar-quote-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

#pulsar-quote-mount .pulsar-quote-text-block,
.homepage-quote-founders .pulsar-quote-text-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#pulsar-quote-mount .pulsar-avatars,
.homepage-quote-founders .pulsar-avatars {
  display: flex;
}

#pulsar-quote-mount .pulsar-avatar,
.homepage-quote-founders .pulsar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #1e2235;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  margin-left: -9px;
  flex-shrink: 0;
}

#pulsar-quote-mount .pulsar-avatar:first-child,
.homepage-quote-founders .pulsar-avatar:first-child {
  margin-left: 0;
}

#pulsar-quote-mount .pulsar-av1,
.homepage-quote-founders .pulsar-av1 {
  background: #4ecdc4;
  color: #085041;
}

#pulsar-quote-mount .pulsar-av2,
.homepage-quote-founders .pulsar-av2 {
  background: #3bbdb4;
  color: #064038;
}

#pulsar-quote-mount .pulsar-av3,
.homepage-quote-founders .pulsar-av3 {
  background: #2aada5;
  color: #053530;
}

#pulsar-quote-mount .pulsar-av4,
.homepage-quote-founders .pulsar-av4 {
  background: #1e8880;
  color: #e1f5ee;
}

#pulsar-quote-mount .pulsar-quote-names,
.homepage-quote-founders .pulsar-quote-names {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.4;
}

#pulsar-quote-mount .pulsar-quote-roles,
.homepage-quote-founders .pulsar-quote-roles {
  font-size: 11px;
  color: #8d99ae;
  line-height: 1.5;
}

#pulsar-quote-mount .pulsar-founder-tag,
.homepage-quote-founders .pulsar-founder-tag {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 600px) {
  #pulsar-quote-mount .pulsar-quote-strip,
  .homepage-quote-founders .pulsar-quote-strip {
    padding: 24px 22px;
  }

  #pulsar-quote-mount .pulsar-founder-tag,
  .homepage-quote-founders .pulsar-founder-tag {
    display: none;
  }

  #pulsar-quote-mount .pulsar-quote-names,
  .homepage-quote-founders .pulsar-quote-names {
    font-size: 12px;
  }
}

/* ── Contact form ── */
#pulsar-contact-mount {
  --pulsar-c-bg: #f7f8fa;
  --pulsar-c-card: #ffffff;
  --pulsar-c-text: #2b2d42;
  --pulsar-c-muted: #4a5168;
  --pulsar-c-border: #e5e7eb;
  --pulsar-c-accent: #ef8354;
  --pulsar-c-accent-hover: #dc6f41;
  --pulsar-c-focus: #4ecdc4;
  --pulsar-c-danger: #b91c1c;
  --pulsar-c-success-bg: #f0fdfa;
  --pulsar-c-success-border: #4ecdc4;
  --pulsar-c-success-text: #2b2d42;
  --pulsar-c-radius: 14px;
  width: 100%;
}

#pulsar-contact-mount .pulsar-contact-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--pulsar-c-card);
  border: 1px solid var(--pulsar-c-border);
  border-radius: var(--pulsar-c-radius);
  box-shadow: 0 8px 24px rgba(43, 45, 66, 0.06);
  padding: 28px;
}

#pulsar-contact-mount .pulsar-contact-card h1 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 1.9vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--pulsar-c-text);
}

#pulsar-contact-mount .pulsar-contact-sub {
  margin: 0 0 22px;
  color: var(--pulsar-c-muted);
  font-size: 0.96rem;
}

#pulsar-contact-mount .pulsar-lead-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

#pulsar-contact-mount .pulsar-lead-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pulsar-c-text);
}

#pulsar-contact-mount .pulsar-lead-form input {
  width: 100%;
  border: 1px solid var(--pulsar-c-border);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: var(--pulsar-c-text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#pulsar-contact-mount .pulsar-lead-form input:focus {
  outline: none;
  border-color: var(--pulsar-c-focus);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.16);
}

#pulsar-contact-mount .pulsar-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

#pulsar-contact-mount .pulsar-lead-form button[type="submit"] {
  border: 0;
  border-radius: 10px;
  padding: 11px 18px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--pulsar-c-accent);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

#pulsar-contact-mount .pulsar-lead-form button[type="submit"]:hover {
  background: var(--pulsar-c-accent-hover);
}

#pulsar-contact-mount .pulsar-lead-form button[type="submit"]:active {
  transform: translateY(1px);
}

#pulsar-contact-mount .pulsar-lead-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#pulsar-contact-mount .pulsar-form-status {
  font-size: 0.9rem;
  color: var(--pulsar-c-muted);
  min-height: 20px;
}

#pulsar-contact-mount .pulsar-form-status.error {
  color: var(--pulsar-c-danger);
}

#pulsar-contact-mount .pulsar-success-box {
  display: none;
  margin-top: 16px;
  border: 1px solid var(--pulsar-c-success-border);
  background: var(--pulsar-c-success-bg);
  color: var(--pulsar-c-success-text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.92rem;
}

#pulsar-contact-mount .pulsar-hp {
  position: absolute;
  left: -5000px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
  overflow: hidden;
}

@media (max-width: 720px) {
  #pulsar-contact-mount .pulsar-contact-card {
    padding: 18px;
  }
}

/* ── Why PULSAR: challenge (Platform-style — organic steps + viz, no embed frame) ── */
#pulsar-challenge-mount {
  scroll-margin-top: var(--nav-h);
  /* In-panel illustrations use these tokens (inline styles in markup) */
  --white: #ffffff;
  --surface: #eceef3;
  --primary: #1e2235;
  --neutral: #4a5568;
  --muted: #8d99ae;
  --border: #d6dbe4;
  --teal: #4ecdc4;
  --teal-d: #3bbdb4;
  --teal-dim: rgba(78, 205, 196, 0.1);
  --orange: #ef8354;
  --red: #dc2626;
  --font: "DM Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

#pulsar-challenge-mount .pulsar-challenge__intro {
  max-width: 46rem;
  margin-bottom: 0.35rem;
}

#pulsar-challenge-mount .pulsar-challenge {
  margin-top: 0.25rem;
  /* Cap for right-column visuals only; card height follows copy + viz */
  --challenge-visual-max: min(340px, 38vh);
}

#pulsar-challenge-mount .pulsar-challenge__deck {
  position: relative;
  margin-top: 18px;
}

#pulsar-challenge-mount .pulsar-challenge__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 4px;
  margin: 0 auto 14px;
  padding: 4px;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(43, 45, 66, 0.04);
}

#pulsar-challenge-mount .pulsar-challenge__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
}

#pulsar-challenge-mount .pulsar-challenge__tab:hover {
  border-color: rgba(78, 205, 196, 0.35);
  background: rgba(255, 255, 255, 0.72);
}

#pulsar-challenge-mount .pulsar-challenge__tab:focus-visible {
  outline: 2px solid rgba(78, 205, 196, 0.55);
  outline-offset: 2px;
}

#pulsar-challenge-mount .pulsar-challenge__tab.is-active {
  border-color: rgba(78, 205, 196, 0.55);
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(43, 45, 66, 0.1);
}

#pulsar-challenge-mount .pulsar-challenge__tab-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

#pulsar-challenge-mount .pulsar-challenge__tab.is-active .pulsar-challenge__tab-num {
  color: var(--teal-d);
}

#pulsar-challenge-mount .pulsar-challenge__tab-lbl {
  white-space: nowrap;
}

#pulsar-challenge-mount .pulsar-challenge__viewport {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #ffffff;
  box-shadow: 0 16px 48px rgba(43, 45, 66, 0.07);
  position: relative;
}

#pulsar-challenge-mount .pulsar-challenge__page {
  box-sizing: border-box;
  padding: clamp(22px, 3.5vw, 34px);
  background:
    radial-gradient(ellipse 80% 70% at 10% 0%, rgba(91, 159, 212, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(78, 205, 196, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#pulsar-challenge-mount .pulsar-challenge__page-inner {
  flex: 0 1 auto;
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(260px, 0.86fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

#pulsar-challenge-mount .pulsar-challenge__page[hidden] {
  display: none !important;
}

#pulsar-challenge-mount .pl {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 0;
  padding-right: clamp(4px, 1vw, 12px);
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  max-width: none;
  align-self: start;
}

#pulsar-challenge-mount .pnum {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

#pulsar-challenge-mount .ph {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.018em;
}

#pulsar-challenge-mount .ph em {
  font-style: normal;
  color: var(--accent);
}

#pulsar-challenge-mount .pb {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: none;
}

#pulsar-challenge-mount .pr {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
  min-width: 0;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#pulsar-challenge-mount .pr .vbox {
  flex: 0 1 auto;
  max-height: var(--challenge-visual-max);
  width: 100%;
}

#pulsar-challenge-mount .vbox {
  width: 100%;
  max-width: none;
  flex: 0 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid rgba(91, 159, 212, 0.2);
  background: rgba(255, 255, 255, 0.72);
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.95) inset;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#pulsar-challenge-mount .vbox #pulsar-dep-canvas {
  flex: 1 1 auto;
  min-height: 72px;
  width: 100%;
}

#pulsar-challenge-mount .pr .vbox.vbox--dep {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  width: 100%;
  min-height: 0;
  max-height: none;
}

#pulsar-challenge-mount .pr .vbox.vbox--dep #pulsar-dep-canvas {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 0;
}

#pulsar-challenge-mount .pr .vbox.vbox--kg {
  max-height: min(320px, var(--challenge-visual-max));
  flex: 0 1 auto;
}

#pulsar-challenge-mount .vbox--kg {
  padding: clamp(4px, 0.6vw, 8px);
  overflow: visible;
}

#pulsar-challenge-mount .pulsar-kg {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#pulsar-challenge-mount .pulsar-kg__canvas-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 0;
}

#pulsar-challenge-mount #pulsar-kg-canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

#pulsar-challenge-mount .pulsar-cycle-return {
  padding: 6px 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

#pulsar-challenge-mount .pulsar-cycle-return__arrow {
  display: block;
  width: 100%;
  max-width: 280px;
  height: 22px;
}

#pulsar-challenge-mount .pulsar-cycle-return__label {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(220, 38, 38, 0.55);
  line-height: 1.2;
}

#pulsar-challenge-mount .vbox > *:only-child {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

#pulsar-challenge-mount .vbox::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(78, 205, 196, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
}

@media (max-width: 860px) {
  #pulsar-challenge-mount .pulsar-challenge__page-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 1.1rem;
  }

  #pulsar-challenge-mount .pl {
    padding-right: 0;
    align-self: stretch;
  }

  #pulsar-challenge-mount .pr .vbox {
    max-height: min(300px, var(--challenge-visual-max));
  }

  #pulsar-challenge-mount .pr .vbox.vbox--kg {
    max-height: min(300px, var(--challenge-visual-max));
  }

  #pulsar-challenge-mount .pr .vbox.vbox--dep {
    max-height: none;
  }
}

@media (max-width: 520px) {
  #pulsar-challenge-mount .pulsar-challenge {
    --challenge-visual-max: min(280px, 44vh);
  }
}

/* ── Differentiation stack (static) ── */
#pulsar-diff-mount {
  --white: #ffffff;
  --bg: #f3f5f8;
  --surface: #eceef3;
  --primary: #1e2235;
  --neutral: #4a5568;
  --muted: #8d99ae;
  --border: #d6dbe4;
  --teal: #4ecdc4;
  --teal-d: #3bbdb4;
  --teal-dim: rgba(78, 205, 196, 0.1);
  --orange: #ef8354;
  --red: #dc2626;
  --yes: #059669;
  --yes-dim: rgba(5, 150, 105, 0.08);
  --no-col: #94a3b8;
  --font: "DM Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  width: 100%;
  background: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

#pulsar-diff-mount .pulsar-diff-outer {
  padding: 0 0 2px;
}

#pulsar-diff-mount .stack {
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

#pulsar-diff-mount .stack::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 24.4%;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0.12) 100%);
  pointer-events: none;
  z-index: 0;
}

#pulsar-diff-mount .stack > * {
  position: relative;
  z-index: 1;
}

#pulsar-diff-mount .stack-head {
  display: grid;
  grid-template-columns: 2fr repeat(3, 0.78fr) 1.4fr;
  border-bottom: 2px solid var(--border);
  background: linear-gradient(180deg, #eef2f7 0%, #e7ecf4 100%);
}

#pulsar-diff-mount .sh-cell {
  padding: 14px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5e6b80;
  text-align: center;
  border-right: 0.5px solid var(--border);
}

#pulsar-diff-mount .sh-cell:first-child {
  text-align: left;
  color: var(--primary);
  font-weight: 700;
}

#pulsar-diff-mount .sh-cell:last-child {
  border-right: none;
  color: #065f46;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.12) 100%);
  box-shadow: inset 2px 0 0 rgba(5, 150, 105, 0.28);
}

#pulsar-diff-mount .sh-cell .sh-sub {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: var(--font);
}

#pulsar-diff-mount .sh-type {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
  font-family: var(--font);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

#pulsar-diff-mount .stack-group-label {
  padding: 8px 14px 6px;
  font-size: 9px;
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  border-bottom: 0.5px solid var(--border);
  border-top: 0.5px solid var(--border);
}

#pulsar-diff-mount .stack-group-label:first-of-type {
  border-top: none;
}

#pulsar-diff-mount .srow {
  display: grid;
  grid-template-columns: 2fr repeat(3, 0.78fr) 1.4fr;
  border-bottom: 0.5px solid var(--border);
  align-items: center;
}

#pulsar-diff-mount .srow:last-child {
  border-bottom: none;
}

#pulsar-diff-mount .srow:hover {
  background: rgba(30, 34, 53, 0.02);
}

#pulsar-diff-mount .sr-label {
  padding: 11px 14px;
  font-size: 13px;
  color: #2f3a4c;
  border-right: 0.5px solid var(--border);
  line-height: 1.5;
  font-weight: 400;
}

#pulsar-diff-mount .sr-label b {
  color: var(--primary);
  font-weight: 600;
}

#pulsar-diff-mount .sr-cell {
  padding: 11px 10px;
  text-align: center;
  border-right: 0.5px solid var(--border);
  font-size: 11px;
  color: var(--no-col);
  line-height: 1.35;
}

#pulsar-diff-mount .sr-cell:last-child {
  border-right: none;
  background: transparent;
  box-shadow: inset 2px 0 0 rgba(5, 150, 105, 0.22);
}

#pulsar-diff-mount .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
  flex-shrink: 0;
}

#pulsar-diff-mount .dot.yes {
  background: var(--yes);
}

#pulsar-diff-mount .dot.no {
  background: #cbd5e1;
}

#pulsar-diff-mount .dot.part {
  background: var(--orange);
}

#pulsar-diff-mount .sr-yes {
  color: var(--yes);
  font-weight: 500;
  font-size: 11px;
}

#pulsar-diff-mount .sr-no {
  color: #cbd5e1;
  font-size: 11px;
}

#pulsar-diff-mount .sr-part {
  color: var(--orange);
  font-size: 11px;
}

#pulsar-diff-mount .sr-cell:last-child .sr-yes {
  color: #064e3b;
  font-weight: 600;
}

#pulsar-diff-mount .sr-cell:last-child .sr-part {
  color: #0f766e;
}

#pulsar-diff-mount .sr-cell:last-child .sr-no {
  color: #6b7280;
}

#pulsar-diff-mount .sr-cell:last-child .ai-badge {
  background: rgba(5, 150, 105, 0.14);
  color: #065f46;
}

#pulsar-diff-mount .ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(78, 205, 196, 0.12);
  color: var(--teal-d);
  vertical-align: middle;
  margin-left: 4px;
}

@media (max-width: 720px) {
  #pulsar-diff-mount .pulsar-diff-outer {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    margin-inline: -4px;
    padding-inline: 4px;
  }

  #pulsar-diff-mount .stack {
    min-width: min(100%, 340px);
  }

  #pulsar-diff-mount .stack-head,
  #pulsar-diff-mount .srow {
    grid-template-columns: 1.5fr 0.85fr 0.85fr 1.15fr;
  }

  #pulsar-diff-mount .stack::after {
    width: 26.5%;
  }

  #pulsar-diff-mount .sh-cell:nth-child(4),
  #pulsar-diff-mount .sr-cell:nth-child(4) {
    display: none;
  }

  #pulsar-diff-mount .sr-label {
    font-size: 12px;
    padding: 10px 10px;
  }

  #pulsar-diff-mount .sh-cell {
    font-size: 10px;
    padding: 12px 8px;
  }
}

@media (max-width: 520px) {
  #pulsar-diff-mount .stack {
    min-width: 320px;
  }
}

/* ── Workflow comic ── */
#pulsar-workflow-mount {
  width: 100%;
  background: #fff;
  color: #1e2235;
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

#pulsar-workflow-mount .workflow {
  background: linear-gradient(165deg, #ffffff 0%, #f8fcff 100%);
  border: 0.5px solid #d6dbe4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(43, 45, 66, 0.12);
}

#pulsar-workflow-mount .wf-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 0.5px solid #d6dbe4;
}

#pulsar-workflow-mount .wf-tab {
  padding: 13px 20px;
  font-size: 11px;
  font-weight: 500;
  font-family: var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  transition: background 0.2s;
  position: relative;
}

#pulsar-workflow-mount .wf-tab.bt {
  color: #dc2626;
}

#pulsar-workflow-mount .wf-tab.at {
  color: #059669;
  border-left: 0.5px solid #d6dbe4;
  animation: pulsar-wf-tab-pulse 2s ease-in-out infinite;
}

#pulsar-workflow-mount .wf-tab.at.active {
  animation: none;
}

@keyframes pulsar-wf-tab-pulse {
  0%,
  100% {
    background: transparent;
    color: #059669;
    box-shadow: none;
  }
  50% {
    background: rgba(5, 150, 105, 0.12);
    color: #047857;
    box-shadow: inset 0 -2px 0 #059669;
  }
}

#pulsar-workflow-mount .wf-tab::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}

#pulsar-workflow-mount .wf-tab.bt::after {
  background: #dc2626;
}

#pulsar-workflow-mount .wf-tab.at::after {
  background: #059669;
}

#pulsar-workflow-mount .wf-tab.active::after {
  transform: scaleX(1);
}

#pulsar-workflow-mount .wf-tab.active.bt {
  background: rgba(220, 38, 38, 0.06);
}

#pulsar-workflow-mount .wf-tab.active.at {
  background: rgba(5, 150, 105, 0.08);
}

#pulsar-workflow-mount .tdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

#pulsar-workflow-mount .bt .tdot {
  background: #dc2626;
}

#pulsar-workflow-mount .at .tdot {
  background: #059669;
}

#pulsar-workflow-mount .wf-panel {
  display: none;
  animation: pulsar-wf-fade 0.22s ease;
}

#pulsar-workflow-mount .wf-panel.active {
  display: block;
}

@keyframes pulsar-wf-fade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#pulsar-workflow-mount .comic {
  display: flex;
  align-items: flex-start;
  padding: 20px 20px 0;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

#pulsar-workflow-mount .scene {
  flex-shrink: 0;
  width: 158px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#pulsar-workflow-mount .sa {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 4px;
  margin-top: 52px;
}

#pulsar-workflow-mount .sp {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1.5px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#pulsar-workflow-mount .before-panel .sp {
  background: linear-gradient(155deg, #fff8f8, #fff1f1);
  border-color: rgba(220, 38, 38, 0.2);
}

#pulsar-workflow-mount .after-panel .sp {
  background: linear-gradient(155deg, #f4fffb, #edfff7);
  border-color: rgba(5, 150, 105, 0.2);
}

#pulsar-workflow-mount .st {
  position: absolute;
  top: 7px;
  left: 8px;
  font-size: 9px;
  font-family: var(--mono);
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
}

#pulsar-workflow-mount .before-panel .st {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

#pulsar-workflow-mount .after-panel .st {
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
}

#pulsar-workflow-mount .se {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 5px;
}

#pulsar-workflow-mount .sl {
  font-size: 10px;
  font-weight: 500;
  text-align: center;
  padding: 0 8px;
  line-height: 1.35;
}

#pulsar-workflow-mount .before-panel .sl {
  color: #991b1b;
}

#pulsar-workflow-mount .after-panel .sl {
  color: #065f46;
}

#pulsar-workflow-mount .sc {
  position: absolute;
  bottom: 6px;
  right: 6px;
  font-size: 9px;
  font-family: var(--mono);
  padding: 2px 5px;
  border-radius: 3px;
}

#pulsar-workflow-mount .before-panel .sc {
  background: rgba(220, 38, 38, 0.1);
  color: #991b1b;
}

#pulsar-workflow-mount .after-panel .sc {
  background: rgba(5, 150, 105, 0.1);
  color: #065f46;
}

#pulsar-workflow-mount .scap {
  font-size: 11px;
  color: #4a5568;
  text-align: center;
  padding: 8px 4px 0;
  line-height: 1.5;
}

#pulsar-workflow-mount .scap strong {
  color: #1e2235;
  font-weight: 500;
}

#pulsar-workflow-mount .wo {
  margin: 12px 20px 16px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.65;
}

#pulsar-workflow-mount .before-panel .wo {
  background: rgba(220, 38, 38, 0.06);
  border: 0.5px solid rgba(220, 38, 38, 0.18);
  color: #7f1d1d;
}

#pulsar-workflow-mount .after-panel .wo {
  background: rgba(5, 150, 105, 0.08);
  border: 0.5px solid rgba(5, 150, 105, 0.2);
  color: #065f46;
}

#pulsar-workflow-mount .wo strong {
  font-weight: 500;
}

#pulsar-workflow-mount .wo-multiplier {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 0.5px solid rgba(220, 38, 38, 0.18);
  font-style: normal;
  font-size: 12px;
  color: #7f1d1d;
  line-height: 1.6;
}

#pulsar-workflow-mount .wo-mult-icon {
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

#pulsar-workflow-mount .wo-multiplier strong {
  font-weight: 600;
  color: #991b1b;
}

#pulsar-workflow-mount .sa-cta svg path {
  stroke-dasharray: 4;
  animation: pulsar-wf-dash 1s linear infinite;
}

@keyframes pulsar-wf-dash {
  to {
    stroke-dashoffset: -8;
  }
}

#pulsar-workflow-mount .scene-cta {
  flex-shrink: 0;
  width: 158px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#pulsar-workflow-mount .cta-panel {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1.5px solid rgba(5, 150, 105, 0.4);
  background: linear-gradient(155deg, #f0fdf9, #ecfdf5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  animation: pulsar-wf-cta-pulse 2s ease-in-out infinite;
  transition: transform 0.15s, box-shadow 0.15s;
  font: inherit;
  color: inherit;
}

#pulsar-workflow-mount .cta-panel:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.2);
  animation: none;
  border-color: rgba(5, 150, 105, 0.65);
}

@keyframes pulsar-wf-cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.12);
    border-color: rgba(5, 150, 105, 0.3);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(5, 150, 105, 0.08);
    border-color: rgba(5, 150, 105, 0.55);
  }
}

#pulsar-workflow-mount .cta-icon {
  font-size: 30px;
  line-height: 1;
}

#pulsar-workflow-mount .cta-text {
  font-size: 11px;
  font-weight: 500;
  color: #065f46;
  text-align: center;
  line-height: 1.4;
  font-family: var(--mono);
  letter-spacing: 0.03em;
}

#pulsar-workflow-mount .cta-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.15);
  color: #059669;
}

/* Homepage short strip: slightly narrower scenes so the row fits comfortably */
#pulsar-workflow-mount .workflow--short .scene,
#pulsar-workflow-mount .workflow--short .scene-cta {
  width: 142px;
}

@media (max-width: 700px) {
  #pulsar-workflow-mount .wf-tabs {
    grid-template-columns: 1fr;
  }

  #pulsar-workflow-mount .scene,
  #pulsar-workflow-mount .scene-cta {
    width: 130px;
  }

  #pulsar-workflow-mount .workflow--short .scene,
  #pulsar-workflow-mount .workflow--short .scene-cta {
    width: 130px;
  }
}

/* ── Why now marquee cards (Why PULSAR) ── */
.why-now__lede {
  max-width: 48rem;
  margin-bottom: 16px;
  color: #4f5f75;
}

.brand-hl-teal {
  color: #2db7ac;
  font-weight: 600;
}

.brand-hl-blue {
  color: #2d6aa0;
  font-weight: 600;
}

.brand-hl-orange {
  color: #d27749;
  font-weight: 600;
}

.why-now .eyebrow {
  color: #2d6aa0;
}

.why-now h2 {
  color: #162033;
}

.why-now__list {
  display: grid;
  gap: 12px;
  max-width: 62rem;
}

.why-now__list p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(30, 34, 53, 0.12);
  background: #ffffff;
  color: var(--muted);
  line-height: 1.55;
}

.why-now__list strong {
  color: var(--text);
  font-weight: 700;
}

.why-now__marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  scrollbar-width: thin;
}

.why-now__marquee:focus-visible {
  outline: 2px solid rgba(45, 106, 160, 0.45);
  outline-offset: 3px;
}

.why-now__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: why-now-scroll 56s linear infinite;
  padding-bottom: 6px;
}

.why-now__marquee:hover .why-now__track,
.why-now__marquee:focus-within .why-now__track,
.why-now__marquee.is-paused .why-now__track {
  animation-play-state: paused;
}

.why-now__card {
  width: min(360px, 80vw);
  border-radius: 12px;
  border: 1px solid rgba(45, 106, 160, 0.2);
  background: linear-gradient(165deg, #ffffff 0%, #f7fbff 100%);
  padding: 14px 14px 12px;
}

.why-now__card h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.3;
}

.why-now__card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.why-now__toggle {
  margin-top: 8px;
  border: 1px solid rgba(45, 106, 160, 0.28);
  background: rgba(45, 106, 160, 0.08);
  color: #2d6aa0;
  border-radius: 999px;
  padding: 7px 12px;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.why-now__toggle:hover {
  border-color: rgba(45, 106, 160, 0.45);
  background: rgba(45, 106, 160, 0.14);
  box-shadow: 0 1px 4px rgba(43, 45, 66, 0.08);
}

.why-now__toggle:focus-visible {
  outline: 2px solid rgba(45, 106, 160, 0.45);
  outline-offset: 2px;
}

.why-now__toggle[aria-pressed="true"] {
  background: rgba(210, 119, 73, 0.12);
  border-color: rgba(210, 119, 73, 0.4);
  color: #d27749;
  box-shadow: 0 0 0 1px rgba(210, 119, 73, 0.15);
}

@keyframes why-now-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-now__track {
    animation: none;
  }
}

@media (min-width: 980px) {
  .why-now {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(18px, 2.8vw, 30px);
    align-items: start;
  }

  .why-now__intro {
    position: sticky;
    top: calc(var(--nav-h) + 18px);
  }

  .why-now__marquee {
    grid-column: 1 / -1;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    padding-inline: clamp(12px, 2vw, 28px);
  }
}

/* ── Single solution card (platform / capabilities) ── */
.pulsar-solution-card-mount {
  width: 100%;
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.pulsar-solution-card-mount * {
  box-sizing: border-box;
}

.pulsar-solution-card-mount .flip-wrap {
  perspective: 1400px;
  cursor: pointer;
  height: 420px;
  overflow: hidden;
  padding-bottom: 8px;
}

.pulsar-solution-card-mount .flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 14px;
}

.pulsar-solution-card-mount .flip-wrap.flipped .flip-inner {
  transform: rotateY(180deg);
}

@keyframes pulsar-card-peek {
  0% {
    transform: rotateY(0);
  }
  40% {
    transform: rotateY(28deg);
  }
  60% {
    transform: rotateY(28deg);
  }
  100% {
    transform: rotateY(0);
  }
}

.pulsar-solution-card-mount .flip-inner.peeking {
  animation: pulsar-card-peek 1.1s ease-in-out forwards;
}

.pulsar-solution-card-mount .face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pulsar-solution-card-mount .front {
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
}

.pulsar-solution-card-mount .back {
  transform: rotateY(180deg);
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.09);
}

.pulsar-solution-card-mount .canvas-zone {
  flex: 1;
  position: relative;
}

.pulsar-solution-card-mount .canvas-zone canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.pulsar-solution-card-mount .front-text,
.pulsar-solution-card-mount .back-text {
  flex-shrink: 0;
  padding: 16px 20px 14px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
}

.pulsar-solution-card-mount .step-num,
.pulsar-solution-card-mount .analogy-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  margin-bottom: 6px;
  color: rgba(78, 205, 196, 0.5);
}

.pulsar-solution-card-mount .step-title {
  font-size: 15px;
  font-weight: 500;
  color: #f0f2f8;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}

.pulsar-solution-card-mount .step-title em {
  font-style: normal;
  color: #4ecdc4;
}

.pulsar-solution-card-mount .step-body {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
}

.pulsar-solution-card-mount .step-body strong {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.pulsar-solution-card-mount .analogy-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  font-style: italic;
}

.pulsar-solution-card-mount .analogy-text strong {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-weight: 500;
}

.pulsar-solution-card-mount .flip-hint,
.pulsar-solution-card-mount .flip-back-hint {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.18);
  font-family: var(--mono);
  letter-spacing: 0.03em;
}

.pulsar-solution-card-mount .flip-wrap:hover .flip-hint,
.pulsar-solution-card-mount .flip-wrap:hover .flip-back-hint {
  color: rgba(78, 205, 196, 0.45);
}

@media (max-width: 760px) {
  .pulsar-solution-card-mount .flip-wrap {
    height: 430px;
  }
}

@media (max-width: 420px) {
  .pulsar-solution-card-mount .flip-wrap {
    height: 410px;
  }

  .pulsar-solution-card-mount .front-text,
  .pulsar-solution-card-mount .back-text {
    padding: 14px 16px 12px;
  }

  .pulsar-solution-card-mount .step-title {
    font-size: 14px;
  }
}

/* ── Why PULSAR: market positioning (light band) ── */
#pulsar-market-positioning {
  scroll-margin-top: var(--nav-h);
}

#pulsar-market-positioning h2 {
  max-width: min(52rem, 100%);
  color: #162033;
}

#pulsar-market-positioning h2 em {
  font-style: normal;
  color: var(--teal);
}

#pulsar-market-positioning .lede {
  max-width: 48rem;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  color: #4f5f75;
}

.mp-tab-row {
  margin-bottom: 14px;
}

.mp-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 4px;
  margin-inline: auto;
  padding: 4px;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(43, 45, 66, 0.04);
}

.mp-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
}

.mp-tab:hover {
  border-color: rgba(78, 205, 196, 0.35);
  background: rgba(255, 255, 255, 0.72);
}

.mp-tab:focus-visible {
  outline: 2px solid rgba(78, 205, 196, 0.55);
  outline-offset: 2px;
}

.mp-tab.is-active,
.mp-tab[aria-selected="true"] {
  border-color: rgba(78, 205, 196, 0.55);
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(43, 45, 66, 0.1);
}

.mp-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(43, 45, 66, 0.06);
}

@media (max-width: 720px) {
  #pulsar-market-positioning .mp-tab-row {
    position: sticky;
    top: calc(var(--nav-h) + 2px);
    z-index: 30;
    margin: 0 0 14px;
    padding: 10px 0 12px;
    background: linear-gradient(
      180deg,
      var(--surface-0) 72%,
      rgba(255, 255, 255, 0.94) 100%
    );
  }

  #pulsar-market-positioning .mp-tabs {
    width: 100%;
    max-width: none;
    padding: 5px;
    gap: 6px;
    border-radius: 14px;
    background: rgba(43, 45, 66, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  }

  #pulsar-market-positioning .mp-tab {
    flex: 1;
    justify-content: center;
    min-height: 48px;
    padding: 10px 10px;
    font-size: 0.8rem;
    line-height: 1.25;
    text-align: center;
    border-radius: 10px;
  }

  #pulsar-market-positioning .mp-tab.is-active,
  #pulsar-market-positioning .mp-tab[aria-selected="true"] {
    box-shadow: 0 2px 10px rgba(43, 45, 66, 0.1);
  }

  #pulsar-market-positioning .mp-panels {
    display: block;
    gap: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    margin-bottom: 1.25rem;
    touch-action: pan-y;
  }

  #pulsar-market-positioning .mp-panel {
    display: none;
    padding: clamp(18px, 4.5vw, 24px);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    background: var(--surface-0);
    box-shadow: 0 8px 28px rgba(43, 45, 66, 0.07);
    scroll-margin-top: calc(var(--nav-h) + 72px);
  }

  #pulsar-market-positioning .mp-panel.is-mp-active {
    display: block;
    animation: mpMobileIn 0.28s ease;
  }

  #pulsar-market-positioning .mp-panel.is-dimmed {
    opacity: 1;
    pointer-events: auto;
  }

  #pulsar-market-positioning .mp-panel--pulsar {
    border-top: 1px solid var(--border);
  }

  #pulsar-market-positioning .mp-broken-item__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  #pulsar-market-positioning .mp-broken-item {
    padding: 16px 16px 16px 14px;
  }

  #pulsar-market-positioning .mp-broken-item__facts li {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  #pulsar-market-positioning .mp-panel-lede {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  #pulsar-market-positioning .mp-graph-wrap {
    height: clamp(200px, 52vw, 260px);
    margin-bottom: 14px;
  }

  #pulsar-market-positioning .mp-out-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #pulsar-market-positioning .mp-out-card {
    padding: 14px 16px;
    min-height: 44px;
  }

  #pulsar-market-positioning .mp-kpi-strip {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 10px;
    border: none;
    background: transparent;
    box-shadow: none;
    scrollbar-width: none;
  }

  #pulsar-market-positioning .mp-kpi-strip::-webkit-scrollbar {
    display: none;
  }

  #pulsar-market-positioning .mp-kpi-cell {
    flex: 0 0 min(86vw, 300px);
    scroll-snap-align: start;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 2px);
    box-shadow: 0 6px 22px rgba(43, 45, 66, 0.06);
  }

  #pulsar-market-positioning .mp-kpi-val {
    font-size: clamp(1.25rem, 5.5vw, 1.5rem);
  }
}

@keyframes mpMobileIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mp-panel {
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface-0);
  transition: opacity 0.4s;
}

.mp-panel.is-dimmed {
  opacity: 0.45;
  pointer-events: none;
}

.mp-panel.mp-fade-in {
  animation: mpFadeSlide 0.3s ease;
}

@keyframes mpFadeSlide {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mp-panel-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 1.25rem;
}

.mp-broken-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mp-broken-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 18px 18px 16px;
  position: relative;
  overflow: hidden;
  background: var(--surface-1);
}

.mp-broken-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2.5px;
  border-radius: 0 2px 2px 0;
}

.mp-broken-item--specs::before {
  background: #e05152;
}

.mp-broken-item--docs::before {
  background: var(--orange);
  opacity: 0.75;
}

.mp-broken-item--code::before {
  background: var(--color-metal);
}

.mp-broken-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.mp-broken-item__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.mp-badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.mp-badge--red {
  background: rgba(224, 81, 82, 0.1);
  color: #c93d3e;
}

.mp-badge--orange {
  background: rgba(239, 131, 84, 0.12);
  color: #c45f2a;
}

.mp-badge--gray {
  background: rgba(43, 45, 66, 0.06);
  color: var(--color-ink-soft);
}

.mp-broken-item__facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mp-broken-item__facts li {
  font-size: 0.94rem;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1.65;
}

.mp-fact-x {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  opacity: 0.85;
}

.mp-fact-x--red {
  color: #e05152;
}

.mp-fact-x--orange {
  color: var(--orange);
}

.mp-fact-x--gray {
  color: var(--color-metal);
}

.mp-conclusion {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}

.mp-panel-lede {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: none;
}

.mp-stream-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.mp-stag {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px dashed rgba(78, 205, 196, 0.38);
  color: #0f766e;
  background: rgba(78, 205, 196, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.mp-stag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.mp-graph-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: linear-gradient(165deg, #1c2f4a 0%, #152238 55%, #111c2e 100%);
  border: 1px solid rgba(21, 34, 56, 0.45);
  box-shadow: inset 0 1px 0 rgba(78, 205, 196, 0.08);
}

#mp-graph-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.mp-out-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mp-out-card {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-1);
  transition: border-color 0.2s;
}

.mp-out-card:hover {
  border-color: rgba(78, 205, 196, 0.45);
}

.mp-out-card p {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.mp-out-card strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.45;
}

.mp-out-card__desc {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--sub);
}

.mp-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(43, 45, 66, 0.06);
}

@media (max-width: 600px) and (min-width: 721px) {
  .mp-kpi-strip {
    grid-template-columns: 1fr;
  }
}

.mp-kpi-cell {
  background: var(--surface-0);
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3vw, 30px);
}

.mp-kpi-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 10px;
}

.mp-kpi-val {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  line-height: 1.1;
  color: var(--text);
}

.mp-kpi-val--red {
  color: #dc2626;
}

.mp-kpi-val--teal {
  color: #0f766e;
}

.mp-kpi-val--prose {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.35;
}

.mp-kpi-desc {
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .mp-panel.mp-fade-in,
  #pulsar-market-positioning .mp-panel.is-mp-active {
    animation: none;
  }
}

.why-pulsar-sep {
  height: clamp(22px, 3.6vw, 34px);
  background: linear-gradient(90deg, rgba(239, 131, 84, 0.86) 0%, rgba(239, 131, 84, 0.72) 55%, rgba(239, 131, 84, 0.5) 100%);
  border-top: 1px solid rgba(210, 106, 58, 0.32);
  border-bottom: 1px solid rgba(210, 106, 58, 0.22);
}

.why-pulsar-quote-lede {
  max-width: 64ch;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  line-height: 1.45;
}

.why-pulsar-quote-section {
  min-height: clamp(170px, 20vh, 230px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Workflow: text left, visual right on desktop */
.workflow-split__lede {
  margin-bottom: 20px;
}

.workflow-split__visual .embed--workflow {
  border-radius: 14px;
  background: radial-gradient(ellipse 70% 55% at 18% 18%, rgba(91, 159, 212, 0.12) 0%, transparent 56%), #f7fbff;
  box-shadow: 0 20px 52px rgba(43, 45, 66, 0.12);
}

@media (min-width: 980px) {
  .workflow-split {
    display: grid;
    grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
    gap: clamp(22px, 3vw, 36px);
    align-items: start;
  }

  .workflow-split__intro {
    position: sticky;
    top: calc(var(--nav-h) + 18px);
  }
}

.pulsar-vmodel__pulsar {
  margin-top: 0.25rem;
  padding: clamp(16px, 2.5vw, 22px) clamp(18px, 3vw, 28px);
  border-radius: calc(var(--radius) - 4px);
  background: rgba(78, 205, 196, 0.09);
  border: 1px solid rgba(78, 205, 196, 0.22);
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.pulsar-vmodel__pulsar-lead {
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  font-weight: 500;
  color: rgba(244, 245, 247, 0.92);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.pulsar-vmodel__brand {
  color: #4ecdc4;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pulsar-vmodel__pulsar-body {
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(244, 245, 247, 0.78);
  max-width: 40rem;
  margin: 0 auto;
}

.pulsar-vmodel__pulsar-body strong {
  color: #f4f5f7;
  font-weight: 600;
}

/* ── Why PULSAR: ROI calculator (single outer frame — no nested shells) ── */
#pulsar-roi {
  scroll-margin-top: var(--nav-h);
}

#pulsar-roi-mount,
#pulsar-roi-sheet-mount {
  width: 100%;
  font-family: var(--font);
  padding: 0;
  border: none;
  background: transparent;
}

#pulsar-roi-sheet-mount {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

#pulsar-roi-sheet-mount .pulsar-roi__band--context {
  border-bottom: 1px solid var(--line);
}

#pulsar-roi-sheet-mount .pulsar-roi__band--extras .pulsar-roi__panel--cost {
  border-right: none;
  border-bottom: 1px solid var(--line);
}

#pulsar-roi-sheet-mount .pulsar-roi__panel {
  border-radius: 0;
  border: none;
  padding: clamp(14px, 1.8vw, 20px);
  position: relative;
  overflow: visible;
}

#pulsar-roi-sheet-mount .pulsar-roi__panel--savings {
  background: rgba(78, 205, 196, 0.04);
}

#pulsar-roi-sheet-mount .pulsar-roi__panel--cost {
  background: var(--bg-elev);
}

#pulsar-roi-sheet-mount .pulsar-roi__panel--stack {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#pulsar-roi-sheet-mount .pulsar-roi__panel-title {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--mono);
  margin: 0 0 14px;
  color: var(--dim);
}

#pulsar-roi-sheet-mount .pulsar-roi__panel-title--pulsar,
#pulsar-roi-sheet-mount .pulsar-roi__panel--savings > .pulsar-roi__panel-title:first-child {
  color: var(--teal);
}

#pulsar-roi-sheet-mount .pulsar-roi__extras {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#pulsar-roi-sheet-mount .pulsar-roi__extras .pulsar-roi__subhead {
  margin: 0;
}

#pulsar-roi-sheet-mount .pulsar-roi__stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

#pulsar-roi-sheet-mount .pulsar-roi__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

#pulsar-roi-sheet-mount .pulsar-roi__stat-label {
  font-size: 0.68rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1.4;
}

#pulsar-roi-sheet-mount .pulsar-roi__stat strong {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.05;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
}

#pulsar-roi-sheet-mount .pulsar-roi__metrics-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

#pulsar-roi-sheet-mount .pulsar-roi__metric {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  background: rgba(255, 255, 255, 0.03);
}

#pulsar-roi-sheet-mount .pulsar-roi__metric .pulsar-roi__adv-metric {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  margin: 0;
  font-size: clamp(1rem, 1.75vw, 1.28rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

#pulsar-roi-sheet-mount .pulsar-roi__metric .pulsar-roi__metric-label {
  grid-column: 2;
  grid-row: 1;
}

#pulsar-roi-sheet-mount .pulsar-roi__metric .pulsar-roi__metric-copy {
  grid-column: 2;
  grid-row: 2;
}

#pulsar-roi-sheet-mount .pulsar-roi__metric-label {
  font-size: 0.68rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1.35;
}

#pulsar-roi-sheet-mount .pulsar-roi__metric-unit {
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(78, 205, 196, 0.75);
}

#pulsar-roi-sheet-mount .pulsar-roi__metric-copy {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--muted);
}

#pulsar-roi-sheet-mount .pulsar-roi__subhead {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--mono);
  color: var(--dim);
}

#pulsar-roi-sheet-mount .pulsar-roi__indirect {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

#pulsar-roi-sheet-mount .pulsar-roi__indirect h4 {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--mono);
  color: var(--text);
}

#pulsar-roi-sheet-mount .pulsar-roi__indirect ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

#pulsar-roi-sheet-mount .pulsar-roi__indirect li {
  position: relative;
  padding-left: 14px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
  padding-top: 2px;
  padding-bottom: 2px;
}

#pulsar-roi-sheet-mount .pulsar-roi__indirect li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

#pulsar-roi-sheet-mount .pulsar-roi__indirect strong {
  color: var(--text);
}

#pulsar-roi-sheet-mount .pulsar-roi__benefits {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

#pulsar-roi-sheet-mount .pulsar-roi__benefits li {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 0 22px;
  position: relative;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

#pulsar-roi-sheet-mount .pulsar-roi__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--teal);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

#pulsar-roi-sheet-mount .pulsar-roi__benefits strong {
  color: var(--text);
}

@media (max-width: 420px) {
  #pulsar-roi-sheet-mount .pulsar-roi__stat-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #pulsar-roi-sheet-mount .pulsar-roi__metric {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  #pulsar-roi-sheet-mount .pulsar-roi__metric .pulsar-roi__adv-metric {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    white-space: normal;
  }

  #pulsar-roi-sheet-mount .pulsar-roi__metric .pulsar-roi__metric-label {
    grid-column: 1;
    grid-row: 2;
  }

  #pulsar-roi-sheet-mount .pulsar-roi__metric .pulsar-roi__metric-copy {
    grid-column: 1;
    grid-row: 3;
  }
}

#pulsar-roi-mount .pulsar-roi__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

:is(#pulsar-roi-mount, #pulsar-roi-sheet-mount) .pulsar-roi__band {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

#pulsar-roi-sheet-mount .pulsar-roi__band {
  grid-template-columns: 1fr;
}

#pulsar-roi-mount .pulsar-roi__band--context {
  border-bottom: 1px solid var(--line);
}

#pulsar-roi-mount .pulsar-roi__band--context .pulsar-roi__panel--cost {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

#pulsar-roi-mount .pulsar-roi__band--costs {
  border-bottom: 1px solid var(--line);
}

#pulsar-roi-mount .pulsar-roi__band--costs .pulsar-roi__panel--cost {
  border-right: 1px solid var(--line);
}

#pulsar-roi-mount .pulsar-roi__band--extras .pulsar-roi__panel--cost {
  border-right: 1px solid var(--line);
}

#pulsar-roi-mount .pulsar-roi__panel--stack {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#pulsar-roi-mount .pulsar-roi__extras {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#pulsar-roi-mount .pulsar-roi__extras .pulsar-roi__subhead {
  margin: 0;
}

#pulsar-roi-mount .pulsar-roi__stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

#pulsar-roi-mount .pulsar-roi__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

#pulsar-roi-mount .pulsar-roi__stat-label {
  font-size: 0.68rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1.4;
}

#pulsar-roi-mount .pulsar-roi__stat strong {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.05;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
}

#pulsar-roi-mount .pulsar-roi__metrics-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

#pulsar-roi-mount .pulsar-roi__metric {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  background: rgba(255, 255, 255, 0.03);
}

#pulsar-roi-mount .pulsar-roi__metric .pulsar-roi__adv-metric {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
}

#pulsar-roi-mount .pulsar-roi__metric .pulsar-roi__metric-label {
  grid-column: 2;
  grid-row: 1;
}

#pulsar-roi-mount .pulsar-roi__metric .pulsar-roi__metric-copy {
  grid-column: 2;
  grid-row: 2;
}

#pulsar-roi-mount .pulsar-roi__metric-label {
  font-size: 0.68rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
  line-height: 1.35;
}

#pulsar-roi-mount .pulsar-roi__metric .pulsar-roi__adv-metric {
  margin: 0;
  font-size: clamp(1rem, 1.75vw, 1.28rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

#pulsar-roi-mount .pulsar-roi__metric-unit {
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(78, 205, 196, 0.75);
}

#pulsar-roi-mount .pulsar-roi__metric-copy {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--muted);
}

#pulsar-roi-mount .pulsar-roi__costs-head {
  margin: 0 0 10px;
}

#pulsar-roi-mount .pulsar-roi__controls-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

#pulsar-roi-mount .pulsar-roi__panel {
  border-radius: 0;
  border: none;
  padding: clamp(14px, 1.8vw, 20px);
  position: relative;
  overflow: visible;
}

#pulsar-roi-mount .pulsar-roi__panel--cost {
  background: var(--bg-elev);
}

#pulsar-roi-mount .pulsar-roi__panel--savings {
  background: rgba(78, 205, 196, 0.04);
  min-height: 100%;
}

#pulsar-roi-mount .pulsar-roi__panel-title {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--mono);
  margin: 0 0 14px;
  color: var(--dim);
}

#pulsar-roi-mount .pulsar-roi__panel-title--cost {
  color: var(--muted);
}

#pulsar-roi-mount .pulsar-roi__panel-title--pulsar,
#pulsar-roi-mount .pulsar-roi__panel--savings > .pulsar-roi__panel-title:first-child {
  color: var(--teal);
}

#pulsar-roi-mount .pulsar-roi__slider {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 6px 10px;
  align-content: start;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 8px);
  background: rgba(255, 255, 255, 0.04);
}

#pulsar-roi-mount .pulsar-roi__slider label {
  grid-column: 1;
  grid-row: 1;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}

#pulsar-roi-mount .pulsar-roi__slider span {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 3.25rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid rgba(78, 205, 196, 0.22);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  text-align: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#pulsar-roi-mount .pulsar-roi__panel--cost .pulsar-roi__panel-title {
  margin-bottom: 8px;
  flex-shrink: 0;
}

#pulsar-roi-mount .pulsar-roi__panel--cost .pulsar-roi__subhead-light {
  margin-bottom: 8px;
  flex-shrink: 0;
}

#pulsar-roi-mount .pulsar-roi__direct-scope {
  margin: 0 0 12px;
  line-height: 1.45;
}

#pulsar-roi-mount .pulsar-roi__panel--savings .pulsar-roi__direct-scope {
  color: rgba(244, 245, 247, 0.62);
}

#pulsar-roi-mount .pulsar-roi__slider input[type="range"] {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  min-width: 0;
  accent-color: var(--teal);
}

@media (min-width: 621px) {
  #pulsar-roi-mount .pulsar-roi__slider input[type="range"] {
    --range-pct: 50%;
    -webkit-appearance: none;
    appearance: none;
    height: 26px;
    margin: 0;
    background: transparent;
    cursor: grab;
    touch-action: none;
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"]:active {
    cursor: grabbing;
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"]::-webkit-slider-runnable-track {
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(
      to right,
      var(--teal) 0%,
      var(--teal) var(--range-pct),
      rgba(255, 255, 255, 0.14) var(--range-pct),
      rgba(255, 255, 255, 0.14) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.22);
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -6px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--teal);
    box-shadow:
      0 2px 6px rgba(0, 0, 0, 0.35),
      0 0 0 4px rgba(78, 205, 196, 0.16);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"]:hover::-webkit-slider-thumb {
    transform: scale(1.1);
    box-shadow:
      0 2px 10px rgba(0, 0, 0, 0.4),
      0 0 0 6px rgba(78, 205, 196, 0.24);
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"]:focus-visible::-webkit-slider-thumb {
    box-shadow:
      0 2px 10px rgba(0, 0, 0, 0.4),
      0 0 0 6px rgba(78, 205, 196, 0.35);
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"]::-moz-range-track {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.22);
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"]::-moz-range-progress {
    height: 7px;
    border-radius: 999px 0 0 999px;
    background: var(--teal);
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--teal);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    cursor: grab;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"]:hover::-moz-range-thumb {
    transform: scale(1.1);
    box-shadow:
      0 2px 10px rgba(0, 0, 0, 0.4),
      0 0 0 4px rgba(78, 205, 196, 0.24);
  }
}

#pulsar-roi-mount .pulsar-roi__cards {
  margin-top: 0;
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#pulsar-roi-mount .pulsar-roi__card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  padding: 14px 16px;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#pulsar-roi-mount .pulsar-roi__card--wide {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

#pulsar-roi-mount .pulsar-roi__card p {
  margin: 0 0 6px;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

#pulsar-roi-mount .pulsar-roi__card--wide p {
  font-size: 0.72rem;
}

#pulsar-roi-mount .pulsar-roi__card strong {
  display: block;
  font-size: clamp(1.2rem, 1.85vw, 1.55rem);
  line-height: 1.05;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.02em;
}

#pulsar-roi-mount .pulsar-roi__cards--pulsar {
  margin-bottom: 0;
}

#pulsar-roi-mount .pulsar-roi__cards--pulsar .pulsar-roi__card {
  background: rgba(78, 205, 196, 0.06);
  border-color: rgba(78, 205, 196, 0.22);
}

#pulsar-roi-mount .pulsar-roi__cards--pulsar .pulsar-roi__card strong {
  color: var(--teal);
}

#pulsar-roi-mount .pulsar-roi__indirect {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  flex: 1;
  min-height: 0;
}

#pulsar-roi-mount .pulsar-roi__indirect h4 {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--mono);
  color: var(--text);
}

#pulsar-roi-mount .pulsar-roi__indirect ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

#pulsar-roi-mount .pulsar-roi__indirect li {
  position: relative;
  padding-left: 14px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
  padding-top: 2px;
  padding-bottom: 2px;
}

#pulsar-roi-mount .pulsar-roi__indirect li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

#pulsar-roi-mount .pulsar-roi__indirect strong {
  color: var(--text);
}

#pulsar-roi-mount .pulsar-roi__savings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}

#pulsar-roi-mount .pulsar-roi__savings-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  padding: 14px 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

#pulsar-roi-mount .pulsar-roi__savings-box p {
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dim);
}

#pulsar-roi-mount .pulsar-roi__savings-box strong {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.05;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
}

#pulsar-roi-mount .pulsar-roi__savings-sub {
  display: block;
  margin-top: 7px;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
}

#pulsar-roi-mount .pulsar-roi__savings-sub b {
  color: var(--text);
  font-weight: 700;
}

#pulsar-roi-mount .pulsar-roi__adv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

#pulsar-roi-mount .pulsar-roi__adv-btn {
  position: relative;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 6px);
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

#pulsar-roi-mount .pulsar-roi__adv-title {
  margin: 0 0 6px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--mono);
  color: var(--dim);
}

#pulsar-roi-mount .pulsar-roi__adv-metric {
  display: block;
  font-size: clamp(1rem, 1.75vw, 1.35rem);
  line-height: 1.08;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

#pulsar-roi-mount .pulsar-roi__adv-copy {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--muted);
}

#pulsar-roi-mount .pulsar-roi__subhead {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--mono);
  color: var(--dim);
}

#pulsar-roi-mount .pulsar-roi__subhead-light {
  margin: 0 0 10px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--mono);
  color: var(--dim);
}

#pulsar-roi-mount .pulsar-roi__benefits {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  flex: 1;
  min-height: 0;
}

#pulsar-roi-mount .pulsar-roi__benefits li {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 0 22px;
  position: relative;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

#pulsar-roi-mount .pulsar-roi__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--teal);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

#pulsar-roi-mount .pulsar-roi__benefits strong {
  color: var(--text);
}

#pulsar-roi-mount .pulsar-roi__bottomline {
  margin: clamp(24px, 3vw, 32px) auto 0;
  max-width: 36rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
}

#pulsar-roi-mount .pulsar-roi__panel--stack .pulsar-roi__subhead {
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  #pulsar-roi-mount .pulsar-roi__metrics-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  #pulsar-roi-mount .pulsar-roi__metric {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 12px;
  }

  #pulsar-roi-mount .pulsar-roi__metric .pulsar-roi__adv-metric {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  #pulsar-roi-mount .pulsar-roi__metric .pulsar-roi__metric-label {
    grid-column: 1;
    grid-row: 2;
  }

  #pulsar-roi-mount .pulsar-roi__metric .pulsar-roi__metric-copy {
    grid-column: 1;
    grid-row: 3;
  }
}

@media (min-width: 1080px) {
  #pulsar-roi-mount .pulsar-roi__indirect ul {
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
  }
}

@media (max-width: 980px) {
  #pulsar-roi-mount .pulsar-roi__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  #pulsar-roi-mount .pulsar-roi__band {
    grid-template-columns: 1fr;
  }

  #pulsar-roi-mount .pulsar-roi__band--context .pulsar-roi__panel--cost,
  #pulsar-roi-mount .pulsar-roi__band--costs .pulsar-roi__panel--cost {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  #pulsar-roi-mount .pulsar-roi__band--context .pulsar-roi__panel--savings,
  #pulsar-roi-mount .pulsar-roi__band--costs .pulsar-roi__panel--savings {
    border-bottom: 1px solid var(--line);
  }

  #pulsar-roi-mount .pulsar-roi__band--extras .pulsar-roi__panel--cost {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  #pulsar-roi-mount .pulsar-roi__cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  #pulsar-roi-mount .pulsar-roi__stat-row,
  #pulsar-roi-mount .pulsar-roi__metrics-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #pulsar-roi-mount .pulsar-roi__metric .pulsar-roi__adv-metric {
    white-space: normal;
  }
}

/* ROI calculator — mobile: live summary + inputs + explain sheet */
@media (min-width: 721px) {
  #pulsar-roi-mount .pulsar-roi__mobile-live,
  #pulsar-roi-mount .pulsar-roi__mobile-explain {
    display: none !important;
  }

  .pulsar-roi-sheet {
    display: none !important;
  }
}

@media (max-width: 720px) {
  #pulsar-roi-mount .pulsar-roi__mobile-live {
    position: sticky;
    top: calc(var(--nav-h) + 4px);
    z-index: 20;
    margin-bottom: 12px;
    padding: 10px 0 12px;
    background: #152238;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 24px rgba(8, 12, 20, 0.45);
  }

  #pulsar-roi-mount .pulsar-roi__mobile-hero {
    padding: 14px 16px;
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid rgba(78, 205, 196, 0.32);
    background: #1a2d45;
    text-align: center;
  }

  #pulsar-roi-mount .pulsar-roi__mobile-hero-kicker {
    margin: 0 0 6px;
    font-family: var(--mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dim);
  }

  #pulsar-roi-mount .pulsar-roi__mobile-hero-val {
    margin: 0 0 6px;
    font-size: clamp(1.65rem, 7vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--teal);
    transition: color 0.15s ease;
  }

  #pulsar-roi-mount .pulsar-roi__mobile-hero-sub {
    margin: 0;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.4;
  }

  #pulsar-roi-mount .pulsar-roi__mobile-compare {
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: calc(var(--radius) - 4px);
    overflow: hidden;
    background: #1a2638;
  }

  #pulsar-roi-mount .pulsar-roi__mobile-compare-scope {
    margin: 0;
    padding: 8px 12px;
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.35;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
  }

  #pulsar-roi-mount .pulsar-roi__mobile-compare-head,
  #pulsar-roi-mount .pulsar-roi__mobile-compare-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
  }

  #pulsar-roi-mount .pulsar-roi__mobile-compare-head {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dim);
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid var(--line);
  }

  #pulsar-roi-mount .pulsar-roi__mobile-compare-head span:not(:first-child) {
    text-align: center;
  }

  #pulsar-roi-mount .pulsar-roi__mobile-compare-row {
    border-bottom: 1px solid var(--line);
  }

  #pulsar-roi-mount .pulsar-roi__mobile-compare-row:last-child {
    border-bottom: none;
  }

  #pulsar-roi-mount .pulsar-roi__mobile-compare-row--total {
    background: #223044;
  }

  #pulsar-roi-mount .pulsar-roi__mobile-compare-label {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.35;
  }

  #pulsar-roi-mount .pulsar-roi__mobile-compare-today,
  #pulsar-roi-mount .pulsar-roi__mobile-compare-pulsar {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
  }

  #pulsar-roi-mount .pulsar-roi__mobile-compare-today {
    color: var(--orange);
  }

  #pulsar-roi-mount .pulsar-roi__mobile-compare-pulsar {
    color: var(--teal);
  }

  #pulsar-roi-mount .pulsar-roi__grid {
    border: none;
    border-radius: 0;
    overflow: visible;
  }

  #pulsar-roi-mount .pulsar-roi__band--context {
    display: grid;
    grid-template-columns: 1fr;
    border: none;
  }

  #pulsar-roi-mount .pulsar-roi__band--desktop-costs,
  #pulsar-roi-mount .pulsar-roi__band--extras {
    display: none !important;
  }

  #pulsar-roi-mount .pulsar-roi__panel--savings {
    display: none !important;
  }

  #pulsar-roi-mount .pulsar-roi__panel--cost {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: calc(var(--radius) - 2px);
    background: #1a2638;
  }

  #pulsar-roi-mount .pulsar-roi__panel--cost > .pulsar-roi__panel-title {
    display: none;
  }

  #pulsar-roi-mount .pulsar-roi__panel--cost .pulsar-roi__subhead-light {
    margin-top: 0;
    font-size: 0.8rem;
    color: var(--text);
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 600;
  }

  #pulsar-roi-mount .pulsar-roi__mobile-explain {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 48px;
    margin-top: 4px;
    padding: 12px 16px;
    border: 1px solid rgba(78, 205, 196, 0.4);
    border-radius: calc(var(--radius) - 4px);
    background: #1e3348;
    font-family: var(--font);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--teal);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  #pulsar-roi-mount .pulsar-roi__mobile-explain::after {
    content: "→";
    font-size: 0.95rem;
    line-height: 1;
  }

  #pulsar-roi-mount .pulsar-roi__slider {
    padding: 12px 12px 14px;
    gap: 8px 10px;
  }

  #pulsar-roi-mount .pulsar-roi__slider label {
    font-size: 0.84rem;
    padding-right: 4px;
  }

  #pulsar-roi-mount .pulsar-roi__slider span {
    min-width: 4.5rem;
    padding: 4px 10px;
    font-size: 0.74rem;
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"] {
    --range-pct: 50%;
    -webkit-appearance: none;
    appearance: none;
    height: 32px;
    margin: 0;
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(
      to right,
      var(--teal) 0%,
      var(--teal) var(--range-pct),
      rgba(255, 255, 255, 0.14) var(--range-pct),
      rgba(255, 255, 255, 0.14) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    margin-top: -9px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--teal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"]::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"]::-moz-range-progress {
    height: 8px;
    border-radius: 999px 0 0 999px;
    background: var(--teal);
  }

  #pulsar-roi-mount .pulsar-roi__slider input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--teal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  #pulsar-roi-mount .pulsar-roi__metric {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 14px;
  }

  #pulsar-roi-mount .pulsar-roi__metric .pulsar-roi__adv-metric {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    white-space: normal;
    font-size: clamp(1.1rem, 5vw, 1.35rem);
  }

  #pulsar-roi-mount .pulsar-roi__metric .pulsar-roi__metric-label {
    grid-column: 1;
    grid-row: 2;
  }

  #pulsar-roi-mount .pulsar-roi__metric .pulsar-roi__metric-copy {
    grid-column: 1;
    grid-row: 3;
    font-size: 0.82rem;
  }

  #pulsar-roi-mount .pulsar-roi__controls-grid {
    gap: 10px;
  }
}

/* ROI explain sheet (mobile) */
.pulsar-roi-sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  isolation: isolate;
}

.pulsar-roi-sheet[hidden] {
  display: none;
}

.pulsar-roi-sheet.is-open {
  pointer-events: auto;
}

.pulsar-roi-sheet__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: #0a1018;
  opacity: 0;
  transition: opacity 0.28s ease;
  cursor: pointer;
}

.pulsar-roi-sheet.is-open .pulsar-roi-sheet__backdrop {
  opacity: 0.92;
}

.pulsar-roi-sheet__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(82vh, 720px);
  display: flex;
  flex-direction: column;
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--line);
  border-bottom: none;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.45);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}

.pulsar-roi-sheet.is-open .pulsar-roi-sheet__panel {
  transform: translateY(0);
}

.pulsar-roi-sheet__handle {
  width: 36px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.pulsar-roi-sheet__dismiss {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.pulsar-roi-sheet__head {
  flex-shrink: 0;
  padding-right: 40px;
  margin-bottom: 14px;
}

.pulsar-roi-sheet__eyebrow {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.pulsar-roi-sheet__title {
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 4.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.pulsar-roi-sheet__lede {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

.pulsar-roi-sheet__scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 2px 4px 0;
  -webkit-overflow-scrolling: touch;
}

body.pulsar-roi-sheet-open {
  overflow: hidden;
}

body.pulsar-roi-sheet-open #pulsar-roi-mount {
  pointer-events: none;
}

/* ── System Map: raw data → system intelligence pipeline ── */
#system-map-pipeline {
  scroll-margin-top: var(--nav-h);
}

#system-map-pipeline h2 {
  max-width: min(52rem, 100%);
  color: #162033;
}

#system-map-pipeline h2 em {
  font-style: normal;
  color: var(--teal);
}

.cap-pipeline__lede {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: #4f5f75;
}

.plat-flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.35fr) auto minmax(0, 1fr);
  gap: clamp(8px, 1.5vw, 16px);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.plat-flow-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 1.1rem;
}

.plat-flow-label--accent {
  color: #0f766e;
}

.plat-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3.5rem;
  color: var(--teal);
}

.plat-input-stack {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-0);
  box-shadow: 0 8px 24px rgba(43, 45, 66, 0.06);
}

.plat-input-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
}

.plat-input-row:last-child {
  border-bottom: none;
}

.plat-input-row--muted {
  opacity: 0.65;
}

.plat-input-icon {
  width: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border);
  background: var(--surface-1);
  color: var(--teal);
}

.plat-input-icon svg {
  width: 20px;
  height: 20px;
  opacity: 0.75;
}

.plat-input-body {
  flex: 1;
  padding: 13px 15px;
  background: var(--surface-0);
}

.plat-input-name {
  margin: 0 0 3px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
}

.plat-input-desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.plat-input-badge {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(78, 205, 196, 0.3);
  background: rgba(78, 205, 196, 0.1);
  color: #0f766e;
}

.plat-engine-card {
  border: 1px solid rgba(78, 205, 196, 0.45);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-0);
  box-shadow: 0 12px 32px rgba(43, 45, 66, 0.08);
}

.plat-engine-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px 0;
}

.plat-engine-pulse {
  display: flex;
  gap: 4px;
}

.plat-engine-pulse span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: platEngineBlink 1.8s ease-in-out infinite;
}

.plat-engine-pulse span:nth-child(2) {
  opacity: 0.5;
  animation-delay: 0.4s;
}

.plat-engine-pulse span:nth-child(3) {
  opacity: 0.25;
  animation-delay: 0.8s;
}

@keyframes platEngineBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.plat-engine-name {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f766e;
}

.plat-engine-vis {
  height: 100px;
  background: linear-gradient(165deg, #1c2f4a 0%, #152238 55%, #111c2e 100%);
  border-top: 1px solid rgba(21, 34, 56, 0.35);
  border-bottom: 1px solid rgba(21, 34, 56, 0.35);
}

#plat-eng-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.plat-engine-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.plat-estep {
  padding: 14px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.plat-estep:nth-child(2n) {
  border-right: none;
}

.plat-estep:nth-last-child(-n + 2) {
  border-bottom: none;
}

.plat-estep-num {
  margin: 0 0 5px;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #0f766e;
  opacity: 0.65;
}

.plat-estep-title {
  margin: 0 0 4px;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.plat-estep-desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.plat-engine-footer {
  margin: 0;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
  background: rgba(78, 205, 196, 0.06);
  border-top: 1px solid var(--border);
}

.plat-output-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plat-out-card {
  position: relative;
  padding: 16px 40px 16px 18px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 10px;
  background: var(--surface-1);
  transition: border-color 0.2s, background 0.2s;
}

.plat-out-card:hover {
  border-color: rgba(78, 205, 196, 0.4);
  background: var(--surface-0);
}

.plat-out-card__toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #0f766e;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.55;
  transition: transform 0.2s, opacity 0.2s;
}

.plat-out-card__toggle:hover {
  opacity: 0.9;
}

.plat-out-card.is-open .plat-out-card__toggle {
  transform: rotate(45deg);
  opacity: 0.85;
}

.plat-out-lbl {
  margin: 0 0 5px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
  opacity: 0.85;
}

.plat-out-title {
  margin: 0 0 4px;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.plat-out-desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.plat-out-card.is-open .plat-out-desc {
  max-height: 120px;
  opacity: 1;
  margin-top: 8px;
}

.plat-divider-label {
  margin: 0 0 1.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 16px;
}

.plat-divider-label::before,
.plat-divider-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.plat-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
  box-shadow: 0 10px 30px rgba(43, 45, 66, 0.06);
}

.plat-why-cell {
  padding: 26px 24px;
  background: var(--surface-0);
}

.plat-why-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid rgba(78, 205, 196, 0.28);
}

.plat-why-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.plat-why-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.plat-why-body {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}

.plat-why-body strong {
  color: var(--text);
  font-weight: 600;
}

.plat-compare {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  box-shadow: 0 10px 30px rgba(43, 45, 66, 0.06);
}

.plat-compare__head,
.plat-compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.plat-compare__head {
  background: var(--surface-1);
}

.plat-compare__row {
  border-top: 1px solid var(--border);
  background: var(--surface-0);
}

.plat-compare__cell {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plat-compare__cell:last-child {
  border-right: none;
}

.plat-compare__cell--head {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.plat-compare__cell--accent {
  color: #0f766e;
}

.plat-compare__cell--label {
  font-weight: 600;
  color: var(--text);
}

.plat-compare__cell--win {
  color: var(--text);
}

.plat-mark {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.4;
}

.plat-mark--no {
  color: #dc2626;
}

.plat-mark--yes {
  color: #0f766e;
}

.plat-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-1);
  box-shadow: 0 10px 30px rgba(43, 45, 66, 0.06);
}

.plat-cta__copy h3 {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.plat-cta__copy h3 em {
  font-style: normal;
  color: var(--teal);
}

.plat-cta__copy p {
  margin: 0;
  max-width: 32rem;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}

.plat-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .plat-flow-grid {
    grid-template-columns: 1fr;
  }

  .plat-flow-arrow {
    padding: 8px 0;
    transform: rotate(90deg);
  }

  .plat-why-grid {
    grid-template-columns: 1fr;
  }

  .plat-compare__head,
  .plat-compare__row {
    grid-template-columns: 1fr;
  }

  .plat-compare__cell {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .plat-compare__cell:last-child {
    border-bottom: none;
  }

  .plat-compare__cell--head {
    display: none;
  }

  .plat-compare__row .plat-compare__cell--label {
    background: var(--surface-1);
    font-family: var(--mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plat-engine-pulse span {
    animation: none;
  }
}

/* ── About: storyline (where we are today) ── */
#about-story {
  scroll-margin-top: var(--nav-h);
}

.about-storyline h2 {
  max-width: min(52rem, 100%);
  color: #162033;
}

.about-storyline h2 em {
  font-style: normal;
  color: var(--teal);
}

.about-storyline__lede {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  color: #4f5f75;
}

.about-sl-timeline {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.about-sl-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.about-sl-track-line {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: var(--border);
  z-index: 0;
  pointer-events: none;
}

.about-sl-track-line__fill {
  display: block;
  height: 100%;
  width: 37.5%;
  background: var(--teal);
  opacity: 0.45;
}

.about-sl-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-sl-node__dot-wrap {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.about-sl-node__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.about-sl-node__dot--done {
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.18);
}

.about-sl-node__dot--active {
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(78, 205, 196, 0.2);
  animation: aboutSlActivePulse 2s ease-in-out infinite;
}

.about-sl-node__dot--open {
  background: transparent;
  border: 1.5px solid var(--border);
}

@keyframes aboutSlActivePulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.22);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(78, 205, 196, 0.08);
  }
}

.about-sl-node__status {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.about-sl-node__status--done {
  color: #0f766e;
}

.about-sl-node__status--active {
  color: var(--orange);
}

.about-sl-node__status--open {
  color: var(--color-metal);
}

.about-sl-node__ring {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.about-sl-node__status--done .about-sl-node__ring {
  background: var(--teal);
}

.about-sl-node__status--active .about-sl-node__ring {
  background: var(--orange);
  animation: aboutSlBlink 1.5s ease-in-out infinite;
}

.about-sl-node__status--open .about-sl-node__ring {
  background: var(--color-metal);
  opacity: 0.45;
}

@keyframes aboutSlBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.about-sl-node__label {
  margin: 0 0 5px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.about-sl-node__date {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--color-metal);
}

.about-sl-node__desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 11rem;
}

.about-sl-cards-label {
  margin: 0 0 1.25rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-metal);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-sl-cards-label::before,
.about-sl-cards-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.about-sl-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
  box-shadow: 0 10px 30px rgba(43, 45, 66, 0.06);
}

.about-sl-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--surface-0);
  transition: background 0.2s;
}

.about-sl-card:hover {
  background: var(--surface-1);
}

.about-sl-card__eyebrow {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-sl-card__eyebrow--investors {
  color: #c45f2a;
}

.about-sl-card__eyebrow--pilot {
  color: #0f766e;
}

.about-sl-card__eyebrow--clients {
  color: #2d8a5c;
}

.about-sl-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.about-sl-card__icon svg {
  width: 16px;
  height: 16px;
}

.about-sl-card__icon--investors {
  background: rgba(239, 131, 84, 0.1);
  border: 1px solid rgba(239, 131, 84, 0.28);
  color: var(--orange);
}

.about-sl-card__icon--pilot {
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid rgba(78, 205, 196, 0.3);
  color: var(--teal);
}

.about-sl-card__icon--clients {
  background: rgba(61, 189, 122, 0.1);
  border: 1px solid rgba(61, 189, 122, 0.28);
  color: #2d8a5c;
}

.about-sl-card__title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.about-sl-card__body {
  margin: 0 0 12px;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}

.about-sl-card__body:last-of-type {
  margin-bottom: 18px;
}

.about-sl-card__body strong {
  color: var(--text);
  font-weight: 600;
}

.about-sl-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.about-sl-card__link:hover {
  gap: 9px;
  text-decoration: none;
}

.about-sl-card__link--investors {
  color: #c45f2a;
}

.about-sl-card__link--pilot {
  color: #0f766e;
}

.about-sl-card__link--clients {
  color: #2d8a5c;
}

.about-sl-founding {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  margin-bottom: 1.75rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  background: var(--surface-1);
  box-shadow: 0 8px 24px rgba(43, 45, 66, 0.05);
}

.about-sl-founding__tag {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.about-sl-founding__headline {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.about-sl-founding__headline em {
  font-style: normal;
  color: var(--teal);
}

.about-sl-founding__body {
  margin: 0 0 10px;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}

.about-sl-founding__body:last-child {
  margin-bottom: 0;
}

.about-sl-founding__body strong {
  color: var(--text);
  font-weight: 600;
}

.about-sl-founding__stat {
  text-align: right;
  flex-shrink: 0;
}

.about-sl-founding__num {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  line-height: 1;
  color: var(--orange);
}

.about-sl-founding__sub {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.45;
}

.about-sl-team {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-1);
}

.about-sl-team__avatars {
  display: flex;
  flex-shrink: 0;
}

.about-sl-avatar {
  width: 32px;
  height: 32px;
  margin-left: -6px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-ink-soft);
}

.about-sl-avatar:first-child {
  margin-left: 0;
}

.about-sl-team__text {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.6;
}

.about-sl-team__text strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 900px) {
  .about-sl-cards {
    grid-template-columns: 1fr;
  }

  .about-sl-timeline {
    margin-inline: clamp(-4px, -1vw, 0);
  }

  .about-sl-track {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 0 2px;
  }

  .about-sl-track-line {
    top: 20px;
    bottom: 20px;
    left: 17px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .about-sl-track-line__fill {
    width: 100%;
    height: 37.5%;
  }

  .about-sl-node {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    column-gap: 14px;
    row-gap: 0;
    align-items: start;
    padding: 0 0 clamp(22px, 5vw, 28px);
    text-align: left;
  }

  .about-sl-node:last-child {
    padding-bottom: 0;
  }

  .about-sl-node__dot-wrap {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: start;
    margin: 0;
    position: relative;
    z-index: 1;
  }

  .about-sl-node__status {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 6px;
    justify-content: flex-start;
  }

  .about-sl-node__label {
    grid-column: 2;
    grid-row: 2;
    margin: 0 0 4px;
    font-size: 1rem;
  }

  .about-sl-node__date {
    grid-column: 2;
    grid-row: 3;
    margin: 0 0 8px;
  }

  .about-sl-node__desc {
    grid-column: 2;
    grid-row: 4;
    max-width: none;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
  }
}

@media (max-width: 640px) {
  .about-sl-founding {
    grid-template-columns: 1fr;
  }

  .about-sl-founding__stat {
    text-align: left;
  }

  .about-sl-node {
    column-gap: 12px;
    padding-bottom: 22px;
  }

  .about-sl-node__label {
    font-size: 0.96rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-sl-node__dot--active,
  .about-sl-node__status--active .about-sl-node__ring {
    animation: none;
  }
}

/* ── Platform: HTML flow diagram ── */
#platform-vertical {
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.platform-vertical__intro {
  max-width: 40rem;
  margin-bottom: clamp(18px, 2.5vw, 28px);
}

.platform-vertical__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.platform-vertical__eyebrow::before {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: var(--teal);
}

.platform-vertical__lede {
  margin-bottom: 0;
}

.platform-vertical__footer {
  margin-top: clamp(28px, 4vw, 40px);
}

.platform-flow {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f8fa;
  padding: clamp(16px, 2.5vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.platform-flow__tier {
  width: 100%;
  max-width: 920px;
}

.platform-flow__tier-label {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: center;
}

.platform-flow__agents-row {
  width: 100%;
  max-width: 920px;
}

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

.platform-flow__hub {
  width: 100%;
  height: clamp(32px, 4vw, 44px);
  margin-top: 8px;
  position: relative;
}

.platform-flow__hub-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.platform-flow__hub-svg--narrow {
  display: none;
}

.platform-flow__hub-branch,
.platform-flow__hub-stem {
  fill: none;
  stroke: rgba(78, 205, 196, 0.38);
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: stroke 0.22s ease, opacity 0.22s ease;
}

.platform-flow__hub-joint {
  fill: rgba(78, 205, 196, 0.55);
  stroke: var(--surface-0);
  stroke-width: 2;
  transition: fill 0.22s ease, transform 0.22s ease;
}

.platform-flow__spine {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 20px;
  position: relative;
}

.platform-flow__spine-line {
  display: block;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(78, 205, 196, 0.5), rgba(78, 205, 196, 0.15));
  border-radius: 2px;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.platform-flow__spine--up .platform-flow__spine-line {
  background: linear-gradient(0deg, rgba(78, 205, 196, 0.5), rgba(78, 205, 196, 0.15));
}

.platform-flow__foundation {
  width: 100%;
  max-width: 920px;
  margin-top: -2px;
}

.platform-flow__twin-shell {
  position: relative;
  border: 1px solid rgba(78, 205, 196, 0.35);
  border-radius: var(--radius);
  background: var(--surface-0);
  padding: clamp(12px, 2vw, 16px) clamp(14px, 2.2vw, 18px);
  box-shadow: 0 8px 28px rgba(43, 45, 66, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.platform-flow__twin-port {
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow:
    0 0 0 3px rgba(78, 205, 196, 0.18),
    0 0 12px rgba(78, 205, 196, 0.35);
  z-index: 2;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.platform-flow__twin-head {
  text-align: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.platform-flow__twin-title {
  margin: 0 0 4px;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.platform-flow__twin-lede {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.platform-flow__twin-cta {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
}

.platform-flow__twin-cta:hover {
  text-decoration: underline;
}

.platform-flow__twin-facets {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.platform-flow__facet-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 4px;
  min-width: 28px;
}

.platform-flow__facet-bridge-line {
  display: block;
  width: 1px;
  flex: 1 1 auto;
  min-height: 12px;
  background: linear-gradient(180deg, transparent, rgba(78, 205, 196, 0.45), transparent);
}

.platform-flow__facet-bridge-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1;
}

.platform-flow__inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.platform-flow__input {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  background: var(--surface-0);
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.platform-flow__input:hover,
.platform-flow__input:focus-visible {
  border-color: rgba(78, 205, 196, 0.5);
  box-shadow: 0 4px 16px rgba(78, 205, 196, 0.12);
  outline: none;
}

.platform-flow__input-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.platform-flow__input-sub {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--dim);
  letter-spacing: 0.03em;
}

.platform-flow__input[data-input="traces"] { border-top: 2px solid #5b8db8; }
.platform-flow__input[data-input="logs"] { border-top: 2px solid #7b6fae; }

.platform-flow__flip.home-cap-card--flip {
  position: relative;
  perspective: 1000px;
  height: 108px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.platform-flow__flip--agent.home-cap-card--flip {
  height: 104px;
}

.platform-flow__flip--facet.home-cap-card--flip {
  height: 104px;
}

.platform-flow__flip--facet .home-cap-card__face {
  padding: 8px 10px;
  gap: 8px;
}

.platform-flow__flip--facet .home-cap-card__face--front img {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.platform-flow__flip--facet .platform-flow__name {
  font-size: 0.76rem;
}

.platform-flow__flip .home-cap-card__flip {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: calc(var(--radius) - 4px);
}

.platform-flow__flip.is-flipped .home-cap-card__flip,
.platform-flow__flip.home-cap-card--flip.is-flipped .home-cap-card__flip {
  transform: rotateY(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .platform-flow__flip.home-cap-card--flip:hover .home-cap-card__flip,
  .platform-flow__flip.home-cap-card--flip:focus-visible .home-cap-card__flip {
    transform: rotateY(180deg);
  }

  .platform-flow__flip.is-flipped .home-cap-card__flip {
    transform: rotateY(180deg);
  }
}

.platform-flow__flip .home-cap-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid var(--line);
  background: var(--surface-0);
  box-shadow: 0 4px 14px rgba(43, 45, 66, 0.06);
}

.platform-flow__flip .home-cap-card__face--back {
  transform: rotateY(180deg);
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  overflow: auto;
}

.platform-flow__flip .home-cap-card__face--front img {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.platform-flow__flip--engine .home-cap-card__face--front img {
  flex-basis: 36px;
  width: 36px;
  height: 36px;
}

.platform-flow__code {
  margin: 0 0 2px;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.platform-flow__name {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

.platform-flow__flip .home-cap-card__detail {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted);
  flex: 1 1 auto;
}

.platform-flow__link {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
}

.platform-flow__link:hover {
  text-decoration: underline;
}

/* Flow highlight states */
.platform-flow.is-tracing [data-flow-node] {
  opacity: 0.38;
}

.platform-flow.is-tracing [data-flow-node].is-flow-lit,
.platform-flow.is-tracing .platform-flow__foundation.is-flow-lit,
.platform-flow.is-tracing .platform-flow__twin-shell.is-flow-lit {
  opacity: 1;
}

.platform-flow.is-tracing .platform-flow__spine-line,
.platform-flow.is-tracing .platform-flow__hub-branch,
.platform-flow.is-tracing .platform-flow__hub-stem {
  opacity: 0.18;
}

.platform-flow.is-tracing .platform-flow__spine-line.is-flow-lit,
.platform-flow.is-tracing .platform-flow__hub-branch.is-flow-lit,
.platform-flow.is-tracing .platform-flow__hub-stem.is-flow-lit {
  opacity: 1;
  stroke: var(--teal);
  stroke-width: 2;
}

.platform-flow.is-tracing .platform-flow__hub-joint.is-flow-lit {
  fill: var(--teal);
  stroke: rgba(78, 205, 196, 0.35);
  stroke-width: 3;
}

.platform-flow.is-tracing .platform-flow__twin-shell.is-flow-lit .platform-flow__twin-port {
  box-shadow:
    0 0 0 5px rgba(78, 205, 196, 0.28),
    0 0 16px rgba(78, 205, 196, 0.45);
  transform: translateX(-50%) scale(1.12);
}

.platform-flow.is-tracing [data-flow-node].is-flow-lit .home-cap-card__face,
.platform-flow.is-tracing .platform-flow__input.is-flow-lit,
.platform-flow.is-tracing .platform-flow__twin-shell.is-flow-lit {
  border-color: rgba(78, 205, 196, 0.55);
  box-shadow: 0 0 0 1px rgba(78, 205, 196, 0.2), 0 8px 24px rgba(78, 205, 196, 0.12);
}

@media (max-width: 820px) {
  .platform-flow__hub-svg--wide {
    display: none;
  }

  .platform-flow__hub-svg--narrow {
    display: block;
  }

  .platform-flow__hub {
    display: block;
    height: clamp(48px, 12vw, 64px);
    margin-top: 10px;
  }

  .platform-flow__agents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

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

  .platform-flow__input {
    min-height: 48px;
    padding: 10px 12px;
    align-items: center;
    text-align: center;
  }

  .platform-flow__twin-facets {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 6px;
  }

  .platform-flow__facet-bridge {
    flex-direction: column;
    min-width: 22px;
    padding: 0 2px;
  }

  .platform-flow__facet-bridge-line {
    width: 1px;
    height: auto;
    flex: 1 1 auto;
    min-height: 10px;
    background: linear-gradient(180deg, transparent, rgba(78, 205, 196, 0.45), transparent);
  }

  /* Compact cards — detail opens in bottom sheet */
  .platform-flow__flip.home-cap-card--flip {
    height: 104px;
    perspective: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .platform-flow__flip .home-cap-card__flip,
  .platform-flow__flip.is-flipped .home-cap-card__flip,
  .platform-flow__flip.home-cap-card--flip.is-flipped .home-cap-card__flip {
    transform: none;
    height: 100%;
  }

  .platform-flow__flip .home-cap-card__face--back {
    display: none;
  }

  .platform-flow__flip .home-cap-card__face--front {
    position: absolute;
  }

  .platform-flow__flip .home-cap-card__face--front::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid rgba(78, 205, 196, 0.65);
    border-bottom: 1.5px solid rgba(78, 205, 196, 0.65);
    opacity: 0.85;
  }

  .platform-flow__flip.is-sheet-source-lit .home-cap-card__face--front {
    border-color: rgba(78, 205, 196, 0.55);
    box-shadow: 0 0 0 1px rgba(78, 205, 196, 0.2), 0 8px 22px rgba(78, 205, 196, 0.14);
  }

  .platform-flow.is-tracing [data-flow-node] {
    opacity: 1;
  }

  .platform-flow.is-tracing .platform-flow__spine-line,
  .platform-flow.is-tracing .platform-flow__hub-branch,
  .platform-flow.is-tracing .platform-flow__hub-stem {
    opacity: 1;
  }
}

@media (max-width: 520px) {
  .platform-flow {
    padding: 12px;
  }
}

/* Mobile detail sheet */
@media (min-width: 821px) {
  .platform-flow-sheet {
    display: none !important;
  }
}

.platform-flow-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.platform-flow-sheet[hidden] {
  display: none;
}

.platform-flow-sheet.is-open {
  pointer-events: auto;
}

.platform-flow-sheet__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(15, 18, 28, 0.42);
  opacity: 0;
  transition: opacity 0.28s ease;
  cursor: pointer;
}

.platform-flow-sheet.is-open .platform-flow-sheet__backdrop {
  opacity: 1;
}

.platform-flow-sheet__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(58vh, 520px);
  display: flex;
  flex-direction: column;
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  border-radius: 18px 18px 0 0;
  border: 1px solid var(--line);
  border-bottom: none;
  background: var(--surface-0);
  box-shadow: 0 -12px 40px rgba(43, 45, 66, 0.18);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
}

.platform-flow-sheet.is-open .platform-flow-sheet__panel {
  transform: translateY(0);
}

.platform-flow-sheet__handle {
  width: 36px;
  height: 4px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(43, 45, 66, 0.16);
}

.platform-flow-sheet__dismiss {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-1);
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.platform-flow-sheet__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 40px;
  margin-bottom: 14px;
}

.platform-flow-sheet__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-1);
  object-fit: cover;
}

.platform-flow-sheet__code {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.platform-flow-sheet__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
}

.platform-flow-sheet__detail {
  flex: 1 1 auto;
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.platform-flow-sheet__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.platform-flow-sheet__prev,
.platform-flow-sheet__next {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-1);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
}

.platform-flow-sheet__next {
  justify-self: end;
  border-color: rgba(78, 205, 196, 0.45);
  background: rgba(78, 205, 196, 0.1);
  color: #0f766e;
}

.platform-flow-sheet__prev:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.platform-flow-sheet__progress {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  text-align: center;
}

body.platform-flow-sheet-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .platform-flow-sheet__panel,
  .platform-flow-sheet__backdrop {
    transition: none;
  }
}

@media (hover: none) {
  .platform-flow__flip.home-cap-card--flip:hover .home-cap-card__flip {
    transform: none;
  }
}

