/* Pangea hero + story sections */

/* —— Scroll unlock —— */
html {
  height: auto !important;
  max-height: none !important;
  overflow-x: clip !important;
  overflow-y: scroll !important;
}
body {
  height: auto !important;
  max-height: none !important;
  min-height: 100% !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}

:root,
html {
  --announcement-banner-height: 0px !important;
  --announcement-banner-shift: 0px !important;
  --pm-glass: rgba(255, 255, 255, 0.07);
  --pm-glass-strong: rgba(255, 255, 255, 0.11);
  --pm-stroke: rgba(255, 255, 255, 0.16);
  --pm-stroke-soft: rgba(255, 255, 255, 0.08);
  --pm-text: rgba(255, 255, 255, 0.92);
  --pm-muted: rgba(255, 255, 255, 0.52);
  --pm-faint: rgba(255, 255, 255, 0.34);
  --pm-good: #8fd4a8;
}

.fixed.inset-x-0.top-0.z-50.flex.items-center.justify-center {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Header morph driven by --hdr-p in pangea-overrides.css + mountHeaderMorph() */

/* Kill DoorDash / customer spotlight entirely */
#spotlight {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

/* Kill "Outbound that speaks every vertical" industries bento */
#industriesBento {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* —— Hero runway —— */
#hero {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  min-height: 100vh !important;
  position: relative !important;
  overflow: visible !important;
}

#hero > .sticky {
  position: sticky !important;
  top: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100vh !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  overflow: hidden !important;
  background: #111214 !important;
  z-index: 5 !important;
  box-sizing: border-box !important;
}

#curveWrap,
#consoleWrap,
#consoleGlow,
#consoleShade,
#consoleHead,
#heroFoldFade,
#hero .colgrid,
#heroChartDraw,
#heroChartExperiments,
#consoleChartHover,
#logoBar,
#homeVideoPreview,
#mobileConsole {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

#heroGlowMesh {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  opacity: 0.22 !important;
  z-index: 0;
}

/* —— Aurora: canvas curtain from bottom (shape + movement) —— */
#pangeaAurora {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  height: min(68vh, 640px);
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

#pangeaAurora .pa-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  /* Soft drapery without killing vertical folds */
  filter: blur(7px) saturate(1.45);
  opacity: 0.95;
  mix-blend-mode: screen;
}

@media (prefers-reduced-motion: reduce) {
  #pangeaAurora .pa-canvas {
    filter: blur(14px);
    opacity: 0.55;
  }
}

/* —— Stage layout —— */
#pangeaStage {
  position: relative;
  z-index: 3;
  height: 100%;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 5.5rem clamp(20px, 3.5vw, 56px) 2rem;
  box-sizing: border-box;
  display: grid;
  /* Slack still large; left column wide enough for 2-line H1 */
  grid-template-columns: minmax(300px, 0.78fr) minmax(480px, 1.35fr);
  column-gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.pm-copy-col {
  min-width: 0; /* allow shrink so grid can clip min-content title */
  max-width: 100%;
  z-index: 4;
  overflow: hidden; /* never bleed into Slack */
}

#heroCopy,
#heroSub {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  max-width: 100% !important; /* stay inside grid cell */
  margin: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 4 !important;
  box-sizing: border-box !important;
}

#heroCopy {
  margin-bottom: 1.1rem !important;
}

/* Pixel display face: open gaps between glyphs (Geist Pixel Line, same as Giga hero) */
#heroCopy h1,
#heroTitle {
  font-family: var(--font-pixel-line), geistPixelLine, ui-monospace, monospace !important;
  /* Sized to fit "Agents that mirror" inside the left column */
  font-size: clamp(1.85rem, 2.6vw + 0.4rem, 3.15rem) !important;
  line-height: 1.1 !important;
  letter-spacing: 0.05em !important;
  font-weight: 400 !important;
  max-width: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
  color: rgba(255, 255, 255, 0.96) !important;
  font-feature-settings: normal !important;
  -webkit-font-smoothing: none !important;
  -moz-osx-font-smoothing: unset !important;
  text-rendering: geometricPrecision !important;
  overflow: hidden !important;
}

/* Forced two-line break: Agents that mirror / outbound experts */
#heroTitle .hero-line {
  display: block !important;
  white-space: nowrap !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

#heroSub h2 {
  font-family: var(--font-geist), system-ui, sans-serif !important;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem) !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  max-width: 100% !important;
  margin-bottom: 0.75rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

#heroSub p {
  display: none !important;
}

#heroMetric,
.pm-phase {
  display: none !important;
}

/* —— Real Slack desktop chrome (dark mode) —— */
#pangeaMirror {
  --sl-bg: #1a1d21;
  --sl-sidebar: #19171d;
  --sl-rail: #3f0e40;
  --sl-rail-hover: #350d36;
  --sl-hover: #222529;
  --sl-border: #2c2d30;
  --sl-border-light: #35373b;
  --sl-text: #d1d2d3;
  --sl-text-hi: #f8f8f8;
  --sl-muted: #ababad;
  --sl-faint: #7a7b7d;
  --sl-link: #1d9bd1;
  --sl-mention-bg: rgba(29, 155, 209, 0.18);
  --sl-mention-fg: #e0f0ff;
  --sl-app: #2bac76;
  --sl-blue: #1264a3;
  --sl-blue-btn: #007a5a;
  --sl-input: #222529;
  --sl-block: #1a1d21;
  --sl-good: #2bac76;

  position: relative;
  z-index: 4;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-left: auto;
  font-family:
    "Lato",
    "Slack-Lato",
    var(--font-geist),
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  filter: drop-shadow(0 32px 70px rgba(0, 0, 0, 0.62));
}

.pm-slack-app {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--sl-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 28px 80px rgba(0, 0, 0, 0.55);
  height: min(84vh, 740px);
  display: flex;
  flex-direction: column;
}

/* OS titlebar */
.pm-slack-titlebar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.7rem;
  background: #121016;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
.pm-dots { display: flex; gap: 6px; flex-shrink: 0; }
.pm-dots i {
  width: 10px; height: 10px; border-radius: 50%; display: block;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.35) inset;
}
.pm-dots i:nth-child(1) { background: #ff5f57; }
.pm-dots i:nth-child(2) { background: #febc2e; }
.pm-dots i:nth-child(3) { background: #28c840; }
.pm-titlebar-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.01em;
}
.pm-progress {
  margin-left: auto;
  width: 72px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.pm-progress > span {
  display: block !important;
  height: 100% !important;
  width: 0%;
  background: linear-gradient(90deg, #611f69, #2bac76);
  transition: width 0.08s linear;
}

/* Body: rail + workspace */
.pm-slack-body-row {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

/* Workspace rail — classic Slack aubergine */
.pm-ws-rail {
  width: 48px;
  flex-shrink: 0;
  background: var(--sl-rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 0 12px;
  border-right: 1px solid rgba(0, 0, 0, 0.25);
}
.pm-ws-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #611f69;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 3px transparent;
}
.pm-ws-icon.is-active {
  box-shadow: 0 0 0 3px var(--sl-rail), 0 0 0 5px rgba(255, 255, 255, 0.85);
}
.pm-ws-icon.is-dim {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}
.pm-ws-plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.55);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 4px;
}

/* Channel sidebar */
.pm-slack-workspace {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
}
.pm-slack-sidebar {
  width: 148px;
  flex-shrink: 0;
  background: var(--sl-sidebar);
  border-right: 1px solid var(--sl-border);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.pm-sb-workspace {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}
.pm-sb-ws-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--sl-text-hi);
  letter-spacing: -0.01em;
}
.pm-sb-ws-chev {
  color: var(--sl-faint);
  font-size: 0.7rem;
}
.pm-sb-scroll {
  flex: 1;
  overflow: hidden;
  padding: 8px 0 12px;
}
.pm-sb-section {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--sl-faint);
  padding: 10px 14px 4px;
  letter-spacing: 0.01em;
}
.pm-sb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 14px;
  margin: 1px 8px;
  border-radius: 6px;
  color: var(--sl-muted);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.4;
}
.pm-sb-item.is-active {
  background: #1164a3;
  color: #fff;
  font-weight: 700;
}
.pm-sb-hash {
  opacity: 0.7;
  font-weight: 600;
  width: 0.9em;
  flex-shrink: 0;
}
.pm-sb-item.is-active .pm-sb-hash { opacity: 0.9; }
.pm-sb-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pm-sb-badge {
  background: #cd2553;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

/* Main column */
.pm-slack-main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--sl-bg);
}

.pm-chan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid var(--sl-border);
  flex-shrink: 0;
  min-height: 42px;
  background: var(--sl-bg);
}
.pm-chan-left {
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.pm-chan-hash {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sl-text-hi);
  margin-right: 1px;
}
.pm-chan-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--sl-text-hi);
  letter-spacing: -0.01em;
}
.pm-chan-right {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  color: var(--sl-muted);
  font-size: 0.75rem;
}
.pm-chan-meta {
  font-weight: 700;
  color: var(--sl-text);
}
.pm-chan-meta-lab {
  color: var(--sl-faint);
}

/* Channel full-bleed; thread overlays from the right */
.pm-slack-panes {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  overflow: hidden;
}
.pm-channel-pane {
  flex: 1 1 100%;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  /* Keep full layout under the overlay — no squeeze */
  transition: filter 0.4s ease, opacity 0.4s ease;
}
.pm-slack-panes.has-thread .pm-channel-pane {
  /* Soft dim so the slide-over thread reads on top */
  opacity: 0.42;
  filter: saturate(0.85);
  pointer-events: none;
}
.pm-chan-msgs {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 0 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.pm-date-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 14px 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sl-text);
  position: relative;
}
.pm-date-divider::before,
.pm-date-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sl-border);
}
.pm-date-divider::before { margin-right: 10px; }
.pm-date-divider::after { margin-left: 10px; }

/* Messages — Slack style */
.pm-msg {
  display: flex;
  gap: 8px;
  padding: 6px 16px 6px 16px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    max-height 0.4s ease,
    background 0.15s ease;
}
.pm-msg.is-on {
  opacity: 1;
  max-height: 520px;
  transform: none;
  pointer-events: auto;
}
.pm-msg.is-bg {
  opacity: 0.55;
  max-height: 120px;
  pointer-events: none;
}
.pm-msg.is-active {
  background: var(--sl-hover);
}
.pm-msg:hover {
  background: var(--sl-hover);
}
.pm-msg-parent.is-on {
  max-height: 200px;
}
/* Room for full Block Kit attachments (never clip mid-card) */
.pm-msg-attach.is-on {
  max-height: 280px;
  padding-top: 2px;
  padding-bottom: 2px;
}
.pm-msg[data-beat="replies"].is-on { max-height: 720px; }
.pm-msg[data-beat="signify"].is-on { max-height: 420px; }
.pm-msg[data-beat="loaded"].is-on { max-height: 280px; }
.pm-msg[data-beat="insight"].is-on { max-height: 200px; }

.pm-av {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  margin-top: 2px;
}
.pm-av-user { background: #3f6ec6; }
.pm-av-alt { background: #c4752b; }
.pm-av-bot {
  background: #12694f;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: lowercase;
  border-radius: 6px;
}
.pm-av-spacer {
  width: 36px;
  flex-shrink: 0;
}

.pm-msg-col {
  min-width: 0;
  flex: 1;
  padding-top: 1px;
}
.pm-msg-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 6px;
  margin-bottom: 1px;
  line-height: 1.25;
}
.pm-msg-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--sl-text-hi);
  letter-spacing: -0.01em;
}
.pm-msg-name.is-bot {
  color: var(--sl-text-hi);
}
.pm-bot-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0 4px;
  height: 14px;
  line-height: 14px;
  border-radius: 2px;
  background: var(--sl-app);
  color: #fff;
  position: relative;
  top: -1px;
}
.pm-msg-time {
  font-size: 0.72rem;
  color: var(--sl-faint);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.pm-msg-time:hover {
  text-decoration: underline;
  color: var(--sl-muted);
}
.pm-msg-body {
  font-size: 0.9rem;
  line-height: 1.46668;
  color: var(--sl-text);
  word-break: break-word;
}
.pm-inline { display: inline; }
.pm-mention {
  color: var(--sl-mention-fg);
  background: var(--sl-mention-bg);
  border-radius: 3px;
  padding: 0 2px 1px;
  font-weight: 700;
  white-space: nowrap;
}
.pm-lift {
  color: #3dbe87;
  font-weight: 800;
}

/* Thread teaser under parent message */
.pm-thread-teaser {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 2px 4px 2px 2px;
  border-radius: 4px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.3s ease, max-height 0.35s ease;
  cursor: default;
  width: fit-content;
  max-width: 100%;
}
.pm-thread-teaser.is-on {
  opacity: 1;
  max-height: 28px;
}
.pm-thread-teaser:hover {
  background: rgba(29, 155, 209, 0.1);
}
.pm-teaser-faces {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.pm-teaser-faces .pm-av {
  width: 20px;
  height: 20px;
  font-size: 0.5rem;
  border-radius: 3px;
  margin: 0;
  box-shadow: 0 0 0 2px var(--sl-bg);
}
.pm-teaser-faces .pm-av + .pm-av {
  margin-left: -4px;
}
.pm-teaser-txt {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sl-link);
}
.pm-teaser-last {
  font-size: 0.75rem;
  color: var(--sl-faint);
  font-weight: 500;
}

/* Thread slides in from the right and covers most of the channel */
.pm-slack-thread {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  /* Wider thread: most of the message pane */
  width: min(100%, 78%);
  max-width: 520px;
  display: flex;
  flex-direction: column;
  background: var(--sl-bg);
  min-height: 0;
  overflow: hidden;
  border-left: 1px solid var(--sl-border);
  box-shadow:
    -12px 0 40px rgba(0, 0, 0, 0.45),
    -1px 0 0 rgba(255, 255, 255, 0.04);
  /* Parked off-screen to the right */
  transform: translate3d(104%, 0, 0);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.28s ease;
  will-change: transform;
}
.pm-slack-thread.is-open {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1200px) {
  .pm-slack-thread {
    width: min(100%, 82%);
    max-width: 560px;
  }
}

.pm-thread-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--sl-border);
  flex-shrink: 0;
  min-height: 42px;
}
.pm-thread-bar-left {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.pm-thread-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--sl-text-hi);
}
.pm-thread-chan {
  font-size: 0.78rem;
  color: var(--sl-faint);
  font-weight: 500;
}
.pm-thread-close {
  color: var(--sl-faint);
  font-size: 0.85rem;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 4px;
}
.pm-thread-meta { display: none; }

.pm-thread-parent {
  display: flex;
  gap: 8px;
  padding: 10px 14px 8px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--sl-border);
  background: rgba(0, 0, 0, 0.12);
}

.pm-thread-sep {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 2px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--sl-faint);
  text-transform: lowercase;
  flex-shrink: 0;
}
.pm-thread-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--sl-border);
}

.pm-thread-msgs {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
  padding: 4px 0 8px;
  min-height: 0;
}

/*
 * Slack Block Kit attachments (dark theme)
 * Real Slack: left accent bar only, no nested card chrome, section text,
 * two-col fields, action buttons, context footer.
 */
.pm-bk {
  margin-top: 6px;
  margin-bottom: 2px;
  padding: 2px 0 2px 12px;
  border-left: 4px solid #2bac76;
  max-width: 100%;
  background: transparent;
  /* No outer box — classic Slack attachment */
}
.pm-bk.pm-peer,
.pm-bk.pm-replies {
  border-left-color: #e8a23a;
}

.pm-bk-title {
  font-size: 0.9375rem;
  line-height: 1.46668;
  color: var(--sl-text-hi);
  margin: 0 0 4px;
}
.pm-bk-title strong {
  font-weight: 700;
  color: var(--sl-text-hi);
}
.pm-bk-emoji {
  font-style: normal;
  font-weight: 400;
}

.pm-bk-section {
  margin: 4px 0 2px;
  min-width: 0;
}
.pm-bk-text {
  font-size: 0.9375rem;
  line-height: 1.46668;
  color: var(--sl-text);
  word-break: break-word;
}
.pm-bk-text strong {
  font-weight: 700;
  color: var(--sl-text-hi);
}
.pm-bk-text.is-muted {
  color: var(--sl-muted);
  margin-top: 1px;
}
.pm-bk-dim {
  font-weight: 400;
  color: var(--sl-faint);
}
.pm-bk-good {
  color: #2bac76;
  font-weight: 700;
}

/* Section divider — like Slack's divider block */
.pm-bk-divider {
  height: 1px;
  margin: 8px 0;
  background: var(--sl-border);
  border: 0;
}

/* Fields block — two columns, label bold above value */
.pm-bk-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin: 8px 0 4px;
}
.pm-bk-field-lab {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--sl-text-hi);
  line-height: 1.3;
  margin-bottom: 2px;
}
.pm-bk-field-val {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--sl-text);
  line-height: 1.35;
}
.pm-bk-field-val.is-good {
  color: #2bac76;
  font-weight: 700;
}

/* Actions block — Slack button styles */
.pm-bk-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 2px;
}
.pm-bk-btn {
  appearance: none;
  border: none;
  background: #007a5a;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0 12px;
  height: 28px;
  border-radius: 4px;
  cursor: default;
  font-family: inherit;
  line-height: 28px;
  white-space: nowrap;
}
.pm-bk-btn:not(.is-primary) {
  background: #1a1d21;
  color: var(--sl-text-hi);
  box-shadow: inset 0 0 0 1px #565856;
}
.pm-bk-btn.is-primary {
  background: #007a5a;
  color: #fff;
  box-shadow: none;
}
.pm-bk-context {
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--sl-faint);
  font-weight: 400;
}

/* Reply rows — plain Block Kit sections, not mini-cards */
.pm-bk-reply .pm-bk-text strong {
  font-weight: 700;
}

/* Swap tools inside a section */
.pm-swap-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 2px 0 4px;
}
.pm-swap-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 3px;
  border-radius: 4px;
  border: 1px solid var(--sl-border-light);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sl-text);
}
.pm-swap-tool.is-from {
  opacity: 0.55;
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.pm-swap-tool.is-to {
  border-color: rgba(43, 172, 118, 0.4);
  background: rgba(43, 172, 118, 0.08);
  color: var(--sl-text-hi);
}
.pm-swap-arrow {
  color: var(--sl-faint);
  font-size: 0.9rem;
}

.pm-logo-img {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}

/* Loaded tool chips */
.pm-loaded-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.pm-loaded-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 3px;
  border-radius: 4px;
  border: 1px solid var(--sl-border-light);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--sl-text);
}

/* Composer */
.pm-composer {
  flex-shrink: 0;
  padding: 0 12px 12px;
  background: var(--sl-bg);
}
.pm-composer-box {
  border: 1px solid var(--sl-border-light);
  border-radius: 8px;
  background: var(--sl-input);
  padding: 8px 10px 6px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}
.pm-composer-placeholder {
  font-size: 0.88rem;
  color: var(--sl-faint);
  min-height: 1.3em;
  margin-bottom: 6px;
}
.pm-composer-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sl-faint);
  font-size: 0.85rem;
}
.pm-composer-tools span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  opacity: 0.75;
}
.pm-composer-send {
  margin-left: auto !important;
  color: #fff !important;
  background: #007a5a;
  border-radius: 4px !important;
  opacity: 1 !important;
  font-size: 0.7rem !important;
}
.pm-composer-thread {
  border-top: 1px solid var(--sl-border);
  padding-top: 10px;
}
.pm-also-send {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--sl-muted);
  user-select: none;
}
.pm-also-send strong {
  color: var(--sl-text);
  font-weight: 700;
}
.pm-check {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--sl-border-light);
  background: transparent;
  display: inline-block;
}

/* Hide legacy helpers */
.pm-live,
.pm-foot-metric,
.pm-caption {
  display: none !important;
}

/* Narrow hero: collapse sidebar width slightly */
@media (max-width: 1100px) {
  #pangeaMirror { max-width: 100%; }
  .pm-slack-sidebar { width: 140px; }
}
@media (max-width: 900px) {
  .pm-slack-sidebar { display: none; }
  .pm-ws-rail { width: 40px; }
}

/* —— How it works story polish —— */
#howItWorks {
  position: relative !important;
  z-index: 1 !important;
  opacity: 1 !important;
  background: #111214;
}
/* Lean how-it-works: main label + 3 sub-headers only (large, clear) */
#howItWorks .eyebrow,
#howItWorks .rail .eyebrow,
html[data-home-layout="desktop"] #howItWorks .rail .eyebrow,
html[data-home-layout="compact"] #howItWorks .rail .eyebrow {
  /* Same face as hero H1 ("Agents that mirror…") */
  font-family: var(--font-pixel-line), geistPixelLine, ui-monospace, monospace !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem) !important;
  font-weight: 400 !important;
  color: #ff7a3a !important;
  margin-bottom: 0.35rem !important;
  line-height: 1.15 !important;
  -webkit-font-smoothing: none !important;
  text-rendering: geometricPrecision !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Zero-size scroll-focus anchor (keeps Giga handoff geometry) */
#howItWorks .pangea-head-anchor,
#howItWorks .rail h3.pangea-head-anchor {
  display: block !important;
  height: 1px !important;
  width: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
  font-size: 1px !important;
  line-height: 1px !important;
  pointer-events: none !important;
}
#howItWorks .rail .intro,
#howItWorks .step .body,
#howItWorks .step p,
#howItWorks .pangea-how-lean .rail-copy .intro,
#howItWorks .pangea-how-lean .rail-copy p {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

/*
 * Sub-headers: always solid white; dim via opacity from --step-title-op.
 * Giga originally set opacity:var(--step-title-op) but other rules left titles
 * looking permanently grey — force the active path to pure white @ 1.
 */
#howItWorks .step h4,
html[data-home-layout="desktop"] #howItWorks .step h4 {
  font-family: var(--font-geist), system-ui, sans-serif !important;
  letter-spacing: -0.03em !important;
  font-size: clamp(1.4rem, 2.2vw, 1.95rem) !important;
  line-height: 1.22 !important;
  max-width: 16ch !important;
  font-weight: 550 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: var(--step-title-op, 0.32) !important;
  transition: opacity 0.4s ease !important;
}
#howItWorks .step.active h4,
#howItWorks .step[data-state="active"] h4,
html[data-home-layout="desktop"] #howItWorks .step.active h4 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}
#howItWorks .pangea-step-lean {
  padding-top: 1.15rem !important;
  padding-bottom: 1.15rem !important;
}
#howItWorks .pangea-how-lean .steps {
  margin-top: 0.75rem !important;
  gap: 0.5rem !important;
}
#howItWorks .pangea-how-lean .step {
  opacity: 1 !important; /* never dim the whole step shell */
}

/*
 * Step visuals live in stage panels (desktop) or row panels (compact).
 * Never mount/show them as a direct child of the text rail.
 */
.rail .pangea-visuals,
.sticky > .pangea-visuals,
.rowInner > .pangea-visuals {
  display: none !important;
}

/* Stage inner is a sticky frame; panels must OVERLAY (not stack) */
#howItWorks .how-stage-inner {
  position: sticky !important;
  /* keep Giga height if set; ensure a frame for absolute children */
  min-height: 360px;
}

#howItWorks .how-stage-inner .panel,
#howItWorks .how-stage .panel.pangea-stage-panel,
#howItWorks .panel.pangea-stage-panel {
  /* Critical: absolute so Visibility/Implementation/Improvement share one frame */
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  background:
    radial-gradient(
      ellipse 80% 70% at 50% 40%,
      rgba(255, 255, 255, 0.04),
      transparent 70%
    ),
    rgba(12, 13, 15, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
}

/* Kill Giga Mirror/console demos inside the stage when our cards own it */
#howItWorks .panel.pangea-stage-panel > :not(.pangea-visuals) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.pangea-visuals {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  box-sizing: border-box;
  pointer-events: none;
}
.pangea-visuals .pv-screen {
  grid-area: 1 / 1;
  width: min(100%, 440px);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.pangea-visuals .pv-screen.is-on {
  opacity: 1;
  transform: none;
}
.pv-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 20px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  padding: 1.1rem 1.15rem 1rem;
  color: #fff;
}
.pv-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 0.85rem;
}
.pv-caption {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
}
.pv-feed { display: flex; flex-direction: column; gap: 0.45rem; }
.pv-row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 0.55rem;
  align-items: start;
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.pv-row.dim { opacity: 0.45; }
.pv-row b { font-weight: 560; color: #fff; }
.pv-row span:last-child {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.35);
  font-variant-numeric: tabular-nums;
}
.pv-dot {
  width: 7px; height: 7px; border-radius: 50%;
  margin-top: 0.35rem;
  background: #8fd4a8;
  box-shadow: 0 0 0 3px rgba(143, 212, 168, 0.12);
}
.pv-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.pv-metrics > div {
  border-radius: 12px;
  padding: 0.7rem 0.55rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.pv-metrics em {
  display: block;
  font-style: normal;
  font-size: 1.25rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  color: #8fd4a8;
}
.pv-metrics span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
}
.pv-board-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
}
.pv-board-line span { color: rgba(255, 255, 255, 0.42); }
.pv-board-line b { font-weight: 550; color: #fff; }
.pv-swap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.pv-tool {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}
.pv-tool.on {
  border-color: rgba(143, 212, 168, 0.35);
  background: rgba(143, 212, 168, 0.1);
  color: #fff;
}
.pv-tool img {
  width: 18px; height: 18px; border-radius: 5px;
  object-fit: contain; background: #fff;
}
.pv-arrow { color: rgba(255, 255, 255, 0.35); font-size: 0.9rem; }
.pv-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.pv-split > div {
  border-radius: 12px;
  padding: 0.8rem 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pv-split > div.good {
  border-color: rgba(143, 212, 168, 0.3);
  background: rgba(143, 212, 168, 0.08);
}
.pv-split b {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.pv-split em {
  display: block;
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  color: #fff;
}
.pv-split .good em { color: #8fd4a8; }
.pv-split span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}
.pv-stack { display: flex; flex-direction: column; gap: 0.4rem; }
.pv-stack-row {
  display: grid;
  grid-template-columns: 22px 72px 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
}
.pv-stack-row img {
  width: 22px; height: 22px; border-radius: 6px;
  object-fit: contain; background: #fff;
}
.pv-stack-row span { color: rgba(255, 255, 255, 0.55); }
.pv-stack-row b { font-weight: 500; color: #fff; }
.pv-net { display: flex; flex-direction: column; gap: 0.4rem; }
.pv-net-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}
.pv-net-row b { color: #8fd4a8; font-weight: 560; }
.pv-net-row.dim { opacity: 0.5; }
.pv-reco {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.pv-reco > div {
  border-radius: 12px;
  padding: 0.8rem 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pv-reco > div.good {
  border-color: rgba(143, 212, 168, 0.3);
  background: rgba(143, 212, 168, 0.08);
}
.pv-reco span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.25rem;
}
.pv-reco em {
  display: block;
  font-style: normal;
  font-size: 1.4rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  color: #fff;
}
.pv-reco .good em { color: #8fd4a8; }
.pv-reco small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}
.pv-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.25rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
}
.pv-flow span {
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}
.pv-flow i {
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  display: inline-block;
}

/* industriesBento is removed in JS; keep collapsed if it reappears */
#industriesBento {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#languages {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Footer + black void under the page — removed */
footer,
.bg-footer-reveal-void,
[class*="footer-reveal"] {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* —— Bottom CTA: short line + pixel mice swarm —— */
#pangeaCta,
.pangea-cta {
  position: relative !important;
  overflow: hidden !important;
  margin-top: 3rem !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  background: #111214 !important;
}

/* Inner frames that Giga sized tall — collapse extra black */
#pangeaCta .relative.overflow-hidden.pt-16,
#pangeaCta [class*="min-h-"],
.pangea-cta [class*="min-h-"] {
  min-height: 0 !important;
  padding-top: 2.5rem !important;
  padding-bottom: 3rem !important;
}
#pangeaCta .relative.z-10.pb-16,
.pangea-cta .relative.z-10.pb-16 {
  padding-bottom: 2.5rem !important;
}

.pangea-cta .pangea-cta-title,
#pangeaCta h2 {
  max-width: 22ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  font-family: var(--font-geist), "Geist Sans", system-ui, sans-serif !important;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.025em !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  -webkit-font-smoothing: antialiased !important;
}

/* Tighten CTA copy stack */
#pangeaCta .relative.z-10.flex.flex-col,
.pangea-cta .relative.z-10.flex.flex-col {
  align-items: center !important;
  text-align: center !important;
  gap: 1.1rem !important;
  padding-top: 2.25rem !important;
  padding-bottom: 2.75rem !important;
}

.pangea-cta-form {
  position: relative !important;
  z-index: 2 !important;
  margin-top: 0.5rem !important;
}

.pangea-cta-send {
  position: relative !important;
  z-index: 2 !important;
  transition: transform 0.12s ease, box-shadow 0.12s ease !important;
}
.pangea-cta-send.is-clicked {
  transform: scale(0.9) !important;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12) !important;
}

/* Pixel mice layer — above the email field so cursors land on top */
.pangea-mice {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  overflow: hidden;
}
.pangea-mouse {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 28px;
  will-change: transform, opacity;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.35));
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.pangea-mouse-svg {
  display: block;
  width: 22px;
  height: 28px;
  image-rendering: pixelated;
}
.pangea-mouse.is-click {
  filter: drop-shadow(0 0 0 transparent) brightness(1.15);
}
.pangea-mouse.is-fade {
  pointer-events: none;
}

.pangea-click-ring {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  animation: pangea-ring 0.48s ease-out forwards;
  pointer-events: none;
}
@keyframes pangea-ring {
  0% {
    transform: scale(0.4);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* No extra black slab after last section */
main#main,
#main {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
body {
  padding-bottom: 0 !important;
}

/* Cookiebot iframes were leaving ~300px dead space under the page */
iframe.CybotCookiebotHiddenIframe,
iframe.CybotCookiebotOffscreenIframe,
iframe[name="__uspapiLocator"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

@media (prefers-reduced-motion: reduce) {
  #pangeaAurora .pa-canvas { opacity: 0.5 !important; filter: blur(16px); }
  .pm-insight, .pm-bubble, .pm-tool { transition: none !important; }
}

/* —— Thin / compact layouts —— */
@media (max-width: 1100px) {
  #pangeaStage {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
    align-content: start;
    padding-top: 5.25rem;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .pm-copy-col {
    order: 1;
    max-width: 100%;
  }
  #pangeaMirror {
    order: 2;
    max-width: 100%;
    margin-left: 0;
  }
  .pm-slack-app {
    height: min(58vh, 520px);
  }
  .pm-slack-sidebar {
    display: none !important;
  }
  .pm-slack-thread {
    width: min(100%, 92%) !important;
    max-width: none !important;
  }
  #heroTitle .hero-line {
    white-space: nowrap !important;
  }
}

@media (max-width: 809px) {
  #pangeaStage {
    padding: 4.75rem 16px 1.25rem;
    row-gap: 1rem;
  }
  #heroCopy h1,
  #heroTitle {
    font-size: clamp(1.55rem, 7.2vw, 2.15rem) !important;
    letter-spacing: 0.04em !important;
  }
  #heroSub h2 {
    font-size: 1rem !important;
    max-width: 28ch !important;
  }
  .pm-slack-app {
    height: min(52vh, 440px);
  }
  .pm-ws-rail {
    width: 40px !important;
  }
  .pm-msg-body,
  .pm-bk-text {
    font-size: 0.84rem !important;
  }
  /* Compact how-it-works: stack text + visual in each row */
  #howItWorks .how-stage {
    display: none !important;
  }
  #howItWorks .how-rails,
  #howItWorks .rail {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  #howItWorks .rowSection .sticky {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
  }
  #howItWorks .rowSection .rowInner {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1rem !important;
  }
  #howItWorks .panel.pangea-stage-panel,
  #howItWorks .rowSection .panel {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 260px !important;
    margin: 0.5rem 0 1.25rem !important;
    opacity: 1 !important;
    transform: none !important;
  }
  #howItWorks .panel.pangea-stage-panel .pangea-visuals,
  #howItWorks .rowSection .panel .pangea-visuals {
    display: grid !important;
    position: relative !important;
    inset: auto !important;
    min-height: 240px;
    padding: 1rem !important;
  }
  #howItWorks .step h4,
  html[data-home-layout="desktop"] #howItWorks .step h4,
  html[data-home-layout="compact"] #howItWorks .step h4 {
    font-size: clamp(1.15rem, 5vw, 1.45rem) !important;
    max-width: 20ch !important;
  }
  #howItWorks .eyebrow,
  #howItWorks .rail .eyebrow {
    font-size: clamp(1.45rem, 6.5vw, 2rem) !important;
  }
  /* CTA mice + form */
  #pangeaCta h2,
  .pangea-cta-title {
    font-size: clamp(1.4rem, 6.5vw, 1.9rem) !important;
    max-width: 16ch !important;
  }
}

/* Compact data-attr path (Giga sets this under ~1200) */
html[data-home-layout="compact"] #pangeaStage,
html[data-hero-layout="compact"] #pangeaStage {
  grid-template-columns: 1fr !important;
  row-gap: 1.1rem !important;
  padding-top: 4.75rem !important;
}
html[data-home-layout="compact"] #pangeaMirror,
html[data-hero-layout="compact"] #pangeaMirror {
  max-width: 100% !important;
}
html[data-home-layout="compact"] .pm-slack-sidebar,
html[data-hero-layout="compact"] .pm-slack-sidebar {
  display: none !important;
}
html[data-home-layout="compact"] .pm-slack-app,
html[data-hero-layout="compact"] .pm-slack-app {
  height: min(54vh, 460px) !important;
}
html[data-home-layout="compact"] #howItWorks .panel.pangea-stage-panel .pangea-visuals,
html[data-home-layout="compact"] #howItWorks .rowSection .panel .pangea-visuals {
  display: grid !important;
  position: relative !important;
  min-height: 240px;
}
html[data-home-layout="compact"] #howItWorks .panel.pangea-stage-panel,
html[data-home-layout="compact"] #howItWorks .rowSection .panel {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 260px !important;
  opacity: 1 !important;
}
