/* ── Addendum-specific styles ── */

.add-hero {
  background: var(--green-deep);
  color: var(--white);
  padding: 7rem 0 5rem;
  position: relative;
}
.add-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(82,183,136,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.add-hero .container { position: relative; }
.add-hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.add-hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 700px;
  margin-bottom: 1rem;
  line-height: 1.7;
}
.add-meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

/* ── Prose sections ── */
.add-prose {
  max-width: 760px;
}
.add-prose h2 { margin-bottom: 1.25rem; }
.add-prose p { font-size: 1.05rem; color: var(--text); line-height: 1.8; }
.section-dark .add-prose p { color: rgba(255,255,255,0.8); }
.section-dark .add-prose h2 { color: var(--white); }

/* ── Two column layout ── */
.add-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.add-two-col > div > p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.add-two-col > div > p strong { color: var(--green-light); }
.section-dark .add-two-col h2 { color: var(--white); }

/* ── Callout box ── */
.add-callout {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.add-callout h4 {
  color: var(--green-light);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.add-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.add-compare-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem !important;
}
.add-compare-label.bad { color: #e07060; }
.add-compare-label.good { color: var(--green-light); }
.add-compare ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.add-compare ul li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  padding-left: 1rem;
  position: relative;
  line-height: 1.45;
}
.add-compare div:first-child ul li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #e07060;
  font-size: 0.7rem;
}
.add-compare div:last-child ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-size: 0.7rem;
}

/* ── Insight box ── */
.add-insight {
  background: rgba(82,183,136,0.12);
  border: 1px solid rgba(82,183,136,0.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.add-insight-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-light);
  margin-bottom: 0.6rem;
}
.add-insight p {
  font-size: 0.875rem !important;
  color: rgba(255,255,255,0.85) !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}
.add-insight em { color: var(--green-light); font-style: italic; }

/* ── Mesh grid ── */
.mesh-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 0.5rem;
}
.mesh-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid #e0ebe2;
  transition: box-shadow 0.2s, transform 0.2s;
}
.mesh-card:hover {
  box-shadow: 0 8px 32px rgba(45,106,79,0.1);
  transform: translateY(-2px);
}
.mesh-icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.mesh-card h3 { color: var(--green-deep); margin-bottom: 0.75rem; font-size: 1.1rem; }
.mesh-card p { font-size: 0.9rem; color: var(--text-light); }

/* ── Emerge grid ── */
.emerge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.emerge-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.emerge-item h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.emerge-item p { font-size: 0.875rem; color: rgba(255,255,255,0.72); margin: 0; }

/* ── Tension table ── */
.tension-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid #d8e8dc;
}
.tension-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.tension-table th {
  background: var(--green-pale);
  color: var(--green-deep);
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tension-table td {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid #e8f0ea;
  color: var(--text);
  vertical-align: top;
}
.tension-table tr:hover td { background: #f5fbf6; }
.rel {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  white-space: nowrap;
}
.rel-extend  { background: #dbeafe; color: #1d4ed8; }
.rel-tension { background: #fef3c7; color: #92400e; }
.rel-strengthen { background: #d1fae5; color: #065f46; }

.add-note {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  max-width: 680px;
  padding-left: 1.25rem;
  border-left: 3px solid var(--green-light);
}

/* ── Back link ── */
.add-back {
  margin-top: 3rem;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 800px) {
  .add-two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .add-compare {
    grid-template-columns: 1fr;
  }
}
