.legal-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 86% 4%, rgba(239, 108, 91, 0.13), transparent 28rem),
    var(--paper);
}

.legal-header {
  position: sticky;
  z-index: 10;
  top: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: color-mix(in srgb, var(--paper) 91%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.legal-header .brand {
  text-decoration: none;
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
}

.legal-nav a {
  color: var(--plum);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.legal-nav a[aria-current="page"] {
  color: var(--coral);
}

.legal-main {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 138px) clamp(22px, 6vw, 84px) 110px;
}

.legal-intro {
  max-width: 860px;
  padding-bottom: clamp(64px, 9vw, 110px);
  border-bottom: 1px solid var(--line);
  animation: legal-enter 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.legal-intro h1 {
  max-width: 820px;
  margin: 12px 0 24px;
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(52px, 9vw, 104px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.legal-intro > p:last-child {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.legal-document {
  display: grid;
  grid-template-columns: minmax(170px, 0.45fr) minmax(0, 1.55fr);
  gap: clamp(42px, 8vw, 120px);
  padding-top: clamp(60px, 8vw, 96px);
}

.legal-aside {
  align-self: start;
  position: sticky;
  top: 118px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.legal-aside strong {
  display: block;
  margin-bottom: 8px;
  color: var(--plum);
  font-size: 13px;
}

.legal-copy {
  max-width: 760px;
}

.legal-copy section {
  padding: 0 0 52px;
}

.legal-copy h2 {
  margin: 0 0 15px;
  color: var(--plum);
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.legal-copy h3 {
  margin: 24px 0 8px;
  color: var(--plum);
  font-size: 15px;
}

.legal-copy p,
.legal-copy li {
  color: #57505a;
  font-size: 15px;
  line-height: 1.75;
}

.legal-copy p {
  margin: 0 0 14px;
}

.legal-copy ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.legal-copy a {
  color: var(--plum);
  font-weight: 720;
  text-underline-offset: 4px;
}

.support-form {
  display: grid;
  gap: 22px;
}

.support-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.support-field {
  display: grid;
  gap: 8px;
}

.support-field label,
.support-consent {
  color: var(--plum);
  font-size: 12px;
  font-weight: 760;
}

.support-field input,
.support-field select,
.support-field textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
}

.support-field textarea {
  min-height: 190px;
  resize: vertical;
}

.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  border-color: var(--coral);
  outline: 3px solid rgba(239, 108, 91, 0.12);
}

.support-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-weight: 560;
  line-height: 1.55;
}

.support-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--plum);
}

.support-submit {
  justify-self: start;
  min-width: 210px;
  padding: 15px 22px;
  color: white;
  background: var(--plum);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 780;
  transition: transform 180ms ease, background 180ms ease;
}

.support-submit:hover {
  background: var(--plum-soft);
  transform: translateY(-2px);
}

.support-submit:disabled {
  cursor: wait;
  opacity: 0.56;
  transform: none;
}

.support-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.support-status[data-tone="success"] { color: #27613d; }
.support-status[data-tone="error"] { color: #a52d2d; }
.support-honeypot { position: absolute; left: -10000px; }

.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.legal-footer a {
  color: var(--plum);
  font-weight: 720;
}

@keyframes legal-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .legal-header { min-height: 68px; }
  .legal-nav a:not([aria-current="page"]):not(.language-link) { display: none; }
  .legal-main { padding-top: 68px; }
  .legal-document { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
  .support-row { grid-template-columns: 1fr; }
  .legal-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .legal-intro { animation: none; }
  .support-submit { transition: none; }
}
