@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --green: #0A1C38;
  --ink: #10231e;
  --muted: #66736e;
  --line: #dce8e2;
  --legal-nav-height: 65px;
}

* {
  box-sizing: border-box;
}

body.legal-page {
  margin: 0;
  color: var(--ink);
  font: 16px/1.72 Inter, Arial, sans-serif;
  background: #fff;
  padding-top: var(--legal-nav-height);
}

a {
  color: #A1B633;
  text-decoration: none;
}

a:hover {
  color: #8fa02d;
}

main {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px clamp(20px, 3vw, 40px) 72px;
}

.tag {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #A1B633;
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(38px, 6vw, 58px);
  letter-spacing: -.05em;
  line-height: 1.04;
  margin: 0 0 10px;
}

h2 {
  font-size: 23px;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin: 42px 0 10px;
}

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

p {
  margin: 0 0 18px;
}

/* ── Legal page navbar ── */
.sy-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.sy-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--legal-nav-height);
  display: flex;
  align-items: center;
  gap: 20px;
}

.sy-nav-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.sy-nav-brand img {
  width: 165px;
  max-width: min(165px, 42vw);
  height: auto;
}

.sy-nav-desktop {
  flex: 1;
  display: flex;
  justify-content: center;
}

.sy-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sy-nav-links a {
  display: inline-block;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}

.sy-nav-links a:hover {
  color: #A1B633;
}

.sy-nav-links a.active,
.sy-nav-links a[aria-current="page"] {
  color: #A1B633 !important;
  background: #f4f7e8;
  border-color: #d4dfb0;
  font-weight: 600;
}

.sy-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sy-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font: 600 14px/1 Inter, sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.sy-nav-btn-primary {
  background: #0A1C38;
  color: #fff !important;
  border-color: #0A1C38;
}

.sy-nav-btn-primary:hover {
  background: #152a4a;
  color: #fff !important;
}

.sy-nav-btn-secondary {
  background: #fff;
  color: #0A1C38 !important;
  border-color: #0A1C38;
}

.sy-nav-btn-secondary:hover {
  background: rgba(10, 28, 56, 0.06);
  color: #0A1C38 !important;
}

.sy-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #0A1C38;
  cursor: pointer;
}

.sy-nav-drawer {
  display: none;
}

@media (max-width: 991px) {
  .sy-nav-desktop,
  .sy-nav-actions-desktop {
    display: none;
  }

  .sy-nav-toggle {
    display: inline-flex;
  }

  .sy-nav-drawer {
    display: none;
    position: fixed;
    top: var(--legal-nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: #fff;
    padding: 20px;
    overflow-y: auto;
    border-top: 1px solid #e5e5e5;
  }

  .sy-nav-drawer.is-open {
    display: block;
  }

  .sy-nav-drawer .sy-nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-bottom: 16px;
  }

  .sy-nav-drawer .sy-nav-links a {
    width: 100%;
    padding: 12px 14px;
  }

  .sy-nav-drawer .sy-nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .sy-nav-drawer .sy-nav-btn {
    width: 100%;
  }
}

@media (max-width: 600px) {
  main {
    padding: 36px 20px 56px;
  }

  h2 {
    margin-top: 34px;
  }
}
