:root {
  --navy: #05162a;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --green: #01b184;
  --green-dark: #007d5f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.legal-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

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

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

.legal-logo { display: inline-flex; align-items: center; text-decoration: none; }
.legal-logo img { width: auto; height: 31px; display: block; }

.legal-nav { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 700; }
.legal-nav a { color: #475569; text-decoration: none; }
.legal-nav a:hover { color: var(--text); }

.legal-main { padding: 64px 0 80px; }

.legal-hero {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.legal-eyebrow {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #edfbf7;
  border: 1px solid #c8f0e5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.legal-lead {
  max-width: 760px;
  margin: 0;
  color: #475569;
  font-size: 18px;
  line-height: 1.75;
}

.legal-updated { margin: 18px 0 0; color: var(--muted); font-size: 13px; }

.legal-summary {
  margin: 30px 0 8px;
  padding: 20px;
  border: 1px solid #c8f0e5;
  border-radius: 14px;
  background: #f3fcf9;
  color: #164e3f;
  line-height: 1.7;
}

.legal-content { max-width: 780px; }

.legal-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.legal-section h3 { margin: 24px 0 8px; font-size: 16px; }
.legal-section p,
.legal-section li { color: #475569; font-size: 15px; line-height: 1.75; }
.legal-section p { margin: 10px 0; }
.legal-section ul { margin: 12px 0; padding-left: 22px; }
.legal-section li + li { margin-top: 8px; }

.legal-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.legal-product {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.legal-product strong { display: block; margin-bottom: 6px; }
.legal-product p { margin: 0; font-size: 14px; }

.legal-footer { background: var(--navy); color: #94a3b8; }
.legal-footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}
.legal-footer p { margin: 0; font-size: 12px; line-height: 1.6; }
.legal-footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.legal-footer a { color: #cbd5e1; font-size: 12px; font-weight: 700; text-decoration: none; }
.legal-footer a:hover { color: #fff; }

@media (max-width: 640px) {
  .legal-header-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .legal-nav { gap: 12px; flex-wrap: wrap; }
  .legal-main { padding-top: 42px; }
  .legal-products { grid-template-columns: 1fr; }
  .legal-footer-inner { align-items: flex-start; flex-direction: column; }
}
