/* ===== VEYRA MEDS — Shared Legal Shell CSS ===== */

.legal-main {
  width: 100%;
  background-color: var(--white, #FFFFFF);
  padding-top: 56px;
  padding-bottom: 96px;
}

.legal-container {
  max-width: 850px;
  margin-inline: auto;
  padding-inline: 32px;
}

.legal-hero-title {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--navy, #040D2E);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.legal-last-updated {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted, #5B6B8F);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border, #E5EAF2);
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal-section {
  padding: 24px;
  background-color: #FAFCFF;
  border: 1px dashed var(--border, #E5EAF2);
  border-radius: var(--radius-sm, 10px);
}

.legal-section h2 {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy, #040D2E);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legal-main {
    padding-top: 36px;
    padding-bottom: 64px;
  }
  .legal-container {
    padding-inline: 20px;
  }
  .legal-hero-title {
    font-size: 2rem;
  }
  .legal-last-updated {
    margin-bottom: 28px;
    padding-bottom: 18px;
  }
  .legal-content {
    gap: 24px;
  }
  .legal-section {
    padding: 20px;
  }
}

/* ===== PRODUCTION LEGAL CONTENT STYLES (populated pages) ===== */
.legal-section {
  background-color: #FFFFFF;
  border: 1px solid var(--border, #E5EAF2);
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 6px 24px rgba(4, 13, 46, 0.04);
}
.legal-section h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #099EF8, #6B0DD8) 1;
}
.legal-section h3 {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy, #040D2E);
  margin: 26px 0 10px;
}
.legal-section h3:first-of-type { margin-top: 6px; }
.legal-section p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.7;
  color: #526581;
  margin-bottom: 12px;
}
.legal-section ul {
  margin: 0 0 14px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-section li {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.65;
  color: #526581;
}
.legal-section li::marker { color: #099EF8; }
.legal-def strong { color: var(--navy, #040D2E); font-weight: 700; }
.legal-section a { color: #1D34A8; text-decoration: underline; text-underline-offset: 2px; }
.legal-section a:hover { color: #099EF8; }
.legal-contact-block {
  background: #F7F9FF;
  border: 1px solid var(--border, #E5EAF2);
  border-left: 3px solid #099EF8;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 6px 0 16px;
}
.legal-contact-name {
  font-family: var(--font-heading, 'Poppins', sans-serif);
  font-weight: 700;
  color: var(--navy, #040D2E);
  font-size: 16px;
  margin-bottom: 8px;
}
.legal-contact-line { margin-bottom: 6px; }
.legal-contact-block .legal-contact-line:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .legal-section { padding: 22px 18px; border-radius: 13px; }
  .legal-section h2 { font-size: 19px; padding-bottom: 12px; margin-bottom: 14px; }
  .legal-section h3 { font-size: 15.5px; margin: 20px 0 8px; }
  .legal-section p { font-size: 15px; line-height: 1.68; }
  .legal-section li { font-size: 15px; }
  .legal-section ul { padding-left: 18px; gap: 7px; }
  .legal-contact-block { padding: 15px 16px; }
}

/* Terms intro block (content before numbered sections) */
.legal-intro {
  background: #FAFCFF;
  border: 1px solid var(--border, #E5EAF2);
  border-radius: 16px;
  padding: 28px 32px;
}
.legal-intro p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.7;
  color: #526581;
  margin-bottom: 12px;
}
.legal-intro p:last-child { margin-bottom: 0; }
.legal-section p strong { color: var(--navy, #040D2E); font-weight: 700; }
@media (max-width: 768px) {
  .legal-intro { padding: 20px 18px; border-radius: 13px; }
  .legal-intro p { font-size: 15px; line-height: 1.68; }
}
