/* The product page: a dark hero with the product running in it, big features in bold cards, and tours: a menu like the app's
   beside one large window, so each screen is big enough to read. Namespaced pr-, on top of v2.css. */

/* ── hero: the window sits half on the dark, half on the page below ── */
.pr-hero { position: relative; isolation: isolate; margin-top: calc(-1 * var(--gn-h)); padding-top: calc(var(--gn-h) + clamp(36px, 4.6vw, 64px)); text-align: center; }
.pr-ink { position: absolute; z-index: -1; inset: 0 0 clamp(120px, 15vw, 240px) 0; overflow: hidden; background: #111213; }
.pr-ink::before { content: ""; position: absolute; left: 50%; bottom: -34%; width: 130%; height: 100%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(88, 186, 235, .34), rgba(88, 186, 235, 0)); }
.pr-hero .h-xl { max-width: none; color: #fff; font-size: clamp(40px, 5.8vw, 78px); }
.pr-hero .h-xl span { display: block; color: var(--c-blue); }
.pr-hero .lede { margin-inline: auto; max-width: 62ch; color: #C4C6C6; }
.pr-hero-win { max-width: 1120px; margin: clamp(36px, 4.4vw, 56px) auto 0; padding-inline: var(--gutter); box-sizing: content-box; }
.pr-hero .pr-win { border-color: rgba(255, 255, 255, .18); box-shadow: 0 44px 90px -44px rgba(3, 24, 38, .6); }

/* ── a window around a clip or a still ── */
.pr-win { overflow: hidden; border: 1px solid rgba(20, 20, 20, .12); border-radius: 14px; background: #F7F7F5; box-shadow: 0 24px 60px -26px rgba(8, 22, 32, .5); }
.pr-bar { flex: none; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; background: #FCFCFA; border-bottom: 1px solid rgba(20, 20, 20, .08); font: 500 12.5px/1 var(--f-body); color: #76766F; }
.pr-bar i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #DCDBD4; }
.pr-bar span { margin-left: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pr-shot { position: relative; overflow: hidden; line-height: 0; }
.pr-shot video, .pr-shot img { display: block; width: 100%; height: auto; }

/* ── the index: tabs under the hero that become a second glass pill below the nav as you scroll, so what you're reading passes behind them ── */
.pr-nav { position: sticky; top: var(--gn-h); z-index: 30; display: flex; justify-content: center; margin-top: clamp(22px, 2.6vw, 34px); padding-inline: var(--gn-edge); pointer-events: none; }
.pr-nav-in { pointer-events: auto; display: flex; align-items: center; gap: 2px; box-sizing: border-box; min-width: 0; height: 46px; padding-inline: 5px; overflow-x: auto; scrollbar-width: none; border: 1px solid rgba(20, 20, 20, .09); border-radius: 999px;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(1.7) blur(18px); backdrop-filter: saturate(1.7) blur(18px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 12px 30px -20px rgba(8, 22, 32, .5); transition: background .25s, border-color .25s, box-shadow .25s; }
.pr-nav.rest .pr-nav-in { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.pr-nav-in::-webkit-scrollbar { display: none; }
.pr-nav a { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; color: var(--c-muted); font: 500 14.5px var(--f-body); text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.pr-nav a:hover { background: rgba(20, 20, 20, .06); color: var(--c-ink); }
.pr-nav a[aria-current="true"] { background: var(--c-ink); color: #fff; }
/* over the black chapter it goes dark with the nav */
.pr-nav.dark .pr-nav-in { border-color: rgba(255, 255, 255, .15); background: rgba(24, 26, 29, .66); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 14px 32px -20px rgba(0, 0, 0, .8); }
.pr-nav.dark a { color: #C4CACD; }
.pr-nav.dark a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.pr-nav.dark a[aria-current="true"] { background: #fff; color: var(--c-ink); }
.v2 .pr-nav a:focus-visible { outline-offset: -2px; border-radius: 999px; }
@media (max-width: 860px) { .pr-nav a { padding: 0 10px; font-size: 14px; } }

/* ── chapters, each with its own colour ── */
.pr-sec { --top: clamp(88px, 9.5vw, 136px); position: relative; padding-block: var(--top) clamp(64px, 8vw, 112px); scroll-margin-top: calc(var(--gn-h) + 76px - var(--top)); }
.pr-sec .sec-head { margin-bottom: clamp(28px, 3.4vw, 44px); }
.pr-sec.sky { background: var(--c-blue); padding-bottom: clamp(56px, 6vw, 88px); }
.pr-sec.sky .kick { color: var(--c-ink); }
.pr-sec.sky .kick::before { background: var(--c-ink); }
.pr-sec.sky .lede { color: #123A50; }
.pr-sec.night { isolation: isolate; overflow: hidden; background: #000; color: #fff; }
.pr-sec.night .kick { color: var(--c-blue); }
.pr-sec.night .lede { color: #B9BDBF; }
.pr-sec.soft { background: var(--c-paper-2); border-block: 1px solid var(--c-rule); }
.pr-sec.pr-faq { --top: 16px; }

/* the brain behind the company-brain heading */
.pr-brain { position: absolute; z-index: -1; top: clamp(-90px, -5vw, -30px); right: max(-90px, calc((100vw - 1500px) / 2)); width: clamp(420px, 44vw, 700px); height: auto; max-width: none; }
.pr-brain-head { max-width: min(58%, 680px); min-height: clamp(260px, 22vw, 340px); margin-bottom: clamp(28px, 3.4vw, 44px); }
@media (max-width: 860px) {
  .pr-brain { top: -30px; right: -34%; width: 96vw; opacity: .5; }
  .pr-brain-head { max-width: none; min-height: 0; }
}

/* ── a big feature across the page: words on one side, the window running off the other ── */
.pr-stage { --pad: clamp(26px, 3.2vw, 46px); position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 3vw, 44px); margin-bottom: clamp(12px, 1.4vw, 18px); padding: var(--pad) 0 0 var(--pad); border-radius: var(--r-lg); }
.pr-stage-t { align-self: center; padding-bottom: var(--pad); }
.pr-stage .pr-win { align-self: end; border-right: 0; border-bottom: 0; border-radius: 14px 0 0 0; }
.pr-stage .pr-shot { max-height: clamp(380px, 39vw, 540px); padding-top: 14px; }
.pr-stage.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding: var(--pad) var(--pad) 0 0; }
.pr-stage.rev .pr-stage-t { order: 2; }
.pr-stage.rev .pr-win { border-left: 0; border-right: 1px solid rgba(20, 20, 20, .12); border-radius: 0 14px 0 0; }
.pr-stage h3, .pr-card h3 { margin: 0; font: 700 clamp(25px, 2.5vw, 34px)/1.06 var(--f-display); letter-spacing: -0.028em; text-wrap: balance; }
.pr-stage p, .pr-card > p { margin: 12px 0 0; max-width: 54ch; font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.pr-stage .ticks, .pr-card .ticks { margin-top: 16px; gap: 8px; }
.pr-stage .ticks li, .pr-card .ticks li { gap: 9px; font-size: 15px; line-height: 1.42; }
.pr-stage .ticks .gico, .pr-card .ticks .gico { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.pr-stage.ink { background: var(--c-ink); color: #fff; }
.pr-stage.ink::before { content: ""; position: absolute; z-index: -1; inset: -30% auto auto -14%; width: 70%; height: 100%; background: radial-gradient(closest-side, rgba(88, 186, 235, .24), rgba(88, 186, 235, 0)); }
.pr-stage.ink p { color: #B9B9B2; }
.pr-stage.ink .ticks .gico { color: var(--c-blue); }
.pr-stage.wash { background: linear-gradient(165deg, var(--c-blue-wash), #CFE7F5); }
.pr-stage.wash p { color: #38505E; }
@media (max-width: 960px) {
  .pr-stage, .pr-stage.rev { grid-template-columns: minmax(0, 1fr); padding: var(--pad) 0 0 var(--pad); gap: 0; }
  .pr-stage.rev .pr-stage-t { order: 0; padding-right: var(--pad); }
  .pr-stage-t { padding-right: var(--pad); }
  .pr-stage.rev .pr-win { border-left: 1px solid rgba(20, 20, 20, .12); border-right: 0; border-radius: 14px 0 0 0; }
  .pr-stage .pr-shot { max-height: 72vw; }
}

/* ── two big features side by side ── */
.pr-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); margin-bottom: clamp(12px, 1.4vw, 18px); }
.pr-card { --pad: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; min-width: 0; padding: var(--pad) var(--pad) 0; overflow: hidden; border-radius: var(--r-lg); }
.pr-card-win { margin: auto calc(var(--pad) * -1 + 14px) 0; padding-top: clamp(20px, 2.2vw, 28px); }
.pr-card .pr-win { border-bottom: 0; border-radius: 14px 14px 0 0; }
.pr-card .pr-shot { max-height: clamp(320px, 33vw, 480px); }
.pr-card.glass { background: rgba(255, 255, 255, .3); }
.pr-card.glass > p { color: #123A50; }
.pr-card.glass .ticks .gico { color: var(--c-ink); }
.pr-card.dim { background: #141518; border: 1px solid rgba(255, 255, 255, .1); }
.pr-card.dim > p { color: #B4B9BC; }
.pr-card.dim .ticks .gico { color: var(--c-blue); }
.pr-card.ink { background: var(--c-ink); color: #fff; }
.pr-card.ink > p { color: #B9B9B2; }
.pr-card.ink .ticks .gico { color: var(--c-blue); }
.pr-card.white { background: #fff; border: 1px solid var(--c-rule); }
.pr-card.white > p { color: var(--c-muted); }
@media (max-width: 960px) { .pr-duo { grid-template-columns: minmax(0, 1fr); } .pr-card .pr-shot { max-height: 86vw; } }

/* ── the tour. Each item is a <details>: its summary is a row of the menu, and its figure is lifted out to fill the space beside the menu. ── */
.pr-tour { --side: 264px; --h: clamp(560px, calc(100vh - 170px), 668px); position: relative; height: var(--h); overflow: hidden; border: 1px solid rgba(20, 20, 20, .12); border-radius: var(--r-lg); background: #F7F7F5; box-shadow: 0 30px 70px -40px rgba(8, 22, 32, .6); }
.pr-tour.tall { --h: clamp(600px, calc(100vh - 130px), 720px); }
.pr-sec.night .pr-tour { border-color: rgba(255, 255, 255, .16); }
.pr-tour-side { width: var(--side); height: 100%; padding: 14px 10px 16px; overflow-y: auto; background: radial-gradient(130% 44% at 0 0, rgba(88, 186, 235, .2), rgba(88, 186, 235, 0)), var(--c-ink); color: #fff; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .22) transparent; }
.pr-tour-dots { display: flex; gap: 6px; padding: 3px 8px 0; }
.pr-tour-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .24); }
.pr-tour-label { margin: 18px 0 6px; padding: 0 10px; font: 600 12.5px/1.2 var(--f-body); color: #8F8F89; }
.pr-tour.tall .pr-tour-label { margin-top: 14px; }
.pr-tour summary { display: flex; align-items: center; gap: 10px; min-height: 37px; padding: 5px 10px; border-radius: 10px; color: #B9B9B2; font: 500 14.5px/1.25 var(--f-body); cursor: pointer; list-style: none; transition: background .15s, color .15s; }
.pr-tour.tall summary { min-height: 34px; }
.pr-tour summary::-webkit-details-marker { display: none; }
.pr-tour summary .gico { flex: none; width: 17px; height: 17px; }
.pr-tour summary span { flex: 1; min-width: 0; }
.pr-tour summary:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.pr-tour details[open] > summary { background: rgba(255, 255, 255, .14); color: #fff; }
.v2 .pr-tour summary:focus-visible { outline: 2px solid var(--c-blue); outline-offset: -2px; border-radius: 10px; }
.pr-fold { display: none; }
.pr-tour figure { position: absolute; inset: 0 0 0 var(--side); display: flex; flex-direction: column; margin: 0; background: #F7F7F5; animation: pr-in .28s both; }
@keyframes pr-in { from { opacity: 0; } to { opacity: 1; } }
.pr-tour .pr-shot { flex: 1; min-height: 0; }
.pr-tour .pr-bar i { display: none; }
.pr-tour .pr-bar span { margin-left: 0; }
.pr-tour .pr-shot.page::after { content: ""; position: absolute; inset: auto 0 0 0; height: 130px; pointer-events: none; background: linear-gradient(rgba(247, 247, 245, 0), #F7F7F5 82%); }
.pr-tour .pr-shot.card { display: flex; justify-content: center; align-items: flex-start; align-items: safe center; padding: clamp(20px, 2.4vw, 32px) 28px 96px; background: linear-gradient(165deg, var(--c-blue-wash), #CFE7F5); }
.pr-tour .pr-shot.card img { width: min(100%, 740px); border: 1px solid rgba(20, 20, 20, .1); border-radius: 14px; box-shadow: 0 24px 50px -24px rgba(8, 40, 60, .5); }
.pr-tour figcaption { position: absolute; z-index: 1; left: 16px; bottom: 16px; max-width: min(640px, calc(100% - 32px)); padding: 13px 18px 14px; border-radius: 14px; background: rgba(20, 20, 20, .97); color: #C9C9C2; font-size: 14.5px; line-height: 1.45; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .55); text-wrap: pretty; }
.pr-tour figcaption b { display: block; margin-bottom: 2px; color: #fff; font: 600 15.5px/1.3 var(--f-body); }
.pr-tour figcaption a { color: var(--c-blue); font-weight: 500; }

/* on a narrow screen the menu folds out into an accordion, and a wide screen can be swiped sideways */
@media (max-width: 900px) {
  .pr-tour, .pr-tour.tall { height: auto; border: 0; background: var(--c-ink); box-shadow: none; }
  .pr-tour-side { width: auto; height: auto; padding: 8px 8px 10px; overflow: visible; }
  .pr-tour-dots { display: none; }
  .pr-tour-label { margin: 10px 0 8px; }
  .pr-tour summary, .pr-tour.tall summary { min-height: 46px; font-size: 15.5px; scroll-margin-top: calc(var(--gn-h) + 58px); }
  .pr-fold { display: block; transition: transform .2s; }
  .pr-tour details[open] .pr-fold { transform: rotate(180deg); }
  .pr-tour figure { position: static; margin: 0 0 10px; background: none; animation: none; }
  .pr-tour figcaption { position: static; order: -1; max-width: none; padding: 10px 10px 14px; background: none; box-shadow: none; font-size: 15px; }
  .pr-tour figcaption b { display: none; }
  .pr-tour .pr-bar { border-radius: 12px 12px 0 0; }
  .pr-tour .pr-bar i { display: block; }
  .pr-tour .pr-bar span { margin-left: 8px; }
  .pr-tour .pr-shot { flex: none; max-height: 112vw; border-radius: 0 0 12px 12px; background: #F7F7F5; }
  .pr-tour .pr-shot.page { overflow: auto hidden; overscroll-behavior-x: contain; }
  .pr-tour .pr-shot.page::after { display: none; }
  .pr-tour .pr-shot.page img, .pr-tour .pr-shot.page video { width: 165%; max-width: none; }
  .pr-tour .pr-shot.card { display: block; padding: 12px; }
}
@media (min-width: 561px) and (max-width: 900px) { .pr-tour .pr-shot { max-height: 74vw; } .pr-tour .pr-shot.page img, .pr-tour .pr-shot.page video { width: 100%; } .pr-tour .pr-shot.page { overflow: hidden; } }
@media (prefers-reduced-motion: reduce) { .pr-tour figure { animation: none; } .pr-tour summary, .pr-fold { transition: none; } }

/* ── features that only need a line ── */
.pr-also { margin-top: clamp(26px, 3vw, 38px); padding-top: clamp(18px, 2vw, 24px); border-top: 1px solid var(--c-rule-2); }
.pr-also h4 { margin: 0 0 14px; font: 600 15px var(--f-body); color: var(--c-muted); }
.pr-also ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 28px; margin: 0; padding: 0; list-style: none; }
.pr-also li { display: flex; gap: 10px; min-width: 0; }
.pr-also li .gico { flex: none; width: 19px; height: 19px; margin-top: 2px; color: var(--c-blue-ink); }
.pr-also b { display: block; font: 600 15.5px/1.3 var(--f-body); color: var(--c-ink); }
.pr-also span { font-size: 14.5px; line-height: 1.45; color: var(--c-muted); }
@media (max-width: 1020px) { .pr-also ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pr-also ul { grid-template-columns: minmax(0, 1fr); } }
.pr-below { margin: 24px 0 0; }

/* ── deployment ── */
.pr-deploy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.pr-deploy article { padding: clamp(24px, 2.6vw, 34px) clamp(24px, 2.6vw, 34px) clamp(28px, 3vw, 40px); border-radius: var(--r-lg); }
.pr-deploy .gico { display: block; width: 30px; height: 30px; }
.pr-deploy h3 { margin: clamp(32px, 4.2vw, 60px) 0 0; font: 700 clamp(23px, 2.2vw, 29px)/1.08 var(--f-display); letter-spacing: -0.025em; text-wrap: balance; }
.pr-deploy p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.5; text-wrap: pretty; }
.pr-deploy .sky { background: var(--c-blue); }
.pr-deploy .sky p { color: #123A50; }
.pr-deploy .ink { background: var(--c-ink); color: #fff; }
.pr-deploy .ink .gico { color: var(--c-blue); }
.pr-deploy .ink p { color: #B9B9B2; }
.pr-deploy .white { background: #fff; border: 1px solid var(--c-rule); }
.pr-deploy .white .gico { color: var(--c-blue-ink); }
.pr-deploy .white p { color: var(--c-muted); }
@media (max-width: 860px) { .pr-deploy { grid-template-columns: minmax(0, 1fr); } .pr-deploy h3 { margin-top: 20px; } }
