/* Shared styles for /playbook (index) and /playbook/<slug> guide pages.
   Visual language matches the rest of the marketing site (style.css);
   this only adds the playbook-specific layout primitives. */

.pb-eyebrow {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--accent);
}

/* ── Index hero ─────────────────────────────────────────────────────────── */
.pb-hero { padding: 64px 24px 32px; }
.pb-hero-inner { max-width: 880px; margin: 0 auto; }
.pb-hero h1 {
  font-family: 'Lora', serif; font-weight: 500;
  font-size: 48px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--text); margin: 12px 0 16px;
}
.pb-hero h1 em { color: var(--accent); font-style: italic; }
.pb-sub { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 640px; }

/* ── Tiles on the index ─────────────────────────────────────────────────── */
.pb-list { padding: 8px 24px 64px; }
.pb-list-inner { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.pb-tile {
  display: flex; align-items: flex-start; gap: 22px;
  padding: 24px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  transition: all 0.15s; color: inherit;
}
a.pb-tile:hover { border-color: rgba(192,90,40,0.4); box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.pb-tile.is-disabled { opacity: 0.6; cursor: not-allowed; background: rgba(112,68,24,0.025); }

.pb-num {
  font-family: 'Lora', serif; font-weight: 500;
  font-size: 32px; line-height: 1; color: var(--dim);
  width: 42px; flex-shrink: 0;
}
.pb-tile-body { flex: 1; min-width: 0; }
.pb-tile-head {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px;
}
.pb-tile-head h2 {
  font-family: 'Lora', serif; font-weight: 500;
  font-size: 18px; line-height: 1.3; color: var(--text);
}
.pb-tile-head h2 em { color: var(--accent); font-style: italic; }
.pb-tile-desc { font-size: 14px; line-height: 1.55; color: var(--muted); }
.pb-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
  background: rgba(112,68,24,0.08); color: var(--muted);
  border: 1px solid var(--border);
}
.pb-tile-chev {
  flex-shrink: 0; margin-top: 8px; color: rgba(112,68,24,0.25);
  transition: all 0.15s;
}
a.pb-tile:hover .pb-tile-chev { color: var(--accent); transform: translateX(3px); }

/* ── Guide page ─────────────────────────────────────────────────────────── */
.pb-guide { padding: 56px 24px 80px; }
.pb-guide-inner { max-width: 760px; margin: 0 auto; }

.pb-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 32px; transition: all 0.15s;
}
.pb-back:hover { color: var(--accent); }
.pb-back svg { transition: transform 0.15s; }
.pb-back:hover svg { transform: translateX(-3px); }

.pb-guide-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px; margin-bottom: 16px;
}
.pb-guide-head h1 {
  font-family: 'Lora', serif; font-weight: 500;
  font-size: 44px; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--text); margin: 12px 0 16px;
}
.pb-guide-head h1 em { color: var(--accent); font-style: italic; }
.pb-guide-blurb { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 640px; }

.pb-author {
  display: flex; align-items: center; gap: 14px; margin-top: 24px;
}
.pb-author-photo {
  width: 48px; height: 48px; border-radius: 999px;
  object-fit: cover; border: 1px solid var(--border); flex-shrink: 0;
}
.pb-author-name { font-size: 14px; font-weight: 800; color: var(--text); }
.pb-author-bio  { font-size: 12px; color: var(--muted); line-height: 1.5; max-width: 460px; }

.pb-step {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.pb-step:last-child { border-bottom: 0; }
.pb-step-num {
  font-size: 11px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 12px;
}
.pb-step h2 {
  font-family: 'Lora', serif; font-weight: 500;
  font-size: 26px; line-height: 1.2; color: var(--text); margin-bottom: 22px;
}
.pb-step-body {
  font-size: 16px; line-height: 1.7; color: var(--muted);
}
.pb-step-body p { margin-bottom: 18px; }
.pb-step-body p:last-child { margin-bottom: 0; }
.pb-step-body strong { color: var(--text); font-weight: 700; }
.pb-step-body em { font-style: italic; }
.pb-step-body ul {
  margin: 0 0 18px 0; padding-left: 22px;
}
.pb-step-body ul li {
  margin-bottom: 8px; line-height: 1.65;
}
.pb-step-body ul li strong { color: var(--text); }

.pb-callout {
  background: var(--accent-dim); border: 1px solid rgba(192,90,40,0.18);
  border-radius: 12px; padding: 18px 22px; margin: 0 0 18px;
  font-style: italic; line-height: 1.65; color: var(--text);
}
.pb-callout strong { font-style: normal; }

.pb-quote {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px 24px; margin: 0 0 18px;
  line-height: 1.7; color: var(--text);
}

.pb-back-cta {
  margin-top: 40px; display: flex; justify-content: flex-end;
}
.pb-back-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px;
  border: 1px solid var(--border-med); color: var(--muted);
  font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  transition: all 0.15s;
}
.pb-back-cta a:hover { border-color: var(--accent); color: var(--accent); }
.pb-back-cta a svg { transition: transform 0.15s; }
.pb-back-cta a:hover svg { transform: translateX(3px); }

@media (max-width: 768px) {
  .pb-hero h1 { font-size: 34px; }
  .pb-hero .pb-sub { font-size: 15px; }
  .pb-tile { padding: 18px; gap: 16px; }
  .pb-num { font-size: 26px; width: 32px; }
  .pb-guide-head h1 { font-size: 30px; }
  .pb-step h2 { font-size: 21px; }
  .pb-step-body { font-size: 15px; }
}
