/* =========================================================
   nflo Marketing — legal.css
   Styles for Privacy Policy and Terms of Service pages
   ========================================================= */

.legal {
  padding: 100px 0 80px;
  min-height: 100vh;
}

.legal__inner {
  max-width: 740px;
}

/* ----- Header ----- */
.legal__header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--violet);
  margin-bottom: 12px;
  opacity: 0.8;
}

.legal__header h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  margin-bottom: 10px;
}

.legal__meta {
  font-size: 13px;
  color: var(--text-faint);
}

/* ----- Body ----- */
.legal__body {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal__body > * + * {
  margin-top: 20px;
}

.legal__body > h2 + * {
  margin-top: 12px;
}

.legal__body > h3 + * {
  margin-top: 8px;
}

.legal__body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal__body p:first-child {
  font-size: 16px;
  color: oklch(0.85 0 0);
}

.legal__body a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: oklch(0.70 0.18 280 / 40%);
  transition: text-decoration-color 0.15s, color 0.15s;
}

.legal__body a:hover {
  color: oklch(0.80 0.18 280);
  text-decoration-color: oklch(0.70 0.18 280 / 80%);
}

.legal__body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 36px !important;
}

.legal__body > h2:first-of-type {
  margin-top: 24px !important;
  padding-top: 0;
  border-top: none;
}

.legal__body h3 {
  font-size: 14px;
  font-weight: 600;
  color: oklch(0.80 0 0);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 28px !important;
}

.legal__body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 4px;
}

.legal__body ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal__body ul li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  margin-top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet);
  opacity: 0.6;
}

.legal__body strong {
  color: var(--text);
  font-weight: 600;
}

/* ----- Table ----- */
.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal__table thead tr {
  border-bottom: 1px solid var(--border);
}

.legal__table th {
  text-align: left;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}

.legal__table td {
  padding: 12px 12px;
  color: var(--text-muted);
  line-height: 1.55;
  vertical-align: top;
  border-bottom: 1px solid var(--border-subtle);
}

.legal__table tr:last-child td {
  border-bottom: none;
}

.legal__table td:first-child {
  color: var(--text);
}

/* ----- Notice box ----- */
.legal__notice {
  margin-top: 40px !important;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal__notice p {
  font-size: 13px !important;
  color: var(--text-faint) !important;
  line-height: 1.6;
}

/* ----- Responsive ----- */
@media (max-width: 700px) {
  .legal__body {
    padding: 28px 24px;
  }

  .legal__body h2 {
    font-size: 16px;
  }
}
