/* ── LEGAL PAGE ── */
.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* ── HERO ── */
.legal-hero {
  text-align: center;
  padding: 52px 20px 40px;
  border-bottom: 1px solid #eef0f4;
  margin-bottom: 40px;
}

.legal-hero-icon {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1;
}

.legal-hero h1 {
  font-size: 34px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.legal-hero p {
  font-size: 14px;
  color: #999;
}

/* ── INTRO BOX ── */
.legal-intro {
  background: #eef4ff;
  border-left: 4px solid #2a7de1;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  line-height: 1.7;
  color: #2d3a55;
  margin-bottom: 36px;
}

/* ── SECTIONS ── */
.legal-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #f0ede6;
}
.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.legal-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin: 16px 0 8px;
}

.legal-section p {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 10px;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  padding-left: 22px;
  margin: 8px 0 10px;
}

.legal-section ul li {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 6px;
}

.legal-section a {
  color: #2a7de1;
  text-decoration: none;
}
.legal-section a:hover { text-decoration: underline; }

/* ── SECTION NUMBER BADGE ── */
.sec-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #2a7de1;
  color: white;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── THIRD PARTY TABLE ── */
.third-party-table {
  border: 1px solid #eef0f4;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 12px;
  font-size: 14px;
}

.tp-row {
  display: grid;
  grid-template-columns: 160px 1fr 100px;
  gap: 0;
  border-bottom: 1px solid #f0ede6;
}
.tp-row:last-child { border-bottom: none; }

.tp-row > div {
  padding: 12px 14px;
  border-right: 1px solid #f0ede6;
  line-height: 1.5;
  color: #444;
}
.tp-row > div:last-child { border-right: none; text-align: center; }

.tp-header {
  background: #faf9f7;
  font-weight: 700;
  color: #555;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tp-row a { color: #2a7de1; text-decoration: none; }
.tp-row a:hover { text-decoration: underline; }

/* ── CONTACT BOX ── */
.contact-box {
  background: #faf9f7;
  border: 1px solid #eef0f4;
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-top: 12px;
}
.contact-box a { color: #2a7de1; text-decoration: none; }
.contact-box a:hover { text-decoration: underline; }

/* ── FOOTER LINKS ── */
.legal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid #eef0f4;
  font-size: 14px;
  color: #bbb;
}
.legal-footer a {
  color: #2a7de1;
  text-decoration: none;
}
.legal-footer a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .legal-hero h1 { font-size: 26px; }
  .legal-section h2 { font-size: 17px; }
  .tp-row { grid-template-columns: 1fr; }
  .tp-row > div { border-right: none; border-bottom: 1px solid #f0ede6; padding: 8px 14px; }
  .tp-header > div:not(:first-child) { display: none; }
}
