@import url("styles.css");

body.legal-page {
  min-height: 100vh;
  background: var(--surface);
}

.legal-shell {
  min-height: 100vh;
  padding: 28px 0 56px;
}

.legal-shell .topbar {
  margin-bottom: 84px;
}

.legal-nav a:focus-visible {
  outline: 3px solid var(--brand-deep);
  outline-offset: 3px;
}

.legal-main {
  width: min(800px, calc(100vw - 40px));
  margin: 0 auto;
}

.legal-eyebrow {
  margin: 0 0 18px;
  color: var(--brand-deep);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-main h1 {
  margin-bottom: 24px;
  font-family: "Avantique", ui-sans-serif, sans-serif;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  font-weight: 200;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.legal-summary {
  max-width: 680px;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal-date {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.84rem;
  font-weight: 500;
}

.translation-note {
  margin: 28px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--brand-light);
  color: var(--brand-deep);
  font-size: 0.88rem;
  line-height: 1.6;
  background: var(--surface-soft);
}

.translation-note[hidden] {
  display: none;
}

.legal-content {
  margin-top: 48px;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--outline);
  border-radius: 6px;
  background: var(--surface-raised);
}

.legal-content > p:first-child {
  margin: 0 0 34px;
  padding: 16px 18px;
  border-left: 3px solid var(--brand-light);
  color: var(--ink-soft);
  line-height: 1.7;
  background: var(--surface-soft);
}

.legal-content h2 {
  margin: 42px 0 14px;
  color: var(--ink);
  font-family: "Avantique", ui-sans-serif, sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  line-height: 1.78;
}

.legal-content p {
  margin: 0 0 19px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.35rem;
}

.legal-content a {
  color: var(--brand-deep);
  text-underline-offset: 3px;
}

.legal-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 38px;
  color: var(--ink-muted);
  font-size: 0.82rem;
}

.legal-nav {
  display: flex;
  gap: 20px;
}

.legal-nav a {
  color: inherit;
  text-underline-offset: 3px;
}

.legal-nav a:hover {
  color: var(--brand-deep);
}

@media (max-width: 620px) {
  .legal-shell {
    padding-top: 18px;
  }

  .legal-shell .topbar {
    margin-bottom: 58px;
  }

  .legal-main {
    width: min(100vw - 28px, 800px);
  }

  .legal-content {
    margin-top: 36px;
  }
}
