/* =========================================================
   DVS TECH — LEGAL PAGES
   Privacy / Terms / Accessibility
========================================================= */

/* =========================
   PAGE BASE
========================= */

.legal-page {
  background:
    radial-gradient(circle at 18% 12%, rgba(92, 244, 236, 0.045), transparent 32%),
    radial-gradient(circle at 82% 26%, rgba(6, 158, 150, 0.04), transparent 34%),
    linear-gradient(180deg, rgba(1, 4, 5, 1), rgba(3, 8, 10, 1));
}

.legal-section {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  overflow: hidden;
}

/* =========================
   HERO
========================= */

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.4rem, 8vw, 6.4rem) 0 clamp(2.8rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(92, 244, 236, 0.12);
  background:
    radial-gradient(circle at 18% 8%, rgba(92, 244, 236, 0.04), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(92, 244, 236, 0.026), transparent 32%),
    linear-gradient(180deg, rgba(2, 6, 7, 0.99), rgba(1, 3, 4, 0.99));
}

.legal-hero-inner {
  max-width: 980px;
}

.legal-hero h1 {
  max-width: 980px;
}

.legal-hero p:not(.eyebrow) {
  max-width: 920px;
  margin-top: 1rem;
  color: rgba(220, 232, 234, 0.76);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.7;
}

.legal-updated {
  display: inline-block;
  margin-top: 1rem;
  color: var(--cyan, #5cf4ec);
  font-family: var(--font-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================
   FULL LEGAL LAYOUT
========================= */

.legal-full-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.legal-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(92, 244, 236, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.032), transparent 38%),
    linear-gradient(180deg, rgba(15, 21, 26, 0.9), rgba(3, 6, 8, 0.96));
  box-shadow:
    0 26px 82px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(92, 244, 236, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.legal-policy-full {
  width: 100%;
  padding: clamp(28px, 4vw, 52px);
}

.legal-policy-full .legal-copy {
  max-width: 920px;
  margin: 0 auto;
}

/* =========================
   POLICY CONTENT
========================= */

.legal-policy-full .legal-copy h2 {
  scroll-margin-top: 120px;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}

.legal-policy-full .legal-copy p {
  max-width: 880px;
  margin: 0 0 18px;
  color: rgba(220, 232, 234, 0.76);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.75;
}

.legal-policy-full .legal-copy p + h2 {
  margin-top: 34px;
}

.legal-policy-full .legal-copy a {
  color: var(--cyan, #5cf4ec);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(92, 244, 236, 0.42);
}

.legal-policy-full .legal-copy a:hover,
.legal-policy-full .legal-copy a:focus-visible {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.78);
}

/* =========================
   QUESTIONS CARD
========================= */

.legal-questions-bottom {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
}

.legal-questions-bottom h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
}

.legal-questions-bottom p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(220, 232, 234, 0.74);
  line-height: 1.7;
}

.legal-question-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.legal-question-actions .btn {
  min-height: 44px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 720px) {
  .legal-section {
    padding: 2.5rem 0;
  }

  .legal-policy-full {
    padding: 24px 18px;
  }

  .legal-policy-full .legal-copy,
  .legal-questions-bottom {
    max-width: 100%;
  }

  .legal-policy-full .legal-copy h2 {
    font-size: 1.2rem;
    letter-spacing: -0.03em;
  }

  .legal-policy-full .legal-copy p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .legal-policy-full .legal-copy p + h2 {
    margin-top: 28px;
  }

  .legal-question-actions {
    flex-direction: column;
  }

  .legal-question-actions .btn {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .legal-card {
    border-radius: 12px;
  }
}