/* PCWB Walkthrough v2 — shared styles */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1f2c; background: #f6f7f9;
  -webkit-font-smoothing: antialiased;
}
header {
  background: #0f1726; color: #f6f7f9; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 20;
}
header .logo { font-weight: 700; font-size: 17px; letter-spacing: 0.4px; }
header .logo .v { color: #14b8a6; }
header nav { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: flex-end; }
header nav a { color: #95a3b9; text-decoration: none; font-size: 12.5px; white-space: nowrap; }
header nav a:hover { color: #f6f7f9; }
header nav a.active { color: #14b8a6; font-weight: 600; }
.crumbs {
  background: #fff; border-bottom: 1px solid #e4e7ee;
  padding: 10px 28px; font-size: 12px; color: #67718b;
}
.crumbs a { color: #14b8a6; text-decoration: none; }
.layout { max-width: 1180px; margin: 24px auto; padding: 0 28px 90px; }
h1 { font-size: 25px; margin: 0 0 6px; color: #0f1726; letter-spacing: -0.3px; }
.lead { font-size: 14.5px; color: #67718b; margin: 0 0 24px; line-height: 1.6; max-width: 900px; }

/* stage / step cards */
.step-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; margin-bottom: 32px; }
.step-card {
  background: #fff; border: 1px solid #e4e7ee; border-radius: 10px; padding: 18px;
  text-decoration: none; color: inherit; display: block;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.step-card:hover { border-color: #14b8a6; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(20,184,166,0.12); }
/* .static = descriptive (non-clickable) card — no link affordance */
.step-card.static { cursor: default; }
.step-card.static:hover { border-color: #e4e7ee; transform: none; box-shadow: none; }
.step-card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 15px; background: #14b8a6; color: #fff;
  font-size: 13px; font-weight: 700; margin-right: 10px; vertical-align: middle;
}
.step-card h3 { display: inline; font-size: 15px; margin: 0; color: #0f1726; vertical-align: middle; }
.step-card p { font-size: 13px; color: #67718b; margin: 10px 0 0; line-height: 1.55; }
.step-card .chips { margin-top: 10px; }

/* sections */
.step-section { background: #fff; border: 1px solid #e4e7ee; border-radius: 10px; padding: 26px; margin-bottom: 18px; }
.step-section h2 { font-size: 19px; margin: 0 0 10px; color: #0f1726; }
.step-section h3 { font-size: 15px; color: #0f1726; margin: 20px 0 8px; }
.step-section p { font-size: 14px; line-height: 1.6; color: #2f3849; }
.step-section ol, .step-section ul { font-size: 14px; line-height: 1.75; color: #2f3849; padding-left: 22px; }
.step-section li code, .step-section p code, .step-section td code, .step-section h3 code {
  background: #f1f3f6; border: 1px solid #e4e7ee; border-radius: 3px; padding: 1px 6px;
  font-size: 12px; font-family: ui-monospace, "SF Mono", Menlo, monospace; color: #b5177e;
}
.section-lead { font-size: 14.5px; color: #4a5568; line-height: 1.6; margin: 0 0 6px; }

/* tables */
.field-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.field-table th, .field-table td { text-align: left; padding: 9px 11px; border-bottom: 1px solid #eef0f4; vertical-align: top; }
.field-table th { color: #67718b; font-weight: 600; background: #fafbfc; }
.field-table .req::after { content: ' *'; color: #e11d48; }
.table-scroll { overflow-x: auto; }

/* callouts */
.callout { background: #ecfdf5; border-left: 3px solid #14b8a6; padding: 12px 16px; border-radius: 4px; font-size: 13px; margin: 14px 0; line-height: 1.55; }
.callout.warn { background: #fff7ed; border-color: #f59e0b; }
.callout.info { background: #eff6ff; border-color: #3b82f6; }
.callout.new  { background: #f5f3ff; border-color: #8b5cf6; }
.callout strong { color: #0f1726; }

/* screenshots */
.screenshot { margin: 16px 0; border: 1px solid #e4e7ee; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(15,23,38,0.05); }
.screenshot img { width: 100%; display: block; }
.screenshot figcaption { padding: 9px 13px; font-size: 12px; color: #67718b; background: #fafbfc; border-top: 1px solid #eef0f4; line-height: 1.5; }
.screenshot figcaption b { color: #0f1726; }

/* flow map */
.flow-map { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin: 18px 0 6px; }
.flow-step { flex: 1 1 150px; background: #fff; border: 1px solid #e4e7ee; border-radius: 8px; padding: 12px 14px; position: relative; }
.flow-step .n { font-size: 11px; font-weight: 700; color: #14b8a6; letter-spacing: 0.5px; }
.flow-step .t { font-size: 13.5px; font-weight: 600; color: #0f1726; margin-top: 3px; }
.flow-step .d { font-size: 11.5px; color: #7a8499; margin-top: 3px; line-height: 1.4; }

/* nav */
.footer-nav { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 16px; border-top: 1px solid #e4e7ee; }
.footer-nav a { display: inline-block; padding: 9px 17px; background: #14b8a6; color: #fff; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 500; }
.footer-nav a.prev { background: #fff; color: #2f3849; border: 1px solid #d4d8e1; }
.footer-nav a.disabled { visibility: hidden; }

/* misc */
.kbd { display: inline-block; padding: 1px 6px; border: 1px solid #d4d8e1; border-bottom-width: 2px; border-radius: 3px; font-size: 11px; font-family: ui-monospace, monospace; background: #fafbfc; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 10px; font-size: 11px; font-weight: 600; }
.tag-draft { background: #fef3c7; color: #92400e; }
.tag-saved { background: #dcfce7; color: #166534; }
.tag-info { background: #e0e7ff; color: #3730a3; }
.tag-live { background: #dcfce7; color: #15803d; }
.tag-tour { background: #ede9fe; color: #6d28d9; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; background: #f1f3f6; color: #475569; margin: 2px 4px 2px 0; }
