/* ====================================================================
   PitchWire marketing site — site.css
   Single stylesheet for all three pages. Imports design tokens + self-hosted
   fonts, then defines the reset, base type, layout primitives, and shared
   components (buttons, badges, kicker, toast). Section-specific styles are
   appended in later tasks under clearly-labelled banners.
   No external requests (spec §0.1).
   ==================================================================== */
@import "fonts.css";
@import "tokens.css";

/* ---- reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Inline links inside prose are underlined, not signalled by colour alone.
   Lighthouse measured --accent-strong against --text-body at 1.06:1 — all but
   identical luminance — so a colour-only link in a paragraph was invisible as
   a link, failing WCAG 1.4.1 (Use of Color). Scoped to <p> so nav, footer,
   drawer and menu lists keep their own treatment; .pw-btn is excluded because
   a button is not a text-block link. */
p a:not(.pw-btn) { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

/* ---- type ---------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text-strong); font-weight: var(--fw-black); }
h1 { font-size: clamp(40px, 6vw, var(--fs-display)); line-height: var(--lh-display); letter-spacing: var(--ls-display); }
h2 { font-size: clamp(28px, 4vw, var(--fs-h2)); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); font-weight: var(--fw-bold); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); font-weight: var(--fw-bold); }
.pw-lead { font-size: var(--fs-body-l); color: var(--text-body); max-width: 60ch; }
b, strong { color: var(--text-strong); font-weight: var(--fw-semibold); }

.pw-kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-kicker);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-kicker);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- layout -------------------------------------------------------- */
.pw-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: var(--sp-24) 0; }
@media (max-width: 720px) { section { padding: var(--sp-16) 0; } }
.pw-section-head { max-width: 62ch; }
.pw-section-head .pw-kicker { display: block; margin-bottom: var(--sp-3); }
.pw-section-head h2 { margin-bottom: var(--sp-4); }

/* ---- buttons ------------------------------------------------------- */
.pw-btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-body); font-size: 15px; font-weight: var(--fw-semibold);
  line-height: 1; padding: 12px 18px; border-radius: var(--r-md);
  border: 1px solid transparent; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.pw-btn:hover { text-decoration: none; }
.pw-btn--primary { background: var(--accent); color: #fff; border-color: var(--accent-strong); }
.pw-btn--primary:hover { background: var(--accent-strong); }
.pw-btn--ghost { background: var(--surface); color: var(--text-strong); border-color: var(--border-strong); }
.pw-btn--ghost:hover { background: var(--surface-2); }
.pw-btn--lg { padding: 15px 22px; font-size: 16px; }
.pw-btn .pw-arrow { font-size: 1.05em; line-height: 0; }

/* ---- badges -------------------------------------------------------- */
.pw-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; font-weight: var(--fw-medium);
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--line);
}
.pw-badge--live { background: var(--accent-tint); color: var(--accent-strong); border-color: transparent; }
.pw-badge--live .pw-dot,
.pw-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.pw-badge--live .pw-dot { position: relative; }
.pw-badge--live .pw-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--accent); animation: pw-pulse 2s ease-out infinite;
}
@keyframes pw-pulse {
  0% { transform: scale(1); opacity: .55; }
  70%, 100% { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pw-badge--live .pw-dot::after { animation: none; }
}

/* ---- toast (private-preview notice) -------------------------------- */
.pw-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px);
  background: var(--ink-cover); color: var(--paper-inverse);
  font-size: 14px; padding: 11px 18px; border-radius: var(--r-md);
  box-shadow: var(--sh-lg); z-index: 1000;
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  max-width: calc(100vw - 32px);
}
.pw-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .pw-toast { transition: opacity .2s ease; } }

/* ====================================================================
   SHARED CHROME — beta banner, nav, mobile drawer, footer (Task 1)
   ==================================================================== */

/* ---- beta banner --------------------------------------------------- */
.pw-banner {
  background: var(--ink-cover); color: var(--paper-inverse);
  font-size: 12px; letter-spacing: .01em;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 7px 40px 7px 16px; position: relative; text-align: center;
}
.pw-banner[hidden] { display: none; }
.pw-banner__x {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--ink-inv-2); font-size: 16px;
  line-height: 1; padding: 6px 8px; border-radius: var(--r-sm);
}
.pw-banner__x:hover { color: #fff; }

/* ---- nav ----------------------------------------------------------- */
.pw-nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.pw-nav__in { display: flex; align-items: center; gap: 20px; height: 60px; }
.pw-logo { display: inline-flex; align-items: center; flex: none; }
.pw-logo:hover { text-decoration: none; }
/* Two-tone wordmark ("Pitch" in ink, "Wire" in accent) over an EKG "pulse"
   signal line — matches the app's primary logo. Wordmark and icon are never
   shown together — see --responsive below. */
.pw-logo__word {
  position: relative; display: inline-block;
  font-family: var(--font-head); font-weight: var(--fw-bold); font-size: 19px;
  color: var(--text-strong); letter-spacing: -.01em; line-height: 1; padding-bottom: 8px;
}
.pw-logo__wire { color: var(--accent); }
.pw-logo__ekg { position: absolute; left: 0; bottom: 0; width: 100%; height: 8px; display: block; overflow: visible; }
.pw-logo__ekg path { fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.pw-logo__ekgbase { stroke: var(--accent); opacity: .5; }
.pw-logo__ekgpulse { stroke: var(--accent); stroke-dasharray: 16 100; stroke-dashoffset: 116;
  animation: pw-ekg 2.4s linear infinite; filter: drop-shadow(0 0 1.5px var(--accent)); }
@keyframes pw-ekg { from { stroke-dashoffset: 116; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pw-logo__ekgpulse { display: none; }
  .pw-logo__ekgbase { opacity: .9; }
}
/* the icon only stands in for the wordmark where the wordmark can't fit (mobile nav) */
.pw-logo__icon { width: 26px; height: 26px; border-radius: 6px; display: none; }
.pw-logo--responsive .pw-logo__icon { display: none; }
@media (max-width: 820px) {
  .pw-logo--responsive .pw-logo__word { display: none; }
  .pw-logo--responsive .pw-logo__icon { display: block; }
}
.pw-nav__links { display: flex; align-items: center; gap: 20px; margin-left: 8px; }
.pw-nav__links a { color: var(--text-body); font-size: 15px; }
.pw-nav__links a:hover { color: var(--text-strong); text-decoration: none; }
.pw-nav__spacer { flex: 1; }
.pw-nav__actions { display: flex; align-items: center; gap: 12px; }
.pw-nav__login { color: var(--text-body); font-size: 15px; }
.pw-nav__burger { display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 8px 9px; }
.pw-nav__burger span { display: block; width: 18px; height: 2px; background: var(--text-strong); border-radius: 2px; }
.pw-nav__burger span + span { margin-top: 4px; }

/* ---- mobile drawer ------------------------------------------------- */
.pw-drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.pw-drawer.is-open { display: block; }
.pw-drawer__scrim { position: absolute; inset: 0; background: rgba(20,26,40,.42); }
.pw-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(84vw, 340px);
  background: var(--surface); box-shadow: var(--sh-lg);
  display: flex; flex-direction: column; padding: 18px;
  transform: translateX(100%); transition: transform .22s ease;
}
.pw-drawer.is-open .pw-drawer__panel { transform: none; }
.pw-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pw-drawer__x { background: none; border: 0; font-size: 22px; line-height: 1; padding: 6px 8px; color: var(--text-body); }
.pw-drawer__links { display: flex; flex-direction: column; gap: 4px; }
.pw-drawer__links a { padding: 12px 8px; font-size: 17px; color: var(--text-strong); border-radius: var(--r-sm); }
.pw-drawer__links a:hover { background: var(--surface-2); text-decoration: none; }
.pw-drawer__cta { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.pw-drawer__cta .pw-btn { width: 100%; justify-content: center; min-height: 48px; }
@media (prefers-reduced-motion: reduce) { .pw-drawer__panel { transition: none; } }

@media (max-width: 820px) {
  .pw-nav__links, .pw-nav__actions { display: none; }
  .pw-nav__burger { display: block; }
}

/* ---- footer -------------------------------------------------------- */
.pw-footer { background: var(--surface-2); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.pw-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.pw-footer__brand .pw-logo { margin-bottom: 12px; }
.pw-footer__tag { font-size: 14px; color: var(--text-muted); max-width: 30ch; }
/* h3, not h4: the footer follows an h2 section, so h4 skipped a level and
   failed Lighthouse's heading-order audit. Visual size is unchanged. */
.pw-footer__col h3 { font-family: var(--font-mono); font-size: 11px; font-weight: var(--fw-medium);
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.pw-footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pw-footer__col a { font-size: 14px; color: var(--text-body); }
.pw-footer__col a:hover { color: var(--text-strong); }
.pw-footer__base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-muted); }
@media (max-width: 820px) {
  .pw-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .pw-footer__brand { grid-column: 1 / -1; }
}

/* ====================================================================
   HOMEPAGE A — hero, trust line, problem, how-it-works (Task 2)
   ==================================================================== */

/* ---- hero ---------------------------------------------------------- */
.pw-hero { padding: 72px 0 88px; }
.pw-hero__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pw-hero__copy .pw-kicker { display: block; margin-bottom: 18px; }
.pw-hero__copy h1 { margin-bottom: 20px; }
.pw-hero__copy .pw-lead { margin-bottom: 28px; }
.pw-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pw-hero__foot { margin-top: 18px; font-size: 13px; color: var(--text-muted); }

/* browser frame + deck slide */
.pw-hero__visual { position: relative; }
.pw-frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); overflow: hidden; }
.pw-frame__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  border-bottom: 1px solid var(--line); background: var(--surface-2); }
.pw-frame__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.pw-frame__url { margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px 12px; }
.pw-slide { background: var(--ink-cover); color: var(--paper-inverse); padding: 30px 30px 22px; min-height: 240px; }
.pw-slide__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.pw-slide__kicker { color: var(--ink-inv-2); }
.pw-slide__h { color: #fff; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 12px; max-width: 20ch; }
.pw-slide__p { color: var(--ink-inv-2); font-size: 15px; max-width: 40ch; }
.pw-slide__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; }
.pw-dots { display: inline-flex; gap: 6px; }
.pw-dots i { width: 16px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); display: block; }
.pw-dots i.on { background: var(--accent); width: 22px; }
.pw-slide__num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-inv-2); }
.pw-badge--onDark { background: rgba(255,255,255,.1); color: #fff; }
.pw-badge--onDark .pw-dot, .pw-badge--onDark .pw-dot::after { background: #fff; }

/* live-activity overlay card */
.pw-activity { position: absolute; right: -14px; bottom: -28px; width: 300px; max-width: 82%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); padding: 14px 16px; }
.pw-activity__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pw-activity__now { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent-strong); font-weight: 600; }
.pw-activity__who { font-size: 14px; color: var(--text-body); }
.pw-activity__who strong { color: var(--text-strong); }
.pw-activity__meta { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.pw-activity__bar { display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.pw-activity__slide { font-size: 13px; color: var(--text-strong); font-weight: 500; }
.pw-activity__time { font-family: var(--font-mono); font-size: 12px; color: var(--accent-strong); }

@media (max-width: 900px) {
  .pw-hero__in { grid-template-columns: 1fr; gap: 40px; }
  .pw-hero__visual { margin-bottom: 20px; }
  .pw-activity { right: 0; }
}

/* ---- trust line ---------------------------------------------------- */
.pw-trustline { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.pw-trustline__in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; justify-content: center; text-align: center; }
.pw-trustline__h { font-size: 20px; font-weight: var(--fw-bold); }
.pw-trustline__p { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); letter-spacing: .01em; }

/* ---- problem ------------------------------------------------------- */
.pw-problem .pw-kicker { display: block; margin-bottom: 24px; }
.pw-problem__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pw-problem__item { font-family: var(--font-head); font-weight: var(--fw-semibold); font-size: 22px;
  line-height: 1.25; color: var(--text-strong); padding-left: 16px; border-left: 2px solid var(--accent); }
.pw-problem__fix { margin-top: 32px; font-size: 18px; font-weight: 600; }
.pw-problem__fix a { color: var(--accent-strong); }
@media (max-width: 820px) { .pw-problem__grid { grid-template-columns: 1fr; } }

/* ---- how it works -------------------------------------------------- */
.pw-how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.pw-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.pw-step__n { font-family: var(--font-mono); font-size: 13px; color: var(--accent-strong); font-weight: 600; }
.pw-step h3 { margin: 14px 0 8px; }
.pw-step > p { font-size: 15px; color: var(--text-body); }
.pw-vig { margin-top: 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-md);
  padding: 14px; background: var(--surface-2); display: flex; flex-direction: column; gap: 8px; }
.pw-vig .pw-kicker { font-size: 10px; }
.pw-vig__file, .pw-vig__url { font-family: var(--font-mono); font-size: 13px; color: var(--text-strong); }
.pw-vig__note, .pw-vig__chan { font-size: 12px; color: var(--text-muted); }
.pw-vig--ping .pw-vig__ping { font-size: 13px; color: var(--text-strong); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 7px 10px; }
.pw-vig--ping .pw-vig__chan { font-family: var(--font-mono); }
@media (max-width: 820px) { .pw-how__grid { grid-template-columns: 1fr; } }

/* ====================================================================
   CREATE FROM CHAT (MCP) — Task 3
   ==================================================================== */
.pw-mcp { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pw-mcp__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pw-mcp__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pw-mcp__copy h2 { margin-bottom: 18px; }
.pw-mcp__micro { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.pw-mcp__link { margin-top: 20px; font-weight: 600; }
.pw-mcp__link a { color: var(--accent-strong); }

/* chat window vignette */
.pw-chat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.pw-chat__bubble { font-size: 15px; line-height: 1.5; padding: 12px 15px; border-radius: 14px; max-width: 90%; }
.pw-chat__bubble--user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.pw-chat__bubble--reply { align-self: flex-start; background: var(--surface); border: 1px solid var(--line);
  color: var(--text-body); border-bottom-left-radius: 4px; }
.pw-chat__tool { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.pw-chat__spinner { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-strong);
  border-top-color: var(--accent); display: inline-block; animation: pw-spin .8s linear infinite; }
@keyframes pw-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pw-chat__spinner { animation: none; } }
.pw-chat__card { display: block; margin-top: 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 12px 14px; }
.pw-chat__card:hover { text-decoration: none; border-color: var(--line-strong); }
.pw-chat__link { font-family: var(--font-mono); font-size: 14px; color: var(--accent-strong); display: block; }
.pw-chat__cardfoot { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.pw-chat__cardmeta { font-size: 12px; color: var(--text-muted); }
@media (max-width: 820px) {
  .pw-mcp__in { grid-template-columns: 1fr; gap: 32px; }
  .pw-mcp__visual { order: -1; }
}

/* ====================================================================
   PILLARS — live links + slide-level tracking (Task 4); shared layout
   ==================================================================== */
.pw-pillar__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pw-pillar__copy .pw-kicker { display: block; margin-bottom: 14px; }
.pw-pillar__copy h2 { margin-bottom: 16px; }
.pw-pillar__meta { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.pw-pillar--flip .pw-pillar__visual { order: -1; }
.pw-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-md); padding: 22px; }
@media (max-width: 820px) {
  .pw-pillar__in { grid-template-columns: 1fr; gap: 32px; }
  .pw-pillar--flip .pw-pillar__visual { order: 0; }
}

/* version history */
.pw-versions__url { display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pw-mono { font-family: var(--font-mono); font-size: 14px; color: var(--text-strong); }
.pw-versions__copied { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-strong); background: var(--accent-tint); border-radius: var(--r-pill); padding: 3px 9px; }
.pw-versions__list { list-style: none; padding: 0; margin: 6px 0 0; }
.pw-versions__row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0;
  border-bottom: 1px solid var(--line); }
.pw-versions__row:last-child { border-bottom: 0; }
.pw-versions__label { font-size: 14px; color: var(--text-body); }
.pw-versions__ts { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.pw-versions__row.pw-flash { background: var(--accent-tint); border-radius: var(--r-sm); }

/* time-on-slide track */
.pw-track__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.pw-track__count { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.pw-track__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.pw-track__row { display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 12px; }
.pw-track__name { font-size: 13px; color: var(--text-body); }
.pw-track__meter { height: 8px; background: var(--surface-3); border-radius: var(--r-pill); overflow: hidden; }
.pw-track__meter i { display: block; height: 100%; width: var(--w); background: var(--accent); border-radius: var(--r-pill); }
.pw-track[data-animate] .pw-track__meter i { width: 0; transition: width .6s cubic-bezier(.2,.7,.2,1); }
.pw-track[data-animate].is-in .pw-track__meter i { width: var(--w); }
/* ====================================================================
   PRODUCT MENU — the header's feature index.
   Opens on hover, click, and Enter/Space/ArrowDown. `hidden` is the
   single source of truth for open state; JS toggles it, so the menu is
   closed for everyone (including screen readers) until it is not.
   ==================================================================== */
.pw-menu { position: relative; display: inline-flex; }
/* An <a> to index.html, not a button: clicking the word goes to the top of
   the site. It still carries aria-haspopup/aria-expanded because hover and
   ArrowDown open the panel. Colour comes from `.pw-nav__links a`, which is
   more specific, so it matches Pricing beside it. */
.pw-menu__btn { display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 0;
  font-size: inherit; color: inherit; font-family: inherit; text-decoration: none; }
.pw-menu__caret { width: 10px; height: 6px; flex: none; transition: transform .15s ease; }
.pw-menu__btn[aria-expanded="true"] .pw-menu__caret { transform: rotate(180deg); }

.pw-menu__panel { position: absolute; top: calc(100% + 10px); left: -14px; z-index: 40;
  min-width: 316px; margin: 0; padding: 7px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 1px 2px rgba(32,36,46,.05), 0 14px 34px rgba(32,36,46,.13); }
/* The gap between button and panel would close the menu on the way down,
   so bridge it with a transparent strip that keeps :hover alive. */
.pw-menu__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.pw-menu__panel li { margin: 0; }
.pw-menu__panel a { display: block; padding: 8px 10px; border-radius: var(--r-sm); text-decoration: none; }
.pw-menu__panel a:hover, .pw-menu__panel a:focus-visible { background: var(--surface-2); }
.pw-menu__t { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-strong); }
.pw-menu__d { display: block; font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.pw-menu__sep { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }

/* The menu is a desktop affordance; the drawer already lists every section
   on small screens, and a dropdown inside a slide-out panel is a trap. */
@media (max-width: 860px) { .pw-menu { display: none; } }

/* ====================================================================
   DEALS — the deal-first section. Authored markup standing in for the
   rep app's deal view; see the comment above the section in index.html.
   ==================================================================== */
.pw-deals { padding: var(--sp-24) 0; background: var(--surface-2); border-top: 1px solid var(--line); }
.pw-deals__in { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: center; }
.pw-deals__copy h2 { margin: var(--sp-2) 0 var(--sp-4); }
.pw-deals__copy p { color: var(--text-body); margin: 0 0 var(--sp-4); max-width: 60ch; }
.pw-deals__copy p:last-of-type { margin-bottom: 0; }
.pw-deals__pts { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: grid; gap: var(--sp-3); }
.pw-deals__pts li { font-size: 14px; color: var(--text-body); padding-left: 18px; position: relative; }
.pw-deals__pts li::before { content: ""; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border-radius: var(--r-pill); background: var(--accent); }
.pw-deals__pts strong { color: var(--text-strong); font-weight: 600; }
.pw-deals__cap { margin: var(--sp-3) 0 0; font-size: 12.5px; color: var(--text-muted); text-align: center; }

.pw-deal { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: 0 1px 2px rgba(32,36,46,.04), 0 12px 28px rgba(32,36,46,.07); }
.pw-deal__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: 14px 16px; background: var(--ink-cover); color: var(--paper-inverse); }
.pw-deal__co { display: block; font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.pw-deal__name { display: block; font-size: 12.5px; color: var(--ink-inv-2); margin-top: 1px; }
.pw-deal__heat { display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  border-radius: var(--r-pill); padding: 4px 10px;
  background: rgba(255,255,255,.14); color: var(--paper-inverse); }
/* .pw-dot carries no size of its own — it is only dimensioned inside
   .pw-badge--live — so this badge sizes its own dot rather than inheriting
   nothing and rendering an invisible zero-by-zero span. */
.pw-deal__heat .pw-dot { width: 6px; height: 6px; border-radius: var(--r-pill);
  background: currentColor; display: inline-block; flex: none; }

.pw-deal__decks { list-style: none; margin: 0; padding: 0; }
.pw-deal__deck { border-bottom: 1px solid var(--line); padding: 13px 16px; }
.pw-deal__deckhead { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-2); }
.pw-deal__decktitle { font-size: 13.5px; font-weight: 600; color: var(--text-strong); }
.pw-deal__deckmeta { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.pw-deal__people { list-style: none; margin: 9px 0 0; padding: 0; display: grid; gap: 6px; }
.pw-deal__people li { display: grid; grid-template-columns: 1fr auto auto; gap: var(--sp-3);
  align-items: baseline; font-size: 12.5px; }
.pw-deal__who { color: var(--text-strong); }
.pw-deal__role { color: var(--text-muted); font-size: 11.5px; }
.pw-deal__sig { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .03em;
  color: var(--text-muted); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 2px 8px; }
.pw-deal__sig--hot { color: var(--accent-strong); background: var(--accent-tint); border-color: transparent; }
.pw-deal__sig--warm { color: var(--accent-strong); background: var(--accent-tint-2); border-color: transparent; }

.pw-deal__foot { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline;
  padding: 12px 16px; background: var(--surface-2); font-size: 12px; color: var(--text-body); }
.pw-deal__foot strong { font-family: var(--font-mono); font-size: 13px; color: var(--text-strong); }
.pw-deal__last { margin-left: auto; color: var(--text-muted); }

@media (max-width: 880px) {
  .pw-deals__in { grid-template-columns: 1fr; gap: var(--sp-8); }
}

/* Two centring helpers, replacing the only other style="" attributes on the
   site (the pricing page header). Same reason as the bar widths below. */
.pw-center { margin: 0 auto; text-align: center; }
.pw-mx-auto { margin: 0 auto; }

/* Bar widths are declared here, not in a style="" attribute, so the pages need
   no `style-src 'unsafe-inline'` in their CSP. --w is still the single knob the
   rules above read, including the animated ones. */
.pw-track__meter i.pw-w-100 { --w: 100%; }
.pw-track__meter i.pw-w-67  { --w: 67%; }
.pw-track__meter i.pw-w-22  { --w: 22%; }
.pw-track__meter i.pw-w-5   { --w: 5%; }
.pw-track__t { font-family: var(--font-mono); font-size: 12px; color: var(--accent-strong); }
.pw-track__foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-muted); }

/* ====================================================================
   REUSABLE SLACK MESSAGE + signal-based follow-up (Task 5)
   Stylized — evocative of Slack, not a pixel clone.
   ==================================================================== */
.pw-signal__stack { display: flex; flex-direction: column; gap: 14px; }
.pw-slack { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-sm); overflow: hidden; }
.pw-slack__head { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
  padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.pw-slack__hash { color: var(--text-muted); margin-right: 1px; }
.pw-slack__msg { display: flex; gap: 10px; padding: 13px 14px; }
.pw-slack__avatar { width: 30px; height: 30px; border-radius: 7px; overflow: hidden; flex: none; }
.pw-slack__avatar img { width: 100%; height: 100%; }
.pw-slack__metaline { display: flex; align-items: baseline; gap: 7px; }
.pw-slack__metaline strong { color: var(--text-strong); font-size: 14px; }
.pw-slack__app { font-size: 9px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-muted); background: var(--surface-3); border-radius: 3px; padding: 1px 5px; }
.pw-slack__time { font-size: 11px; color: var(--text-muted); }
.pw-slack__text { font-size: 14px; color: var(--text-body); margin-top: 3px; }

.pw-note { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--r-md); padding: 13px 16px; box-shadow: var(--sh-sm); }
.pw-note--muted { border-left-color: var(--line-strong); }
.pw-note__title { font-size: 14px; font-weight: 600; color: var(--text-strong); }
.pw-note__sub { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }

/* ====================================================================
   VIEWER + MID-CTA + COMPARISON + WHO-IT'S-FOR (Task 6)
   ==================================================================== */
/* on-brand viewer vignette */
.pw-viewer { background: var(--paper); padding: 16px; }
.pw-viewer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pw-viewer__logo { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--text-strong);
  border: 1px dashed var(--line-strong); border-radius: var(--r-sm); padding: 4px 10px; }
.pw-viewer__for { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.pw-viewer__stage { height: 190px; border-radius: var(--r-md);
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--surface-3) 14px 28px);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.pw-viewer__stage span { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted);
  background: var(--surface); padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); }

/* mid CTA band */
.pw-band { background: var(--ink-cover); }
.pw-band__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.pw-band__kicker { color: var(--ink-inv-2); display: block; margin-bottom: 12px; }
.pw-band__h { color: #fff; max-width: 20ch; }

/* comparison table */
.pw-compare__scroll { margin-top: 40px; overflow-x: auto; }
.pw-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.pw-table th, .pw-table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.pw-table thead th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500; border-bottom: 1px solid var(--line-strong); }
.pw-table td:first-child { color: var(--text-strong); font-weight: 500; }
.pw-table td:nth-child(2) { color: var(--text-muted); }
.pw-table .pw-table__win { color: var(--text-strong); background: var(--accent-tint); }
.pw-table thead .pw-table__win { color: var(--accent-strong); }
.pw-table tbody tr:last-child td { border-bottom: 0; }
/* row reveal (JS opts in via data-animate) */
.pw-table[data-animate] tbody tr { opacity: 0; transform: translateY(10px); }
.pw-table[data-animate] tbody tr.is-in { opacity: 1; transform: none; transition: opacity .4s ease, transform .4s ease; }

/* who it's for */
.pw-who__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.pw-who__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.pw-who__card h3 { margin-bottom: 10px; }
.pw-who__card p { font-size: 15px; color: var(--text-body); }
@media (max-width: 820px) { .pw-who__grid { grid-template-columns: 1fr; } }

/* ====================================================================
   INTEGRATIONS (Task 7) — replaces the old logo strip
   ==================================================================== */
.pw-integ__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; align-items: start; }
.pw-integ__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.pw-integ__top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.pw-mark { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-strong); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; flex: none; }
.pw-mark svg { width: 20px; height: 20px; }
.pw-integ__name { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--text-strong); }
.pw-integ__top .pw-badge { margin-left: auto; }
.pw-integ__copy { font-size: 14.5px; color: var(--text-body); }
.pw-integ__vig { margin-top: 18px; }

/* HubSpot deal-record vignette */
.pw-crm { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.pw-crm__head { display: flex; align-items: center; justify-content: space-between;
  padding: 11px 13px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.pw-crm__deal { font-size: 13px; font-weight: 600; color: var(--text-strong); }
.pw-crm__stage { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 2px 8px; }
.pw-crm__row { display: flex; gap: 9px; padding: 12px 13px; align-items: flex-start; }
.pw-crm__badge { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .04em;
  color: var(--accent-strong); background: var(--accent-tint); border-radius: var(--r-sm); padding: 3px 7px; flex: none; }
.pw-crm__text { font-size: 12.5px; color: var(--text-body); }
.pw-crm__props { list-style: none; margin: 0; padding: 9px 13px 11px; display: flex; flex-wrap: wrap;
  gap: 5px 13px; border-top: 1px solid var(--line); background: var(--surface-2); }
.pw-crm__props li { font-size: 11.5px; color: var(--text-strong); display: inline-flex; gap: 5px; align-items: baseline; }
.pw-crm__prop { font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }

/* secondary marks row */
.pw-integ__more { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; }
.pw-integ__marks { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap;
  gap: 12px 26px; align-items: center; justify-content: center; }
.pw-integ__marks li, .pw-integ__marks a { display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text-muted); }
.pw-integ__marks a:hover { color: var(--text-strong); text-decoration: none; }
.pw-mark--sm { width: 26px; height: 26px; color: var(--text-muted); }
.pw-mark--sm svg { width: 16px; height: 16px; }
.pw-integ__marks a:hover .pw-mark--sm { color: var(--accent-strong); }
.pw-integ__cap { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
/* product screenshot — PitchWire UI only, never CRM chrome (assets/img/README.md) */
.pw-shot { margin: 32px 0 0; }
.pw-shot__frame { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--sh-md); }
.pw-shot__frame img { display: block; width: 100%; height: auto; }
.pw-shot__cap { margin-top: 12px; font-size: 13px; color: var(--text-muted); text-align: center; }

@media (max-width: 820px) { .pw-integ__grid { grid-template-columns: 1fr; } }

/* ====================================================================
   TRUST + FAQ + FINAL CTA (Task 8)
   ==================================================================== */
.pw-trust { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pw-trust__chips { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.pw-trust__chips li { font-size: 13px; color: var(--text-body); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 14px; }
.pw-trust__chips .pw-mono { color: var(--text-strong); font-size: 12px; }

/* FAQ accordion (native <details>) */
.pw-faq__list { margin-top: 36px; max-width: 780px; border-top: 1px solid var(--line); }
.pw-faq__item { border-bottom: 1px solid var(--line); }
.pw-faq__item > summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--text-strong); }
.pw-faq__item > summary::-webkit-details-marker { display: none; }
.pw-faq__item > summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-weight: 400; font-size: 24px; color: var(--text-muted); line-height: 1; }
.pw-faq__item[open] > summary::after { content: "\2212"; }
.pw-faq__item > summary:hover { color: var(--accent-strong); }
.pw-faq__a { padding: 0 40px 22px 0; }
.pw-faq__a p { font-size: 15.5px; color: var(--text-body); max-width: 68ch; }

/* final CTA */
.pw-final { text-align: center; }
.pw-final__in { max-width: 640px; margin: 0 auto; }
.pw-final__h { margin-bottom: 14px; }
.pw-final__p { font-size: var(--fs-body-l); color: var(--text-body); margin-bottom: 28px; }
.pw-final__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ====================================================================
   PRICING PAGE (Task 9)
   ==================================================================== */
.pw-pricehead { padding-top: 64px; padding-bottom: 8px; text-align: center; }
.pw-pricehead h1 { margin: 0 0 14px; }
.pw-btn--sm { padding: 8px 13px; font-size: 13px; }

/* monthly/annual toggle */
.pw-toggle { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; justify-content: center; width: 100%; }
.pw-toggle__label { font-size: 14px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 8px; }
.pw-toggle__label.is-on { color: var(--text-strong); font-weight: 600; }
.pw-toggle__save { font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-strong); background: var(--accent-tint); border-radius: var(--r-pill); padding: 3px 8px; }
.pw-toggle__switch { width: 46px; height: 26px; border-radius: var(--r-pill); background: var(--surface-3);
  border: 1px solid var(--line); position: relative; padding: 0; transition: background .15s ease; }
.pw-toggle__switch[aria-checked="true"] { background: var(--accent); border-color: var(--accent-strong); }
.pw-toggle__knob { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: var(--sh-sm); transition: transform .15s ease; }
.pw-toggle__switch[aria-checked="true"] .pw-toggle__knob { transform: translateX(20px); }
@media (prefers-reduced-motion: reduce) { .pw-toggle__switch, .pw-toggle__knob { transition: none; } }

/* tier cards */
.pw-tiers { padding-top: 40px; }
.pw-tiers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.pw-tier { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; position: relative; }
.pw-tier--pop { border: 1.5px solid var(--accent); box-shadow: var(--sh-md); }
.pw-tier__flag { position: absolute; top: -12px; left: 28px; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: var(--r-pill); padding: 4px 11px; }
.pw-tier__name { font-size: 22px; margin-bottom: 4px; }
.pw-tier__for { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.pw-tier__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin-bottom: 20px; min-height: 40px; }
.pw-tier__amt { font-family: var(--font-head); font-weight: 800; font-size: 34px; color: var(--text-strong); letter-spacing: -.02em; }
.pw-tier__unit { font-size: 14px; color: var(--text-muted); }
.pw-tier__cta { width: 100%; justify-content: center; }
/* Feature lists read as one wire — the logo's EKG line — running down each card.
   Every feature is a node on it; "Everything in X, plus" is a hollow origin node,
   so Starter -> Team -> Enterprise scan as a single continuous line. */
.pw-tier { --pw-tier-bg: var(--surface); }
.pw-tier--pop { --pw-tier-bg: var(--accent-tint); }
.pw-tier__feats { list-style: none; padding: 0; margin: 24px 0 2px; display: flex; flex-direction: column; gap: 13px; }
.pw-tier__feats li { font-size: 14px; line-height: 1.4; color: var(--text-strong); font-weight: var(--fw-medium);
  padding-left: 26px; position: relative; }
/* node (::before) and the wire segment down to the next node (::after); the last node ends the wire */
.pw-tier__feats li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent); z-index: 1; }
.pw-tier__feats li::after { content: ""; position: absolute; left: 5px; top: 14px; bottom: -13px; width: 2px;
  background: var(--line-strong); }
.pw-tier__feats li:last-child::after { display: none; }
.pw-tier--pop .pw-tier__feats li::after { background: var(--accent); opacity: .5; }
.pw-tier__sub { display: block; font-size: 12.5px; font-weight: var(--fw-regular); color: var(--text-muted); margin-top: 1px; }
.pw-tier__feats .pw-tier__from { font-size: 13px; font-weight: var(--fw-regular); color: var(--text-muted); }
.pw-tier__feats .pw-tier__from::before { width: 6px; height: 6px; left: 1px; top: 5px; background: var(--pw-tier-bg);
  border: 2px solid var(--accent); }
/* Starter's wire continues past what it includes: unfilled nodes on a dashed line */
.pw-tier__feats .pw-tier__off { color: var(--text-muted); font-weight: var(--fw-regular); }
.pw-tier__feats .pw-tier__off::before,
.pw-tier__feats .pw-tier__from--off::before { width: 6px; height: 6px; left: 1px; top: 5px; background: var(--pw-tier-bg);
  border: 2px solid var(--line-strong); }
.pw-tier__feats .pw-tier__off::after,
.pw-tier__feats .pw-tier__from--off::after { background: none; width: 0; border-left: 2px dashed var(--line-strong); }
.pw-tier__more { margin: 14px 0 0 26px; font-size: 14px; }
.pw-tier__more a { color: var(--accent-strong); font-weight: var(--fw-semibold); cursor: pointer; }
.pw-nowrap { white-space: nowrap; }
.pw-tier__feats .pw-badge { margin-left: 4px; padding: 2px 7px; font-size: 10px; vertical-align: 1px; }
.pw-tier__note { margin: 10px 0 0; font-size: 13px; color: var(--text-muted, var(--text-body)); text-align: center; }
.pw-tier__billed { flex-basis: 100%; margin-top: 6px; font-size: 13px; color: var(--text-body); }
.pw-tier__billed[hidden] { display: none; }
.pw-tiers__note { text-align: center; margin-top: 28px; font-size: 15px; color: var(--text-body); }
.pw-tiers__note a { color: var(--accent-strong); font-weight: 600; cursor: pointer; }
@media (max-width: 900px) { .pw-tiers__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* full comparison table */
.pw-ptable { width: 100%; border-collapse: collapse; min-width: 680px; margin-top: 36px; }
.pw-ptable th, .pw-ptable td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: 14px; }
.pw-ptable th:first-child, .pw-ptable td:first-child { text-align: left; color: var(--text-strong); }
.pw-ptable thead th { font-family: var(--font-head); font-size: 15px; }
.pw-ptable .pw-table__win { background: var(--accent-tint); }
.pw-ptable tbody td { color: var(--text-body); }
.pw-ptable tfoot td { border-bottom: 0; padding-top: 16px; }

/* ====================================================================
   DEMO PAGE (Task 10)
   ==================================================================== */
.pw-nav--min .pw-nav__back { font-size: 15px; color: var(--text-body); display: inline-flex; align-items: center; gap: 6px; }
.pw-nav--min .pw-nav__back:hover { color: var(--text-strong); text-decoration: none; }
.pw-demo__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding-top: 12px; }
.pw-demo__pitch .pw-kicker { display: block; margin-bottom: 14px; }
.pw-demo__pitch h1 { font-size: clamp(32px, 4.4vw, 44px); margin-bottom: 24px; }
.pw-demo__bullets { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
.pw-demo__bullets li { font-size: 16px; color: var(--text-body); padding-left: 26px; position: relative; }
.pw-demo__bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pw-demo__built { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.pw-demo__stat { border-top: 1px solid var(--line); padding-top: 20px; display: flex; gap: 16px; align-items: baseline; }
.pw-demo__statn { font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--accent-strong); line-height: 1; }
.pw-demo__statl { font-size: 14px; color: var(--text-muted); max-width: 30ch; }

/* form */
.pw-demo__form, .pw-demo__success { padding: 28px; }
.pw-demo__formh { font-size: 20px; margin-bottom: 20px; }
.pw-field { margin-bottom: 16px; }
.pw-field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-strong); margin-bottom: 6px; }
.pw-field input, .pw-field select { width: 100%; min-height: 48px; padding: 12px 14px; font-size: 15px;
  font-family: var(--font-body); color: var(--text-strong); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-md); }
.pw-field input:focus, .pw-field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.pw-field input.is-invalid, .pw-field select.is-invalid { border-color: #b3282d; }
.pw-field__err { display: none; font-size: 12.5px; color: #b3282d; margin-top: 5px; }
.pw-field input.is-invalid ~ .pw-field__err, .pw-field select.is-invalid ~ .pw-field__err { display: block; }
.pw-demo__submit { width: 100%; justify-content: center; margin-top: 6px; }
.pw-demo__fine { font-size: 12px; color: var(--text-muted); margin-top: 12px; text-align: center; }

/* success */
.pw-demo__check { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-tint);
  color: var(--accent-strong); font-size: 22px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pw-demo__successp { font-size: 15px; color: var(--text-body); margin-bottom: 20px; }
.pw-demo__embed { min-height: 240px; border: 1px dashed var(--line-strong); border-radius: var(--r-md);
  background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, var(--surface-3) 14px 28px);
  display: flex; align-items: center; justify-content: center; }
@media (max-width: 820px) { .pw-demo__in { grid-template-columns: 1fr; gap: 36px; } }

/* ====================================================================
   LIVE MOTION LAYER (Task 11) — animation states for live.js.
   Applied only when live.js opts in (JS-added classes/attrs); the plain
   authored states above are the correct static/reduced-motion fallback.
   ==================================================================== */
/* hero feed update slide-in */
@keyframes pw-feedin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pw-activity__body.pw-feedin { animation: pw-feedin .4s ease; }

/* version-history flash pulse */
@keyframes pw-flashpulse { 0% { background: transparent; } 25% { background: var(--accent-tint); } 100% { background: transparent; } }
.pw-versions__row.pw-flash { animation: pw-flashpulse 1.4s ease; border-radius: var(--r-sm); }

/* MCP chat message reveal */
.pw-chat--anim [data-chat-tool].pw-chat__hide,
.pw-chat--anim [data-chat-reply].pw-chat__hide { display: none; }
@keyframes pw-msgin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pw-chat--anim .pw-msgin { animation: pw-msgin .34s ease; }

/* ====================================================================
   COLOR REFRESH — softer green tones pulled from the app palette
   (--accent-tint / --accent-tint-2 are light-green mixes of the accent).
   Applied sparingly: a hero glow, a mid-page band, and the closing CTA,
   so the brand green carries through without crowding the whitespace.
   ==================================================================== */
.pw-hero { background: radial-gradient(135% 125% at 100% -15%, var(--accent-tint) 0%, transparent 52%); }
.pw-trustline { background: var(--accent-tint); border-color: var(--accent-tint-2); }
.pw-integ { background: var(--accent-tint); }
.pw-final { background: var(--accent-tint); }
/* lift interactive surfaces toward the accent on hover */
.pw-step:hover, .pw-who__card:hover, .pw-integ__card:hover { border-color: var(--accent-tint-2); }
.pw-tier--pop { background: var(--accent-tint); }

/* ====================================================================
   v1.2 — conversion pass (2026-09-11)
   ==================================================================== */
/* hero: activity card sits under the frame instead of covering slide text */
.pw-slide { padding-bottom: 40px; }
.pw-activity { position: relative; right: auto; bottom: auto; margin: -22px 18px 0 auto; }
@media (max-width: 900px) { .pw-activity { margin-right: 12px; } }
.pw-hero__foot { max-width: 46ch; line-height: 1.5; }

/* mid CTA band: standard pair on dark */
.pw-band__p { color: var(--ink-inv-2); font-size: 16px; margin-top: 10px; max-width: 44ch; }
.pw-band__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pw-btn--onDark { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
.pw-btn--onDark:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.6); color: #fff; }

/* FAQ: pricing pointer under the accordion */
.pw-faq__more { margin-top: 20px; font-size: 15px; color: var(--text-muted); }
.pw-faq__more a { color: var(--accent-strong); font-weight: 600; }

/* pricing: unpriced Team card + CTA note */
.pw-tier__amt--tbd { font-size: 28px; white-space: nowrap; }
.pw-tier__price:has(.pw-tier__amt--tbd) { flex-wrap: wrap; gap: 0 4px; }
.pw-tier__price:has(.pw-tier__amt--tbd) .pw-tier__unit { flex-basis: 100%; }
.pw-tier__cta { margin-bottom: 0; }
.pw-tier__ctanote { font-size: 12.5px; color: var(--text-muted); margin: 10px 0 16px; text-align: center; }

/* contact page (reuses the .pw-demo layout) */
.pw-demo__intro { font-size: 17px; color: var(--text-body); margin-bottom: 24px; max-width: 40ch; }
.pw-contact__row { padding: 18px 0; border-top: 1px solid var(--line); }
.pw-contact__row:first-of-type { border-top: 0; padding-top: 0; }
.pw-contact__row h3 { font-size: 16px; margin: 0 0 4px; }
.pw-contact__row p { font-size: 14px; color: var(--text-muted); margin: 0 0 8px; }
.pw-contact__addr { font-size: 18px; font-weight: 600; color: var(--accent-strong); text-decoration: none; word-break: break-all; }
.pw-contact__addr:hover { text-decoration: underline; }
.pw-demo__alt { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.pw-demo__alt p { font-size: 15px; color: var(--text-body); }
.pw-demo__alt a { color: var(--accent-strong); font-weight: 600; }
.pw-field textarea { width: 100%; min-height: 110px; padding: 12px 14px; font-size: 15px; font-family: var(--font-body);
  color: var(--text-strong); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-md); resize: vertical; }
.pw-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.pw-field textarea.is-invalid { border-color: #b3282d; }
.pw-field textarea.is-invalid ~ .pw-field__err { display: block; }
.pw-demo__previewnote { font-size: 13px; color: var(--text-muted); }

/* security page */
.pw-sec { padding: 64px 0 96px; }
.pw-sec__in { max-width: 760px; }
.pw-sec__head h1 { font-size: clamp(32px, 4.4vw, 44px); margin-bottom: 18px; }
.pw-sec__head .pw-lead { margin-bottom: 24px; }
.pw-sec__head .pw-trust__chips { margin-top: 0; }
.pw-sec__body { margin-top: 48px; display: flex; flex-direction: column; gap: 36px; }
.pw-sec__item h2 { font-size: 22px; margin-bottom: 10px; }
.pw-sec__item p { font-size: 16px; color: var(--text-body); max-width: 68ch; }
.pw-sec__item a { color: var(--accent-strong); font-weight: 600; }
/* subprocessor list (PW-147) — matches the body copy it sits between */
.pw-sec__item p + p { margin-top: 12px; }
.pw-sec__list {
  margin: 10px 0 0;
  padding-left: 20px;
  list-style: disc;
  max-width: 68ch;
  font-size: 16px;
  color: var(--text-body);
}
.pw-sec__list li { margin-bottom: 6px; }
.pw-sec__list strong { color: var(--text-strong, inherit); font-weight: 600; }

/* tighter vertical rhythm — the page was 17 sections of 96px padding */
section { padding: 72px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }
.pw-hero { padding: 64px 0 80px; }
.pw-hero__copy h1 { font-size: clamp(38px, 4.1vw, 50px); }

/* security page items are <section>s inside a section — no double padding */
.pw-sec__item { padding: 0; }
