:root {
  color-scheme: light;
  --ink: #07131a;
  --muted: #52626c;
  --line: rgba(7, 19, 26, 0.14);
  --paper: #fbfaf7;
  --green: #13a76b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

.legal-topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 2;
}

.legal-nav,
.legal-main,
.legal-footer {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

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

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 700;
  font-size: 0.94rem;
}

.legal-links a { text-decoration: none; color: var(--muted); }
.legal-links a:hover { color: var(--ink); }

.legal-main { padding: 56px 0 68px; }

.legal-hero {
  max-width: 780px;
  margin-bottom: 38px;
}

.eyebrow {
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  margin: 0 0 10px;
}

h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin: 0 0 18px;
}

h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.1;
  margin: 34px 0 10px;
}

p,
li {
  color: var(--muted);
  font-size: 1.02rem;
}

ul { padding-left: 1.25rem; }

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(22px, 4vw, 34px);
  margin: 18px 0;
  box-shadow: 0 18px 48px rgba(7, 19, 26, 0.06);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.contact-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.contact-tile strong {
  display: block;
  margin-bottom: 6px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button {
  background: var(--ink);
  color: #fff;
}

.ghost-button {
  border: 1px solid var(--line);
  background: #fff;
}

.legal-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 42px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 760px) {
  .legal-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .contact-grid { grid-template-columns: 1fr; }
}
