/* Symgora 2.1 — The Intelligent Company Platform.
   Warm pearl pages, midnight ink, and a shared glass-and-mineral product environment. */

/* ---------- Fonts: self-hosted copies of the Google Fonts files (variable weights) ---------- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../../fonts/playfairdisplay/v40/nuFiD-vYSZviVYUb_rj3ij__anPXDTzYgEM86xQ.woff2)
    format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(../../fonts/playfairdisplay/v40/nuFiD-vYSZviVYUb_rj3ij__anPXDTLYgEM86xRbPQ.woff2)
    format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(../../fonts/playfairdisplay/v40/nuFkD-vYSZviVYUb_rj3ij__anPXDTnogkk7yRZrPA.woff2)
    format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(../../fonts/playfairdisplay/v40/nuFkD-vYSZviVYUb_rj3ij__anPXDTnojEk7yRZrPJ-M.woff2)
    format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(../../fonts/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg.woff2)
    format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(../../fonts/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0.woff2)
    format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Approved palette (Wiki 10.8) */
  --pearl: #eeece7;
  --midnight: #06141b;
  --navy: #11212d;
  --slate: #253745;
  --steel: #4a5c6a;
  --mist: #9ba8ab;
  --silver: #e5e9eb;
  --ice: #a6ddf2;
  --champagne: #faf2db;
  --white: #ffffff;
  /* Derived surfaces and lines (tints of the palette, not new hues) */
  --workspace: #edf0f2;
  --ice-tint: #e8f3f8;
  --ice-hover: #bfe7f6;
  --pearl-deep: #e6e3dc;
  --line: rgb(6 20 27 / 0.1);
  --line-strong: rgb(6 20 27 / 0.18);
  --line-dark: rgb(229 233 235 / 0.14);
  --line-dark-strong: rgb(229 233 235 / 0.26);
  /* Roles */
  --ink: var(--midnight);
  --text: var(--slate);
  --muted: var(--steel);
  --focus: var(--midnight);
  /* Type */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-display: clamp(2.3rem, 1.15rem + 5vw, 5.5rem);
  --fs-h2: clamp(2.05rem, 1.35rem + 2.5vw, 3.5rem);
  --fs-h3: clamp(1.45rem, 1.2rem + 0.8vw, 2rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.75rem;
  /* Space and shape */
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  /* Generous breaks between sections, so the page reads in digestible chunks. */
  --section: clamp(160px, 15vw, 232px);
  --r-xs: 6px;
  --r-s: 10px;
  --r-m: 14px;
  --r-l: 20px;
  --r-xl: 30px;
  --shadow-plate: 0 1px 2px rgb(6 20 27 / 0.05), 0 18px 48px -26px rgb(6 20 27 / 0.28);
  --shadow-window: 0 2px 4px rgb(6 20 27 / 0.06), 0 40px 90px -40px rgb(6 20 27 / 0.45);
  --shadow-pop: 0 2px 6px rgb(6 20 27 / 0.08), 0 24px 60px -20px rgb(6 20 27 / 0.32);
  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 180ms;
  --t-mid: 320ms;
  --t-slow: 560ms;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--pearl);
  color: var(--text);
  font: 400 var(--fs-body) / 1.6 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img,
svg,
picture {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--ice);
  color: var(--midnight);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-s);
  background: var(--midnight);
  color: var(--white);
  font-weight: 600;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus {
  top: 12px;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.display,
.h2,
.h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}
.display {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.022em;
}
.h2 {
  font-size: var(--fs-h2);
  line-height: 1.06;
  letter-spacing: -0.018em;
}
.h3 {
  font-size: var(--fs-h3);
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.display em,
.h2 em,
.h3 em {
  font-style: italic;
  color: var(--steel);
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text);
  text-wrap: pretty;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font: 600 var(--fs-label) / 1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow b {
  color: var(--ink);
  font-weight: 700;
}
/* Chapters: Stage, Maestro and Performers read as numbered steps (01 Connect, 02 Engage,
   03 Run). The number pill takes the place of the eyebrow's leading rule. */
.chapter-no {
  display: inline-grid;
  flex: none;
  place-items: center;
  min-width: 26px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--midnight);
  color: var(--white);
  font: 600 0.72rem / 1 var(--sans);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.eyebrow--chapter::before {
  content: none;
}
.nowrap {
  white-space: nowrap;
}
.num {
  font-variant-numeric: tabular-nums;
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: 600 0.97rem / 1 var(--sans);
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.btn .icon {
  transition: transform var(--t-fast) var(--ease);
}
.btn:hover .icon-arrow {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--midnight);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 10px 24px -14px rgb(6 20 27 / 0.7);
}
.btn--primary:hover {
  background: var(--navy);
}
.btn--ice {
  background: var(--ice);
  color: var(--midnight);
}
.btn--ice:hover {
  background: var(--ice-hover);
}
.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.9rem;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
}
.link-arrow span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color var(--t-fast) var(--ease);
}
.link-arrow:hover span {
  text-decoration-color: currentColor;
}
.link-arrow .icon {
  transition: transform var(--t-fast) var(--ease);
}
.link-arrow:hover .icon-down {
  transform: translateY(2px);
}
.link-arrow:hover .icon-arrow {
  transform: translateX(3px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  transition:
    background-color var(--t-mid) var(--ease),
    box-shadow var(--t-mid) var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgb(238 236 231 / 0.86);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: saturate(1.15) blur(14px);
  backdrop-filter: saturate(1.15) blur(14px);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: 6px;
}
.brand img {
  width: auto;
  height: 31px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--slate);
  font: 500 0.95rem / 1 var(--sans);
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.nav-link:hover,
.nav-link[aria-expanded='true'] {
  background: rgb(6 20 27 / 0.05);
  color: var(--midnight);
}
.nav-link .icon {
  width: 14px;
  height: 14px;
  transition: transform var(--t-fast) var(--ease);
}
.nav-link[aria-expanded='true'] .icon {
  transform: rotate(180deg);
}
.nav .btn {
  margin-left: 10px;
}
.nav-item {
  position: relative;
}
.menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  width: 360px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    visibility 0s linear var(--t-fast);
}
.menu::before {
  content: '';
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}
.nav-item.is-open .menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.menu-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  transition: background-color var(--t-fast) var(--ease);
}
.menu-item:hover,
.menu-item:focus-visible {
  background: var(--ice-tint);
}
.menu-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--pearl);
  color: var(--slate);
}
.menu-icon .icon {
  width: 20px;
  height: 20px;
}
.menu-item strong {
  display: block;
  color: var(--midnight);
  font: 600 0.95rem / 1.3 var(--sans);
}
.menu-item small {
  display: block;
  color: var(--steel);
  font-size: 0.85rem;
  line-height: 1.4;
}
.menu-item small b {
  color: var(--slate);
  font-weight: 600;
}
.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--midnight);
}
.menu-toggle .icon {
  width: 20px;
  height: 20px;
}
.mobile-nav {
  padding: 4px 0 20px;
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  color: var(--midnight);
  font-weight: 500;
}
.mobile-nav a small {
  color: var(--steel);
  font-size: 0.85rem;
  font-weight: 400;
}
.mobile-nav .mobile-group {
  padding-top: 14px;
  color: var(--steel);
  font: 600 var(--fs-label) / 1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mobile-nav .btn {
  width: 100%;
  margin-top: 18px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(48px, 5.5vw, 80px) 0 clamp(16px, 3vw, 40px);
  text-align: center;
}
.hero::before {
  /* Architectural dot grid, fading out around the Stage. */
  content: '';
  position: absolute;
  inset: -72px 0 0;
  z-index: -2;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgb(74 92 106 / 0.26) 1px,
    transparent 1.3px
  );
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 62% 56% at 50% 64%, #000 18%, transparent 74%);
  mask-image: radial-gradient(ellipse 62% 56% at 50% 64%, #000 18%, transparent 74%);
  pointer-events: none;
}
.hero::after {
  /* Soft daylight pooling behind the Stage. */
  content: '';
  position: absolute;
  inset: 22% 8% 0;
  z-index: -1;
  background: radial-gradient(
    ellipse 50% 46% at 50% 62%,
    rgb(255 255 255 / 0.85),
    rgb(255 255 255 / 0) 72%
  );
  pointer-events: none;
}
.hero > .wrap {
  --hero-dot-peak: 0.95;
  position: relative;
}
.hero > .wrap::before,
.hero > .wrap::after {
  /* Blue side fields frame the copy and fade before reaching its center. */
  content: '';
  position: absolute;
  top: -32px;
  bottom: -96px;
  left: 50%;
  width: 100vw;
  z-index: -1;
  transform: translateX(-50%);
  background-image:
    radial-gradient(
      circle at 2.5px 2.5px,
      color-mix(in srgb, var(--ice) 45%, var(--slate)) 1.8px,
      transparent 2.3px
    ),
    radial-gradient(
      circle at 2.5px 2.5px,
      color-mix(in srgb, var(--ice) 55%, var(--slate)) 1.35px,
      transparent 1.8px
    );
  background-size:
    144px 120px,
    24px 24px;
  background-position:
    48px 24px,
    0 0;
  -webkit-mask-image: var(--hero-dot-mask);
  mask-image: var(--hero-dot-mask);
  opacity: var(--hero-dot-peak);
  pointer-events: none;
}
.hero > .wrap::before {
  --hero-dot-mask: radial-gradient(ellipse 30% 50% at 10% 50%, #000 18%, transparent 100%);
}
.hero > .wrap::after {
  --hero-dot-mask: radial-gradient(ellipse 30% 50% at 90% 50%, #000 18%, transparent 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .hero > .wrap::before,
  .hero > .wrap::after {
    /* A soft brightness wave travels over fixed dots, clipped to each side field. */
    --hero-dot-wave: repeating-linear-gradient(
      180deg,
      rgb(0 0 0 / 0.36) 0,
      #000 144px,
      rgb(0 0 0 / 0.36) 288px
    );
    -webkit-mask-image: var(--hero-dot-mask), var(--hero-dot-wave);
    mask-image: var(--hero-dot-mask), var(--hero-dot-wave);
    -webkit-mask-size:
      100% 100%,
      100% calc(100% + 288px);
    mask-size:
      100% 100%,
      100% calc(100% + 288px);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    animation: hero-dots-wave 5.4s linear infinite;
  }
  .hero > .wrap::after {
    animation-delay: -2.7s;
  }
}
@keyframes hero-dots-wave {
  from {
    -webkit-mask-position:
      0 0,
      0 -288px;
    mask-position:
      0 0,
      0 -288px;
  }
  to {
    -webkit-mask-position:
      0 0,
      0 0;
    mask-position:
      0 0,
      0 0;
  }
}
.hero .eyebrow {
  display: block;
  max-width: 40rem;
  margin-inline: auto;
  font: 500 0.875rem / 1.5 var(--sans);
  letter-spacing: 0.01em;
  text-transform: none;
  text-wrap: balance;
}
.hero .eyebrow::before,
.hero .eyebrow::after {
  content: none;
}
.hero-title {
  max-width: 13em;
  margin: 24px auto 0;
  font-size: clamp(2.5rem, 1.15rem + 4.5vw, 5rem);
  line-height: 1.05;
}
.hero-title em {
  padding-right: 0.04em;
}
.hero-lead {
  max-width: 50rem;
  margin: 28px auto 0;
  font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  text-wrap: balance;
}
@media (min-width: 761px) {
  .hero-lead > span {
    display: block;
  }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 32px;
}
.hero-actions .btn,
.hero-actions .link-arrow {
  min-height: 50px;
  font-size: 0.9375rem;
}
.hero-promise {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-wrap: balance;
}
.hero-promise strong {
  color: var(--ink);
  font: 600 0.9375rem / 1.4 var(--sans);
}
.hero-scene {
  position: relative;
  max-width: 1120px;
  margin: clamp(12px, 1.5vw, 24px) auto clamp(24px, 3vw, 40px);
}
.scene-motion {
  position: absolute;
  left: 0;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.6);
  color: var(--steel);
  font-size: 0.8rem;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.scene-motion:hover {
  background: var(--white);
  color: var(--midnight);
}
.scene-motion .icon {
  width: 14px;
  height: 14px;
}
.scene-motion .icon-play,
.scene-motion[aria-pressed='true'] .icon-pause {
  display: none;
}
.scene-motion[aria-pressed='true'] .icon-play {
  display: block;
}
.scene-captions {
  display: none;
}

[data-enter] {
  animation: enter 1000ms var(--ease) both;
  animation-delay: var(--d, 0ms);
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---------- Isometric Stage scene (protected component, restyled) ---------- */
.sg-platform {
  --sg-motion: paused;
  --sg-delay: 0ms;
}
.sg-platform-figure {
  margin: 0;
}
.sg-scene {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.sg-scene text {
  font-family: var(--sans);
}
.sg-base-tagline {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.6px;
}
.sg-module-label {
  fill: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.sg-builder-name {
  fill: var(--steel);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.sg-worker-side-label text {
  fill: var(--steel);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.sg-scene .sg-annotation-name {
  fill: var(--ink);
  font: 400 26px/1.2 var(--serif);
  letter-spacing: -0.4px;
}
.sg-annotation-title {
  fill: var(--slate);
  font: 500 14px/1.6 var(--sans);
}
.sg-annotation-caption {
  fill: var(--steel);
  font: 400 12.5px/1.6 var(--sans);
}
.sg-worker {
  color: var(--slate);
}
.sg-worker .sg-module-top,
.sg-worker .sg-worker-led,
.sg-worker .sg-socket {
  transition:
    stroke 600ms,
    opacity 600ms,
    stroke-width 600ms;
}
.sg-worker .sg-worker-led {
  opacity: 0.35;
}
.sg-worker.is-active .sg-module-top {
  stroke: var(--slate);
  stroke-width: 1.6;
}
.sg-worker.is-active .sg-worker-led {
  opacity: 1;
}
.sg-worker.is-active .sg-socket {
  stroke: var(--slate);
  stroke-opacity: 0.9;
  stroke-width: 2;
}
.sg-icon-back {
  fill: var(--ice);
  fill-opacity: 0.55;
}
.sg-ui-sheet {
  fill: #f6f7f8;
  stroke: #dce1e3;
  stroke-width: 1;
}
.sg-ui-line {
  stroke: #c9d0d3;
  stroke-width: 2;
  stroke-linecap: round;
}
.sg-ui-check,
.sg-ui-chart {
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sg-ui-route {
  stroke: currentColor;
  stroke-opacity: 0.4;
  stroke-width: 2;
}
.sg-ui-dot,
.sg-bar {
  fill: currentColor;
  fill-opacity: 0.6;
}
.sg-ui-reply {
  fill: currentColor;
  fill-opacity: 0.1;
}
.sg-chat-question {
  fill: #c5e3ef;
}
.sg-chat-answer,
.sg-chat-composer {
  fill: #fff;
  stroke: #bfd8e3;
  stroke-width: 0.7;
}
.sg-chat-text {
  fill: var(--navy);
  font-size: 6.2px;
  font-weight: 500;
}
.sg-chat-answer-title {
  font-weight: 600;
}
.sg-chat-source,
.sg-chat-placeholder {
  fill: var(--steel);
  font-size: 5.5px;
}
/* Systems beneath Stage: quiet by default, clearer while Stage is highlighted. They take no
   pointer input, so the Stage's hover drop can never move them out from under the cursor. */
.sg-systems {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 450ms ease;
}
.sg-platform.is-highlighting-stage .sg-systems {
  opacity: 0.95;
}
/* Each tile fades towards its bottom edge through gradient fills (cheap to repaint every
   frame of the orbit), not masks. */
.sg-system-top {
  fill: url(#sg-system-top-fill);
  stroke: url(#sg-system-top-edge);
  stroke-width: 0.8;
}
.sg-system-left {
  fill: #e8eced;
  fill-opacity: 0.3;
}
.sg-system-right {
  fill: #d6dcdf;
  fill-opacity: 0.3;
}
.sg-system-face {
  color: var(--steel);
}
.sg-system-face :is(image, use) {
  opacity: 0.55;
}
.sg-system-face use {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sg-system-socket {
  fill: #fff;
  stroke: var(--steel);
  stroke-opacity: 0.45;
}
.sg-system-cable {
  fill: none;
  stroke: var(--mist);
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
}
.sg-systems-label {
  fill: var(--steel);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
/* Entrance: CSS-only, so the hero never waits for JavaScript. */
.sg-platform .sg-foundation {
  animation: sg-foundation-arrive 1600ms cubic-bezier(0.18, 0.7, 0.2, 1) both;
}
.sg-platform .sg-worker-rise {
  animation: sg-performer-arrive 1500ms cubic-bezier(0.16, 0.8, 0.22, 1) both;
  animation-delay: var(--sg-delay);
}
.sg-platform .sg-socket,
.sg-platform .sg-uplink {
  animation: sg-detail-arrive 1400ms both;
  animation-delay: var(--sg-delay);
}
.sg-platform .sg-worker-shadow {
  animation: sg-shadow-arrive 1400ms both;
  animation-delay: var(--sg-delay);
}
.sg-worker-finance {
  --sg-delay: 700ms;
}
.sg-worker-operations {
  --sg-delay: 1100ms;
}
.sg-worker-support {
  --sg-delay: 1500ms;
}
.sg-worker-maestro {
  --sg-delay: 1900ms;
}
.sg-platform.is-enhanced .sg-flow path {
  stroke-dasharray: 6 170;
  animation: sg-data-flow 9s linear infinite;
  animation-play-state: var(--sg-motion);
}
.sg-platform.is-enhanced .sg-flow path:nth-child(2) {
  animation-direction: reverse;
  animation-duration: 12s;
}
.sg-platform.is-enhanced .sg-worker.is-active .sg-ui-chart,
.sg-platform.is-enhanced .sg-worker.is-active .sg-ui-check {
  stroke-dasharray: 160;
  animation: sg-work-complete 4.8s ease infinite;
  animation-play-state: var(--sg-motion);
}
.sg-platform.is-enhanced .sg-worker.is-active .sg-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: sg-chart-grow 4.8s ease infinite;
  animation-play-state: var(--sg-motion);
}
.sg-platform.is-enhanced .sg-worker.is-active .sg-worker-led,
.sg-platform.is-enhanced .sg-status-dot {
  animation: sg-working 2.4s ease infinite;
  animation-play-state: var(--sg-motion);
}
@keyframes sg-foundation-arrive {
  from {
    opacity: 0;
    transform: translateY(38px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sg-performer-arrive {
  from {
    opacity: 0;
    transform: translateY(66px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sg-detail-arrive {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes sg-shadow-arrive {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.13;
  }
}
@keyframes sg-data-flow {
  to {
    stroke-dashoffset: -704;
  }
}
@keyframes sg-work-complete {
  0%,
  10% {
    stroke-dashoffset: 160;
    opacity: 0.2;
  }
  55%,
  90% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.3;
  }
}
@keyframes sg-chart-grow {
  0%,
  10% {
    transform: scaleY(0.35);
  }
  60%,
  100% {
    transform: scaleY(1);
  }
}
@keyframes sg-working {
  50% {
    opacity: 0.35;
  }
}
/* Hover/focus emphasis: one solution steps forward, the other recedes. */
.sg-worker-lift {
  transition: transform 450ms var(--ease);
}
.sg-foundation-emphasis,
.sg-workers,
.sg-worker {
  transition:
    opacity 450ms ease,
    transform 450ms var(--ease);
}
.sg-worker * {
  pointer-events: none;
}
.sg-worker .sg-worker-hit,
.sg-worker .sg-scene-link {
  pointer-events: auto;
  cursor: pointer;
}
.sg-annotations,
.sg-ground-shadow {
  pointer-events: none;
}
/* Keep callouts hidden until the scroll renderer sets their initial state. */
html.js .sg-annotations {
  opacity: 0;
  visibility: hidden;
}
.sg-callout-link {
  pointer-events: auto;
  cursor: pointer;
}
.sg-stage-hit {
  pointer-events: fill;
  cursor: pointer;
}
.sg-platform.is-highlighting-performers .sg-worker:not(.sg-worker-maestro) .sg-worker-lift,
.sg-platform.is-highlighting-maestro .sg-worker-maestro .sg-worker-lift {
  transform: translateY(-40px);
}
.sg-platform.is-highlighting-stage .sg-foundation-emphasis {
  transform: translateY(30px);
}
.sg-platform.is-highlighting-performers .sg-foundation-emphasis,
.sg-platform.is-highlighting-maestro .sg-foundation-emphasis {
  opacity: 0.4;
}
.sg-platform.is-highlighting-stage .sg-workers {
  opacity: 0.3;
}
.sg-platform.is-highlighting-maestro .sg-worker:not(.sg-worker-maestro),
.sg-platform.is-highlighting-performers .sg-worker-maestro {
  opacity: 0.35;
}
.sg-callout-stage,
.sg-callout-maestro,
.sg-callout-performers {
  opacity: 1;
  transition: opacity 450ms ease;
}
.sg-platform.is-highlighting-performers .sg-callout-stage,
.sg-platform.is-highlighting-performers .sg-callout-maestro,
.sg-platform.is-highlighting-maestro .sg-callout-stage,
.sg-platform.is-highlighting-maestro .sg-callout-performers,
.sg-platform.is-highlighting-stage .sg-callout-performers,
.sg-platform.is-highlighting-stage .sg-callout-maestro {
  opacity: 0.35;
}
.sg-callout-line path {
  fill: none;
  stroke: var(--slate);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sg-callout-line circle {
  fill: var(--slate);
  stroke: var(--pearl);
  stroke-width: 3;
}
.sg-callout-stage.sg-callout-line path {
  stroke: var(--navy);
}
.sg-callout-stage.sg-callout-line circle {
  fill: var(--navy);
}
.sg-stage-logo,
.sg-performer-brand {
  pointer-events: none;
}
.sg-scene .sg-scene-link:focus-visible {
  outline: none;
}
.sg-scene-link:focus-visible :is(.sg-stage-hit, .sg-worker-hit, .sg-callout-hit) {
  stroke: var(--midnight);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.sg-platform.is-paused .sg-worker-rise,
.sg-platform.is-paused .sg-foundation {
  animation: none;
  opacity: 1;
}

/* ---------- Supported By (protected component: the index.html rotation, restyled) ---------- */
.supporters {
  padding: clamp(28px, 4vw, 44px) 0;
}
.supporters-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px 40px;
  padding: 16px 0;
  border-block: 1px solid var(--line-strong);
}
.supporters-heading {
  color: var(--muted);
  font: 600 var(--fs-label) / 1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.supporters-window {
  overflow: hidden;
  /* Logos glide in and out at the edges instead of being cut off. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.supporters-track {
  display: flex;
  width: 200%;
  animation: supporters-roll 24s linear infinite;
}
.supporters:hover .supporters-track,
.supporters:focus-within .supporters-track {
  animation-play-state: paused;
}
.supporters-group {
  display: flex;
  flex: 0 0 50%;
  align-items: center;
}
.supporter-logo {
  display: grid;
  flex: 0 0 33.333%;
  place-items: center;
  min-height: 84px;
  padding: 10px 24px;
  border-radius: 8px;
}
.supporter-logo:focus-visible {
  outline-offset: -3px;
}
.supporter-image {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.supporter-image.is-harvard {
  height: 34px;
}
.supporter-image.is-trust {
  height: 33px;
}
.supporter-image.is-medialab {
  height: 50px;
}
@keyframes supporters-roll {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections and heads ---------- */
#main > section + section {
  position: relative;
}
#main > section + section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100% - 2 * var(--gutter), var(--max));
  height: 1px;
  background: var(--line-strong);
  transform: translateX(-50%);
  pointer-events: none;
}
#main > .supporters::before,
#main > .supporters + section::before {
  content: none;
}
.section {
  padding: var(--section) 0;
}
.section--tight-top {
  padding-top: clamp(104px, 11vw, 168px);
}
.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: end;
  gap: 24px clamp(32px, 6vw, 96px);
}
.split-head .h2 {
  margin-top: 18px;
}
.split-head--two-line {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}
.split-head--two-line > :first-child {
  container-type: inline-size;
}
.split-head--two-line .h2 {
  font-size: min(var(--fs-h2), 8.4cqi);
}
.split-head--two-line .h2 > span,
.split-head--two-line .h2 > em {
  display: block;
  white-space: nowrap;
}
.split-head .lead {
  max-width: 34rem;
}
.split-head .head-note {
  margin-top: 16px;
  color: var(--ink);
  font-weight: 600;
}
.split-head .head-note .icon {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 6px;
}
.center-head {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.center-head .eyebrow {
  justify-content: center;
}
.center-head .h2 {
  margin-top: 18px;
}
.center-head .lead {
  max-width: 40rem;
  margin: 20px auto 0;
}
.demo-stage {
  margin-top: clamp(36px, 5vw, 64px);
}
@media (min-width: 981px) {
  /* Give the product screens and infrastructure panel the same outer edges. */
  .demo-stage,
  .infra-panel {
    width: 90%;
    margin-inline: auto;
  }
}
@media (min-width: 1320px) {
  /* Retain 90% of the original screen width, including its 40px side extensions. */
  .demo-stage,
  .infra-panel {
    width: calc((100% + 80px) * 0.9);
  }
}

/* ---------- Solution overview ---------- */
.solution-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(40px, 5vw, 64px);
}
.solution-grid::before {
  /* One platform: a single line runs through all three entry points. */
  content: '';
  position: absolute;
  top: 88px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line-strong) 12%,
    var(--line-strong) 88%,
    transparent
  );
}
.sol-item {
  position: relative;
  display: flex;
  flex-direction: column;
}
.sol-plate {
  position: relative;
  height: 176px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--white);
  box-shadow: var(--shadow-plate);
  overflow: hidden;
}
.sol-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--muted);
  font: 600 var(--fs-label) / 1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sol-item .h3 {
  margin-top: 10px;
}
.sol-value {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
}
.sol-item p:not(.sol-label):not(.sol-value) {
  margin-top: 8px;
  color: var(--text);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.sol-item .link-arrow {
  margin-top: auto;
  padding-top: 12px;
  align-self: flex-start;
  font-size: var(--fs-small);
}
.solution-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: clamp(36px, 4vw, 52px) auto 0;
  max-width: 46rem;
  color: var(--text);
  text-align: center;
}
.solution-note img {
  width: 22px;
  height: auto;
  flex: none;
}

/* Mini interface fragments (Superblocks lesson: show the product beside the message) */
.frag {
  position: relative;
  height: 100%;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--slate);
}
.frag-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--midnight);
  font-weight: 500;
  white-space: nowrap;
}
.frag-chip img,
.frag-chip .icon {
  width: 14px;
  height: 14px;
}
.frag-connect {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
}
.frag-connect .frag-sources {
  display: grid;
  gap: 8px;
}
.frag-connect svg.frag-lines {
  width: 100%;
  height: 100%;
}
.frag-lines path {
  fill: none;
  stroke: var(--mist);
  stroke-width: 1.2;
}
.frag-lines .pulse {
  stroke: var(--slate);
  stroke-width: 1.6;
  stroke-dasharray: 4 60;
  animation: frag-flow 3.6s linear infinite;
  animation-play-state: var(--frag-motion, paused);
}
@keyframes frag-flow {
  to {
    stroke-dashoffset: -128;
  }
}
.frag-node {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 12px 12px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--midnight);
  font-weight: 600;
  font-size: 12px;
}
.frag-node img {
  width: 26px;
}
.frag-engage {
  display: grid;
  align-content: center;
  gap: 10px;
  height: 100%;
}
.frag-bubble {
  justify-self: end;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 12px 12px 4px 12px;
  background: var(--ice-tint);
  color: var(--midnight);
}
.frag-answer {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.frag-answer i {
  display: block;
  height: 6px;
  border-radius: 6px;
  background: var(--silver);
}
.frag-answer i:nth-child(2) {
  width: 78%;
}
.frag-answer .frag-sources {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.frag-answer .frag-chip {
  padding: 4px 8px;
  font-size: 11.5px;
}
.frag-run {
  display: grid;
  align-content: center;
  gap: 7px;
  height: 100%;
}
.frag-run li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--midnight);
  font-weight: 500;
}
.frag-run li .icon {
  width: 14px;
  height: 14px;
  color: var(--slate);
}
.frag-run li.is-approval {
  background: var(--champagne);
  border-color: rgb(6 20 27 / 0.08);
}
.frag-run small {
  margin-left: auto;
  color: var(--steel);
  font-size: 11px;
}

/* ---------- Browser-based product demo environment (Wiki 10.11.1) ---------- */
.app-window {
  --chrome: 42px;
  position: relative;
  border-radius: 20px;
  background: var(--navy);
  padding: 0 6px 6px;
  box-shadow: var(--shadow-window);
}
.app-chrome {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--chrome);
  padding: 0 12px;
}
.app-dots {
  display: flex;
  gap: 7px;
}
.app-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(155 168 171 / 0.38);
}
.app-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  margin-top: 12px;
  padding: 0 16px 0 12px;
  border-radius: 9px 9px 0 0;
  background: var(--slate);
  color: var(--silver);
  font-size: 12.5px;
  font-weight: 500;
}
.app-tab img {
  width: 15px;
  height: auto;
}
.app-shell {
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
}
.app-topbar {
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 14px;
  height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}
.app-mark {
  width: 24px;
  height: auto;
}
.app-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--steel);
  font-size: 0.875rem;
}
.app-crumbs strong {
  color: var(--midnight);
  font-weight: 600;
}
.app-crumbs .icon {
  width: 14px;
  height: 14px;
  color: var(--mist);
}
.app-context {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--steel);
  font-size: 0.85rem;
  white-space: nowrap;
}
.app-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--silver);
  font-size: 0.8rem;
  font-weight: 600;
}
.app-body {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  min-height: 420px;
}
.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 10px;
  border-right: 1px solid var(--line);
  background: #f7f8f9;
}
.app-side-label {
  padding: 6px 10px 8px;
  color: var(--steel);
  font: 600 10.5px / 1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.app-side-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.app-side-item .icon {
  width: 18px;
  height: 18px;
  color: var(--steel);
}
.app-side-item:hover {
  background: var(--silver);
  color: var(--midnight);
}
.app-side-item.is-active,
.app-side-item[aria-current='page'],
.app-side-item[aria-pressed='true'] {
  background: var(--ice-tint);
  color: var(--midnight);
  font-weight: 600;
}
.app-side-item.is-active .icon,
.app-side-item[aria-current='page'] .icon,
.app-side-item[aria-pressed='true'] .icon {
  color: var(--midnight);
}
.app-side-item.is-sub {
  min-height: 36px;
  margin-left: 18px;
  font-size: 0.86rem;
}
.app-side-foot {
  margin-top: auto;
  padding: 12px 10px 2px;
  color: var(--steel);
  font-size: 0.78rem;
  line-height: 1.45;
}
.app-canvas {
  position: relative;
  min-width: 0;
  padding: clamp(18px, 2.6vw, 34px);
  background: var(--workspace);
}
.demo-replay {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--steel);
  transition:
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    transform var(--t-mid) var(--ease);
}
.demo-replay .icon {
  width: 15px;
  height: 15px;
}
.demo-replay:hover {
  color: var(--midnight);
  border-color: var(--line-strong);
  transform: rotate(-30deg);
}
.demo-flag {
  color: var(--steel);
  font-size: 0.78rem;
}

/* ---------- Stage system map (protected component, ported natively) ---------- */
.stage-map {
  --sm-gap: clamp(22px, 2.4vw, 32px);
  position: relative;
  isolation: isolate;
  font-size: 0.8rem;
}
.sm-streams {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.sm-streams .sm-path {
  fill: none;
  stroke: var(--mist);
  stroke-width: 1.1;
  stroke-opacity: 0.5;
}
.sm-streams .sm-packet {
  fill: none;
  stroke: var(--slate);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 5 95;
  stroke-opacity: 0.55;
  animation: sm-flow var(--sm-dur, 3s) linear infinite;
  animation-play-state: var(--sm-motion, paused);
}
.sm-streams .sm-path.is-up + .sm-packet {
  animation-direction: reverse;
}
@keyframes sm-flow {
  from {
    stroke-dashoffset: 100;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.sm-output {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  gap: 12px;
  width: min(84%, 820px);
  margin: 0 auto 48px;
}
.sm-output a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--midnight);
  font: 400 0.95rem / 1 var(--serif);
  transition: border-color var(--t-fast) var(--ease);
}
.sm-output a:hover {
  border-color: var(--line-strong);
}
.sm-output img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 26px;
  object-fit: contain;
}
.sm-stage {
  position: relative;
  width: min(84%, 820px);
  margin-inline: auto;
  padding: 14px clamp(16px, 2vw, 24px) 12px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--white);
  box-shadow:
    0 1px 2px rgb(6 20 27 / 0.04),
    0 16px 36px -26px rgb(6 20 27 / 0.22);
}
.sm-live {
  position: absolute;
  top: 14px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--ice-tint);
  color: var(--midnight);
  font-size: 0.7rem;
  font-weight: 600;
}
.sm-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--slate);
  box-shadow: 0 0 0 2px rgb(37 55 69 / 0.1);
}
.sm-stage-head {
  display: flex;
  justify-content: center;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}
.sm-stage-head img {
  width: auto;
  height: 26px;
}
.sm-caps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(18px, 3vw, 40px);
  padding-top: 12px;
}
.sm-caps h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--midnight);
  font: 400 1rem / 1.2 var(--serif);
}
.sm-caps h3 i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--ice-tint);
  color: var(--slate);
}
.sm-caps h3 .icon {
  width: 16px;
  height: 16px;
}
.sm-action {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 34px;
  padding: 4px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--slate);
  text-align: left;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.sm-action .icon {
  width: 17px;
  height: 17px;
  color: var(--steel);
}
.sm-action .icon:last-child {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: var(--mist);
  transition: transform var(--t-fast) var(--ease);
}
.sm-action:hover {
  background: var(--ice-tint);
  color: var(--midnight);
  border-radius: 10px;
}
.sm-action:hover .icon:last-child {
  transform: translateX(2px);
  color: var(--slate);
}
.sm-gates {
  display: grid;
  grid-template-columns: 0.82fr 1fr 1fr;
  gap: var(--sm-gap);
  margin: 52px 0 28px;
}
.sm-gate {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}
.sm-gate i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel);
}
.sm-gate.is-connector {
  border-color: var(--slate);
  background: var(--navy);
  color: var(--silver);
}
.sm-gate.is-connector i {
  background: var(--ice);
}
.sm-live i,
.sm-gate i {
  position: relative;
  flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .sm-live i,
  .sm-gate i {
    animation: sm-dot-pulse 2.6s ease-in-out infinite;
    animation-play-state: var(--sm-motion, paused);
  }
  .sm-live i::after,
  .sm-gate i::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    pointer-events: none;
    animation: sm-dot-halo 2.6s ease-out infinite;
    animation-play-state: var(--sm-motion, paused);
  }
}
@keyframes sm-dot-pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  35% {
    transform: scale(1.1);
    opacity: 1;
  }
}
@keyframes sm-dot-halo {
  0% {
    transform: scale(1);
    opacity: 0.35;
  }
  70%,
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}
.sm-sources {
  display: grid;
  grid-template-columns: 0.82fr 1fr 1fr;
  gap: var(--sm-gap);
  align-items: start;
}
.sm-col-head {
  min-height: 62px;
  margin-bottom: 16px;
  /* Keep the group labels clear of the bundled connector lines. */
  background: var(--white);
}
.sm-col-head h3 {
  color: var(--midnight);
  font: 400 1.05rem / 1.2 var(--serif);
}
.sm-col-head p {
  margin-top: 3px;
  color: var(--steel);
  font-size: 0.78rem;
}
.sm-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.sm-card {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  /* Reserve two title lines so every system row aligns across the columns. */
  height: 3.75rem;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-align: left;
  transition:
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
button.sm-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 18px -12px rgb(6 20 27 / 0.35);
  transform: translateY(-1px);
}
.sm-card--generic {
  grid-column: 1 / -1;
  border-style: dashed;
}
.sm-logo {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
}
.sm-logo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.sm-logo b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--silver);
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 700;
}
.sm-logo .icon {
  width: 20px;
  height: 20px;
  color: var(--slate);
}
.sm-card-text {
  display: grid;
  min-width: 0;
}
.sm-card-text b {
  overflow: hidden;
  color: var(--midnight);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
}
.sm-card-text > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--steel);
  font-size: 0.7rem;
  line-height: 1.3;
}
.sm-card-text > span::before {
  content: '';
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--slate);
  opacity: 0.7;
}
.sm-content {
  margin-top: 22px;
}
.sm-content > h4,
.sm-content > p {
  /* Mask the streams behind the labels while keeping the tile connections visible. */
  background: var(--white);
}
.sm-content h4 {
  color: var(--midnight);
  font: 600 0.8rem / 1.3 var(--sans);
}
.sm-content p {
  color: var(--steel);
  font-size: 0.74rem;
}
.sm-batches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.sm-batch {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 12px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-align: center;
}
.sm-batch .type {
  padding: 3px 6px;
  border-radius: 5px;
  background: var(--navy);
  color: var(--silver);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.sm-batch span {
  color: var(--steel);
  font-size: 0.72rem;
}
.sm-batch strong {
  color: var(--midnight);
  font: 400 1.15rem / 1.1 var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
}
.sm-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: min(78vh, 720px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--slate);
  box-shadow: var(--shadow-pop);
}
.sm-dialog::backdrop {
  background: rgb(6 20 27 / 0.42);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.sm-dialog-inner {
  padding: 26px 26px 24px;
}
.sm-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--steel);
}
.sm-dialog-close:hover {
  background: var(--silver);
  color: var(--midnight);
}
.sm-dialog .kicker {
  color: var(--steel);
  font: 600 var(--fs-label) / 1.2 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sm-dialog h3 {
  margin-top: 8px;
  padding-right: 32px;
  color: var(--midnight);
  font: 400 1.6rem / 1.15 var(--serif);
}
.sm-dialog .intro {
  margin-top: 8px;
  color: var(--slate);
}
.sm-rows {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.sm-rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.sm-rows li b {
  color: var(--midnight);
  font-weight: 600;
}
.sm-rows li span {
  color: var(--slate);
  font-size: 0.86rem;
}
.sm-rows li em {
  grid-row: span 2;
  align-self: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--ice-tint);
  color: var(--midnight);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}
.sm-chain {
  display: grid;
  gap: 0;
  margin-top: 18px;
}
.sm-chain li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding-bottom: 14px;
}
.sm-chain li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 30px;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}
.sm-chain li:last-child::before {
  display: none;
}
.sm-chain .node {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ice-tint);
  color: var(--slate);
}
.sm-chain .node .icon {
  width: 16px;
  height: 16px;
}
.sm-chain b {
  display: block;
  color: var(--midnight);
}
.sm-chain span {
  color: var(--steel);
  font-size: 0.84rem;
}
.sm-dialog .foot {
  margin-top: 16px;
  color: var(--steel);
  font-size: 0.8rem;
}

/* ---------- Maestro chat (protected arrangement, restyled) ---------- */
.maestro-views {
  position: relative;
}
.conversation-demo {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--workspace);
  overflow: hidden;
}
.conversation-head {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.maestro-wordmark {
  width: clamp(170px, 22vw, 230px);
  height: auto;
}
.maestro-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 16px -10px rgb(6 20 27 / 0.4);
}
.maestro-orb.is-small {
  width: 36px;
  height: 36px;
}
.maestro-loader-ring,
.maestro-loader-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.maestro-orb > img {
  position: relative;
  width: 44%;
  height: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .frag-connect .frag-node > img,
  .maestro-orb > img {
    animation: spin 5s linear infinite;
  }
  .frag-connect .frag-node > img {
    animation-play-state: var(--frag-motion, running);
  }
}
.conversation-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* Reserve the finished answer's height so the walkthrough never shifts the page. */
  min-height: 384px;
  padding: 22px;
}
.conversation-user {
  align-self: flex-end;
  max-width: 76%;
  padding: 11px 16px;
  border: 1px solid rgb(6 20 27 / 0.06);
  border-radius: 16px 16px 4px 16px;
  background: var(--ice-tint);
  color: var(--midnight);
  font-size: 0.97rem;
  line-height: 1.5;
}
.source-preview {
  display: grid;
  gap: 8px;
  max-width: 88%;
}
.source-preview[hidden] {
  display: none;
}
.source-preview-label {
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
#source-preview-rows {
  display: grid;
  gap: 8px;
}
.evidence-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  animation: rise-in 420ms var(--ease) both;
}
.evidence-row[hidden] {
  display: none;
}
.evidence-row img,
.evidence-icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  color: var(--slate);
}
.evidence-icon .icon {
  width: 18px;
  height: 18px;
}
.evidence-row strong {
  display: block;
  color: var(--midnight);
  font-size: 0.8rem;
  font-weight: 600;
}
.evidence-row p {
  color: var(--slate);
  font-size: 0.86rem;
  line-height: 1.45;
}
.conversation-reply {
  max-width: 88%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 26px -22px rgb(6 20 27 / 0.45);
  animation: rise-in 480ms var(--ease) both;
}
.conversation-reply[hidden] {
  display: none;
}
.speaker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.speaker img {
  width: 14px;
  height: auto;
}
.conversation-reply p {
  color: var(--midnight);
  font-size: 0.98rem;
  line-height: 1.65;
}
.answer-sources {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.source-intro {
  display: block;
  margin-bottom: 8px;
  color: var(--steel);
  font-size: 0.8rem;
}
.source-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.source-pills button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  color: var(--midnight);
  font-size: 0.84rem;
  font-weight: 500;
  transition:
    background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}
.source-pills button img,
.source-pills button .icon {
  width: 15px;
  height: 15px;
}
.source-pills button > span:last-child {
  color: var(--steel);
}
.source-pills button:hover {
  background: var(--ice-tint);
}
.source-pills button[aria-expanded='true'] {
  border-color: var(--slate);
  background: var(--ice-tint);
}
.source-note {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f6f7f8;
  color: var(--slate);
  font-size: 0.86rem;
  animation: rise-in 320ms var(--ease) both;
}
.source-note[hidden] {
  display: none;
}
.answer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.answer-actions[hidden] {
  display: none;
}
.answer-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--midnight);
  font-size: 0.84rem;
  font-weight: 600;
  transition: background-color var(--t-fast) var(--ease);
}
.answer-action:hover {
  background: var(--ice-tint);
}
.answer-action .icon {
  width: 16px;
  height: 16px;
}
.conversation-thinking {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--steel);
  font-size: 0.86rem;
}
.conversation-thinking[hidden] {
  display: none;
}
.thinking-dots {
  display: inline-flex;
  gap: 4px;
}
.thinking-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--slate);
  animation: thinking 1.1s ease-in-out infinite;
}
.thinking-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.thinking-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes thinking {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.conversation-footer {
  display: grid;
  gap: 12px;
  padding: 16px 22px 14px;
  border-top: 1px solid var(--line);
}
.suggested-questions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.suggested-questions > span {
  margin-right: 4px;
  color: var(--steel);
  font-size: 0.8rem;
}
.suggested-questions button,
.builder-examples button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--slate);
  font-size: 0.84rem;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}
.suggested-questions button:hover,
.builder-examples button:hover,
.suggested-questions button[aria-pressed='true'],
.builder-examples button[aria-pressed='true'] {
  border-color: var(--line-strong);
  background: var(--ice-tint);
  color: var(--midnight);
}
.conversation-composer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 5px 5px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--white);
  transition:
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.conversation-composer:focus-within {
  border-color: var(--slate);
  box-shadow: 0 0 0 3px rgb(166 221 242 / 0.6);
}
.conversation-composer input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--midnight);
  font-size: 0.95rem;
}
.conversation-composer input::placeholder {
  color: var(--steel);
}
.send-message {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 0;
  border-radius: 10px;
  background: var(--midnight);
  color: var(--white);
  transition: background-color var(--t-fast) var(--ease);
}
.send-message:hover {
  background: var(--navy);
}
.send-message .icon {
  width: 18px;
  height: 18px;
}
.conversation-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--steel);
  font-size: 0.8rem;
}
.conversation-options > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: auto;
}
.conversation-options > span .icon {
  width: 14px;
  height: 14px;
}
.conversation-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.conversation-options select,
.import-toolbar select {
  min-height: 34px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5c6a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 8px center / 14px;
  color: var(--midnight);
  font-size: 0.82rem;
  appearance: none;
}

/* ---------- Maestro dashboard view ---------- */
.dash {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
.dash[hidden],
.conversation-demo[hidden] {
  display: none;
}
.dash-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.dash-kicker {
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 600;
}
.dash-head h3 {
  margin-top: 4px;
  color: var(--midnight);
  font: 400 1.7rem / 1.15 var(--serif);
}
.dash-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dash-scope span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--slate);
  font-size: 0.78rem;
}
.dash-scope img {
  width: 14px;
  height: 14px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.kpi {
  background: var(--white);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.kpi span {
  color: var(--steel);
  font-size: 0.8rem;
}
.kpi strong {
  display: block;
  margin-top: 2px;
  color: var(--midnight);
  font: 400 2.1rem / 1.1 var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
}
.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 18px;
}
.dash-card {
  background: var(--white);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.dash-card h4 {
  margin-bottom: 12px;
  color: var(--midnight);
  font-size: 0.86rem;
  font-weight: 600;
}
.bar-rows {
  display: grid;
  gap: 12px;
}
.bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  font-size: 0.82rem;
}
.bar-row span {
  color: var(--slate);
}
.bar-row b {
  color: var(--midnight);
  font-variant-numeric: tabular-nums;
}
.bar-track {
  grid-column: 1 / -1;
  height: 10px;
  border-radius: 6px;
  background: var(--silver);
  overflow: hidden;
}
.bar-fill {
  display: block;
  width: var(--v);
  height: 100%;
  border-radius: 6px;
  background: var(--navy);
  transform-origin: left;
  transition: transform 900ms var(--ease);
}
.dash.is-building .bar-fill {
  transform: scaleX(0);
}
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.dash-table th {
  padding: 0 8px 8px 0;
  color: var(--steel);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}
.dash-table td {
  padding: 9px 8px 9px 0;
  border-top: 1px solid var(--line);
  color: var(--slate);
  vertical-align: top;
}
.dash-table td:first-child {
  color: var(--midnight);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.status-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--silver);
  color: var(--midnight);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-pill.is-approval {
  background: var(--champagne);
}
.status-pill.is-done {
  background: var(--ice-tint);
}
.dash-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--steel);
  font-size: 0.8rem;
}
.dash-foot button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--midnight);
  font-weight: 600;
}
.dash-foot button:hover {
  background: var(--ice-tint);
}
.dash-foot .icon {
  width: 15px;
  height: 15px;
}
.dash .kpi,
.dash .dash-card {
  transition:
    opacity var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
}
.dash.is-building .kpi,
.dash.is-building .dash-card {
  opacity: 0;
  transform: translateY(8px);
}

/* ---------- Performers: Build here and Bring yours ---------- */
.paths {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(72px, 5.5vw, 88px) minmax(0, 1fr);
  gap: 0;
}
.path-divider {
  position: relative;
  align-self: stretch;
  display: flex;
  justify-content: center;
  padding-top: 92px;
  overflow: hidden;
}
.path-divider::before {
  content: '';
  position: absolute;
  inset: 0 auto;
  width: 1px;
  background: linear-gradient(transparent, #b7cbd6 18%, #9fb9c8 50%, #b7cbd6 82%, transparent);
}
@media (prefers-reduced-motion: no-preference) and (min-width: 981px) {
  .path-divider.is-in::after {
    content: '';
    position: absolute;
    top: 0;
    width: 2px;
    height: 80px;
    background: linear-gradient(transparent, #78b7dc, transparent);
    opacity: 0;
    animation: path-divider-glint 2.2s ease-in-out 0.4s both;
  }
}
@keyframes path-divider-glint {
  0% {
    top: 0;
    opacity: 0;
  }
  20%,
  70% {
    opacity: 0.85;
  }
  100% {
    top: calc(100% - 80px);
    opacity: 0;
  }
}
.path {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.path-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.path-head h3 {
  color: var(--midnight);
  font: 400 1.7rem / 1.1 var(--serif);
  letter-spacing: -0.01em;
}
.path-head p {
  margin-top: 4px;
  color: var(--slate);
  font-size: 0.92rem;
}
.path-frame {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 486px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--workspace);
  overflow: hidden;
}
.path-bar {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-size: 0.82rem;
}
.path-bar strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--midnight);
  font-weight: 600;
}
.path-bar strong img {
  width: 18px;
  height: auto;
}
.path-bar .bar-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.builder-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}
.builder-messages .conversation-user {
  max-width: 88%;
}
.builder-messages .conversation-reply {
  max-width: 100%;
}
.build-steps {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.build-steps[hidden] {
  display: none;
}
.build-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--steel);
  font-size: 0.86rem;
  transition: color var(--t-mid) var(--ease);
}
.build-steps li::before {
  content: '';
  width: 14px;
  height: 14px;
  flex: none;
  border: 1.5px solid var(--mist);
  border-radius: 50%;
  transition:
    background-color var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease);
}
.build-steps li[data-state='running'] {
  color: var(--midnight);
}
.build-steps li[data-state='running']::before {
  border-color: var(--slate);
  border-right-color: transparent;
  animation: spin 0.8s linear infinite;
}
.build-steps li[data-state='done'] {
  color: var(--midnight);
}
.build-steps li[data-state='done']::before {
  border-color: var(--slate);
  background: var(--slate)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E")
    center / 10px no-repeat;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.created-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ice-tint);
}
.created-result[hidden],
.completion-example[hidden] {
  display: none;
}
.created-result > .icon {
  width: 22px;
  height: 22px;
  color: var(--slate);
}
.created-result > div {
  flex: 1 1 150px;
  min-width: 0;
}
.created-result strong {
  display: block;
  color: var(--midnight);
  font-size: 0.92rem;
}
.created-result div span {
  color: var(--steel);
  font-size: 0.8rem;
}
.ready-label {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.completion-example {
  margin-top: 12px;
}
.completion-label {
  display: block;
  margin-bottom: 8px;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 600;
}
.completion-example ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.completion-example li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--midnight);
  font-size: 0.78rem;
  font-weight: 600;
  animation: rise-in 360ms var(--ease) both;
}
.completion-example li .icon {
  width: 13px;
  height: 13px;
  color: var(--slate);
}
.completion-example li.is-approval {
  background: var(--champagne);
}
.builder-composer-area {
  display: grid;
  gap: 10px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}
.builder-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.composer-context {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--steel);
  font-size: 0.78rem;
}
.composer-context .icon {
  width: 14px;
  height: 14px;
}
.import-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.import-toolbar label,
.builder-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--slate);
}
.builder-dropdown {
  position: relative;
  z-index: 5;
  font-size: 0.82rem;
}
.builder-dropdown summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--white);
  color: var(--midnight);
  cursor: pointer;
  list-style: none;
}
.builder-dropdown summary::-webkit-details-marker {
  display: none;
}
.builder-dropdown summary > .icon {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
}
.builder-dropdown img {
  flex: none;
  object-fit: contain;
}
.builder-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  width: max-content;
  padding: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 28px rgb(6 20 27 / 12%);
}
.builder-options button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--midnight);
  text-align: left;
  white-space: nowrap;
}
.builder-options button:hover,
.builder-options button[aria-pressed='true'] {
  background: var(--ice-tint);
}
@media (pointer: coarse) {
  .builder-dropdown summary,
  .builder-options button {
    min-height: 44px;
  }
}
.import-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--silver);
  color: var(--midnight);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color var(--t-mid) var(--ease);
}
.import-state::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel);
}
.import-story[data-phase='running'] .import-state {
  background: var(--navy);
  color: var(--silver);
}
.import-story[data-phase='running'] .import-state::before {
  background: var(--ice);
}
.import-journey {
  display: grid;
  gap: 2px;
  padding: 14px 16px 16px;
}
.ij-step {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 14px;
  transition: opacity var(--t-mid) var(--ease);
}
.ij-step::before {
  content: '';
  position: absolute;
  left: 14.5px;
  top: 30px;
  bottom: 2px;
  width: 1px;
  background: var(--line-strong);
}
.ij-step:last-child::before {
  display: none;
}
.ij-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
  color: var(--steel);
  font-size: 0.74rem;
  font-weight: 700;
  transition:
    background-color var(--t-mid) var(--ease),
    color var(--t-mid) var(--ease),
    border-color var(--t-mid) var(--ease);
}
.ij-step.is-done .ij-num {
  border-color: var(--slate);
  background: var(--slate);
  color: var(--white);
}
.ij-step.is-current .ij-num {
  border-color: var(--slate);
  color: var(--midnight);
}
.ij-step.is-pending {
  opacity: 0.45;
}
.ij-step strong {
  display: block;
  padding-top: 5px;
  color: var(--midnight);
  font-size: 0.88rem;
}
.external-prompt {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--midnight);
  color: var(--silver);
  font:
    400 0.8rem / 1.45 ui-monospace,
    'SFMono-Regular',
    Menlo,
    monospace;
}
.external-prompt b {
  color: var(--ice);
}
.zip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.zip-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 38px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--silver);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.zip b {
  display: block;
  color: var(--midnight);
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}
.zip span {
  color: var(--steel);
  font-size: 0.76rem;
}
.zip-check {
  margin-left: auto;
  color: var(--slate);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease);
}
.zip-check .icon {
  width: 18px;
  height: 18px;
}
.ij-step.is-done .zip-check {
  opacity: 1;
}
.import-review {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}
.import-review li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--steel);
  font-size: 0.76rem;
  transition:
    color var(--t-mid) var(--ease),
    background-color var(--t-mid) var(--ease);
}
.import-review li .icon {
  width: 13px;
  height: 13px;
  opacity: 0.35;
}
.import-review li.is-done {
  background: var(--ice-tint);
  color: var(--midnight);
  font-weight: 600;
}
.import-review li.is-done .icon {
  opacity: 1;
  color: var(--slate);
}
.live-app {
  position: relative;
  margin-top: 6px;
  height: 128px;
}
.live-app > div {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: opacity var(--t-slow) var(--ease);
}
.live-generic {
  border: 1px solid #c9c9c9;
  border-radius: 4px;
  background: #fafafa;
  color: #444;
  font:
    12px/1.4 Arial,
    Helvetica,
    sans-serif;
}
.live-generic .lg-top {
  padding: 6px 8px;
  border-bottom: 1px solid #ddd;
  background: #ececec;
  font-weight: 700;
}
.live-generic .lg-body {
  display: grid;
  gap: 4px;
  padding: 8px;
}
.live-generic .lg-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 6px;
  border: 1px solid #ddd;
  background: #fff;
}
.live-company {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  opacity: 0;
}
.live-app[data-design='company'] .live-company {
  opacity: 1;
}
.live-app[data-design='company'] .live-generic {
  opacity: 0;
}
.lc-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: var(--navy);
  color: var(--silver);
  font-size: 0.72rem;
  font-weight: 600;
}
.lc-mono {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--champagne);
  color: var(--midnight);
  font: italic 700 0.72rem / 1 var(--serif);
}
.lc-body {
  padding: 9px 10px;
}
.lc-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lc-title b {
  color: var(--midnight);
  font: 400 1.05rem / 1.2 var(--serif);
}
.lc-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--midnight);
  font-size: 0.66rem;
  font-weight: 700;
}
.lc-live::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--midnight);
}
.lc-row {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--midnight);
  font-size: 0.74rem;
  font-weight: 600;
}
.lc-row span:last-child {
  color: var(--slate);
  font-weight: 500;
}
.lc-note {
  margin-top: 6px;
  color: var(--steel);
  font-size: 0.7rem;
}

/* ---------- Value cards: concrete fragment, short title, one sentence ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}
.values--spaced {
  margin-top: clamp(40px, 5vw, 64px);
}
.value-plate {
  height: 142px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--white);
  box-shadow: var(--shadow-plate);
  overflow: hidden;
}
.value h3 {
  margin-top: 20px;
  color: var(--ink);
  font: 600 1.06rem / 1.35 var(--sans);
}
.value p {
  margin-top: 6px;
  color: var(--text);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.vf {
  display: grid;
  align-content: center;
  gap: 8px;
  height: 100%;
  font-size: 12px;
  color: var(--slate);
}
.vf-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.vf-row b {
  color: var(--midnight);
  font-weight: 600;
}
.vf-row .tag {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--ice-tint);
  color: var(--midnight);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.vf-row .tag.is-dark {
  background: var(--navy);
  color: var(--silver);
}
.vf-row .tag.is-warm {
  background: var(--champagne);
}
.vf-row .icon {
  width: 15px;
  height: 15px;
  color: var(--slate);
}
.vf-row img {
  width: 15px;
  height: 15px;
}
.vf-doc {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.vf-doc b {
  display: block;
  color: var(--midnight);
  font: 400 0.98rem / 1.2 var(--serif);
}
.vf-doc span {
  display: block;
  margin-top: 4px;
  color: var(--slate);
}
.vf-doc i {
  display: block;
  height: 5px;
  margin-top: 7px;
  border-radius: 4px;
  background: var(--silver);
}
.vf-doc i + i {
  width: 70%;
}
.vf-design {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.vf-design .before,
.vf-design .after {
  height: 96px;
  overflow: hidden;
  border-radius: 8px;
}
.vf-design .before {
  border: 1px solid #cfcfcf;
  background: #f4f4f4;
  font:
    10px/1.3 Arial,
    sans-serif;
  color: #555;
}
.vf-design .before b {
  display: block;
  padding: 5px 6px;
  border-bottom: 1px solid #ddd;
  background: #e8e8e8;
}
.vf-design .before i,
.vf-design .after i {
  display: block;
  height: 6px;
  margin: 7px 6px 0;
  border-radius: 3px;
  background: #dcdcdc;
}
.vf-design .after {
  border: 1px solid var(--line);
  background: var(--white);
}
.vf-design .after b {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 6px;
  background: var(--navy);
  color: var(--silver);
  font-size: 10px;
}
.vf-design .after b span {
  display: grid;
  place-items: center;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--champagne);
  color: var(--midnight);
  font: italic 700 8px/1 var(--serif);
}
.vf-design .after i {
  background: var(--silver);
}
.vf-design .after i:first-of-type {
  width: 55%;
  height: 8px;
  background: var(--slate);
  opacity: 0.85;
}
.vf-design .arrow {
  color: var(--steel);
}
.vf-design .arrow .icon {
  width: 18px;
  height: 18px;
}
.vf-schedule {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vf-schedule span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--midnight);
  font-size: 11px;
  font-weight: 500;
}
.vf-schedule .icon {
  width: 12px;
  height: 12px;
}
.vf-models {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.vf-models span {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--slate);
  font-size: 11px;
}
.vf-models span.is-on {
  border-color: transparent;
  background: var(--ice-tint);
  color: var(--midnight);
  font-weight: 600;
}
.vf-bars {
  display: grid;
  gap: 8px;
  padding: 2px 4px 0;
}
.vf-bar {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 10px;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: var(--slate);
}
.vf-bar i {
  position: relative;
  height: 7px;
  overflow: hidden;
  border-radius: 5px;
  background: var(--silver);
}
.vf-bar i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  border-radius: 5px;
  background: var(--navy);
}
.vf-bar b {
  color: var(--midnight);
  font-weight: 600;
  text-align: right;
}

/* ---------- Infrastructure: the midnight ownership moment ---------- */
.infra {
  padding: clamp(48px, 6vw, 104px) 0 var(--section);
}
.infra-panel {
  --focus: var(--ice);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 8vw, 112px) clamp(20px, 6vw, 88px) clamp(48px, 6vw, 88px);
  border-radius: var(--r-xl);
  background: var(--midnight);
  color: var(--mist);
}
.infra-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 42% at 50% -6%, rgb(37 55 69 / 0.95), transparent 70%),
    radial-gradient(ellipse 46% 40% at 96% 100%, rgb(17 33 45 / 0.95), transparent 72%),
    radial-gradient(ellipse 40% 30% at 4% 70%, rgb(17 33 45 / 0.8), transparent 70%);
}
.infra-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgb(229 233 235 / 0.07) 1px,
    transparent 1.3px
  );
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%);
  mask-image: linear-gradient(180deg, #000, transparent 60%);
}
.infra-statement {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}
.infra-statement .was {
  color: var(--mist);
  font: 400 clamp(1.5rem, 1.05rem + 1.6vw, 2.4rem) / 1.15 var(--serif);
}
.infra-statement .is {
  color: var(--silver);
  font: 400 clamp(2.15rem, 1.2rem + 3.6vw, 4.4rem) / 1.05 var(--serif);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.infra-statement .is em {
  color: var(--champagne);
}
.infra-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(
    180deg,
    rgb(229 233 235 / 0),
    rgb(229 233 235 / 0.5),
    rgb(229 233 235 / 0)
  );
}
.infra-intro {
  max-width: 760px;
  margin: clamp(56px, 7vw, 96px) auto 0;
  text-align: center;
}
.infra-intro .eyebrow {
  justify-content: center;
  color: var(--mist);
}
.infra .h2,
.infra .h3 {
  color: var(--silver);
}
.infra .h2 em {
  color: var(--ice);
}
.infra-intro .h2 {
  margin-top: 18px;
}
.infra-intro .lead {
  margin-top: 20px;
  color: var(--mist);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(48px, 6vw, 80px);
}
.pillar {
  padding-top: 22px;
  border-top: 1px solid var(--line-dark-strong);
}
.pillar .icon {
  width: 22px;
  height: 22px;
  color: var(--ice);
}
.pillar h3 {
  margin-top: 14px;
  color: var(--silver);
  font: 400 1.55rem / 1.2 var(--serif);
}
.pillar p {
  margin-top: 8px;
  color: var(--mist);
  font-size: var(--fs-small);
  line-height: 1.6;
}
.infra-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 64px);
}
.env {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-l);
  background: rgb(17 33 45 / 0.7);
}
.env h3,
.included h3 {
  color: var(--silver);
  font: 400 1.35rem / 1.2 var(--serif);
}
.env-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.env-option {
  padding: 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-m);
  background: rgb(37 55 69 / 0.45);
}
.env-option .icon {
  width: 20px;
  height: 20px;
  color: var(--ice);
}
.env-option b {
  display: block;
  margin-top: 10px;
  color: var(--silver);
  font-weight: 600;
}
.env-option span {
  display: block;
  margin-top: 3px;
  color: var(--mist);
  font-size: 0.86rem;
  line-height: 1.5;
}
.env-facts {
  margin-top: 14px;
}
.env-facts li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line-dark);
}
.env-facts .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--ice);
}
.env-facts b {
  display: block;
  color: var(--silver);
  font-weight: 600;
  font-size: 0.95rem;
}
.env-facts span {
  color: var(--mist);
  font-size: 0.86rem;
  line-height: 1.5;
}
.included h3 {
  margin-bottom: 12px;
}
.infra-sign {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: clamp(48px, 6vw, 72px);
  color: var(--silver);
  font: italic 400 clamp(1.35rem, 1.1rem + 1vw, 1.9rem) / 1.2 var(--serif);
  text-align: center;
}
.infra-sign::before,
.infra-sign::after {
  content: '';
  width: clamp(24px, 6vw, 80px);
  height: 1px;
  background: var(--line-dark-strong);
}

/* ---------- Disclosure lists (FAQ and What's included) ---------- */
.disclosures {
  border-bottom: 1px solid var(--line);
}
.disclosures details {
  border-top: 1px solid var(--line);
  interpolate-size: allow-keywords;
}
.disclosures summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 62px;
  padding: 14px 0;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.04rem;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.disclosures summary::-webkit-details-marker {
  display: none;
}
.disclosures summary .icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--steel);
  transition: transform var(--t-mid) var(--ease);
}
.disclosures details[open] summary .icon {
  transform: rotate(45deg);
}
.disclosures summary:hover {
  color: var(--slate);
}
.disclosures details > div {
  max-width: 62ch;
  padding: 0 40px 22px 0;
  color: var(--text);
  line-height: 1.65;
}
.disclosures details::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size var(--t-mid) var(--ease),
    content-visibility var(--t-mid) allow-discrete;
}
.disclosures details[open]::details-content {
  block-size: auto;
}
.disclosures--dark {
  border-bottom-color: var(--line-dark);
}
.disclosures--dark details {
  border-top-color: var(--line-dark);
}
.disclosures--dark summary {
  min-height: 56px;
  color: var(--silver);
  font-size: 0.98rem;
}
.disclosures--dark summary:hover {
  color: var(--white);
}
.disclosures--dark summary .icon {
  color: var(--ice);
}
.disclosures--dark details > div {
  padding-bottom: 18px;
  color: var(--mist);
  font-size: 0.93rem;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-intro {
  position: sticky;
  top: 112px;
}
.faq-intro .h2 {
  margin-top: 18px;
}
.faq-intro p {
  max-width: 24rem;
  margin-top: 18px;
}
.faq-intro .link-arrow {
  margin-top: 14px;
}
.faq-group {
  padding: 30px 0 10px;
  color: var(--muted);
  font: 600 var(--fs-label) / 1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.faq-group:first-child {
  padding-top: 0;
}
#faq .disclosures summary {
  justify-content: flex-start;
}
#faq .faq-no {
  flex: none;
  align-self: flex-start;
  width: 24px;
  color: var(--muted);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
#faq .faq-q {
  flex: 1;
}
#faq .disclosures details > div {
  padding-left: 44px;
}

/* ---------- Get Started (email only) ---------- */
.start {
  padding: clamp(48px, 5vw, 88px) 0 var(--section);
}
.start-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.start-inner .eyebrow {
  justify-content: center;
}
.start-inner .h2 {
  margin-top: 18px;
}
.start-inner .lead {
  max-width: 36rem;
  margin: 20px auto 0;
}
.start-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  max-width: 580px;
  margin: 36px auto 0;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-plate);
  text-align: left;
  transition:
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.start-form:focus-within {
  border-color: var(--slate);
  box-shadow:
    0 0 0 4px rgb(166 221 242 / 0.55),
    var(--shadow-plate);
}
.start-form input[type='email'] {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--midnight);
  font-size: 1.05rem;
}
.start-form input[type='email']::placeholder {
  color: var(--steel);
}
.start-form .btn {
  min-height: 52px;
  padding: 0 24px;
}
.start-form .btn[disabled] {
  cursor: progress;
  opacity: 0.8;
}
.prototype-note {
  grid-column: 1 / -1;
  margin: 0 6px 4px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--midnight);
  font-size: 0.88rem;
  line-height: 1.45;
}
.prototype-note:empty {
  display: none;
}
.prototype-note.is-sending {
  background: var(--silver);
}
.prototype-note.is-success {
  background: var(--ice-tint);
}
.prototype-note.is-error {
  background: var(--champagne);
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.start-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 28px;
  margin-top: 16px;
  color: var(--muted);
  font-size: var(--fs-small);
}
.start-alt a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.start-alt .start-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--slate);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.start-linkedin svg {
  flex: none;
}
.start-alt .start-linkedin:hover,
.start-alt .start-linkedin:focus-visible {
  color: #0a66c2;
}
.start-assurances {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
  list-style: none;
}
.start-assurances li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.start-assurances .icon {
  flex: none;
  width: 20px;
  height: 20px;
  padding: 4px;
  border-radius: 50%;
  background: var(--ice-tint);
  color: var(--slate);
  stroke-width: 2.5;
}
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px clamp(16px, 2.4vw, 32px);
  max-width: var(--max);
  margin: clamp(56px, 7vw, 88px) auto 0;
  text-align: left;
}
.next-steps li {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}
.next-steps .n {
  color: var(--steel);
  font: italic 400 1.15rem / 1 var(--serif);
}
.next-steps b {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}
.next-steps span {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
}
.next-steps .next-steps-maintenance {
  margin-top: 14px;
}
.next-steps-title {
  margin-top: clamp(56px, 7vw, 88px);
  color: var(--muted);
  font: 600 var(--fs-label) / 1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.next-steps-title + .next-steps {
  margin-top: 20px;
}

/* ---------- Confirmation dialog ---------- */
.confirm-dialog {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--white);
  color: var(--slate);
  box-shadow: var(--shadow-pop);
}
.confirm-dialog::backdrop {
  background: rgb(6 20 27 / 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.confirm {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(32px, 6vw, 48px) clamp(24px, 5vw, 44px) 32px;
  text-align: center;
}
.confirm-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  border: 1px solid rgb(127 179 198 / 0.45);
  border-radius: 50%;
  background: var(--ice-tint);
  color: var(--slate);
}
.confirm-mark .icon {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}
.confirm h2 {
  margin: 2px 0 6px;
  color: var(--midnight);
  font: 400 clamp(2rem, 5vw, 2.65rem) / 1.12 var(--serif);
}
.confirm p {
  max-width: 34ch;
}
.confirm .btn {
  margin-top: 10px;
}
.confirm[hidden] {
  display: none;
}
.confirm-eyebrow {
  color: var(--steel);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.confirm-receipt {
  display: grid;
  gap: 3px;
  width: 100%;
  margin-top: 8px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ice-tint);
  overflow-wrap: anywhere;
}
.confirm-receipt span {
  color: var(--steel);
  font-size: 0.75rem;
}
.confirm-receipt strong {
  color: var(--midnight);
  font-size: 0.95rem;
  font-weight: 500;
}
.confirm .confirm-signoff {
  margin-top: 6px;
  color: var(--steel);
  font-size: 0.75rem;
  line-height: 1.7;
}
.confirm-signoff span {
  color: var(--slate);
}
.confirm-dialog.is-sending {
  width: min(320px, calc(100vw - 32px));
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  cursor: wait;
}
.confirm-dialog.is-sending::backdrop {
  background: rgb(238 236 231 / 0.28);
  -webkit-backdrop-filter: blur(4px) saturate(0.35);
  backdrop-filter: blur(4px) saturate(0.35);
}
.confirm-transmission {
  min-height: 260px;
  padding: 0;
  align-content: center;
}
.transmission-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
}
.transmission-orb [data-transmission-ring] {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.transmission-logo {
  width: 82px;
  height: 82px;
}
.transmission-orb svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  stroke: none;
}
.transmission-orb .maestro-ribbons path {
  fill: none;
  stroke-width: 1.2;
}
.transmission-orb .maestro-rim,
.transmission-orb .maestro-rim-glow {
  fill: none;
  stroke-width: 1;
}
.transmission-orb .maestro-rim-glow {
  stroke-width: 5;
  opacity: 0.25;
}
.transmission-orb .maestro-ribbon-trails {
  fill: none;
  stroke-width: 3.5;
  opacity: 0.3;
}
.transmission-orb .maestro-rim-highlight {
  fill: none;
  stroke: #fff6eb;
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-dasharray: 60 76 24 110 32 245;
  opacity: 0.25;
}
@media (prefers-reduced-motion: no-preference) {
  .is-sending .transmission-logo {
    animation: spin 5s linear infinite;
  }
}
.prototype-note a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer (protected composition, midnight treatment) ---------- */
.site-footer {
  --focus: var(--ice);
  padding: 60px 0 40px;
  background: var(--midnight);
  color: var(--mist);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 48px;
  row-gap: 26px;
}
.footer-brand {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: end;
}
.footer-brand img {
  width: auto;
  height: 30px;
}
.footer-tagline,
.footer-copyright {
  font-size: 0.86rem;
  line-height: 1.4;
}
.footer-tagline {
  margin-top: 12px;
  color: var(--mist);
}
.footer-columns {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0 clamp(36px, 5vw, 72px);
}
.footer-col-title {
  margin-bottom: 8px;
  color: var(--silver);
  font: 600 0.7rem / 1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-columns a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--mist);
  font-size: 0.9rem;
  transition: color var(--t-fast) var(--ease);
}
.footer-columns a:hover {
  color: var(--white);
}
.footer-copyright {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  color: var(--mist);
}

/* ---------- Reveal motion (enhancement only) ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(5px);
  transition:
    opacity 900ms var(--ease),
    transform 900ms var(--ease),
    filter 900ms var(--ease);
  transition-delay: var(--d, 0ms);
}
html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- Shared platform materials: glass controls above crisp content ---------- */
.app-window {
  --platform-line: rgb(39 66 82 / 0.1);
  --platform-card: rgb(255 255 255 / 0.96);
  --platform-glass: #f5f7f8;
  --platform-glass-strong: #fafcfd;
  --platform-edge: rgb(255 255 255 / 0.9);
  --platform-shadow: 0 2px 4px rgb(32 56 72 / 0.025), 0 12px 28px -16px rgb(32 56 72 / 0.16);
  --platform-control-shadow: inset 0 1px 0 rgb(255 255 255 / 0.95), 0 2px 6px rgb(32 56 72 / 0.035);
  --chrome: 36px;
  padding: 0 2px 2px;
  border: 1px solid rgb(45 65 79 / 0.18);
  border-radius: 22px;
  background: linear-gradient(135deg, #e7eef2, #f4f4f1 58%, #e4ebef);
  box-shadow:
    inset 0 1px 0 #fff,
    0 4px 10px -6px rgb(20 40 53 / 0.18),
    0 28px 64px -28px rgb(20 40 53 / 0.28);
}
.app-chrome {
  padding-inline: 14px;
}
.app-dots i {
  width: 8px;
  height: 8px;
  background: #a7b3bc;
  box-shadow:
    inset 0 1px 1px rgb(32 56 72 / 0.12),
    0 1px 0 rgb(255 255 255 / 0.8);
}
.app-tab {
  height: 27px;
  margin-top: 9px;
  background: rgb(255 255 255 / 0.62);
  border: 1px solid rgb(255 255 255 / 0.8);
  border-bottom: 0;
  color: var(--slate);
}
.app-shell {
  isolation: isolate;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 95% 4%, rgb(171 209 228 / 0.35), transparent 60%),
    radial-gradient(ellipse at 2% 95%, rgb(235 225 209 / 0.3), transparent 56%), var(--workspace);
}
.app-window .app-canvas {
  background: transparent;
}
/* Opaque defaults remain readable without backdrop-filter support. */
.app-topbar,
.app-sidebar {
  background: var(--platform-glass);
  border: 0;
}
.app-topbar {
  position: relative;
  z-index: 3;
  height: 52px;
  box-shadow:
    inset 0 1px 0 var(--platform-edge),
    0 1px 0 rgb(39 66 82 / 0.055);
}
.app-sidebar {
  position: relative;
  z-index: 2;
  margin: 12px 0 12px 12px;
  padding: 14px 8px;
  border: 1px solid var(--platform-edge);
  border-radius: 16px;
  box-shadow: var(--platform-shadow);
  gap: 4px;
}
.app-side-label {
  font-size: 9px;
  letter-spacing: 0.13em;
  padding-bottom: 10px;
}
.app-side-item {
  position: relative;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 0.84rem;
}
.app-side-item:hover {
  background: rgb(255 255 255 / 0.68);
}
.app-side-item.is-active,
.app-side-item[aria-current='page'],
.app-side-item[aria-pressed='true'] {
  background: linear-gradient(135deg, rgb(222 241 250 / 0.9), rgb(237 247 252 / 0.76));
  border-color: rgb(255 255 255 / 0.95);
  box-shadow: var(--platform-control-shadow);
}
.app-side-item.is-active::after,
.app-side-item[aria-current='page']::after,
.app-side-item[aria-pressed='true']::after {
  content: '';
  position: absolute;
  inset: 12px auto 12px -1px;
  width: 3px;
  border-radius: 4px;
  background: #368caf;
}
.app-side-foot {
  font-size: 0.7rem;
  padding-inline: 8px;
}
.app-window
  :is(
    .sm-stage,
    .sm-card,
    .sm-batch,
    .conversation-reply,
    .evidence-row,
    .kpi,
    .dash-card,
    .live-company,
    .zip
  ) {
  background: var(--platform-card);
  border-color: var(--platform-line);
  box-shadow: var(--platform-shadow);
}
.app-window :is(.sm-stage, .conversation-reply, .dash-card) {
  border-radius: 16px;
}
.app-window :is(.sm-card, .sm-batch, .evidence-row, .kpi, .live-company, .zip) {
  border-radius: 12px;
}
.app-window :is(.sm-caps h3, .sm-col-head h3, .dash-head h3, .path-head h3, .lc-title b) {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.app-window .sm-col-head,
.app-window .sm-content > h4,
.app-window .sm-content > p {
  background: transparent;
}
.app-window .sm-caps h3 {
  font-size: 1rem;
}
.app-window .path-head h3,
.app-window .dash-head h3 {
  font-size: 1.45rem;
  line-height: 1.2;
}
.app-window .path-head p {
  font-size: 0.84rem;
  line-height: 1.5;
  margin-top: 5px;
}
.app-window .sm-stage {
  border-color: rgb(255 255 255 / 0.95);
}
.app-window .kpi strong {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.app-window
  :is(
    .sm-output a,
    .sm-gate,
    .demo-replay,
    .conversation-composer,
    .builder-dropdown summary,
    .builder-options
  ) {
  background: var(--platform-glass-strong);
  border: 1px solid var(--platform-edge);
  box-shadow: var(--platform-control-shadow);
  color: var(--slate);
}
.app-window .sm-gate.is-connector {
  background: #deebf2;
  color: var(--slate);
}
.app-window :is(.sm-live, .ready-label, .import-state, .lc-live) {
  background: #e6f0f5;
  color: #284f62;
}
.app-window .import-story[data-phase='running'] .import-state {
  background: #e6f0f5;
  color: #284f62;
}
.app-window :is(.sm-live i, .sm-gate i, .lc-live::before),
.app-window .import-story[data-phase='running'] .import-state::before {
  background: #3c809c;
}
.app-window :is(.conversation-demo, .conversation-head, .path-frame) {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.app-window .conversation-head {
  flex: none;
  min-height: 52px;
  padding: 0 4px 12px;
}
.app-window .maestro-wordmark {
  width: clamp(160px, 18vw, 200px);
}
.app-window .conversation-head .maestro-orb {
  width: 36px;
  height: 36px;
}
.app-window .conversation-messages {
  padding: 14px 4px 20px;
}
.app-window .conversation-footer {
  margin: 4px 0 0;
  padding: 14px;
  border: 1px solid var(--platform-edge);
  border-radius: 18px;
  background: var(--platform-glass);
  box-shadow: var(--platform-shadow);
}
.app-window .conversation-composer {
  border-radius: 14px;
  background-color: var(--platform-glass-strong);
}
.app-window .conversation-composer:focus-within {
  border-color: #6aa4bd;
  box-shadow:
    0 0 0 3px rgb(106 164 189 / 0.16),
    var(--platform-control-shadow);
}
.app-window
  :is(
    .conversation-options select,
    .source-pills button,
    .answer-action,
    .suggested-questions button,
    .builder-examples button
  ) {
  border-color: var(--platform-line);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9);
}
.app-window .path-frame {
  border-radius: 16px;
}
.app-window .path-bar {
  position: relative;
  z-index: 2;
  flex: none;
  min-height: 80px;
  padding: 10px 12px;
  gap: 6px 10px;
  border: 1px solid var(--platform-edge);
  border-radius: 16px;
  background: var(--platform-glass);
  box-shadow: var(--platform-control-shadow);
}
.app-window .builder-dropdown .builder-options {
  background: #fcfdfe;
  box-shadow:
    0 8px 24px rgb(32 56 72 / 0.14),
    inset 0 1px 0 #fff;
}
.app-window .builder-messages,
.app-window .import-journey {
  padding: 18px 4px;
}
.app-window .builder-messages .conversation-reply {
  max-width: 100%;
  width: 100%;
}
.app-window .builder-composer-area {
  padding: 12px;
  border: 1px solid var(--platform-edge);
  border-radius: 16px;
  background: var(--platform-glass);
  box-shadow: var(--platform-shadow);
}
.app-window .import-review li.is-done {
  background: rgb(255 255 255 / 0.82);
  border-color: var(--platform-line);
  font-weight: 500;
}
.app-window .import-review li.is-done .icon {
  color: #3c809c;
}
.app-window .ij-step.is-done .ij-num {
  background: #e0edf3;
  border-color: var(--platform-edge);
  color: #284f62;
}
.app-window .created-result {
  background: #edf5f9;
  border-color: rgb(73 126 151 / 0.12);
}
.app-window .lc-top {
  background: #edf3f6;
  color: var(--slate);
  border-bottom: 1px solid var(--platform-line);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .app-window {
    --platform-glass: rgb(255 255 255 / 0.52);
    --platform-glass-strong: rgb(255 255 255 / 0.78);
  }
  .app-window .builder-dropdown .builder-options {
    background: rgb(250 252 254 / 0.96);
  }
  .app-window
    :is(
      .app-topbar,
      .app-sidebar,
      .conversation-footer,
      .builder-composer-area,
      .path-bar,
      .builder-options
    ) {
    -webkit-backdrop-filter: blur(22px) saturate(125%);
    backdrop-filter: blur(22px) saturate(125%);
  }
  .app-window :is(.sm-output a, .sm-gate, .demo-replay, .builder-dropdown summary) {
    -webkit-backdrop-filter: blur(12px) saturate(115%);
    backdrop-filter: blur(12px) saturate(115%);
  }
}
@media (max-width: 980px) {
  .app-window .path-bar {
    min-height: 64px;
  }
  .app-window .path-divider {
    min-height: 64px;
  }
}
@media (max-width: 760px) {
  /* On phones, keep the breaks between sections shorter: the screen is short. */
  :root {
    --section: 112px;
  }
  .app-window .app-topbar {
    height: 48px;
    padding-inline: 12px;
  }
  .app-window .maestro-views {
    padding: 14px;
  }
  .app-window .conversation-footer {
    padding: 12px;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .app-window {
    --platform-glass: #f5f7f8;
    --platform-glass-strong: #fafcfd;
  }
  .app-window
    :is(
      .app-topbar,
      .app-sidebar,
      .conversation-footer,
      .builder-composer-area,
      .path-bar,
      .builder-options,
      .sm-output a,
      .sm-gate,
      .demo-replay,
      .builder-dropdown summary
    ) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
/* Phones and tablets: the demos animate constantly under many large glass blurs, which mobile
   Safari can run out of graphics memory on (crashed tabs). Touch screens get the solid surfaces
   that reduced transparency uses. */
@media (hover: none), (pointer: coarse) {
  .app-window {
    --platform-glass: #f5f7f8;
    --platform-glass-strong: #fafcfd;
  }
  .app-window
    :is(
      .app-topbar,
      .app-sidebar,
      .conversation-footer,
      .builder-composer-area,
      .path-bar,
      .builder-options,
      .sm-output a,
      .sm-gate,
      .demo-replay,
      .builder-dropdown summary
    ) {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (prefers-contrast: more) {
  .app-window {
    --platform-line: #879aa6;
    --platform-edge: #879aa6;
    --platform-card: #fff;
    --platform-glass: #f5f7f8;
    --platform-glass-strong: #fff;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .app-body {
    grid-template-columns: 168px minmax(0, 1fr);
  }
  .sm-list {
    grid-template-columns: 1fr;
  }
  .sm-stage,
  .sm-output {
    width: 94%;
  }
  .sm-sources,
  .sm-gates {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 980px) {
  .nav {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .app-body {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .app-sidebar {
    display: none;
  }
  .paths {
    grid-template-columns: minmax(0, 1fr);
  }
  .path-divider {
    align-items: center;
    min-height: 80px;
    padding-top: 0;
  }
  .path-divider::before {
    inset: auto 0;
    width: auto;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      #b7cbd6 18%,
      #9fb9c8 50%,
      #b7cbd6 82%,
      transparent
    );
  }
  .path-frame {
    min-height: 0;
  }
  .infra-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 860px) {
  .split-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .solution-grid,
  .values {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .solution-grid::before {
    display: none;
  }
  .sol-plate,
  .value-plate {
    max-width: 520px;
  }
  .supporters-inner {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
  .supporters-window {
    width: 100%;
  }
  .supporters-track {
    /* Two logos in view at a time on narrow screens. */
    width: 300%;
  }
  .pillars {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-intro {
    position: static;
  }
  .dash-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .start-assurances {
    display: grid;
    grid-template-columns: minmax(0, max-content);
  }
  .hero > .wrap {
    --hero-dot-peak: 0.48;
  }
  .sm-streams,
  .sm-gates {
    display: none;
  }
  .sm-output {
    width: 100%;
    margin-bottom: 26px;
  }
  .sm-output a {
    min-height: 38px;
    padding: 6px 10px;
    font-size: 0.85rem;
    line-height: 1.2;
  }
  .sm-stage {
    width: 100%;
  }
  .sm-caps {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .sm-stage-head {
    justify-content: flex-start;
  }
  .sm-stage-head img {
    height: 26px;
  }
  .sm-live {
    top: 16px;
    right: 14px;
  }
  .sm-sources {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-top: 32px;
  }
  .sm-col-head {
    min-height: 0;
  }
  .sm-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm-card {
    /* Narrow cards need room for three title lines plus the permission label. */
    height: 4.75rem;
  }
  .sm-col-head h3::after {
    content: attr(data-gate);
    display: inline-block;
    margin-left: 10px;
    padding: 3px 9px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--slate);
    font: 600 0.7rem / 1.4 var(--sans);
    vertical-align: 3px;
  }
  .app-window {
    --chrome: 34px;
    border-radius: 16px;
    padding: 0 4px 4px;
  }
  .app-tab {
    height: 26px;
    margin-top: 8px;
    font-size: 11.5px;
  }
  .app-context .ctx-label {
    display: none;
  }
  .app-canvas {
    padding: 14px;
  }
  .conversation-messages {
    min-height: 0;
    padding: 16px;
  }
  .conversation-head,
  .conversation-footer {
    padding-inline: 16px;
  }
  .conversation-user,
  .conversation-reply,
  .source-preview {
    max-width: 100%;
  }
  .maestro-views.app-canvas {
    padding: 0;
  }
  .conversation-demo {
    border: 0;
    border-radius: 0;
  }
  .dash {
    padding: 16px;
  }
  .kpis {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
  .kpi {
    padding: 10px;
  }
  .kpi strong {
    font-size: 1.6rem;
  }
  .env-options {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-scene {
    margin-inline: calc(-1 * var(--gutter));
    overflow: hidden;
  }
  .hero-scene .sg-scene {
    width: 122%;
    max-width: none;
    /* Callout bands are hidden on phones; trim the empty band above. No trim below:
       the systems beneath Stage reach the artwork's bottom edge while it turns. */
    margin: -5% 0 0 -11%;
  }
  .sg-annotation,
  .sg-systems-label {
    display: none;
  }
  .scene-captions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    /* The scene bleeds past the gutter on phones; captions return to the text column. */
    padding: 4px calc(var(--gutter) * 2) 0;
    text-align: left;
  }
  .scene-captions b {
    display: block;
    color: var(--ink);
    font: 400 1.2rem / 1.2 var(--serif);
  }
  .scene-captions span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
  }
  .scene-motion {
    position: static;
    margin: 14px auto 0;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    row-gap: 36px;
  }
  .footer-columns {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 16px;
  }
  .footer-brand {
    grid-column: 1;
    grid-row: 2;
  }
  .footer-copyright {
    grid-column: 1;
    grid-row: 3;
    margin-top: -18px;
  }
}
@media (max-width: 560px) {
  .scene-captions {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero .eyebrow::before,
  .hero .eyebrow::after {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 340px;
    margin-inline: auto;
  }
  .hero-actions .link-arrow {
    justify-content: center;
  }
  .start-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .start-form .btn {
    width: 100%;
  }
  .next-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .import-review {
    grid-template-columns: minmax(0, 1fr);
  }
  .app-crumbs span:not(:first-child),
  .app-crumbs .icon {
    display: none;
  }
  .conversation-options > span {
    flex-basis: 100%;
  }
  .supporter-image.is-harvard,
  .supporter-image.is-trust {
    height: 28px;
  }
  .supporter-image.is-medialab {
    height: 42px;
  }
  .footer-columns a {
    font-size: 0.86rem;
  }
}
@media (max-width: 400px) {
  .scene-captions {
    grid-template-columns: minmax(0, 1fr);
  }
  .kpis {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Reduced motion: show completed states, keep everything readable ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .sg-flow,
  .scene-motion {
    display: none;
  }
  .supporters-track {
    width: 100%;
    animation: none;
  }
  .supporters-group {
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .supporters-group[aria-hidden] {
    display: none;
  }
  .supporter-logo {
    flex: 0 1 auto;
  }
}

/* Large product scenes reveal with fade and rise only; blur stays on typography. */
html.js .demo-stage[data-reveal],
html.js .value[data-reveal],
html.js .sol-item[data-reveal] {
  filter: none;
}

/* ---------- Product windows are 16:10 screens with scrolling inside (desktop layouts) ---------- */
@media (min-width: 981px) {
  .app-window {
    display: flex;
    flex-direction: column;
    /* Scale the UI within the shared screen width, with layout-aware spacing. */
    width: 100%;
    margin-inline: auto;
    zoom: 0.9;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .app-chrome,
  .app-topbar {
    flex: none;
  }
  .app-shell {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
  }
  .app-body {
    flex: 1;
    grid-template-rows: minmax(0, 1fr);
    min-height: 0;
  }
  .app-sidebar,
  .app-canvas,
  .conversation-messages,
  .dash,
  .builder-messages,
  .import-journey {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgb(74 92 106 / 0.35) transparent;
  }
  .app-canvas {
    min-height: 0;
  }
  /* Maestro: the chat fills the screen, its messages scroll above a pinned composer. */
  .maestro-views.app-canvas {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .conversation-demo {
    flex: 1;
    width: 100%;
    min-height: 0;
  }
  .conversation-messages {
    flex: 1;
    min-height: 0;
  }
  .dash {
    flex: 1;
    align-content: start;
    width: 100%;
    min-height: 0;
    padding-right: 6px;
  }
  /* Performers: both paths stay side by side; each scrolls inside its own frame. */
  .paths {
    height: 100%;
    grid-template-rows: minmax(0, 1fr);
  }
  .path,
  .path-frame {
    min-height: 0;
  }
  .builder-messages,
  .import-journey {
    flex: 1;
    min-height: 0;
  }
  .import-journey {
    align-content: start;
  }
}

/* Compact Stage map keeps full touch targets on touchscreens. */
@media (pointer: coarse) {
  .sm-action {
    min-height: 44px;
  }
}

/* ---------- Contact, company and legal pages (2.0 subpages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: -72px 0 0;
  z-index: -1;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgb(74 92 106 / 0.22) 1px,
    transparent 1.3px
  );
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 46% 70% at 88% 20%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 46% 70% at 88% 20%, #000 10%, transparent 72%);
  pointer-events: none;
}
.page-statement {
  max-width: 16.5em;
  margin-top: 22px;
  color: var(--ink);
  font: 400 clamp(2.35rem, 1.25rem + 3.3vw, 4rem) / 1.08 var(--serif);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.page-statement em {
  font-style: italic;
  color: var(--steel);
}
.page-hero .lead {
  max-width: 40rem;
  margin-top: 24px;
}
.page-summary {
  max-width: 40rem;
  margin-top: 16px;
  color: var(--text);
  line-height: 1.65;
}
.page-meta {
  margin-top: 20px;
  color: var(--muted);
  font-size: var(--fs-small);
}
.page-section {
  padding: clamp(48px, 6vw, 88px) 0;
}
.subpage #main > .page-section:last-child {
  padding-bottom: clamp(72px, 8vw, 112px);
}
.page-split,
.doc {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.6fr);
  gap: 24px clamp(32px, 6vw, 88px);
  align-items: start;
}
.page-split > .h2 {
  max-width: 12em;
  font-size: clamp(1.65rem, 1.25rem + 1vw, 2.15rem);
  line-height: 1.2;
}
.prose {
  max-width: 66ch;
  color: var(--text);
}
.prose > * + * {
  margin-top: 16px;
}
.prose p,
.prose li {
  line-height: 1.7;
}
.prose h2 {
  margin-top: 48px;
  color: var(--ink);
  font: 400 clamp(1.5rem, 1.25rem + 0.8vw, 1.9rem) / 1.2 var(--serif);
  letter-spacing: -0.01em;
  scroll-margin-top: 100px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose ul {
  padding-left: 1.2em;
  list-style: disc;
}
.prose li + li {
  margin-top: 8px;
}
.prose li::marker {
  color: var(--steel);
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose a:not(.btn),
.link-inline {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color var(--t-fast) var(--ease);
}
.prose a:not(.btn):hover,
.link-inline:hover {
  text-decoration-color: currentColor;
}
.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 24px;
}
.contact-address {
  margin-top: 24px;
  color: var(--ink);
  font-style: normal;
  line-height: 1.7;
}
.offer-list {
  margin-top: 24px;
}
.offer-list li,
.principles li {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 8px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.offer-list h3,
.principles h3 {
  color: var(--ink);
  font: 600 1rem / 1.45 var(--sans);
}
.offer-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: var(--fs-small);
}
.offer-list p,
.principles p {
  color: var(--text);
  line-height: 1.65;
}
.principles li:first-child {
  padding-top: 0;
  border-top: 0;
}
.founders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin-top: 32px;
}
.founder {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.founder + .founder {
  padding-left: clamp(24px, 3vw, 40px);
  border-left: 1px solid var(--line);
}
.founder-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.founder-head img {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--silver);
}
.founder h3 {
  color: var(--ink);
  font: 400 1.35rem / 1.2 var(--serif);
}
.founder-role {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.85rem;
}
.founder-bio {
  margin-top: 20px;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.founder-credentials {
  margin-top: auto;
  padding-top: 24px;
}
.founder-education {
  color: var(--muted);
  font-size: 0.85rem;
}
.founder-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  margin-top: 16px;
}
.founder-logo-divider {
  flex: 0 0 1px;
  height: 24px;
  background: var(--line);
}
.founder-logos img {
  width: auto;
  height: 26px;
  object-fit: contain;
}
.founder-logos .founder-logo-rit {
  height: 22px;
}
.founder-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 24px;
}
.founder-links .btn {
  min-height: 44px;
  padding-inline: 12px;
  font-size: 0.8125rem;
}
.founder-links a:not(.btn) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--slate);
  font-size: 0.85rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition:
    color var(--t-fast) var(--ease),
    text-decoration-color var(--t-fast) var(--ease);
}
.founder-links a:not(.btn):hover {
  color: var(--ink);
  text-decoration-color: var(--line-strong);
}
.founder-links svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.founders-note {
  max-width: 66ch;
  margin-top: 32px;
  color: var(--text);
  line-height: 1.65;
}
.toc {
  position: sticky;
  top: 104px;
}
.toc-title {
  color: var(--muted);
  font: 600 var(--fs-label) / 1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.toc ol {
  display: grid;
  gap: 2px;
  margin-top: 14px;
}
.toc a {
  display: block;
  padding: 6px 0 6px 12px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
  transition:
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}
.toc a:hover {
  border-left-color: var(--slate);
  color: var(--ink);
}
@media (max-width: 860px) {
  .page-split,
  .doc,
  .founders {
    grid-template-columns: minmax(0, 1fr);
  }
  .founder + .founder {
    padding: 32px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .toc {
    position: static;
  }
}
@media (max-width: 560px) {
  .offer-list li,
  .principles li {
    grid-template-columns: minmax(0, 1fr);
  }
}
