:root {
  --ink: #291d20;
  --muted: #77696c;
  --cream: #fbf7f1;
  --paper: #fffdf9;
  --rose: #a63f55;
  --line: rgba(41, 29, 32, 0.12);
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.legal-header {
  display: flex;
  height: 72px;
  padding: 0 clamp(20px, 6vw, 90px);
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(251,247,241,0.94);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.3rem "Playfair Display", serif; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50% 50% 50% 12%; color: white; background: var(--rose); font-style: italic; }
.language-switch { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 30px; background: var(--paper); cursor: pointer; }
.language-switch span { padding: 6px 9px; border-radius: 20px; color: var(--muted); font-size: 0.7rem; font-weight: 700; }
.language-switch span.active { color: white; background: var(--ink); }

.legal-layout {
  display: grid;
  max-width: 1120px;
  margin: auto;
  padding: 75px 28px 110px;
  grid-template-columns: 220px minmax(0, 720px);
  justify-content: center;
  gap: 75px;
}

.legal-nav { position: sticky; top: 30px; align-self: start; display: grid; gap: 6px; }
.legal-nav a { padding: 10px 13px; border-radius: 7px; color: var(--muted); font-size: 0.82rem; }
.legal-nav a:hover, .legal-nav a.active { color: var(--rose); background: rgba(166,63,85,0.08); }
.legal-content .eyebrow { color: var(--rose); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; }
h1, h2 { font-family: "Playfair Display", serif; }
h1 { margin: 12px 0 18px; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 0.96; letter-spacing: -0.04em; }
h2 { margin: 42px 0 12px; font-size: 1.65rem; }
.intro, .legal-content p, .legal-content li { color: #5f5255; line-height: 1.75; }
.updated { display: inline-block; margin-bottom: 35px; padding: 7px 11px; border-radius: 20px; color: var(--muted); background: #eee7e1; font-size: 0.72rem; }
.notice { margin: 25px 0 38px; padding: 18px; border-left: 3px solid var(--rose); color: #5f5255; background: rgba(166,63,85,0.06); font-size: 0.82rem; line-height: 1.6; }
.legal-content ul { padding-left: 20px; }

.contact-card { display: grid; margin-top: 35px; padding: 28px; gap: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.contact-card label { display: grid; gap: 7px; color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.contact-card input, .contact-card textarea { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.contact-card textarea { min-height: 140px; resize: vertical; }
.contact-card button { min-height: 48px; border: 0; border-radius: 7px; color: white; background: var(--rose); font-weight: 700; cursor: pointer; }
.form-message { margin: 0; color: var(--rose) !important; font-weight: 700; }

footer { display: flex; padding: 28px clamp(20px, 6vw, 90px); justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; }
.footer-links { display: flex; gap: 13px; flex-wrap: wrap; }

@media (max-width: 750px) {
  .legal-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 50px; }
  .legal-nav { position: static; display: flex; overflow-x: auto; }
  .legal-nav a { flex: 0 0 auto; }
  footer { align-items: flex-start; flex-direction: column; }
}
