/* assets/playbooks.css: on top of funnel.css. Same tokens (--black,--white,--hairline,
   --ps-blue,--ps-cyan,--sst,--mono). No new pill shapes: every radius here is well under the
   no-ai-pill threshold. */
.pb-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px 80px; }
.pb-main { display: block; }
.pb-nav-link { margin-left: 18px; color: var(--mute-gray); font-size: 14px; font-weight: 600; text-decoration: none; }
.pb-nav-link:hover { color: var(--white); }

.pb-hero { padding: 48px 0 28px; border-bottom: 1px solid var(--hairline); }
.pb-hero h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 14px; }
.pb-hero-sub { font-size: 17px; line-height: 1.55; color: var(--mute-gray); max-width: 640px; margin: 0 0 22px; }
.pb-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.pb-loom { padding: 28px 0; }
.pb-embed-16x9 { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: var(--shadow-black); border: 1px solid var(--hairline); }
.pb-embed-16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pb-loom-poster { text-decoration: none; }
.pb-loom-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-play-badge { position: absolute; left: 18px; bottom: 16px; background: rgba(8,8,11,0.82); color: var(--white); font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 8px; }

.pb-mocks { padding: 28px 0; border-top: 1px solid var(--hairline); }
.pb-mocks h2, .pb-brain-embed h2, .pb-start-examples h2, .pb-start-install h2 { font-size: 22px; font-weight: 700; margin: 0 0 18px; letter-spacing: -0.01em; }
.pb-mocks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pb-mocks-grid figure { margin: 0; position: relative; background: var(--panel, var(--shadow-black)); border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
.pb-mocks-grid img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.pb-illo-tag { position: absolute; top: 10px; right: 10px; background: rgba(8,8,11,0.75); color: var(--white); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.pb-mocks-grid figcaption { padding: 12px 14px; color: var(--mute-gray); font-size: 13.5px; line-height: 1.4; }

.pb-brain-embed { padding: 28px 0; border-top: 1px solid var(--hairline); }
.pb-embed-16x10 { position: relative; width: 100%; aspect-ratio: 16/10; border-radius: 14px; overflow: hidden; border: 1px solid var(--hairline); background: var(--shadow-black); }
.pb-embed-16x10 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pb-embed-fallback { color: var(--body-gray); font-size: 13px; margin-top: 10px; }

.pb-suite, .pb-more, .pb-foundation { padding: 40px 0; border-top: 1px solid var(--hairline); }
.pb-suite-hero { width: 100%; max-height: 220px; object-fit: cover; border-radius: 14px; margin-bottom: 18px; display: block; }
.pb-suite-hero-sm { max-height: 140px; }
.pb-suite h2, .pb-more h2, .pb-foundation h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 8px; }
.pb-outcome { color: var(--mute-gray); font-size: 15.5px; line-height: 1.5; max-width: 720px; margin: 0 0 8px; }
.pb-suite-meta { color: var(--body-gray); font-size: 13.5px; margin: 0 0 22px; }
.pb-stage-title { font-size: 17px; font-weight: 700; margin: 18px 0 12px; }
.pb-stage-note { color: var(--ps-airborne-link); font-size: 13px; font-weight: 600; margin-left: 8px; }

.pb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pb-cards-sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pb-card { display: flex; flex-direction: column; background: var(--shadow-black); border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; transition: border-color 160ms ease, transform 160ms ease; min-width: 0; }
.pb-card:hover { border-color: var(--hairline-strong); transform: translateY(-2px); }
.pb-card-link { display: flex; flex-direction: column; flex: 1; min-width: 0; text-decoration: none; color: var(--white); }
.pb-card-link img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; background: #000; }
.pb-card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pb-card-body h3 { font-size: 14.5px; font-weight: 600; line-height: 1.35; margin: 0; letter-spacing: -0.005em; }
.pb-status { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; align-self: flex-start; }
.pb-status-ready { background: rgba(52,199,89,0.18); color: #34C759; }
.pb-status-coming { background: rgba(255,255,255,0.08); color: var(--body-gray); }
.pb-card-soft { font-size: 12px; color: var(--body-gray); line-height: 1.4; margin: 0; padding: 0 14px 14px; }

.pb-foundation { opacity: 0.62; }
.pb-foundation .pb-list { columns: 1; }

.pb-list { padding-left: 22px; color: var(--mute-gray); font-size: 14.5px; line-height: 1.6; }
.pb-list li { margin-bottom: 6px; }

/* build sheet */
.pb-breadcrumb { color: var(--body-gray); font-size: 13px; margin: 22px 0 18px; }
.pb-breadcrumb a { color: var(--body-gray); }
.pb-sheet-head { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; padding-bottom: 24px; border-bottom: 1px solid var(--hairline); }
.pb-sheet-still { width: 320px; max-width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.pb-sheet-headtext { flex: 1; min-width: 0; }
.pb-sheet-headtext h1 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.015em; line-height: 1.12; margin: 0 0 10px; }
.pb-what { color: var(--mute-gray); font-size: 15.5px; line-height: 1.55; margin: 10px 0 0; }
.pb-sheet-section { padding: 26px 0; border-bottom: 1px solid var(--hairline); }
.pb-sheet-section h2 { font-size: 18px; font-weight: 700; margin: 0 0 14px; letter-spacing: -0.005em; }
.pb-table-wrap { overflow-x: auto; }
.pb-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pb-table th, .pb-table td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.pb-table th { color: var(--body-gray); font-weight: 600; font-size: 12.5px; text-transform: none; }
.pb-steps-list { padding-left: 24px; font-size: 14.5px; line-height: 1.7; color: var(--white); }
.pb-steps-list li { margin-bottom: 8px; }
.pb-soft-note { color: var(--body-gray); font-size: 13.5px; padding: 14px 0; }
.pb-part-of { margin: 26px 0 0; color: var(--body-gray); font-size: 13.5px; }

/* /start */
.pb-start-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; padding: 30px 0; border-top: 1px solid var(--hairline); }
.pb-start-way { background: var(--shadow-black); border: 1px solid var(--hairline); border-radius: 12px; padding: 18px 18px 20px; min-width: 0; }
.pb-start-way h2 { font-size: 17px; margin: 0 0 8px; }
.pb-start-way p { color: var(--mute-gray); font-size: 14px; line-height: 1.55; margin: 0; }
.pb-start-examples { padding: 28px 0; border-top: 1px solid var(--hairline); }
.pb-examples { columns: 2; column-gap: 32px; }
.pb-start-install { padding: 28px 0; border-top: 1px solid var(--hairline); }
.pb-install-way { padding: 16px 0; border-bottom: 1px dashed var(--hairline); }
.pb-install-way:last-child { border-bottom: none; }
.pb-install-way h3 { font-size: 15.5px; margin: 0 0 6px; }
.pb-install-way p { color: var(--mute-gray); font-size: 14px; margin: 0 0 12px; }
.pb-codeline { display: block; background: var(--shadow-black); border: 1px solid var(--hairline); border-radius: 8px; padding: 12px 14px; font-family: var(--mono); font-size: 12.5px; color: var(--mute-gray); overflow-x: auto; white-space: nowrap; }

.skip-link { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 12px; top: 12px; width: auto; height: auto; z-index: 100; background: var(--ink-white, #fff); color: #000; padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; }

.pb-footer { border-top: 1px solid var(--hairline); padding: 26px 0 60px; color: var(--body-gray); font-size: 13px; }
.pb-footer a { color: var(--body-gray); }
.pb-footer-legal { margin-top: 8px; font-size: 12px; opacity: .8; }

@media (max-width: 640px) {
  .pb-sheet-head { flex-direction: column; }
  .pb-sheet-still { width: 100%; }
  .pb-examples { columns: 1; }
  /* the poster already carries its own label at phone width, so the badge would sit on top of it */
  .pb-play-badge { display: none; }
}

@media (max-width: 760px) {
  .pb-embed-16x10 { aspect-ratio: auto; min-height: 620px; }
}
