/* =============================================================
   LEGAL PAGES STYLES — Privacy Policy & Cookies Policy
   ============================================================= */
.legal-body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 8, 10, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.legal-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}

.legal-header__logo {
  height: 24px;
  width: auto;
}

.legal-header__name {
  font-size: var(--t-label);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-header__right {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.legal-header__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.55em 1.1em;
  border-radius: 4px;
  border: 1px solid var(--rule);
  background: rgba(244, 242, 238, 0.04);
  transition: all 0.3s var(--ease);
}

.legal-header__back:hover {
  border-color: var(--accent);
  background: rgba(251, 1, 1, 0.12);
  color: var(--accent-hot);
  transform: translateX(-3px);
}

.legal-header__back svg {
  transition: transform 0.3s var(--ease);
}

.legal-header__back:hover svg {
  transform: translateX(-2px);
}

/* Main Container */
.legal-main {
  flex: 1;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(3rem, 6vh, 5.5rem)) var(--gutter) clamp(4rem, 8vh, 6rem);
}

.legal-hero {
  margin-bottom: clamp(2.5rem, 5vh, 4rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--t-label);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.legal-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.legal-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.legal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Sections */
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.legal-section {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 8px;
  background: rgba(13, 13, 17, 0.7);
  border: 1px solid rgba(244, 242, 238, 0.08);
  backdrop-filter: blur(8px);
}

.legal-section h2 {
  font-family: var(--sans);
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.legal-section h2 .sec-num {
  color: var(--accent);
  font-size: 0.9em;
  font-feature-settings: "tnum";
}

.legal-section p {
  color: rgba(244, 242, 238, 0.78);
  font-size: clamp(0.96rem, 1.05vw, 1.06rem);
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-section li {
  color: rgba(244, 242, 238, 0.78);
  font-size: clamp(0.96rem, 1.05vw, 1.06rem);
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.legal-section li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.legal-highlight {
  margin: 1.2rem 0;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: rgba(251, 1, 1, 0.05);
  border-radius: 0 6px 6px 0;
}

.legal-highlight p {
  color: var(--white);
  font-weight: 500;
  margin: 0;
}

.legal-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s var(--ease);
}

.legal-link:hover {
  color: var(--accent-hot);
  text-decoration: underline;
}

/* Contact box inside legal */
.legal-contact-box {
  margin-top: 1.2rem;
  padding: 1.4rem;
  border-radius: 6px;
  background: rgba(244, 242, 238, 0.03);
  border: 1px solid rgba(244, 242, 238, 0.1);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.legal-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.legal-contact-item .label {
  color: var(--dim);
}

.legal-contact-item a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.legal-contact-item a:hover {
  color: var(--accent);
}

/* Cross-links */
.legal-crosslink {
  margin-top: 3rem;
  padding: 1.8rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  background: rgba(244, 242, 238, 0.02);
}

.legal-crosslink p {
  color: var(--dim);
  margin: 0;
  font-size: 0.95rem;
}

.legal-crosslink a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.legal-crosslink a:hover {
  color: var(--accent-hot);
}

/* Legal Footer */
.legal-footer {
  padding: 2.5rem var(--gutter);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}

.legal-footer a {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.legal-footer a:hover {
  color: var(--white);
}

@media (max-width: 680px) {
  .legal-header__back span {
    display: none;
  }
  .legal-header__back {
    padding: 0.55em;
  }
  .legal-crosslink {
    flex-direction: column;
    align-items: flex-start;
  }
  .legal-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
