/* OBOL & ASH — whitepaper-specific styles
   Dark mode. Inherits palette from styles.css. */

.wp {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 30px 70px;
  position: relative;
  z-index: 1;
}

.wp-hero {
  text-align: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 60px;
  margin-bottom: 60px;
}
.wp-hero h1 {
  font-size: clamp(36px, 7vw, 60px);
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  font-weight: normal;
  color: var(--parchment);
}
.wp-tagline {
  font-size: 18px;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}
.wp-tagline .hero-em {
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
}

.wp-section {
  margin: 0 0 60px;
}
.wp-section h2 {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: 22px;
  font-weight: normal;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--parchment);
}
.wp-section h2 .num {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: bold;
}
.wp-section h3 {
  margin: 32px 0 14px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.wp-section p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
}
.wp-section p:last-child { margin-bottom: 0; }
.wp-section em { color: var(--gold); font-style: italic; }
.wp-section strong { color: var(--text); font-weight: 600; }
.wp-section code {
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 13px;
  background: rgba(212, 168, 73, 0.08);
  color: var(--gold);
  padding: 2px 6px;
  border-radius: 2px;
  border: 1px solid var(--gold-soft);
}

/* ============ Spec list ============ */
.spec-list {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 10px 24px;
  padding: 22px 0;
  margin: 0 0 24px;
  border-top: 1px dotted var(--line);
  border-bottom: 1px dotted var(--line);
}
.spec-list dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  align-self: center;
}
.spec-list dd {
  margin: 0;
  font-weight: 500;
  color: var(--text);
}

/* ============ Tables ============ */
.tier-table,
.break-table,
.payout-table,
.event-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 14px 0 28px;
}
.tier-table th, .tier-table td,
.break-table th, .break-table td,
.payout-table th, .payout-table td,
.event-table th, .event-table td {
  padding: 10px 14px;
  border-bottom: 1px dotted var(--line);
  text-align: left;
  color: var(--text-dim);
}
.tier-table th, .break-table th, .payout-table th, .event-table th {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--line-strong);
}
.tier-table td:nth-child(2),
.tier-table td:nth-child(4) { color: var(--text); font-weight: 500; }
.tier-table tr.tier-mythic-row td {
  background: rgba(212, 168, 73, 0.08);
  color: var(--gold);
  font-weight: 600;
}
.tier-table tr.tier-mythic-row td em { color: var(--gold); }
.break-table tr.break-bad td { color: var(--ember); font-weight: 600; }

/* ============ Slot list ============ */
.slot-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.slot-list li {
  padding: 10px 0 10px 16px;
  border-left: 2px solid var(--gold-soft);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
}
.slot-list li strong { color: var(--text); }
.slot-list li em { color: var(--gold); }

/* ============ Outcome grid ============ */
.outcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 22px 0;
}
.outcome {
  border: 1px solid var(--line-strong);
  padding: 22px 24px;
  background: var(--bg-elev);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.outcome:hover {
  transform: translateY(-2px);
  border-color: var(--gold-soft);
}
.outcome h4 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.outcome:first-child h4 { color: var(--gold); }
.outcome:last-child h4 { color: var(--ember); }
.outcome p { font-size: 14px; line-height: 1.6; color: var(--text-dim); }

/* ============ Lifecycle list ============ */
.lifecycle {
  margin: 18px 0 0;
  padding-left: 24px;
}
.lifecycle li {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  padding-left: 6px;
  color: var(--text-dim);
}
.lifecycle li strong { color: var(--gold); }

.footnote {
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  border-left: 2px solid var(--gold-soft);
  padding: 10px 0 10px 14px;
  margin: 8px 0 22px;
  background: rgba(212, 168, 73, 0.03);
}

.closing {
  text-align: center;
  padding-top: 30px;
}
.closing h2 { justify-content: center; }
.closing p { max-width: 540px; margin: 0 auto 16px; }
.closing .hero-em { color: var(--gold); }
.closing .hero-cta { margin-top: 32px; }

/* ============ Mobile responsive ============ */
@media (max-width: 720px) {
  .wp { padding: 50px 22px; }
  .wp-section { margin-bottom: 50px; }
  .wp-section h2 { font-size: 18px; gap: 12px; }
  .wp-section h2 .num { font-size: 12px; }
  .wp-section p { font-size: 15px; }
  .spec-list { grid-template-columns: 1fr; gap: 4px 0; padding: 18px 0; }
  .spec-list dt { margin-top: 14px; }
  .spec-list dt:first-child { margin-top: 0; }
  .slot-list { grid-template-columns: 1fr; }
  .outcome-grid { grid-template-columns: 1fr; gap: 14px; }
  .outcome { padding: 18px 18px; }

  /* Tables go horizontal-scrollable on narrow */
  .tier-table, .break-table, .payout-table, .event-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 13px;
  }
  .tier-table th, .tier-table td,
  .break-table th, .break-table td,
  .payout-table th, .payout-table td,
  .event-table th, .event-table td { padding: 8px 12px; }

  .lifecycle { padding-left: 18px; }
  .lifecycle li { font-size: 14px; }
}
