/* =================== LEGAL PAGE STYLES =================== */
.legal-page {
  background: #fafafa;
  min-height: 100vh;
}

.legal-main {
  padding: 80px 28px 100px;
}

.legal-container {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 18px;
  padding: 60px 56px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.04);
}

.legal-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: #f4f4f5;
  border-radius: 100px;
  font-size: 10.5px;
  color: #525252;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 18px;
}

.legal-container h1 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #0a0a0a;
  margin-bottom: 8px;
  line-height: 1.1;
}

.legal-date {
  font-size: 14px;
  color: #94a3b8;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.legal-container section {
  margin-bottom: 32px;
}

.legal-container h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  margin-bottom: 12px;
  margin-top: 8px;
}

.legal-container h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0a0a0a;
  margin-top: 18px;
  margin-bottom: 8px;
}

.legal-container p {
  font-size: 14.5px;
  color: #404040;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-container ul {
  list-style: none;
  margin: 12px 0 16px;
  padding-left: 0;
}

.legal-container li {
  font-size: 14.5px;
  color: #404040;
  line-height: 1.6;
  padding: 4px 0 4px 22px;
  position: relative;
}

.legal-container li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #94a3b8;
  font-weight: 600;
}

.legal-container a {
  color: #6366f1;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.legal-container a:hover {
  color: #4f46e5;
}

.legal-container strong {
  color: #0a0a0a;
  font-weight: 600;
}

.legal-highlight {
  background: #fef9c3;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 24px 0;
}

.legal-highlight h2 {
  color: #92400e;
  margin-bottom: 14px;
}

/* =================== LEGAL CARD =================== */
.legal-card {
  background: #fafafa;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 12px 0;
}

.legal-card p {
  margin-bottom: 8px;
}

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

/* =================== CONTACT GRID =================== */
.legal-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.legal-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fafafa;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  text-decoration: none !important;
  transition: all 0.2s;
}

.legal-contact-item:hover {
  background: #fff;
  border-color: #6366f1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(99, 102, 241, 0.15);
}

.lc-icon {
  width: 40px;
  height: 40px;
  background: #ede9fe;
  color: #6366f1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lc-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 2px;
}

.lc-value {
  font-size: 14.5px;
  font-weight: 600;
  color: #0a0a0a;
}

/* =================== VAT NUMBER =================== */
.legal-vat {
  display: inline-block;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 16px;
  font-weight: 700;
  background: #f1f5f9;
  color: #0a0a0a;
  padding: 8px 16px;
  border-radius: 8px;
  letter-spacing: 0.05em;
  margin-top: 8px !important;
}

/* =================== LEGAL NOTE =================== */
.legal-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 14px;
  color: #92400e;
  font-size: 13.5px;
  line-height: 1.55;
}

.legal-note svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #d97706;
}

/* =================== RELATED LINKS =================== */
.legal-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #f1f5f9;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.related-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: #fafafa;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  text-decoration: none !important;
  transition: all 0.2s;
}

.related-item:hover {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff !important;
  transform: translateY(-2px);
}

.related-item:hover .related-arrow {
  transform: translateX(4px);
}

.related-label {
  font-size: 14.5px;
  font-weight: 600;
  color: inherit;
}

.related-arrow {
  font-size: 16px;
  color: inherit;
  transition: transform 0.15s;
}

/* =================== BOTTOM TIMESTAMP =================== */
.legal-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
  font-size: 12.5px;
  color: #94a3b8;
  text-align: center;
  font-style: italic;
}

@media (max-width: 720px) {
  .legal-contact-grid {
    grid-template-columns: 1fr;
  }
  .legal-related {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .legal-container {
    padding: 40px 24px;
    border-radius: 12px;
  }
  .legal-container h1 {
    font-size: 28px;
  }
  .legal-container h2 {
    font-size: 17px;
  }
  .legal-main {
    padding: 40px 16px 60px;
  }
}
