/* Marketing hierarchy: compact scenes, readable feature crops, optional previews.
   Load after the existing visual styles. The hero and platform strip stay intact. */
#challenges {
  padding: 64px clamp(20px, 4vw, 64px) 56px;
}
#challenges .pain-heading { margin-bottom: 32px; }
#challenges .pain-heading > p { margin-bottom: 12px; font-size: 18px; }
#challenges .pain-heading h2 { font-size: clamp(32px, 3.4vw, 48px); }
#challenges .pain-scenes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
#challenges .pain-office { grid-column: auto; }
#challenges .pain-photo,
#challenges .pain-office .pain-photo {
  height: 440px;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 18px;
}
#challenges .pain-photo::after,
#challenges .pain-office .pain-photo::after,
#challenges .pain-night .pain-photo::after {
  background: linear-gradient(180deg, #fcf9ff00 15%, #fcf9ff08 29%, #fcf9ffb8 49%, #fcf9fff5 74%, #fcf9fff9 100%);
}
#challenges .pain-office .pain-photo { --pain-focus: 38% 27%; }
#challenges .pain-owner .pain-photo { --pain-focus: 54% 25%; }
#challenges .pain-night .pain-photo { --pain-focus: 80% 27%; }
#challenges .pain-photo-copy,
#challenges .pain-office .pain-photo-copy {
  inset: auto 24px 24px;
  max-width: none;
}
#challenges .pain-photo-copy h3,
#challenges .pain-office .pain-photo-copy h3 { font-size: clamp(24px, 2vw, 28px); line-height: 1.4; }
#challenges .pain-photo-copy p,
#challenges .pain-office .pain-photo-copy p { margin-top: 10px; font-size: 16px; line-height: 1.65; }
#challenges .pain-link { margin-top: 10px; font-size: 16px; line-height: 1.65; }
#challenges .pain-inbox { display: none; }
#challenges .pain-solution { margin-top: 32px; padding: 30px 20px 0; }
#challenges .pain-solution h3 { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.35; }
#challenges .pain-solution > p { margin-top: 14px; font-size: 17px; line-height: 1.75; }
#challenges .pain-solution > a { margin-top: 18px; }

/* Each crop is a window onto the original high-resolution client asset.
   The frame clips unused interface space; the page never scrolls sideways. */
#reception,
#stores {
  grid-template-columns: 40% 60%;
  min-height: 500px;
}
#reception > .section-copy,
#stores > .section-copy { padding-top: 48px; padding-bottom: 48px; padding-right: 28px; }
#reception .section-copy h2,
#stores .section-copy h2,
#workflow .section-copy h2 { font-size: clamp(34px, 3.4vw, 46px); letter-spacing: -1px; }
#reception .description,
#stores .description,
#workflow .description { font-size: 18px; line-height: 1.8; }
#reception .quiet-note { font-size: 14px; line-height: 1.7; }
#reception .module-stage { min-height: 0; height: 490px; }
#reception .module-frame {
  width: 288px;
  height: 414px;
  left: calc(50% - 144px);
  top: 36px;
  overflow: hidden;
  transform: rotateX(calc(5deg + var(--py, 0deg))) rotateY(calc(-8deg + var(--px, 0deg))) rotateZ(3deg);
}
#reception .module-frame > img {
  position: absolute;
  right: 4px;
  top: 4px;
  width: calc((100% - 8px) * 4.706);
  max-width: none;
  height: auto;
  aspect-ratio: 4800 / 2952;
  border-radius: 7px;
}
#stores .store-network { height: 490px; min-height: 490px; }
#stores .store-network .module-frame {
  width: 224px;
  height: 410px;
  left: calc(50% - 112px);
  top: 30px;
  overflow: hidden;
  transform: rotateX(calc(4deg + var(--py, 0deg))) rotateY(calc(-8deg + var(--px, 0deg))) rotateZ(-3deg);
}
#stores .store-network .module-frame > img { width: 100%; height: auto; }
#stores .store-channel { font-size: 15px; }
#stores .store-channel img { width: 42px; height: 42px; flex-basis: 42px; }

#workflow { min-height: 0; padding-top: 48px; padding-bottom: 24px; }
#workflow .section-copy { padding: 0 28px; }
#workflow .module-workflow { height: 390px; max-width: 1000px; margin-top: 24px; }
#workflow .module-frame {
  width: min(80%, 780px);
  height: 350px;
  left: 10%;
  top: 15px;
  overflow: hidden;
  transform: rotateX(calc(6deg + var(--py, 0deg))) rotateY(calc(5deg + var(--px, 0deg))) rotateZ(-2deg);
}
#workflow .module-frame > img {
  position: absolute;
  width: 145%;
  max-width: none;
  height: auto;
  left: -24%;
  top: -160px;
  aspect-ratio: 3600 / 2952;
}

.feature-grid:not(.secondary-features) { gap: 12px; }
.feature-grid:not(.secondary-features) > .tile {
  height: auto;
  min-height: 0;
  padding: 40px 0 26px;
}
.feature-grid:not(.secondary-features) > .tile h2 { font-size: clamp(30px, 2.8vw, 40px); }
.feature-grid:not(.secondary-features) > .tile .description { font-size: 17px; line-height: 1.8; }
.feature-grid:not(.secondary-features) > .tile .module-stage { height: 380px; margin-top: 24px; }
#intelligence .module-frame {
  width: min(86%, 580px);
  height: 330px;
  left: 7%;
  top: 15px;
  overflow: hidden;
  transform: rotateX(calc(5deg + var(--py, 0deg))) rotateY(calc(-6deg + var(--px, 0deg))) rotateZ(-2deg);
}
#intelligence .module-frame > img {
  position: absolute;
  width: 1000px;
  max-width: none;
  height: auto;
  left: -240px;
  top: -95px;
  aspect-ratio: 3600 / 2952;
}
#intent .module-frame {
  width: 264px;
  height: 340px;
  left: calc(50% - 132px);
  top: 15px;
  overflow: hidden;
  transform: rotateX(calc(4deg + var(--py, 0deg))) rotateY(calc(-7deg + var(--px, 0deg))) rotateZ(3deg);
}
#intent .module-frame > img { width: 100%; height: auto; }

/* Support tools remain available without competing with core reception. */
#more-features {
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 28px;
  color: #17151f;
}
#more-features > summary {
  padding: 24px 0;
  border-top: 1px solid #ddd5ec;
  border-bottom: 1px solid #ddd5ec;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.7;
  cursor: pointer;
}
#more-features > summary::marker { color: #7541ef; }
#more-features > summary:focus-visible { outline: 3px solid #7541ef; outline-offset: 6px; }
#more-features .secondary-features { margin: 24px auto 0; gap: 20px; }
#more-features .secondary-features > .tile { height: auto; padding: 28px 0 16px; border-radius: 16px; }
#more-features .tile h2 { font-size: 30px; letter-spacing: -.5px; }
#more-features .tile .description { font-size: 16px; }
#more-features .quiet-note { font-size: 14px; line-height: 1.7; }
#more-features .preview-chip { font-size: 13px; }
#more-features .tile .module-stage { height: 280px; margin-top: 18px; }
#more-features .module-frame { width: min(86%, 480px); left: 7%; top: 10px; transform: rotateX(4deg) rotateY(-4deg) rotateZ(-1deg); }

@media (min-width: 761px) and (max-width: 1100px) {
  #challenges { padding: 48px 28px; }
  #challenges .pain-scenes { gap: 16px; }
  #challenges .pain-photo,
  #challenges .pain-office .pain-photo { height: 460px; }
  #challenges .pain-photo-copy,
  #challenges .pain-office .pain-photo-copy { inset: auto 18px 20px; }
  #challenges .pain-photo-copy h3,
  #challenges .pain-office .pain-photo-copy h3 { font-size: 23px; }
  #challenges .pain-photo-copy br { display: none; }
  #reception > .section-copy,
  #stores > .section-copy { padding-left: 28px; padding-right: 20px; }
  #reception .section-copy h2,
  #stores .section-copy h2,
  #workflow .section-copy h2 { font-size: 36px; }
  #reception .description,
  #stores .description,
  #workflow .description { font-size: 17px; }
  #stores .store-network { --channel-left: 11%; --channel-right: 89%; --channel-left-inner: 11%; --channel-right-inner: 89%; }
  #stores .store-channel { width: 92px; font-size: 13px; }
  #stores .store-channel img { width: 34px; height: 34px; flex-basis: 34px; }
  #stores .store-network .module-frame { width: 200px; left: calc(50% - 100px); height: 410px; }
  #intelligence .module-frame > img { width: 820px; left: -205px; top: -80px; }
  #more-features .tile .module-stage { height: 225px; }
}

@media (max-width: 760px) {
  #challenges { padding: 44px 18px 40px; }
  #challenges .pain-heading { margin-bottom: 24px; }
  #challenges .pain-heading > p { font-size: 16px; }
  #challenges .pain-heading h2 { font-size: 32px; }
  #challenges .pain-scenes {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% - 24px);
    gap: 14px;
    max-width: 540px;
    margin: auto;
    padding-bottom: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: thin;
    scrollbar-color: #b39acb #f0e9f8;
  }
  #challenges .pain-scenes:focus-visible { outline: 3px solid #7541ef; outline-offset: 5px; }
  #challenges .pain-scene { scroll-snap-align: start; scroll-snap-stop: normal; }
  #challenges .pain-photo,
  #challenges .pain-office .pain-photo { height: 390px; border-radius: 14px; }
  #challenges .pain-photo-copy,
  #challenges .pain-office .pain-photo-copy { inset: auto 20px 20px; }
  #challenges .pain-photo-copy h3,
  #challenges .pain-office .pain-photo-copy h3 { font-size: 24px; }
  #challenges .pain-photo-copy p,
  #challenges .pain-office .pain-photo-copy p,
  #challenges .pain-link { font-size: 16px; line-height: 1.65; }
  #challenges .pain-photo-copy p br { display: none; }
  #challenges .pain-solution { margin-top: 26px; padding: 24px 0 0; }
  #challenges .pain-solution h3 { font-size: 28px; }
  #challenges .pain-solution > p { font-size: 16px; }
  #reception,
  #stores { display: block; min-height: 0; padding-top: 36px; padding-bottom: 8px; }
  #reception > .section-copy,
  #stores > .section-copy { padding: 0 24px; text-align: center; }
  #reception .section-copy h2,
  #stores .section-copy h2,
  #workflow .section-copy h2 { font-size: 32px; }
  #reception .description,
  #stores .description,
  #workflow .description { font-size: 16px; }
  #reception .quiet-note { font-size: 14px; }
  #reception .module-stage { height: 375px; margin-top: 20px; }
  #reception .module-frame { width: 258px; height: 330px; left: calc(50% - 129px); top: 12px; transform: rotateX(4deg) rotateY(-5deg) rotateZ(2deg); }
  #stores .store-network { height: 375px; min-height: 375px; margin-top: 18px; --channel-left: 11%; --channel-right: 89%; --channel-left-inner: 11%; --channel-right-inner: 89%; }
  #stores .store-network .module-frame { width: 200px; height: 324px; left: calc(50% - 100px); top: 19px; transform: rotateX(3deg) rotateY(-5deg) rotateZ(-2deg); }
  #stores .store-channel { width: 72px; font-size: 12px; gap: 5px; }
  #stores .store-channel img { width: 28px; height: 28px; flex-basis: 28px; }
  #workflow { padding-top: 36px; padding-bottom: 12px; }
  #workflow .section-copy { padding: 0 24px; }
  #workflow .module-workflow { height: clamp(275px, calc(54vw + 45px), 405px); margin-top: 20px; }
  #workflow .module-frame { width: 88%; height: clamp(230px, 54vw, 360px); left: 6%; top: 12px; transform: rotateX(4deg) rotateY(3deg) rotateZ(-1deg); }
  #workflow .module-frame > img { width: 225%; left: -56.25%; top: calc(-44vw + 15px); }
  .feature-grid:not(.secondary-features) { gap: 8px; }
  .feature-grid:not(.secondary-features) > .tile { padding: 34px 0 16px; }
  .feature-grid:not(.secondary-features) > .tile .section-copy { padding: 0 24px; }
  .feature-grid:not(.secondary-features) > .tile h2 { font-size: 32px; }
  .feature-grid:not(.secondary-features) > .tile .description { font-size: 16px; }
  .feature-grid:not(.secondary-features) > .tile .module-stage { height: 330px; margin-top: 20px; }
  #intelligence .module-frame { width: 86%; height: 280px; left: 7%; top: 12px; transform: rotateX(4deg) rotateY(-4deg) rotateZ(-1deg); }
  #intelligence .module-frame > img { width: 820px; left: -220px; top: -110px; }
  #intent .module-frame { width: 238px; height: 280px; left: calc(50% - 119px); top: 12px; transform: rotateX(3deg) rotateY(-4deg) rotateZ(2deg); }
  #more-features { margin: 26px auto; padding: 0 22px; }
  #more-features > summary { padding: 18px 0; font-size: 18px; }
  #more-features .secondary-features { gap: 14px; margin-top: 18px; }
  #more-features .tile h2 { font-size: 28px; }
  #more-features .tile .module-stage { height: 235px; }
  #more-features .module-frame { width: 88%; left: 6%; }
}

@media (max-width: 360px) {
  #challenges .pain-photo,
  #challenges .pain-office .pain-photo { height: 390px; }
  #challenges .pain-photo-copy,
  #challenges .pain-office .pain-photo-copy { left: 18px; right: 18px; }
  #challenges .pain-heading h2 { font-size: 30px; }
  #stores .store-network .module-frame { width: 172px; left: calc(50% - 86px); }
  #stores .store-channel { width: 66px; }
  #stores .store-channel img { width: 26px; height: 26px; flex-basis: 26px; }
  #more-features .tile .module-stage { height: 200px; }
}
