:root {
  --ink: #241726;
  --muted: #756b76;
  --cream: #f8f2ec;
  --paper: #fffaf5;
  --plum: #32113a;
  --coral: #f26f62;
  --line: rgba(50, 17, 58, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--plum); }

.legal-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 245, 0.92);
}

.legal-nav,
.legal-main,
.legal-footer-inner {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.legal-brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.back-link {
  font-size: 0.88rem;
  font-weight: 750;
  text-underline-offset: 3px;
}

.legal-main { padding: 72px 0 88px; }

.kicker {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.meta {
  margin: 20px 0 44px;
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-section {
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}

.legal-section h3 {
  margin: 22px 0 8px;
  font-size: 1rem;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

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

.legal-section li + li { margin-top: 8px; }

.notice {
  border-color: rgba(242, 111, 98, 0.35);
  background: #fff5f1;
}

.contact-card {
  color: #fff;
  background: var(--plum);
}

.contact-card h2,
.contact-card p { color: #fff; }

.contact-card a { color: #ffd9d1; }

.button {
  display: inline-flex;
  margin-top: 8px;
  padding: 13px 18px;
  border-radius: 12px;
  color: #fff;
  background: var(--plum);
  font-weight: 850;
  text-decoration: none;
}

.legal-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper);
  font-size: 0.82rem;
}

.legal-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 640px) {
  .legal-main { padding: 48px 0 64px; }
  .legal-section { padding: 22px; }
  .legal-footer-inner { flex-direction: column; }
}
