/* Callabra /products/<slug> — product page layout (v2.7 design pass). Loaded after industries.css + trial.css.
   Reused as-is: header/footer (site-pages.css), trial buttons + facts line + pricing cards (trial.css), the demo-call
   section #try (trial.css), FAQ accordion (answers.css), closing CTA band (industries.css .in-cta).
   Tokens only. Orange = spark only (CTAs, the brand full stop, step numbers, the journey-rail dot) — same as the homepage.
   Rhythm: paper hero → white statement → paper steps → white demo → ink 'what it handles' → white pricing → paper FAQ → ink CTA. */

.pd-main { --pd-y: clamp(72px, 9vw, 128px); --pd-overlap: clamp(56px, 7vw, 96px); }
.pd-wrap { box-sizing: border-box; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.pd-narrow { max-width: 1020px; }
.pd-sec { padding: var(--pd-y) 0; }
.pd-dot { color: var(--orange); }   /* the brand full stop: the copy's own final period, coloured */

/* shared type */
.pd-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: var(--text-label); letter-spacing: var(--track-label);
  text-transform: uppercase; color: var(--steel); }
.pd-eyebrow--dark { color: var(--steel-2); }
.pd-eyebrow i, .pd-kicker i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.pd-h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04;
  font-size: clamp(34px, 4.4vw, 56px); margin: 0; color: var(--ink); text-wrap: balance; }
.pd-h2--dark { color: var(--paper); }
.pd-head--center { text-align: center; }

/* ── 1 · HERO: copy left, the product's portal screen right (overlaps into the next band) ── */
.pd-hero { background: var(--paper); padding: clamp(28px, 4vw, 48px) 0 0; }
.pd-hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 4.5vw, 72px); align-items: center;
  margin-top: clamp(20px, 3vw, 36px); }
.pd-hero-copy { padding-bottom: calc(var(--pd-overlap) + 8px); }
.pd-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-pill); font: var(--text-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--ink); }
.pd-h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.0;
  font-size: clamp(44px, 5.4vw, 76px); margin: 24px 0 0; color: var(--ink); text-wrap: balance; }
.pd-sub { font: 400 clamp(18px, 1.5vw, 21px)/1.5 var(--font-body); color: var(--ink-80); max-width: 34em; margin: 24px 0 0; text-wrap: pretty; }
.pd-note { font: 500 15.5px/1.45 var(--font-body); color: var(--ink); margin: 14px 0 0; padding-left: 12px; border-left: 2px solid var(--ink); }
.pd-hero .in-cta-row { margin-top: 34px; }
.pd-shot { position: relative; z-index: 2; margin: 0 0 calc(-1 * var(--pd-overlap)); }
.pd-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-xl);
  box-shadow: 0 40px 90px rgba(23, 24, 26, .22), 0 8px 24px rgba(23, 24, 26, .10); }

/* ── 2 · THE PROBLEM: one bold statement ── */
.pd-problem { background: var(--white); border-bottom: 1px solid var(--line); padding-top: calc(var(--pd-overlap) + clamp(48px, 5vw, 72px)); }
.pd-statement { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.14;
  font-size: clamp(30px, 3.6vw, 48px); color: var(--ink); max-width: 28ch; margin: 22px 0 0; text-wrap: pretty; }

/* ── 3 · HOW IT WORKS: three big steps on the homepage journey rail ── */
.pd-how { background: var(--paper); }
.pd-steps { --pd-gap: clamp(20px, 2.4vw, 32px); --pd-pad: clamp(26px, 2.8vw, 38px); list-style: none; padding: 0;
  margin: clamp(40px, 4.5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pd-gap); }
.pd-step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--pd-pad); box-shadow: var(--shadow-sm); min-width: 0; }
.pd-step:not(:last-child)::before { content: ""; position: absolute; z-index: 1; top: calc(var(--pd-pad) + 28px); left: 100%;
  width: var(--pd-gap); border-top: 1px dashed var(--steel-2); }
.pd-step:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: calc(var(--pd-pad) + 25px);
  left: calc(100% + var(--pd-gap) / 2 - 3.5px); width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px var(--paper); }
.pd-num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange-tint); color: var(--orange); font: 700 24px/1 var(--font-display); }
.pd-step-h { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12;
  font-size: clamp(23px, 2.1vw, 28px); margin: 26px 0 0; color: var(--ink); }
.pd-step-p { font: 400 17.5px/1.55 var(--font-body); color: var(--ink-80); margin: 12px 0 0; }

/* ── 4 · the demo-call section (#try), moved below the product story ── */
.pd-main .try-sec { background: var(--white); border-top: 1px solid var(--line); }
.pd-main .try-sec .rc-wrap { padding-top: var(--pd-y); padding-bottom: var(--pd-y); }

/* ── 5 · WHAT IT HANDLES + WHO IT'S FOR: ink band, large checklist card ── */
.pd-handles { background: var(--ink); color: var(--paper); }
.pd-handles-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 5.5vw, 96px); align-items: center; }
.pd-who-h { margin-top: clamp(32px, 3.6vw, 48px); }
.pd-chips { margin: 18px 0 0; font: 400 18px/1.55 var(--font-body); color: rgba(247, 245, 240, .78); }
.pd-chip { display: inline-block; margin: 0 8px 10px 0; padding: 9px 16px; border: 1px solid rgba(247, 245, 240, .22);
  border-radius: var(--radius-pill); background: rgba(247, 245, 240, .06); color: var(--paper); font: 500 16px/1.2 var(--font-body); }
.pd-chip::first-letter { text-transform: uppercase; }
.pd-sep { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pd-who-rest { display: inline; }
.pd-who-more { font: 400 18px/1.55 var(--font-body); color: rgba(247, 245, 240, .78); margin: 10px 0 0; }
.pd-panel { background: var(--white); color: var(--ink); border-radius: var(--radius-xl); padding: clamp(22px, 2.6vw, 34px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .35); }
.pd-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pd-panel-label { font: var(--text-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--steel); }
.pd-lights { display: inline-flex; gap: 6px; }
.pd-lights i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.pd-lights i:first-child { background: var(--orange); }
.pd-checks { list-style: none; margin: 0; padding: 0; }
.pd-checks li { display: flex; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line);
  font: 500 clamp(17px, 1.5vw, 19px)/1.35 var(--font-body); color: var(--ink); }
.pd-checks li:last-child { border-bottom: 0; padding-bottom: 4px; }
.pd-check { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; }
.pd-check svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ── 6 · PRICING: the homepage cards on white ── */
.pd-pricing { background: var(--white); }
.pd-pricing .pr-intro { color: var(--ink-80); text-wrap: balance; }
.pd-pricing .pr-cta { box-sizing: border-box; }   /* full-width button: these pages have no global border-box reset (homepage does) */

/* ── 7 · FAQ ── */
.pd-faq { background: var(--paper); border-top: 1px solid var(--line); }
.pd-faq .in-faq { max-width: none; margin-top: clamp(28px, 3vw, 44px); }
.pd-faq .in-faq-more { max-width: none; }
.pd-faq .an-a p { font-size: 17.5px; line-height: 1.6; color: var(--ink-80); }

/* ── 8 · closing CTA band ── */
.pd-cta { margin-top: 0; padding: clamp(80px, 10vw, 136px) 0; }
.pd-cta .in-cta-inner { max-width: 820px; }
.pd-cta-h { font-size: clamp(34px, 4.6vw, 60px); }
.pd-cta .in-cta-row { margin-top: 36px; }

/* ── responsive ── */
@media (max-width: 960px) {
  .pd-main { --pd-overlap: 48px; }
  .pd-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .pd-hero-copy { padding-bottom: 0; }
  .pd-shot { max-width: 620px; }
  .pd-handles-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .pd-steps { grid-template-columns: minmax(0, 1fr); }
  .pd-step:not(:last-child)::before { top: 100%; left: calc(var(--pd-pad) + 28px); width: 0; height: var(--pd-gap); border-top: 0; border-left: 1px dashed var(--steel-2); }
  .pd-step:not(:last-child)::after { top: calc(100% + var(--pd-gap) / 2 - 3.5px); left: calc(var(--pd-pad) + 24.5px); }
  .pd-hero .in-cta-row > .cl-btn, .pd-cta .in-cta-row > .cl-btn { width: 100%; box-sizing: border-box; }
}
@media (max-width: 640px) {
  .pd-wrap { padding: 0 18px; }
  .pd-h1 { font-size: clamp(40px, 11vw, 48px); }
  .pd-sub { font-size: 18px; }
  .pd-statement { font-size: clamp(27px, 7.4vw, 32px); }
  .pd-step-p, .pd-chips, .pd-who-more { font-size: 17px; }
  .pd-chip { font-size: 15px; padding: 8px 14px; }
}

/* inbound-only trial note (outbound pages): hero under the facts line + inside the pricing trial card */
.pd-trial-note { margin-top: 16px; }
.pd-note--dark { color: var(--paper); border-left-color: rgba(247, 245, 240, .55); margin-top: 18px; }

/* 'More from Callabra': the industry pages' related cards, 4 across */
.pd-more { background: var(--white); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0; }
.pd-more .in-h3 { margin-bottom: clamp(20px, 2.4vw, 28px); }
.pd-more-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .pd-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pd-more-grid { grid-template-columns: minmax(0, 1fr); } }
