/* /partnership. One centred column (1200px, text 720px), dark and light
   sections alternating, device mockups in CSS frames. Motion is opacity and
   transform only; prefers-reduced-motion turns all of it off. Tokens come
   from style.css (--color-*, --radius-pill, --prosto-one). */

.partnership-page { background-color: var(--color-bg); }
/* style.css colours every span (span { color: var(--span) }), so text in
   buttons, the hero words and labels would not follow its parent. */
.pt span, .pt-demo span { color: inherit; }

/* The demo <dialog> sits outside <main class="pt">, so it gets the tokens too. */
.pt, .pt-demo {
  --pt-on-dark: #fafaf9;
  --pt-on-dark-muted: rgba(250, 250, 249, 0.76);
  --pt-dark: var(--color-primary);
  --pt-tint: #f2f1ee;
  --pt-gutter: 16px;
}
.pt { overflow-x: clip; }
@media (min-width: 768px) { .pt { --pt-gutter: 24px; } }
@media (min-width: 1200px) { .pt { --pt-gutter: 32px; } }

/* ---- Hero ---- */
.ph {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 68px; /* the fixed header, same clearance as every inner page */
  min-height: calc(100svh - 68px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--pt-on-dark);
  background-color: #0e0e0d;
}
@media (min-width: 768px) { .ph { min-height: min(86vh, 780px); } }
.ph__media { position: absolute; inset: -8% 0 0; z-index: -2; will-change: transform; }
.ph__media picture, .ph__media img, .ph__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph__media video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.ph__media video.is-playing { opacity: 1; }
.ph__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(110% 75% at 50% 45%, rgba(10, 10, 9, 0.5), rgba(10, 10, 9, 0.82)),
    linear-gradient(to bottom, rgba(10, 10, 9, 0.35), rgba(10, 10, 9, 0.7));
}
.ph__inner { width: 100%; max-width: 760px; padding: 64px var(--pt-gutter, 16px) 104px; }
.ph__kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pt-on-dark-muted);
  animation: pt-fade 0.6s ease-out 0.05s both;
}
.ph__title {
  margin: 0 0 16px;
  font-family: var(--prosto-one);
  font-size: clamp(34px, 7vw, 64px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.ph-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ph-w > span { display: inline-block; animation: pt-rise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.ph-w:nth-child(2) > span { animation-delay: 0.08s; }
.ph-w:nth-child(3) > span { animation-delay: 0.16s; }
.ph-w:nth-child(4) > span { animation-delay: 0.24s; }
.ph-w:nth-child(5) > span { animation-delay: 0.32s; }
.ph-w:nth-child(6) > span { animation-delay: 0.4s; }
.ph__sub {
  max-width: 34ch;
  margin: 0 auto 28px;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.5;
  color: var(--pt-on-dark-muted);
  animation: pt-fade 0.7s ease-out 0.5s both;
}
.ph__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; animation: pt-fade 0.7s ease-out 0.62s both; }
.ph__offer {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  color: var(--pt-on-dark-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  animation: pt-fade 0.7s ease-out 0.74s both;
}
.ph__offer:hover, .ph__offer:focus-visible { color: #ffffff; }
.ph__float { display: none; }
@media (min-width: 1200px) {
  .ph__float {
    display: block;
    position: absolute;
    right: max(40px, calc(50% - 600px));
    bottom: 64px;
    width: 156px;
    animation: pt-float 7s ease-in-out infinite;
  }
}
.ph__cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--pt-on-dark-muted);
  transform: translateX(-50%);
  animation: pt-bob 2.2s ease-in-out infinite;
}
.ph__cue:hover { color: #ffffff; }
.ph__cue .pt-icon { width: 26px; height: 26px; }

/* ---- Buttons ---- */
.pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.pt-btn:hover { transform: translateY(-1px); }
.pt-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.pt-btn--primary { background-color: #ffffff; color: var(--pt-dark); }
.pt-btn--primary:hover { background-color: #ecebe8; color: var(--pt-dark); }
.pt-btn--ghost { background-color: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.45); color: #ffffff; }
.pt-btn--ghost:hover { background-color: rgba(255, 255, 255, 0.16); color: #ffffff; }
.pt-btn--dark { background-color: var(--pt-dark); color: #ffffff; }
.pt-btn--dark:hover { background-color: var(--color-primary-hover); color: #ffffff; }
.pt-btn__icon { flex: none; width: 18px; height: 18px; }
.pt-btn__icon--fill { fill: currentColor; stroke: none; }

/* ---- Sections ---- */
.pt-sec { padding: 72px 0; }
@media (min-width: 992px) { .pt-sec { padding: 104px 0; } }
.pt-sec--tint { background-color: var(--pt-tint); }
.pt-sec--dark, .pt-sec--inv { background-color: var(--pt-dark); color: var(--pt-on-dark); }
.pt-sec--texture {
  background-image: url("/assets/images/partnership/texture-1344.webp");
  background-image: image-set(url("/assets/images/partnership/texture-1344.avif") type("image/avif"), url("/assets/images/partnership/texture-1344.webp") type("image/webp"));
  background-size: cover;
  background-position: center;
}
.pt-wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--pt-gutter); }
.pt-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.pt-kicker { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); }
.pt-h2 { margin: 0; font-family: var(--prosto-one); font-size: clamp(26px, 4.2vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; color: var(--color-text); }
.pt-intro { max-width: 52ch; margin: 14px auto 0; font-size: 17px; line-height: 1.55; color: var(--color-text-muted); }
.pt-sec--dark .pt-kicker, .pt-sec--inv .pt-kicker, .pt-sec--dark .pt-intro { color: var(--pt-on-dark-muted); }
.pt-sec--dark .pt-h2, .pt-sec--inv .pt-h2 { color: #ffffff; }
.pt-actions { display: flex; justify-content: center; margin-top: 36px; }

/* ---- Icon cards: centred rows, equal heights, a short last row centred ---- */
.pt-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.pt-card {
  flex: 1 1 100%;
  max-width: 100%;
  padding: 26px 22px;
  text-align: center;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .pt-card { flex-basis: calc(50% - 8px); max-width: calc(50% - 8px); } }
@media (min-width: 1100px) { .pt-card { flex-basis: calc(33.333% - 11px); max-width: calc(33.333% - 11px); } }
.pt .pt-card__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 12px;
  background-color: var(--pt-tint);
  color: var(--color-text);
}
.pt-icon { width: 24px; height: 24px; }
.pt-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--color-text); }
.pt-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--color-text-muted); }
/* Cards 1, 3, 5... (DOM order, every grid, every width) are reversed. AA on
   both: #fff 17:1 and the muted line ~10:1 on #1a1a1a; #55534f 7.4:1 on #fdfdfc.
   The transition list keeps reveal.js's opacity/transform fade. */
.pt-grid .pt-card { transition: opacity 0.5s ease-out, transform 0.5s ease-out, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.pt-card:nth-child(odd) { background-color: var(--pt-dark); border-color: transparent; }
.pt-card:nth-child(odd) h3 { color: #ffffff; }
.pt-card:nth-child(odd) p { color: var(--pt-on-dark-muted); }
.pt .pt-card:nth-child(odd) .pt-card__icon { background-color: rgba(255, 255, 255, 0.12); color: #ffffff; }
@media (hover: hover) {
  .pt-card.is-revealed:hover, html:not(.reveal-on) .pt-card:hover { transform: translateY(-3px); border-color: rgba(26, 26, 26, 0.22); box-shadow: 0 14px 34px rgba(26, 26, 26, 0.12); }
  .pt-card:nth-child(odd).is-revealed:hover, html:not(.reveal-on) .pt-card:nth-child(odd):hover { background-color: #2b2b29; border-color: transparent; box-shadow: 0 14px 34px rgba(26, 26, 26, 0.28); }
}

/* ---- Device frame (the hero's floating phone) ---- */
.dev__screen { position: relative; overflow: hidden; background-color: #111110; }
.dev__screen picture, .dev__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.dev--phone .dev__screen {
  aspect-ratio: 390 / 844;
  border: 7px solid #1d1d1c;
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.22);
}
.dev--phone .dev__screen::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 50%;
  width: 32%;
  height: 12px;
  border-radius: 10px;
  background-color: #1d1d1c;
  transform: translateX(-50%);
}

/* ---- "What you get": the partnership cycle (assets/js/pt-process.js).
   Phones and tablets: a vertical timeline, the line down the badges on the
   left and the "grow" return to the left of it. >=1024px: a snake, row 1
   left to right (1-4), row 2 right to left (5-8), the return loop under
   row 2. Each step's --h (0..1, set by the script) is its highlight. ---- */
.pt .pt-proc-sec { background-color: #0a0a09; }
.pt-proc { --badge: 40px; position: relative; max-width: 1180px; margin: 0 auto; padding-left: 30px; }
.pt-proc__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pt-proc__base { fill: none; stroke: rgba(255, 255, 255, 0.26); stroke-width: 1.5; }
.pt-proc__lit { fill: none; stroke: #ffffff; stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.55)); }
.pt-proc__arrow { fill: rgba(255, 255, 255, 0.55); }
.pt-proc__pulse { fill: #ffffff; filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)); }
.pt-proc__steps { position: relative; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pt-proc__step { --h: 0; position: relative; display: grid; grid-template-columns: var(--badge) minmax(0, 1fr); align-items: start; gap: 14px; text-align: left; }
.pt-proc__n {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--badge);
  height: var(--badge);
  margin-top: 10px;
  border: 1.5px solid rgba(255, 255, 255, calc(0.45 + var(--h) * 0.55));
  border-radius: 50%;
  background-color: #0a0a09;
  box-shadow: 0 0 calc(var(--h) * 22px) rgba(255, 255, 255, calc(var(--h) * 0.45));
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}
.pt-proc__n::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background-color: #ffffff; opacity: var(--h); }
.pt-proc__step.is-on .pt-proc__n { color: #0a0a09; }
.pt-proc__card {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, calc(0.12 + var(--h) * 0.5));
  border-radius: 14px;
  background-color: #141413;
  box-shadow: 0 0 calc(var(--h) * 28px) rgba(255, 255, 255, calc(var(--h) * 0.12));
}
.pt .pt-proc__card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; line-height: 1.3; color: #ffffff; }
.pt .pt-proc__card p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.72); }
.pt-proc__grow { --h: 0; margin: 16px 0 0 calc(var(--badge) + 14px); font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, calc(0.72 + var(--h) * 0.28)); }
.pt-proc__grow > span:first-child { display: inline-block; padding: 7px 14px; border: 1px dashed rgba(255, 255, 255, calc(0.3 + var(--h) * 0.6)); border-radius: var(--radius-pill); background-color: #0a0a09; }
.pt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 1024px) {
  .pt-proc { padding: 0 44px 96px; }
  .pt-proc__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 28px; }
  .pt-proc__step { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .pt-proc__n { flex: none; margin-top: 0; }
  .pt-proc__card { flex: 1 1 auto; align-self: stretch; padding: 18px 16px; }
  .pt-proc__step:nth-child(-n + 4) { grid-row: 1; }
  .pt-proc__step:nth-child(n + 5) { grid-row: 2; }
  .pt-proc__step:nth-child(1) { grid-column: 1; }
  .pt-proc__step:nth-child(2) { grid-column: 2; }
  .pt-proc__step:nth-child(3) { grid-column: 3; }
  .pt-proc__step:nth-child(4), .pt-proc__step:nth-child(5) { grid-column: 4; }
  .pt-proc__step:nth-child(6) { grid-column: 3; }
  .pt-proc__step:nth-child(7) { grid-column: 2; }
  .pt-proc__step:nth-child(8) { grid-column: 1; }
  /* Centred under the loop's straight run; the script sets its top. */
  .pt-proc__grow { position: absolute; left: 44px; right: 44px; margin: 0; text-align: center; }
}

/* ---- Steps ---- */
.pt-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .pt-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pt-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pt-step { padding: 26px 22px; text-align: center; background-color: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; }
.pt .pt-step__n {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--pt-dark);
  font-size: 18px;
  font-weight: 700;
}
.pt-step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #ffffff; }
.pt-step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--pt-on-dark-muted); }

/* ---- Chips (stat-free badges) ---- */
.pt-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px auto 0; padding: 0; list-style: none; }
.pt-chips li { padding: 8px 16px; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background-color: var(--color-surface); font-size: 14px; font-weight: 600; color: var(--color-text); }
.pt-chips--inv li { background-color: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #ffffff; }

/* ---- The model (inverted band) ---- */
.pt-model { display: grid; gap: 36px; align-items: center; text-align: center; }
@media (min-width: 992px) { .pt-model { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; } }
.pt-model__img { display: block; width: 100%; height: auto; border-radius: 18px; }
.pt-model__big { margin: 0; font-family: var(--prosto-one); font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; color: var(--pt-on-dark-muted); }
.pt-model__big span { display: block; margin-bottom: 6px; font-size: clamp(60px, 11vw, 108px); line-height: 1; letter-spacing: -0.03em; color: #ffffff; }
.pt-model__line { max-width: 40ch; margin: 16px auto 0; font-size: 17px; line-height: 1.55; color: var(--pt-on-dark-muted); }

/* ---- Booking: heading + calendar fit one viewport under the fixed header
   (65px below 992px, 42px above). The iframe IS the card: no padding, no
   inner scroll. Its height is Calendly's own content height
   (calendly.page_height -> --cal-content), floored at the month view so it
   never shrinks below the grid. Measured 2026-11-05 with
   hide_event_type_details: 713px at >=1000px frame width (Calendly's
   two-column breakpoint), 602px below it. ---- */
#book.pt-sec--book { padding: 12px 0 32px; }
@media (min-width: 992px) { #book.pt-sec--book { padding: 20px 0 48px; } }
#book .pt-head { margin-bottom: 14px; }
#book .pt-kicker { margin-bottom: 4px; }
#book .pt-h2 { font-size: clamp(22px, 2.4vw, 32px); }
#book .pt-intro { margin-top: 4px; font-size: 15px; }
#book .pt-head[data-reveal] { transition-delay: 0s !important; }
#book .pt-cal[data-reveal] { transition-delay: 0.1s !important; }

/* Compact: 520px is under Calendly's 1000px two-column breakpoint, so it draws
   its one-column view. 602px is that view's own height for a five-row month
   (calendly.page_height, measured 2026-11-05); six-row months and the time
   list after a date is picked grow the card through --cal-content. */
.pt-cal {
  --cal-floor: 602px;
  position: relative;
  width: 100%;
  max-width: 520px;
  height: max(var(--cal-floor), var(--cal-content, 0px));
  margin: 0 auto;
  overflow: hidden;
  background-color: #fdfdfc;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.05), 0 10px 30px rgba(26, 26, 26, 0.08);
}
.pt-cal iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.2s ease-out; }
.pt-cal.is-ready iframe { opacity: 1; }

/* Skeleton: Calendly's month view in outline, at the positions Calendly
   itself draws them (measured inside the frame), so the cross-fade does not
   jump. Fades out on load. */
.pt-cal__skel { position: absolute; inset: 0; transition: opacity 0.2s ease-out; }
.pt-cal.is-ready .pt-cal__skel { opacity: 0; }
.pt-cal__skel > i { position: absolute; left: 50%; display: block; transform: translateX(-50%); border-radius: 9px; background-color: #efeeeb; }
.pt-cal__skel .pt-cal__bar { top: 32px; width: 46%; max-width: 200px; height: 18px; }
.pt-cal__skel .pt-cal__bar--nav { top: 107px; width: 40%; max-width: 150px; height: 14px; }
.pt-cal__skel .pt-cal__grid {
  top: 169px;
  width: 312px;
  height: 236px;
  border-radius: 0;
  background: radial-gradient(circle closest-side, #f2f1ee 92%, transparent 97%) 0 0 / calc(100% / 7) 20%;
}

/* No-JS: the link is the booking UI. With JS it waits behind the skeleton
   and only comes back if the frame has not loaded after 10s. */
.pt-cal__fallback { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; }
.pt-cal.is-loading .pt-cal__fallback { display: none; }
.pt-cal.is-slow:not(.is-ready) .pt-cal__fallback { display: inline-flex; }

/* The theme's back-to-top progress ring read as a stuck loader beside the
   calendar; this page has its own navigation and does not need it. */
.partnership-page .scroll-up { display: none; }

/* ---- The setup wizard frame ---- */
.pt-offer { max-width: 1080px; margin: 0 auto; overflow: hidden; border-radius: 20px; background-color: var(--color-bg); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); }
/* Close to the first step's height; the frame reports its real height. */
/* Placeholder heights only (the first step, measured), so the section does not
   jump when the frame loads; assets/js/offer-frame.js then sizes it to its body. */
.pt-offer__frame { display: block; width: 100%; height: 880px; border: 0; overflow: hidden; }
@media (min-width: 768px) { .pt-offer__frame { height: 588px; } }

/* ---- FAQ accordion ---- */
.pt-faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.pt-faq__item { background-color: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; }
.pt-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; list-style: none; cursor: pointer; }
.pt-faq__item summary::-webkit-details-marker { display: none; }
.pt-faq__item summary:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: 14px; }
.pt-faq__item summary h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; text-align: left; color: var(--color-text); }
.pt-faq__chev { flex: none; width: 20px; height: 20px; color: var(--color-text-muted); transition: transform 0.2s ease; }
.pt-faq__item[open] .pt-faq__chev { transform: rotate(180deg); }
.pt-faq__item p { margin: 0; padding: 0 20px 18px; font-size: 15px; line-height: 1.55; text-align: left; color: var(--color-text-muted); }

/* ---- Demo viewer: live pages in a same-origin iframe (assets/js/partnership.js
   sizes the screen and scales a real 1440 or 390 CSS px viewport into it). ---- */
html.pt-demo-lock { overflow: hidden; }
/* The <dialog> is the full-screen overlay (the site's reset zeroes the UA
   margin:auto that would center a sized dialog); the panel inside is the viewer. */
.pt-demo {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 16px;
  border: 0;
  background: transparent;
  color: #ffffff;
  overflow: hidden;
}
.pt-demo[open] { display: flex; align-items: center; justify-content: center; }
.pt-demo__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(1280px, 100%);
  height: min(860px, 100%);
  border-radius: 18px;
  background-color: #121211;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.pt-demo[open] .pt-demo__panel { animation: pt-demo-in 0.22s cubic-bezier(0.2, 0.7, 0.2, 1); }
/* Warming (hover/focus on "See a demo"): laid out off screen so the first
   tab's iframe loads at its real viewport size, then shown in place. */
.pt-demo.is-warming:not([open]) { display: flex; align-items: center; justify-content: center; left: -300vw; right: 300vw; visibility: hidden; pointer-events: none; }
/* The hero's floating phone would sit beside the viewer, through the backdrop. */
html.pt-demo-lock .ph__float { visibility: hidden; }
.pt-demo::backdrop { background-color: rgba(10, 10, 9, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pt-demo__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 12px 12px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.pt-demo__title { margin: 0; font-family: var(--prosto-one); font-size: 17px; font-weight: 700; color: #ffffff; }
.pt-demo__tabs, .pt-demo__devs { display: flex; gap: 2px; padding: 4px; border-radius: var(--radius-pill); background-color: rgba(255, 255, 255, 0.07); }
.pt-demo__tabs { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.pt-demo__tabs::-webkit-scrollbar { display: none; }
.pt-demo__devs { margin-left: auto; }
.pt-demo__tab, .pt-demo__dev {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--prosto-one);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.pt-demo__tab:hover, .pt-demo__dev:hover { color: #ffffff; }
.pt-demo__tab[aria-selected="true"], .pt-demo__dev[aria-pressed="true"] { background-color: #ffffff; color: var(--pt-dark); }
.pt-demo__tab:focus-visible, .pt-demo__dev:focus-visible, .pt-demo__close:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.pt-demo__dev .pt-icon { width: 18px; height: 18px; }
.pt-demo__close { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 50%; background: none; color: #ffffff; cursor: pointer; }
.pt-demo__close .pt-icon { width: 20px; height: 20px; }
.pt-demo__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 20px; overflow: hidden; }
.pt-demo__device { position: relative; }
.pt-demo__screen { position: relative; box-sizing: content-box; overflow: hidden; border: 9px solid #2b2b29; border-radius: 14px; background-color: #fafaf9; }
.pt-demo__stage[data-device="desktop"] .pt-demo__screen { border-bottom-width: 13px; border-radius: 14px 14px 4px 4px; }
.pt-demo__stage[data-device="desktop"] .pt-demo__device::after { content: ""; display: block; height: 10px; margin: 0 -5%; border-radius: 0 0 12px 12px; background: linear-gradient(#5b5a56, #393835); }
.pt-demo__stage[data-device="phone"] .pt-demo__screen { border-width: 8px; border-radius: 34px; }
.pt-demo__view { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
.pt-demo__view iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; background-color: #fafaf9; }
.pt-demo__view iframe[hidden] { display: none; }
.pt-demo__skel { position: absolute; z-index: 1; inset: 0; display: grid; align-content: start; gap: 24px; padding: 0 0 6%; background-color: #fafaf9; transition: opacity 0.25s ease-out; }
.pt-demo__skel span { display: block; height: 32px; margin: 0 7%; border-radius: 10px; background: linear-gradient(90deg, #ecebe8 0, #f6f5f2 40%, #ecebe8 80%) 0 0 / 200% 100%; animation: pt-shimmer 1.3s linear infinite; }
.pt-demo__skel span:nth-child(1) { height: 68px; margin: 0; border-radius: 0; }
.pt-demo__skel span:nth-child(2) { height: 360px; }
.pt-demo__skel span:nth-child(3) { width: 56%; }
.pt-demo__skel span:nth-child(4) { width: 38%; }
.pt-demo__view.is-loaded .pt-demo__skel { opacity: 0; pointer-events: none; }
/* Phone on a phone: the visitor's own screen IS the device, 1:1, no bezel. */
.pt-demo__stage.is-native { padding: 0; place-items: stretch; }
.pt-demo__stage.is-native .pt-demo__device, .pt-demo__stage.is-native .pt-demo__screen { width: 100%; height: 100%; border: 0; border-radius: 0; }
.pt-demo__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 12px; padding: 12px 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.pt-demo__note { margin: 0 auto 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.62); }
.pt-demo__foot .pt-btn { min-height: 44px; padding: 10px 18px; }
@media (max-width: 767px) {
  .pt-demo { padding: 0; }
  .pt-demo__panel { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
  .pt-demo[open] .pt-demo__panel { animation-name: pt-demo-sheet; }
  /* Phones always get the phone view, 1:1: no device switch. */
  .pt-demo__devs { display: none; }
  .pt-demo__close { margin-left: auto; }
  .pt-demo__bar { gap: 8px; padding: 8px 8px 8px 16px; }
  .pt-demo__title { font-size: 16px; }
  .pt-demo__tabs { order: 3; width: 100%; }
  .pt-demo__tab { flex: 1 0 auto; padding: 0 12px; font-size: 13px; }
  .pt-demo__dev { padding: 0 10px; }
  .pt-demo__stage { padding: 12px; }
  .pt-demo__note { display: none; }
  .pt-demo__foot { flex-wrap: nowrap; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .pt-demo__foot .pt-btn { flex: 1 1 0; padding: 10px 12px; font-size: 14px; }
  .pt-demo__foot .pt-btn__icon { display: none; }
  .pt-demo__foot .pt-btn span { white-space: nowrap; }
}

/* ---- Scroll reveals (assets/js/reveal.js). Hidden only once JS has armed
   them, so content is always visible without JS. ---- */
[data-reveal] { transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
html.reveal-on [data-reveal]:not(.is-revealed) { opacity: 0; transform: translateY(20px); }

@keyframes pt-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes pt-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes pt-float { 50% { transform: translateY(-12px); } }
@keyframes pt-bob { 50% { transform: translate(-50%, 6px); } }
@keyframes pt-demo-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes pt-demo-sheet { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pt-shimmer { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transition: none; }
  html.reveal-on [data-reveal]:not(.is-revealed) { opacity: 1; transform: none; }
  .ph-w > span, .ph__kicker, .ph__sub, .ph__actions, .ph__offer, .ph__float, .ph__cue, .pt-demo[open] .pt-demo__panel { animation: none; }
  .pt-btn, .pt-faq__chev, .pt-cal iframe, .pt-cal__skel, .pt-demo__tab, .pt-demo__dev, .pt-demo__skel { transition: none; }
  .pt-demo__skel span { animation: none; }
  .pt-grid .pt-card { transition: none; }
  .pt-card.is-revealed:hover, html:not(.reveal-on) .pt-card:hover { transform: none; }
}
