:root {
  --ink: #102019;
  --muted: #617068;
  --green: #0b5d43;
  --green-soft: #e8f3ee;
  --line: #dfe7e2;
  --paper: #ffffff;
  --page: #f6f8f7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

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

.legal-header-inner,
.legal-wrap,
.legal-footer-inner {
  width: min(100% - 32px, 860px);
  margin: 0 auto;
}

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

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 850;
  text-decoration: none;
}

.legal-brand img { width: 34px; height: 34px; border-radius: 10px; }

.legal-nav { display: flex; flex-wrap: wrap; gap: 14px; font-weight: 750; }

.legal-wrap { padding: 54px 0 70px; }

.legal-card {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(16,32,25,.06);
}

.legal-card h1 { margin: 0 0 8px; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.05; }
.legal-card h2 { margin: 32px 0 8px; font-size: 1.2rem; }
.legal-card p, .legal-card ul { color: #33443c; }
.legal-card li + li { margin-top: 7px; }
.legal-updated { margin: 0 0 28px; color: var(--muted); font-weight: 700; }
.legal-note { padding: 16px 18px; border: 1px solid #c9e2d5; border-radius: 16px; background: var(--green-soft); }

.support-form { display: grid; gap: 16px; margin-top: 24px; }
.support-form label { display: grid; gap: 7px; font-weight: 780; }
.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfdad4;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.support-form textarea { min-height: 150px; resize: vertical; }
.support-form button {
  justify-self: start;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 820;
  cursor: pointer;
}
.support-honeypot { position: absolute; left: -10000px; }

.legal-footer { border-top: 1px solid var(--line); background: #fff; }
.legal-footer-inner { padding: 24px 0; color: var(--muted); font-size: .9rem; }

@media (max-width: 620px) {
  .legal-header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .legal-wrap { padding-top: 28px; }
  .legal-card { border-radius: 18px; }
}
