:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202a35;
  background: #f4f5f2;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(232, 218, 187, 0.26), transparent 35rem),
    #f4f5f2;
}

a {
  color: inherit;
}

.site-header {
  width: min(100% - 48px, 1040px);
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #dfe2df;
}

.brand {
  color: #17334a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.legal-nav a {
  color: #626b72;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 140ms ease;
}

.legal-nav a:hover,
.legal-nav a:focus-visible,
.legal-nav a[aria-current="page"] {
  color: #17334a;
}

.legal-nav a[aria-current="page"] {
  font-weight: 650;
}

.page-wrap {
  width: min(100% - 48px, 820px);
  margin: 62px auto 96px;
}

.legal-card {
  padding: clamp(28px, 6vw, 64px) clamp(24px, 7vw, 76px);
  border: 1px solid #e6e8e5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(30, 44, 52, 0.045);
}

.document-heading {
  margin-bottom: 42px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e9ece9;
}

h1 {
  margin: 0;
  color: #17334a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 7vw, 3.45rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.effective-date {
  margin: 16px 0 0;
  color: #737b80;
  font-size: 0.92rem;
  letter-spacing: 0.015em;
}

.document-intro {
  margin: 18px 0 0;
  color: #59636a;
  font-size: 1.03rem;
  line-height: 1.7;
}

.legal-section {
  margin-top: 32px;
}

.legal-section h2 {
  margin: 0 0 10px;
  color: #17334a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.legal-section p {
  margin: 0;
  color: #424d55;
  font-size: 1rem;
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.legal-section p + p {
  margin-top: 14px;
}

@media (max-width: 560px) {
  .site-header {
    width: min(100% - 36px, 1040px);
    min-height: 74px;
    gap: 16px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .legal-nav {
    gap: 17px;
  }

  .legal-nav a {
    font-size: 0.84rem;
  }

  .page-wrap {
    width: min(100% - 28px, 820px);
    margin: 28px auto 56px;
  }

  .legal-card {
    padding: 30px 22px 38px;
    border-radius: 14px;
  }

  .document-heading {
    margin-bottom: 32px;
    padding-bottom: 24px;
  }

  .legal-section {
    margin-top: 27px;
  }

  .legal-section p {
    font-size: 0.97rem;
    line-height: 1.72;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}