.legal-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--section-px);
  border-bottom: 1px solid var(--primary-10);
  background: var(--bg);
}

.legal-header img {
  height: 52px;
  width: auto;
}

.legal-back {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--primary-70);
  transition: color 0.2s ease;
}

.legal-back:hover {
  color: var(--primary);
}

.legal-main {
  flex: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--section-px) clamp(3rem, 8vw, 5rem);
}

.legal-main h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.legal-updated {
  font-size: 0.82rem;
  color: var(--primary-70);
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 2rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.75;
  color: #272727;
}

.legal-content p + p {
  margin-top: 0.85rem;
}

.legal-content ul {
  margin: 0.75rem 0 0 1.25rem;
}

.legal-content li + li {
  margin-top: 0.35rem;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  opacity: 0.75;
}

.legal-footer {
  border-top: 1px solid var(--primary-10);
  padding: 1.5rem var(--section-px) 2rem;
  background: var(--primary);
  color: var(--bg);
}

.legal-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.legal-footer-nav a {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(243, 247, 242, 0.85);
  transition: color 0.2s ease;
}

.legal-footer-nav a:hover {
  color: var(--bg);
}

.legal-footer-copy {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(243, 247, 242, 0.45);
}

.form-privacy-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-privacy-link:hover {
  opacity: 0.75;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgba(243, 247, 242, 0.55);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--bg);
}
