/* ============================================================
   HAYVO — Legal Pages (Terms, Privacy)
   /assets/css/hayvo-legal.css
   ============================================================ */

.hayvo-legal-page *,
.hayvo-legal-page *::before,
.hayvo-legal-page *::after { box-sizing: border-box; }

.hayvo-legal-page {
  padding: 60px 0 100px;
}

.hayvo-legal-wrap {
  max-width: var(--max);
  margin: 0 auto;
  
}

/* ── Header ── */
.hayvo-legal__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.hayvo-legal__title {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #000;
  margin: 0;
}

.hayvo-legal__date {
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(0,0,0,.4);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Body text ── */
.hayvo-legal__body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: #0b0b0b;
}

.hayvo-legal__body p {
  margin: 0 0 16px;
}

/* H2 — section titles */
.hayvo-legal__body h2 {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
  padding-top: 0;
}

.hayvo-legal__body h2:first-child { margin-top: 0; }

/* H3 — subsection titles */
.hayvo-legal__body h3 {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #000;
  margin: 28px 0 12px;
}

/* Lists */
.hayvo-legal__body ul {
  margin: 0 0 16px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hayvo-legal__body ul li {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #0b0b0b;
}

/* Links */
.hayvo-legal__body a {
  color: #0b0b0b;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .15s;
}
.hayvo-legal__body a:hover { opacity: .55; }

/* Contact box at bottom */
.hayvo-legal__contact-box {
  margin-top: 40px;
  padding: 24px;
  background: #f5f6fa;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hayvo-legal__contact-box p {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 15px;
  color: #0b0b0b;
  margin: 0;
  line-height: 1.6;
}

.hayvo-legal__contact-box strong {
  font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .hayvo-legal-page { padding: 32px 0 60px; }
  .hayvo-legal-wrap { padding: 0 16px; }

  .hayvo-legal__header {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 20px;
  }

  .hayvo-legal__title { font-size: 30px; }

  .hayvo-legal__body { font-size: 15px; }
  .hayvo-legal__body h2 { font-size: 19px; margin-top: 36px; }
  .hayvo-legal__body h3 { font-size: 16px; }
}