html body.system-demo-page {
  overflow-x: clip;
  background: var(--paper);
}

body.system-demo-page main {
  overflow: clip;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.demo-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
}

.demo-breadcrumb::before {
  content: "←";
  color: var(--green);
  transition: transform 180ms ease;
}

.demo-breadcrumb:hover::before {
  transform: translateX(-3px);
}

.demo-hero {
  width: var(--shell);
  min-height: min(820px, calc(100vh - 116px));
  margin: 8px auto 30px;
  padding: clamp(50px, 6vw, 92px);
  display: grid;
  grid-template-columns: minmax(340px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(50px, 7vw, 112px);
  align-items: center;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(23, 36, 44, 0.09);
  border-radius: var(--radius-lg);
}

.demo-hero-copy {
  position: relative;
  z-index: 4;
}

.demo-hero h1 {
  max-width: 760px;
  margin: 0 0 28px;
  font-family: ui-rounded, "Arial Rounded MT Bold", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(51px, 6.3vw, 92px);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.demo-lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: #526068;
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.55;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}

.demo-note {
  max-width: 620px;
  margin: 34px 0 0;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
}

.demo-note strong {
  color: var(--ink);
}

.demo-hero-stage {
  position: relative;
  min-height: 650px;
  isolation: isolate;
}

.demo-stage-backdrop {
  position: absolute;
  z-index: -2;
  inset: 8% -18% 4% 3%;
  background: var(--lime);
  border-radius: 42px;
  transform: rotate(-3deg);
}

html body.system-demo-page .system-shot {
  align-self: auto;
  margin: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html body.system-demo-page .demo-browser.system-shot {
  overflow: hidden;
  background: #fff;
  border: 8px solid #fff;
  border-radius: 20px;
  box-shadow: 0 32px 75px rgba(16, 25, 31, 0.21);
}

.demo-browser-bar {
  min-height: 34px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #738087;
  background: #edf0ed;
  border-bottom: 1px solid rgba(23, 36, 44, 0.08);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.03em;
}

.demo-browser-bar i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: #b4bdb8;
  border-radius: 50%;
}

.demo-browser-bar span {
  margin-left: auto;
  margin-right: auto;
}

html body.system-demo-page .system-shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.demo-browser-hero {
  position: absolute;
  z-index: 1;
  top: 10%;
  left: 0;
  width: 91%;
  transform: rotate(-2deg);
}

.phone-shot {
  width: clamp(228px, 21vw, 306px);
}

.phone-shot-hero {
  position: absolute;
  z-index: 3;
  right: -1%;
  bottom: 1%;
  transform: rotate(3deg);
}

.iphone-frame {
  position: relative;
  width: 100%;
  padding: 10px;
  background: #0d1113;
  border: 1px solid #3c4449;
  border-radius: 49px;
  box-shadow: 0 30px 65px rgba(16, 25, 31, 0.3), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.iphone-frame::before {
  position: absolute;
  content: "";
  z-index: 4;
  top: 98px;
  left: -4px;
  width: 3px;
  height: 66px;
  background: #0d1113;
  border-radius: 3px 0 0 3px;
}

.iphone-frame::after {
  position: absolute;
  content: "";
  z-index: 4;
  top: 116px;
  right: -4px;
  width: 3px;
  height: 82px;
  background: #0d1113;
  border-radius: 0 3px 3px 0;
}

.iphone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 39px;
}

.iphone-status-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 39px;
  flex: 0 0 39px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #080a0b;
  background: #fff;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1;
  pointer-events: none;
}

.iphone-network {
  max-width: 28%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iphone-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.iphone-signal {
  width: 13px;
  height: 10px;
  display: flex;
  align-items: flex-end;
  gap: 1px;
}

.iphone-signal i {
  width: 2px;
  display: block;
  background: currentColor;
  border-radius: 2px 2px 0 0;
}

.iphone-signal i:nth-child(1) { height: 4px; }
.iphone-signal i:nth-child(2) { height: 6px; }
.iphone-signal i:nth-child(3) { height: 8px; }
.iphone-signal i:nth-child(4) { height: 10px; }

.iphone-data {
  font-size: 7px;
  font-weight: 900;
}

.iphone-battery {
  position: relative;
  width: 17px;
  height: 9px;
  padding: 1px;
  display: block;
  border: 1.2px solid currentColor;
  border-radius: 3px;
}

.iphone-battery::after {
  position: absolute;
  content: "";
  top: 2px;
  right: -3px;
  width: 2px;
  height: 4px;
  background: currentColor;
  border-radius: 0 2px 2px 0;
}

.iphone-battery i {
  width: 100%;
  height: 100%;
  display: block;
  background: currentColor;
  border-radius: 1px;
}

.iphone-screen::after {
  position: absolute;
  content: "";
  z-index: 4;
  top: 7px;
  left: 50%;
  width: 31%;
  height: 24px;
  background: #080a0b;
  border-radius: 999px;
  transform: translateX(-50%);
  pointer-events: none;
}

.iphone-screen .image-lightbox-trigger,
.iphone-screen img {
  border-radius: 0 0 38px 38px;
}

.demo-stage-label {
  position: absolute;
  z-index: 4;
  left: 4%;
  bottom: 4%;
  padding: 16px 19px;
  display: grid;
  gap: 2px;
  color: #fff;
  background: var(--ink);
  border-radius: 17px 17px 17px 4px;
  box-shadow: 0 16px 34px rgba(16, 25, 31, 0.2);
  transform: rotate(-2deg);
}

.demo-stage-label strong {
  font-size: 14px;
}

.demo-stage-label span {
  color: #c4ccd0;
  font-size: 11px;
}

.demo-flow {
  width: var(--shell);
  margin: 0 auto;
  padding: 24px clamp(10px, 3vw, 42px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.demo-flow li {
  min-width: 0;
  padding: 3px clamp(9px, 2vw, 26px);
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--line);
}

.demo-flow li:last-child {
  border-right: 0;
}

.demo-flow span {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
}

.demo-flow strong {
  font-size: clamp(12px, 1.1vw, 15px);
}

.demo-introduction {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(86px, 11vw, 160px) 0 clamp(72px, 9vw, 126px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.62fr);
  gap: clamp(48px, 9vw, 140px);
  align-items: end;
}

.demo-introduction h2,
.demo-feature h2,
.customer-journey h2,
.demo-cta h2 {
  margin: 0;
  font-family: ui-rounded, "Arial Rounded MT Bold", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.048em;
}

.demo-introduction h2 {
  max-width: 940px;
  font-size: clamp(47px, 5.5vw, 78px);
}

.demo-introduction-copy {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.demo-introduction-copy p {
  color: #566168;
  font-size: 18px;
  line-height: 1.62;
}

.demo-introduction-copy p:last-child {
  margin-bottom: 0;
}

.demo-feature {
  width: var(--shell);
  margin: 0 auto clamp(100px, 12vw, 170px);
  display: grid;
  grid-template-columns: minmax(300px, 0.66fr) minmax(0, 1.34fr);
  gap: clamp(52px, 8vw, 120px);
  align-items: center;
}

.demo-feature-reverse {
  grid-template-columns: minmax(0, 1.34fr) minmax(300px, 0.66fr);
}

.demo-feature-reverse .demo-feature-copy {
  grid-column: 2;
}

.demo-feature-reverse .demo-feature-visual {
  grid-column: 1;
  grid-row: 1;
}

.demo-feature-copy {
  max-width: 590px;
}

.demo-feature-number {
  width: 48px;
  height: 48px;
  margin-bottom: 36px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 850;
}

.demo-feature h2 {
  margin-bottom: 25px;
  font-size: clamp(43px, 4.4vw, 66px);
}

.demo-feature-copy > p:not(.eyebrow) {
  color: #566168;
  font-size: 18px;
  line-height: 1.62;
}

.demo-feature-points {
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.demo-feature-points li {
  position: relative;
  padding: 15px 0 15px 29px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 710;
  line-height: 1.4;
}

.demo-feature-points li::before {
  position: absolute;
  content: "✓";
  left: 2px;
  color: var(--green);
  font-weight: 900;
}

.demo-feature-visual {
  position: relative;
  min-width: 0;
  min-height: 715px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  isolation: isolate;
}

.visual-blue {
  background: var(--blue);
}

.visual-lime {
  background: var(--lime);
}

.visual-coral {
  background: var(--coral);
}

.feature-desktop-shot {
  position: absolute;
  z-index: 1;
  top: 9%;
  left: 5%;
  width: 88%;
  transform: rotate(-2deg);
}

.feature-phone-shot {
  position: absolute;
  z-index: 3;
  right: 3%;
  bottom: 4%;
  width: clamp(215px, 19vw, 282px);
  transform: rotate(3deg);
}

.demo-feature-reverse .feature-desktop-shot {
  left: 7%;
  transform: rotate(2deg);
}

.demo-feature-reverse .feature-phone-shot {
  right: auto;
  left: 3%;
  transform: rotate(-3deg);
}

.customer-journey {
  width: var(--shell);
  margin: 0 auto clamp(94px, 11vw, 150px);
  padding: clamp(62px, 8vw, 112px);
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius-lg);
}

.customer-journey .eyebrow {
  color: var(--lime);
}

.customer-journey-intro {
  margin-bottom: clamp(52px, 7vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.58fr);
  gap: clamp(46px, 8vw, 120px);
  align-items: end;
}

.customer-journey h2 {
  max-width: 850px;
  color: #fff;
  font-size: clamp(46px, 5.3vw, 76px);
}

.customer-journey-intro > p {
  margin: 0;
  color: #c4ccd0;
  font-size: 18px;
  line-height: 1.62;
}

.customer-portal-showcase {
  margin-bottom: clamp(76px, 9vw, 124px);
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.customer-portal-copy {
  max-width: 510px;
}

.customer-portal-label {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 8px 13px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-portal-copy h3,
.customer-flow-intro h3 {
  margin: 0;
  color: #fff;
  font-family: ui-rounded, "Arial Rounded MT Bold", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.045em;
}

.customer-portal-copy h3 {
  margin-bottom: 22px;
  font-size: clamp(35px, 3.6vw, 54px);
  line-height: 1;
}

.customer-portal-copy > p {
  color: #c4ccd0;
  font-size: 17px;
  line-height: 1.62;
}

.customer-portal-copy ul {
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  list-style: none;
}

.customer-portal-copy li {
  position: relative;
  padding: 14px 0 14px 27px;
  color: #eef1f2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  font-size: 14px;
  font-weight: 710;
}

.customer-portal-copy li::before {
  position: absolute;
  content: "✓";
  left: 1px;
  color: var(--lime);
  font-weight: 900;
}

.customer-portal-visual {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--green);
  border-radius: var(--radius-md);
}

.portal-desktop-shot {
  position: absolute;
  z-index: 1;
  top: 9%;
  left: 5%;
  width: 88%;
  transform: rotate(-2deg);
}

.portal-phone-shot {
  position: absolute;
  z-index: 3;
  right: 3%;
  bottom: 3%;
  width: clamp(215px, 18vw, 278px);
  transform: rotate(3deg);
}

.customer-flow-intro {
  max-width: 760px;
  margin-bottom: 44px;
}

.customer-flow-intro h3 {
  margin-bottom: 16px;
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1;
}

.customer-flow-intro > p:last-child {
  margin: 0;
  color: #c4ccd0;
  font-size: 17px;
  line-height: 1.6;
}

.customer-journey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.customer-step {
  min-width: 0;
  padding: clamp(21px, 3vw, 34px);
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius-md);
}

.customer-step:nth-child(even) {
  margin-top: 56px;
}

.customer-step header {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.customer-step header > span {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

.customer-step header p {
  margin: 0 0 2px;
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.customer-step h4 {
  margin: 0;
  font-family: ui-rounded, "Arial Rounded MT Bold", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(27px, 2.4vw, 38px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.04em;
}

.customer-step > p {
  min-height: 52px;
  margin-bottom: 24px;
  color: #5c676d;
  font-size: 15px;
  line-height: 1.55;
}

html body.system-demo-page .customer-shot.system-shot {
  border-width: 6px;
  border-color: #eef0ed;
  border-radius: 15px;
  box-shadow: 0 18px 45px rgba(16, 25, 31, 0.14);
}

.customer-shot .demo-browser-bar {
  min-height: 28px;
}

.demo-cta {
  width: var(--shell);
  margin: 0 auto 28px;
  padding: clamp(54px, 7vw, 94px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 52px;
  align-items: center;
  background: var(--lime);
  border-radius: var(--radius-lg);
}

.demo-cta .eyebrow {
  color: var(--ink);
}

.demo-cta h2 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(46px, 5.6vw, 78px);
}

.demo-cta p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(23, 36, 44, 0.76);
  font-size: 18px;
  line-height: 1.6;
}

.demo-cta-actions {
  min-width: 245px;
  display: grid;
  justify-items: start;
  gap: 22px;
}

/* Screenshot lightbox. The page script enhances every .system-shot image. */
.image-lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-lightbox-trigger:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: -4px;
}

.image-lightbox-trigger img {
  display: block;
  width: 100%;
}

.image-lightbox-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 36, 44, 0.13);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(16, 25, 31, 0.15);
  backdrop-filter: blur(10px);
}

.image-lightbox-hint svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.image-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color-scheme: dark;
  background: transparent;
  border: 0;
}

.image-lightbox::backdrop {
  background: rgba(10, 15, 18, 0.9);
  backdrop-filter: blur(12px);
}

.image-lightbox-panel {
  position: relative;
  width: min(1320px, calc(100% - 40px));
  height: min(92dvh, 900px);
  margin: 4dvh auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  background: #10161a;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 22px;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.46);
}

.image-lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: auto;
  background: #0a0e11;
}

.image-lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(92dvh - 76px);
  object-fit: contain;
}

.image-lightbox.is-zoomed .image-lightbox-stage {
  display: block;
}

.image-lightbox.is-zoomed .image-lightbox-stage img {
  width: 1440px;
  max-width: none;
  max-height: none;
}

.image-lightbox-close,
.image-lightbox-zoom,
.image-lightbox-footer button {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(16, 22, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  cursor: pointer;
}

.image-lightbox-close,
.image-lightbox-zoom {
  position: absolute;
  z-index: 2;
  top: 14px;
}

.image-lightbox-close {
  right: 14px;
}

.image-lightbox-zoom {
  right: 68px;
}

.image-lightbox button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.image-lightbox-footer {
  min-height: 70px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.image-lightbox-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

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

  .demo-hero-copy {
    max-width: 830px;
  }

  .demo-hero-stage {
    min-height: 700px;
  }

  .phone-shot-hero {
    width: 285px;
  }

  .demo-introduction {
    grid-template-columns: 1fr 0.7fr;
  }

  .demo-feature,
  .demo-feature-reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .demo-feature-copy,
  .demo-feature-reverse .demo-feature-copy {
    grid-column: 1;
    grid-row: 1;
    max-width: 780px;
  }

  .demo-feature-visual,
  .demo-feature-reverse .demo-feature-visual {
    grid-column: 1;
    grid-row: 2;
  }

  .feature-phone-shot,
  .demo-feature-reverse .feature-phone-shot {
    right: 4%;
    left: auto;
    width: 270px;
    transform: rotate(3deg);
  }

  .customer-journey-intro {
    grid-template-columns: 1fr 0.72fr;
  }

  .customer-portal-showcase {
    grid-template-columns: 1fr;
  }

  .customer-portal-copy {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  .demo-hero {
    min-height: auto;
    padding: 48px 30px 34px;
  }

  .demo-hero-stage {
    min-height: 620px;
  }

  .demo-flow {
    grid-template-columns: repeat(5, auto);
    overflow-x: auto;
    justify-content: start;
  }

  .demo-flow li {
    min-width: 130px;
  }

  .demo-introduction,
  .customer-journey-intro {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .demo-introduction-copy {
    max-width: 680px;
  }

  .customer-journey-grid {
    grid-template-columns: 1fr;
  }

  .customer-portal-visual {
    min-height: 650px;
  }

  .customer-step:nth-child(even) {
    margin-top: 0;
  }

  .customer-step > p {
    min-height: 0;
  }

  .demo-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .demo-breadcrumb {
    margin-bottom: 20px;
  }

  .demo-hero {
    margin-top: 4px;
    padding: 38px 22px 24px;
    gap: 38px;
  }

  .demo-hero h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  .demo-lead {
    font-size: 17px;
  }

  .demo-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-actions .button {
    width: 100%;
  }

  .demo-note {
    margin-top: 28px;
  }

  .demo-hero-stage {
    min-height: auto;
    padding: 20px 0 6px;
    display: grid;
  }

  .demo-stage-backdrop {
    inset: 2% -20px 3% 7%;
    border-radius: 28px;
  }

  .demo-browser-hero,
  .phone-shot-hero {
    position: relative;
    inset: auto;
  }

  .demo-browser-hero {
    width: 100%;
    transform: rotate(-1.5deg);
  }

  .phone-shot-hero {
    width: min(68%, 270px);
    margin: -28px 2% 0 auto;
    transform: rotate(2.5deg);
  }

  .demo-stage-label {
    left: 1%;
    bottom: 2%;
    padding: 13px 15px;
  }

  .demo-flow {
    width: calc(100% - 20px);
    padding-inline: 0;
  }

  .demo-introduction {
    padding: 82px 0 70px;
  }

  .demo-introduction h2,
  .customer-journey h2,
  .demo-cta h2 {
    font-size: clamp(41px, 12vw, 54px);
  }

  .demo-introduction-copy p,
  .demo-feature-copy > p:not(.eyebrow),
  .customer-journey-intro > p,
  .demo-cta p:not(.eyebrow) {
    font-size: 16px;
  }

  .demo-feature {
    margin-bottom: 92px;
    gap: 34px;
  }

  .demo-feature-number {
    margin-bottom: 28px;
  }

  .demo-feature h2 {
    font-size: clamp(39px, 11vw, 52px);
  }

  .demo-feature-visual {
    min-height: auto;
    padding: 22px 16px 26px;
    display: grid;
    gap: 24px;
  }

  .feature-desktop-shot,
  .feature-phone-shot,
  .demo-feature-reverse .feature-desktop-shot,
  .demo-feature-reverse .feature-phone-shot {
    position: relative;
    inset: auto;
  }

  .feature-desktop-shot,
  .demo-feature-reverse .feature-desktop-shot {
    width: 100%;
    transform: rotate(-1deg);
  }

  .feature-phone-shot,
  .demo-feature-reverse .feature-phone-shot {
    width: min(72%, 272px);
    margin: -12px auto 0;
    transform: rotate(1.5deg);
  }

  .iphone-frame {
    padding: 8px;
    border-radius: 43px;
  }

  .iphone-screen {
    border-radius: 35px;
  }

  .iphone-screen .image-lightbox-trigger,
  .iphone-screen img {
    border-radius: 0 0 35px 35px;
  }

  .customer-journey {
    padding: 54px 18px;
  }

  .customer-journey-intro {
    margin-bottom: 42px;
  }

  .customer-portal-showcase {
    margin-bottom: 74px;
    gap: 34px;
  }

  .customer-portal-copy h3,
  .customer-flow-intro h3 {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .customer-portal-copy > p,
  .customer-flow-intro > p:last-child {
    font-size: 16px;
  }

  .customer-portal-visual {
    min-height: auto;
    padding: 22px 16px 26px;
    display: grid;
    gap: 24px;
  }

  .portal-desktop-shot,
  .portal-phone-shot {
    position: relative;
    inset: auto;
  }

  .portal-desktop-shot {
    width: 100%;
    transform: rotate(-1deg);
  }

  .portal-phone-shot {
    width: min(72%, 272px);
    margin: -12px auto 0;
    transform: rotate(1.5deg);
  }

  .customer-step {
    padding: 19px;
  }

  .customer-step h4 {
    font-size: 29px;
  }

  html body.system-demo-page .customer-shot.system-shot {
    border-width: 4px;
  }

  .demo-cta {
    padding: 48px 23px;
    gap: 34px;
  }

  .demo-cta-actions,
  .demo-cta-actions .button {
    width: 100%;
  }

  .image-lightbox-panel {
    width: calc(100% - 16px);
    height: calc(100dvh - 16px);
    margin: 8px auto;
    border-radius: 14px;
  }

  .image-lightbox-stage img {
    max-height: calc(100dvh - 90px);
  }

  .image-lightbox-footer {
    min-height: 64px;
    gap: 8px;
    padding: 8px;
  }

  .image-lightbox-footer p {
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .demo-stage-label {
    position: relative;
    left: auto;
    bottom: auto;
    width: max-content;
    max-width: 84%;
    margin: -16px 0 0;
  }

  .customer-step header {
    align-items: flex-start;
  }

  .customer-step header > span {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .demo-browser-hero,
  .phone-shot-hero,
  .feature-desktop-shot,
  .feature-phone-shot,
  .portal-desktop-shot,
  .portal-phone-shot,
  .demo-stage-label,
  .demo-stage-backdrop {
    transform: none;
  }
}
