/* ============================================
   OneStep PDX — Doc 1 & 2 Shared Styles
   ============================================ */

.os-h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.os-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.os-card-grid.four-col { grid-template-columns: repeat(4, 1fr); }

.os-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}
.os-card.compact { padding: 1rem 1.125rem; }

.os-card-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.os-card p {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.65;
  margin: 0;
}

.os-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 1rem 0;
}

.os-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--stone);
  line-height: 1.6;
}
.os-bullet::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ---- PATH TABLE ---- */
.path-table {
  margin: 1.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.path-table-row {
  display: grid;
  grid-template-columns: 60px 1fr 2fr;
  border-bottom: 1px solid var(--border);
}
.path-table-row:last-child { border-bottom: none; }

.path-table-header {
  background: var(--charcoal);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,251,248,0.6);
  padding: 0.625rem 1rem;
}
.path-table-header > div { padding: 0; }

.path-table-row > div {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.55;
}
.path-table-row.alt { background: var(--cream); }

.stage-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold) !important;
}

.stage-name {
  font-weight: 500;
  color: var(--charcoal) !important;
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold) !important;
  font-style: italic;
}

/* ---- KEY DISTINCTION ---- */
.key-distinction {
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}
.kd-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.key-distinction p {
  font-size: 0.9rem;
  color: rgba(253,251,248,0.72);
  line-height: 1.7;
  margin: 0;
}

/* ---- ASSESSMENT GRID ---- */
.assessment-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.assessment-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.125rem 1.25rem;
}

.a-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: rgba(196,151,58,0.25);
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
}

.a-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.assessment-card p {
  font-size: 0.875rem;
  color: var(--stone);
  line-height: 1.6;
  margin: 0;
}

/* ---- KPI GRID ---- */
.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.kpi-domain {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.kpi-domain.highlight { border-color: var(--gold); }

.kpi-label {
  background: var(--charcoal);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.625rem 1rem;
}
.kpi-domain.highlight .kpi-label { background: var(--gold); color: var(--charcoal); }

.kpi-items { padding: 0.75rem 1rem; }

.kpi-item {
  font-size: 0.875rem;
  color: var(--stone);
  line-height: 1.6;
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--border);
}
.kpi-item:last-child { border-bottom: none; }
.kpi-item::before { content: '— '; color: var(--gold); }

/* ---- XCHANGE FLOW ---- */
.xchange-flow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.xf-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9375rem;
  color: var(--stone);
  line-height: 1.5;
  padding: 0.625rem 1rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.xf-step.highlight {
  background: var(--gold-light);
  border-color: var(--border-gold);
  color: var(--charcoal);
  font-weight: 500;
}

.xf-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-light);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- STAGE HEADERS (Doc 2) ---- */
.stage-hero {
  background: var(--charcoal);
  padding: 3rem 0 2.5rem;
  border-top: 3px solid var(--gold);
}

.stage-hero .container-doc { position: relative; }

.stage-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.stage-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(253,251,248,0.40);
  margin-bottom: 0.75rem;
}

.stage-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--warm-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1rem;
}

/* ---- XCHANGE BOX (Doc 2) ---- */
.xchange-question-box {
  background: var(--gold-light);
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.xqb-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.xchange-question-box p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--charcoal);
  margin: 0 0 1rem;
  line-height: 1.55;
}
.xchange-question-box p:last-child { margin-bottom: 0; }

/* ---- CHECKLIST (Doc 2) ---- */
.checklist-block {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.checklist-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.875rem;
  letter-spacing: 0.01em;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.6;
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border);
}
.check-item:last-child { border-bottom: none; }

.check-box {
  width: 1rem;
  height: 1rem;
  border: 1.5px solid var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ---- BOLD BODY ---- */
.bold-body {
  font-size: 1rem;
  color: var(--stone);
  line-height: 1.75;
  margin-bottom: 0.875rem;
}
.bold-body strong { color: var(--charcoal); font-weight: 500; }

/* ---- LIFE FORMATION MODULES ---- */
.module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.module-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.module-header {
  background: var(--charcoal);
  padding: 0.75rem 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--warm-white);
}

.module-body {
  padding: 1rem;
  background: var(--warm-white);
}

.module-body p {
  font-size: 0.875rem;
  color: var(--stone);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.module-questions {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.module-q {
  font-size: 0.8125rem;
  color: var(--charcoal);
  font-style: italic;
  padding-left: 0.75rem;
  border-left: 2px solid var(--gold);
  line-height: 1.5;
}

/* ---- TAG TABLE ---- */
.tag-table {
  margin: 1.25rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.tag-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-bottom: 1px solid var(--border);
}
.tag-row:last-child { border-bottom: none; }
.tag-row.header { background: var(--charcoal); }
.tag-row.header > div {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,251,248,0.6);
  padding: 0.625rem 1rem;
}
.tag-row > div { padding: 0.625rem 1rem; font-size: 0.875rem; color: var(--stone); }
.tag-row.alt { background: var(--cream); }
.tag-code { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold) !important; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .os-card-grid { grid-template-columns: 1fr; }
  .os-card-grid.four-col { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; }
  .path-table-row { grid-template-columns: 50px 1fr; }
  .path-table-row > div:last-child { display: none; }
  .path-table-header > div:last-child { display: none; }
}
