:root {
  --navy: #0a1628;
  --teal: #00c4a0;
  --cream: #f5f0e8;
  --cream-2: #ede7d9;
  --text: #1a2a42;
  --muted: #6b7a92;
  --white: #ffffff;
  --shadow-soft: 0 16px 44px rgba(10, 22, 40, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  background-image: radial-gradient(ellipse 70% 58% at 50% 14%, #d4f5ee 0%, transparent 66%),
    radial-gradient(ellipse 42% 34% at 82% 82%, #e8e1f3 0%, transparent 62%);
}

a {
  color: #1f537f;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--cream-2);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  color: var(--navy);
  text-decoration: none;
}

.brand-img {
  height: 58px;
  width: auto;
  display: block;
}

.brand-tag {
  font-size: 0.58rem;
  color: #62748f;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-left: 8px;
}

.top-link {
  color: #34435b;
  font-weight: 600;
  text-decoration: none;
}

.top-link:hover {
  color: var(--navy);
}

.legal-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 24px 0 40px;
}

.legal-nav {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: start;
}

.legal-nav a {
  text-decoration: none;
  color: #34435b;
  font-weight: 600;
  border: 1px solid var(--cream-2);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 10px;
  padding: 10px 12px;
}

.legal-nav a:hover {
  border-color: rgba(0, 196, 160, 0.38);
  background: #fff;
}

.legal-card {
  border-radius: 18px;
  border: 1px solid var(--cream-2);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  padding: 24px 22px;
}

.legal-card h1 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}

.effective {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-card section + section {
  margin-top: 18px;
}

.legal-card h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.06rem;
}

.legal-card p,
.legal-card li {
  margin: 0;
  color: #314860;
  line-height: 1.7;
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 920px) {
  .legal-shell {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .brand-img {
    height: 48px;
  }

  .brand-tag {
    display: none;
  }
}
