/* Real product evidence: every image below comes from the current build or an owner capture. */
.capture-frame {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #cfd8dc;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 22px 64px rgba(16, 29, 40, .16);
}

.capture-frame img {
  display: block;
  max-width: 100%;
}

.capture-frame figcaption {
  min-height: 58px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.capture-frame figcaption strong,
.capture-frame figcaption span {
  display: block;
}

.capture-frame figcaption strong {
  font-size: 13px;
  font-weight: 680;
}

.capture-frame figcaption span {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

.capture-label,
.concept-label {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 12px;
  padding: 7px 9px;
  border: 1px solid rgba(17, 21, 26, .17);
  border-radius: 7px;
  background: rgba(255, 255, 255, .94);
  color: #46515a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .025em;
}

/* Home: one real lifecycle, art-directed into readable evidence crops. */
.hero {
  min-height: 790px;
}

.hero__copy {
  left: 4.5%;
  top: 148px;
  width: min(390px, 28%);
}

.hero h1 .hero-product-name {
  display: block;
  white-space: nowrap;
  font-size: .82em;
}

.product-stage.real-product-stage {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.real-product-stage .demo-badge {
  top: 28px;
  right: 30px;
  left: auto;
}

.product-flow {
  position: absolute;
  top: 82px;
  right: 34px;
  bottom: 82px;
  left: 35%;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.42fr) minmax(0, .76fr);
  gap: 16px;
  align-items: center;
  isolation: isolate;
}

.product-flow::before {
  content: "";
  position: absolute;
  right: 8%;
  left: 8%;
  top: 50%;
  z-index: -1;
  border-top: 2px solid var(--blue);
}

.product-flow::after {
  content: "";
  position: absolute;
  right: 7.5%;
  top: calc(50% - 5px);
  z-index: -1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 6px rgba(217, 247, 47, .25);
}

.product-flow__frame {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.product-flow__frame--booking,
.product-flow__frame--subscription {
  height: 354px;
}

.product-flow__frame--calendar {
  height: 518px;
  z-index: 2;
}

.product-flow__role {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  padding: 7px 9px;
  border: 1px solid rgba(17, 21, 26, .17);
  border-radius: 7px;
  background: rgba(255, 255, 255, .94);
  color: #46515a;
  font-size: 10px;
  font-weight: 700;
}

.product-flow__crop {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #f2f5f8;
}

.product-flow__crop img {
  position: absolute;
  display: block;
  max-width: none;
}

.product-flow__crop--booking img {
  top: -8px;
  left: 0;
  width: 100%;
  height: auto;
}

.product-flow__crop--calendar img {
  top: -16%;
  left: 50%;
  width: auto;
  height: 148%;
  transform: translateX(-50%);
}

.product-flow__crop--subscription img {
  top: -37%;
  left: -19%;
  width: 138%;
  height: auto;
}

.product-flow__frame figcaption {
  position: relative;
  z-index: 2;
}

.real-product-stage .stage-caption {
  z-index: 20;
  right: 34px;
  bottom: 20px;
  left: 45%;
  width: auto;
  font-size: 12px;
  text-align: left;
}

.format-proof {
  min-height: 560px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: #f8faf9;
}

.format-proof__screen {
  min-height: 0;
  overflow: hidden;
  background: #f1f4f7;
}

.format-proof__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.format-proof--wide .format-proof__screen img {
  object-fit: cover;
}

.settings-proof {
  min-height: 650px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.settings-proof .settings-nav {
  min-width: 0;
}

.settings-proof__screen {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.settings-proof__heading {
  min-height: 108px;
  padding: 26px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.settings-proof__heading h3 {
  margin: 0 0 6px;
  font-size: clamp(1.65rem, 2.5vw, 2.7rem);
  font-weight: 570;
  letter-spacing: -.03em;
}

.settings-proof__heading p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.settings-proof__heading .capture-label {
  position: static;
  flex: 0 0 auto;
}

.settings-proof__screen > img {
  width: 100%;
  height: 542px;
  object-fit: cover;
  object-position: top;
}

/* Features page. */
.real-capability-map {
  position: relative;
  min-height: 735px;
  margin-top: 84px;
  isolation: isolate;
}

.real-capability-map::before {
  content: '';
  position: absolute;
  inset: 45px -5% 0;
  z-index: -1;
  border: 1px solid #39434b;
  border-radius: 20px;
  background: #192026;
}

.real-capability-map__calendar,
.real-capability-map__telegram,
.real-capability-map__client {
  position: absolute;
}

.real-capability-map__calendar {
  top: 118px;
  left: 14%;
  width: 72%;
  height: 510px;
  z-index: 1;
}

.real-capability-map__calendar > img {
  width: 100%;
  height: calc(100% - 58px);
  object-fit: cover;
  object-position: top;
}

.real-capability-map__telegram {
  top: 18px;
  left: 0;
  width: 315px;
  z-index: 3;
  transform: rotate(-1deg);
}

.real-capability-map__telegram > img {
  width: 100%;
  padding-top: 34px;
}

.real-capability-map__client {
  right: 0;
  bottom: 22px;
  width: 245px;
  height: 515px;
  z-index: 4;
  transform: rotate(.8deg);
}

.real-capability-map__client > img {
  width: 100%;
  height: calc(100% - 58px);
  object-fit: cover;
  object-position: top;
}

.real-capability-map__route {
  position: absolute;
  z-index: 5;
  bottom: 32px;
  left: 17%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid #48545d;
  border-radius: 10px;
  background: #11151a;
  color: #dce3e8;
  font-size: 10px;
}

.real-capability-map__route i {
  width: 24px;
  height: 1px;
  background: #71808b;
}

.real-capability-map__route strong {
  color: var(--signal);
}

.real-owner-proof {
  min-height: 660px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(30, 42, 54, .12);
}

.real-owner-proof > nav {
  padding: 28px 0;
  border-right: 1px solid var(--line);
  background: #eef2f3;
}

.real-owner-proof > nav button {
  width: 100%;
  min-height: 68px;
  padding: 0 24px;
  border: 0;
  background: transparent;
  color: #5f6971;
  text-align: left;
  cursor: pointer;
}

.real-owner-proof > nav button.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: 650;
  box-shadow: inset 3px 0 var(--blue);
}

.real-owner-proof__screen {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.real-owner-proof__heading {
  min-height: 98px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.real-owner-proof__heading h3 {
  max-width: 21ch;
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.7rem);
  font-weight: 570;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.real-owner-proof__heading .capture-label {
  position: static;
  flex: 0 0 auto;
}

.real-owner-proof__screen > img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top;
}

.real-owner-proof__screen > figcaption {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 12px;
}

.real-subscription-proof {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr .72fr;
  gap: 24px;
  align-items: stretch;
}

.real-subscription-proof__client,
.real-subscription-proof__card {
  height: 570px;
}

.real-subscription-proof__client > img,
.real-subscription-proof__card > img {
  width: 100%;
  height: calc(100% - 58px);
  object-fit: cover;
  object-position: top;
}

.real-subscription-proof aside {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 16px;
  background: var(--signal);
  color: var(--ink);
}

.real-subscription-proof aside strong {
  font-size: 24px;
  line-height: 1.1;
}

.real-subscription-proof aside p {
  margin: 18px 0 0;
  color: #465000;
  font-size: 13px;
}

/* Audience pages. */
.audience-proof.real-audience-proof {
  min-height: 560px;
}

.real-audience-proof__main,
.real-audience-proof__client {
  position: absolute;
}

.real-audience-proof__main {
  top: 58px;
  left: 5%;
  width: 70%;
  height: 448px;
}

.real-audience-proof__client {
  right: 4%;
  bottom: -18px;
  width: 35%;
  height: 420px;
  z-index: 3;
  transform: rotate(.7deg);
}

.real-audience-proof__main > img,
.real-audience-proof__client > img {
  width: 100%;
  height: calc(100% - 58px);
  object-fit: cover;
  object-position: top;
}

/* Comparison article: real captures inside an editorial composition. */
.hero-compare__product {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--blue);
}

.hero-compare__product > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

.hero-compare__product > span {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 11px 13px;
  background: var(--signal);
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

.article-product-pair {
  position: relative;
  min-height: 620px;
  margin: 52px 0 44px;
  padding: 48px;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 34px;
  align-items: center;
  overflow: hidden;
  background: #10151c;
}

.article-product-pair::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 43%;
  left: 36%;
  border-top: 2px dashed rgba(217, 247, 47, .66);
}

.article-product-pair__telegram,
.article-product-pair__miniapp {
  z-index: 1;
}

.article-product-pair__telegram > img {
  width: 100%;
  padding-top: 34px;
}

.article-product-pair__miniapp {
  height: 520px;
}

.article-product-pair__miniapp > img {
  width: 100%;
  height: calc(100% - 58px);
  object-fit: cover;
  object-position: top;
}

.balance-proof .concept-label {
  position: static;
  grid-column: 1 / -1;
  width: max-content;
  margin-bottom: -18px;
  background: rgba(255, 255, 255, .72);
}

.real-calendar-switcher {
  min-width: 0;
  margin: 52px 0 44px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(20, 34, 46, .13);
  transition: opacity .16s ease;
}

.real-calendar-switcher.is-changing {
  opacity: .72;
}

.real-calendar-switcher button {
  min-height: 44px;
  border: 0;
  cursor: pointer;
}

.real-calendar-switcher__toolbar {
  min-height: 68px;
  padding: 11px 15px 11px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.real-calendar-switcher__screen {
  width: min(520px, calc(100% - 48px));
  height: 720px;
  margin: 30px auto 0;
  touch-action: pan-y;
  box-shadow: 0 18px 52px rgba(20, 34, 46, .15);
}

.real-calendar-switcher__screen.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.real-calendar-switcher__screen > img {
  width: 100%;
  height: calc(100% - 58px);
  object-fit: cover;
  object-position: top;
}

.real-calendar-switcher .trainer-gesture {
  margin: 14px 24px 24px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

@media (max-width: 1180px) {
  .hero {
    min-height: 1010px;
  }

  .hero__copy {
    left: 48px;
    top: 68px;
    width: min(440px, 54%);
  }

  .product-stage.real-product-stage {
    min-height: 0;
  }

  .real-product-stage .demo-badge {
    top: 30px;
    right: 36px;
  }

  .product-flow {
    top: 342px;
    right: 34px;
    bottom: 82px;
    left: 34px;
  }

  .product-flow__frame--booking,
  .product-flow__frame--subscription {
    height: 340px;
  }

  .product-flow__frame--calendar {
    height: 520px;
  }

  .real-product-stage .stage-caption {
    right: 34px;
    bottom: 20px;
    left: 34px;
  }

  .real-subscription-proof {
    grid-template-columns: 1fr 1fr;
  }

  .real-subscription-proof aside {
    grid-column: 1 / -1;
    min-height: 180px;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
  }

  .hero__copy {
    position: relative;
    top: auto;
    left: auto;
    width: min(560px, 100%);
  }

  .product-stage.real-product-stage {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 760px;
    margin-top: 38px;
  }

  .real-product-stage .demo-badge {
    top: 0;
    right: auto;
    left: 0;
  }

  .product-flow {
    top: 52px;
    right: 0;
    bottom: 74px;
    left: 0;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.45fr);
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
  }

  .product-flow::before,
  .product-flow::after {
    display: none;
  }

  .product-flow__frame--booking,
  .product-flow__frame--subscription,
  .product-flow__frame--calendar {
    height: auto;
  }

  .product-flow__frame--booking {
    grid-column: 1;
    grid-row: 1;
  }

  .product-flow__frame--calendar {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .product-flow__frame--subscription {
    grid-column: 1;
    grid-row: 2;
  }

  .product-flow__crop--booking img {
    top: -4px;
  }

  .product-flow__crop--calendar img {
    top: -12%;
    height: 140%;
  }

  .product-flow__crop--subscription img {
    top: -45%;
  }

  .product-flow__frame figcaption {
    min-height: 64px;
  }

  .real-product-stage .stage-caption {
    right: 0;
    bottom: 0;
    left: 0;
  }

  .format-proof {
    min-height: 540px;
  }

  .settings-proof,
  .real-owner-proof {
    grid-template-columns: 1fr;
  }

  .settings-proof .settings-nav,
  .real-owner-proof > nav {
    display: flex;
    overflow: auto;
    padding: 6px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .real-owner-proof > nav button {
    min-width: 170px;
    box-shadow: inset 0 -3px transparent;
  }

  .real-owner-proof > nav button.is-active {
    box-shadow: inset 0 -3px var(--blue);
  }

  .real-capability-map {
    min-height: 1120px;
    margin-top: 58px;
  }

  .real-capability-map::before {
    inset: 20px -20px 0;
  }

  .real-capability-map__calendar {
    top: 70px;
    left: 0;
    width: 100%;
    height: 430px;
  }

  .real-capability-map__telegram {
    top: 520px;
    left: 0;
    width: 54%;
  }

  .real-capability-map__client {
    top: 550px;
    right: 0;
    bottom: auto;
    width: 39%;
    height: 500px;
  }

  .real-capability-map__route {
    bottom: 28px;
    left: 4%;
  }

  .real-subscription-proof {
    grid-template-columns: 1fr;
  }

  .real-subscription-proof aside {
    grid-column: auto;
  }

  .article-product-pair {
    min-height: 820px;
    padding: 34px;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .article-product-pair__miniapp {
    height: 590px;
  }
}

@media (max-width: 560px) {
  .capture-frame figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .capture-frame figcaption span {
    text-align: left;
  }

  .product-stage.real-product-stage {
    min-height: 990px;
  }

  .product-flow {
    top: 52px;
    bottom: 94px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .product-flow__frame--booking,
  .product-flow__frame--calendar,
  .product-flow__frame--subscription {
    grid-column: 1;
    height: auto;
  }

  .product-flow__frame--booking {
    grid-row: 1;
  }

  .product-flow__frame--calendar {
    grid-row: 2;
  }

  .product-flow__frame--subscription {
    grid-row: 3;
  }

  .product-flow__role {
    top: 9px;
    left: 9px;
  }

  .product-flow__crop--booking img {
    top: -12%;
    width: 100%;
  }

  .product-flow__crop--calendar img {
    top: -25%;
    height: 168%;
  }

  .product-flow__crop--subscription img {
    top: -50vw;
    left: 0;
    width: 100%;
  }

  .product-flow__frame figcaption {
    min-height: 54px;
    padding: 9px 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
  }

  .product-flow__frame figcaption span {
    text-align: right;
  }

  .real-product-stage .stage-caption {
    right: 0;
    bottom: 2px;
    left: 0;
  }

  .format-proof {
    min-height: 500px;
  }

  .settings-proof__heading,
  .real-owner-proof__heading {
    min-height: 0;
    padding: 22px 18px;
    align-items: flex-start;
    flex-direction: column;
  }

  .settings-proof__screen > img,
  .real-owner-proof__screen > img {
    height: 430px;
  }

  .real-capability-map {
    min-height: 1240px;
  }

  .real-capability-map__calendar {
    height: 340px;
  }

  .real-capability-map__telegram {
    top: 440px;
    width: 100%;
    transform: none;
  }

  .real-capability-map__client {
    top: 730px;
    right: 0;
    width: 68%;
    height: 450px;
    transform: none;
  }

  .real-capability-map__route {
    right: 4%;
    bottom: 20px;
    left: 4%;
    justify-content: center;
  }

  .real-subscription-proof__client,
  .real-subscription-proof__card {
    height: 520px;
  }

  .audience-proof.real-audience-proof {
    min-height: 570px;
  }

  .real-audience-proof__main {
    top: 58px;
    left: 2%;
    width: 72%;
    height: 430px;
  }

  .real-audience-proof__client {
    right: 1%;
    bottom: -12px;
    width: 49%;
    height: 400px;
    transform: none;
  }

  .article-product-pair {
    min-height: 0;
    padding: 24px;
    grid-template-columns: 1fr;
  }

  .article-product-pair::before {
    display: none;
  }

  .article-product-pair__miniapp {
    height: 520px;
  }

  .balance-proof .concept-label {
    margin-bottom: 0;
  }

  .real-calendar-switcher__toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .real-calendar-switcher__screen {
    width: calc(100% - 28px);
    height: 610px;
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .real-calendar-switcher {
    transition: none;
  }
}
