/* ===========================================================================
   Product page (Annex 3) — walkthrough exhibit, integrations, bespoke, proof.
   Built on the shared tokens in styles.css; reuses demo.css clause heads + chevron.
   =========================================================================== */
:root { --pw-panel: rgba(255,255,255,.028); --pw-panel-2: rgba(255,255,255,.045); --pw-line: rgba(255,255,255,.10); }

.pw-clause { padding: 40px 0; border-top: 1px solid var(--line); }
.pw-clause:last-of-type { border-bottom: 1px solid var(--line); }
.pw-clause .annex-head { margin-bottom: 20px; }
.pw-sub { font-family: var(--head); font-weight: 500; font-size: clamp(15px, 2vw, 18px); color: #c3cce0; max-width: 640px; line-height: 1.5; margin: 0 0 24px; }
.pw-sub em { color: var(--white); font-style: normal; }

/* ---------- 4.1 Walkthrough ---------- */
.pw-walk { border: 1px solid var(--pw-line); border-radius: 20px; background: linear-gradient(180deg, rgba(71,82,252,.06), rgba(255,255,255,.015)); overflow: hidden; }
.pw-steps { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; border-bottom: 1px solid var(--pw-line); }
.pw-steps li { flex: 1 1 0; display: flex; }
.pw-step { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 10px; background: none; border: 0; border-right: 1px solid var(--pw-line); cursor: pointer; color: var(--muted, #8a97b3); font-family: var(--mono, 'Fragment Mono', monospace); font-size: 13px; letter-spacing: .02em; transition: background .2s, color .2s; }
.pw-steps li:last-child .pw-step { border-right: 0; }
.pw-step:hover { color: #c3cce0; background: rgba(255,255,255,.025); }
.pw-step.is-active { color: var(--white); background: rgba(71,82,252,.16); }
.pw-step-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; font-size: 12px; flex: none; }
.pw-step.is-active .pw-step-n { background: var(--blue); border-color: var(--blue); color: #fff; }
.pw-step-l { white-space: nowrap; }

.pw-stage { position: relative; min-height: 320px; padding: 30px; }
.pw-progress { position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--blue); box-shadow: 0 0 10px rgba(71,82,252,.7); }
.pw-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; animation: pwFade .45s ease; }
.pw-panel[hidden] { display: none; }
@keyframes pwFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pw-panel-copy h3 { font-family: var(--head); font-weight: 700; font-size: clamp(20px, 3vw, 26px); color: var(--white); margin: 0 0 10px; letter-spacing: -.01em; }
.pw-panel-copy p { font-family: var(--head); font-weight: 500; color: #c3cce0; line-height: 1.55; margin: 0; max-width: 420px; }
.pw-panel-vis { display: flex; justify-content: center; }

/* step visuals */
.pw-doc { width: 100%; max-width: 320px; background: #f7f8fc; border-radius: 12px; padding: 16px; box-shadow: 0 18px 40px rgba(2,8,30,.45); }
.pw-doc-bar { background: #0e2a5e; color: #fff; font-family: var(--head); font-weight: 700; font-size: 12.5px; border-radius: 6px; padding: 7px 10px; margin-bottom: 12px; }
.pw-doc-line { height: 7px; background: #d7ddea; border-radius: 4px; margin: 8px 0; }
.pw-doc-line.short { width: 60%; }
.pw-doc-sign { margin-top: 14px; font-family: var(--mono, monospace); font-size: 11px; color: #8a97b3; }

.pw-schema { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 8px; }
.pw-field { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; background: var(--pw-panel-2); border: 1px solid var(--pw-line); border-radius: 10px; animation: pwSlot .5s both; }
.pw-field:nth-child(2){animation-delay:.07s}.pw-field:nth-child(3){animation-delay:.14s}.pw-field:nth-child(4){animation-delay:.21s}.pw-field:nth-child(5){animation-delay:.28s}
@keyframes pwSlot { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.pw-key { font-family: var(--mono, monospace); font-size: 12.5px; color: var(--muted, #8a97b3); }
.pw-val { font-family: var(--head); font-weight: 700; color: var(--white); font-size: 14px; }

.pw-recon, .pw-record { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 7px; }
.pw-rrow { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; padding: 10px 12px; background: var(--pw-panel-2); border: 1px solid var(--pw-line); border-radius: 9px; font-size: 13px; }
.pw-rk { font-family: var(--mono, monospace); color: var(--muted, #8a97b3); font-size: 12px; }
.pw-rv { font-family: var(--head); font-weight: 700; color: var(--white); }
.pw-rx { font-family: var(--mono, monospace); font-size: 11px; color: #8a97b3; }
.pw-flag { font-weight: 700; width: 16px; text-align: center; }
.pw-flag.ok { color: #17A95B; } .pw-flag.bad { color: #DC1B31; }
.pw-record { max-width: 360px; }
.pw-record-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--head); font-weight: 700; color: var(--white); margin-bottom: 4px; }
.pw-record-tag { font-family: var(--mono, monospace); font-size: 11px; color: var(--blue); border: 1px solid rgba(71,82,252,.5); border-radius: 20px; padding: 2px 9px; }
.pw-record .pw-rrow { border-color: rgba(23,169,91,.32); background: rgba(23,169,91,.07); }
.pw-record-foot { margin-top: 8px; font-family: var(--mono, monospace); font-size: 11.5px; color: #17A95B; }

/* ---------- 4.2 Integrations ---------- */
.pw-buckets { display: flex; flex-direction: column; gap: 14px; }
.pw-bucket { border: 1px solid var(--pw-line); border-radius: 14px; background: var(--pw-panel); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pw-bucket.open { transform: translateY(-2px); border-color: rgba(71,82,252,.4); box-shadow: 0 16px 40px rgba(2,8,30,.4); }
.pw-bucket-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; background: none; border: 0; cursor: pointer; text-align: left; }
.pw-bucket-title { font-family: var(--head); font-weight: 700; font-size: clamp(16px, 2.2vw, 19px); color: var(--white); }
.pw-bucket-meta { display: flex; align-items: center; gap: 14px; }
.pw-bucket-count { font-family: var(--mono, monospace); font-size: 12px; color: var(--muted, #8a97b3); border: 1px solid var(--pw-line); border-radius: 20px; padding: 2px 9px; }
.pw-bucket-body { max-height: 0; overflow: hidden; transition: max-height .34s ease; }
.pw-bucket-inner { padding: 0 20px 20px; }
.pw-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pw-logo { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border-radius: 12px; box-shadow: 0 6px 16px rgba(2,8,30,.25); transition: transform .18s ease, box-shadow .18s ease; cursor: default; }
.pw-logo:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(2,8,30,.4); }
.pw-logo-slot { width: 30px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #e7ecf5, #cdd6e6); flex: none; }
.pw-logo-name { font-family: var(--head); font-weight: 700; color: #0e2143; font-size: 14px; }

/* ---------- 4.3 Bespoke ---------- */
.pw-steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pw-step3 { border: 1px solid var(--pw-line); border-radius: 14px; background: var(--pw-panel); padding: 22px; }
.pw-step3-n { font-family: var(--mono, monospace); font-size: 13px; color: var(--blue); }
.pw-step3 h4 { font-family: var(--head); font-weight: 700; color: var(--white); font-size: 17px; margin: 10px 0 8px; }
.pw-step3 p { font-family: var(--head); font-weight: 500; color: #c3cce0; line-height: 1.5; margin: 0; font-size: 14px; }

/* ---------- 4.4 Proof ---------- */
.pw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--pw-line); border-radius: 16px; overflow: hidden; background: var(--pw-panel); }
.pw-stat { padding: 30px 26px; border-right: 1px solid var(--pw-line); }
.pw-stat:last-child { border-right: 0; }
.pw-stat-num { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(38px, 6vw, 58px); line-height: 1; letter-spacing: -.03em; color: var(--white); }
.pw-stat-big { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(26px, 4vw, 34px); line-height: 1.05; letter-spacing: -.02em; color: var(--white); white-space: nowrap; }
.pw-stat-desc { display: block; margin-top: 14px; font-family: var(--mono, monospace); font-size: 12.5px; line-height: 1.5; color: var(--muted, #8a97b3); }
.pw-stat-note { font-family: var(--mono, monospace); font-size: 11.5px; color: #6b768f; margin: 10px 2px 0; }

/* The Proof — validated note + before/after anchors */
.pw-validated { display: inline-flex; align-items: center; gap: 7px; color: #18c964; }
.pw-validated .pw-tick { font-style: normal; display: inline-grid; place-items: center; width: 16px; height: 16px;
  border-radius: 50%; background: rgba(24,201,100,.14); border: 1px solid rgba(24,201,100,.4); font-size: 9px; }
.pw-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 0; }
.pw-ba-card { display: flex; flex-direction: column; gap: 9px; padding: 20px 22px; border-radius: 14px;
  border: 1px solid var(--pw-line); background: var(--pw-panel); }
.pw-ba-flow { display: flex; align-items: center; gap: 12px; font-family: var(--head); }
.pw-ba-before { font-weight: 600; font-size: 19px; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(226,75,74,.55); }
.pw-ba-arrow { font-family: var(--mono); color: var(--blue); font-size: 15px; }
.pw-ba-after { font-weight: 700; font-size: clamp(22px, 3vw, 28px); color: #fff; letter-spacing: -.01em; }
.pw-ba-label { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.pw-ba-mult { margin-left: auto; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: #18c964; padding: 3px 9px; border: 1px solid rgba(24,201,100,.4); border-radius: 999px; white-space: nowrap; }
.pw-ba-bar { display: block; position: relative; height: 13px; border-radius: 4px; margin: 7px 0 5px; overflow: hidden;
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.pw-ba-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 3px;
  background-color: #4752fc; box-shadow: 0 0 16px rgba(71,82,252,.7); }
/* digital LED-segment overlay — punches regular gaps so the bar reads as a computerised meter, not a plain fill */
.pw-ba-bar::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 6px, #080c1c 6px 8px); }
/* the "before" time stays struck-through; the "after" + multiplier read as the result */
.pw-ba-before { text-decoration: line-through; text-decoration-color: rgba(226,75,74,.6); }

/* The headline move, LOOPING: the meter fills to the full "before" time in red, holds, is CUT back to
   the "after" time in blue, holds the result, fades, and runs again — a live, repeating readout. */
.pw-anim .pw-ba-fill { animation: pwSpeedBar 4.2s cubic-bezier(.5,.04,.18,1) infinite; }
@keyframes pwSpeedBar {
  0%   { width: 0;        background-color: #e24b4a; opacity: 0; }
  5%   { width: 0;        background-color: #e24b4a; opacity: 1; }
  28%  { width: 100%;     background-color: #e24b4a; opacity: 1; }   /* fill to the full "before" time */
  42%  { width: 100%;     background-color: #ff6f5e; opacity: 1; }   /* hold + brighten */
  64%  { width: var(--w); background-color: #4752fc; opacity: 1; }   /* CUT back to the "after" time */
  90%  { width: var(--w); background-color: #4752fc; opacity: 1; }   /* hold the result */
  98%  { width: var(--w); background-color: #4752fc; opacity: 0; }   /* fade out */
  100% { width: 0;        background-color: #e24b4a; opacity: 0; }   /* reset, hidden, then repeat */
}
@media (prefers-reduced-motion: reduce) {
  .pw-ba-fill { width: var(--w); animation: none; opacity: 1; background-color: #4752fc; }
}
@media (max-width: 620px) { .pw-ba { grid-template-columns: 1fr; } }

/* The Proof — "projected at scale" illustrative callout */
.pw-proj { margin: 0; padding: 22px 24px 20px; border-radius: 14px; border: 1px dashed rgba(120,140,255,.4);
  background: linear-gradient(180deg, rgba(71,82,252,.07), rgba(255,255,255,.012)); }
.pw-proj-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 9px;
  letter-spacing: .14em; text-transform: uppercase; color: #9aa6ff; padding: 3px 10px; border: 1px solid rgba(120,140,255,.4); border-radius: 999px; }
.pw-proj-tag i { width: 5px; height: 5px; border-radius: 50%; background: #8a98ff; box-shadow: 0 0 7px #8a98ff; }
.pw-proj-figs { display: flex; align-items: stretch; gap: 26px; margin: 16px 0 14px; flex-wrap: wrap; }
.pw-proj-fig { display: flex; flex-direction: column; flex: 1 1 0; min-width: 210px; }
.pw-proj-fig b { display: block; font-family: var(--head); font-weight: 700; font-size: 30px; color: #fff; letter-spacing: -.015em; line-height: 1.05; }
.pw-proj-fig-l { font-family: var(--head); font-weight: 500; font-size: 14px; color: #c3cce0; margin-top: 4px; }
.pw-proj-fig-b { font-family: var(--mono); font-size: 11px; color: var(--muted); line-height: 1.45; margin-top: 5px; }
.pw-proj-sep { width: 1px; align-self: stretch; background: rgba(255,255,255,.14); }
.pw-proj-note { display: flex; align-items: baseline; gap: 7px; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .02em; line-height: 1.5; }
.pw-proj-note .pw-tick { flex: none; transform: translateY(2px); }
@media (max-width: 620px) { .pw-proj-sep { display: none; } .pw-proj-figs { gap: 10px; flex-direction: column; align-items: flex-start; } }

/* 3.4 The Proof — spaced "movements", each introduced by a small translation label */
.pw-block-label { display: flex; align-items: center; gap: 11px; margin: 0 0 16px;
  font-family: var(--head); font-weight: 500; font-size: 13.5px; color: var(--muted); }
.pw-block-k { flex: none; font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: #9aa6ff; padding: 3px 10px; border: 1px solid rgba(120,140,255,.4); border-radius: 999px; }
.pw-block .pw-ba { margin-top: 0; }
.pw-block .pw-feat { margin-top: 0; }
.pw-block .pw-validated { margin-top: 16px; }

/* ---------- collapsible clause (details) ---------- */
details.pw-clause > summary.pw-clause-head { grid-template-columns: 54px 1fr auto; align-items: center; cursor: pointer; list-style: none; }
details.pw-clause > summary.pw-clause-head::-webkit-details-marker { display: none; }
details.pw-clause > summary.pw-clause-head::marker { content: ""; }
.pw-clause-chev { width: 9px; height: 9px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg); transition: transform .25s ease; }
details.pw-clause[open] > summary .pw-clause-chev { transform: rotate(45deg); }
details.pw-clause > summary:hover .pw-clause-chev { border-color: #c3cce0; }

/* ---------- 3.4 RESULTS dashboard panel ---------- */
.pw-rp { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--pw-line); margin-top: 22px;
  background: linear-gradient(180deg, rgba(12,18,42,.55), rgba(8,12,28,.45));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 14px 40px rgba(2,8,30,.38); }
.pw-rp-head { display: flex; justify-content: space-between; align-items: center; padding: 13px 22px;
  border-bottom: 1px solid var(--pw-line); background: linear-gradient(180deg, rgba(71,82,252,.1), transparent); }
.pw-rp-id { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: .15em; color: #c3cce0; }
.pw-rp-id i { width: 7px; height: 7px; border-radius: 50%; background: #18c964; box-shadow: 0 0 10px #18c964; animation: pwLive 1.8s ease-in-out infinite; }
.pw-rp-status { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: #18c964; }
.pw-rp-metrics { display: grid; grid-template-columns: repeat(3, 1fr); }
.pw-rp-metrics .pw-stat { padding: 26px 24px; border-right: 1px solid var(--pw-line); }
.pw-rp-metrics .pw-stat:last-child { border-right: 0; }
/* live "scanline" sweep across the panel — the site's HUD-console language, adds motion to the headline */
.pw-rp > * { position: relative; z-index: 2; }
.pw-rp::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, transparent 0 46%, rgba(120,140,255,.12) 49%, rgba(150,170,255,.2) 50%, rgba(120,140,255,.12) 51%, transparent 54% 100%);
  background-size: 100% 230%; background-repeat: no-repeat; animation: pwScan 5.5s linear infinite; }
@keyframes pwScan { 0% { background-position: 0 -130%; } 100% { background-position: 0 230%; } }
@media (prefers-reduced-motion: reduce) { .pw-rp::after { display: none; } }

/* ---------- 3.4 featured rotating customer voice ---------- */
.pw-feat { position: relative; margin-top: 16px; padding: 24px 26px; border-radius: 16px; border: 1px solid var(--pw-line);
  background: radial-gradient(120% 100% at 12% -10%, rgba(71,82,252,.12), rgba(255,255,255,.012) 60%); }
.pw-feat-item { display: flex; gap: 20px; align-items: flex-start; animation: pwFade .45s ease; }
.pw-feat-item[hidden] { display: none; }
.pw-feat-ico { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; color: #8a98ff;
  background: radial-gradient(circle at 40% 30%, rgba(71,82,252,.32), rgba(71,82,252,.06)); border: 1px solid rgba(120,140,255,.3); box-shadow: inset 0 0 16px rgba(71,82,252,.2); }
.pw-feat-ico svg { width: 25px; height: 25px; }
.pw-feat-q { font-family: var(--head); font-weight: 600; font-size: clamp(16px, 2.3vw, 20px); line-height: 1.45; color: #fff; margin: 2px 0 14px; }
.pw-feat-by { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.pw-feat-by b { color: #c3cce0; font-weight: 400; }
.pw-feat-nav { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding-left: 72px; }
.pw-feat-dots { display: flex; gap: 8px; align-items: center; }
.pw-feat-dot { position: relative; overflow: hidden; width: 30px; height: 5px; border-radius: 3px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.16); transition: background .2s, width .25s ease, box-shadow .2s; }
.pw-feat-dot:hover { background: rgba(255,255,255,.34); }
.pw-feat-dot.is-on { width: 46px; background: rgba(71,82,252,.3); box-shadow: 0 0 8px rgba(71,82,252,.5); }
.pw-feat-dot.is-on::after { content: ""; position: absolute; inset: 0; border-radius: 3px; transform-origin: left; transform: scaleX(0);
  background: var(--blue); box-shadow: 0 0 8px rgba(71,82,252,.8); animation: pwDotFill 6s linear; }
@keyframes pwDotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pw-feat:hover .pw-feat-dot.is-on::after { animation-play-state: paused; }
.pw-feat-arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; flex: none;
  border: 1px solid var(--pw-line); background: rgba(255,255,255,.03); color: var(--muted);
  transition: color .2s, border-color .2s, background .2s, transform .15s; }
.pw-feat-arrow svg { width: 16px; height: 16px; }
.pw-feat-arrow:hover { color: #fff; border-color: rgba(120,140,255,.6); background: rgba(71,82,252,.16); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .pw-feat-dot.is-on::after { animation: none; transform: scaleX(1); } }
@media (max-width: 620px) {
  .pw-rp-metrics, .pw-rp-ba { grid-template-columns: 1fr; }
  .pw-feat-item { flex-direction: column; gap: 12px; }
  .pw-feat-nav { padding-left: 0; }
}

.pw-cases { margin-top: 40px; }
.pw-case-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--pw-line); }
.pw-case-tab { display: flex; align-items: center; gap: 10px; padding: 12px 18px 14px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; color: var(--muted, #8a97b3); font-family: var(--head); font-weight: 700; font-size: 14px; transition: color .2s, border-color .2s; }
.pw-case-tab:hover { color: #c3cce0; }
.pw-case-tab.is-active { color: var(--white); border-bottom-color: var(--blue); }
.pw-case-logo { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #e7ecf5, #cdd6e6); flex: none; }
.pw-case-panel { padding: 26px 4px 0; animation: pwFade .4s ease; }
.pw-case-panel[hidden] { display: none; }
.pw-case-panel blockquote { font-family: var(--head); font-weight: 500; font-size: clamp(18px, 2.6vw, 24px); line-height: 1.45; color: var(--white); margin: 0; max-width: 760px; }
.pw-case-by { display: flex; gap: 10px; align-items: baseline; margin-top: 16px; font-family: var(--mono, monospace); font-size: 12.5px; }
.pw-case-who { color: #c3cce0; } .pw-case-co { color: var(--muted, #8a97b3); }
.pw-case-link { display: inline-block; margin-top: 18px; font-family: var(--mono, monospace); font-size: 13px; color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(71,82,252,.4); padding-bottom: 2px; }
.pw-case-link:hover { border-bottom-color: var(--blue); }

.pw-quote { margin: 40px 0 0; padding: 28px 30px; border: 1px solid var(--pw-line); border-left: 3px solid var(--blue); border-radius: 14px; background: var(--pw-panel); }
.pw-quote blockquote { font-family: var(--head); font-weight: 500; font-size: clamp(16px, 2.2vw, 20px); line-height: 1.5; color: var(--white); margin: 0; }
.pw-quote figcaption { display: flex; gap: 10px; margin-top: 16px; font-family: var(--mono, monospace); font-size: 12px; }
.pw-quote-who { color: #c3cce0; } .pw-quote-co { color: var(--muted, #8a97b3); }

.pw-cta { margin-top: 36px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .pw-panel { grid-template-columns: 1fr; gap: 20px; }
  .pw-panel-copy p { max-width: none; }
  .pw-stats { grid-template-columns: 1fr; }
  .pw-stat { border-right: 0; border-bottom: 1px solid var(--pw-line); }
  .pw-stat:last-child { border-bottom: 0; }
  .pw-steps3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pw-step { flex-direction: column; gap: 6px; font-size: 11px; padding: 12px 4px; }
  .pw-stage { padding: 20px; }
  .pw-case-tab { padding: 10px 12px 12px; font-size: 13px; }
  .pw-case-tab .pw-case-name { display: none; }
  .pw-case-logo { width: 26px; height: 26px; }
}

/* ---------- 4.4 security & compliance badges (styled like the .pw-logo tiles) ---------- */
.pw-badges { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 12px; perspective: 800px; }
.pw-badge { display: flex; align-items: flex-start; gap: 12px; padding: 14px 15px; background: #fff; border-radius: 12px; box-shadow: 0 6px 16px rgba(2,8,30,.25); transition: transform .18s ease, box-shadow .18s ease; }
.pw-badge:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(2,8,30,.4); }
.pw-badge-ico { flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, #eaeefb, #d6def4); color: var(--blue); }
.pw-badge-ico svg { width: 20px; height: 20px; }
.pw-badge-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pw-badge-name { font-family: var(--head); font-weight: 700; color: #0e2143; font-size: 13.5px; line-height: 1.25; }
.pw-badge-desc { font-family: var(--head); font-weight: 500; color: #5d6a85; font-size: 11.5px; line-height: 1.3; }
.pw-badge-note { font-family: var(--mono, monospace); font-size: 11.5px; color: #6b768f; margin: 14px 2px 0; }
.pw-badge-note a { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(71,82,252,.45); }
.pw-badge-note a:hover { border-bottom-color: var(--blue); }

/* ---------- integration logos + compliance badges: fade-and-roll-in, staggered ----------
   nav.js/product.js arms a container with .pw-rollin (only when motion is allowed and an
   IntersectionObserver exists), then adds .pw-rolled when it scrolls in / its bucket opens. */
.pw-logos, .pw-badges { perspective: 800px; }
.pw-rollin .pw-logo, .pw-rollin .pw-badge {
  opacity: 0; transform: translateY(16px) rotateX(-32deg); transform-origin: 50% 100%;
  transition: opacity .5s ease, transform .6s cubic-bezier(.22,.7,.2,1);
}
.pw-rollin.pw-rolled .pw-logo, .pw-rollin.pw-rolled .pw-badge { opacity: 1; transform: none; }
.pw-rollin.pw-rolled .pw-logo:nth-child(2), .pw-rollin.pw-rolled .pw-badge:nth-child(2) { transition-delay: .07s; }
.pw-rollin.pw-rolled .pw-logo:nth-child(3), .pw-rollin.pw-rolled .pw-badge:nth-child(3) { transition-delay: .14s; }
.pw-rollin.pw-rolled .pw-logo:nth-child(4), .pw-rollin.pw-rolled .pw-badge:nth-child(4) { transition-delay: .21s; }
.pw-rollin.pw-rolled .pw-badge:nth-child(5) { transition-delay: .28s; }
.pw-rollin.pw-rolled .pw-badge:nth-child(6) { transition-delay: .35s; }
/* keep the hover lift snappy once a tile has rolled in (higher specificity than the rolled rule) */
.pw-rollin.pw-rolled .pw-logo:hover, .pw-rollin.pw-rolled .pw-badge:hover {
  transform: translateY(-3px); transition: transform .18s ease, box-shadow .18s ease;
}
@media (prefers-reduced-motion: reduce) {
  .pw-rollin .pw-logo, .pw-rollin .pw-badge { opacity: 1; transform: none; }
}

/* ---------- 3.2 integrations marquee: two rows drift opposite ways, edge-faded ---------- */
.pw-marquee { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 6px 0 2px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.pw-mrow { overflow: hidden; }
.pw-track { display: flex; width: max-content; animation: pwMarq 55s linear infinite; will-change: transform; }
.pw-mrow-rev .pw-track { animation-direction: reverse; }
@keyframes pwMarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.pw-chip { position: relative; flex: none; width: 168px; height: 78px; margin-right: 14px; display: flex; align-items: center;
  justify-content: center; border-radius: 15px; overflow: hidden;
  background: radial-gradient(130% 100% at 50% -12%, rgba(71,82,252,.17), rgba(255,255,255,.012) 60%);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 22px rgba(2,8,30,.4); }
.pw-chip::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.4px); background-size: 14px 14px; opacity: .4; }
/* every logo whitened to one luminous tone so the wall reads as one system */
.pw-chip img { position: relative; max-height: 34px; max-width: 70%; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .9; }
/* holographic edge framing each chip */
.pw-chip::after { content: ""; position: absolute; inset: 0; border-radius: 15px; padding: 1px;
  background: linear-gradient(125deg, rgba(71,82,252,.6), rgba(150,90,255,.3) 42%, transparent 66%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* "Coming soon": the pill flashes out so the whitened logo shows through */
.pw-chip.is-soon img { animation: pwSoonLogo 3.4s ease-in-out infinite; }
@keyframes pwSoonLogo { 0%, 22% { opacity: .16; } 46%, 74% { opacity: .9; } 100% { opacity: .16; } }
.pw-chip-name { position: relative; font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: -.01em; color: #fff; }
.pw-chip.is-soon .pw-chip-name { animation: pwSoonLogo 3.4s ease-in-out infinite; }
.pw-soon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--mono); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; color: #fff;
  padding: 5px 11px 5px 9px; border-radius: 999px;
  background: linear-gradient(120deg, rgba(71,82,252,.96), rgba(150,90,255,.92));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 4px 14px rgba(71,82,252,.55), 0 0 22px rgba(130,90,255,.5);
  animation: pwSoonFlash 3.4s ease-in-out infinite; }
.pw-soon i { width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff; }
@keyframes pwSoonFlash { 0%, 22% { opacity: 1; } 46%, 74% { opacity: 0; } 100% { opacity: 1; } }

.pw-cap { font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; color: var(--muted); margin: 16px 2px 0; }

@media (prefers-reduced-motion: reduce) {
  .pw-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .pw-marquee { -webkit-mask: none; mask: none; }
  .pw-soon, .pw-chip.is-soon img, .pw-chip-name { animation: none; }
  .pw-chip.is-soon img { opacity: .4; }
}
@media (max-width: 560px) {
  .pw-chip { width: 144px; height: 66px; }
}

/* ---------- 3.4 security console: HUD panel + scan sweep + verified rows ---------- */
.pw-trust { position: relative; overflow: hidden; border-radius: 20px;
  background: linear-gradient(180deg, rgba(12,18,42,.6), rgba(8,12,28,.5));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 14px 40px rgba(2,8,30,.42); }
/* travelling perimeter scan — a light that orbits the panel border */
@property --pwAng { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pw-trust::before { content: ""; position: absolute; inset: -1px; border-radius: 21px; padding: 1.5px; z-index: 5;
  pointer-events: none;
  background: conic-gradient(from var(--pwAng), transparent 0 64%, rgba(120,165,255,1) 80%, rgba(165,130,255,.8) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: pwOrbit 6s linear infinite; }
@keyframes pwOrbit { to { --pwAng: 360deg; } }
/* static HUD corner bracket (top-left) for a framed, instrument feel */
.pw-trust::after { content: ""; position: absolute; top: 9px; left: 9px; width: 15px; height: 15px; z-index: 6;
  pointer-events: none; border: 1.5px solid rgba(150,175,255,.6); border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }

.pw-trust-head { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center;
  padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(71,82,252,.10), transparent); }
.pw-trust-id { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px;
  letter-spacing: .15em; color: #c3cce0; }
.pw-trust-dot { width: 7px; height: 7px; border-radius: 50%; background: #18c964; box-shadow: 0 0 10px #18c964;
  animation: pwLive 1.8s ease-in-out infinite; }
.pw-trust-status { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: #18c964; }
@keyframes pwLive { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

.pw-trust-scan { position: absolute; left: 0; right: 0; top: 0; height: 140px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(71,130,255,.09) 70%, rgba(90,150,255,.16));
  border-bottom: 1px solid rgba(110,165,255,.45);
  animation: pwScan 5.5s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes pwScan { 0% { transform: translateY(-140px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(560px); opacity: 0; } }

.pw-trust-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: rgba(255,255,255,.07); }
.pw-cert { position: relative; display: flex; align-items: center; gap: 14px; padding: 17px 20px;
  background: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1.4px) 0 0 / 14px 14px, rgba(9,14,32,.9);
  transition: background-color .25s ease; }
.pw-cert::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, #4752fc, #18c964); opacity: .6; }
.pw-cert:hover { background-color: rgba(22,30,64,.92); }
.pw-cert-ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; color: #8a98ff;
  border-radius: 11px; border: 1px solid rgba(120,140,255,.32);
  background: radial-gradient(circle at 40% 30%, rgba(71,82,252,.32), rgba(71,82,252,.06));
  box-shadow: inset 0 0 16px rgba(71,82,252,.25); }
.pw-cert-ico svg { width: 21px; height: 21px; }
.pw-cert-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pw-cert-name { font-family: var(--head); font-weight: 700; font-size: 13.5px; color: #fff; line-height: 1.2; }
.pw-cert-desc { font-family: var(--head); font-weight: 500; font-size: 11px; color: #8a97b3; line-height: 1.3; }
.pw-cert-stat { position: relative; flex: none; display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono);
  font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #18c964;
  padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(24,201,100,.35); background: rgba(24,201,100,.08);
  box-shadow: 0 0 14px rgba(24,201,100,.18); }
.pw-cert-stat svg { width: 11px; height: 11px; }
.pw-cert-stat::before { content: ""; position: absolute; right: calc(100% + 8px); top: 50%; width: 30px;
  border-top: 1px dashed rgba(130,150,255,.4); }

@media (prefers-reduced-motion: reduce) {
  .pw-trust-dot, .pw-trust::before { animation: none; }
  .pw-trust-scan { display: none; }
}

/* 3.3 bespoke reuses the console in a blue "onboarding" key, single column */
.pw-build .pw-trust-grid { grid-template-columns: 1fr; }
.pw-build .pw-trust-status { color: #8a98ff; }
.pw-build .pw-trust-dot { background: #4752fc; box-shadow: 0 0 10px #4752fc; }
.pw-build .pw-cert::before { background: linear-gradient(180deg, #4752fc, #5b8bff); }
.pw-build .pw-cert-stat { color: #9aa6ff; border-color: rgba(120,140,255,.4); background: rgba(71,82,252,.12);
  box-shadow: 0 0 14px rgba(71,82,252,.18); letter-spacing: .08em; }
.pw-build .pw-cert-stat::before { border-top-color: rgba(120,140,255,.4); }

/* collapsible + narrower console (used for Security & Compliance on Models 2.3) */
.pw-trust-collapse { max-width: 560px; margin-left: auto; margin-right: auto; }
.pw-trust-collapse > summary { cursor: pointer; list-style: none; }
.pw-trust-collapse > summary::-webkit-details-marker { display: none; }
.pw-trust-collapse > summary::marker { content: ""; }
.pw-trust-meta { display: inline-flex; align-items: center; gap: 13px; }
.pw-trust-chev { width: 8px; height: 8px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px); transition: transform .25s ease; }
.pw-trust-collapse[open] .pw-trust-chev { transform: rotate(-135deg) translateY(-2px); }
.pw-trust-collapse:not([open]) .pw-trust-head { border-bottom: 0; }
.pw-trust-collapse > summary:hover .pw-trust-chev { border-color: #c3cce0; }
@media (max-width: 620px) {
  .pw-trust-grid { grid-template-columns: 1fr; }
  .pw-cert-stat { display: none; }
}

/* ===== 3.2 Try it live — interactive demo embed (light app window in the dark sheet) ===== */
.trylive { position: relative; margin: 20px 0 6px;
  width: min(1000px, calc(100vw - 56px)); margin-left: 50%; transform: translateX(-50%);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: #0a1738; box-shadow: 0 18px 60px rgba(0,0,0,.45); }
.trylive-bar { display: flex; align-items: center; gap: 12px; padding: 9px 14px;
  background: #0c1c44; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--muted); }
.trylive-dots { display: inline-flex; gap: 6px; flex: 0 0 auto; }
.trylive-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2b3a63; }
.trylive-url { flex: 1; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trylive-full { flex: 0 0 auto; color: #9aa6ff; border: 1px solid var(--line); border-radius: 7px;
  padding: 4px 10px; font-size: 11.5px; white-space: nowrap; transition: background .15s ease; }
.trylive-full:hover { background: rgba(71,82,252,.18); }
.trylive-frame { line-height: 0; background: #f8f8f8; }
.trylive-iframe { width: 100%; height: 680px; border: 0; display: block; }
/* always visible + interactive in the page, on every screen; "Expand" gives the full-screen view */
@media (max-width: 860px) {
  .trylive { width: 100%; margin-left: 0; transform: none; }
  .trylive-iframe { height: 560px; }
}

/* Try It Live — in-page expand / collapse (visible Collapse control top-right) */
body.trylive-lock { overflow: hidden; }
.trylive.is-expanded { position: fixed; inset: 0; z-index: 9999; width: 100%; height: 100%; margin: 0; transform: none; border: 0; border-radius: 0; box-shadow: none; }
.trylive.is-expanded .trylive-iframe { height: calc(100vh - 42px); }
.trylive.is-expanded .trylive-full { background: #4752FC; color: #fff; border-color: #4752FC; padding: 6px 14px; font-weight: 600; }
.trylive.is-expanded .trylive-full:hover { background: #5b65ff; }

/* When the demo is expanded full-screen, hide the page's decorative frame so its outline doesn't bleed over the overlay */
body.trylive-lock .page-frame,
body.trylive-lock .frame-mask { display: none !important; }

/* Try It Live - brand-blue attention pulse inviting interaction (emanating ring + breathing glow) */
@keyframes tryliveAttn {
  0%   { box-shadow: 0 18px 60px rgba(0,0,0,.45), 0 0 0 0 rgba(71,82,252,.55), 0 0 20px 0 rgba(71,82,252,0); }
  55%  { box-shadow: 0 18px 60px rgba(0,0,0,.45), 0 0 0 11px rgba(71,82,252,0), 0 0 32px 5px rgba(71,82,252,.45); }
  100% { box-shadow: 0 18px 60px rgba(0,0,0,.45), 0 0 0 0 rgba(71,82,252,0), 0 0 20px 0 rgba(71,82,252,0); }
}
.trylive.attn { animation: tryliveAttn 2.4s ease-out infinite; }
.trylive.attn:hover { animation: none; }
@media (prefers-reduced-motion: reduce) { .trylive.attn { animation: none; } }

/* Expanded demo must escape any transformed ancestor (e.g. a .reveal section mid-animation)
   so position:fixed is viewport-relative and it truly fills the screen */
body.trylive-lock .reveal,
body.trylive-lock .pw-clause { transform: none !important; }

/* Collapse / minimize the in-page embed down to just its window bar so visitors can move on */
.trylive-min { flex: 0 0 auto; background: none; color: #9aa6ff; border: 1px solid var(--line); border-radius: 7px;
  padding: 4px 10px; font-size: 11.5px; font-family: var(--mono); white-space: nowrap; cursor: pointer; transition: background .15s ease; }
.trylive-min:hover { background: rgba(71,82,252,.18); }
.trylive.is-min .trylive-frame { display: none; }
.trylive.is-min .trylive-full { display: none; }
.trylive.is-expanded .trylive-min { display: none; }
