/* =========================================================================
   PEOnomics — Content / long-form page styles
   Used by pricing, vs-payroll, about, contact, methodology, insights
   ========================================================================= */

/* ── HERO (shared with rank-hero but content-page variant) ───────── */
.content-hero {
  padding: 96px 0 64px;
}
.content-hero-inner {
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 24px;
}
.content-hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 900px;
  font-variation-settings: 'opsz' 144;
}
.content-hero h1 .em { font-style: italic; color: var(--warm); }
.content-hero .lead {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 680px;
}

/* ── PROSE (article body) ──────────────────────────────────────── */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 64px;
  margin-bottom: 20px;
}
.prose h2 .em { font-style: italic; color: var(--warm); }
.prose h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--text);
}
.prose p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 18px;
}
.prose p strong { color: var(--text); }
.prose ul, .prose ol {
  margin: 18px 0 22px 24px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.65;
}
.prose li { margin-bottom: 8px; }
.prose li strong { color: var(--text); }
.prose blockquote {
  margin: 32px 0;
  padding-left: 24px;
  border-left: 2px solid var(--warm);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 23px;
  line-height: 1.35;
  color: var(--warm);
  letter-spacing: -0.01em;
}
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--border-3);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--d-fast) var(--ease-out);
}
.prose a:hover { text-decoration-color: var(--accent); }

.prose-eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ── INLINE PRICING-MODEL CARDS ───────────────────────────────── */
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
.model-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.model-card-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.model-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--text);
}
.model-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}
.model-card ul {
  list-style: none;
  margin-top: 14px;
}
.model-card ul li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}
.model-card ul li::before {
  content: '/';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--f-mono);
}
.model-card .insight {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15px;
  color: var(--warm);
  line-height: 1.4;
}

@media (max-width: 760px) {
  .model-grid { grid-template-columns: 1fr; }
}

/* ── COMPARISON TABLE (used on pricing and vs-payroll) ────────── */
.compare-grid {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 32px 0;
}
.compare-grid table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-grid th,
.compare-grid td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-grid th {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-elev-2);
  font-weight: 500;
  border-bottom: 1px solid var(--border-2);
}
.compare-grid tr:last-child td { border-bottom: 0; }
.compare-grid td:first-child {
  font-family: var(--f-body);
  font-weight: 500;
  color: var(--text);
}
.compare-grid td.win { color: var(--accent); }
.compare-grid td.neutral { color: var(--text-2); }

/* ── CALCULATOR ───────────────────────────────────────────────── */
.calc-block {
  background: var(--bg-elev);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 36px;
  margin: 32px 0;
}
.calc-block h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--text);
}
.calc-block .calc-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.calc-field label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.calc-field input,
.calc-field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-2);
  color: var(--text);
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-size: 15px;
}
.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--accent);
}
.calc-result {
  margin-top: 22px;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: none;
}
.calc-result.is-shown { display: block; }
.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.calc-result-row:last-child { border-bottom: 0; }
.calc-result-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc-result-value {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.calc-result-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 600px) {
  .calc-row { grid-template-columns: 1fr; }
}

/* ── ABOUT / TEAM / CONTACT BLOCKS ─────────────────────────────── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) {
  .split-grid { grid-template-columns: 1fr; gap: 36px; }
}

.contact-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
}
.contact-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--text);
}
.contact-card p { font-size: 15px; color: var(--text-2); line-height: 1.6; margin-bottom: 20px; }
.contact-card .contact-item {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.contact-card .contact-item:first-of-type { border-top: 0; }
.contact-card .contact-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card .contact-value { color: var(--text); }
.contact-card .contact-value a { color: var(--accent); }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq-list {
  margin-top: 24px;
}
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-q {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 10px;
}
.faq-a {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ── INSIGHTS INDEX (empty state, future blog) ─────────────────── */
.insights-empty {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 80px 40px;
  text-align: center;
}
.insights-empty h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}
.insights-empty h3 .em { font-style: italic; color: var(--warm); }
.insights-empty p {
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* ── DEFINITION LIST (about, methodology) ──────────────────────── */
.def-list {
  list-style: none;
  margin-top: 24px;
}
.def-list li {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
}
.def-list li:last-child { border-bottom: 1px solid var(--border); }
.def-list dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}
.def-list dd {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}
.def-list dd strong { color: var(--text); }
@media (max-width: 700px) {
  .def-list li { grid-template-columns: 1fr; gap: 6px; }
}
