/* ========== Terms Page ========== */

.terms-page-wrap {
  background: #f4f6f0;
  padding: 40px 20px 64px;
  min-height: 60vh;
}

.terms-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.terms-main {
  flex: 1;
  min-width: 0;
}

/* ── Card ── */
.terms-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  overflow: hidden;
}

.terms-card-header {
  background: #2d3d1a;
  color: #fff;
  padding: 14px 24px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.terms-card-body {
  padding: 28px 32px 32px;
  color: #1c2b0e;
  line-height: 1.7;
}

/* ── Meta ── */
.terms-updated {
  font-size: 0.85rem;
  color: #7a8c5a;
  margin: 0 0 24px;
}

/* ── Sections ── */
.terms-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #f0f4e8;
}

.terms-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.terms-section h2 {
  font-size: 1rem;
  font-weight: 700;
  color: #2d3d1a;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #eef4e4;
}

.terms-section h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #556B2F;
  margin: 14px 0 6px;
}

.terms-section p {
  font-size: 0.92rem;
  color: #3a4a2a;
  margin: 0 0 8px;
}

.terms-section ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.terms-section ul li {
  font-size: 0.92rem;
  color: #3a4a2a;
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.terms-section ul li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: #556B2F;
  font-weight: 700;
}

.terms-section a {
  color: #556B2F;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.terms-section a:hover { color: #3f5222; }

/* ── Contact footer ── */
.terms-contact {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #f0f4e8;
  font-size: 0.9rem;
  color: #5a6e3a;
  text-align: center;
}

.terms-contact a {
  color: #556B2F;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.terms-contact a:hover { color: #3f5222; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .terms-container { flex-direction: column; }
}

@media (max-width: 768px) {
  .terms-page-wrap { padding: 28px 14px 48px; }
  .terms-card-body { padding: 20px 20px 24px; }
}

@media (max-width: 480px) {
  .terms-page-wrap { padding: 16px 10px 40px; }
  .terms-card-body { padding: 16px 16px 20px; }
  .terms-card-header { font-size: 0.75rem; }
}
