/* ============================================================
   Product tour — /product-tour  (page-scoped, prefix .pt-)
   Layout, metrics and motion follow the reference road-map page;
   colours, fonts and imagery are Cloudairy's.
   ============================================================ */
.pt {
  --pt-paper: #F9FAFC; --pt-card: #FFFFFF; --pt-ink: #18181B; --pt-ink-soft: #4B5563; --pt-ink-faint: #657488;
  --pt-line: #E6EAEF; --pt-purple: #6762FE; --pt-purple-hover: #5B56F0; --pt-purple-soft: #DEDCFF; --pt-halo: #ECEBFF; --pt-road: #A587FF; --pt-pink: #D461F0;
  --pt-grad: linear-gradient(109.22deg, #D461F0 5.39%, #A587FF 46.01%, #618CFF 82.76%); --pt-grad-hover: linear-gradient(109.22deg, #E476FF 5.39%, #B69DFF 46.01%, #739BFF 82.76%);
  --pt-display: "DM Sans", system-ui, sans-serif; --pt-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pt-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-family: var(--pt-body); color: var(--pt-ink); font-size: 17px; line-height: 1.5;
}
.pt *, .pt *::before, .pt *::after { box-sizing: border-box; }
.pt a { color: inherit; }

/* ---------- Journey: sticky stage + panels ---------- */
.pt-journey { position: relative; background: var(--pt-paper); }
.pt-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--pt-paper); }
.pt-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.pt-stage.is-static canvas { display: none; }
.pt-stage.is-static { background: var(--pt-paper) url("/assets/image/product-tour/tour-static-hero@2x.png") center / cover no-repeat; }
.pt-ov { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pt-panels { position: relative; z-index: 10; margin-top: -100vh; margin-top: -100svh; pointer-events: none; overflow-x: clip; }
.pt-card, .pt-journey .pt-hero-card { pointer-events: auto; }

/* overlays (projected from 3D) */
.pt-ov [data-ov] { position: absolute; left: 0; top: 0; visibility: hidden; opacity: 0; will-change: transform; user-select: none; transition: opacity .18s linear; }
.pt-ov [data-ov="logo"] { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--pt-line); background: #fff; box-shadow: 0 2px 10px rgba(24,24,27,.08); }
.pt-ov [data-ov="logo"] img { width: 24px; height: 24px; object-fit: contain; animation: pt-float 3.2s ease-in-out infinite alternate; }
.pt-ov [data-ov="logo"]:nth-of-type(2n) img { animation-delay: -1.1s; } .pt-ov [data-ov="logo"]:nth-of-type(3n) img { animation-delay: -2.3s; animation-duration: 3.8s; }
.pt-ov [data-ov="chip"] { white-space: nowrap; border-radius: 999px; border: 1px solid var(--pt-ink); background: rgba(249,250,252,.95); padding: 4px 10px; font: 400 10.5px/1.5 var(--pt-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--pt-ink); box-shadow: 2px 2px 0 var(--pt-road); }
.pt-ov [data-ov="you"] { max-width: 230px; border-radius: 14px; background: var(--pt-ink); padding: 6px 12px; text-align: center; font: 600 12.5px/1.375 var(--pt-body); color: var(--pt-road); }
.pt-ov [data-ov="you"]::after { content: ""; position: absolute; left: var(--tail, 50%); top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--pt-ink); }
.pt-ov [data-ov="board"] { pointer-events: auto; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border-radius: 999px; border: 2px solid var(--pt-ink); background: var(--pt-road); color: var(--pt-ink); padding: 4px 12px 4px 6px; font: 600 12.5px/1.5 var(--pt-body); text-decoration: none; box-shadow: 3px 3px 0 var(--pt-ink); }
.pt-ov [data-ov="board"]:hover { box-shadow: 4px 4px 0 var(--pt-ink); }
.pt-ov [data-ov="board"] i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--pt-ink); color: var(--pt-road); }
.pt-ov [data-ov="board"] svg { width: 12px; height: 12px; }
@media (min-width: 768px) { .pt-ov [data-ov="logo"] { width: 48px; height: 48px; } .pt-ov [data-ov="logo"] img { width: 28px; height: 28px; } }

/* chrome: tabs (top right), map + counter (bottom centre), ask-ai (bottom right) */
.pt-chrome { position: absolute; inset: 0; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.pt-chrome.is-on { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
.pt-tabs-wrap { pointer-events: auto; position: absolute; left: 50%; top: 76px; transform: translateX(-50%); }
.pt-tabs { display: inline-flex; align-items: center; padding: 4px; border-radius: 999px; border: 1px solid var(--pt-ink); background: rgba(249,250,252,.9); box-shadow: 3px 3px 0 var(--pt-road); backdrop-filter: blur(12px); }
.pt-tab { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border: 0; border-radius: 999px; background: transparent; padding: 6px 10px; font: 600 12px/1.5 var(--pt-body); color: var(--pt-ink-soft); cursor: pointer; transition: color .15s, background-color .15s; }
.pt-tab svg { width: 14px; height: 14px; }
.pt-tab:hover { color: var(--pt-ink); }
.pt-tab.is-active { background: var(--pt-ink); color: #fff; }
.pt-hud { pointer-events: auto; position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: none; }
.pt-hud-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pt-map { width: 368px; }
.pt-map .pt-map-stop { cursor: pointer; }
.pt-map .pt-map-stop:focus-visible { fill: rgba(103,98,254,.35); stroke: var(--pt-ink); stroke-width: 1.5; outline: none; }
.pt-map-marker { transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.pt-counter { font: 400 10.5px/1.5 var(--pt-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pt-ink-faint); }
@media (min-width: 768px) { .pt-hud { display: block; } .pt-map { width: 418px; } }
@media (min-width: 1024px) { .pt-tabs-wrap { left: auto; right: 24px; top: 84px; transform: none; } .pt-tab { padding: 6px 12px; font-size: 12.5px; } }

/* ---------- Hero (stop 0) ---------- */
.pt-hero-section { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100vh; min-height: 100svh; padding: 96px 20px 64px; }
.pt-hero-card { position: relative; width: 100%; max-width: 880px; text-align: center; opacity: var(--journey-card-opacity, 1); transition: opacity .12s linear; }
/* The wash behind the hero holds further out so the CTA row and the trust line stay legible
   wherever the road happens to pass behind them. */
.pt-hero-paper { pointer-events: none; position: absolute; inset: -32px; z-index: -1; background: radial-gradient(closest-side, #F9FAFC 0% 58%, rgba(249,250,252,.88) 78%, rgba(249,250,252,0) 100%); }
.pt-hero-card h1 { margin: 0; font-family: var(--pt-display); font-size: 40px; font-weight: 800; line-height: 1.06; letter-spacing: -.03em; color: var(--pt-ink); text-wrap: balance; }
.pt-strike { color: #A1A7B4; display: inline-block; position: relative; text-decoration: none; }
.pt-strike::after { content: ""; position: absolute; left: -.04em; right: -.04em; top: 54%; height: .085em; border-radius: .05em; background: var(--pt-purple); transform: scaleX(0); transform-origin: left center; animation: pt-strike .5s .55s cubic-bezier(.2,.8,.2,1) forwards; }
.pt-hero-sub { position: relative; margin: 16px 0 0; font-family: var(--pt-display); font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--pt-ink); }
.pt-hero-sub .pt-with { margin-right: .3em; font-weight: 400; color: var(--pt-ink-soft); }
.pt-reel-window { display: inline-block; white-space: nowrap; text-align: center; vertical-align: baseline; clip-path: inset(-.3em 0); transition: width .3s ease-out; position: relative; }
.pt-reel-measure { position: absolute; left: 0; top: 0; visibility: hidden; white-space: nowrap; pointer-events: none; }
.pt-reel-word { display: inline-block; white-space: nowrap; }
.pt-hero-reel { background-image: linear-gradient(transparent 64%, rgba(103,98,254,.9) 64%); background-repeat: no-repeat; background-size: 100% 100%; animation: pt-hero-reel-in .46s cubic-bezier(.16,.9,.28,1) both; }
.pt-hero-finale { -webkit-box-decoration-break: clone; box-decoration-break: clone; background-image: linear-gradient(rgba(103,98,254,.92), rgba(103,98,254,.92)); background-position: 0 0; background-repeat: no-repeat; background-size: 100% 100%; border-radius: .07em; margin-inline: -.14em; padding: .02em .14em; color: #fff; animation: pt-hero-finale-in .82s cubic-bezier(.2,.75,.25,1) both; }
.pt-hero-lead { max-width: 56ch; margin: 20px auto 0; font-family: var(--pt-body); font-size: 16px; line-height: 1.5; color: var(--pt-ink-soft); text-wrap: pretty; }
.pt-hero-ctas { display: flex; flex-direction: column; justify-content: center; gap: 12px; margin-top: 32px; }
/* Buttons follow the site: primary = solid #6762FE pill (.edit-btn), secondary = gradient-border pill (.outline-btn) */
.pt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--pt-body); font-size: 18px; font-weight: 600; line-height: 1.5; border-radius: 60px; padding: 14px 28px; text-decoration: none; cursor: pointer; transition: all .3s ease; }
.pt a.pt-btn--primary, .pt-btn--primary { background: var(--pt-purple); color: #fff; border: 0; }
.pt a.pt-btn--primary:hover, .pt-btn--primary:hover { background: var(--pt-purple-hover); color: #fff; }
.pt a.pt-btn--secondary, .pt-btn--secondary { position: relative; z-index: 1; background: transparent; background-image: var(--pt-grad); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: transparent; border: 0; }
.pt-btn--secondary::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 60px; padding: 2px; background: var(--pt-grad); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: background .3s ease; }
.pt-btn--secondary:hover { background-image: var(--pt-grad-hover); box-shadow: 0 4px 12px rgba(165,135,255,.3); }
.pt-btn--secondary:hover::before { background: var(--pt-grad-hover); }
.pt-hero-proof { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }
.pt-rating { display: flex; height: 50px; align-items: center; gap: 9px; border-radius: 12px; border: 1.5px solid rgba(24,24,27,.1); background: #FFFDFB; padding: 0 20px 0 16px; text-decoration: none; transition: transform .15s; }
.pt-rating:hover { transform: translateY(-2px); }
.pt-rating img { width: 26px; height: 26px; object-fit: contain; }
.pt-rating .pt-stars { display: flex; gap: 1px; color: #FF7A00; }
.pt-rating .pt-stars svg { width: 11px; height: 11px; }
.pt-rating b { display: block; margin-top: 5px; font: 800 15px/1 var(--pt-body); color: var(--pt-ink); }
.pt-hero-note { font: 400 13px/1.5 var(--pt-body); color: var(--pt-ink-soft); background: rgba(249,250,252,.92);
  border-radius: 999px; padding: 7px 14px; backdrop-filter: blur(3px); }
@media (min-width: 640px) { .pt-hero-card h1 { font-size: 52px; } .pt-hero-sub { font-size: 26px; } .pt-hero-ctas { flex-direction: row; } }
@media (min-width: 768px) { .pt-hero-section { padding-left: 32px; padding-right: 32px; } .pt-hero-paper { inset: -56px -80px; } .pt-hero-card h1 { font-size: 64px; } .pt-hero-sub { font-size: 30px; } .pt-hero-lead { font-size: 18px; } }
@media (min-width: 1024px) { .pt-hero-card h1 { font-size: 72px; } }

/* ---------- Stop sections + cards ---------- */
.pt-section-stop { display: flex; align-items: flex-end; min-height: 100vh; min-height: 100svh; padding: 96px 16px 80px; }
.pt-card { position: sticky; bottom: 80px; width: 100%; max-width: 420px; border-radius: 22px; border: 2px solid var(--pt-ink); background: rgba(255,255,255,.93); padding: 16px; box-shadow: 4px 4px 0 var(--pt-road); backdrop-filter: blur(12px); opacity: var(--journey-card-opacity, 1); transition: opacity .12s linear; }
/* card header from the copy deck: surface name, one-line subtitle, tier pill */
.pt-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pt-card-kicker { margin: 0; font: 600 13px/1.3 var(--pt-body); color: var(--pt-ink); }
.pt-card-sub { margin: 2px 0 0; font: 400 12.5px/1.4 var(--pt-body); color: var(--pt-ink-soft); text-wrap: pretty; }
.pt-pill { flex: none; border-radius: 999px; padding: 3px 9px; font: 500 10px/1.5 var(--pt-mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; border: 1px solid transparent; }
.pt-pill--free { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.pt-pill--starter { background: var(--pt-halo); color: var(--pt-purple); border-color: var(--pt-purple-soft); }
.pt-pill--business { background: #FFF7ED; color: #B45309; border-color: #FED7AA; }
.pt-pill--enterprise { background: #F4F4F5; color: var(--pt-ink); border-color: var(--pt-line); }
.pt-pill--verify { background: #FEF2F2; color: #B91C1C; border-color: #FECACA; }
.pt-card h2 { margin: 0; font-family: var(--pt-display); font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--pt-ink); text-wrap: balance; }
.pt-card .pt-card-p { margin: 12px 0 0; font-family: var(--pt-body); font-size: 14px; line-height: 1.5; color: var(--pt-ink-soft); text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt-fold { display: none; }
.pt-card.is-open .pt-fold { display: block; }
.pt-card.is-open .pt-card-p { display: block; -webkit-line-clamp: unset; overflow: visible; }
.pt-fold-inner { margin-top: 16px; border-top: 1px solid var(--pt-line); padding-top: 12px; }
.pt-eyebrow { font: 400 10.5px/1.5 var(--pt-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pt-ink-faint); }
.pt-moments { list-style: none; margin: 8px 0 0; padding: 0; }
.pt-moments li { border-left: 2px solid var(--pt-line); padding-left: 12px; transition: border-color .3s; }
.pt-moments li.is-open { border-left-color: var(--pt-road); }
.pt-moments button { display: block; width: 100%; padding: 5px 0; border: 0; background: none; text-align: left; font: 600 13.5px/1.375 var(--pt-body); color: var(--pt-ink-soft); cursor: pointer; transition: color .15s; }
.pt-moments button:hover, .pt-moments li.is-open button { color: var(--pt-ink); }
.pt-moment-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease-out; }
.pt-moment-panel p { margin: 0; overflow: hidden; font: 400 13.5px/1.5 var(--pt-body); color: var(--pt-ink-soft); }
.pt-moment-panel p span { display: block; padding-bottom: 8px; }
.pt-personas { display: grid; gap: 8px; margin-top: 12px; }
.pt-persona { display: flex; align-items: center; gap: 12px; border-radius: 14px; border: 1.5px solid var(--pt-line); background: rgba(255,255,255,.9); padding: 10px 14px; text-align: left; cursor: pointer; transition: all .3s; }
.pt-persona:hover { transform: translateY(-1px); border-color: var(--pt-ink); background: var(--pt-halo); box-shadow: 0 3px 0 var(--pt-ink); }
.pt-persona i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--pt-line); background: var(--pt-paper); flex: 0 0 auto; transition: background .15s, border-color .15s; }
.pt-persona:hover i { border-color: var(--pt-ink); background: var(--pt-purple); color: #fff; }
.pt-persona i svg { width: 20px; height: 20px; }
.pt-persona b { display: block; font: 600 15px/1.25 var(--pt-body); color: var(--pt-ink); }
.pt-persona small { display: block; margin-top: 2px; font: 400 12px/1.375 var(--pt-body); color: var(--pt-ink-faint); }
.pt-persona > svg { width: 16px; height: 16px; margin-left: auto; flex: 0 0 auto; color: var(--pt-ink-faint); transition: transform .15s, color .15s; }
.pt-persona:hover > svg { transform: translateX(1px); color: var(--pt-ink); }
.pt-card-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; }
.pt-card-btns .pt-btn { font-size: 16px; padding: 11px 22px; }
.pt-card-link { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1.5 var(--pt-body); color: var(--pt-ink); text-decoration: none; }
.pt-card-link span { text-underline-offset: 4px; }
.pt-card-link:hover span { text-decoration: underline; }
.pt-card-link svg { width: 16px; height: 16px; transition: transform .15s; }
.pt-card-link:hover svg { transform: translateX(1px); }
.pt-card-tag { flex-basis: 100%; font: 400 10px/1.5 var(--pt-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pt-ink-faint); }
.pt-card-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.pt-fold-toggle { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; border: 0; background: none; padding: 0; font: 600 13px/1.5 var(--pt-body); color: var(--pt-ink); cursor: pointer; }
.pt-fold-toggle svg { width: 16px; height: 16px; transition: transform .15s; }
.pt-card.is-open .pt-fold-toggle svg { transform: rotate(180deg); }
.pt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 640px) { .pt-section-stop { padding-left: 24px; padding-right: 24px; } .pt-card { padding: 20px; } }
@media (min-width: 768px) {
  .pt-section-stop { align-items: center; padding-top: 112px; padding-bottom: 48px; }
  .pt-card { position: static; padding: 24px 26px; }
  .pt-card h2 { font-size: 28px; }
  .pt-card .pt-card-p { font-size: 15px; line-height: 1.5; display: block; -webkit-line-clamp: unset; overflow: visible; }
  .pt-fold { display: block; }
  .pt-moments button, .pt-moment-panel p { font-size: 14px; }
  .pt-fold-toggle { display: none; }
}
@media (min-width: 1024px) { .pt-section-stop { padding-left: 6vw; padding-right: 6vw; } .pt-card { max-width: 450px; } }
@media (min-width: 1440px) { .pt-card { max-width: 470px; padding: 28px; } .pt-card h2 { font-size: 30px; } }
}

/* ---------- Below the road ---------- */
.pt-section { padding: 88px 24px; max-width: 1320px; margin: 0 auto; }
.pt-section--tight { padding-top: 40px; }
/* breathing room between the FAQ and the closing band */
#faq { padding-bottom: 104px; }
@media (max-width: 767px) { #faq { padding-bottom: 64px; } }
.pt-kicker { font: 400 12px/1.5 var(--pt-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--pt-ink-faint); text-align: center; margin: 0 0 16px; }
.pt-h2 { font-family: var(--pt-display); font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; text-align: center; margin: 0; color: var(--pt-ink); text-wrap: balance; }
.pt-h2-sub { max-width: 680px; margin: 16px auto 0; text-align: center; font-size: 18px; line-height: 1.55; color: var(--pt-ink-soft); }
.pt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.pt-step__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.pt-step__dot { width: 40px; height: 40px; border-radius: 50%; background: var(--pt-purple); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 15px/1 var(--pt-body); border: 2px solid var(--pt-ink); box-shadow: 3px 3px 0 var(--pt-ink); flex: 0 0 auto; }
.pt-step h3 { font-family: var(--pt-display); font-size: 20px; font-weight: 700; margin: 0; line-height: 1.3; color: var(--pt-ink); }
.pt-step__time { font: 400 11px/1.5 var(--pt-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pt-ink-faint); margin: 2px 0 0; }
.pt-step p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--pt-ink-soft); }
.pt-faq { max-width: 860px; margin: 48px auto 0; }
.pt-faq details { border: 2px solid var(--pt-line); border-radius: 16px; background: #fff; margin-bottom: 12px; transition: border-color .2s; }
.pt-faq details[open] { border-color: var(--pt-ink); box-shadow: 6px 6px 0 var(--pt-purple-soft); }
.pt-faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-size: 17px; font-weight: 600; color: var(--pt-ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.pt-faq summary::-webkit-details-marker { display: none; }
.pt-faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--pt-purple); transition: transform .2s; }
.pt-faq details[open] summary::after { transform: rotate(45deg); }
.pt-faq .pt-faq__a { padding: 0 22px 20px; font-size: 16px; line-height: 1.6; color: var(--pt-ink-soft); }
/* scroll-driven reveal for sections below the road (reference .ms-reveal) */
.pt-reveal { animation: pt-reveal-in linear both, pt-reveal-drift linear both; animation-timeline: view(), view(); animation-range: entry 0% entry 55%, cover; --pt-drift: 0px; }
.pt-seq-item { animation: pt-seq-in linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }

/* ---------- Keyframes (reference names/timings) ---------- */
@keyframes pt-strike { to { transform: scaleX(1); } }
@keyframes pt-float { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
@keyframes pt-hero-reel-in { 0% { opacity: 0; filter: blur(4px); transform: translateY(.55em); } 30% { opacity: 1; filter: blur(0); } 70% { transform: translateY(-.07em); } 100% { filter: blur(0); transform: translateY(0); } }
@keyframes pt-hero-finale-in { 0% { opacity: .25; background-size: 0% 100%; transform: translateY(.16em) scale(.965); } 25% { opacity: 1; } 100% { opacity: 1; background-size: 100% 100%; transform: translateY(0) scale(1); } }
@keyframes pt-reveal-in { 0% { opacity: 0; translate: 0 44px; } 100% { opacity: 1; translate: 0; } }
@keyframes pt-reveal-drift { 0% { transform: translateY(var(--pt-drift, 0px)); } 100% { transform: translateY(calc(var(--pt-drift, 0px) * -1)); } }
@keyframes pt-seq-in { 0% { opacity: 0; translate: 0 120px; } 100% { opacity: 1; translate: 0; } }

@media (max-width: 860px) {
  .pt-section { padding: 64px 16px; }
  .pt-steps { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-strike::after { animation: none; transform: none; }
  .pt-hero-reel, .pt-hero-finale, .pt-reveal, .pt-seq-item, .pt-ov [data-ov="logo"] img,
  .pt-card, .pt-hero-card, .pt-reel-window, .pt-map-marker, .pt-moment-panel { transition: none; }
}

/* closing CTA band: undo pricing.css's dark-testimonial variant, match the compare pages */
.pt-page .testimotinal-subtext { padding: 12px 0 0; color: #657488; line-height: 1.5; font-weight: 400; text-align: center; }
.pt-page .ready-to-unlock-text { max-width: 840px; }
.pt-page .ready-to-unlock-section { min-height: 320px; padding: 56px 24px; }

/* closing band trust line: matches the site component (14px, soft grey) */
.pt-cta-note { margin: 16px 0 0; font: 400 14px/1.5 var(--pt-body); color: #657488; text-align: center; }

/* ---------------------------------------------------------------
   Small screens: the card becomes a bottom sheet and the scene sits above it,
   the way the reference tour behaves in portrait.
   --------------------------------------------------------------- */
@media (max-width: 767px) {
  .pt-section-stop { align-items: flex-end; padding: 72px 12px 20px; }
  .pt-card { position: sticky; bottom: 16px; max-width: none; width: 100%; padding: 14px 16px; border-radius: 18px; box-shadow: 3px 3px 0 var(--pt-road); }
  .pt-card h2 { font-size: 21px; }
  .pt-card-p { font-size: 14px; line-height: 1.5; }
  .pt-card-head { margin-bottom: 8px; }
  .pt-card-sub { display: none; }
  .pt-map { display: none; }
  .pt-tabs-wrap { top: 64px; }
  .pt-ov [data-ov="chip"] { font-size: 9.5px; padding: 2px 7px; }
  .pt-ov [data-ov="board"] { font-size: 11px; }
}
@media (max-width: 400px) {
  .pt-card h2 { font-size: 19px; }
  .pt-card { padding: 12px 14px; }
}
.pt-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 20px; font: 500 14px/1.5 var(--pt-body); color: #047857; }
.pt-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; }

/* ---------------------------------------------------------------
   Short viewports (laptop windows, split screens): the same card, tightened
   so it never runs past the fold or under the chapter tabs.
   --------------------------------------------------------------- */
@media (min-width: 768px) and (max-height: 820px) {
  .pt-section-stop { padding-top: 86px; padding-bottom: 28px; }
  .pt-card { padding: 14px 18px; }
  .pt-card h2 { font-size: 22px; }
  .pt-card-p { font-size: 13.5px; }
  .pt-card-head { margin-bottom: 8px; }
  .pt-moments button { padding: 4px 0; }
  .pt-card-cta, .pt-card-btns { margin-top: 12px; }
}
@media (min-width: 768px) and (max-height: 700px) {
  .pt-section-stop { padding-top: 132px; padding-bottom: 20px; }
  .pt-card { padding: 12px 16px; }
  .pt-card h2 { font-size: 20px; }
  .pt-card-p { font-size: 13px; line-height: 1.45; }
  .pt-moment-panel p { font-size: 12.5px; }
  .pt-map { width: 334px; }
}

/* Very short windows behave like portrait: the same bottom-sheet card, nothing new. */
@media (max-height: 640px) {
  .pt-section-stop { align-items: flex-end; padding: 72px 16px 16px; }
  .pt-card { position: sticky; bottom: 12px; max-width: 520px; padding: 12px 16px; border-radius: 18px; }
  .pt-card h2 { font-size: 20px; }
  .pt-card-p { font-size: 13px; line-height: 1.45; }
  .pt-card-sub { display: none; }
  .pt-map { width: 334px; }
  .pt-moments li:nth-child(n+3) { display: none; }
}

/* ---------------------------------------------------------------
   Security CTA, from the Figma "Security CTA - 05 Midnight glow" frame:
   a dark card, copy and button on the left, three assurances and the
   certification marks on the right.
   --------------------------------------------------------------- */
.pt-sec, .pt-sec * { text-align: left; }
.pt-sec { position: relative; overflow: hidden; max-width: 1180px; margin: 0 auto; border-radius: 28px;
  background: linear-gradient(135deg, #16132A 0%, #1B1733 42%, #2A1D4E 100%);
  display: grid; grid-template-columns: 1fr; gap: 36px; padding: 44px 28px; isolation: isolate; }
.pt-sec__glow { position: absolute; right: -10%; bottom: -34%; width: 46%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(154,78,214,.62) 0%, rgba(120,70,190,.28) 42%, rgba(103,98,254,0) 70%); filter: blur(26px); }
.pt-sec__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font: 500 11.5px/1.5 var(--pt-mono); letter-spacing: .16em; text-transform: uppercase; color: #C3B9FF; }
.pt-sec__eyebrow i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: #6C4FD6; border: 0; color: #fff; }
.pt-sec__eyebrow svg { width: 17px; height: 17px; }
.pt-sec__h2 { margin: 0 0 16px; max-width: 19ch; font-family: var(--pt-display); font-size: clamp(28px, 3vw, 38px); font-weight: 800;
  line-height: 1.16; letter-spacing: -.025em; color: #fff; hyphens: none; }
.pt-sec__h2 b { font-weight: inherit; white-space: nowrap; } /* keep "enterprise-ready" whole */
.pt-sec__h2 em { font-style: normal; color: #A587FF; }
.pt-sec__lead { margin: 0; max-width: 46ch; font: 400 15.5px/1.65 var(--pt-body); color: rgba(255,255,255,.66); text-wrap: pretty; }
.pt-sec__cta { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; padding: 12px 22px; border-radius: 10px;
  background: #7059E8; color: #fff; font: 600 14.5px/1 var(--pt-body); text-decoration: none; transition: all .25s ease; }
.pt-sec .pt-sec__cta:hover { background: linear-gradient(109.22deg, #8C70FF 0%, #7873FF 100%); color: #fff; transform: translateY(-1px); }
.pt-sec__right { display: grid; gap: 12px; align-content: start; }
.pt-sec__card { border-radius: 14px; padding: 16px 18px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.09); }
.pt-sec__card h3 { margin: 0 0 5px; font: 600 15px/1.35 var(--pt-body); color: #fff; }
.pt-sec__card p { margin: 0; font: 400 13.5px/1.55 var(--pt-body); color: rgba(255,255,255,.6); }
.pt-sec__marks { margin-top: 10px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }

.pt-sec__line { margin: 0 0 10px; font: 400 13px/1.5 var(--pt-body); color: rgba(255,255,255,.55); }
.pt-sec__status { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 13px/1.5 var(--pt-body); color: #34D399; }
.pt-sec__status span { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.16); }
@media (min-width: 900px) {
  .pt-sec { grid-template-columns: 0.86fr 1.14fr; gap: 64px; padding: 62px 58px; align-items: center; }
  .pt-sec__left { padding-right: 8px; }
}
/* second button in the closing band: the site's ghost treatment beside the solid one */
.pt-page .ready-to-unlock-button.pt-cta-ghost p { background: #fff; border: 1.5px solid var(--pt-line); color: var(--pt-ink); }
.pt-page .ready-to-unlock-button.pt-cta-ghost span { color: var(--pt-ink); }
.pt-page .ready-to-unlock-button.pt-cta-ghost p:hover { border-color: var(--pt-ink-faint); background: #fff; }
/* the offer strip separator that replaced the countdown */
.pricing-page .strip .cd-sep { opacity: .45; margin: 0 4px; }
/* certification seals, drawn to match the Figma security frame */
.pt-sec__badges { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; padding: 0; list-style: none; }
.pt-sec__badges li { display: block; }
.pt-seal { width: 76px; height: 76px; color: #fff; display: block; }
.pt-seal__ring { font: 500 7px var(--pt-mono); letter-spacing: .22em; text-transform: uppercase; fill: currentColor; fill-opacity: .62; }
.pt-seal__main { font: 700 15px var(--pt-body); fill: currentColor; letter-spacing: -.01em; }
.pt-seal__sub { font: 500 6.6px var(--pt-mono); letter-spacing: .18em; fill: currentColor; fill-opacity: .66; }
@media (max-width: 520px) { .pt-seal { width: 66px; height: 66px; } .pt-sec__badges { gap: 10px; } }

/* hero: CTAs one step down, proof as a quiet line instead of a boxed logo badge */
.pt-hero-ctas .pt-btn { font-size: 16px; padding: 12px 24px; }
.pt-hero-proof { gap: 10px; margin-top: 24px; }
.pt-proof-line { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 500 14px/1.4 var(--pt-body); color: var(--pt-ink-soft); background: rgba(249,250,252,.92); border-radius: 999px; padding: 6px 14px; backdrop-filter: blur(3px); }
.pt-proof-line b { font-weight: 700; color: var(--pt-ink); }
.pt-proof-line .pt-stars { display: flex; gap: 1px; color: #FF7A00; }
.pt-proof-line .pt-stars svg { width: 14px; height: 14px; }
.pt-hero-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; list-style: none; margin: 0; padding: 4px 12px; font: 400 13px/1.5 var(--pt-body); color: var(--pt-ink-soft); background: rgba(249,250,252,.92); border-radius: 999px; backdrop-filter: blur(3px); }
.pt-hero-checks li { position: relative; padding-left: 16px; }
.pt-hero-checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 4px; border-left: 1.8px solid #16A34A; border-bottom: 1.8px solid #16A34A; transform: rotate(-45deg); }

/* chapter tabs: 40px tap targets below desktop */
@media (max-width: 1023px) {
  .pt-tab { padding: 10px 14px; font-size: 13.5px; gap: 7px; }
  .pt-tab svg { width: 16px; height: 16px; }
}
@media (max-width: 380px) { .pt-tab { padding: 10px 11px; font-size: 13px; } }

/* tablet: tabs move to the right (as on desktop) and cards stop short of them,
   so a card scrolling past never covers the chapter tabs */
@media (min-width: 768px) and (max-width: 1023px) {
  .pt-tabs-wrap { left: auto; right: 24px; transform: none; }
  .pt-card { max-width: min(420px, calc(100vw - 24px - 24px - 346px - 20px)); }
}
