/* Inner I Revenue Intelligence — page-specific styles.
   Reuses .pf-* tokens from public/css/pf.css; this file only adds the
   .zi-* chrome needed for tiers, tabs, badges, and the multi-step intake. */

:root {
  --zi-accent: #d4a04d;
  --zi-accent-soft: #f4dba0;
  --zi-good: #6fbf7a;
  --zi-warn: #d68a4f;
  --zi-bad:  #ce5656;
  --zi-ink:  #1a1a1a;
  --zi-paper:#fbf7ee;
}

.zi-engine-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--zi-accent);
  color: var(--zi-accent);
  background: rgba(212,160,77,0.06);
}
.zi-engine-badge.openai { color: var(--zi-good); border-color: var(--zi-good); }

.zi-tier {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--zi-ink);
  background: var(--zi-paper);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--zi-accent);
}

.zi-status-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.zi-status-pill.generating { background: #ffe9b8; color: #6b4a06; }
.zi-status-pill.ready      { background: #d4f1d9; color: #205a2c; }
.zi-status-pill.reviewing  { background: #fff3c4; color: #6b4a06; }
.zi-status-pill.failed     { background: #f9d4d4; color: #6f1a1a; }

.zi-tab-bar { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--zi-accent); margin-bottom: 24px; }
.zi-tab {
  padding: 10px 16px;
  border: none;
  background: transparent;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--zi-ink);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  letter-spacing: .04em;
}
.zi-tab.zi-tab-active { border-bottom-color: var(--zi-accent); font-weight: 600; }
.zi-tab-content { display: none; }
.zi-tab-content.active { display: block; }

.zi-stepper { display: flex; justify-content: space-between; gap: 8px; margin: 24px 0; }
.zi-step { flex: 1; padding: 10px 0; background: #ece5d3; color: #5a5a5a; font-weight: 600; text-align: center; border-radius: 4px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.zi-step.active { background: var(--zi-accent); color: white; }
.zi-step.done { background: var(--zi-good); color: white; }

.zi-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 32px 0; }
.zi-card {
  background: white; border: 1px solid var(--zi-accent); border-radius: 8px;
  padding: 22px; display: flex; flex-direction: column; gap: 8px;
}
.zi-card.featured { border-color: var(--zi-ink); box-shadow: 0 0 0 2px var(--zi-accent); }
.zi-card h3 { margin: 0; font-size: 22px; }
.zi-card .price { font-size: 36px; font-weight: 600; }
.zi-card ul { list-style: none; padding-left: 0; margin: 8px 0 14px; font-size: 14px; }
.zi-card ul li { padding: 4px 0; border-top: 1px dashed #e5dcb8; }
.zi-card ul li:first-child { border-top: none; }

.zi-report-section { padding: 16px 0; border-bottom: 1px dashed #e5dcb8; }
.zi-report-section:last-child { border-bottom: none; }
.zi-report-section h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; margin: 0 0 8px; }

.zi-step-body { display: none; }
.zi-step-body.active { display: block; }

.zi-intake-page { max-width: 720px; margin: 0 auto; }

.zi-cta {
  background: var(--zi-accent); color: white; border: none; padding: 14px 30px;
  border-radius: 4px; font-size: 15px; letter-spacing: .04em; cursor: pointer;
}
.zi-cta:disabled { opacity: .5; cursor: not-allowed; }

.zi-feedback { background: #f4eede; padding: 18px; border-radius: 6px; margin-top: 24px; }
.zi-stars button { background: transparent; border: none; font-size: 22px; cursor: pointer; }
.zi-stars button.on { color: var(--zi-accent); }

.zi-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.zi-table th, .zi-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid #ece5d3; }
.zi-table th { background: #f4eede; }
