:root {
  --background: #f6f8f5;
  --surface: #ffffff;
  --surface-soft: #eef5f0;
  --text: #16241c;
  --muted: #647268;
  --border: #d9e0da;
  --green: #167a43;
  --green-dark: #0f6335;
  --terracotta: #d64e27;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0, rgba(246, 248, 245, 0.96) 220px),
    var(--background);
  line-height: 1.6;
}

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

.legal-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0 30px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(20, 51, 39, 0.12);
}

.brand-title {
  display: inline-block;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.legal-nav a {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--green-dark);
  font-size: 14px;
  text-decoration: none;
}

.legal-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(31, 52, 38, 0.09);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 36px 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

p {
  margin: 12px 0;
}

ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

li {
  margin: 7px 0;
}

.summary {
  margin: 18px 0 0;
  color: #35483d;
  font-size: 18px;
}

.updated {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.callout {
  margin: 24px 0;
  border: 1px solid #bdd7c6;
  border-radius: 10px;
  padding: 16px;
  background: #f0f8f3;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.contact-row {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  background: #fbfdfb;
}

.contact-row strong {
  display: block;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 680px) {
  .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-nav {
    justify-content: flex-start;
  }
}
