.app-showcase,
.ai-plan-flow,
.real-world-proof {
  margin: 30px 0 42px;
}

.article:has(> .app-showcase),
.article:has(> .ai-plan-flow--after-intro) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.article > .app-showcase--after-intro,
.article > .ai-plan-flow--after-intro {
  grid-row: 2;
}

.article > .app-showcase--habit-context {
  grid-row: 6;
}

.article > .app-showcase--goals-context,
.article > .ai-plan-flow--plans-context {
  grid-row: 3;
}

.article > .app-showcase--partners-context {
  grid-row: 5;
}

.article > .app-showcase--row-2 { grid-row: 2; }
.article > .app-showcase--row-3 { grid-row: 3; }
.article > .app-showcase--row-4 { grid-row: 4; }
.article > .app-showcase--row-5 { grid-row: 5; }
.article > .app-showcase--row-6 { grid-row: 6; }
.article > .app-showcase--row-7 { grid-row: 7; }
.article > .app-showcase--row-8 { grid-row: 8; }
.article > .app-showcase--row-9 { grid-row: 9; }

.shot-page-personal-system .article > .app-showcase--row-4,
.shot-page-accountability-motivation .article > .app-showcase--row-4,
.shot-page-promises .article > .app-showcase--row-4 {
  grid-row: 5;
}

.shot-page-tracker-fail .article > .app-showcase--row-2 {
  grid-row: 3;
}

.shot-page-stay-consistent .article > .app-showcase--row-3 {
  grid-row: 4;
}

.shot-page-consistency-motivation .article > .app-showcase--row-5 {
  grid-row: 6;
}

.shot-page-self-discipline .article > .app-showcase--row-6 {
  grid-row: 7;
}

.shot-page-partner-guide .article > .app-showcase--row-8 {
  grid-row: 9;
}

.article > .product-shot.app-views {
  display: none;
}

.app-showcase__stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
  min-height: 430px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(243, 239, 231, 0.12);
  border-radius: 8px;
  background: #090806;
}

.app-showcase__stage img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 570px;
  object-fit: contain;
}

.app-showcase--single .app-showcase__stage {
  grid-template-columns: minmax(0, 1fr);
}

.app-showcase--single .app-showcase__stage img {
  max-width: 620px;
  margin: 0 auto;
}

.app-showcase--trio .app-showcase__stage {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-showcase figcaption,
.ai-plan-flow figcaption,
.real-world-proof figcaption {
  margin-top: 12px;
  color: var(--muted, #a69e90);
  font-family: var(--mono, monospace);
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.ai-plan-flow__stage {
  position: relative;
  min-height: 650px;
  padding: 24px 178px 24px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 69, 0, 0.28);
  border-radius: 8px;
  background: #090806;
}

.browser-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #f7f7f7;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.browser-window__bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-bottom: 1px solid #dedede;
  background: #ececec;
}

.browser-window__dots {
  display: flex;
  gap: 6px;
}

.browser-window__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9b9b9;
}

.browser-window__dots span:first-child { background: #ff5f57; }
.browser-window__dots span:nth-child(2) { background: #febc2e; }
.browser-window__dots span:last-child { background: #28c840; }

.browser-window__url {
  overflow: hidden;
  color: #666;
  font-family: var(--mono, monospace);
  font-size: 9px;
  letter-spacing: 0;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-window img {
  display: block;
  width: 100%;
  height: auto;
}

.ai-plan-flow__phone {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 220px;
  max-height: 590px;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.5));
}

.ai-plan-flow--browser-only .ai-plan-flow__stage {
  min-height: 0;
  padding: 24px;
}

.ai-plan-flow--browser-only .browser-window {
  max-width: 720px;
  margin: 0 auto;
}

.real-world-proof__stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px 18px;
  align-items: center;
  padding: 30px 28px 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 69, 0, 0.34);
  border-radius: 8px;
  background-color: #11100e;
  background-image:
    linear-gradient(rgba(243, 239, 231, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 239, 231, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
}

.real-world-proof__stage::after {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 10px;
  padding: 3px 5px;
  background: rgba(17, 16, 14, 0.9);
  color: rgba(255, 69, 0, 0.72);
  content: "COMMIT / ACT / PROVE / REPEAT";
  font-family: var(--mono, monospace);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.real-world-proof__item {
  position: relative;
  padding: 8px;
  border: 1px solid rgba(243, 239, 231, 0.2);
  background: #e9e2d5;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.44);
}

.real-world-proof__item--system {
  z-index: 2;
  transform: rotate(-2.4deg) translate(-4px, 3px);
}

.real-world-proof__item--result {
  z-index: 1;
  transform: rotate(-2.8deg) translate(-4px, -8px);
}

.real-world-proof__item--digital {
  z-index: 1;
  transform: rotate(2.2deg) translate(4px, 12px);
}

.real-world-proof__item--digital .real-world-proof__label {
  border-color: rgba(200, 241, 53, 0.5);
  color: #c8f135;
}

.real-world-proof__item--result {
  margin: 10px 0 28px;
}

.real-world-proof__item--award {
  z-index: 2;
  margin: 16px 0 22px;
  transform: rotate(2.8deg) translate(6px, 9px);
}

.real-world-proof__label {
  position: absolute;
  z-index: 3;
  top: -13px;
  left: 14px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 69, 0, 0.56);
  background: #17120f;
  color: #ff6a2e;
  font-family: var(--mono, monospace);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.real-world-proof__item--result .real-world-proof__label {
  border-color: rgba(200, 241, 53, 0.5);
  color: #c8f135;
}

.real-world-proof__item--award .real-world-proof__label {
  border-color: rgba(255, 69, 0, 0.56);
  color: #ff6a2e;
}

.real-world-proof__item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 560px;
  object-fit: cover;
  border-radius: 2px;
}

.real-world-proof figcaption {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: baseline;
}

.real-world-proof figcaption strong {
  color: #ff6a2e;
  font-weight: 600;
}

@media (max-width: 720px) {
  .app-showcase__stage {
    min-height: 0;
    padding: 18px 12px;
    gap: 10px;
  }

  .app-showcase__stage img {
    max-height: 480px;
  }

  .app-showcase--trio .app-showcase__stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-showcase--trio .app-showcase__stage img:first-child {
    grid-column: 1 / -1;
    width: 64%;
    justify-self: center;
  }

  .ai-plan-flow__stage {
    display: grid;
    gap: 18px;
    min-height: 0;
    padding: 14px;
  }

  .ai-plan-flow__phone {
    position: static;
    width: min(62%, 260px);
    max-height: none;
    margin: 0 auto;
  }

  .real-world-proof__stage {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 18px 36px;
  }

  .real-world-proof__item,
  .real-world-proof__item--system,
  .real-world-proof__item--digital,
  .real-world-proof__item--result,
  .real-world-proof__item--award {
    transform: none;
  }

  .real-world-proof__item img {
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .real-world-proof figcaption {
    display: block;
  }
}
